2020-11-16 21:51:28 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2022-05-16 16:55:54 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2020-11-16 21:51:28 +00:00
|
|
|
|
|
|
|
.last-modified-bar {
|
2021-11-11 13:20:13 +00:00
|
|
|
display: block;
|
2023-04-09 13:49:29 +00:00
|
|
|
border-bottom: @border-subtle;
|
|
|
|
background-color: @background-color-light;
|
|
|
|
color: @color-subtle;
|
2020-11-16 21:51:28 +00:00
|
|
|
padding-top: @icon-padding-md;
|
|
|
|
padding-bottom: @icon-padding-md;
|
|
|
|
font-size: @font-size-minerva-small;
|
2023-04-09 13:49:29 +00:00
|
|
|
transition-property: background-color, color;
|
|
|
|
transition-duration: @transition-duration-medium;
|
2020-11-16 21:51:28 +00:00
|
|
|
|
|
|
|
a,
|
2021-11-11 13:20:13 +00:00
|
|
|
a:visited,
|
|
|
|
.last-modified-text-accent {
|
2023-07-19 11:00:13 +00:00
|
|
|
// Note: This can be progressively enhanced in skins.minerva.scripts to provide 'recently edited' state.
|
2023-04-09 13:49:29 +00:00
|
|
|
color: @color-subtle;
|
2020-11-16 21:51:28 +00:00
|
|
|
}
|
2023-08-09 21:49:19 +00:00
|
|
|
|
|
|
|
.minerva-icon {
|
|
|
|
background-color: @color-subtle;
|
|
|
|
}
|
2020-11-16 21:51:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.last-modified-bar__content {
|
|
|
|
align-items: center;
|
|
|
|
.flex-display();
|
|
|
|
}
|
|
|
|
|
|
|
|
.last-modified-bar__text {
|
2023-04-09 13:49:29 +00:00
|
|
|
@end-padding: @width-icon-gutter + @width-icon-gutter + @size-icon;
|
2020-11-16 21:51:28 +00:00
|
|
|
padding-right: @end-padding;
|
|
|
|
padding-left: @icon-padding-md;
|
|
|
|
line-height: @line-height-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
flex-grow: 1;
|
|
|
|
.text-overflow( @visible: false );
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
.last-modified-bar__text {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
}
|