mediawiki-skins-MinervaNeue/skinStyles/mediawiki.action.edit.styles/minerva.less
Bartosz Dziewoński 5f17c89649 Remove unused CSS for cached HTML
Searched for /fixme.*remove/.

Follow-up to:
* I55a25dfb8aba3d1b589a36ba4cba3bba0fe710a1
* I98443b0dcb88911a5314092216809387b4fb80dc
* I3c9d59f49f1b939981a7b2b450448db6736d5958
* Ie24c0215d07d5e4605d8479ed9e950a3d9c9b086

Change-Id: Id52487f6f5e4802ea2700c51e87e63565f340f5d
2023-11-17 18:52:27 +01:00

81 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: @border-subtle;
max-height: 70vh;
}
}
.action-submit,
.action-edit {
// stylelint-disable selector-max-id
#page-secondary-actions,
#p-views {
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
// neither to headers for diffs (.diff-otitle),
// the page title (.mw-first-heading)
// or all the warnings (#editpage-copywarn, #mw-anon-edit-warning)
.mw-editnotice,
.preview-limit-report-wrapper,
.diff-otitle,
.diff-ntitle,
.mw-first-heading,
#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
}