fleet/website/assets/styles/components/multifield.component.less
Eric a740112cd5
Website: update configuration builder page (#30609)
Changes:
- Added support for payloads with multiple inputs to the configuration
profile builder
- Added settings for the `firewall` and `gatekeeper` payloads for macOS
- Added settings for Applications, Bitlocker, and SmartScreen for
Windows

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Expanded configuration options for both macOS and Windows, including
new categories like "Software & updates," "Gatekeeper," "Firewall,"
"Privacy & security," "SmartScreen," "BitLocker," and "Applications."
* Added support for multifield payloads, allowing more detailed and
flexible input for device management settings.
* Enabled downloading of configuration profiles by individual category.

* **User Interface**
* Improved form layouts and styles for better grouping, alignment, and
clarity.
* Introduced grouped payloads, enhanced tooltips, and a "For Fleet
Users" guidance note.
* Added new input types (select, multifield) with inline validation and
error feedback.

* **Bug Fixes**
  * Enhanced form data handling and validation for complex payloads.
  * Improved UI consistency when selecting categories and payloads.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-14 16:50:33 -05:00

71 lines
1.5 KiB
Text
Vendored

/**
* <multifield>
*
* App-wide styles for our multifields.
*/
[parasails-component='multifield'] {
.multifield-item {
position: relative;
padding-right: 30px;
margin-top: 15px;
margin-bottom: 15px;
&:first-child {
margin-top: 0px;
}
.multifield-item-label {
position: absolute;
left: 0px;
top: 0px;
line-height: 38px;
vertical-align: middle;
color: @text-muted;
}
.multifield-item-remove-button {
.btn-reset();
.transition(all 250ms);
position: absolute;
right: 0px;
top: 7px;
line-height: 24px;
padding-top: 0;
padding-bottom: 0;
padding-left: 10px;
padding-right: 10px;
background-image: url('/images/trash-16x16@2x.png');
background-repeat: no-repeat;
background-position: right center;
background-size: 16px 16px;
width: 20px;
height: 20px;
font-size: 14px;
color: #515774;
opacity: 1;
&:hover {
opacity: 1;
color: @text-normal;
}
}
input {
width: 100%;
height: 40px;
padding: 0px 12px;
border: 1px solid #E2E4EA;
border-radius: 4px;
}
select {
width: 100%;
height: 40px;
border: 1px solid #E2E4EA;
border-radius: 4px;
}
}
.is-invalid:focus-visible {
outline: red auto 1px;
}
.add-button-wrapper {
justify-content: flex-end;
color: #6A67FE;
cursor: pointer;
}
}