Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/242631

Change subject: Also override Modern's :hover styles
......................................................................

Also override Modern's :hover styles

Bug: T114080
Change-Id: Ib3da29532e9f0939379f3988a629bd6b7b1fabb8
---
M modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less
1 file changed, 6 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/31/242631/1

diff --git 
a/modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less 
b/modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less
index ccc9355..944501f 100644
--- a/modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less
+++ b/modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less
@@ -1,9 +1,12 @@
 .mw-echo-ui-notificationOptionWidget {
        #p-personal & a,
        #p-personal & a.new {
-               // In modern, the hover color is white, which is unhelpful.
-               color: #666666;
-               text-decoration: none;
+               // Oh and double everything for :hover since Modern does that 
too.
+               &, &:hover {
+                       // In modern, the hover color is white, which is 
unhelpful.
+                       color: #666666;
+                       text-decoration: none;
+               }
        }
 
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/242631
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib3da29532e9f0939379f3988a629bd6b7b1fabb8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to