mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-19 01:31:37 +00:00
24 lines
457 B
Plaintext
24 lines
457 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;
|
|
}
|
|
}
|
|
}
|
|
}
|