mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-01 02:46:46 +00:00
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:
parent
1c187bbf76
commit
aa899d63d6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue