mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-11 05:56:16 +00:00
00b2495c1a
- Move border radius calculation to CSS variable instead of LESS - Rename CSS variable according to Codex, soft-deprecating the existing border radius
43 lines
751 B
Plaintext
43 lines
751 B
Plaintext
/*
|
|
* 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-base );
|
|
|
|
&:active {
|
|
background-color: var( --background-color-button-quiet--active );
|
|
}
|
|
}
|
|
|
|
@media ( hover: hover ) {
|
|
.mw-ui-icon-element:not( .disabled ):hover {
|
|
background-color: var( --background-color-button-quiet--hover );
|
|
}
|
|
}
|
|
|
|
@media all and ( min-width: @min-width-breakpoint-desktop ) {
|
|
.mw-ui-icon-with-label-desktop {
|
|
color: var( --color-subtle ) !important;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active,
|
|
&:visited {
|
|
color: var( --color-subtle );
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-ui-icon::before {
|
|
filter: var( --filter-invert );
|
|
}
|