2019-10-25 20:53:39 +00:00
|
|
|
@import '../echo.variables.less';
|
2015-11-04 14:47:48 +00:00
|
|
|
|
2020-07-15 21:00:23 +00:00
|
|
|
#pt-notifications-notice .mw-echo-notifications-badge,
|
|
|
|
#pt-notifications-alert .mw-echo-notifications-badge {
|
|
|
|
top: -5px;
|
|
|
|
}
|
2021-07-19 15:20:10 +00:00
|
|
|
|
2022-05-09 13:05:59 +00:00
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
2021-07-19 15:20:10 +00:00
|
|
|
.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;
|
2021-07-23 14:45:46 +00:00
|
|
|
opacity: 1;
|
2021-07-19 15:20:10 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba( 0, 0, 0, 0.03 );
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
2022-05-11 18:34:21 +00:00
|
|
|
// Adjust counter styles when counter is present
|
2021-07-19 15:20:10 +00:00
|
|
|
&:not( .mw-echo-notifications-badge-all-read ) {
|
|
|
|
&:after {
|
2022-05-11 18:34:21 +00:00
|
|
|
left: 24px;
|
2021-07-19 15:20:10 +00:00
|
|
|
top: 19px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#p-personal #pt-notifications-alert,
|
|
|
|
#p-personal #pt-notifications-notice {
|
|
|
|
margin-right: 0.4em;
|
|
|
|
}
|