Files: 55335207126eb15c3a0f1834ffb8bbcbd32658a8 / app / html / modal.mcss
763 bytesRaw
1 | Modal { |
2 | position: fixed |
3 | top: var(--app-border-width) |
4 | bottom: var(--app-border-width) |
5 | left: var(--app-border-width) |
6 | right: var(--app-border-width) |
7 | z-index: 90 |
8 | |
9 | background: rgba(15, 0, 25, 0.78) |
10 | |
11 | display: grid |
12 | justify-content: center |
13 | align-content: center |
14 | |
15 | div.content { |
16 | max-width: 90vw |
17 | max-height: 90vh |
18 | overflow: auto |
19 | |
20 | $backgroundPrimary |
21 | box-shadow: rgba(0,0,0,.34) 2px 6px 10px |
22 | margin: calc(var(--app-border-width) + 2.3rem) auto var(--app-border-width) auto |
23 | /* 2.3rem is height of Hypertabs > nav */ |
24 | $dontSelect |
25 | } |
26 | |
27 | -open { |
28 | /* display: grid */ |
29 | visibility: visible |
30 | } |
31 | |
32 | -closed { |
33 | /* display: none */ |
34 | visibility: hidden |
35 | } |
36 | |
37 | -dark { |
38 | div.content { |
39 | background: #000 |
40 | } |
41 | } |
42 | } |
43 | |
44 |
Built with git-ssb-web