mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
2f2a17e776
commit
bbd9ed606b
@ -371,7 +371,7 @@ body>div.input tr.icon td:last-child { position:relative; }
|
|||||||
body>div.input tr.icon td:last-child img:first-child { height:28px; width:28px; position:absolute; left:12px; top:12px; }
|
body>div.input tr.icon td:last-child img:first-child { height:28px; width:28px; position:absolute; left:12px; top:12px; }
|
||||||
body>div.input tr.icon td:last-child input { padding-left:var(--action-height); }
|
body>div.input tr.icon td:last-child input { padding-left:var(--action-height); }
|
||||||
body>div.input tr.icons td:last-child img { height:28px; width:28px; position:absolute; left:2px; top:2px; }
|
body>div.input tr.icons td:last-child img { height:28px; width:28px; position:absolute; left:2px; top:2px; }
|
||||||
body>div.input tr.icons td:last-child span:not(.icon) { font-family:monospace; position:absolute; left:33px; }
|
body>div.input tr.icons td:last-child span:not(.icon) { font-family:var(--code-font-family); position:absolute; left:33px; }
|
||||||
body>div.input tr.icons td:last-child input { padding-left:var(--action-height); }
|
body>div.input tr.icons td:last-child input { padding-left:var(--action-height); }
|
||||||
body>div.input td span.icon { margin-left:-20px; visibility:hidden; }
|
body>div.input td span.icon { margin-left:-20px; visibility:hidden; }
|
||||||
body>div.input td span.icons { margin-left:-20px; visibility:hidden; }
|
body>div.input td span.icons { margin-left:-20px; visibility:hidden; }
|
||||||
@ -679,7 +679,7 @@ body.windows form.option>div.item.icon.refresh { font-size:24px; line-height:28p
|
|||||||
body.windows form.option>div.item.icon.goback { font-size:24px; line-height:28px; }
|
body.windows form.option>div.item.icon.goback { font-size:24px; line-height:28px; }
|
||||||
body.windows div.item.button.refresh>span.icon { font-size:22px; line-height:28px; }
|
body.windows div.item.button.refresh>span.icon { font-size:22px; line-height:28px; }
|
||||||
body.windows div.item.button.create>span.icon { line-height:28px; }
|
body.windows div.item.button.create>span.icon { line-height:28px; }
|
||||||
div.item.text { position:relative; }
|
div.item.text { position:relative; display:flex; align-items:center; }
|
||||||
div.item.text.filter input { padding-left:24px; }
|
div.item.text.filter input { padding-left:24px; }
|
||||||
div.item.text._icon input { padding-left:24px; }
|
div.item.text._icon input { padding-left:24px; }
|
||||||
div.item.select._icon i:first-child { color:var(--disable-fg-color); position:absolute; left:0; padding:var(--input-padding); }
|
div.item.select._icon i:first-child { color:var(--disable-fg-color); position:absolute; left:0; padding:var(--input-padding); }
|
||||||
@ -765,6 +765,7 @@ fieldset.story.float:not(.plug)>form.option>div.text>span.value { display:unset;
|
|||||||
// fieldset.float>div.action>div.item.button._space.icons { margin-left:0; }
|
// fieldset.float>div.action>div.item.button._space.icons { margin-left:0; }
|
||||||
/* svg */
|
/* svg */
|
||||||
svg text { font-size:var(--svg-font-size); font-family:var(--svg-font-family); stroke:var(--body-fg-color); fill:var(--body-fg-color); cursor:pointer; }
|
svg text { font-size:var(--svg-font-size); font-family:var(--svg-font-family); stroke:var(--body-fg-color); fill:var(--body-fg-color); cursor:pointer; }
|
||||||
|
svg g[font-size] text { font-size:unset; }
|
||||||
svg[font-size] text { font-size:unset; }
|
svg[font-size] text { font-size:unset; }
|
||||||
svg text.offline { stroke:var(--disable-fg-color); fill:var(--disable-fg-color); }
|
svg text.offline { stroke:var(--disable-fg-color); fill:var(--disable-fg-color); }
|
||||||
svg text:hover { cursor:pointer; }
|
svg text:hover { cursor:pointer; }
|
||||||
|
@ -451,7 +451,7 @@ Volcanos(chat.ONACTION, {
|
|||||||
can.onengine.signal(can, LINE_SELECT, can._msg), can.onaction._selectLine(can)
|
can.onengine.signal(can, LINE_SELECT, can._msg), can.onaction._selectLine(can)
|
||||||
}); return can.onexport.hash(can), can.onexport.line(can, line)
|
}); return can.onexport.hash(can), can.onexport.line(can, line)
|
||||||
}, _selectLine: function(can) {},
|
}, _selectLine: function(can) {},
|
||||||
scrollIntoView: function(can, offset) { can.ui.content.scrollTo(0, (can.onexport.line(can, can.current.line)-5)*can.current.line.offsetHeight) },
|
scrollIntoView: function(can, offset) { can.ui.content.scrollTo(0, (can.onexport.line(can, can.current.line)-12)*can.current.line.offsetHeight) },
|
||||||
searchLine: function(event, can, value) { var offset = 0; can.page.Select(can, can.ui.content, "tr.line", function(tr) {
|
searchLine: function(event, can, value) { var offset = 0; can.page.Select(can, can.ui.content, "tr.line", function(tr) {
|
||||||
tr == can.current.line && can.page.Select(can, tr, "td.text>span", function(span) { offset += span.innerText.length;
|
tr == can.current.line && can.page.Select(can, tr, "td.text>span", function(span) { offset += span.innerText.length;
|
||||||
(span == event.target || span.innerText == value) && can.runAction(can.request(event, {name: value, text: can.current.text(), offset: offset-1}, can.Option()), code.NAVIGATE, [], function(msg) {
|
(span == event.target || span.innerText == value) && can.runAction(can.request(event, {name: value, text: can.current.text(), offset: offset-1}, can.Option()), code.NAVIGATE, [], function(msg) {
|
||||||
|
@ -81,6 +81,7 @@ Volcanos(chat.ONACTION, {_trans: {input: {main: "程序", top: "顶域"}},
|
|||||||
can.onaction._run(event, can, button, [p], function(msg) { can.ui.zone.source.refresh() })
|
can.onaction._run(event, can, button, [p], function(msg) { can.ui.zone.source.refresh() })
|
||||||
},
|
},
|
||||||
script: function(event, can, button) { can.onaction._runs(event, can, button) },
|
script: function(event, can, button) { can.onaction._runs(event, can, button) },
|
||||||
|
create: function(event, can, button) { can.onaction._runs(event, can, button) },
|
||||||
module: function(event, can, button) { can.onaction._runs(can.request(event, {title: can.user.trans(can, button, "创建模块")}), can, button) },
|
module: function(event, can, button) { can.onaction._runs(can.request(event, {title: can.user.trans(can, button, "创建模块")}), can, button) },
|
||||||
compile: function(event, can, button) { var msg = can.request(event); msg.Option(chat._TOAST, "")
|
compile: function(event, can, button) { var msg = can.request(event); msg.Option(chat._TOAST, "")
|
||||||
can.runAction(event, button, [], function(msg) { can.ui.search && can.ui.search.hidden()
|
can.runAction(event, button, [], function(msg) { can.ui.search && can.ui.search.hidden()
|
||||||
|
@ -5,6 +5,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
|||||||
can.ActionGo = function(value) { return can.Action(svg.GO, value) }
|
can.ActionGo = function(value) { return can.Action(svg.GO, value) }
|
||||||
can.ActionMode = function(value) { return can.Action(ice.MODE, value) }
|
can.ActionMode = function(value) { return can.Action(ice.MODE, value) }
|
||||||
can.ActionShape = function(value) { return can.Action(svg.SHAPE, value) }
|
can.ActionShape = function(value) { return can.Action(svg.SHAPE, value) }
|
||||||
|
can._temp = []
|
||||||
if (can.ConfIndex() == web.WIKI_DRAW) { can.ui = can.onappend.layout(can), can.onexport.title(can, can.OptionPath())
|
if (can.ConfIndex() == web.WIKI_DRAW) { can.ui = can.onappend.layout(can), can.onexport.title(can, can.OptionPath())
|
||||||
if (can.isCmdMode() && !can.user.isMobile) { can.onmotion.toggle(can, can.ui.profile, true) } else { can.onmotion.hidden(can, can._action), can.onmotion.hidden(can, can.ui.project) }
|
if (can.isCmdMode() && !can.user.isMobile) { can.onmotion.toggle(can, can.ui.profile, true) } else { can.onmotion.hidden(can, can._action), can.onmotion.hidden(can, can.ui.project) }
|
||||||
} else { can.ui = {content: can._output} } can.page.Modify(can, can.ui.content, msg.Results()||can.onexport.content(can))
|
} else { can.ui = {content: can._output} } can.page.Modify(can, can.ui.content, msg.Results()||can.onexport.content(can))
|
||||||
|
@ -60,7 +60,8 @@ Volcanos(chat.ONFIGURE, {
|
|||||||
if (i < skip) {return}
|
if (i < skip) {return}
|
||||||
switch (i) {
|
switch (i) {
|
||||||
case 0: k = "M"; break
|
case 0: k = "M"; break
|
||||||
default: k = can._temp[i] || p.k || "L"; break
|
default: k = p.k || "L"; break
|
||||||
|
// default: k = can._temp[i] || p.k || "L"; break
|
||||||
}
|
}
|
||||||
if (end) {return}
|
if (end) {return}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user