blob: 251eec3120ee5da4a6f2087eb381cff314ab4908 (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
// Style
.item-list {
.load-more:hover,
.page-separator:hover {
background: none;
}
> .load-more a {
.rounded-corners(.25em);
background: @low-sat-blue;
text-align: center;
&:hover {
opacity: .8;
text-decoration: none;
}
}
> .page-separator:after {
content: "";
display: block;
width: 100%;
height: 1px;
background: @gray;
align-self: center;
margin-left: .25em;
}
> .page-separator a {
color: @gray;
font-weight: bold;
&:hover {
text-decoration: none;
}
}
> .page-separator + .list-item .main {
border-top: none;
}
}
// Layout
.item-list .list-item {
&.load-more a {
flex: 1;
margin: 1.5em 0;
padding: .5em 0;
}
}
.item-list.minimal {
> .empty-state {
padding: .25em;
}
.list-item {
header {
max-width: 100%;
}
.visual {
width: 2.2em;
}
.check-attempt {
display: none;
}
.title {
p {
display: inline;
& + p {
margin-left: .417em;
}
}
}
.caption {
flex: 1 1 auto;
height: 1.5em;
margin-right: 1em;
width: 0;
.line-clamp("reset");
}
.caption,
.caption .plugin-output {
.text-ellipsis();
}
}
}
.item-list.detailed .list-item {
.title {
word-break: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.caption {
display: block;
height: auto;
max-height: 7.5em; /* 5 lines */
position: relative;
.line-clamp(4)
}
}
.item-list {
.icon-image {
width: 3em;
height: 3em;
text-align: center;
margin-top: .5em;
margin-left: .5em;
overflow: hidden;
img {
max-height: 100%;
max-width: 100%;
height: auto;
width: auto;
}
}
&.minimal {
.icon-image {
height: 2em;
width: 2em;
line-height: 2;
}
}
}
.controls .item-list:not(.detailed):not(.minimal) .list-item {
.plugin-output {
line-height: 1.5
}
.caption {
height: 2.5em;
}
}
.controls .item-list.minimal .icon-image {
margin-top: 0;
}
|