mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-12-12 07:15:07 +00:00
685ce2b154
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
29 lines
555 B
Plaintext
29 lines
555 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
|
|
.mw-inputbox-centered {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.mw-inputbox-inline {
|
|
display: inline;
|
|
}
|
|
|
|
.mw-inputbox-element.mw-inputbox-element {
|
|
display: inline-table;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mw-inputbox-input {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
|
|
// appear like .mw-ui-input:disabled
|
|
background-color: @background-color-disabled;
|
|
color: @color-inverted;
|
|
border-color: @border-color-disabled;
|
|
cursor: @cursor-base--disabled;
|
|
}
|