From aa899d63d6d5ee4124c2b0302ff589748a315175 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 18 Jan 2016 18:26:13 -0800 Subject: [PATCH] Set text color on header directly, not on The rules setting the text color on the 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 in that case. Bug: T123756 Change-Id: I02c7d28438678968fa64a59beeac3d8d26cb0702 --- .../ooui/styles/mw.echo.ui.NotificationItemWidget.less | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less b/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less index 1149e8c76..dc0110267 100644 --- a/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less +++ b/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less @@ -10,12 +10,6 @@ &:hover > a { text-decoration: none; - color: @notification-text-color; - } - - &:not(:hover) a, - #p-personal &:not(:hover) a.new { - color: @notification-text-color; } &:last-child { @@ -39,6 +33,9 @@ width: 100%; &-message { + &-header { + color: @notification-text-color; + } &-body { color: @notification-body-color; }