mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-20 09:40:50 +00:00
11e09ea7b3
Creates a new Icon.mustache file in favour of using MinervaUI::iconClass. Add a new icons.less file and the following icons: - history - expand (next) arrow. These icons are used exclusively in the history status bar at the bottom of most pages. Bug: T319260 Change-Id: If81186418fe758d7be9c3e57cf5d2aa889517f2d
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
.last-modified-bar {
|
|
display: block;
|
|
border-bottom: @border-subtle;
|
|
background-color: @background-color-light;
|
|
color: @color-subtle;
|
|
padding-top: @icon-padding-md;
|
|
padding-bottom: @icon-padding-md;
|
|
font-size: @font-size-minerva-small;
|
|
transition-property: background-color, color;
|
|
transition-duration: @transition-duration-medium;
|
|
|
|
a,
|
|
a:visited,
|
|
.last-modified-text-accent {
|
|
// Note: This can be progressively enhanced in skins.minerva.scripts to provide 'recently edited' state.
|
|
color: @color-subtle;
|
|
}
|
|
}
|
|
|
|
.last-modified-bar__content {
|
|
align-items: center;
|
|
.flex-display();
|
|
}
|
|
|
|
.last-modified-bar__text {
|
|
@end-padding: @width-icon-gutter + @width-icon-gutter + @size-icon;
|
|
padding-right: @end-padding;
|
|
padding-left: @icon-padding-md;
|
|
line-height: @line-height-content;
|
|
vertical-align: middle;
|
|
flex-grow: 1;
|
|
.text-overflow( @visible: false );
|
|
}
|
|
|
|
.last-modified-bar__icon {
|
|
background-color: @color-subtle;
|
|
}
|
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
.last-modified-bar__text {
|
|
padding-right: 1em;
|
|
}
|
|
}
|