summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Echo/modules/nojs/mw.echo.badge.monobook.less')
-rw-r--r--Echo/modules/nojs/mw.echo.badge.monobook.less46
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;
-}