Merge pull request #2310 from overleaf/cmg-project-modal-overflow

Fix overflow in upload project modal

GitOrigin-RevId: 4f25b0c2c0add645e2058dbab95a15a4e4c9f4d8
This commit is contained in:
Timothée Alby 2019-11-04 16:49:04 +07:00 committed by sharelatex
parent b326e1455a
commit c61d882a45

View file

@ -37,7 +37,8 @@
.qq-upload-button-focus-selector {
outline: 1px dotted #000000;
}*/
.qq-upload-drop-area-selector, .qq-upload-extra-drop-area-selector {
.qq-upload-drop-area-selector,
.qq-upload-extra-drop-area-selector {
position: absolute;
top: 0;
left: 0;
@ -81,10 +82,18 @@
font-size: 16px;
background-color: @gray-lightest;
}
.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 {
.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 {
margin-right: 12px;
}
.qq-upload-file-selector {
word-break: break-word;
}
.qq-upload-spinner-selector {
display: inline-block;
@ -97,28 +106,28 @@
}
.qq-drop-processing-spinner-selector {
display: inline-block;
background: url("processing.gif");
background: url('processing.gif');
width: 24px;
height: 24px;
vertical-align: text-bottom;
}
.qq-upload-finished-selector {
display:none;
width:15px;
height:15px;
vertical-align:text-bottom;
}
.qq-upload-retry-selector, .qq-upload-delete-selector {
display: none;
// color: #000000;
width: 15px;
height: 15px;
vertical-align: text-bottom;
}
.qq-upload-cancel-selector, .qq-upload-delete-selector {
// color: #000000;
.qq-upload-retry-selector,
.qq-upload-delete-selector {
display: none;
}
.qq-upload-retryable-selector .qq-upload-retry-selector {
display: inline;
}
.qq-upload-size-selector, .qq-upload-cancel-selector, .qq-upload-retry-selector, .qq-upload-delete-selector {
.qq-upload-size-selector,
.qq-upload-cancel-selector,
.qq-upload-retry-selector,
.qq-upload-delete-selector {
font-size: 12px;
font-weight: normal;
}
@ -128,25 +137,25 @@
font-weight: bold;
}
.qq-upload-failed-icon-selector {
display:none;
width:15px;
height:15px;
vertical-align:text-bottom;
display: none;
width: 15px;
height: 15px;
vertical-align: text-bottom;
}
.qq-upload-fail-selector .qq-upload-failed-text-selector {
display: inline;
}
.qq-upload-retrying-selector .qq-upload-failed-text-selector {
display: inline;
color: #D60000;
color: #d60000;
}
.qq-upload-list-selector li.qq-upload-success-selector {
background-color: @green;
color: #FFFFFF;
color: #ffffff;
}
.qq-upload-list-selector li.qq-upload-fail-selector {
background-color: @red;
color: #FFFFFF;
color: #ffffff;
}
.qq-progress-bar-selector {
width: 0%;
@ -157,8 +166,8 @@
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);
.box-shadow(inset 0 -1px 0 rgba(0, 0, 0, 0.15));
.transition(width 0.6s ease);
border-radius: @border-radius-base 0 0 @border-radius-base;
}
a.qq-btn {