blob: 701eb7226d2740402892f1c61848e9fbda9f423a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
@import 'mediawiki.ui/variables';
.mw-rcfilters-ui-savedLinksListItemWidget {
padding: 0 0.5em;
line-height: normal;
&:hover {
// Mimicking optionWidget styles
background-color: @colorGray14;
color: @colorGray1;
}
.mw-rcfilters-ui-cell {
vertical-align: middle;
}
.mw-rcfilters-ui-savedLinksListItemWidget-icon .oo-ui-iconElement-icon {
// Since we made the rows narrower (height smaller than usual)
// then the icon needs to be slightly smaller as well, so that
// when we toggle 'default' the icon doesn't bounce the option
// height up a little
width: 1.2em;
height: 1.2em;
min-width: 16px;
min-height: 16px;
opacity: 0.5;
position: relative;
}
&-icon span {
display: inline-block;
}
&-input {
display: inline-block;
margin-right: 0;
width: 15em;
}
&-label {
max-width: 15em;
display: inline-block;
vertical-align: middle;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
cursor: pointer;
margin-left: 0.5px;
color: @colorProgressive;
}
&-icon,
&-button {
width: 2em;
}
&-content {
width: 100%;
line-height: normal;
}
}
|