fleet/frontend/pages/hosts/ManageHostsPage/components/RunScriptBatchModal/_styles.scss
Scott Gress e985d20b1d
UI for scheduling batch scripts (#31885)
# Details

This PR merges the feature branch for the scheduled scripts UI into
main. This includes the following previously-approved PRs:

* https://github.com/fleetdm/fleet/pull/31750
* https://github.com/fleetdm/fleet/pull/31604
* https://github.com/fleetdm/fleet/pull/31797


# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [X] Added/updated automated tests
- [X] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [X] QA'd all new/changed functionality manually

---------

Co-authored-by: jacobshandling <61553566+jacobshandling@users.noreply.github.com>
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-08-14 10:10:45 -05:00

33 lines
643 B
SCSS

.run-script-batch-modal {
&__hide-main {
visibility: hidden;
}
.empty-table__info {
font-size: $x-small;
}
&__script-run-mode-form {
margin-top: 1.5rem;
}
&__script-schedule-form {
.date-time-inputs {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
}
}
.flash-message__content {
.run-script-batch-modal__success-message {
margin: 0;
}
}
// since this modal shows only while anotheris also showing, suppress background for one of them to
// prevent "double-darkening"
.modal__background:has(.run-script-batch-modal.run-script-batch-modal__hide-main) {
visibility: hidden;
}