|
36 | 36 | <div v-else class="image-placeholder"> |
37 | 37 | <div v-if="tile.type === 'loading'" class="image-placeholder__shimmer"></div> |
38 | 38 | <div v-if="tile.type === 'error'" class="image-failed"> |
39 | | - <div class="image-failed__icon" aria-hidden="true"> |
40 | | - <span class="image-failed__spark image-failed__spark--left"></span> |
41 | | - <span class="image-failed__spark image-failed__spark--right"></span> |
42 | | - </div> |
43 | | - <div class="image-failed__title">Generation failed</div> |
| 39 | + <div class="image-failed__title">Image generation failed</div> |
44 | 40 | <div class="image-failed__message"> |
45 | 41 | This variation did not render correctly. |
46 | 42 | </div> |
@@ -265,80 +261,30 @@ function startOver() { |
265 | 261 | } |
266 | 262 |
|
267 | 263 | .image-failed { |
268 | | - position: relative; |
| 264 | + position: absolute; |
| 265 | + inset: 0; |
269 | 266 | z-index: 1; |
270 | | - width: 100%; |
271 | 267 | padding: 1.75rem 1.25rem; |
272 | 268 | display: flex; |
273 | 269 | flex-direction: column; |
274 | 270 | align-items: center; |
275 | 271 | justify-content: center; |
276 | 272 | text-align: center; |
277 | 273 | gap: 0.9rem; |
278 | | - color: white; |
279 | | -} |
280 | | -
|
281 | | -.image-failed__icon { |
282 | | - width: 72px; |
283 | | - height: 72px; |
284 | | - border-radius: 22px; |
285 | | - position: relative; |
286 | | - display: grid; |
287 | | - place-items: center; |
288 | | - background: rgba(17, 199, 204, 0.14); |
289 | | - border: 2px solid rgba(38, 239, 233, 0.55); |
290 | | - box-shadow: |
291 | | - 0 10px 24px rgba(0, 0, 0, 0.18), |
292 | | - inset 0 0 0 1px rgba(255, 255, 255, 0.08); |
293 | | -} |
294 | | -
|
295 | | -.image-failed__icon::before { |
296 | | - content: ""; |
297 | | - width: 30px; |
298 | | - height: 30px; |
299 | | - border-radius: 10px; |
300 | | - border: 3px solid rgba(38, 239, 233, 0.9); |
301 | | - transform: rotate(45deg); |
302 | | -} |
303 | | -
|
304 | | -.image-failed__icon::after { |
305 | | - content: "!"; |
306 | | - position: absolute; |
307 | | - font-size: 1.5rem; |
308 | | - font-weight: 700; |
309 | | - color: rgba(38, 239, 233, 1); |
310 | | -} |
311 | | -
|
312 | | -.image-failed__spark { |
313 | | - position: absolute; |
314 | | - width: 14px; |
315 | | - height: 2px; |
316 | | - border-radius: 999px; |
317 | | - background: rgba(38, 239, 233, 0.85); |
318 | | - top: 18px; |
319 | | -} |
320 | | -
|
321 | | -.image-failed__spark--left { |
322 | | - left: 10px; |
323 | | - transform: rotate(-35deg); |
324 | | -} |
325 | | -
|
326 | | -.image-failed__spark--right { |
327 | | - right: 10px; |
328 | | - transform: rotate(35deg); |
| 274 | + color: #000048; |
| 275 | + background-color: #D5D5F3; |
| 276 | + font-size: 19px; |
329 | 277 | } |
330 | 278 |
|
331 | 279 | .image-failed__title { |
332 | | - font-size: 1.2rem; |
333 | | - font-weight: 700; |
334 | | - letter-spacing: 0.02em; |
| 280 | + font-size: 1em; |
| 281 | + font-weight: 600; |
335 | 282 | } |
336 | 283 |
|
337 | 284 | .image-failed__message { |
338 | | - max-width: 200px; |
339 | | - font-size: 0.9rem; |
| 285 | + font-size: 1em; |
340 | 286 | line-height: 1.35; |
341 | | - color: rgba(255, 255, 255, 0.78); |
| 287 | + font-weight: 400; |
342 | 288 | } |
343 | 289 |
|
344 | 290 | .image-card.selected { |
|
0 commit comments