mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-05 11:18:24 +00:00
fc47692421
Align variable names with Codex
44 lines
1,003 B
Plaintext
44 lines
1,003 B
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* SkinStyles for MediaWiki
|
|
* Module: mediawiki.ui.input
|
|
* Version: REL1_39
|
|
*
|
|
* Date: 2022-11-30
|
|
*/
|
|
|
|
.mw-ui-input {
|
|
padding: 6px 8px;
|
|
line-height: var( --line-height-xs );
|
|
color: var( --color-base--emphasized );
|
|
background-color: transparent;
|
|
border-color: var( --border-color-interactive );
|
|
border-radius: var( --border-radius--small );
|
|
|
|
&:hover {
|
|
background-color: var( --color-surface-0 );
|
|
// Sync with checkbox and radio
|
|
border-color: var( --color-primary--hover );
|
|
}
|
|
|
|
&:focus {
|
|
background-color: var( --color-surface-0 );
|
|
border-color: var( --color-primary );
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
}
|
|
|
|
&:disabled {
|
|
color: var( --color-base--subtle );
|
|
background-color: var( --color-surface-4 );
|
|
border-color: var( --color-surface-4 );
|
|
}
|
|
}
|
|
|
|
input.mw-ui-input-large {
|
|
// Smaller font size since MW UI assume a 14px base font size
|
|
font-size: 1.5em;
|
|
font-weight: var( --font-weight-semibold );
|
|
line-height: var( --line-height-xs );
|
|
}
|