| 1 |
@import '../../minerva.less/minerva.variables.less'; |
| 2 |
|
| 3 |
.minerva-icon.minerva-icon--bellOutline { |
| 4 |
.cdx-mixin-css-icon( @cdx-icon-bell-outline, @color-subtle); |
| 5 |
} |
| 6 |
|
| 7 |
// |
| 8 |
// Technical debt relating to Minerva mobile having a single |
| 9 |
// Echo icon rather than 2. |
| 10 |
// |
| 11 |
|
| 12 |
// |
| 13 |
// Difference 1) Never show count for seen notifications |
| 14 |
.mw-mf .mw-echo-notification-badge-nojs::after { |
| 15 |
content: none; |
| 16 |
} |
| 17 |
|
| 18 |
// |
| 19 |
// Difference 2) Replace bell icon with a red circle |
| 20 |
// |
| 21 |
.mw-mf .mw-echo-unseen-notifications { |
| 22 |
margin: auto; |
| 23 |
background: @background-color-interactive; |
| 24 |
color: @color-subtle; |
| 25 |
cursor: pointer; |
| 26 |
|
| 27 |
/* FIXME: Mimics the Codex icon mixin. This should be replaced when T376497 is resolved. */ |
| 28 |
.minerva-icon--circle { |
| 29 |
border-radius: @border-radius-circle; |
| 30 |
border: @border-width-thick @border-style-base #54595d; |
| 31 |
margin: auto; |
| 32 |
height: @icon-size-medium; |
| 33 |
width: @icon-size-medium; |
| 34 |
background: @background-color-destructive; |
| 35 |
border-color: @border-color-destructive; |
| 36 |
-webkit-mask-image: none; |
| 37 |
mask-image: none; |
| 38 |
|
| 39 |
&::before { |
| 40 |
content: none; |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
&::after { |
| 45 |
color: @color-inverted; |
| 46 |
content: attr( data-counter-text ); |
| 47 |
position: absolute; |
| 48 |
left: 0; |
| 49 |
bottom: 0; |
| 50 |
right: 0; |
| 51 |
width: 100%; |
| 52 |
height: 100%; |
| 53 |
top: 0; |
| 54 |
display: flex; |
| 55 |
align-items: center; |
| 56 |
justify-content: center; |
| 57 |
font-size: 13px; |
| 58 |
letter-spacing: -0.5px; |
| 59 |
padding: 0; |
| 60 |
border: 0; |
| 61 |
// T342907 |
| 62 |
background-color: transparent !important; |
| 63 |
} |
| 64 |
|
| 65 |
&:hover { |
| 66 |
text-decoration: none; |
| 67 |
} |
| 68 |
} |