mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
* added teams to add host modal dropdown * bulk and transfer host on host page * started transferhost API call * hook up client side of api * hook up client side of api call for enrol secrets * added selection number and clear all selections button * remove log and document * fix ManageHostPage tests * fix linting errors * add indeterminate styles to checkbox * added clearable handler for dropdown component * fix up no team for add modal * Add active selection styles and move specific host table styles into ManageHostsPage styles * changed add host team dropdown to include no team option * add no team option to bulk transfer host options * change enroll spelling Co-authored-by: Noah Talerman <noahtal@umich.edu>
89 lines
1.9 KiB
SCSS
89 lines
1.9 KiB
SCSS
.kolide-checkbox {
|
|
@include clearfix;
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
&__input {
|
|
opacity: 0;
|
|
|
|
&:focus + .kolide-checkbox__tick {
|
|
&::after {
|
|
border-color: $core-vibrant-blue;
|
|
}
|
|
}
|
|
|
|
&:checked + .kolide-checkbox__tick {
|
|
&::after {
|
|
background-color: $core-vibrant-blue;
|
|
border: solid 1px $core-vibrant-blue;
|
|
}
|
|
|
|
&::before {
|
|
@include position(absolute, 50% null null 50%);
|
|
transform: rotate(45deg);
|
|
box-sizing: border-box;
|
|
display: block;
|
|
width: 7px;
|
|
height: 13px;
|
|
margin: -8px 0 0 -3px;
|
|
border: 2px solid $core-white;
|
|
border-top: 0;
|
|
border-left: 0;
|
|
content: "";
|
|
}
|
|
}
|
|
}
|
|
|
|
&__tick {
|
|
@include size(20px);
|
|
@include position(absolute, 50% null null 0);
|
|
transform: translateY(-10px);
|
|
display: inline-block;
|
|
|
|
&::after {
|
|
@include size(20px);
|
|
transition: border 75ms ease-in-out, background 75ms ease-in-out;
|
|
border-radius: 2px;
|
|
border: solid 1px $ui-fleet-blue-15;
|
|
content: "";
|
|
box-sizing: border-box;
|
|
display: block;
|
|
background-color: $core-white;
|
|
visibility: visible;
|
|
}
|
|
|
|
&--disabled {
|
|
&::after {
|
|
background-color: $ui-fleet-blue-15;
|
|
}
|
|
}
|
|
|
|
&--indeterminate {
|
|
&::after {
|
|
background-color: $core-vibrant-blue;
|
|
border: solid 1px $core-vibrant-blue;
|
|
}
|
|
|
|
&::before {
|
|
@include position(absolute, 50% null null 50%);
|
|
box-sizing: border-box;
|
|
display: block;
|
|
width: 10px;
|
|
margin: -1px 0 0 -5px;
|
|
border: 2px solid $core-white;
|
|
border-top: 0;
|
|
border-left: 0;
|
|
content: "";
|
|
}
|
|
}
|
|
}
|
|
|
|
&__label {
|
|
font-size: $x-small;
|
|
font-weight: $regular;
|
|
line-height: 20px;
|
|
letter-spacing: 0.5px;
|
|
color: $core-fleet-black;
|
|
padding-left: 25px;
|
|
}
|
|
}
|