]>
Commit | Line | Data |
---|---|---|
1 | /* ========================================================================== | |
2 | Cards | |
3 | ========================================================================== */ | |
4 | ||
5 | main { | |
6 | #content { | |
7 | padding: 0 0.5rem; | |
8 | } | |
9 | ||
10 | ul.row { | |
11 | margin: 0.4rem 0 0; | |
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; | |
28 | } | |
29 | ||
30 | .card-stacked .card-content .card-title { | |
31 | display: inline-block; | |
32 | } | |
33 | ||
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); | |
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; | |
104 | ||
105 | span { | |
106 | margin-right: 5px; | |
107 | } | |
108 | } | |
109 | } | |
110 | ||
111 | .card-image { | |
112 | height: 10em; | |
113 | } | |
114 | ||
115 | .card-fullimage { | |
116 | height: 13.5em; | |
117 | } | |
118 | ||
119 | &.sw { | |
120 | max-width: 370px; | |
121 | margin-left: auto; | |
122 | margin-right: auto; | |
123 | } | |
124 | } | |
125 | ||
126 | a.original:not(.waves-effect) { | |
127 | text-overflow: ellipsis; | |
128 | white-space: nowrap; | |
129 | overflow: hidden; | |
130 | display: block; | |
131 | } | |
132 | ||
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 | ||
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; | |
151 | border-radius: 3px; | |
152 | color: #fff; | |
153 | cursor: default; | |
154 | } | |
155 | ||
156 | .card-entry-labels li { | |
157 | text-overflow: ellipsis; | |
158 | white-space: nowrap; | |
159 | border-radius: 0 3px 3px 0; | |
160 | overflow: hidden; | |
161 | } | |
162 | ||
163 | .card-tag-labels li { | |
164 | display: flex; | |
165 | justify-content: space-between; | |
166 | } | |
167 | ||
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 | ||
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 | ||
205 | .card-stacked { | |
206 | display: flex; | |
207 | flex-flow: row wrap; | |
208 | ||
209 | &:hover ul.tools-list { | |
210 | display: inline; | |
211 | text-align: right; | |
212 | } | |
213 | ||
214 | .card-preview { | |
215 | max-width: 100px; | |
216 | max-height: 50px; | |
217 | margin-right: 10px; | |
218 | flex: 1; | |
219 | } | |
220 | ||
221 | div.metadata { | |
222 | .chip { | |
223 | background-color: $blueAccentColor; | |
224 | padding: 0 7px; | |
225 | margin: auto 2px; | |
226 | border-radius: 6px; | |
227 | line-height: 22px; | |
228 | height: 22px; | |
229 | ||
230 | a, | |
231 | i { | |
232 | color: #fff; | |
233 | } | |
234 | ||
235 | i.material-icons { | |
236 | float: right; | |
237 | font-size: 20px; | |
238 | line-height: 32px; | |
239 | padding-left: 8px; | |
240 | } | |
241 | } | |
242 | } | |
243 | ||
244 | div.card-content { | |
245 | flex: 4; | |
246 | } | |
247 | ||
248 | ul.tools-list { | |
249 | flex: 1; | |
250 | display: none; | |
251 | flex-basis: 5em; | |
252 | align-self: flex-end; | |
253 | float: right; | |
254 | max-width: 6em; | |
255 | } | |
256 | ||
257 | .tags { | |
258 | display: inline-block; | |
259 | } | |
260 | } | |
261 | ||
262 | #content .collection .collection-item { | |
263 | min-height: 65px; | |
264 | height: auto; | |
265 | } | |
266 | ||
267 | .quickstart .card .card-action a, | |
268 | .quickstart .card .card-action a:hover { | |
269 | color: #fff !important; | |
270 | } | |
271 | ||
272 | .settings .div_tabs { | |
273 | padding-bottom: 15px; | |
274 | } |