]>
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 | 104 | |
f1f1efb5 KD |
105 | .card-reading-time, |
106 | .card-created-at { | |
107 | display: inline-flex; | |
108 | } | |
109 | ||
34806fab A |
110 | span { |
111 | margin-right: 5px; | |
112 | } | |
64f81bc3 TC |
113 | } |
114 | } | |
115 | ||
64f81bc3 TC |
116 | .card-image { |
117 | height: 10em; | |
118 | } | |
119 | ||
120 | .card-fullimage { | |
121 | height: 13.5em; | |
122 | } | |
123 | ||
64f81bc3 TC |
124 | &.sw { |
125 | max-width: 370px; | |
126 | margin-left: auto; | |
127 | margin-right: auto; | |
128 | } | |
129 | } | |
130 | ||
4c6ee89c | 131 | a.original:not(.waves-effect) { |
64f81bc3 TC |
132 | text-overflow: ellipsis; |
133 | white-space: nowrap; | |
134 | overflow: hidden; | |
135 | display: block; | |
136 | } | |
137 | ||
e5de9917 KD |
138 | .card .card-image .preview, |
139 | .card .card-fullimage .preview, | |
140 | .card-stacked .preview { | |
141 | height: 100%; | |
142 | background: no-repeat 50%/cover; | |
143 | background-color: #efefef; | |
144 | display: block; | |
145 | ||
146 | &--default { | |
147 | background-size: contain; | |
148 | } | |
149 | } | |
150 | ||
2003ffa9 TC |
151 | .card-entry-labels li, |
152 | .card-tag-labels li { | |
153 | margin: 10px 10px 10px auto; | |
154 | padding: 5px 12px 5px 16px !important; | |
155 | background-color: $blueAccentColor; | |
7475924e | 156 | border-radius: 3px; |
2003ffa9 TC |
157 | color: #fff; |
158 | cursor: default; | |
3e7d86b2 S |
159 | } |
160 | ||
161 | .card-entry-labels li { | |
2003ffa9 TC |
162 | text-overflow: ellipsis; |
163 | white-space: nowrap; | |
7475924e | 164 | border-radius: 0 3px 3px 0; |
3e7d86b2 S |
165 | overflow: hidden; |
166 | } | |
167 | ||
168 | .card-tag-labels li { | |
169 | display: flex; | |
170 | justify-content: space-between; | |
2003ffa9 TC |
171 | } |
172 | ||
64f81bc3 TC |
173 | .card-entry-tags a, |
174 | .card-entry-labels a, | |
175 | .card-tag-labels a, | |
176 | .card-entry-labels-hidden a, | |
177 | #list .chip a { | |
178 | text-decoration: none; | |
179 | font-weight: normal; | |
180 | color: #fff; | |
181 | } | |
182 | ||
3e7d86b2 S |
183 | .card-tag-labels a { |
184 | height: 100%; | |
185 | align-items: center; | |
186 | } | |
187 | ||
188 | .card-tag-link { | |
189 | display: flex; | |
190 | min-width: 100px; | |
191 | flex-grow: 1; | |
192 | } | |
193 | ||
194 | .card-tag-rss { | |
195 | display: flex; | |
196 | } | |
197 | ||
198 | .card-tag-labels { | |
199 | display: flex; | |
200 | flex-wrap: wrap; | |
201 | } | |
202 | ||
203 | .card-tag-labels li { | |
204 | margin: 10px; | |
205 | flex-basis: 19%; | |
206 | flex-grow: 1; | |
207 | align-items: center; | |
208 | } | |
209 | ||
64f81bc3 | 210 | .card-stacked { |
91775f36 TC |
211 | display: flex; |
212 | flex-flow: row wrap; | |
64f81bc3 | 213 | |
91775f36 TC |
214 | &:hover ul.tools-list { |
215 | display: inline; | |
216 | text-align: right; | |
64f81bc3 | 217 | } |
812c980f | 218 | |
e5de9917 | 219 | .card-preview { |
91775f36 | 220 | max-width: 100px; |
e5de9917 | 221 | max-height: 50px; |
91775f36 TC |
222 | margin-right: 10px; |
223 | flex: 1; | |
91775f36 TC |
224 | } |
225 | ||
226 | div.metadata { | |
227 | .chip { | |
228 | background-color: $blueAccentColor; | |
13d94929 | 229 | padding: 0 7px; |
91775f36 | 230 | margin: auto 2px; |
84b041e8 | 231 | border-radius: 6px; |
13d94929 KD |
232 | line-height: 22px; |
233 | height: 22px; | |
91775f36 TC |
234 | |
235 | a, | |
236 | i { | |
237 | color: #fff; | |
238 | } | |
239 | ||
240 | i.material-icons { | |
241 | float: right; | |
242 | font-size: 20px; | |
243 | line-height: 32px; | |
244 | padding-left: 8px; | |
245 | } | |
812c980f NL |
246 | } |
247 | } | |
248 | ||
91775f36 TC |
249 | div.card-content { |
250 | flex: 4; | |
812c980f | 251 | } |
91775f36 TC |
252 | |
253 | ul.tools-list { | |
254 | flex: 1; | |
255 | display: none; | |
256 | flex-basis: 5em; | |
257 | align-self: flex-end; | |
258 | float: right; | |
259 | max-width: 6em; | |
260 | } | |
49fb9e7c S |
261 | |
262 | .tags { | |
263 | display: inline-block; | |
264 | } | |
91775f36 TC |
265 | } |
266 | ||
267 | #content .collection .collection-item { | |
268 | min-height: 65px; | |
269 | height: auto; | |
64f81bc3 TC |
270 | } |
271 | ||
272 | .quickstart .card .card-action a, | |
273 | .quickstart .card .card-action a:hover { | |
274 | color: #fff !important; | |
275 | } | |
276 | ||
277 | .settings .div_tabs { | |
278 | padding-bottom: 15px; | |
279 | } |