1
0
forked from x/volcanos
This commit is contained in:
harveyshao 2022-12-16 23:53:17 +08:00
parent 327d71534e
commit 799b541472
2 changed files with 4 additions and 2 deletions

View File

@ -96,7 +96,7 @@ Volcanos("base", {
var vs = ls[1].split(ice.DF); now.setHours(parseInt(vs[0])), now.setMinutes(parseInt(vs[1])), now.setSeconds(parseInt(vs[2]))
} else if (time) { now = time } return now
},
DateAdd: function(stamp, days) { return new Date(stamps - stamps%(24*3600*1000) - 8*3600*1000 + days*24*3600*1000) },
DateAdd: function(stamp, days) { return new Date(stamp - stamp%(24*3600*1000) - 8*3600*1000 + days*24*3600*1000) },
Duration: function(n) { var res = "", h = 0
h = parseInt(n/3600000/24), h > 0 && (res += h+"d"), n = n % (3600000*24)
h = parseInt(n/3600000), h > 0 && (res += h+"h"), n = n % 3600000

View File

@ -1,5 +1,5 @@
body, fieldset, table, tr, th, td { padding:0; border:0; margin:0; }
body { background-color:black; color:cyan; font-size:16px; overflow:hidden; }
body { background-color:black; color:cyan; font-size:16px; }
legend { background-color:cadetblue; color:white; padding:0 20px; margin-right:2px; float:left; }
select { background-color:black; color:cyan; padding:0 10px; margin:0 2px; border:0; }
textarea { background-color:cyan; width:400px; padding:5px; border:0; margin:2px; }
@ -345,6 +345,8 @@ fieldset.plugin.parse.cmd>div.status { display:none; }
fieldset.xterm div.toggle { display:none; }
fieldset.story.inner.float { background-color:black; }
body.black { overflow:hidden; }
body.white { overflow:hidden; }
body.black a { color:yellow; }
body.white fieldset.panel.Search a { color:yellow; }
body.mobile fieldset.plan>div.action { display:none; }