diff options
author | Brian Evans <grknight@gentoo.org> | 2020-10-02 13:57:00 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2020-10-02 13:57:00 -0400 |
commit | ab2071c71446a71888e4c9762cdce102bf9e29a3 (patch) | |
tree | 9ce07fbfd979a5898f21239c8f8f5b3d3cbdfc21 /Echo/modules/nojs/mw.echo.badge.monobook.less | |
parent | Add PluggableAuth extension for OpenID Connect (diff) | |
download | extensions-ab2071c71446a71888e4c9762cdce102bf9e29a3.tar.gz extensions-ab2071c71446a71888e4c9762cdce102bf9e29a3.tar.bz2 extensions-ab2071c71446a71888e4c9762cdce102bf9e29a3.zip |
Update Echo to 1.35
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'Echo/modules/nojs/mw.echo.badge.monobook.less')
-rw-r--r-- | Echo/modules/nojs/mw.echo.badge.monobook.less | 46 |
1 files changed, 12 insertions, 34 deletions
diff --git a/Echo/modules/nojs/mw.echo.badge.monobook.less b/Echo/modules/nojs/mw.echo.badge.monobook.less index 576d4901..93eec98e 100644 --- a/Echo/modules/nojs/mw.echo.badge.monobook.less +++ b/Echo/modules/nojs/mw.echo.badge.monobook.less @@ -1,36 +1,14 @@ -@import '../echo.variables'; - -/* We have to include the #pt-notifications selector due to monobook */ -.mw-echo-notifications-badge { - #pt-notifications-notice &, - #pt-notifications-alert & { - display: inline-block; - width: 16px; - height: 16px; - top: -@badge-offscreen-offset - 1px; - - &:before { - background-size: 16px 16px; - } - - &:after { - top: @badge-offscreen-offset + 3px; - } - } - - &.oo-ui-flaggedElement-unseen, - &.mw-echo-unseen-notifications { - #pt-notifications-alert &:after { - background-color: @badge-counter-background-unseen-alert; - } - - #pt-notifications-notice &:after { - background-color: @badge-counter-background-unseen-message; - } +@import '../echo.variables.less'; + +#pt-notifications-notice .mw-echo-notifications-badge, +#pt-notifications-alert .mw-echo-notifications-badge { + display: inline-block; + background-size: 16px 16px; + background-repeat: no-repeat; + top: -1px; + + &:after { + top: 6px; + left: 45%; } } - -#p-personal #pt-notifications-alert, -#p-personal #pt-notifications-notice { - margin-right: 0.2em; -} |