mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-18 16:51:05 +00:00
be0b43042e
Converts all Less variable names from CamelCase to snake-case per the MediaWiki coding conventions. Removes the following unused Less variables, mostly related to icons, since those were converted to Codex: - @icon-touch-area-sm - @icon-touch-area-md - @min-size-icon (replaced with @size-icon-medium) - @icon-glyph-size-sm - @icon-size-sm - @icon-padding-sm - @icon-glyph-size-md - @icon-size-md - @margin-icon-md-labelled Bug: T350581 Change-Id: I1b16e77942d9bea20dcc5636a63d64aa2325a173
66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
.minerva-icon--bellOutline-base20 {
|
|
.cdx-mixin-css-icon( @cdx-icon-bell-outline, @color-subtle );
|
|
}
|
|
|
|
//
|
|
// 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 {
|
|
margin: auto;
|
|
background: @background-color-light;
|
|
color: @color-subtle;
|
|
cursor: pointer;
|
|
|
|
.minerva-icon--circle {
|
|
border-radius: @border-radius-circle;
|
|
border: @border-width-thick @border-style-base #54595d;
|
|
margin: auto;
|
|
height: @icon-size-medium;
|
|
width: @icon-size-medium;
|
|
background: @background-color-destructive;
|
|
border-color: @border-color-destructive;
|
|
|
|
&::before {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
&::after {
|
|
color: @color-inverted;
|
|
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;
|
|
// T342907
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|