fleet/frontend/components/forms/fields/Slider/_styles.scss
noahtalerman 1b23b7b74f
Add style fixes caught during QA. Add favicon. (#119)
Changes include style fixes that were caught during a QA pass.
2020-12-10 13:09:05 -08:00

62 lines
1.2 KiB
SCSS

.kolide-slider {
transition: background-color 150ms ease-in-out;
background-color: $core-dark-blue-grey;
border-radius: 12px;
border: 1px solid #eaeaea;
cursor: pointer;
display: inline-block;
height: 22px;
min-width: 40px;
position: relative;
width: 40px;
box-shadow: inset 0 1px 6px 0 rgba(0, 0, 0, 0.2);
&:hover {
background-color: $core-dark-blue-grey;
box-shadow: inset 0 1px 6px 0 rgba(0, 0, 0, 0.2);
}
&--active {
background-color: $core-blue;
&:hover {
background-color: $core-blue;
}
}
&__wrapper {
display: flex;
align-items: center;
height: 40px;
}
&__dot {
@include size(14px);
@include position(absolute, 0 null null 5px);
transition: left 150ms ease-in-out;
margin-top: 3px;
border-radius: 50%;
background-color: $white;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.25);
&--active {
left: 21px;
}
}
&__label {
font-size: $small;
font-weight: $regular;
text-align: left;
vertical-align: text-bottom;
margin-right: 10px;
color: $core-medium-blue-grey;
&--active {
color: $core-blue;
margin-right: 0;
margin-left: 10px;
}
}
}