Debian Codegraph @

extensions/Echo/modules/styles/mw.echo.ui.NotificationsInboxWidget.less

raw
1 @import 'mediawiki.skin.variables.less';
2 @import '../echo.variables.less';
3
4 /* Flexbox gap not supported in all browsers */
5 /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
6 .mw-echo-ui-notificationsInboxWidget {
7 width: 100%;
8 max-width: @specialpage-width;
9 position: relative;
10
11 /* Flexbox gap not supported in all browsers */
12 /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
13 &-row {
14 display: flex;
15 align-items: start;
16 flex-wrap: wrap;
17 gap: 1em;
18 }
19
20 &-toolbarWrapper {
21 min-height: 3.5em;
22 position: -webkit-sticky;
23 position: sticky;
24 padding-bottom: 1em;
25 padding-top: 0.5em;
26 margin-top: -0.5em;
27 top: 0;
28 z-index: 2;
29 background-color: @background-color-base;
30 box-shadow: 0 2px 0 0 rgba( 0, 0, 0, 0.1 );
31 }
32
33 &-cell {
34 &-placeholder {
35 flex-grow: 1;
36 }
37 }
38
39 &-sidebar {
40 flex-basis: @specialpage-sidebar-width;
41 flex-grow: 1;
42 max-width: @specialpage-sidebar-max-width;
43 }
44
45 &-main {
46 flex-basis: @specialpage-main-width;
47 flex-grow: 2;
48
49 &-toolbar {
50 &-top {
51 .mw-echo-ui-notificationsInboxWidget-row {
52 display: flex;
53 align-items: center;
54 flex-wrap: wrap;
55 }
56 }
57 }
58 }
59
60 @media all and ( max-width: ( @specialpage-hd-width - 1 ) ) {
61 // Override for the top toolbar so we get
62 // filters and pagination under one another
63 &-main {
64 min-width: 0;
65
66 &-toolbar {
67 &-top {
68 .mw-echo-ui-notificationsInboxWidget-row {
69 text-align: center;
70 justify-content: center;
71 }
72 }
73
74 &-settings {
75 .oo-ui-popupWidget-popup {
76 text-align: left;
77 }
78 }
79 }
80 }
81
82 &-cell-placeholder {
83 width: 100%;
84 }
85
86 &-sidebar {
87 display: none;
88 }
89
90 &-toolbarWrapper {
91 min-height: 7em;
92 }
93 }
94 }