mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
19b1ea2297
Using newly introduced variables instead of fixed values. Also adding `transition` to property blacklist to ensure using mediawiki.mixin. Bug: T236224 Change-Id: I3d2d05f4e50e7b6bba0fe84fae1dde5de5b75492
98 lines
1.9 KiB
Plaintext
98 lines
1.9 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: solid 1px @footerBorderColor;
|
|
overflow: auto;
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.last-modified-bar__content {
|
|
align-items: center;
|
|
.flex-display();
|
|
}
|
|
|
|
// styles that apply to nested footer components
|
|
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;
|
|
}
|
|
}
|
|
|
|
// FIXME: cached HTML for T233172. Can be removed 2 weeks after deployment.
|
|
.content:not( .last-modified-bar__content ) {
|
|
> div {
|
|
height: 20px;
|
|
}
|
|
|
|
.indicator {
|
|
float: right;
|
|
padding: 0 8px 0 0;
|
|
}
|
|
}
|
|
|
|
// links should be separated by same color
|
|
.hlist {
|
|
li:after {
|
|
color: @linkColor;
|
|
}
|
|
}
|
|
|
|
.last-modified-bar {
|
|
border-bottom: solid 1px @footerBorderColor;
|
|
background-color: @lastModifiedBarBgColor;
|
|
color: @lastModifiedBarTextColor;
|
|
padding-top: @icon-padding-md;
|
|
padding-bottom: @icon-padding-md;
|
|
font-size: @font-size-minerva-small;
|
|
.transition( background-color @transition-duration-medium, color @transition-duration-medium; );
|
|
}
|
|
|
|
.last-modified-bar__text {
|
|
@end-padding: @iconGutterWidth + @iconGutterWidth + @iconSize;
|
|
padding-right: @end-padding;
|
|
padding-left: @icon-padding-md;
|
|
vertical-align: middle;
|
|
flex-grow: 1;
|
|
.truncated-text();
|
|
}
|
|
|
|
> .post-content {
|
|
overflow: auto;
|
|
margin-top: 42px;
|
|
|
|
> * {
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
> h2 {
|
|
border-bottom: solid 1px @footerBorderColor;
|
|
padding-bottom: 10px;
|
|
margin-top: 42px;
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.hlist,
|
|
.license {
|
|
font-size: 0.875em;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
footer {
|
|
.last-modified-bar__text {
|
|
padding-right: 1em;
|
|
}
|
|
}
|
|
}
|