From bc045b78a296088852c4e33451c9a250102fe79d Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 28 Mar 2018 10:39:58 -0700 Subject: [PATCH] Last modified links should not be progressive blue This regression was due to I9f842ae09751d299716d752328f747269597fbdb Updated specifity of selector. Additional change: * Update comment per feedback from TheDj Bug: T181472 Change-Id: I9534cce5f240009c9013b75e1367776519b00d81 --- resources/skins.minerva.base.styles/print/footer.less | 2 +- resources/skins.minerva.base.styles/ui.less | 2 +- resources/skins.minerva.content.styles/links.less | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/skins.minerva.base.styles/print/footer.less b/resources/skins.minerva.base.styles/print/footer.less index aae452e..be2a065 100644 --- a/resources/skins.minerva.base.styles/print/footer.less +++ b/resources/skins.minerva.base.styles/print/footer.less @@ -28,7 +28,7 @@ } .last-modified-bar, - .last-modified-bar a { + .last-modified-bar a[href] { font-weight: bold !important; color: #000 !important; } diff --git a/resources/skins.minerva.base.styles/ui.less b/resources/skins.minerva.base.styles/ui.less index 2b372ff..3474fe4 100644 --- a/resources/skins.minerva.base.styles/ui.less +++ b/resources/skins.minerva.base.styles/ui.less @@ -46,7 +46,7 @@ body { color: @colorGray5; transition: background-color 0.2s ease, color 0.2s ease; - a, + a[href], a:visited { color: @colorGray5; // If browser supports diff --git a/resources/skins.minerva.content.styles/links.less b/resources/skins.minerva.content.styles/links.less index 53636b3..a421568 100644 --- a/resources/skins.minerva.content.styles/links.less +++ b/resources/skins.minerva.content.styles/links.less @@ -3,8 +3,8 @@ @import 'minerva.mixins.less'; /** - * Note that certain links may not have an href selector if they point to the page - * you are on. It is particularly important on wikis for example inside navbox's that these + * Note that certain links may not have an href selector. + * It is particularly important on wikis for example inside navbox's that these * links can be differentiated from other links. Thus we only apply the linkColor to links with href * attributes. */