mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 10:38:19 +00:00
129 lines
2.4 KiB
Plaintext
129 lines
2.4 KiB
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* SkinStyles for MediaWiki UI
|
|
* Module: mediawiki.ui.button
|
|
* Version: Core REL1_35 086b4f1
|
|
*
|
|
* Date: 2021-07-27
|
|
*/
|
|
|
|
.mw-ui-button {
|
|
border-color: var( --border-color-base );
|
|
background-color: var( --color-surface-2 );
|
|
color: var( --color-base--emphasized );
|
|
|
|
&:visited {
|
|
color: var( --color-base--emphasized );
|
|
}
|
|
|
|
&:hover {
|
|
border-color: var( --border-color-base );
|
|
background-color: var( --color-surface-2--hover );
|
|
color: var( --color-base );
|
|
}
|
|
|
|
&:focus {
|
|
border-color: var( --color-primary );
|
|
background-color: var( --color-surface-2 );
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
color: var( --color-base );
|
|
}
|
|
|
|
&:active,
|
|
&.is-on {
|
|
border-color: var( --color-surface-2--active );
|
|
background-color: var( --color-surface-2--active );
|
|
color: var( --color-base--emphasized );
|
|
}
|
|
|
|
&:disabled {
|
|
border-color: var( --color-surface-4 );
|
|
background-color: var( --color-surface-4 );
|
|
color: var( --color-base--subtle );
|
|
|
|
&:hover,
|
|
&:active {
|
|
border-color: var( --color-surface-4 );
|
|
background-color: var( --color-surface-4 );
|
|
color: var( --color-base--subtle );
|
|
}
|
|
}
|
|
|
|
&.mw-ui-quiet,
|
|
&.mw-ui-quiet.mw-ui-progressive,
|
|
&.mw-ui-quiet.mw-ui-destructive {
|
|
color: var( --color-base );
|
|
|
|
&:hover {
|
|
background-color: var( --background-color-quiet--hover );
|
|
color: var( --color-base--emphasized );
|
|
}
|
|
|
|
&:active {
|
|
background-color: var( --background-color-quiet--active );
|
|
color: var( --color-base--subtle );
|
|
}
|
|
|
|
&:focus {
|
|
color: var( --color-base );
|
|
}
|
|
|
|
&:disabled,
|
|
&:disabled:hover,
|
|
&:disabled:active {
|
|
color: var( --color-base--subtle );
|
|
}
|
|
}
|
|
|
|
&.mw-ui-progressive {
|
|
background-color: var( --color-primary );
|
|
|
|
&:hover {
|
|
background-color: var( --color-primary--hover );
|
|
}
|
|
|
|
&:active {
|
|
background-color: var( --color-primary--active );
|
|
}
|
|
|
|
&:focus {
|
|
background-color: var( --color-primary );
|
|
}
|
|
|
|
&.mw-ui-quiet {
|
|
color: var( --color-primary );
|
|
|
|
&:hover {
|
|
color: var( --color-primary--hover );
|
|
}
|
|
|
|
&:active {
|
|
color: var( --color-primary--active );
|
|
}
|
|
|
|
&:focus {
|
|
color: var( --color-primary );
|
|
}
|
|
}
|
|
}
|
|
|
|
&.mw-ui-destructive {
|
|
&.mw-ui-quiet {
|
|
color: var( --color-destructive );
|
|
|
|
&:hover {
|
|
color: var( --color-destructive--hover );
|
|
}
|
|
|
|
&:active {
|
|
color: var( --color-destructive--active );
|
|
}
|
|
|
|
&:focus {
|
|
color: var( --color-destructive );
|
|
}
|
|
}
|
|
}
|
|
}
|