Debian Codegraph @

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

raw
1 @import 'mediawiki.skin.variables.less';
2 @import 'mediawiki.mixins.less';
3 @import '../echo.variables.less';
4
5 .mw-echo-ui-pageNotificationsOptionWidget {
6 clear: both;
7 box-sizing: border-box;
8 width: 100%;
9
10 &.oo-ui-optionWidget {
11 transition: background-color 100ms, color 100ms;
12
13 &-highlighted {
14 background-color: @background-color-neutral;
15 color: @color-emphasized;
16 }
17
18 &-selected {
19 background-color: @background-color-progressive-subtle;
20 color: @color-progressive;
21 }
22
23 &-selected&-highlighted,
24 &-pressed&-highlighted {
25 background-color: rgba( 41, 98, 204, 0.1 );
26 color: @color-progressive;
27 }
28 }
29
30 &-row {
31 display: flex;
32 }
33
34 &-cell {
35 display: table-cell;
36 vertical-align: middle;
37 }
38
39 &.oo-ui-iconElement &-icon {
40 min-width: 1em;
41
42 .oo-ui-iconElement-icon {
43 position: relative;
44 }
45 }
46
47 &-title {
48 align-items: center;
49 display: flex;
50 flex: 1;
51 line-height: 1em;
52 min-width: 0;
53 padding: 0;
54
55 &-label {
56 display: block;
57 // Truncate text with ellipsis.
58 .text-overflow( @visible: false );
59 }
60 }
61
62 &-count {
63 min-width: 1em;
64 }
65
66 &-label-count {
67 background-color: @background-color-neutral;
68 color: @color-subtle;
69 padding: 0.2em 0.5em;
70 margin-left: 0.5em;
71 border-radius: @border-radius-base;
72 white-space: nowrap;
73
74 .oo-ui-optionWidget-selected & {
75 background-color: transparent;
76 color: @color-progressive;
77 }
78 }
79 }