mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-29 16:45:28 +00:00
24 lines
451 B
Plaintext
24 lines
451 B
Plaintext
|
/*
|
||
|
* Citizen - Checkbox
|
||
|
* https://starcitizen.tools
|
||
|
*/
|
||
|
|
||
|
@import '../resources/variables.less';
|
||
|
|
||
|
@media ( prefers-color-scheme: dark ) {
|
||
|
.mw-ui-checkbox:not( #noop ) {
|
||
|
[ type='checkbox' ] {
|
||
|
& + label:before {
|
||
|
background-color: @dark-bg-0;
|
||
|
border: 1px solid @dark-bg-60;
|
||
|
}
|
||
|
|
||
|
// disabled checkboxes have a gray background
|
||
|
&:disabled + label:before {
|
||
|
background-color: @dark-bg-30;
|
||
|
border-color: @dark-bg-30;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|