Commit 6975c466bb35703e5c76fdd5fef5a2d91e216d4b
tweak add gathering button
Matt McKegg committed on 6/17/2017, 2:17:40 PMParent: 7b3bcf591eeb8334a312dfab10d42c09a134c48b
Files changed
modules/page/html/render/gatherings.js | changed |
styles/button.mcss | changed |
modules/page/html/render/gatherings.js | |||
---|---|---|---|
@@ -16,12 +16,11 @@ | |||
16 | 16 … | var prepend = [ | |
17 | 17 … | h('PageHeading', [ | |
18 | 18 … | h('h1', [h('strong', 'Gatherings'), ' from your extended network']), | |
19 | 19 … | h('div.meta', [ | |
20 | - h('a.ToggleButton', { | ||
21 | - 'href': '#', | ||
20 … | + h('button -add', { | ||
22 | 21 … | 'ev-click': createGathering | |
23 | - }, 'Create') | ||
22 … | + }, '+ Add Gathering') | ||
24 | 23 … | ]) | |
25 | 24 … | ]) | |
26 | 25 … | ] | |
27 | 26 … |
styles/button.mcss | ||
---|---|---|
@@ -25,8 +25,14 @@ | ||
25 | 25 … | background: #e3e2e2 !important; |
26 | 26 … | border-color: #DDD !important; |
27 | 27 … | } |
28 | 28 … | |
29 … | + -add { | |
30 … | + color: #6a7e6a; | |
31 … | + background-color: #ecfff0; | |
32 … | + border-color: #8ba289; | |
33 … | + } | |
34 … | + | |
29 | 35 … | -pub { |
30 | 36 … | color: #6a7e6a; |
31 | 37 … | background-color: #ecfff0; |
32 | 38 … | border-color: #8ba289; |
Built with git-ssb-web