overleaf/services/web/public/stylesheets/components/fineupload.less

161 lines
3.9 KiB
Text
Raw Normal View History

2014-06-16 06:30:54 -04:00
/*
* Original version: 1.0 © 2010 Andrew Valums ( andrew(at)valums.com )
* Current Maintainer (2.0+): 2012, Ray Nicholus ( fineuploader(at)garstasio.com )
*
* Licensed under MIT license, GNU GPL 2 or later, GNU LGPL 2 or later, see license.txt.
*/
2017-11-21 11:21:58 -05:00
.qq-uploader-selector {
2014-06-16 06:30:54 -04:00
position: relative;
width: 100%;
}
2017-11-21 11:21:58 -05:00
.qq-uploader-selector {
2014-06-16 06:30:54 -04:00
text-align: center;
.drag-here {
border: 1px dashed #666;
vertical-align: middle;
}
.help {
margin-top: 6px;
}
}
2017-11-21 11:21:58 -05:00
/*.qq-upload-button-selector {
2014-06-16 06:30:54 -04:00
display: block;
width: 105px;
padding: 7px 0;
text-align: center;
background: #880000;
border-bottom: 1px solid #DDD;
color: #FFF;
}
2017-11-21 11:21:58 -05:00
.qq-upload-button-hover-selector {
2014-06-16 06:30:54 -04:00
background: #CC0000;
}
2017-11-21 11:21:58 -05:00
.qq-upload-button-focus-selector {
2014-06-16 06:30:54 -04:00
outline: 1px dotted #000000;
}*/
2017-11-21 11:21:58 -05:00
.qq-upload-drop-area-selector, .qq-upload-extra-drop-area-selector {
2014-06-16 06:30:54 -04:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
min-height: 30px;
z-index: 2;
background: @orange;
text-align: center;
}
2017-11-21 11:21:58 -05:00
.qq-upload-drop-area-selector span {
2014-06-16 06:30:54 -04:00
display: block;
position: absolute;
top: 50%;
width: 100%;
2014-10-10 08:39:47 -04:00
margin-top: -12px;
2014-06-16 06:30:54 -04:00
font-size: 16px;
2014-10-10 08:39:47 -04:00
color: white;
2014-06-16 06:30:54 -04:00
}
2017-11-21 11:21:58 -05:00
.qq-upload-extra-drop-area-selector {
2014-06-16 06:30:54 -04:00
position: relative;
margin-top: 50px;
font-size: 16px;
padding-top: 30px;
height: 20px;
min-height: 40px;
}
2017-11-21 11:21:58 -05:00
.qq-upload-drop-area-active-selector {
2014-06-16 06:30:54 -04:00
background: darken(@orange, 15%);
}
2017-11-21 11:21:58 -05:00
.qq-upload-list-selector {
2014-06-16 06:30:54 -04:00
margin: 0;
padding: 0;
list-style: none;
}
2017-11-21 11:21:58 -05:00
.qq-upload-list-selector li {
2014-06-16 06:30:54 -04:00
margin: 0;
margin-top: 10px;
padding: 9px;
line-height: 15px;
font-size: 16px;
2014-10-10 08:39:47 -04:00
background-color: @gray-lightest;
2014-06-16 06:30:54 -04:00
}
2017-11-21 11:21:58 -05:00
.qq-upload-file-selector, .qq-upload-spinner-selector, .qq-upload-size-selector, .qq-upload-cancel-selector, .qq-upload-retry-selector, .qq-upload-failed-text-selector, .qq-upload-finished-selector, .qq-upload-delete-selector {
2014-06-16 06:30:54 -04:00
margin-right: 12px;
}
2017-11-21 11:21:58 -05:00
.qq-upload-file-selector {
2014-06-16 06:30:54 -04:00
}
2017-11-21 11:21:58 -05:00
.qq-upload-spinner-selector {
2014-06-16 06:30:54 -04:00
display: inline-block;
width: 15px;
height: 15px;
vertical-align: text-bottom;
}
2017-11-21 11:21:58 -05:00
.qq-drop-processing-selector {
2014-06-16 06:30:54 -04:00
display: none;
}
2017-11-21 11:21:58 -05:00
.qq-drop-processing-spinner-selector {
2014-06-16 06:30:54 -04:00
display: inline-block;
background: url("processing.gif");
width: 24px;
height: 24px;
vertical-align: text-bottom;
}
2017-11-21 11:21:58 -05:00
.qq-upload-finished-selector {
2014-06-16 06:30:54 -04:00
display:none;
width:15px;
height:15px;
vertical-align:text-bottom;
}
2017-11-21 11:21:58 -05:00
.qq-upload-retry-selector, .qq-upload-delete-selector {
2014-06-16 06:30:54 -04:00
display: none;
2014-10-10 08:39:47 -04:00
// color: #000000;
2014-06-16 06:30:54 -04:00
}
2017-11-21 11:21:58 -05:00
.qq-upload-cancel-selector, .qq-upload-delete-selector {
2014-10-10 08:39:47 -04:00
// color: #000000;
2014-06-16 06:30:54 -04:00
}
2017-11-21 11:21:58 -05:00
.qq-upload-retryable-selector .qq-upload-retry-selector {
2014-06-16 06:30:54 -04:00
display: inline;
}
2017-11-21 11:21:58 -05:00
.qq-upload-size-selector, .qq-upload-cancel-selector, .qq-upload-retry-selector, .qq-upload-delete-selector {
2014-06-16 06:30:54 -04:00
font-size: 12px;
font-weight: normal;
}
2017-11-21 11:21:58 -05:00
.qq-upload-failed-text-selector {
2014-06-16 06:30:54 -04:00
display: none;
font-style: italic;
font-weight: bold;
}
2017-11-21 11:21:58 -05:00
.qq-upload-failed-icon-selector {
2014-06-16 06:30:54 -04:00
display:none;
width:15px;
height:15px;
vertical-align:text-bottom;
}
2017-11-21 11:21:58 -05:00
.qq-upload-fail-selector .qq-upload-failed-text-selector {
2014-06-16 06:30:54 -04:00
display: inline;
}
2017-11-21 11:21:58 -05:00
.qq-upload-retrying-selector .qq-upload-failed-text-selector {
2014-06-16 06:30:54 -04:00
display: inline;
color: #D60000;
}
2017-11-21 11:21:58 -05:00
.qq-upload-list-selector li.qq-upload-success-selector {
2014-06-16 06:30:54 -04:00
background-color: @green;
color: #FFFFFF;
}
2017-11-21 11:21:58 -05:00
.qq-upload-list-selector li.qq-upload-fail-selector {
2014-06-16 06:30:54 -04:00
background-color: @red;
color: #FFFFFF;
}
2017-11-21 11:21:58 -05:00
.qq-progress-bar-selector {
2014-06-16 06:30:54 -04:00
width: 0%;
2014-10-10 08:39:47 -04:00
height: @line-height-computed;
margin-bottom: @line-height-computed / 2;
font-size: @font-size-small;
line-height: @line-height-computed;
color: @progress-bar-color;
text-align: center;
background-color: @progress-bar-info-bg;
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
.transition(width .6s ease);
border-radius: @border-radius-base 0 0 @border-radius-base;
2014-06-16 06:30:54 -04:00
display: none;
}