mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-15 03:35:01 +00:00
945fccf009
Bug: T161302 Change-Id: I5c7a5bcb7a096b69c28651c6fe1e4017654997ad
37 lines
772 B
Plaintext
37 lines
772 B
Plaintext
@import '../echo.variables';
|
|
|
|
/* We have to include the #pt-notifications selector due to monobook */
|
|
.mw-echo-notifications-badge {
|
|
#pt-notifications-notice &,
|
|
#pt-notifications-alert & {
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
#p-personal #pt-notifications-alert,
|
|
#p-personal #pt-notifications-notice {
|
|
display: inline-block;
|
|
margin-right: 0.2em;
|
|
}
|