/* Upload widget (dashboard/widgets.py UploadWidget). The state rules used to
   come from django-s3direct's index.css; the JS sets form-/progress-/link-active. */
.s3direct { float: left; }
.s3direct .file-input,
.s3direct .file-link,
.s3direct .file-remove,
.s3direct .progress { display: none; float: left; clear: left; }
.s3direct.form-active .file-input,
.s3direct.link-active .file-link,
.s3direct.link-active .file-remove,
.s3direct.progress-active .progress { display: block; }
.s3direct .file-remove { margin-top: 10px; text-transform: uppercase; }
.s3direct .progress { background: #333; width: 200px; position: relative; overflow: visible; height: 25px; border-radius: 0; }
.s3direct .progress .bar { width: 0; height: 100%; background-color: #0e90d2; transition: width .3s ease; }
.s3direct .cancel-button { position: absolute; right: -20px; font-size: 25px; line-height: 25px; }
