Set text color on header directly, not on <a>

The rules setting the text color on the <a> with
various strong specificity overrides were unnecessary.
Instead, simply set the text color on -header.
This also makes the text color apply if there is no
primary link, because there is no <a> in that case.

Bug: T123756
Change-Id: I02c7d28438678968fa64a59beeac3d8d26cb0702
This commit is contained in:
Roan Kattouw 2016-01-18 18:26:13 -08:00
parent 1c187bbf76
commit aa899d63d6

View file

@ -10,12 +10,6 @@
&:hover > a { &:hover > a {
text-decoration: none; text-decoration: none;
color: @notification-text-color;
}
&:not(:hover) a,
#p-personal &:not(:hover) a.new {
color: @notification-text-color;
} }
&:last-child { &:last-child {
@ -39,6 +33,9 @@
width: 100%; width: 100%;
&-message { &-message {
&-header {
color: @notification-text-color;
}
&-body { &-body {
color: @notification-body-color; color: @notification-body-color;
} }