Fixes last modified colors

Bug: T367892
Bug: T375586
Change-Id: I55a4f17cd3fe9ab9f1a81a28a88edc12eca01ce9
This commit is contained in:
Jon Robson 2024-09-25 10:03:14 -07:00 committed by Jdlrobson
parent 7e8c1bff58
commit 6bd291c9f4
3 changed files with 5 additions and 14 deletions

View file

@ -2,26 +2,17 @@
@import '../../minerva.less/minerva.mixins.less';
@import 'mediawiki.mixins.less';
.last-modified-bar {
a.last-modified-bar {
display: block;
border-bottom: @border-subtle;
background-color: @background-color-interactive;
color: @color-subtle;
color: @color-subtle !important;
padding-top: @icon-padding-medium;
padding-bottom: @icon-padding-medium;
font-size: @font-size-minerva-small;
transition-property: background-color, color;
transition-duration: @transition-duration-medium;
// .last-modified-bar is itself a link.
&:visited,
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;
}
.minerva-icon {
background-color: @color-subtle;
}

View file

@ -95,7 +95,7 @@ A file for css that optimises the Minerva skin on larger devices.
}
}
.last-modified-bar {
a.last-modified-bar {
background-color: transparent;
padding-left: 0;
padding-right: 0;

View file

@ -36,9 +36,9 @@
}
// Last modified bar styles
.last-modified-bar.active {
a.last-modified-bar.active {
background-color: @background-color-progressive;
color: @color-inverted-fixed;
color: @color-inverted-fixed !important;
.last-modified-text-accent,
a {