From 39db100cbc3527ea60a8aa9a884d2f32e7112faf Mon Sep 17 00:00:00 2001 From: Volker E Date: Wed, 7 Nov 2018 21:16:55 -0800 Subject: [PATCH] Streamline `opacity` on personal tool icons Selector was set on the element's class, not the icon carrying pseudo class, resulting in a hard to predict double opacity application. Also changing default opacity to WikimediaUI Base values. Bug: T207542 Change-Id: I1f45e721ee30acfd6261edcbc9d81cf92c7217a3 --- modules/nojs/mw.echo.badge.less | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/nojs/mw.echo.badge.less b/modules/nojs/mw.echo.badge.less index 130977d71..c0dd789fd 100644 --- a/modules/nojs/mw.echo.badge.less +++ b/modules/nojs/mw.echo.badge.less @@ -35,7 +35,7 @@ position: absolute; display: inline-block; cursor: pointer; - opacity: 0.8; + opacity: 0.87; content: ''; background-repeat: no-repeat; // Bring it back onscreen @@ -65,13 +65,16 @@ &.mw-echo-notifications-badge-long-label { margin-right: 0.5em; + &:after { left: 35%; } } &.mw-echo-notifications-badge-all-read { - opacity: 0.625; + &:before { + opacity: 0.51; + } &:after { visibility: hidden;