mediawiki-extensions-InputBox/resources/ext.inputBox.styles.less
Derk-Jan Hartman 8089db47fe Remove an !important and use classdoubling instead
!important creates unnecessarily high specificity

Change-Id: Ia7abc6847d9c77fe1e68277ed0246fde623d9336
2021-12-05 22:43:09 +01:00

29 lines
520 B
Plaintext

@import 'mediawiki.ui/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: @colorGray12;
color: @color-base--inverted;
border-color: @colorGray12;
cursor: default;
}