git ssb

16+

Dominic / patchbay



Tree: 1c2926f12ff8e365e1d469f23180b50d50b9c749

Files: 1c2926f12ff8e365e1d469f23180b50d50b9c749 / app / html / modal.mcss

703 bytesRaw
1Modal {
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 }
30
31 -close {
32 display: none
33 }
34
35 -dark {
36 div.content {
37 background: #000
38 }
39 }
40}
41
42

Built with git-ssb-web