Commit c34e6abec00814abf64ee003f1558a19da00f040
add dropshadow to lightbox and change 'okay' button to 'publish'
Ev Bogue committed on 9/20/2016, 7:23:21 PMParent: 88526ac77402dd07273ad025aa30ab6a18129b7d
Files changed
modules/message-confirm.js | changed |
style.css | changed |
modules/message-confirm.js | ||
---|---|---|
@@ -14,14 +14,14 @@ | ||
14 | 14 … | |
15 | 15 … | var lb = lightbox() |
16 | 16 … | document.body.appendChild(lb) |
17 | 17 … | |
18 | - var okay = h('button', 'okay', {onclick: function () { | |
18 … | + var okay = h('button', 'Publish', {onclick: function () { | |
19 | 19 … | lb.remove() |
20 | 20 … | publish(content, cb) |
21 | 21 … | }}) |
22 | 22 … | |
23 | - var cancel = h('button', 'cancel', {onclick: function () { | |
23 … | + var cancel = h('button', 'Cancel', {onclick: function () { | |
24 | 24 … | lb.remove() |
25 | 25 … | cb(null) |
26 | 26 … | }}) |
27 | 27 … |
style.css | |||
---|---|---|---|
@@ -254,13 +254,14 @@ | |||
254 | 254 … | padding: 1.5em; | |
255 | 255 … | margin-top: 3em; | |
256 | 256 … | margin-bottom: 3em; | |
257 | 257 … | width: 600px; | |
258 … | + background: #f5f5f5; | ||
258 | 259 … | margin-left: auto; | |
259 | 260 … | margin-right: auto; | |
260 | - background: #f5f5f5; | ||
261 | 261 … | border: 1px solid #eee; | |
262 | 262 … | border-radius: .2em; | |
263 … | + box-shadow: #dadada 1px 2px 8px; | ||
263 | 264 … | } | |
264 | 265 … | ||
265 | 266 … | /* searchprompt */ | |
266 | 267 … |
Built with git-ssb-web