mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-24 03:23:33 +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
57 lines
1 KiB
Plaintext
57 lines
1 KiB
Plaintext
@import '../../../../minerva.less/minerva.variables.less';
|
|
|
|
@smallIconSize: 24px;
|
|
|
|
.mw-mf-cleanup {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: @font-size-minerva-smallest;
|
|
color: @color-subtle;
|
|
}
|
|
|
|
// overlay styles
|
|
.overlay-issues {
|
|
.cleanup {
|
|
> li {
|
|
border-bottom: @border-subtle;
|
|
|
|
.issue-notice {
|
|
padding: @smallIconSize @smallIconSize @smallIconSize 0;
|
|
|
|
.mw-ui-icon {
|
|
float: left;
|
|
left: @contentPadding / 2;
|
|
}
|
|
}
|
|
|
|
small,
|
|
.hide-when-compact {
|
|
font-size: @font-size-minerva-smallest;
|
|
}
|
|
|
|
.hide-when-compact {
|
|
display: block;
|
|
margin: 8px 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.issue-details {
|
|
// This should match the icon width for the overlay close icon
|
|
// which is derived from these two variables:
|
|
padding-left: @size-icon + ( 2 * @width-icon-gutter );
|
|
|
|
// align the first line to the top of the element
|
|
// but line-height should be normal for text that follows (T190469)
|
|
> ::first-line {
|
|
line-height: 1;
|
|
}
|
|
|
|
// assume date
|
|
small i {
|
|
color: @color-subtle;
|
|
}
|
|
}
|
|
}
|