mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-25 03:09:37 +00:00
Merge "Apply unseen notifications colours to all skins by default"
This commit is contained in:
commit
360d935e0c
|
@ -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 */
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue