Commit 8866dc47d75af015c0d06c5c724748855c54459a
wip draggable header
mix irving committed on 5/20/2018, 11:42:13 PMParent: c0dd626b0d708d6baff34a5f1e8fb399bc0119cd
Files changed
app/html/header.mcss | changed |
app/html/header.mcss | ||
---|---|---|
@@ -1,6 +1,21 @@ | ||
1 | 1 … | Header { |
2 … | + $colorPrimary | |
3 … | + padding: 1rem 0 | |
4 … | + | |
5 … | + width: 100% | |
6 … | + height: 1.5rem | |
7 … | + position: fixed | |
8 … | + top: 0 | |
9 … | + z-index: 99 | |
10 … | + | |
11 … | + display: grid | |
12 … | + grid-template-rows: 3rem auto 3rem | |
13 … | + grid-template-columns: auto | |
14 … | + | |
2 | 15 … | div.window-controls { |
16 … | + -webkit-app-region: no-drag | |
17 … | + | |
3 | 18 … | position: fixed |
4 | 19 … | right: 0 |
5 | 20 … | z-index: 100 |
6 | 21 … | |
@@ -15,22 +30,18 @@ | ||
15 | 30 … | } |
16 | 31 … | } |
17 | 32 … | |
18 | 33 … | nav { |
19 | - $colorPrimary | |
20 | - padding: 1rem 0 | |
34 … | + -webkit-app-region: drag | |
21 | 35 … | |
22 | - width: 100% | |
23 | - height: 1.5rem | |
24 | - position: fixed | |
25 | - top: 0 | |
26 | - z-index: 99 | |
27 | 36 … | |
28 | 37 … | display: flex |
29 | 38 … | align-items: center |
30 | 39 … | justify-content: center |
31 | 40 … | |
32 | 41 … | i { |
42 … | + -webkit-app-region: no-drag | |
43 … | + | |
33 | 44 … | cursor: pointer |
34 | 45 … | text-decoration: none |
35 | 46 … | font-size: 1.4rem |
36 | 47 … |
Built with git-ssb-web