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;
|
2024-06-10 20:52:01 +00:00
|
|
|
background-color: @background-color-interactive;
|
|
|
|
color: @color-subtle;
|
2024-01-31 15:06:56 +00:00
|
|
|
padding-top: @icon-padding-medium;
|
|
|
|
padding-bottom: @icon-padding-medium;
|
2020-11-16 21:51:28 +00:00
|
|
|
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
|
|
|
|
2024-03-04 18:49:50 +00:00
|
|
|
// .last-modified-bar is itself a link.
|
|
|
|
&:visited,
|
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.
|
2024-06-10 20:52:01 +00:00
|
|
|
color: @color-subtle;
|
2020-11-16 21:51:28 +00:00
|
|
|
}
|
2023-08-09 21:49:19 +00:00
|
|
|
|
|
|
|
.minerva-icon {
|
2024-06-10 20:52:01 +00:00
|
|
|
background-color: @color-subtle;
|
2023-08-09 21:49:19 +00:00
|
|
|
}
|
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;
|
2024-01-31 15:06:56 +00:00
|
|
|
padding-left: @icon-padding-medium;
|
2020-11-16 21:51:28 +00:00
|
|
|
line-height: @line-height-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
flex-grow: 1;
|
|
|
|
.text-overflow( @visible: false );
|
|
|
|
}
|
|
|
|
|
2023-11-07 09:03:29 +00:00
|
|
|
@media ( max-width: @max-width-breakpoint-mobile ) {
|
2020-11-16 21:51:28 +00:00
|
|
|
.last-modified-bar__text {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
}
|