mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Fixes for action=edit page styling
* Use box-sizing:border-box when adding textarea padding - before the right side of the textarea did not align with the right side of the bell icon. Now it does. * Fix specificity of rule hiding cancel link and "editing help" which appear at the bottom of the form. * Fix height of noJS textarea (70vh) * Remove some unnecessary extra margins and padding (the minor edit and watch this page checkboxes will now show on the same line) * Update specificity for oo-ui-fieldLayout-body so that it does not apply to the summary form. Change-Id: I8d3d61fdc51934a6ef0885cde94dac1e8c5e33ca
This commit is contained in:
parent
4335114fca
commit
f4658a4d0e
|
@ -46,6 +46,8 @@ textarea {
|
|||
padding: 5px 0 5px 5px;
|
||||
width: 100%;
|
||||
resize: none;
|
||||
// stylelint-disable-next-line no-descending-specificity
|
||||
.box-sizing( border-box );
|
||||
}
|
||||
|
||||
// We hide the table of contents unless the user is viewing in tablet resolution or higher
|
||||
|
|
|
@ -444,7 +444,7 @@ input.search {
|
|||
.image-list,
|
||||
.pre-content,
|
||||
// Form only pages e.g Special:MobileOptions
|
||||
#mw-content-text > form .oo-ui-fieldLayout-body,
|
||||
#mw-content-text > form > .oo-ui-fieldLayout > .oo-ui-fieldLayout-body,
|
||||
// Save button on Special:MobileOptions
|
||||
#mw-content-text > form > .oo-ui-widget,
|
||||
.content,
|
||||
|
|
|
@ -1,20 +1,15 @@
|
|||
// Additional Styles for no-js editing mode
|
||||
@import 'minerva.mixins';
|
||||
|
||||
#wpTextbox1 {
|
||||
border: 1px solid @colorGray12;
|
||||
}
|
||||
|
||||
.mw-editform {
|
||||
.editHelp, .cancelLink {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.editButtons input, .editButtons a {
|
||||
margin-top: 10px;
|
||||
> #wpTextbox1 {
|
||||
border: 1px solid @colorGray12;
|
||||
max-height: 70vh;
|
||||
}
|
||||
|
||||
textarea.mw-ui-input {
|
||||
max-height: 14em;
|
||||
}
|
||||
|
||||
.action-submit,
|
||||
|
@ -30,12 +25,11 @@ textarea.mw-ui-input {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.editCheckboxes {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
#mw-anon-edit-warning {
|
||||
padding: 8px;
|
||||
> p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Parsing information doesn't need to be so big
|
||||
|
|
Loading…
Reference in a new issue