git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 2d9a96c93ab273214f6c0cf651dee57e412f9be5

add compose "warning" to dark theme

#600
Matt McKegg committed on 9/16/2017, 2:58:13 AM
Parent: c7fec478665108c5e4a023aaf9df025aac2c5507

Files changed

styles/dark/compose.mcsschanged
styles/light/compose.mcsschanged
styles/dark/compose.mcssView
@@ -27,8 +27,36 @@
2727 color: #757474
2828 }
2929 }
3030
31+ section.warning {
32+ overflow: hidden
33+ color: #fff
34+ font-size: 1.2rem
35+ background-color: #ff00b6
36+
37+ height: 0
38+ padding: 0 .5rem
39+ transition: all ease-in .1s
40+
41+ display: flex
42+ justify-content: space-between
43+
44+
45+ -open {
46+ padding: .5rem
47+ height: initial
48+ }
49+
50+ i.fa { margin-right: .5rem }
51+ div.warning {
52+ strong { margin-right: .3rem }
53+ }
54+ div.close {
55+ cursor: pointer
56+ }
57+ }
58+
3159 section.actions {
3260 display: flex
3361 flex-direction: row
3462 align-items: baseline
styles/light/compose.mcssView
@@ -21,8 +21,9 @@
2121 }
2222 }
2323
2424 section.warning {
25+ overflow: hidden
2526 color: #fff
2627 font-size: 1.2rem
2728 background-color: #ff00b6
2829

Built with git-ssb-web