|
62 | 62 | width: 100%; |
63 | 63 | } |
64 | 64 |
|
65 | | -.vue-file-agent .file-preview-wrapper-image .image-preview::after, |
66 | | -.vue-file-agent .file-category-video-playable .file-preview::after { |
| 65 | +.vue-file-agent .file-preview-wrapper-image .image-preview .file-preview-overlay, |
| 66 | +.vue-file-agent .file-category-video-playable .file-preview .file-preview-overlay { |
67 | 67 | content: " "; |
68 | 68 | background: rgba(0, 0, 0, 0.25); |
69 | 69 | position: absolute; |
70 | 70 | top: 0; right: 0; bottom: 0; left: 0; |
71 | 71 | z-index: -1; |
72 | 72 | } |
73 | | -.vue-file-agent .file-preview-wrapper-image .image-preview.dark-content::after { |
| 73 | +.vue-file-agent .file-preview-wrapper-image .image-preview.dark-content .file-preview-overlay { |
74 | 74 | background: rgba(255, 255, 255, 0.25); |
75 | 75 | } |
76 | | -.vue-file-agent .file-category-video-playable .file-preview::after { |
| 76 | +.vue-file-agent .file-category-video-playable .file-preview .file-preview-overlay { |
77 | 77 | z-index: 1; |
78 | 78 | } |
79 | 79 |
|
|
101 | 101 | top: 0; |
102 | 102 | left: 0; |
103 | 103 | right: 0; |
104 | | - color: rgba(255, 255, 255, 0.75); |
105 | 104 | padding: 0 5px; |
106 | 105 | z-index: 4; |
107 | 106 | text-align: center; |
|
118 | 117 | } |
119 | 118 |
|
120 | 119 | .vue-file-agent .file-preview .file-name { |
121 | | - background: rgba(0, 0, 0, 0.5); |
122 | 120 | } |
123 | 121 |
|
124 | 122 | .vue-file-agent .file-preview .file-delete { |
|
165 | 163 | display: none; |
166 | 164 | } |
167 | 165 |
|
168 | | -.vue-file-agent .file-preview::before { |
| 166 | +.vue-file-agent .file-preview::before, |
| 167 | +.vue-file-agent .file-preview::after { |
169 | 168 | content: " "; |
170 | 169 | position: absolute; |
171 | 170 | left: 0; |
172 | 171 | top: 0; |
173 | 172 | right: 0; |
174 | 173 | bottom: 0; |
175 | | - background: rgba(0, 0, 0, 0.5); |
176 | 174 | z-index: 2; |
177 | 175 | top: auto; |
178 | 176 | height: 25px; |
179 | 177 | } |
180 | 178 |
|
| 179 | +.vue-file-agent .file-preview::before { |
| 180 | + height: 28px; |
| 181 | + top: 0; |
| 182 | + bottom: auto; |
| 183 | +} |
| 184 | + |
181 | 185 | .vue-file-agent .file-preview .file-ext { |
182 | 186 | position: absolute; |
183 | 187 | font-size: 16px; |
184 | 188 | text-transform: uppercase; |
185 | | - color: #FFF; |
186 | 189 | text-align: left; |
187 | 190 | display: block; |
188 | 191 | /*width: 100%;*/ |
|
198 | 201 | position: absolute; |
199 | 202 | font-size: 16px; |
200 | 203 | text-transform: uppercase; |
201 | | - color: #FFF; |
202 | 204 | text-align: right; |
203 | 205 | display: block; |
204 | 206 | /*width: 100%;*/ |
|
216 | 218 |
|
217 | 219 | .vue-file-agent .file-preview .image-dimension .image-dimension-width::after { |
218 | 220 | content: "x"; |
219 | | - color: rgba(255, 255, 255, 0.7); |
220 | 221 | } |
221 | 222 |
|
222 | 223 | .vue-file-agent .file-preview .image-dimension { |
223 | 224 | position: absolute; |
224 | 225 | font-size: 12px; |
225 | | - color: #FFF; |
226 | | - color: rgba(255, 255, 255, 0.75); |
227 | 226 | text-align: center; |
228 | 227 | display: block; |
229 | 228 | width: 100%; |
|
256 | 255 | .vue-file-agent .file-preview-new::before { |
257 | 256 | background: rgba(0, 0, 0, 0.05); |
258 | 257 | } |
259 | | -.vue-file-agent .file-preview-new .file-preview::before { |
| 258 | +.vue-file-agent .file-preview-new .file-preview::before, |
| 259 | +.vue-file-agent .file-preview-new .file-preview::after { |
260 | 260 | display: none; |
261 | 261 | } |
262 | 262 |
|
|
448 | 448 | .vue-file-agent.no-meta .file-preview .file-name, |
449 | 449 | .vue-file-agent.no-meta .file-preview .file-size, |
450 | 450 | .vue-file-agent.no-meta .file-preview .image-dimension, |
451 | | -.vue-file-agent.no-meta .file-preview::before |
| 451 | +.vue-file-agent.no-meta .file-preview::after |
452 | 452 | { |
453 | 453 | display: none; |
454 | 454 | } |
|
472 | 472 |
|
473 | 473 | /* ----------- */ |
474 | 474 |
|
475 | | -.vue-file-agent-light .file-preview::before, |
476 | | -.vue-file-agent-light .file-preview .file-name { |
477 | | - background: rgba(255, 255, 255, 0.5); |
478 | | - background: rgba(100, 100, 100, 0.5); |
| 475 | +.vue-file-agent .file-preview-wrapper-image .file-preview::before, |
| 476 | +.vue-file-agent .file-category-video-playable .file-preview::before { |
| 477 | + // background: rgba(100, 100, 100, 0.5); |
| 478 | + box-shadow: inset 0px 40px 20px -25px rgba(0, 0, 0, 0.5); |
| 479 | + height: 40px; |
479 | 480 | } |
480 | 481 |
|
481 | | -.vue-file-agent-light .file-preview .file-name, |
482 | | -.vue-file-agent-light .file-preview .file-ext, |
483 | | -.vue-file-agent-light .file-preview .file-size, |
484 | | -.vue-file-agent-light .file-preview .image-dimension, |
485 | | -.vue-file-agent-light .file-preview .image-dimension .image-dimension-width::after { |
486 | | - color: #000; |
487 | | - color: #333; |
| 482 | +.vue-file-agent .file-preview-wrapper-image .file-preview::after, |
| 483 | +.vue-file-agent .file-category-video-playable .file-preview::after { |
| 484 | + // background: rgba(100, 100, 100, 0.5); |
| 485 | + box-shadow: inset 0px -40px 20px -25px rgba(0, 0, 0, 0.5); |
| 486 | + height: 40px; |
| 487 | +} |
| 488 | + |
| 489 | + |
| 490 | +.vue-file-agent .file-preview .file-name, |
| 491 | +.vue-file-agent .file-preview .file-ext, |
| 492 | +.vue-file-agent .file-preview .file-size, |
| 493 | +.vue-file-agent .file-preview .image-dimension, |
| 494 | +.vue-file-agent .file-preview .image-dimension .image-dimension-width::after { |
488 | 495 | color: #FFF; |
489 | 496 | } |
490 | 497 |
|
|
0 commit comments