mediawiki-extensions-Echo/modules/nojs/mw.echo.badge.monobook.less
Isarra 91cd3b3b98 Apply unseen notifications colours to all skins by default
Colours were previously defined only in the monobook- and vector-specific
styles, but with the same styles in each, and appear to work consistently
accross all tested skins (modern, timeless, cologneblue, anisa,
hassomecolours...). Given the UX importance of these colours, better to
apply them as the default for all skins and leave it to any others for
which this doesn't work to resolve any issues on their end.

bug: T181142
Change-Id: Idc22881d6c51aa12adc9a053ce08adfdf0fad2b0
2019-02-20 15:04:35 +00:00

26 lines
497 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 & {
display: inline-block;
width: 16px;
height: 16px;
top: -@badge-offscreen-offset - 1px;
&:before {
background-size: 16px 16px;
}
&:after {
top: @badge-offscreen-offset + 3px;
}
}
}
#p-personal #pt-notifications-alert,
#p-personal #pt-notifications-notice {
margin-right: 0.2em;
}