2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
2017-12-13 01:25:10 +00:00
|
|
|
|
2024-10-07 18:15:09 +00:00
|
|
|
.minerva-icon.minerva-icon--bellOutline-base20 {
|
2024-06-10 20:52:01 +00:00
|
|
|
.cdx-mixin-css-icon( @cdx-icon-bell-outline, @color-subtle);
|
2023-09-06 23:03:02 +00:00
|
|
|
}
|
|
|
|
|
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 {
|
2023-08-10 23:29:49 +00:00
|
|
|
content: none;
|
2023-08-01 00:12:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// Difference 2) Replace bell icon with a red circle
|
|
|
|
//
|
|
|
|
.mw-mf .mw-echo-unseen-notifications {
|
2017-12-13 01:25:10 +00:00
|
|
|
margin: auto;
|
2024-06-10 20:52:01 +00:00
|
|
|
background: @background-color-interactive;
|
|
|
|
color: @color-subtle;
|
2017-12-13 01:25:10 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
2024-10-03 21:40:06 +00:00
|
|
|
/* FIXME: Mimics the Codex icon mixin. This should be replaced when T376497 is resolved. */
|
2023-09-05 17:34:58 +00:00
|
|
|
.minerva-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;
|
2024-01-31 15:06:56 +00:00
|
|
|
height: @icon-size-medium;
|
|
|
|
width: @icon-size-medium;
|
2024-06-10 20:52:01 +00:00
|
|
|
background: @background-color-destructive;
|
2023-08-01 00:12:59 +00:00
|
|
|
border-color: @border-color-destructive;
|
2024-10-03 21:40:06 +00:00
|
|
|
-webkit-mask-image: none;
|
|
|
|
mask-image: none;
|
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 {
|
2024-06-10 20:52:01 +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;
|
|
|
|
}
|
|
|
|
}
|