MinervaNeue/skinStyles/mediawiki.action.edit.styles/minerva.less
Ed Sanders f4658a4d0e 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
2018-04-05 23:13:49 +00:00

75 lines
1.1 KiB
Plaintext

// Additional Styles for no-js editing mode
@import 'minerva.mixins';
.mw-editform {
.editHelp, .cancelLink {
display: none;
}
> #wpTextbox1 {
border: 1px solid @colorGray12;
max-height: 70vh;
}
}
.action-submit,
.action-edit {
#page-secondary-actions,
#page-actions {
display: none;
}
.heading-holder {
padding-bottom: 8px;
padding-top: 0;
font-weight: bold;
}
#mw-anon-edit-warning {
padding: 8px;
> p {
margin: 0;
}
}
// Parsing information doesn't need to be so big
.mw-editnotice,
.mw-editTools,
.preview-limit-report-wrapper,
// neither to headers for diffs
.diff-otitle,
.diff-ntitle,
// neither does the page title
#section_0,
// neither do all the warnings
#editpage-copywarn,
#mw-anon-edit-warning {
.secondary-text();
}
// add separation btween
.mw-editnotice {
margin-bottom: 8px;
li {
margin-bottom: 0;
}
}
// Preview header is hidden given the warning box already
// tells the user they are in preview mode.
.previewnote h2 {
display: none;
}
// show changes specific
#wikiDiff table {
margin-top: 0;
.diff-otitle,
.diff-ntitle {
text-align: left;
}
}
}