mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
d29eca2bc8
This experiments with making PageIssuesOverlay an Overlay with various options. The appending of children is a little messy and points at a need to standardise this some way (see https://phabricator.wikimedia.org/T209647) TODO: * Remove the iconString property on PageIssueSummary which is no longer needed Bug: T209647 Change-Id: Iadd798a820dca6bbb31edc9a8570b6db7aac237a
57 lines
979 B
Plaintext
57 lines
979 B
Plaintext
@import '../../../../minerva.less/minerva.variables';
|
|
|
|
@smallIconSize: 24px;
|
|
@largeIconSize: 50px;
|
|
|
|
.mw-mf-cleanup {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 0.8em;
|
|
color: @colorGray7;
|
|
}
|
|
|
|
// overlay styles
|
|
.overlay-issues {
|
|
.cleanup {
|
|
> li {
|
|
border-bottom: solid 1px @grayLight;
|
|
|
|
.issue-notice {
|
|
padding: @smallIconSize @smallIconSize @smallIconSize 0;
|
|
|
|
.mw-ui-icon {
|
|
float: left;
|
|
}
|
|
}
|
|
|
|
small,
|
|
.hide-when-compact {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.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: @iconSize + ( 2 * @iconGutterWidth );
|
|
|
|
// 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: @colorGray7;
|
|
}
|
|
}
|
|
}
|