| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
|
| 3 |
.mw-inputbox-centered { |
| 4 |
margin-left: auto; |
| 5 |
margin-right: auto; |
| 6 |
text-align: center; |
| 7 |
|
| 8 |
.cdx-checkbox__icon { |
| 9 |
text-align: initial; |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
.bodySearchWrap { |
| 14 |
display: flex; |
| 15 |
} |
| 16 |
|
| 17 |
.mw-inputbox-inline { |
| 18 |
display: inline-flex; |
| 19 |
min-width: auto; |
| 20 |
} |
| 21 |
|
| 22 |
.mw-inputbox-element.mw-inputbox-element { |
| 23 |
display: inline-table; |
| 24 |
white-space: nowrap; |
| 25 |
} |
| 26 |
|
| 27 |
.mw-inputbox-input { |
| 28 |
margin-bottom: 0.5em; |
| 29 |
} |
| 30 |
|
| 31 |
/* Allow support for the size attribute if it was set */ |
| 32 |
.mw-inputbox-input[ size ], |
| 33 |
.mw-inputbox-createbox[ size ] { |
| 34 |
width: auto !important; |
| 35 |
} |
| 36 |
|
| 37 |
form.mw-inputbox-form-inline { |
| 38 |
display: flex; |
| 39 |
justify-content: center; |
| 40 |
column-gap: 4px; |
| 41 |
|
| 42 |
.cdx-text-input { |
| 43 |
min-width: auto !important; |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
form.mw-inputbox-form { |
| 48 |
line-height: 0.6; |
| 49 |
|
| 50 |
.cdx-text-input { |
| 51 |
display: flex; |
| 52 |
justify-content: center; |
| 53 |
} |
| 54 |
|
| 55 |
.mw-inputbox-label { |
| 56 |
display: flex; |
| 57 |
align-items: center; |
| 58 |
} |
| 59 |
|
| 60 |
.mw-inputbox-inline { |
| 61 |
.cdx-text-input { |
| 62 |
display: inline-flex; |
| 63 |
min-width: auto; |
| 64 |
} |
| 65 |
} |
| 66 |
} |
| 67 |
|
| 68 |
form.createbox { |
| 69 |
&:invalid .cdx-button { |
| 70 |
// appear like .mw-ui-input:disabled |
| 71 |
background-color: @background-color-disabled !important; |
| 72 |
color: @color-inverted !important; |
| 73 |
border-color: @border-color-disabled !important; |
| 74 |
cursor: @cursor-base--disabled !important; |
| 75 |
} |
| 76 |
} |