mediawiki-skins-Citizen/skinStyles/mediawiki/mediawiki.htmlform.styles.less

57 lines
963 B
Plaintext
Raw Normal View History

2022-11-24 02:17:04 +00:00
/*
* Citizen
*
* SkinStyles for MediaWiki
* Module: mediawiki.htmlform.styles
* Version: REL1_39
*
* Date: 2022-11-23
*/
.mw-htmlform {
&-field {
&-HTMLCheckField,
&-HTMLTextField {
label {
display: inline-block;
}
}
&-HTMLCheckField {
// Horizontal label, like in upload form
input + label {
margin-left: var( --space-xs );
}
}
&-HTMLTextField {
// Vertical label, like in create account
> label {
margin-bottom: var( --space-xxs );
2022-12-01 02:42:28 +00:00
font-size: 0.875rem;
color: var( --color-base--subtle );
letter-spacing: 0.05em;
2022-11-24 02:17:04 +00:00
}
// Horizontal label, like in upload form
td.mw-label > label {
margin-right: var( --space-xs );
}
}
&-HTMLInfoField {
color: var( --color-base--subtle );
}
}
&-invalid-input td.mw-input input {
border-color: var( --color-destructive );
}
}
.htmlform-tip {
font-size: 0.8125rem;
color: var( --color-base--subtle );
2022-11-24 02:17:04 +00:00
letter-spacing: 0.025em;
}