forked from x/volcanos
add some
This commit is contained in:
parent
9af1ed2523
commit
7e29a981aa
@ -46,7 +46,7 @@ body {
|
||||
--th-box-shadow:var(--box-shadow);
|
||||
|
||||
--plugin-padding:10px; --plugin-margin:var(--plugin-padding);
|
||||
--legend-padding:20px; --title-margin:var(--legend-padding);
|
||||
--legend-padding:20px; --legend-margin:20px; --title-margin:var(--legend-padding);
|
||||
--button-padding:var(--plugin-padding); --button-margin:var(--button-padding);
|
||||
--input-padding:5px; --input-margin:var(--input-padding);
|
||||
--table-padding:var(--button-padding);
|
||||
@ -97,7 +97,7 @@ body.width6 { /* 1920-2240 显示器 */
|
||||
}
|
||||
/* element */
|
||||
* { box-sizing:border-box; padding:0; border:0; margin:0; tab-size:4; }
|
||||
legend { padding:0 var(--legend-padding); margin-right:var(--button-margin); }
|
||||
legend { padding:0 var(--legend-padding); margin-right:var(--legend-margin); }
|
||||
select { padding:0 var(--button-padding); }
|
||||
input:not([type=file]) { padding:0 var(--button-padding); }
|
||||
input:not([type=button]) { padding:0 var(--input-padding); outline:none; }
|
||||
@ -323,8 +323,9 @@ fieldset.story, fieldset>div.output, fieldset>div.status, div.output>div.project
|
||||
fieldset.story { position:sticky; left:0; }
|
||||
fieldset.auto, fieldset.full, fieldset.float { position:fixed; }
|
||||
fieldset.full { position:fixed; left:0; top:0; }
|
||||
fieldset.plug { position:sticky; bottom:0; right:0; float:right; }
|
||||
fieldset.story>div.output>fieldset.plug { position:absolute; bottom:0; right:0; float:right; }
|
||||
/* fieldset.plug { position:sticky; bottom:0; right:0; float:right; } */
|
||||
/* fieldset.story>div.output>fieldset.plug { position:absolute; bottom:0; right:0; float:right; } */
|
||||
fieldset.plug { position:absolute; bottom:0; right:0; float:right; }
|
||||
fieldset.plug:not(.select) { display:none; }
|
||||
fieldset.vimer>div.output fieldset.plug { position:absolute; bottom:0; right:0; float:right; }
|
||||
fieldset.vimer>div.output div.project fieldset.plug:not(.hide) { position:static; float:unset; height:100%; display:block; }
|
||||
|
@ -139,12 +139,14 @@ Volcanos(chat.ONENGINE, {
|
||||
if (typeof can.river == code.FUNCTION) { can.river = can.river(can) } var list = can.river
|
||||
cmds.length == 0 && can.core.ItemOrder(list, mdb.ORDER, function(key, value) { if (!value) { return }
|
||||
if (value.debug && can.misc.Search(can, ice.MSG_DEBUG) != ice.TRUE) { return }
|
||||
if (value.nodetype && value.nodetype != can.user.info.nodetype) { return }
|
||||
if (can.base.isIn(can.user.info.userrole, value.type||aaa.VOID, aaa.TECH, aaa.ROOT)) {
|
||||
can.core.Item(value.storm).length > 0 && msg.Push({hash: key, name: can.user.isEnglish(can)? key: value.name, icon: value.icon||"", main: value.main||false})
|
||||
}
|
||||
})
|
||||
if (cmds.length != 1 && cmds[1] != chat.STORM) { return false } var river = list[cmds[0]]; if (!river) { return false }
|
||||
can.core.ItemOrder(river.storm, mdb.ORDER, function(key, value) { if (!value) { return }
|
||||
if (value.nodetype && value.nodetype != can.user.info.nodetype) { return }
|
||||
if (can.user.info.userrole == aaa.ROOT || can.base.isIn(value.type||"", "", aaa.VOID, can.user.info.userrole)) {
|
||||
msg.Push({hash: key, name: can.user.isEnglish(can)? key: value.name, icon: value.icon||"", main: value.main||false})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user