aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 8a28377..dfe9b9d 100644
--- a/src/style.css
+++ b/src/style.css
@@ -2087,3 +2087,14 @@ html:has(.call-overlay:not(.call-min)) { overflow: hidden; scrollbar-gutter: aut
font-style: italic; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere;
}
.gift-note-input { width: 100%; min-height: 0; font-family: var(--sans); }
+
+/* pull to refresh, where the browser has none (src/pull-refresh.js) */
+.ptr {
+ position: fixed; top: env(safe-area-inset-top, 0px); left: 50%; z-index: 2147483000;
+ width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
+ background: var(--paper); color: var(--muted); box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
+ transform: translate(-50%, -48px); opacity: 0; pointer-events: none;
+}
+.ptr.ready { color: var(--ink); }
+.ptr.spin svg { animation: ptr-spin .8s linear infinite; }
+@keyframes ptr-spin { to { transform: rotate(360deg); } }