mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-27 16:39:59 +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",
|
||||
"descriptionmsg": "inputbox-desc",
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.38.0"
|
||||
"MediaWiki": ">= 1.41.0"
|
||||
},
|
||||
"license-name": "MIT",
|
||||
"type": "parserhook",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@import 'mediawiki.ui/variables.less';
|
||||
@import 'mediawiki.skin.variables.less';
|
||||
|
||||
.mw-inputbox-centered {
|
||||
margin-left: auto;
|
||||
|
@ -21,8 +21,8 @@
|
|||
|
||||
.mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
|
||||
// appear like .mw-ui-input:disabled
|
||||
background-color: @colorGray12;
|
||||
color: @color-base--inverted;
|
||||
border-color: @colorGray12;
|
||||
cursor: default;
|
||||
background-color: @background-color-disabled;
|
||||
color: @color-inverted;
|
||||
border-color: @border-color-disabled;
|
||||
cursor: @cursor-base--disabled;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue