mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-14 18:05:01 +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
64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
// style that applies only to minerva footer
|
|
.minerva-footer {
|
|
border-top: @border-subtle;
|
|
overflow: auto;
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
// styles that apply to nested footer components
|
|
.mw-footer {
|
|
.indicator {
|
|
.client-nojs & {
|
|
// Certain browsers e.g. Opera Mini do not support css transforms
|
|
// We assume that we do not run JS on these browsers so hide the chevron
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// links should be separated by same color
|
|
.hlist {
|
|
li::after {
|
|
color: @color-link;
|
|
}
|
|
}
|
|
|
|
> .post-content {
|
|
overflow: auto;
|
|
margin-top: 42px;
|
|
|
|
> * {
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
.minerva-footer-logo {
|
|
border-bottom: @border-subtle;
|
|
padding-bottom: 10px;
|
|
margin-top: 42px;
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
|
|
// FIXME: Remove when cache has cleared for I55a25dfb8aba3d1b589a36ba4cba3bba0fe710a1
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
// No margin top on logo needed if it follows the #p-lang element and nothing has been loaded
|
|
// above languages e.g. RelatedArticles.
|
|
/* stylelint-disable selector-max-id */
|
|
#p-lang:not( :target ):first-child + .minerva-footer-logo {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.hlist,
|
|
.license {
|
|
font-size: 0.875em;
|
|
}
|
|
}
|
|
}
|
|
|
|
@import 'LastModifiedBar.less';
|