mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
38ca243e39
Replacing 'mediawiki.ui/variables.less' @import with new skin-aware 'mediawiki.skin.variables.less' standard. Removing calls for 'mediawiki.skin.variables.less' in favor for 'minerva.variables.less' for consistency. Also - replacing several static values with new Codex design token featuring skin variables of `background-color`, `color`, `border-*` and `transition` categories - renaming several Less variables to variable naming standard - moving a small number of MinervaNeue specific variables into 'minderva.variables.less' file. Those should be replaced in mid-future by Codex design tokens Please note, that this patch is not replacing all values with possible Codex tokens. It's just applying them on selected categories for consistency for now to keep the patch easier reviewable. Further replacements will be done in follow-up patches. Bump MediaWiki core required version to >= v1.41.0. Bug: T319381 Bug: T332541 Depends-On: I98c8cc27527533e2efb3b987ee34bc403e988b75 Change-Id: I86c5a35377541a784552c29456e0b8b507b3ee9c
78 lines
1.5 KiB
Plaintext
78 lines
1.5 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
// stylelint-disable selector-max-id
|
|
/* fancycaptcha reload button */
|
|
.confirmedit-captcha-reload,
|
|
#mf-captcha-reload-container {
|
|
border-top: @border-width-base dashed @border-color-subtle;
|
|
display: inline-block;
|
|
padding: 8px 20px;
|
|
|
|
.fancycaptcha-reload,
|
|
&.fancycaptcha-reload {
|
|
color: @color-progressive;
|
|
}
|
|
}
|
|
// stylelint-enable selector-max-id
|
|
|
|
.mw-createacct-captcha-assisted {
|
|
display: block;
|
|
border-top: @border-subtle;
|
|
padding: 0.8em 0.5em;
|
|
color: @color-subtle;
|
|
}
|
|
|
|
.mw-ui-container {
|
|
// CAPTCHA style improvements
|
|
.captcha {
|
|
margin: 0.8em 0 0;
|
|
border: @border-subtle;
|
|
border-radius: @border-radius-base;
|
|
overflow: hidden;
|
|
background: @background-color-base;
|
|
text-align: center;
|
|
|
|
input:not( [ type='submit' ] ) {
|
|
-webkit-appearance: none;
|
|
border-radius: 0;
|
|
padding: 0.8em 0.5em;
|
|
margin: 0;
|
|
}
|
|
|
|
// stylelint-disable selector-max-id
|
|
input:not( [ type='submit' ] ),
|
|
img,
|
|
#wpCaptchaWord {
|
|
border: 0;
|
|
border-top: @border-subtle;
|
|
|
|
&:first-child {
|
|
border-top: 0;
|
|
}
|
|
}
|
|
// stylelint-enable selector-max-id
|
|
|
|
// CAPTCHA's are well known by internet users, save the space of the explanation
|
|
> p,
|
|
label {
|
|
display: none;
|
|
}
|
|
|
|
// FancyCaptcha things
|
|
.fancycaptcha-image-container img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.mw-createacct-captcha-assisted {
|
|
font-size: @font-size-minerva-smallest;
|
|
}
|
|
|
|
.confirmedit-captcha-reload {
|
|
position: relative;
|
|
}
|
|
}
|
|
}
|