Add iOS pull-to-refresh and PNG app icons
This commit is contained in:
@@ -128,6 +128,34 @@ body {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.pull-refresh-indicator {
|
||||
position: fixed;
|
||||
top: max(0.85rem, env(safe-area-inset-top));
|
||||
left: 50%;
|
||||
z-index: 30;
|
||||
padding: 0.72rem 1rem;
|
||||
border-radius: 999px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -0.9rem) scale(0.96);
|
||||
transition: opacity 160ms ease, transform 160ms ease;
|
||||
color: var(--muted);
|
||||
font-size: 0.92rem;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
body.is-pull-refreshing .pull-refresh-indicator,
|
||||
body.is-pull-refresh-ready .pull-refresh-indicator,
|
||||
body.is-pull-refresh-reloading .pull-refresh-indicator {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, 0) scale(1);
|
||||
}
|
||||
|
||||
body.is-pull-refresh-ready .pull-refresh-indicator,
|
||||
body.is-pull-refresh-reloading .pull-refresh-indicator {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user