]>
Commit | Line | Data |
---|---|---|
64f81bc3 TC |
1 | /* ========================================================================== |
2 | Cards | |
3 | ========================================================================== */ | |
4 | ||
5 | main { | |
6 | #content { | |
7 | padding: 0 0.5rem; | |
8 | } | |
9 | ||
10 | ul.row { | |
f836b98f | 11 | margin: 0.4rem 0 0; |
64f81bc3 TC |
12 | padding: 0 0.75rem; |
13 | } | |
14 | } | |
15 | ||
16 | .data .card .card-body { | |
17 | height: 19em; | |
18 | overflow: hidden; | |
19 | } | |
20 | ||
21 | .card { | |
22 | .card-content .card-title, | |
23 | .card-reveal .card-title { | |
24 | line-height: 22.8px; | |
25 | max-height: 80px; | |
26 | font-size: 19px; | |
27 | font-family: roberto, "Helvetica Neue", Helvetica, Arial, sans-serif; | |
64f81bc3 TC |
28 | } |
29 | ||
ff5cdbdc | 30 | .card-stacked .card-content .card-title { |
34806fab A |
31 | display: inline-block; |
32 | } | |
33 | ||
64f81bc3 TC |
34 | .card-content .activator, |
35 | .card-reveal .activator { | |
36 | cursor: pointer; | |
37 | font-family: "Material Icons"; | |
38 | } | |
39 | ||
40 | .card-content i.right, | |
41 | .card-reveal i.right { | |
42 | margin-left: 0; | |
43 | } | |
44 | ||
45 | .card-content .original { | |
46 | line-height: 24px; | |
47 | font-size: 15px; | |
48 | } | |
49 | ||
50 | .card-entry-labels { | |
51 | position: absolute; | |
52 | top: 10px; | |
53 | z-index: 90; | |
54 | max-width: 50%; | |
55 | } | |
56 | ||
57 | .card-entry-labels-hidden { | |
58 | margin: 2.5px auto; | |
59 | } | |
60 | ||
61 | .card-entry-labels-hidden li { | |
62 | display: inline-block; | |
63 | background-color: $blueAccentColor; | |
64 | margin: 0 5px; | |
65 | padding: 5px 12px; | |
66 | border-radius: 3px; | |
67 | color: #fff; | |
68 | max-height: 2em; | |
69 | max-width: calc(100% - 15px); | |
64f81bc3 TC |
70 | overflow: hidden; |
71 | text-overflow: ellipsis; | |
72 | white-space: nowrap; | |
73 | } | |
74 | ||
75 | .card-content .estimatedTime { | |
76 | margin-bottom: 10px; | |
77 | } | |
78 | ||
79 | .card-action { | |
80 | padding: 10px 5px 10px 15px; | |
81 | ||
82 | ul.links { | |
83 | margin: 0; | |
84 | font-size: 24px; | |
85 | line-height: 24px; | |
86 | } | |
87 | ||
88 | a { | |
89 | color: #fff; | |
90 | margin: 0; | |
91 | } | |
92 | ||
93 | a:hover { | |
94 | color: #fff; | |
95 | } | |
96 | ||
97 | ul.tools li a.tool { | |
98 | margin-right: 5px !important; | |
99 | } | |
100 | ||
101 | .reading-time { | |
102 | display: inline-flex; | |
103 | vertical-align: middle; | |
34806fab A |
104 | |
105 | span { | |
106 | margin-right: 5px; | |
107 | } | |
64f81bc3 TC |
108 | } |
109 | } | |
110 | ||
64f81bc3 TC |
111 | .card-image { |
112 | height: 10em; | |
113 | } | |
114 | ||
115 | .card-fullimage { | |
116 | height: 13.5em; | |
117 | } | |
118 | ||
119 | .card-image .preview, | |
120 | .card-fullimage .preview { | |
121 | height: 14em; | |
122 | background: no-repeat 50%/cover; | |
2f510787 | 123 | display: block; |
64f81bc3 TC |
124 | } |
125 | ||
cefbe6a8 MB |
126 | .card-image .placeholder { |
127 | background-color: #111; | |
128 | filter: invert(100%); | |
129 | -webkit-filter: invert(100%); | |
130 | } | |
131 | ||
64f81bc3 TC |
132 | &.sw { |
133 | max-width: 370px; | |
134 | margin-left: auto; | |
135 | margin-right: auto; | |
136 | } | |
137 | } | |
138 | ||
4c6ee89c | 139 | a.original:not(.waves-effect) { |
64f81bc3 TC |
140 | text-overflow: ellipsis; |
141 | white-space: nowrap; | |
142 | overflow: hidden; | |
143 | display: block; | |
144 | } | |
145 | ||
2003ffa9 TC |
146 | .card-entry-labels li, |
147 | .card-tag-labels li { | |
148 | margin: 10px 10px 10px auto; | |
149 | padding: 5px 12px 5px 16px !important; | |
150 | background-color: $blueAccentColor; | |
7475924e | 151 | border-radius: 3px; |
2003ffa9 TC |
152 | color: #fff; |
153 | cursor: default; | |
3e7d86b2 S |
154 | } |
155 | ||
156 | .card-entry-labels li { | |
2003ffa9 TC |
157 | text-overflow: ellipsis; |
158 | white-space: nowrap; | |
7475924e | 159 | border-radius: 0 3px 3px 0; |
3e7d86b2 S |
160 | overflow: hidden; |
161 | } | |
162 | ||
163 | .card-tag-labels li { | |
164 | display: flex; | |
165 | justify-content: space-between; | |
2003ffa9 TC |
166 | } |
167 | ||
64f81bc3 TC |
168 | .card-entry-tags a, |
169 | .card-entry-labels a, | |
170 | .card-tag-labels a, | |
171 | .card-entry-labels-hidden a, | |
172 | #list .chip a { | |
173 | text-decoration: none; | |
174 | font-weight: normal; | |
175 | color: #fff; | |
176 | } | |
177 | ||
3e7d86b2 S |
178 | .card-tag-labels a { |
179 | height: 100%; | |
180 | align-items: center; | |
181 | } | |
182 | ||
183 | .card-tag-link { | |
184 | display: flex; | |
185 | min-width: 100px; | |
186 | flex-grow: 1; | |
187 | } | |
188 | ||
189 | .card-tag-rss { | |
190 | display: flex; | |
191 | } | |
192 | ||
193 | .card-tag-labels { | |
194 | display: flex; | |
195 | flex-wrap: wrap; | |
196 | } | |
197 | ||
198 | .card-tag-labels li { | |
199 | margin: 10px; | |
200 | flex-basis: 19%; | |
201 | flex-grow: 1; | |
202 | align-items: center; | |
203 | } | |
204 | ||
64f81bc3 | 205 | .card-stacked { |
91775f36 TC |
206 | display: flex; |
207 | flex-flow: row wrap; | |
64f81bc3 | 208 | |
91775f36 TC |
209 | &:hover ul.tools-list { |
210 | display: inline; | |
211 | text-align: right; | |
64f81bc3 | 212 | } |
812c980f NL |
213 | |
214 | .preview { | |
91775f36 TC |
215 | max-width: 100px; |
216 | height: auto; | |
217 | margin-right: 10px; | |
218 | flex: 1; | |
812c980f NL |
219 | |
220 | img { | |
91775f36 TC |
221 | max-width: 100%; |
222 | max-height: 100%; | |
223 | } | |
224 | } | |
225 | ||
226 | div.metadata { | |
227 | .chip { | |
228 | background-color: $blueAccentColor; | |
229 | padding: 0 15px 0 10px; | |
230 | margin: auto 2px; | |
84b041e8 | 231 | border-radius: 6px; |
91775f36 TC |
232 | |
233 | a, | |
234 | i { | |
235 | color: #fff; | |
236 | } | |
237 | ||
238 | i.material-icons { | |
239 | float: right; | |
240 | font-size: 20px; | |
241 | line-height: 32px; | |
242 | padding-left: 8px; | |
243 | } | |
812c980f NL |
244 | } |
245 | } | |
246 | ||
91775f36 TC |
247 | div.card-content { |
248 | flex: 4; | |
812c980f | 249 | } |
91775f36 TC |
250 | |
251 | ul.tools-list { | |
252 | flex: 1; | |
253 | display: none; | |
254 | flex-basis: 5em; | |
255 | align-self: flex-end; | |
256 | float: right; | |
257 | max-width: 6em; | |
258 | } | |
49fb9e7c S |
259 | |
260 | .tags { | |
261 | display: inline-block; | |
262 | } | |
91775f36 TC |
263 | } |
264 | ||
265 | #content .collection .collection-item { | |
266 | min-height: 65px; | |
267 | height: auto; | |
64f81bc3 TC |
268 | } |
269 | ||
270 | .quickstart .card .card-action a, | |
271 | .quickstart .card .card-action a:hover { | |
272 | color: #fff !important; | |
273 | } | |
274 | ||
275 | .settings .div_tabs { | |
276 | padding-bottom: 15px; | |
277 | } | |
3e7d86b2 S |
278 | |
279 | @media only screen and (min-width: 992px) { | |
280 | .card-tag-labels li { | |
281 | max-width: 50%; | |
282 | } | |
283 | } |