diff --git a/extension.json b/extension.json index 7fd3e8bf..e9ac2dda 100644 --- a/extension.json +++ b/extension.json @@ -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", diff --git a/resources/ext.inputBox.styles.less b/resources/ext.inputBox.styles.less index 1bdab5a3..74aff9dc 100644 --- a/resources/ext.inputBox.styles.less +++ b/resources/ext.inputBox.styles.less @@ -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; }