1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-01-28 19:11:23 +08:00
parent 8b931b2ad5
commit 01b353d548
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ body.width3 { /* 960-1280 平板横屏 */
} }
body.width4 { /* 1280-1600 笔记本 显示器调试 */ body.width4 { /* 1280-1600 笔记本 显示器调试 */
--table-button:4; --table-button:4;
--card-height:150; --card-height:120;
} }
body.width5 { /* 1600-1920 */ body.width5 { /* 1600-1920 */
--table-button:4; --table-button:4;
@ -604,8 +604,8 @@ body.print fieldset.draw div.output div.content svg { background-color:lightgray
/* misc */ /* misc */
fieldset.story.web.chat.wx.agent { position:fixed; left:0; bottom:0; } fieldset.story.web.chat.wx.agent { position:fixed; left:0; bottom:0; }
fieldset.story>form.option>div.item.text.path>input { width:var(--input-width); } fieldset.story>form.option>div.item.text.path>input { width:var(--input-width); }
fieldset.cmd>div.output>fieldset.xterm.story>form.option>div.item.hash input { width:var(--plug-width); } div.output>fieldset.xterm.story>form.option>div.item.hash input { width:var(--form-width); }
fieldset.cmd>div.output>fieldset.iframe.story>form.option>div.item.hash input { width:var(--plug-width); } div.output>fieldset.iframe.story>form.option>div.item.hash input { width:var(--form-width); }
fieldset.Action:not(.horizon):not(.grid)>fieldset.plugin>form.option>div.item.text.path>input { width:var(--project-width); } fieldset.Action:not(.horizon):not(.grid)>fieldset.plugin>form.option>div.item.text.path>input { width:var(--project-width); }
body:not(.debug) fieldset.plugin.can._notfound { display:none; } body:not(.debug) fieldset.plugin.can._notfound { display:none; }
fieldset.inner.float>div.status { display:none; } fieldset.inner.float>div.status { display:none; }

View File

@ -44,7 +44,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg, target) {
background: function(event, can, background) { can.user.isExtension || can.user.isLocalFile || can.runAction(event, aaa.BACKGROUND, [background], function(msg) { background: function(event, can, background) { can.user.isExtension || can.user.isLocalFile || can.runAction(event, aaa.BACKGROUND, [background], function(msg) {
can.user.info.background = background, can.onimport._background(can, msg), can.user.toastSuccess(can) can.user.info.background = background, can.onimport._background(can, msg), can.user.toastSuccess(can)
}) }, }) },
theme: function(can, theme) { theme && can.runAction({}, chat.THEME, [theme]) theme: function(can, theme) { theme && theme != ice.AUTO && can.runAction({}, chat.THEME, [theme])
theme && can.misc.localStorage(can, "can.theme", can._theme = theme == ice.AUTO? "": theme) && can.onengine.signal(can, chat.ONTHEMECHANGE, can.request(event, {theme: theme})) theme && can.misc.localStorage(can, "can.theme", can._theme = theme == ice.AUTO? "": theme) && can.onengine.signal(can, chat.ONTHEMECHANGE, can.request(event, {theme: theme}))
theme = can.onexport.theme(can); var list = [html.LIGHT, html.WHITE] theme = can.onexport.theme(can); var list = [html.LIGHT, html.WHITE]
var change = can.page.ClassList.has(can, document.body, theme); can.user.theme(can, theme), change || can.onimport._const(can) var change = can.page.ClassList.has(can, document.body, theme); can.user.theme(can, theme), change || can.onimport._const(can)