mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 17:53:37 -05:00
160 lines
3.5 KiB
Text
160 lines
3.5 KiB
Text
/*
|
|
* 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.
|
|
*/
|
|
.qq-uploader {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.qq-uploader {
|
|
text-align: center;
|
|
.drag-here {
|
|
border: 1px dashed #666;
|
|
vertical-align: middle;
|
|
}
|
|
.help {
|
|
margin-top: 6px;
|
|
}
|
|
}
|
|
/*.qq-upload-button {
|
|
display: block;
|
|
width: 105px;
|
|
padding: 7px 0;
|
|
text-align: center;
|
|
background: #880000;
|
|
border-bottom: 1px solid #DDD;
|
|
color: #FFF;
|
|
}
|
|
.qq-upload-button-hover {
|
|
background: #CC0000;
|
|
}
|
|
.qq-upload-button-focus {
|
|
outline: 1px dotted #000000;
|
|
}*/
|
|
.qq-upload-drop-area, .qq-upload-extra-drop-area {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 30px;
|
|
z-index: 2;
|
|
background: @orange;
|
|
text-align: center;
|
|
}
|
|
.qq-upload-drop-area span {
|
|
display: block;
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 100%;
|
|
margin-top: -12px;
|
|
font-size: 16px;
|
|
color: white;
|
|
}
|
|
.qq-upload-extra-drop-area {
|
|
position: relative;
|
|
margin-top: 50px;
|
|
font-size: 16px;
|
|
padding-top: 30px;
|
|
height: 20px;
|
|
min-height: 40px;
|
|
}
|
|
.qq-upload-drop-area-active {
|
|
background: darken(@orange, 15%);
|
|
}
|
|
.qq-upload-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.qq-upload-list li {
|
|
margin: 0;
|
|
margin-top: 10px;
|
|
padding: 9px;
|
|
line-height: 15px;
|
|
font-size: 16px;
|
|
background-color: @gray-lightest;
|
|
}
|
|
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-retry, .qq-upload-failed-text, .qq-upload-finished, .qq-upload-delete {
|
|
margin-right: 12px;
|
|
}
|
|
.qq-upload-file {
|
|
}
|
|
.qq-upload-spinner {
|
|
display: inline-block;
|
|
width: 15px;
|
|
height: 15px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
.qq-drop-processing {
|
|
display: none;
|
|
}
|
|
.qq-drop-processing-spinner {
|
|
display: inline-block;
|
|
background: url("processing.gif");
|
|
width: 24px;
|
|
height: 24px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
.qq-upload-finished {
|
|
display:none;
|
|
width:15px;
|
|
height:15px;
|
|
vertical-align:text-bottom;
|
|
}
|
|
.qq-upload-retry, .qq-upload-delete {
|
|
display: none;
|
|
// color: #000000;
|
|
}
|
|
.qq-upload-cancel, .qq-upload-delete {
|
|
// color: #000000;
|
|
}
|
|
.qq-upload-retryable .qq-upload-retry {
|
|
display: inline;
|
|
}
|
|
.qq-upload-size, .qq-upload-cancel, .qq-upload-retry, .qq-upload-delete {
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
}
|
|
.qq-upload-failed-text {
|
|
display: none;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
.qq-upload-failed-icon {
|
|
display:none;
|
|
width:15px;
|
|
height:15px;
|
|
vertical-align:text-bottom;
|
|
}
|
|
.qq-upload-fail .qq-upload-failed-text {
|
|
display: inline;
|
|
}
|
|
.qq-upload-retrying .qq-upload-failed-text {
|
|
display: inline;
|
|
color: #D60000;
|
|
}
|
|
.qq-upload-list li.qq-upload-success {
|
|
background-color: @green;
|
|
color: #FFFFFF;
|
|
}
|
|
.qq-upload-list li.qq-upload-fail {
|
|
background-color: @red;
|
|
color: #FFFFFF;
|
|
}
|
|
.qq-progress-bar {
|
|
width: 0%;
|
|
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;
|
|
display: none;
|
|
}
|