client/posts: add upload cancelling

This commit is contained in:
rr-
2016-09-29 21:36:59 +02:00
parent 049a0dc351
commit 7862fecbc9
6 changed files with 87 additions and 21 deletions

View File

@ -1,5 +1,7 @@
@import colors
$cancel-button-color = tomato
#post-upload
form
width: 100%
@ -19,6 +21,17 @@
input[type=submit]
margin-top: 1em
&[disabled]
display: none
.cancel
margin-top: 1em
background: $cancel-button-color
border-color: $cancel-button-color
&[disabled]
display: none
&:focus
border: 2px solid $text-color
.messages
margin-top: 1em