mediawiki-skins-MinervaNeue/skinStyles/mediawiki.action.edit.styles/minerva.less
libraryupgrader 842a91590a build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.2
  The following rules are failing and were disabled:
  * tests/selenium:
    * implicit-arrow-linebreak
    * no-mixed-spaces-and-tabs
* grunt-banana-checker: 0.11.1 → 0.13.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.2
  The following rules no longer exist and were removed:
  * stylistic/selector-list-comma-newline-after
* braces: 3.0.2 → 3.0.3
  * https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: Ia94454c1da778f241085714e1601a0233d547570
2024-08-01 15:27:33 +01: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: @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
}