@swiftbrowser/web 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/styles.css +15 -0
package/package.json
CHANGED
package/src/styles.css
CHANGED
|
@@ -2390,6 +2390,21 @@ svg[data-sb-symbol="progress.indicator"] > line:nth-child(8) { animation-delay:
|
|
|
2390
2390
|
border-radius: 24px;
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
2393
|
+
/* While a sheet slides in or out, the glass in it does not blur. What is
|
|
2394
|
+
painted over a backdrop filter is composited on its own, and WebKit on
|
|
2395
|
+
iOS does not draw such a layer while the card it is in runs an
|
|
2396
|
+
accelerated slide that starts mostly offscreen: a bar button's text was
|
|
2397
|
+
missing until the sheet had slid in, and vanished the moment a swipe let
|
|
2398
|
+
go of it (the capsule under it and the title beside it, painted with the
|
|
2399
|
+
card, kept sliding). Without the blur the text paints with the card. The
|
|
2400
|
+
capsules keep their translucent fill, over the card's own background for
|
|
2401
|
+
the 0.4 s. */
|
|
2402
|
+
.sb-sheet--in :is(.sb-bar-glass, .sb-navbar-back, .sb-navbar-more, .sb-button[data-sb-style="glass"]),
|
|
2403
|
+
.sb-sheet--out :is(.sb-bar-glass, .sb-navbar-back, .sb-navbar-more, .sb-button[data-sb-style="glass"]) {
|
|
2404
|
+
backdrop-filter: none;
|
|
2405
|
+
-webkit-backdrop-filter: none;
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2393
2408
|
/* iOS 26 press feedback on Liquid Glass (src/press.ts): while a pointer is
|
|
2394
2409
|
down on a bar button or a glass button, the glass under it (a bar
|
|
2395
2410
|
capsule, the back and More circles, the sidebar toggle, a `.glass`
|