Commit d20a4c3eb8a4eb7a37398d3d135e5806aeb5aaf7
minor button + preview styling
mix irving committed on 6/12/2018, 9:09:07 AMParent: 80cfa4c45f0bb73aaba9dba1b5e744bb29672859
Files changed
app/html/external-confirm.js | changed |
app/html/external-confirm.mcss | changed |
app/styles/mcss/button.mcss | changed |
app/styles/mcss/lightbox.mcss | changed |
message/html/confirm.js | changed |
message/html/confirm.mcss | changed |
app/html/external-confirm.js | ||
---|---|---|
@@ -19,9 +19,9 @@ | ||
19 | 19 … | }}, |
20 | 20 … | 'open' |
21 | 21 … | ) |
22 | 22 … | |
23 | - var cancel = h('button.cancel', { | |
23 … | + var cancel = h('button.cancel.-subtle', { | |
24 | 24 … | 'ev-click': () => { |
25 | 25 … | lb.remove() |
26 | 26 … | }}, |
27 | 27 … | 'cancel' |
app/html/external-confirm.mcss | |||
---|---|---|---|
@@ -29,9 +29,8 @@ | |||
29 | 29 … | button.cancel { | |
30 | 30 … | ||
31 | 31 … | } | |
32 | 32 … | button.okay { | |
33 | - margin-right: 0 | ||
34 | 33 … | ||
35 | 34 … | } | |
36 | 35 … | } | |
37 | 36 … | } | |
app/styles/mcss/button.mcss | ||
---|---|---|
@@ -23,10 +23,10 @@ | ||
23 | 23 … | transition: all .1s ease-in |
24 | 24 … | |
25 | 25 … | :focus { |
26 | 26 … | outline: none |
27 | - border-color: #0088cc | |
28 | - box-shadow: 0 0 4px #0088cc | |
27 … | + /* border-color: #0088cc */ | |
28 … | + /* box-shadow: 0 0 4px #0088cc */ | |
29 | 29 … | } |
30 | 30 … | |
31 | 31 … | :hover { |
32 | 32 … | color: #fff |
app/styles/mcss/lightbox.mcss | ||
---|---|---|
@@ -2,15 +2,15 @@ | ||
2 | 2 … | /* used in message.html.confirm */ |
3 | 3 … | |
4 | 4 … | body { |
5 | 5 … | div.lightbox { |
6 … | + $threadWidth | |
7 … | + | |
6 | 8 … | position: fixed |
7 | 9 … | left: 0px |
8 | 10 … | right: 0px |
9 | 11 … | top: 50px |
10 | 12 … | overflow: auto |
11 | - width: 780px | |
12 | - max-width: 100% | |
13 | 13 … | padding: 25px |
14 | 14 … | margin: auto |
15 | 15 … | z-index: 2 |
16 | 16 … | background: #f5f5f5 |
Built with git-ssb-web