mediawiki-extensions-Echo/modules/styles/mw.echo.ui.DatedSubGroupListWidget.less
Volker E 415b7b9851 hygiene: Make LESS imports non-ambigious
Some LESS parsers will get confused with the lack of file extension.
It's better to be explicit and in alignment with recent change in core
I379334d7729e587a2a00.
It was already weirdly mixed in this repo with some imports featuring
extension and some not.

Change-Id: Ib208607c850fa2492b13cd3d449c04ebc2c21a01
2019-10-25 13:53:39 -07:00

44 lines
840 B
Plaintext

@import '../echo.variables.less';
.mw-echo-ui-datedSubGroupListWidget {
.mw-body-content &-title {
// Since the title is <h2> we want to specifically
// change the styling to bring it back to mimic a
// content span. We also must override the h2 rules
// so specificity is important
font-weight: inherit;
font-size: inherit;
font-family: inherit;
border: 0;
&-primary {
font-size: 1.5em;
margin-right: 0.5em;
display: inline-block;
&:first-letter {
text-transform: uppercase;
}
}
&-secondary {
font-size: 1.5em;
color: @grey-light;
}
}
@media all and ( max-width: ( @specialpage-hd-width - 1 ) ) {
.mw-echo-ui-subGroupListWidget-header-row-markAllReadButton {
font-size: 0.8em;
}
&-title-primary {
font-size: 1.2em;
}
&-title-secondary {
display: none;
}
}
}