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 {
|
2023-02-28 21:59:36 +00:00
|
|
|
&::before {
|
2022-11-30 20:38:59 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --border-color-base--darker );
|
2022-11-30 20:38:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:enabled {
|
2023-02-28 21:59:36 +00:00
|
|
|
&:hover + label::before {
|
2022-11-30 20:38:59 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
2022-11-30 20:38:59 +00:00
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
&:active + label::before {
|
2022-11-30 20:38:59 +00:00
|
|
|
background-color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary--active );
|
2022-11-30 20:38:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked {
|
2023-02-28 21:59:36 +00:00
|
|
|
& + label::before {
|
2022-12-01 02:42:28 +00:00
|
|
|
background-color: #fff;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-primary );
|
2022-11-30 20:38:59 +00:00
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
&:hover + label::before {
|
2022-11-30 20:38:59 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-02-28 21:59:36 +00:00
|
|
|
& + label::before {
|
2022-11-30 20:38:59 +00:00
|
|
|
border-color: var( --color-primary--active );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary--active );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
& + label::after {
|
2022-11-30 20:38:59 +00:00
|
|
|
border-color: var( --color-primary--active );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
2023-02-28 21:59:36 +00:00
|
|
|
& + label::before {
|
2022-11-30 20:38:59 +00:00
|
|
|
background-color: var( --color-surface-4 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-surface-4 );
|
2022-11-30 20:38:59 +00:00
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
&:checked + label::before {
|
2022-11-30 20:38:59 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|