szurubooru/client/css/post-upload.styl

81 lines
1.8 KiB
Stylus
Raw Normal View History

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