mediawiki-skins-Citizen/skinStyles/mediawiki/ui/mediawiki.ui.anchor.less
alistair3149 5d3ecd9edd
feat(core): convert some CSS variables into Codex equivalent
This is an on-going work to adapt Codex into Citizen.
Some of the CSS variables are soft depreciated, see tokens.less for updated info.
2024-06-30 01:04:30 -04:00

64 lines
924 B
Plaintext

/*
* Citizen
*
* SkinStyles for MediaWiki
* Module: mediawiki.ui.anchor
* Version: REL1_39
*
* Date: 2022-11-30
*/
.mw-ui-anchor {
&.mw-ui-progressive {
color: var( --color-progressive );
&:hover {
color: var( --color-progressive--hover );
}
&:focus,
&:active {
color: var( --color-progressive--active );
}
&.mw-ui-quiet {
color: var( --color-base );
&:hover {
color: var( --color-progressive );
}
&:focus,
&:active {
color: var( --color-progressive--active );
}
}
}
&.mw-ui-destructive {
color: var( --color-destructive );
&:hover {
color: var( --color-destructive--hover );
}
&:focus,
&:active {
color: var( --color-destructive--active );
}
&.mw-ui-quiet {
color: var( --color-base );
&:hover {
color: var( --color-destructive );
}
&:focus,
&:active {
color: var( --color-destructive--active );
}
}
}
}