cryptpad/customize.dist/src/less2/include/fileupload.less

63 lines
1.8 KiB
Plaintext
Raw Normal View History

@import (reference) './colortheme-all.less';
@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;
left: 10vw; right: 10vw;
bottom: 10vh;
opacity: 0.9;
box-sizing: border-box;
z-index: 1000000; //Z file upload table container
2017-09-04 13:09:54 +00:00
display: none;
#cp-fileupload-table {
width: 80vw;
tr:nth-child(1) {
background-color: darken(@colortheme_modal-bg, 20%);
td {
font-weight: bold;
padding: 0.25em;
&:nth-child(4), &:nth-child(5) {
text-align: center;
}
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 {
.fa {
margin-right: 5px;
}
}
2017-09-04 13:09:54 +00:00
.cp-fileupload-table-progress {
width: 25%;
2017-09-04 13:09:54 +00:00
position: relative;
text-align: center;
box-sizing: border-box;
}
.cp-fileupload-table-progress-container {
position: absolute;
width: 0px;
left: @upload_pad_v;
top: @upload_pad_h; bottom: @upload_pad_h;
background-color: rgba(0,0,255,0.3);
z-index: -1; //Z file upload progress container
2017-09-04 13:09:54 +00:00
}
.cp-fileupload-table-cancel { text-align: center; }
.fa.cancel {
color: rgb(255, 0, 115);
}
}
}
}