1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-06-26 18:07:30 +08:00

opt theme

This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-11-23 23:02:27 +08:00
parent d6a124e879
commit e8ddc340e0
10 changed files with 39 additions and 58 deletions

View File

@ -8,9 +8,13 @@ navmenu `
ctx ctx/ ctx ctx/
command command.shy command command.shy
config config.shy config config.shy
gdb gdb/
lex lex/
log log/
nfs nfs/ nfs nfs/
cat cat.shy cat cat.shy
dir dir.shy dir dir.shy
ssh ssh/
tcp tcp/ tcp tcp/
host host.shy host host.shy
web web/ web web/
@ -18,6 +22,7 @@ navmenu `
dream dream.shy dream dream.shy
serve serve.shy serve serve.shy
space space.shy space space.shy
yac yac/
核心模块 core/ 核心模块 core/
amap usr/icebergs/core/chat/location/amap.shy amap usr/icebergs/core/chat/location/amap.shy
bmap usr/icebergs/core/chat/location/bmap.shy bmap usr/icebergs/core/chat/location/bmap.shy

View File

@ -13,8 +13,8 @@ style flex
spark button "文 档" route "started/" bg blue fg white spark button "文 档" route "started/" bg blue fg white
style end style end
style end style end
style column flex "0 0 500px" overflow hidden style column flex "0 0 500px" overflow hidden padding 10px
spark inner src/main.go width 460px spark inner src/main.go width 480px
shell ` shell `
git clone {{ .Make.Remote }} git clone {{ .Make.Remote }}
cd {{ .Make.Remote | Base }} && source etc/miss.sh cd {{ .Make.Remote | Base }} && source etc/miss.sh
@ -22,8 +22,8 @@ cd {{ .Make.Remote | Base }} && source etc/miss.sh
./bin/ice.bin ./bin/ice.bin
open http://localhost:9020 open http://localhost:9020
` ` style.width 480px
style end style
style end style end
spark title "电脑桌面" spark title "电脑桌面"

View File

@ -38,6 +38,7 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二"
mdb.KEY, "键值", mdb.VALUE, "取值", mdb.STATUS, "状态", mdb.EXTRA, "其它", mdb.KEY, "键值", mdb.VALUE, "取值", mdb.STATUS, "状态", mdb.EXTRA, "其它",
mdb.COUNT, "数量", mdb.TOTAL, "总数", mdb.COUNT, "数量", mdb.TOTAL, "总数",
mdb.ORDER, "排序", mdb.ORDER, "排序",
mdb.SEARCH, "搜索",
web.SERVE, "服务", web.SPACE, "空间", web.TOKEN, "令牌", web.SHARE, "共享", web.SERVE, "服务", web.SPACE, "空间", web.TOKEN, "令牌", web.SHARE, "共享",
web.ONLINE, "在线", web.OFFLINE, "离线", web.ONLINE, "在线", web.OFFLINE, "离线",
web.LINK, "链接", web.DOMAIN, "域名", web.FILTER, "筛选", web.LINK, "链接", web.DOMAIN, "域名", web.FILTER, "筛选",

View File

@ -1,8 +1,8 @@
body.black { body.black {
--body-fg-color:cyan; --body-fg-color:cyan; --box-border:darkcyan solid 1px;
--box-border:darkcyan solid 1px; --plugin-bg-color:#061c3c9e; --input-bg-color:transparent;
--legend-bg-color:#061c3c9e; --panel-output-bg-color:transparent;
--input-bg-color:transparent; --code-bg-color:var(--plugin-bg-color);
} }
body.black fieldset.panel.auto { background-color:var(--plugin-bg-color); color:var(--plugin-fg-color); } body.black table.content.action td:last-child { background-color:var(--th-bg-color); }
body.black fieldset.panel.auto>div.output { background-color:var(--plugin-bg-color); color:var(--plugin-fg-color); } body.black fieldset.panel:not(.main):not(.auto) input::placeholder { color:gray; }

View File

@ -1,6 +1,4 @@
body.blue { body.blue {
--box-border:#9c9cb070 solid 1px; --body-bg-color:darkblue; --box-border:#9c9cb070 solid 1px;
--body-bg-color:darkblue;
--plugin-bg-color:navy; --plugin-bg-color:navy;
--input-bg-color:darkblue;
} }

View File

@ -1,5 +1,3 @@
body.dark { body.dark {
--legend-bg-color:black;
--input-bg-color:#202123; --input-bg-color:#202123;
--panel-output-bg-color:var(--body-bg-color);
} }

View File

@ -1,22 +1,11 @@
body.light { body.light {
--body-bg-color:#4a566e; --body-fg-color:black; --body-bg-color:#4a566e; --body-fg-color:black;
--box-border:lightgray solid 1px; --box-border:lightgray solid 1px; --box-shadow:gray 2px 2px 8px;
--box-shadow:gray 2px 2px 8px; --hover-fg-color:var(--body-fg-color); --panel-hover-fg-color:white;
--hover-fg-color:var(--input-fg-color); --plugin-bg-color:aliceblue; --input-bg-color:white;
--legend-bg-color:aliceblue; --panel-bg-color: var(--body-bg-color); --panel-fg-color:#d0d3da;
--input-bg-color:white; --panel-input-bg-color:#6b7488; --panel-input-fg-color:white;
--panel-output-bg-color: var(--body-bg-color); --code-comment:green; --code-keyword:darkblue;
--panel-output-fg-color:#d0d3da; --code-function:darkcyan; --code-constant:gray; --code-string:brown;
--panel-input-bg-color:#6b7488; --code-object:purple; --code-datatype:cornflowerblue; --code-package:blue;
--panel-input-fg-color:white;
--panel-hover-fg-color:white;
--code-fg-color:white;
--code-comment:green; --code-keyword:darkblue; --code-package:blue;
--code-datatype:cornflowerblue; --code-function:darkcyan;
--code-constant:gray; --code-string:brown; --code-object:purple;
} }
body.light fieldset.panel:not(.main):not(.auto) input { background-color:var(--panel-input-bg-color); color:var(--panel-input-fg-color); }
body.light fieldset.panel:not(.main):not(.auto) input::placeholder { background-color:var(--panel-input-bg-color); color:var(--panel-fg-color); }
body.light fieldset.panel:not(.main):not(.auto) { --hover-fg-color:white; }
body.light fieldset.panel.River { --hover-fg-color:white; }

View File

@ -1,7 +1,5 @@
body.red { body.red {
--box-border:#9c9cb070 solid 1px; --body-bg-color:darkred; --box-border:#9c9cb070 solid 1px;
--body-bg-color:darkred; --plugin-bg-color:firebrick;
--legend-bg-color:firebrick;
--input-bg-color:darkred;
} }
body.red fieldset.draw.trend div.output svg { background-color:#d895959e; } body.red fieldset.draw.trend div.output svg { background-color:#d895959e; }

View File

@ -1,6 +1,4 @@
body.silver { body.silver {
--box-border: gray solid 1px; --body-bg-color:#202430; --box-border:gray solid 1px;
--body-bg-color:#202430; --plugin-bg-color:#2d323e;
--legend-bg-color:#2d323e;
--input-bg-color:#202430;
} }

View File

@ -1,21 +1,15 @@
body.white { body.white {
--body-fg-color:black; --body-fg-color:black;
--box-border:lightgray solid 1px; --box-border:lightgray solid 1px; --box-shadow:gray 2px 2px 8px;
--box-shadow:gray 2px 2px 8px; --hover-fg-color:var(--body-fg-color); --panel-hover-fg-color:white;
--hover-fg-color:var(--input-fg-color); --plugin-bg-color:#ffffffc2; --input-bg-color:transparent;
--legend-bg-color:#ffffffc2; --panel-bg-color:transparent; --panel-fg-color:white;
--input-bg-color:transparent; --code-comment:green; --code-keyword:darkblue;
--panel-output-fg-color:lavender; --code-function:darkcyan; --code-constant:gray; --code-string:brown;
--panel-input-bg-color:var(--input-bg-color); --code-object:purple; --code-datatype:cornflowerblue; --code-package:blue;
--panel-input-fg-color:lavender;
--panel-hover-fg-color:white;
--code-fg-color:white;
--code-comment:green; --code-keyword:darkblue; --code-package:blue;
--code-datatype:cornflowerblue; --code-function:darkcyan;
--code-constant:gray; --code-string:brown; --code-object:purple;
} }
body.white table.content.action td:last-child { background-color:var(--th-bg-color); }
body.white fieldset.panel:not(.main):not(.auto) input::placeholder { color:gray; }
body.white fieldset.panel.auto { background-color:var(--plugin-bg-color); color:var(--plugin-fg-color); } body.white fieldset.panel.auto { background-color:var(--plugin-bg-color); color:var(--plugin-fg-color); }
body.white fieldset.panel.auto>div.output { background-color:var(--plugin-bg-color); color:var(--plugin-fg-color); } body.white fieldset.panel.auto>div.output { background-color:var(--plugin-bg-color); color:var(--plugin-fg-color); }
body.white fieldset.panel:not(.main):not(.auto) input { background-color:var(--panel-input-bg-color); color:var(--panel-input-fg-color); } body.white fieldset.panel.auto>div.output a { color:var(--plugin-fg-color); }
body.white fieldset.panel:not(.main):not(.auto) input::placeholder { background-color:var(--panel-input-bg-color); color:var(--panel-fg-color); }