mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
2d79b9871b
commit
0bf940b4df
2
frame.js
2
frame.js
@ -1161,7 +1161,7 @@ Volcanos(chat.ONMOTION, {
|
||||
cache: function(can, next) { var list = can.base.getValid(can.base.Obj(can.core.List(arguments).slice(2)), [can._output])
|
||||
var data = can._cache_data = can._cache_data||{}, old = list[0]._cache_key
|
||||
var key = next(function(save) { if (old) { data[old] = save } }, function(hash, load) { var bak = data[hash]; if (bak) { load(bak) } return hash })
|
||||
if (key == old) { return true }
|
||||
if (can.base.isArray(key)) { key = key.join(":") } if (key == old) { return true }
|
||||
can.core.List(list, function(target) { target && target._cache_key && can.page.Cache(target._cache_key, target, target.scrollTop+1) })
|
||||
return key && can.core.List(list, function(target) { if (!target) { return }
|
||||
var pos = can.page.Cache(target._cache_key = key, target); if (pos) { target.scrollTo && target.scrollTo(0, pos-1); return target }
|
||||
|
@ -227,7 +227,7 @@ div.project div.item { position:relative; }
|
||||
div.project div.item.select { border-right:var(--item-notice); }
|
||||
div.project>div.item.select { position:sticky; top:32px; bottom:0; }
|
||||
div.project div.item:not(.hide) { white-space:pre; line-height:24px; cursor:pointer; padding:0 var(--input-padding); display:flex; align-items:center; }
|
||||
body.mobile div.project div.item:not(.album):not(.hide) { padding:20px var(--input-padding); }
|
||||
// body.mobile div.project div.item:not(.album):not(.hide) { padding:20px var(--input-padding); }
|
||||
div.project div.item:not(.hide)>i:first-child { margin-right:var(--input-margin); }
|
||||
div.project>div.item:not(:hover) input:not([type=button]) { border-right:0; }
|
||||
div.project>div.item:not(:hover) input:not([type=button]) { border-left:0; }
|
||||
@ -815,7 +815,7 @@ body.mobile:not(.landscape) fieldset.plugin.cmd:not(.output)>div.header { displa
|
||||
body.mobile div.output.card { overflow-x:hidden; }
|
||||
body.mobile div.output>div.project { position:absolute; left:0; top:0; z-index:2; }
|
||||
// body.mobile div.output>div.project { flex:0 0 240px; width:240px; }
|
||||
body.mobile div.output>div.project div.item:not(.album) { height:var(--action-height); }
|
||||
// body.mobile div.output>div.project div.item:not(.album) { height:var(--action-height); }
|
||||
body.mobile div.output>div.project { background-color:var(--plugin-bg-color); }
|
||||
body.mobile fieldset>div.output>div.code>img { max-width:390px; }
|
||||
body.mobile fieldset>div.output>div.code>div.form input[type=button] { width:100%; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user