2022-11-30 20:38:59 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for MediaWiki
|
|
|
|
* Module: mediawiki.ui.icon
|
|
|
|
* Version: REL1_39
|
|
|
|
*
|
|
|
|
* Date: 2022-11-30
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../resources/variables.less';
|
|
|
|
|
|
|
|
.mw-ui-icon-element {
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --background-color-quiet--active );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ( hover: hover ) {
|
|
|
|
.mw-ui-icon-element:not( .disabled ):hover {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and ( min-width: @width-breakpoint-desktop ) {
|
|
|
|
.mw-ui-icon-with-label-desktop {
|
|
|
|
color: var( --color-base--subtle ) !important;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&:visited {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-10 20:56:56 +00:00
|
|
|
.mw-ui-icon::before {
|
|
|
|
filter: var( --filter-invert );
|
2022-11-30 20:38:59 +00:00
|
|
|
}
|