mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.less
Jan Drewniak be0b43042e Convert Less variable names from camelCase to snake-case
Converts all Less variable names from CamelCase to snake-case
per the MediaWiki coding conventions.

Removes the following unused Less variables, mostly
related to icons, since those were converted to Codex:
- @icon-touch-area-sm
- @icon-touch-area-md
- @min-size-icon (replaced with @size-icon-medium)
- @icon-glyph-size-sm
- @icon-size-sm
- @icon-padding-sm
- @icon-glyph-size-md
- @icon-size-md
- @margin-icon-md-labelled

Bug: T350581
Change-Id: I1b16e77942d9bea20dcc5636a63d64aa2325a173
2024-01-31 15:24:31 -08:00

59 lines
1.1 KiB
Plaintext

@import 'mediawiki.skin.variables.less';
@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;
.minerva-ambox-icon {
float: left;
position: relative;
left: ( @padding-content / 2 ) + @spacing-horizontal-button;
}
}
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;
}
}
}