-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppContainer.css
More file actions
135 lines (123 loc) · 2.13 KB
/
AppContainer.css
File metadata and controls
135 lines (123 loc) · 2.13 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
.AppContainer {
display: grid;
height: 100vh;
grid-template-columns: auto 1fr;
grid-template-rows: auto;
grid-template-areas: "nav main";
}
/** Nav bar */
nav {
position: relative;
background-color: var(--nav-background-color);
text-align: center;
width: 5em;
display: flex;
flex-direction: column;
padding-top: var(--leading);
padding-bottom: var(--leading);
}
nav .Logo {
width: 2.5em;
margin-bottom: 1.5em;
}
nav .NavLink .Logo {
margin-bottom: 0;
}
nav svg.Logo {
fill: var(--nav-logo-color);
}
nav svg.Logo .inverted.color {
fill: var(--nav-logo-color-inverted);
}
nav a.NavLink {
padding: calc(0.75 * var(--leading));
color: var(--nav-text-color) !important;
}
nav a.NavLink:hover {
background-color: rgba(0, 0, 0, 0.4);
}
nav a.AppLink.active {
background-color: rgba(0, 0, 0, 0.7);
}
nav .NavExtras {
display: flex;
flex-direction: column;
margin-top: auto;
}
nav .ThemeSwitch {
margin-top: var(--leading);
}
.NavPopover {
max-width: 22em;
}
/** Backdrop */
.Backdrop {
position: absolute;
width: 100%;
height: 100%;
filter: brightness(1.5) contrast(0.5);
opacity: 0.5;
}
.dark .Backdrop {
filter: brightness(0.3);
opacity: 1;
}
.Backdrop.hidden {
opacity: 0;
}
/** Error overlay */
.AppError {
position: absolute;
z-index: 10;
top: 0;
height: 100%;
width: 100%;
background-color: var(--overlay-background-color);
backdrop-filter: blur(3px);
opacity: 0;
transition: opacity 0.5s;
pointer-events: none;
display: flex;
flex-direction: column;
justify-content: center;
}
.AppError.visible {
opacity: 1;
pointer-events: unset;
}
.AppError pre {
overflow-y: auto;
max-height: 40vh;
}
.AppError .Error h2 {
margin-bottom: 1.5em;
}
.AppError > div {
position: relative;
display: flex;
flex-direction: column;
min-height: 30em;
margin: auto;
max-width: 60vw;
}
.AppError > div > svg {
position: absolute;
left: -3em;
top: -0.05em;
}
.AppError .AppErrorButtons {
margin-top: 2em;
}
/** App content */
main {
position: relative;
}
.Welcome {
text-align: left;
}
.Welcome p {
width: 100%;
}
.Welcome li {
margin-bottom: var(--leading);
}