Debian Codegraph @

extensions/Echo/modules/nojs/mw.echo.notifications.less

raw
1 @import 'mediawiki.skin.variables.less';
2 @import 'mediawiki.mixins.less';
3 @import '../echo.variables.less';
4 @import '../echo.mixins.less';
5
6 // This is only valid for the Special:Notifications page in no-JS mode,
7 // where the formatting of the notifications include the following structure
8 .mw-echo-state {
9 display: block;
10 box-sizing: border-box;
11 width: 100%;
12
13 .mw-echo-notification-primary-link {
14 display: none;
15 }
16
17 .mw-echo-icon {
18 width: 30px;
19 height: 30px;
20 float: left;
21 margin-right: 10px;
22 margin-left: 10px;
23 }
24
25 .mw-echo-notification {
26 background-color: @background-color-base;
27 color: @grey-light;
28 clear: both;
29 display: block;
30 line-height: 90%;
31 margin: 0;
32 min-height: 30px;
33 position: relative;
34 padding-top: 15px;
35 padding-bottom: 10px;
36 /* Force container to expand to height of floated contents */
37 overflow: hidden;
38
39 /* stylelint-disable-next-line selector-class-pattern */
40 span.autocomment {
41 color: inherit;
42 font-style: normal;
43 }
44 }
45
46 .mw-echo-content {
47 overflow: hidden;
48 display: block;
49
50 .mw-echo-title {
51 color: @color-emphasized;
52 }
53
54 .mw-echo-payload {
55 color: @notification-body-color;
56 margin-top: 4px;
57 .text-overflow( @visible: false );
58 }
59
60 .mw-echo-title,
61 .mw-echo-payload {
62 font-size: 1em;
63 line-height: 1.4em;
64
65 /* stylelint-disable-next-line selector-class-pattern */
66 .plainlinks {
67 max-width: 100%;
68 display: inline-block;
69 .text-overflow( @visible: false );
70 vertical-align: top;
71 }
72 }
73
74 .mw-echo-notification-footer {
75 color: @grey-light;
76 font-size: 11px;
77 margin-top: 0.2em;
78
79 .mw-echo-notification-footer-element {
80 display: inline-block;
81 max-width: 15em;
82 margin-right: 0.5em;
83 .text-overflow( @visible: false );
84 }
85 }
86 }
87 }