mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
38ca243e39
Replacing 'mediawiki.ui/variables.less' @import with new skin-aware 'mediawiki.skin.variables.less' standard. Removing calls for 'mediawiki.skin.variables.less' in favor for 'minerva.variables.less' for consistency. Also - replacing several static values with new Codex design token featuring skin variables of `background-color`, `color`, `border-*` and `transition` categories - renaming several Less variables to variable naming standard - moving a small number of MinervaNeue specific variables into 'minderva.variables.less' file. Those should be replaced in mid-future by Codex design tokens Please note, that this patch is not replacing all values with possible Codex tokens. It's just applying them on selected categories for consistency for now to keep the patch easier reviewable. Further replacements will be done in follow-up patches. Bump MediaWiki core required version to >= v1.41.0. Bug: T319381 Bug: T332541 Depends-On: I98c8cc27527533e2efb3b987ee34bc403e988b75 Change-Id: I86c5a35377541a784552c29456e0b8b507b3ee9c
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: @border-subtle;
|
|
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
|
|
}
|