2019-07-29 09:22:52 +00:00
|
|
|
@import (reference) "./browser.less";
|
2018-07-12 16:43:17 +00:00
|
|
|
@import (reference) './colortheme-all.less';
|
2018-07-12 17:13:04 +00:00
|
|
|
@import (reference) './modal.less';
|
2017-09-04 13:09:54 +00:00
|
|
|
|
|
|
|
.fileupload_main () {
|
2018-07-14 13:15:23 +00:00
|
|
|
--LessLoader_require: LessLoader_currentFile();
|
|
|
|
.modal_main();
|
|
|
|
}
|
|
|
|
& {
|
2017-09-04 13:09:54 +00:00
|
|
|
/* Upload status table */
|
|
|
|
#cp-fileupload {
|
|
|
|
.modal_base();
|
|
|
|
position: absolute;
|
2019-07-29 09:22:52 +00:00
|
|
|
right: 10vw;
|
2017-09-04 13:09:54 +00:00
|
|
|
bottom: 10vh;
|
|
|
|
box-sizing: border-box;
|
2020-02-10 16:07:46 +00:00
|
|
|
z-index: 100000; //Z file upload table container
|
2017-09-04 13:09:54 +00:00
|
|
|
display: none;
|
2020-11-13 16:05:26 +00:00
|
|
|
color: darken(@colortheme_static_apps[default], 10%);
|
2020-02-06 16:42:54 +00:00
|
|
|
max-height: 180px;
|
|
|
|
overflow-y: auto;
|
2019-07-29 09:22:52 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: @browser_media-medium-screen) {
|
|
|
|
left: 5vw; right: 5vw; bottom: 5vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cp-fileupload-header {
|
|
|
|
display: flex;
|
|
|
|
background-color: darken(@colortheme_modal-bg, 10%);
|
|
|
|
font-weight: bold;
|
2020-02-06 16:42:54 +00:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
2019-07-29 09:22:52 +00:00
|
|
|
.cp-fileupload-header-title {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.cp-fileupload-header-close {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
2017-09-04 13:09:54 +00:00
|
|
|
}
|
|
|
|
}
|
2019-07-29 09:22:52 +00:00
|
|
|
}
|
|
|
|
#cp-fileupload-table {
|
|
|
|
width: 100%;
|
2017-09-04 13:09:54 +00:00
|
|
|
@upload_pad_h: 0.25em;
|
|
|
|
@upload_pad_v: 0.5em;
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: @upload_pad_h @upload_pad_v;
|
|
|
|
}
|
2017-09-25 10:44:05 +00:00
|
|
|
.cp-fileupload-table-link {
|
2019-07-29 09:22:52 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 30vw;
|
|
|
|
margin: 0px @upload_pad_v;
|
2017-09-25 10:44:05 +00:00
|
|
|
.fa {
|
2019-07-29 09:22:52 +00:00
|
|
|
margin-top: 4px;
|
2017-09-25 10:44:05 +00:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2019-07-29 09:22:52 +00:00
|
|
|
.cp-fileupload-table-name {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
&[href]:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
.cp-fileupload-table-name {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2017-09-25 10:44:05 +00:00
|
|
|
}
|
2017-09-04 13:09:54 +00:00
|
|
|
.cp-fileupload-table-progress {
|
2019-08-22 16:04:11 +00:00
|
|
|
min-width: 12em;
|
2019-07-29 09:22:52 +00:00
|
|
|
max-width: 16em;
|
2017-09-04 13:09:54 +00:00
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.cp-fileupload-table-progress-container {
|
2019-07-29 09:22:52 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.cp-fileupload-table-progressbar {
|
2017-09-04 13:09:54 +00:00
|
|
|
position: absolute;
|
|
|
|
width: 0px;
|
2019-07-29 09:22:52 +00:00
|
|
|
height: 100%;
|
|
|
|
background-color: #dddddd;
|
2017-09-13 15:43:17 +00:00
|
|
|
z-index: -1; //Z file upload progress container
|
2017-09-04 13:09:54 +00:00
|
|
|
}
|
2019-07-29 09:22:52 +00:00
|
|
|
.cp-fileupload-table-cancel {
|
|
|
|
text-align: center;
|
|
|
|
padding: 0px;
|
|
|
|
&:not(.success):not(.cancelled):hover {
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
}
|
|
|
|
.fa {
|
|
|
|
padding: @upload_pad_h @upload_pad_v;
|
|
|
|
&.fa-times {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2017-09-04 13:09:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|