mediawiki-skins-MinervaNeue/skinStyles/mediawiki.action.edit.styles/minerva.less
Volker E 52f37a5f2a Enable stylelint 'selector-max-id' rule and disable only on occurrence
Enabling 'selector-max-id' rule, and changing in rare exceptions like
`#bodyContent` to `.mw-body > .content` where there's only one less
specific option.

Bug: T239183
Change-Id: I9d929eaae09475b2e20d96cb19081aba3aec5877
2019-11-27 17:36:59 -08:00

82 lines
1.3 KiB
Plaintext

// Additional Styles for no-js editing mode
@import '../../minerva.less/minerva.mixins.less';
.mw-editform {
textarea {
.editor-textarea();
}
.editHelp, .cancelLink {
display: none;
}
> #wpTextbox1 { // stylelint-disable-line selector-max-id
border: 1px solid @colorGray12;
max-height: 70vh;
}
}
.action-submit,
.action-edit {
// stylelint-disable selector-max-id
#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;
}
}
// stylelint-enable selector-max-id
}