Files: 1c6bba1bf3eeff9fafa6ebd9738ca5f8c4ea6558 / app / html / modal.mcss
560 bytesRaw
1 | Modal { |
2 | display: flex |
3 | flex-direction: row |
4 | position: fixed |
5 | z-index: 90 |
6 | |
7 | top: var(--app-border-width) |
8 | bottom: var(--app-border-width) |
9 | left: var(--app-border-width) |
10 | right: var(--app-border-width) |
11 | background: rgba(15, 0, 25, 0.78) |
12 | |
13 | div.content { |
14 | max-width: 90vw |
15 | max-height: 90vh |
16 | overflow: auto |
17 | |
18 | $backgroundPrimary |
19 | box-shadow: rgba(0,0,0,.34) 2px 6px 10px |
20 | margin: auto |
21 | $dontSelect |
22 | } |
23 | |
24 | -open { |
25 | display: flex |
26 | } |
27 | |
28 | -close { |
29 | display: none |
30 | } |
31 | |
32 | -dark { |
33 | div.content { |
34 | background: #000 |
35 | } |
36 | } |
37 | } |
38 | |
39 |
Built with git-ssb-web