Fix wallpaper transparency, Recents setup guide, and drawer animation
Launcher / test (pull_request) Successful in 1m12s
Launcher / apk (pull_request) Skipped

This commit is contained in:
Sprite committed 2026-11-23 04:55:23 +00:00
1 parent 2fa7bd745b
commit 216c80252d
14 files changed
+474 -86

No files matched your search

+22 -8
View File
@@ -37,7 +37,7 @@ body {
margin: 0; background: var(--background); color: var(--foreground);
font: 14px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased;
}
.light, .dark { background: var(--background); color: var(--foreground); }
.light, .dark { color: var(--foreground); }
button, input { font: inherit; color: inherit; margin: 0; }
button { border: 0; background: none; padding: 0; }
:focus-visible { outline: none; }
@@ -102,7 +102,7 @@ button { border: 0; background: none; padding: 0; }
--bottom: var(--inset-bottom, env(safe-area-inset-bottom, 0px));
--shadow-text: 0 1px 4px rgb(0 0 0 / .6);
}
html, body { background: transparent; }
html, html.dark, html.light, body { background: transparent; }
html.demo { background: linear-gradient(160deg, #1e293b, #4c1d95 55%, #0f172a) fixed; }
body { margin: 0; min-height: 100vh; color: #fff; -webkit-tap-highlight-color: transparent;
user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
@@ -204,12 +204,21 @@ body { margin: 0; min-height: 100vh; color: #fff; -webkit-tap-highlight-color: t
background: rgb(255 255 255 / .75); border-radius: 1px; transform: rotate(45deg); }
button { cursor: pointer; }
/* ---- drawer: slides down over the home screen */
/* ---- drawer: GPU-composited slide+fade over the home screen */
.drawer { position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column;
padding: calc(var(--top) + 1rem) 16px 0; background: rgb(10 10 14 / .72);
backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
animation: drop .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
padding: calc(var(--top) + 1rem) 16px 0; background: rgb(10 10 14 / .84);
will-change: transform, opacity;
animation: drawer-in 180ms cubic-bezier(.2, .8, .2, 1); }
.drawer.closing { pointer-events: none;
animation: drawer-out 140ms cubic-bezier(.4, 0, 1, 1) forwards; }
@keyframes drawer-in {
from { opacity: 0; transform: translate3d(0, -20px, 0); }
to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes drawer-out {
from { opacity: 1; transform: translate3d(0, 0, 0); }
to { opacity: 0; transform: translate3d(0, -16px, 0); }
}
.drawer-head { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.drawer-head .input { flex: 1; height: 2.75rem; border-radius: 999px; padding: 0 1.25rem; font-size: 1rem;
background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .15); color: #fff; }
@@ -250,6 +259,11 @@ button { cursor: pointer; }
.widget-name { display: grid; }
.widget-name small { color: var(--muted-foreground); font-size: .8rem; }
.widget-search { width: 100%; margin-bottom: .5rem; }
.sheet-copy { margin: 0 .5rem .75rem; font-size: .875rem; color: var(--muted-foreground); line-height: 1.45; }
.sheet-steps { margin: 0 .5rem 1rem; padding-left: 1.25rem; display: grid; gap: .5rem; font-size: .875rem; line-height: 1.45; }
.sheet-steps strong { font-weight: 600; color: var(--popover-foreground); }
.sheet-actions { display: grid; gap: .5rem; margin: 0 .25rem; }
.sheet-actions .btn { width: 100%; height: 2.5rem; }
.notice, #toast { position: fixed; left: 50%; bottom: calc(var(--bottom) + 2rem); z-index: 30;
transform: translateX(-50%); padding: .5rem 1rem; border-radius: 999px;
@@ -258,4 +272,4 @@ button { cursor: pointer; }
#toast { opacity: 0; transition: opacity .2s; animation: none; }
#toast.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .drawer, .sheet { animation: none; } }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer.closing, .sheet { animation: none; } }