diff --git a/modules/nojs/mw.echo.badge.less b/modules/nojs/mw.echo.badge.less index c0dd789fd..855c14903 100644 --- a/modules/nojs/mw.echo.badge.less +++ b/modules/nojs/mw.echo.badge.less @@ -95,5 +95,16 @@ background-image: url( ../icons/tray.svg ); } } + + &.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; + } + } } /* stylelint-enable no-descending-specificity */ diff --git a/modules/nojs/mw.echo.badge.monobook.less b/modules/nojs/mw.echo.badge.monobook.less index 576d49012..83f6fb71f 100644 --- a/modules/nojs/mw.echo.badge.monobook.less +++ b/modules/nojs/mw.echo.badge.monobook.less @@ -17,17 +17,6 @@ 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; - } - } } #p-personal #pt-notifications-alert, diff --git a/modules/nojs/mw.echo.badge.vector.less b/modules/nojs/mw.echo.badge.vector.less index 0256eb627..86ed44f6b 100644 --- a/modules/nojs/mw.echo.badge.vector.less +++ b/modules/nojs/mw.echo.badge.vector.less @@ -1,19 +1,5 @@ @import '../echo.variables'; -/* We have to include the #pt-notifications selector due to monobook */ -.mw-echo-notifications-badge { - &.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; - } - } -} - #p-personal #pt-notifications-alert, #p-personal #pt-notifications-notice { margin-right: 0.4em;