|
377 | 377 | </svg> |
378 | 378 | </button> |
379 | 379 | <div |
380 | | - class="pointer-events-none absolute inset-0 flex items-center justify-center gap-2 bg-black/50 opacity-0 transition-opacity duration-150 group-hover:opacity-100" |
| 380 | + class="pointer-events-none absolute inset-0 flex flex-col items-center justify-center gap-2 bg-black/60 opacity-0 transition-opacity duration-150 group-hover:opacity-100" |
381 | 381 | > |
382 | 382 | <button |
383 | | - class="bg-accent hover:bg-accent-hover pointer-events-auto px-4 py-1.5 text-[11px] font-medium text-[#111116] transition-colors" |
| 383 | + class="bg-accent hover:bg-accent-hover pointer-events-auto min-w-[7rem] px-4 py-1.5 text-[11px] font-medium text-[#111116] transition-colors" |
384 | 384 | onclick={() => selectWallpaper(wp.path)} |
385 | 385 | title="Set as wallpaper and open in editor" |
386 | 386 | >Use</button |
387 | 387 | > |
388 | | - <button |
389 | | - class="text-fg-primary bg-bg-elevated hover:bg-border-focus pointer-events-auto px-3 py-1.5 text-[11px] font-medium transition-colors disabled:opacity-50" |
390 | | - onclick={() => applyWallpaperOnly(wp.path)} |
391 | | - disabled={getIsApplying()} |
392 | | - title="Apply this wallpaper without changing the current palette" |
393 | | - >Wallpaper only</button |
394 | | - > |
395 | | - <button |
396 | | - class="text-fg-primary bg-bg-elevated hover:bg-border-focus pointer-events-auto px-3 py-1.5 text-[11px] font-medium transition-colors" |
397 | | - onclick={() => handlePreview(i)}>Preview</button |
| 388 | + <div |
| 389 | + class="flex items-center gap-2 text-[10px] text-white/85" |
398 | 390 | > |
| 391 | + <button |
| 392 | + class="pointer-events-auto px-1 transition-colors hover:text-white disabled:opacity-50" |
| 393 | + onclick={() => applyWallpaperOnly(wp.path)} |
| 394 | + disabled={getIsApplying()} |
| 395 | + title="Apply this wallpaper without changing the current palette" |
| 396 | + >Wallpaper only</button |
| 397 | + > |
| 398 | + <span class="text-white/30" aria-hidden="true" |
| 399 | + >·</span |
| 400 | + > |
| 401 | + <button |
| 402 | + class="pointer-events-auto px-1 transition-colors hover:text-white" |
| 403 | + onclick={() => handlePreview(i)} |
| 404 | + title="Preview wallpaper full-size" |
| 405 | + >Preview</button |
| 406 | + > |
| 407 | + </div> |
399 | 408 | </div> |
400 | 409 | <div class="flex items-center gap-1.5 px-2 py-1"> |
401 | 410 | <TagPicker path={wp.path} /> |
|
0 commit comments