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
This commit is contained in:
jdlrobson 2018-03-28 10:39:58 -07:00 committed by Jdlrobson
parent 6cfa2c9380
commit bc045b78a2
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@
}
.last-modified-bar,
.last-modified-bar a {
.last-modified-bar a[href] {
font-weight: bold !important;
color: #000 !important;
}

View File

@ -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

View File

@ -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.
*/