diff --git a/resources/skins.minerva.base.styles/LastModifiedBar.less b/resources/skins.minerva.base.styles/LastModifiedBar.less index 176e23a25..a91549f01 100644 --- a/resources/skins.minerva.base.styles/LastModifiedBar.less +++ b/resources/skins.minerva.base.styles/LastModifiedBar.less @@ -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; } diff --git a/resources/skins.minerva.base.styles/content/tablet/common.less b/resources/skins.minerva.base.styles/content/tablet/common.less index 1d212518c..893bf06ee 100644 --- a/resources/skins.minerva.base.styles/content/tablet/common.less +++ b/resources/skins.minerva.base.styles/content/tablet/common.less @@ -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; diff --git a/resources/skins.minerva.scripts/styles.less b/resources/skins.minerva.scripts/styles.less index 9d1cdcadd..45988de1c 100644 --- a/resources/skins.minerva.scripts/styles.less +++ b/resources/skins.minerva.scripts/styles.less @@ -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 {