mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
7f6f792a3a
Replacing 'mediawiki.ui/variables.less' `@import` with new skin-aware 'mediawiki.skin.variables.less' standard. Also replacing and removing scattered WikimediaUI Base v0.15.0 variables with new skin variables. Also - replacing several static values with new Codex design tokens featuring skin variables for following properties: - background-color - color - border-width, border-style, border-color and border shorthand - border-radius - box-shadow colors - outline-width, outline-style, outline-color and outline shorthand - opacity - replacing equal-value Echo variables with new skin variables - replacing `opacity: 0` with `opacity: 1px solid transparent`, which improves accessibility in Windows High Contrast mode Bump required MediaWiki core version to >= v1.41.0. Bug: T332541 Co-Authored-by: Volker E. <volker.e@wikimedia.org> Depends-On: I04f9e48a1cf9dee915cf51e1e12b17ff0a595a06 Change-Id: If3863f07d7c3a8b58808fb03401c1060a92bc2ab
45 lines
882 B
Plaintext
45 lines
882 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
@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;
|
|
}
|
|
}
|
|
}
|