1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
root 2024-11-18 09:11:40 +08:00
parent 9d89082b3e
commit 0f61c3acbd
2 changed files with 10 additions and 14 deletions

View File

@ -156,7 +156,7 @@ table.content.detail tr.action input.notice:not(:hover) {
table.content.detail tr.action i { display:unset; color:var(--notice-bg-color); } table.content.detail tr.action i { display:unset; color:var(--notice-bg-color); }
table.content.detail tr.action i.bi-trash { color:var(--danger-bg-color); } table.content.detail tr.action i.bi-trash { color:var(--danger-bg-color); }
fieldset.plugin.cmd.output>div.output { top:0; } fieldset.plugin.cmd.output>div.output { top:0; }
div.output._prepare { position:absolute; } // div.output._prepare { position:absolute; }
div.output._unload { position:absolute; } div.output._unload { position:absolute; }
fieldset._process input { fieldset._process input {
// border:var(--box-border) !important; // border:var(--box-border) !important;
@ -213,13 +213,8 @@ body:not(.width1) div.item.card div.action { z-index:1; }
div.item.card div.action input[type=button] { background-color:transparent; border:none; color:var(--notice-bg-color); margin-left:5px; } div.item.card div.action input[type=button] { background-color:transparent; border:none; color:var(--notice-bg-color); margin-left:5px; }
body:not(.mobile) div.item.card div.action input[type=button]:hover { background-color:var(--hover-bg-color); } body:not(.mobile) div.item.card div.action input[type=button]:hover { background-color:var(--hover-bg-color); }
div.item.card div.action input[type=button].danger { color:var(--danger-bg-color) } div.item.card div.action input[type=button].danger { color:var(--danger-bg-color) }
div.item.card div.action input[type=button].notice:hover { div.item.card div.action input[type=button].notice:hover { border:var(--box-notice); }
border:var(--box-notice); div.item.card div.action input[type=button].notice:not(:hover) { background-color:var(--notice-bg-color); color:var(--notice-fg-color); }
}
div.item.card div.action input[type=button].notice:not(:hover) {
background-color:var(--notice-bg-color);
color:var(--notice-fg-color);
}
div.item.card div.action input[type=button]:last-child { margin-right:5px; } div.item.card div.action input[type=button]:last-child { margin-right:5px; }
div.item.card div.output { padding:10px 0; display:flex; transition:left .2s; } div.item.card div.output { padding:10px 0; display:flex; transition:left .2s; }
body.width1 div.item.card div.output { width:100%; } body.width1 div.item.card div.output { width:100%; }
@ -263,7 +258,7 @@ div.project div.action div.item.icons input { display:none; }
div.project div.action div.item.icons { background-color:var(--plugin-bg-color); padding:0; } div.project div.action div.item.icons { background-color:var(--plugin-bg-color); padding:0; }
div.project div.expand { margin-right:var(--input-margin); width:5px; float:left; transform: translate(1px, -1px) rotate(0deg); transition:all .5s; } div.project div.expand { margin-right:var(--input-margin); width:5px; float:left; transform: translate(1px, -1px) rotate(0deg); transition:all .5s; }
div.project div.expand.open { transform: translate(4px, -1px) rotate(90deg); transition:all .3s; } div.project div.expand.open { transform: translate(4px, -1px) rotate(90deg); transition:all .3s; }
div.project div.list { padding-left:10px; margin-left:20px; clear:both; } div.project div.list { margin-left:var(--button-margin); clear:both; }
div.project div.list { border-left:var(--disable-fg-color) dashed 1px; } div.project div.list { border-left:var(--disable-fg-color) dashed 1px; }
div.project div.list fieldset { position:static; } div.project div.list fieldset { position:static; }
div.project div.item { position:relative; } div.project div.item { position:relative; }
@ -759,7 +754,7 @@ 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); }
div.item.select._icon:hover i:first-child { color:unset; } div.item.select._icon:hover i:first-child { color:unset; }
div.item.text>input { width:var(--input-width); height:var(--action-height); } div.item.text>input { width:var(--input-width); height:var(--action-height); }
fieldset.story>form.option>div.item.text>input { max-width:100px; } // fieldset.story>form.option>div.item.text>input { max-width:100px; }
div.item.text.id>input { width:80px; } div.item.text.id>input { width:80px; }
div.item.text.url>input { width:var(--river-width); } div.item.text.url>input { width:var(--river-width); }
div.item.text.port>input { width:80px; } div.item.text.port>input { width:80px; }

View File

@ -185,10 +185,10 @@ Volcanos(chat.ONIMPORT, {
can.onimport.process(can, msg, can.ui.profile, height, width-border, function(sub) { can.onimport.process(can, msg, can.ui.profile, height, width-border, function(sub) {
_msg._profile_plugin = sub _msg._profile_plugin = sub
can.ui.profile._plugin = sub, can.page.style(can, sub._output, html.MAX_WIDTH, "") can.ui.profile._plugin = sub, can.page.style(can, sub._output, html.MAX_WIDTH, "")
sub.onaction.close = function() { sub.onaction.close = function() { can._msg._profile_hidden = true
can._msg._profile_hidden = true can.onexport.session(can, PROFILE_ARGS+can.Option(nfs.PATH)+can.Option(nfs.FILE), "")
can.onexport.session(can, PROFILE_ARGS+can.Option(nfs.PATH)+can.Option(nfs.FILE), ""), can.onmotion.hidden(can, can.ui.profile), can.onimport.layout(can)
can.onmotion.hidden(can, can.ui.profile), can.onimport.layout(can) } }
sub.Conf(ctx.ARGS) && can.onexport.session(can, PROFILE_ARGS+can.Option(nfs.PATH)+can.Option(nfs.FILE), JSON.stringify(sub.Conf(ctx.ARGS))) sub.Conf(ctx.ARGS) && can.onexport.session(can, PROFILE_ARGS+can.Option(nfs.PATH)+can.Option(nfs.FILE), JSON.stringify(sub.Conf(ctx.ARGS)))
can.page.style(can, can.ui.profile, html.WIDTH, width+border, html.MAX_WIDTH, width+border), can.onimport.layout(can) can.page.style(can, can.ui.profile, html.WIDTH, width+border, html.MAX_WIDTH, width+border), can.onimport.layout(can)
}) })
@ -199,6 +199,7 @@ Volcanos(chat.ONIMPORT, {
can.onimport.process(can, msg, can.ui.display, height-border, width, function(sub) { can.ui.display._plugin = _msg._display = sub can.onimport.process(can, msg, can.ui.display, height-border, width, function(sub) { can.ui.display._plugin = _msg._display = sub
sub.onaction.close = function() { can.onmotion.hidden(can, can.ui.display), can.onimport.layout(can) } sub.onaction.close = function() { can.onmotion.hidden(can, can.ui.display), can.onimport.layout(can) }
sub.onimport.size(sub, height-border, width, true), can.onimport.layout(can) sub.onimport.size(sub, height-border, width, true), can.onimport.layout(can)
// can.onmotion.delay(can, function() { can.onimport.layout(can) })
}) })
}, },
process: function(can, msg, target, height, width, cb) { can.onmotion.clear(can, target) process: function(can, msg, target, height, width, cb) { can.onmotion.clear(can, target)