Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

Slideshow nudge: soften the halo edge with a modest blur

nyblnet82283946acf0
diff --git a/slides/src/styles.css b/slides/src/styles.css
index 874ecd8b..b1bb56ad 100644
--- a/slides/src/styles.css
+++ b/slides/src/styles.css
@@ -1531,18 +1531,18 @@ body.ed-col-resizing { cursor: col-resize; user-select: none; }
box-shadow: 0 4px 14px rgb(20 30 45 / 0.10);
overflow: visible;
}
-/* first-run nudge: a crisp peach halo pulses out from the pill to point out how
- to start a show. Spread only, zero blur — it hugs the pill's shape and stays
- sharp (a big blurred bloom just goes muddy). A few laps, then it settles;
+/* first-run nudge: a peach halo pulses out from the pill to point out how to
+ start a show. Spread with a modest blur so the outline is soft-edged (not a
+ hard ring, but not the big muddy bloom either). A few laps, then it settles;
retired for good once they present (JS). */
@keyframes ed-hint-pulse {
- 0% { box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 0 0 rgb(255 158 138 / 0.60); }
- 70% { box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 0 40px rgb(255 158 138 / 0); }
- 100% { box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 0 0 rgb(255 158 138 / 0); }
+ 0% { box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 12px 0 rgb(255 158 138 / 0.60); }
+ 70% { box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 16px 40px rgb(255 158 138 / 0); }
+ 100% { box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 12px 0 rgb(255 158 138 / 0); }
}
.ed-present-pill.ed-hint-pulse { animation: ed-hint-pulse 1.8s ease-out 7; }
@media (prefers-reduced-motion: reduce) {
- .ed-present-pill.ed-hint-pulse { animation: none; box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 0 3px rgb(255 158 138 / 0.55); }
+ .ed-present-pill.ed-hint-pulse { animation: none; box-shadow: 0 4px 14px rgb(20 30 45 / 0.10), 0 0 10px 3px rgb(255 158 138 / 0.55); }
}
.ed-present-pill .ed-pill-main {
border-radius: 999px 0 0 999px;