blob: ef1eb104992ac8193f55b9a12fcc77e1592d0662 (
plain)
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
|
/* TODO: generally remove literals from this file. */
#interface {
margin: unset;
display: grid;
grid-template:
'side main' 1fr
/ auto 1fr;
height: calc(100vh - var(--app-bar-height));
@media (width > 640px) {
--overlay: static;
--translate: 0;
}
}
nav#sidebar {
grid-area: side;
inset: auto auto 0 0;
padding-right: 0.5rem;
position: var(--overlay, absolute);
transition: translate 300ms ease-out;
width: var(--nav-width);
height: 100vh;
z-index: 10;
border-radius: 0 1.4rem 1.4rem 0;
background-color: var(--colour-background-alt);
@media (width > 640px) {
height: calc(100vh - var(--app-bar-height));
}
}
nav.list-nav {
height: calc(100vh - var(--input-row-height) - var(--interface-padding));
overflow: auto;
@media (width > 640px) {
height: calc(100vh - var(--app-bar-height) - var(--input-row-height) - var(--interface-padding));
}
}
main {
grid-area: main;
height: calc(100vh - var(--app-bar-height));
}
main textarea {
resize: none;
}
nav[data-expanded='false'] {
translate: var(--translate, -100% 0);
}
|