forked from OurHike/OurHike
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.css
More file actions
46 lines (42 loc) · 1.18 KB
/
Copy pathApp.css
File metadata and controls
46 lines (42 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* Screens that are not the map still need the tab bar pinned and their own
content scrollable underneath it, which the map screen gets from its own
grid (chrome.css). */
.app__screen {
min-height: 100svh;
display: flex;
flex-direction: column;
background: var(--paper-100);
}
.app__screen > :first-child {
flex: 1;
overflow-y: auto;
}
.app__notice {
margin: 0;
padding: var(--space-3, 12px) var(--space-4, 16px);
background: var(--warning-100, #fdf1d6);
color: var(--ink-900, #2b2620);
font-size: 0.875rem;
}
/* "A new version is ready." Shown on every screen rather than one tab: a
stale app is not a Downloads-screen problem. Quiet and inline - it never
blocks, because the running version still works and the hiker chooses when
to swap it (see lib/useAppUpdate.ts). */
.app__update {
margin: 0;
padding: var(--space-2, 8px) var(--space-4, 16px);
background: var(--bg-sunken);
border-bottom: 1px solid var(--border-1);
font-size: 0.875rem;
color: var(--fg-2);
}
.app__update-action {
background: none;
border: none;
padding: 0;
font: inherit;
font-weight: 700;
color: var(--brand-primary);
text-decoration: underline;
cursor: pointer;
}