2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
2017-12-13 01:25:10 +00:00
|
|
|
|
|
|
|
.user-button {
|
|
|
|
// Make sure count is positioned correctly in relation to bell icon
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
// can't use display:none class as icons must have a label to retain height
|
|
|
|
.label {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.loading span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-01 00:12:59 +00:00
|
|
|
//
|
|
|
|
// Technical debt relating to Minerva mobile having a single
|
|
|
|
// Echo icon rather than 2.
|
|
|
|
//
|
|
|
|
|
|
|
|
//
|
|
|
|
// Difference 1) Never show count for seen notifications
|
|
|
|
.mw-mf .mw-echo-notification-badge-nojs::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// Difference 2) Replace bell icon with a red circle
|
|
|
|
//
|
|
|
|
.mw-mf .mw-echo-unseen-notifications {
|
2019-09-11 12:19:47 +00:00
|
|
|
display: inline-block;
|
2017-12-13 01:25:10 +00:00
|
|
|
margin: auto;
|
2023-04-09 13:49:29 +00:00
|
|
|
background: @background-color-light;
|
|
|
|
color: @color-subtle;
|
2017-12-13 01:25:10 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
2023-08-01 00:12:59 +00:00
|
|
|
.mw-ui-icon-circle {
|
2023-04-09 13:49:29 +00:00
|
|
|
border-radius: @border-radius-circle;
|
|
|
|
border: @border-width-thick @border-style-base #54595d;
|
2017-12-13 01:25:10 +00:00
|
|
|
margin: auto;
|
2019-09-13 20:29:14 +00:00
|
|
|
height: @icon-size-md;
|
|
|
|
width: @icon-size-md;
|
2023-08-01 00:12:59 +00:00
|
|
|
background: @background-color-destructive;
|
|
|
|
border-color: @border-color-destructive;
|
2017-12-13 01:25:10 +00:00
|
|
|
|
2023-08-01 00:12:59 +00:00
|
|
|
&::before {
|
|
|
|
content: none;
|
2017-12-13 01:25:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-01 00:12:59 +00:00
|
|
|
&::after {
|
2023-04-09 13:49:29 +00:00
|
|
|
color: @color-inverted;
|
2023-08-01 00:12:59 +00:00
|
|
|
content: attr( data-counter-text );
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 13px;
|
|
|
|
letter-spacing: -0.5px;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2023-08-09 16:40:03 +00:00
|
|
|
// T342907
|
|
|
|
background-color: transparent !important;
|
2017-12-13 01:25:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|