mediawiki-skins-MinervaNeue/skinStyles/mediawiki.action.edit.styles/minerva.less
jdlrobson 2cc9516cde Minerva is its own skin
This is programmatic output from python3 scripts/migrate.py

This will result in a Minerva skin dependent on MobileFrontend.

Post merge we will rename message keys to have minerva- prefix

Bug: T166748
Change-Id: Iff1f7e63e796cc5d4a6d2ab0370e0c33248d2fce
2017-07-12 08:12:40 -07:00

80 lines
1.3 KiB
Plaintext

// Additional Styles for no-js editing mode
// FIXME: `mobile.` LESS modules should not import `minerva.` LESS modules.
// Move Minerva specific rules into skinStyles.
@import 'minerva.mixins';
.editHelp, .cancelLink, .mw-editButtons-pipe-separator {
display: none;
}
.editButtons input, .editButtons a {
margin-top: 10px;
}
textarea.mw-ui-input {
max-height: 14em;
}
.action-submit,
.action-edit {
#page-secondary-actions,
#page-actions {
display: none;
}
.heading-holder {
padding-bottom: 8px;
padding-top: 0;
font-weight: bold;
}
.editCheckboxes {
margin-top: 8px;
}
#mw-anon-edit-warning {
padding: 8px;
}
// 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;
}
}
}