gallery.accords-library.com/client/css/post-upload.styl

77 lines
1.7 KiB
Stylus
Raw Normal View History

2016-08-20 20:40:25 +00:00
@import colors
2016-09-29 19:36:59 +00:00
$cancel-button-color = tomato
2016-08-27 16:19:42 +00:00
#post-upload
2016-08-20 20:40:25 +00:00
form
width: 100%
max-width: 40em
margin: 0 auto
text-align: left
2016-08-20 20:40:25 +00:00
&.inactive input[type=submit],
&.inactive .skip-duplicates
&.uploading input[type=submit],
&.uploading .skip-duplicates,
&:not(.uploading) .cancel
display: none
2016-08-20 20:40:25 +00:00
.dropper-container
margin: 0 auto
.file-dropper
font-size: 150%
padding: 2em
input[type=submit]
margin-top: 1em
2016-09-29 19:36:59 +00:00
.cancel
margin-top: 1em
background: $cancel-button-color
border-color: $cancel-button-color
&:focus
border: 2px solid $text-color
.skip-duplicates
margin-left: 1em
.messages
margin-top: 1em
2016-08-20 20:40:25 +00:00
.uploadables-container
li
margin: 0 0 1.2em 0
2016-08-20 20:40:25 +00:00
.uploadable
.file
margin: 0.3em 0
2016-08-20 20:40:25 +00:00
overflow: hidden
2016-08-24 11:32:44 +00:00
white-space: nowrap
2016-08-20 20:40:25 +00:00
text-align: left
text-overflow: ellipsis
.anonymous
margin: 0.3em 0
2016-08-20 20:40:25 +00:00
.safety
margin: 0.3em 0
2016-08-20 20:40:25 +00:00
label
display: inline-block
2016-08-20 20:40:25 +00:00
margin-right: 1em
.thumbnail-wrapper
2016-08-20 20:40:25 +00:00
float: left
width: 12.5em
height: 7em
2016-08-23 18:55:51 +00:00
margin: 0.2em 1em 0 0
2016-08-20 20:40:25 +00:00
.thumbnail
width: 100%
height: 100%
.controls
2016-08-20 20:40:25 +00:00
float: right
a
color: $inactive-link-color
margin-left: 0.5em