Debian Codegraph @

skins/MinervaNeue/resources/skins.minerva.base.styles/userMenu.less

raw
1 @import 'mediawiki.skin.variables.less';
2 @import '../../minerva.less/minerva.variables.less';
3 // stylelint-disable selector-max-id
4
5 // The top level user account button in the upper right near the notifications button.
6 .minerva-user-navigation {
7 display: flex;
8 min-width: auto;
9 // Support Firefox: Needs `min-height` to vertically align icons in menu. See T233517.
10 min-height: @height-site-header;
11 height: 100%;
12 width: auto;
13 // Center vertically.
14 align-items: center;
15 // Layout from right / end.
16 justify-content: flex-end;
17 // Show the list relative the button.
18 position: relative;
19 // align the last icon (i.e. notification or use menu) with the container edge.
20 & > *:last-child {
21 .cdx-mixin-button-layout-flush( 'end', true, 'large' );
22 }
23
24 .minerva-notifications {
25 ul {
26 list-style: none;
27 display: flex;
28 align-items: center;
29 }
30
31 /* Will be leveraged by future Echo version. */
32 li {
33 position: relative;
34 }
35
36 // Hide notices for Minerva mobile mode.
37 #pt-notifications-notice {
38 .mw-mf & {
39 display: none;
40 }
41 }
42 }
43 }