2022-11-30 20:38:59 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for MediaWiki
|
|
|
|
* Module: mediawiki.ui.radio
|
|
|
|
* Version: REL1_39
|
|
|
|
*
|
|
|
|
* Date: 2022-11-30
|
|
|
|
*/
|
|
|
|
|
|
|
|
.client-js .mw-ui-radio {
|
|
|
|
[ type='radio' ] {
|
|
|
|
& + label {
|
|
|
|
&:before {
|
2022-12-01 02:42:28 +00:00
|
|
|
border-color: var( --border-color-base--darker );
|
2022-11-30 20:38:59 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:enabled {
|
|
|
|
&:hover + label:before {
|
|
|
|
border-color: var( --color-primary--hover );
|
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active + label:before {
|
|
|
|
border-color: var( --color-primary--active );
|
|
|
|
background-color: var( --color-primary--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked {
|
|
|
|
& + label:before {
|
|
|
|
border-color: var( --color-primary );
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: #fff;
|
2022-11-30 20:38:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover + label:before {
|
|
|
|
border-color: var( --color-primary--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
& + label:before {
|
|
|
|
border-color: var( --color-primary--active );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
& + label:after {
|
|
|
|
border-color: var( --color-primary--active );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
& + label:before {
|
|
|
|
border-color: var( --color-surface-4 );
|
|
|
|
background-color: var( --color-surface-4 );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked + label:before {
|
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|