/* App management uses the existing Home tile and shared dialog kit. */ .home-app-tile.can-delete > .home-tile { padding-right: 68px; } .home-app-tile.can-delete > .st-star { right: 40px; } .home-app-delete { border: 0; background: transparent; font: inherit; color: inherit; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border-radius: var(--lp-r-sm); color: var(--lp-muted); cursor: pointer; } @media (hover: hover) and (pointer: fine) { .home-app-delete { opacity: 0; } .home-app-tile:hover .home-app-delete, .home-app-tile:focus-within .home-app-delete { opacity: 1; } .home-app-delete:hover:not(:disabled) { background: var(--lp-red-tint); color: var(--lp-red-deep); } } .home-app-delete:focus-visible, .home-app-delete-input:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } .home-app-delete:disabled, .home-app-delete-dialog button:disabled, .home-app-delete-input:disabled { opacity: 0.55; cursor: not-allowed; } .home-app-delete-body { display: grid; gap: 8px; /* The body fills the one dialog box (R36): rows pack at the top instead of stretching. */ align-content: start; } .home-app-delete-body p { margin: 0; } .home-app-delete-body strong { color: var(--lp-ink); font-weight: 600; } .home-app-delete-input { box-sizing: border-box; width: 100%; max-width: 420px; min-width: 0; min-height: 30px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); color: var(--lp-ink); font: inherit; padding: 6px 8px; } .home-app-delete-error { min-height: 1lh; color: var(--lp-red-deep); }