Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 1,821 Bytes
82cdb59 f462120 82cdb59 f462120 82cdb59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | /* 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);
}
|