mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 22:06:07 +00:00
f9a8703a64
Bug: T265892 Change-Id: I2ffdedd64414ffb3c6e441391a75fd6e744847a4
82 lines
1.4 KiB
Plaintext
82 lines
1.4 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
|
|
// 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,
|
|
.mw-editTools,
|
|
.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
|
|
}
|