]>
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 | ||
64f81bc3 TC |
119 | &.sw { |
120 | max-width: 370px; | |
121 | margin-left: auto; | |
122 | margin-right: auto; | |
123 | } | |
124 | } | |
125 | ||
4c6ee89c | 126 | a.original:not(.waves-effect) { |
64f81bc3 TC |
127 | text-overflow: ellipsis; |
128 | white-space: nowrap; | |
129 | overflow: hidden; | |
130 | display: block; | |
131 | } | |
132 | ||
e5de9917 KD |
133 | .card .card-image .preview, |
134 | .card .card-fullimage .preview, | |
135 | .card-stacked .preview { | |
136 | height: 100%; | |
137 | background: no-repeat 50%/cover; | |
138 | background-color: #efefef; | |
139 | display: block; | |
140 | ||
141 | &--default { | |
142 | background-size: contain; | |
143 | } | |
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 | ||
32968bd3 SH |
189 | .card-tag-form { |
190 | display: flex; | |
191 | min-width: 100px; | |
192 | flex-grow: 1; | |
193 | } | |
194 | ||
195 | .card-tag-form input { | |
196 | margin-bottom: 0; | |
197 | height: 2rem; | |
198 | } | |
199 | ||
3e7d86b2 S |
200 | .card-tag-rss { |
201 | display: flex; | |
202 | } | |
203 | ||
204 | .card-tag-labels { | |
205 | display: flex; | |
206 | flex-wrap: wrap; | |
207 | } | |
208 | ||
209 | .card-tag-labels li { | |
210 | margin: 10px; | |
211 | flex-basis: 19%; | |
212 | flex-grow: 1; | |
213 | align-items: center; | |
214 | } | |
215 | ||
64f81bc3 | 216 | .card-stacked { |
91775f36 TC |
217 | display: flex; |
218 | flex-flow: row wrap; | |
64f81bc3 | 219 | |
91775f36 TC |
220 | &:hover ul.tools-list { |
221 | display: inline; | |
222 | text-align: right; | |
64f81bc3 | 223 | } |
812c980f | 224 | |
e5de9917 | 225 | .card-preview { |
91775f36 | 226 | max-width: 100px; |
e5de9917 | 227 | max-height: 50px; |
91775f36 TC |
228 | margin-right: 10px; |
229 | flex: 1; | |
91775f36 TC |
230 | } |
231 | ||
232 | div.metadata { | |
233 | .chip { | |
234 | background-color: $blueAccentColor; | |
13d94929 | 235 | padding: 0 7px; |
91775f36 | 236 | margin: auto 2px; |
84b041e8 | 237 | border-radius: 6px; |
13d94929 KD |
238 | line-height: 22px; |
239 | height: 22px; | |
91775f36 TC |
240 | |
241 | a, | |
242 | i { | |
243 | color: #fff; | |
244 | } | |
245 | ||
246 | i.material-icons { | |
247 | float: right; | |
248 | font-size: 20px; | |
249 | line-height: 32px; | |
250 | padding-left: 8px; | |
251 | } | |
812c980f NL |
252 | } |
253 | } | |
254 | ||
91775f36 TC |
255 | div.card-content { |
256 | flex: 4; | |
812c980f | 257 | } |
91775f36 TC |
258 | |
259 | ul.tools-list { | |
260 | flex: 1; | |
261 | display: none; | |
262 | flex-basis: 5em; | |
263 | align-self: flex-end; | |
264 | float: right; | |
265 | max-width: 6em; | |
266 | } | |
49fb9e7c S |
267 | |
268 | .tags { | |
269 | display: inline-block; | |
270 | } | |
91775f36 TC |
271 | } |
272 | ||
273 | #content .collection .collection-item { | |
274 | min-height: 65px; | |
275 | height: auto; | |
64f81bc3 TC |
276 | } |
277 | ||
278 | .quickstart .card .card-action a, | |
279 | .quickstart .card .card-action a:hover { | |
280 | color: #fff !important; | |
281 | } | |
282 | ||
283 | .settings .div_tabs { | |
284 | padding-bottom: 15px; | |
285 | } | |
3e7d86b2 S |
286 | |
287 | @media only screen and (min-width: 992px) { | |
288 | .card-tag-labels li { | |
289 | max-width: 50%; | |
290 | } | |
291 | } |