git ssb

2+

mixmix / ticktack



Commit da9874091b96fecd45b20584dccc1c6f14280539

Merge pull request #145 from ticktackim/dragabble_header

dragabble header for electron
mix irving authored on 5/21/2018, 10:26:57 AM
GitHub committed on 5/21/2018, 10:26:57 AM
Parent: c0dd626b0d708d6baff34a5f1e8fb399bc0119cd
Parent: 9b19b5a70b39a1c9be486b77245fc9c69a5a6727

Files changed

app/html/header.mcsschanged
app/page/settings.mcsschanged
app/html/header.mcssView
@@ -1,6 +1,23 @@
11 Header {
2 + -webkit-app-region: drag
3 +
4 + $colorPrimary
5 +
6 + width: 100%
7 + height: 3.5rem
8 + position: fixed
9 + top: 0
10 + z-index: 99
11 +
12 + display: grid
13 + grid-template-rows: auto
14 + grid-template-columns: auto
15 + justify-content: center
16 +
217 div.window-controls {
18 + -webkit-app-region: no-drag
19 +
320 position: fixed
421 right: 0
522 z-index: 100
623
@@ -15,28 +32,24 @@
1532 }
1633 }
1734
1835 nav {
19- $colorPrimary
20- padding: 1rem 0
36 + -webkit-app-region: drag
2137
22- width: 100%
23- height: 1.5rem
24- position: fixed
25- top: 0
26- z-index: 99
38 + width: 20rem
2739
2840 display: flex
2941 align-items: center
30- justify-content: center
42 + justify-content: space-between
3143
3244 i {
45 + -webkit-app-region: no-drag
46 +
3347 cursor: pointer
3448 text-decoration: none
3549 font-size: 1.4rem
3650
3751 display: flex
38- margin: 0 2rem
3952 }
4053
4154 i { font-size: 1.4rem }
4255 i.notifications { color: #7da9ea }
app/page/settings.mcssView
@@ -1,12 +1,20 @@
11 Page -settings {
2- padding-top: 1rem
2 + display: grid
3 + padding: 1rem 0
4 + grid-template-rows: auto
5 + justify-items: center
6 + grid-template-columns: auto
7 + overflow-y: auto
8 +
39 background: #fff
410
511 div.content {
612 padding: 1rem
713 $maxWidthSmaller
814
15 + overflow-y: initial
16 +
917 h1 {
1018 font-size: 1.5rem
1119 font-weight: 300
1220

Built with git-ssb-web