diff --git a/theme/tfo.html b/theme/tfo.html index ce5252f..cc8e7c5 100644 --- a/theme/tfo.html +++ b/theme/tfo.html @@ -43,9 +43,9 @@ .more-disk a{margin:0 2px;padding:5px;transition-duration:0.3s;border-radius:18px;background-color:transparent;color:#24292e;border:2px solid rgba(85,85,85,0.7);border:1px solid rgba(27,31,35,0);font-size:16px;} .more-disk a:hover,.more-disk a[now]{background:rgba(245,245,245,0.3);color:#FFFFFF;border:1px solid rgba(27,31,35,.15);box-shadow:0 1px 15px rgba(27,31,35,.15)} .list-table{width:100%;padding:0 10px 10px 10px;border-spacing:0;overflow:hidden;table-layout:fixed} - .list-table tr{height:fit-content;float:left;width:100%;transition-duration:0.3s;border-radius:16px} - .list-table tr[data-to]:hover{color:white;background:linear-gradient(to right,rgb(3,102,214,0.9),rgba(3,102,214,0.3));box-shadow:0 1px 15px rgba(27,31,35,.15)} - .list-table tr[data-to]:hover a{color:white;} + .list-table tr{color:#24292e;height:fit-content;float:left;width:100%;transition-duration:0.3s;border-radius:16px} + .list-table tr[data-to]:hover{color:white !important;background:linear-gradient(to right,rgb(3,102,214,0.9),rgba(3,102,214,0.3));box-shadow:0 1px 15px rgba(27,31,35,.15)} + .list-table tr[data-to]:hover a{color:white;transition-duration:0.3s} .list-table tr:first-child{background:rgba(245,245,245,0)} .list-table td,.list-table th{text-align:left} .list-table td.updated_at,.list-table th.updated_at{width:15%;} @@ -68,7 +68,6 @@ .operatediv div{margin:16px} .operatediv_close{position:absolute;right:3px;top:3px;} .markdown-body, .customfile{padding:24px;text-align:left;font-size:14px !important} - .bkgd{background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-image:url("");background-position:center;width:100%;height:100%;filter:blur(1px)brightness(88%);position:fixed;left:0;top:0;z-index:-1;} ::selection{background-color:rgba(200,200,200,0.5)} input{cursor:pointer;padding: 0 8px;height:24px;font-weight:bold;border:1px solid rgba(27,31,35,0);transition-duration: 0.3s;border-radius:16px;background-color:transparent;color:#24292e} @@ -89,12 +88,13 @@ .vat{font-style:italic !important;} .vcard{padding-top:0px;border:0px} .vlogin-btn{width:fit-content !important;height:fit-content !important;border:0 !important} + .vleft{display:none;} .v[data-class=v] *{line-height: 1.35 !important;} .leancloud_visitors{float:right !important;padding:16px !important;} #vcomments{padding:16px !important;} #upload_div table tr{border-radius:6px !important;} #upload_div{margin:10px} - #more-disk-div{display:block;} + #pdf-d canvas{width:100%;} #jinrishici{padding:12px !important;box-shadow:0 1px 8px rgba(27,31,35,0.8);} #curpath{font-size:16px;transition-duration:0.3s;box-shadow:0 1px 8px rgba(27,31,35,0.8);} #create_input{width:94%;} @@ -110,7 +110,6 @@ .swal-footer{margin-top:0px;padding:0px 16px 8px;} .swal-modal{margin:6px auto;border-radius:6px} .swal-title:not(:last-child){margin-bottom:0px} - @media only screen and (max-width:1856px){ .list-table td.file,.list-table th.file{width:72%} .list-table td.size,.list-table th.size{width:70px !important} @@ -155,7 +154,7 @@ body{background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-image:url("");} - iframe{width:200% !important;-ms-zoom:0.5;-moz-transform:scale(0.5);-moz-transform-origin: 0 0;-o-transform: scale(0.5);-o-transform-origin: 0 0;-webkit-transform: scale(0.5);-webkit-transform-origin: 0 0;} + #preview-div iframe{width:200% !important;-ms-zoom:0.5;-moz-transform:scale(0.5);-moz-transform-origin: 0 0;-o-transform: scale(0.5);-o-transform-origin: 0 0;-webkit-transform: scale(0.5);-webkit-transform-origin: 0 0;} .title{margin-bottom:24px} .list-wrapper{width:98%;margin:0 auto 10px;} .list-table {padding:8px} @@ -164,19 +163,12 @@ .list-table td.file,.list-table th.file{width:95%;} } - - - -
@@ -230,8 +222,8 @@
-
-
+
+
@@ -240,7 +232,7 @@
-
+
@@ -297,21 +289,21 @@
 
-
+
<!--FileName--> @@ -422,7 +414,7 @@ - + @@ -467,7 +459,7 @@
-
+
@@ -477,7 +469,6 @@
- @@ -604,12 +595,12 @@
Power byTfo's Theme for OneManager-php
- + @@ -989,7 +980,7 @@ function size_format(num) { td1=document.getElementById('upfile_td1_'+tdnum); td2=document.getElementById('upfile_td2_'+tdnum); if (file.size>100*1024*1024*1024) { - td2.innerHTML=''; + td2.innerHTML=''; uploadbuttonshow(); return; } @@ -1039,7 +1030,7 @@ function size_format(num) { } xhr1.onload = function(e){ //console.log(xhr1.status+xhr1.responseText); - td2.innerHTML=''+xhr1.responseText+''; + td2.innerHTML=''+xhr1.responseText+''; if (xhr1.status==409) { // td2.innerHTML='nameAlreadyExists'; var html=JSON.parse(xhr1.responseText); @@ -1047,7 +1038,7 @@ function size_format(num) { td2.innerHTML='md5: '+filemd5; - td1.innerHTML='
'+td1.innerHTML+'
'; + td1.innerHTML='
'+td1.innerHTML+'
'; } if (xhr1.status==200) { if (xhr1.responseText=='') { @@ -1056,7 +1047,7 @@ function size_format(num) { } var html=JSON.parse(xhr1.responseText); if (!html['uploadUrl']) { - td2.innerHTML=''+xhr1.responseText+'
'; + td2.innerHTML=''+xhr1.responseText+'
'; } else { td2.innerHTML=' ...'; binupfile(file,html['uploadUrl'],timea+'_'+i, upbigfilename); @@ -1150,9 +1141,9 @@ function size_format(num) { MiddleStr += ':'+size_format((totalsize-newstartsize)*1000/(EndTime.getTime()-StartTime.getTime()))+'/s
'; } while (filename.indexOf('%2F')>0) filename = filename.replace('%2F', '/'); - document.getElementById('upfile_td1_'+tdnum).innerHTML=''; + document.getElementById('upfile_td1_'+tdnum).innerHTML=''; label.innerHTML=StartStr+MiddleStr; - label.style.color='green'; + label.style.color='black'; // uploadbuttonshow(); response.name=file.webkitRelativePath||response.name; @@ -1160,7 +1151,7 @@ function size_format(num) { } else { if (!response['nextExpectedRanges']) { - label.innerHTML=''+xhr.responseText+' '; + label.innerHTML=''+xhr.responseText+' '; } else { var a=response['nextExpectedRanges'][0]; asize=Number( a.slice(0,a.indexOf("-")) ); @@ -1172,9 +1163,9 @@ function size_format(num) { } } else { if (window.location.pathname.indexOf('%23')>0||filename.indexOf('%23')>0) { - label.innerHTML=''; + label.innerHTML=''; } else { - label.innerHTML=''+xhr2.responseText+''; + label.innerHTML=''+xhr2.responseText+''; } // uploadbuttonshow(); } @@ -1217,7 +1208,7 @@ function size_format(num) { td1=document.getElementById('upfile_td1_'+tdnum); td2=document.getElementById('upfile_td2_'+tdnum); if (file.size>100*1024*1024*1024) { - td2.innerHTML=''; + td2.innerHTML=''; uploadbuttonshow(); return; } @@ -1233,7 +1224,7 @@ function size_format(num) { xhr1.setRequestHeader('x-requested-with','XMLHttpRequest'); xhr1.onload = function(e){ //console.log(xhr1.status+xhr1.responseText); - td2.innerHTML=''+xhr1.responseText+''; + td2.innerHTML=''+xhr1.responseText+''; if (xhr1.status==201) { if (xhr1.responseText=='') { getuplink(i,1); @@ -1245,10 +1236,10 @@ function size_format(num) { if (html.name!='') { if (html.exist==true) td2.innerHTML=html.name+' 文件名已有'; else if (html.rapid_upload==true) td2.innerHTML=html.name+' 秒传'; - else td2.innerHTML=''+xhr1.responseText+'
'; - td1.innerHTML='
'+td1.innerHTML+'
'; + else td2.innerHTML=''+xhr1.responseText+'
'; + td1.innerHTML='
'+td1.innerHTML+'
'; } else { - td2.innerHTML=''+xhr1.responseText+'
'; + td2.innerHTML=''+xhr1.responseText+'
'; } } else { td2.innerHTML=' ...'; @@ -1349,13 +1340,13 @@ function size_format(num) { MiddleStr += ':'+size_format((totalsize-newstartsize)*1000/(EndTime.getTime()-StartTime.getTime()))+'/s
'; } while (filename.indexOf('%2F')>0) filename = filename.replace('%2F', '/'); - document.getElementById('upfile_td1_'+tdnum).innerHTML=''; + document.getElementById('upfile_td1_'+tdnum).innerHTML=''; label.innerHTML=StartStr+MiddleStr; - label.style.color='green'; + label.style.color='black'; // uploadbuttonshow(); } else { if (!response['nextExpectedRanges']) { - label.innerHTML=''+xhr.responseText+'
'; + label.innerHTML=''+xhr.responseText+'
'; } else { var a=response['nextExpectedRanges'][0]; asize=Number( a.slice(0,a.indexOf("-")) ); @@ -1384,12 +1375,12 @@ function size_format(num) { function tminf() { var tminftxt=document.getElementById("tminf").innerText; swal({ - title: "Tfo's Theme Information", + title: "Tfo's Update Information", text: tminftxt, icon: "info", buttons: { cancel: "Close", - update: "Update with OneManager-php", + update: "Update with the program", }, }) .then((value) => {