Merge "Revised styling of sister-search sidebar."
[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 margin-right: 0;
30 width: 15em;
31 }
32
33 &-label {
34 max-width: 15em;
35 display: inline-block;
36 vertical-align: middle;
37 text-overflow: ellipsis;
38 overflow: hidden;
39 cursor: pointer;
40 margin-left: 0.5px;
41 }
42
43 &-icon,
44 &-button {
45 width: 2em;
46 }
47
48 &-content {
49 width: 100%;
50 }
51
52 }