mirror of
https://github.com/Coffeedon/Cofffee-Assets.git
synced 2024-11-24 23:20:59 +00:00
33ad106a25
Added all custom themes from the collection.
71 lines
No EOL
1.5 KiB
SCSS
71 lines
No EOL
1.5 KiB
SCSS
@charset "UTF-8";
|
|
@import 'base_config';
|
|
@import '../custom_config';
|
|
@import '../custom_color', '../custom_layout';
|
|
@import 'mixins';
|
|
|
|
|
|
.react-toggle {
|
|
width: 36px;
|
|
height: 16px;
|
|
border-radius: 15px;
|
|
|
|
&-track {
|
|
background-color: $toggle-track-color;
|
|
margin: 4px;
|
|
width: 36px;
|
|
height: 16px;
|
|
|
|
&-check { visibility: hidden }
|
|
&-x { visibility: hidden }
|
|
}
|
|
|
|
&-thumb {
|
|
@include shadow-1dp;
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 0;
|
|
background-color: $toggle-thumb-color;
|
|
}
|
|
|
|
&--checked {
|
|
.react-toggle{
|
|
&-track { background-color: $toggle-track-active-color }
|
|
|
|
&-thumb {
|
|
background-color: $toggle-thumb-active-color;
|
|
left: 22px;
|
|
}
|
|
}
|
|
|
|
&:hover:not(.react-toggle--disabled) .react-toggle-track { background-color: $toggle-track-active-color !important }
|
|
|
|
}
|
|
|
|
&:hover:not(.react-toggle--disabled) .react-toggle-track { background-color: $toggle-track-color }
|
|
}
|
|
|
|
.radio-button {
|
|
padding: 8px 0;
|
|
|
|
&__input {
|
|
border: 2px solid $border-color;
|
|
|
|
&.checked {
|
|
border-color: $icon-button-active-color;
|
|
background: $icon-button-active-color;
|
|
padding: 3px;
|
|
background-clip: content-box;
|
|
}
|
|
}
|
|
}
|
|
|
|
.compose-form__sensitive-button .checkbox {
|
|
border: 2px solid $border-color;
|
|
border-radius: 2px;
|
|
|
|
&.active {
|
|
border-color: $primary-color;
|
|
background: $primary-color;
|
|
}
|
|
} |