mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.less
Jon Robson 145db70286 Reset: Drop p and div inside overlays
Required for proper presentation of page issues overlay
and multimedia viewer.

The div rules were unnecessary.

Bug: T205341
Change-Id: I6fea0f2013a11e5248b71619b795d794c8ed18ad
2024-02-14 22:20:43 +00:00

63 lines
1.2 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: var( --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;
}
p {
margin: 0;
}
// assume date
small i {
color: var( --color-subtle );
}
}
}