1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00

add space

This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-04-25 22:41:50 +08:00
parent 8d4d047ca0
commit ed492b649e
4 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
fieldset.Header>div.output { font-size:1.1rem; line-height:21px; height:48px; overflow:hidden; }
fieldset.Header>div.output div.item { font-family:unset; padding:13.5px; float:left; }
fieldset.Header>div.output div.title:first-child { font-style:italic; font-weight:bold; text-align:center; width:230px; }
fieldset.Header>div.output div.item { background-color:unset; font-family:unset; padding:13.5px; float:left; }
fieldset.Header>div.output div.title:first-child { font-style:italic; font-weight:bold; text-align:center; width:230px; overflow:auto; }
fieldset.Header>div.output div.state { float:right; }
fieldset.Header>div.output div.state.avatar { padding:0; }
fieldset.Header>div.output div.state.avatar>img { height:48px; }

View File

@ -1,4 +1,5 @@
fieldset.Search { background-color:#061c3ceb; padding:10px; position:fixed; left:230px; top:48px; }
fieldset.Search>div.action>div.item.filter>input { margin-right:0; width:320px; }
fieldset.Search>div.action>div.item.filter>input { background-color:#6b7488; margin-right:0; width:320px; }
fieldset.Search>div.output table.content { width:100%; }
fieldset.Search>div.output>div.profile { max-width:unset; }
body.dark fieldset.Search>div.action>div.item.filter>input { background-color:#212121; }

View File

@ -3,7 +3,7 @@ Volcanos(chat.ONFIGURE, {key: {
name == ctx.INDEX && can.core.Item(can.onengine.plugin.meta, function(key) { msg.Push(ctx.INDEX, can.core.Keys(ice.CAN, key)) })
can._show(can, msg, cb, target, name)
}) },
_show: function(can, msg, cb, target, name) { if (msg.Length() == 0 || msg.Length() == 1 && msg.Append(name) == target.value) { return can.onmotion.hidden(can) }
_show: function(can, msg, cb, target, name) { if (msg.Length() == 0 || msg.Length() == 1 && msg.Append(name) == target.value && target.value != "") { return can.onmotion.hidden(can) }
if (can.base.isIn(msg.append[msg.append.length-1], ctx.ACTION, "cb")) { msg.append = msg.append.slice(0, -1) }
var list = {}
can.onmotion.clear(can), can.onappend.table(can, msg, function(value, key, index, item) { value = item[key]

View File

@ -424,6 +424,7 @@ Volcanos(chat.ONACTION, {
} else { cb(msg) }
}, true)
}}], function(list, input) { input.cancel(); var ls = can.core.Split(list[0], nfs.DF, nfs.DF); switch (ls[0]) {
case web.HTTP: return can.onimport.tabview(can, "", list[0], web.SPACE)
case nfs.LINE: return can.onaction.selectLine(can, parseInt(ls[1]), true)
case web.SPACE: return can.onimport.tabview(can, "", ls[1].indexOf(web.HTTP) == 0? list[0].slice(6): ls[1], web.SPACE)
case ctx.INDEX: return can.onimport.tabview(can, "", ls[1], ls[0])