mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-23 22:54:02 +00:00
styles: Replace 'mediawiki.ui/variables' call with skin variables
Replacing 'mediawiki.ui/variables.less' @import with new skin-aware 'mediawiki.skin.variables.less' standard. Also - replacing several static values with new Codex design token featuring skin variables. Bump to required MediaWiki core version >= v1.41.0. Bug: T332541 Change-Id: I1ba1bed9b4f5d49014d2e51c116df8b0f320b949
This commit is contained in:
parent
6897266ab6
commit
685ce2b154
|
@ -11,7 +11,7 @@
|
||||||
"url": "https://www.mediawiki.org/wiki/Extension:InputBox",
|
"url": "https://www.mediawiki.org/wiki/Extension:InputBox",
|
||||||
"descriptionmsg": "inputbox-desc",
|
"descriptionmsg": "inputbox-desc",
|
||||||
"requires": {
|
"requires": {
|
||||||
"MediaWiki": ">= 1.38.0"
|
"MediaWiki": ">= 1.41.0"
|
||||||
},
|
},
|
||||||
"license-name": "MIT",
|
"license-name": "MIT",
|
||||||
"type": "parserhook",
|
"type": "parserhook",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'mediawiki.ui/variables.less';
|
@import 'mediawiki.skin.variables.less';
|
||||||
|
|
||||||
.mw-inputbox-centered {
|
.mw-inputbox-centered {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
|
|
||||||
.mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
|
.mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
|
||||||
// appear like .mw-ui-input:disabled
|
// appear like .mw-ui-input:disabled
|
||||||
background-color: @colorGray12;
|
background-color: @background-color-disabled;
|
||||||
color: @color-base--inverted;
|
color: @color-inverted;
|
||||||
border-color: @colorGray12;
|
border-color: @border-color-disabled;
|
||||||
cursor: default;
|
cursor: @cursor-base--disabled;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue