mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
38ca243e39
Replacing 'mediawiki.ui/variables.less' @import with new skin-aware 'mediawiki.skin.variables.less' standard. Removing calls for 'mediawiki.skin.variables.less' in favor for 'minerva.variables.less' for consistency. Also - replacing several static values with new Codex design token featuring skin variables of `background-color`, `color`, `border-*` and `transition` categories - renaming several Less variables to variable naming standard - moving a small number of MinervaNeue specific variables into 'minderva.variables.less' file. Those should be replaced in mid-future by Codex design tokens Please note, that this patch is not replacing all values with possible Codex tokens. It's just applying them on selected categories for consistency for now to keep the patch easier reviewable. Further replacements will be done in follow-up patches. Bump MediaWiki core required version to >= v1.41.0. Bug: T319381 Bug: T332541 Depends-On: I98c8cc27527533e2efb3b987ee34bc403e988b75 Change-Id: I86c5a35377541a784552c29456e0b8b507b3ee9c
42 lines
859 B
Plaintext
42 lines
859 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
// todo: use .menu (or make a new BEM class). At time of writing, this would require additional
|
|
// changes to have sufficient specificity.
|
|
// stylelint-disable selector-max-id
|
|
#mw-mf-page-left {
|
|
ul {
|
|
// This is, like, the area for the disclaimer.
|
|
&.hlist {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
li {
|
|
background-color: transparent;
|
|
border: 0;
|
|
margin: 0;
|
|
font-size: 0.75em; // equals `12px` at base `font-size: 16px`
|
|
|
|
// T173507
|
|
&::after {
|
|
content: none;
|
|
}
|
|
|
|
a {
|
|
color: @color-progressive;
|
|
padding: 0.7em 12px; // equals `8.4px` via 0.75em assuming 16px base
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
span {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// stylelint-enable selector-max-id
|