mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
287c59be44
Bug: T307134 Change-Id: I133162d06166bc2c3cabd58b61fc8437fdb3db1f
44 lines
889 B
Plaintext
44 lines
889 B
Plaintext
@import '../echo.variables.less';
|
|
|
|
#pt-notifications-notice .mw-echo-notifications-badge,
|
|
#pt-notifications-alert .mw-echo-notifications-badge {
|
|
top: -5px;
|
|
}
|
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
|
.vector-user-links {
|
|
#pt-notifications-alert,
|
|
#pt-notifications-notice {
|
|
margin: 0;
|
|
|
|
// Override OOUI icon styles to match core icons
|
|
.mw-echo-notifications-badge {
|
|
top: 0;
|
|
margin: 0;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
opacity: 1;
|
|
|
|
&:hover {
|
|
background-color: rgba( 0, 0, 0, 0.03 );
|
|
border-radius: 2px;
|
|
}
|
|
|
|
// Adjust counter styles when counter is present
|
|
&:not( .mw-echo-notifications-badge-all-read ) {
|
|
&:after {
|
|
left: 24px;
|
|
top: 19px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#p-personal #pt-notifications-alert,
|
|
#p-personal #pt-notifications-notice {
|
|
margin-right: 0.4em;
|
|
}
|