git ssb

2+

mixmix / ticktack



Commit 500baee094fd05286f7ddda6f1e5c19da86c9166

styling

mix irving committed on 8/9/2017, 8:21:52 AM
Parent: 12f3fdd50fef91a306b6c630a80ea589cde8a95c

Files changed

app/html/nav.jschanged
app/html/nav.mcsschanged
app/html/nav.jsView
@@ -13,13 +13,13 @@
1313
1414 function nav (id) {
1515 const { push, back } = api.history.sync
1616 return h('Nav', [
17- h('div', { 'ev-click': back }, '(<)'),
17+ h('div.back', { 'ev-click': back }, '←'),
1818 h('div', { 'ev-click': () => push({page: 'home'}) }, 'Home'),
19- h('div', { 'ev-click': () => push({type: 'group', key: '%sadlkjas;lkdjas'}) }, 'Group'),
20- h('div', { 'ev-click': () => push({key: '%fXXZgQrwnj7F+Y19H0IXxNriuvPFoahvusih3UzpkfA=.sha256'}) }, 'Private Thread A'),
21- h('div', { 'ev-click': () => push({key: '%3cWZHeN6k03XpvDBxrxP5bGLsNByFLTvr/rKYFV4f+c=.sha256'}) }, 'Private Thread B'),
19+ // h('div', { 'ev-click': () => push({type: 'group', key: '%sadlkjas;lkdjas'}) }, 'Group'),
20+ h('div', { 'ev-click': () => push({key: '%fXXZgQrwnj7F+Y19H0IXxNriuvPFoahvusih3UzpkfA=.sha256'}) }, 'Thread A'),
21+ h('div', { 'ev-click': () => push({key: '%3cWZHeN6k03XpvDBxrxP5bGLsNByFLTvr/rKYFV4f+c=.sha256'}) }, 'Thread B'),
2222 ])
2323 }
2424 }
2525
app/html/nav.mcssView
@@ -1,11 +1,27 @@
11 Nav {
22 display: flex
3- margin-left: 1rem
3+ align-items: center
44
5+ margin: 0 0 1rem 1rem
6+
57 div {
68 margin-right: 1rem
7-
89
10+ :hover {
11+ text-decoration: underline
12+ }
913 }
14+
15+ div.back {
16+ border: 1px solid #ddd
17+ padding: 0 0.2em;
18+ font-size: 1.4rem;
19+ border-radius: 4px
20+
21+ :hover {
22+ text-decoration: none
23+ border-color: #222
24+ }
25+ }
1026 }
1127

Built with git-ssb-web