RCFilters UI: Add a 'saved queries' quick filters feature
[lhc/web/wiklou.git] / resources / src / mediawiki.rcfilters / styles / mw.rcfilters.ui.SavedLinksListItemWidget.less
1 .mw-rcfilters-ui-savedLinksListItemWidget {
2 padding: 0.5em;
3
4 &:hover {
5 // Mimicking optionWidget styles
6 background-color: #eaecf0;
7 color: #000;
8 }
9
10 .mw-rcfilters-ui-cell {
11 vertical-align: middle;
12 }
13
14 &:not( .oo-ui-iconElement ) .oo-ui-iconElement-icon {
15 // The iconElement-icon class still appears when we
16 // have an empty icon, and we need it to pretend to
17 // be there so the text has the same alignment as
18 // text next to a visible icon. #ThanksOOUI
19 width: 1.875em;
20 height: 1.875em;
21 }
22
23 &-icon span {
24 display: inline-block;
25 }
26
27 &-input {
28 display: inline-block;
29 width: 12em;
30 }
31
32 &-label {
33 max-width: 12em;
34 display: inline-block;
35 vertical-align: middle;
36 text-overflow: ellipsis;
37 overflow: hidden;
38 cursor: pointer;
39 margin-left: 0.5px;
40 }
41
42 &-icon,
43 &-button {
44 width: 2em;
45 }
46
47 &-content {
48 width: 100%;
49 }
50
51 }