1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 19:53:44 +08:00

Opt: Refactor GUI

Using new scope methods due to output() being deprecated in pywebio v1.5 (3a433cda0a)

- Opt: Combine on/off button into a single switch, this effect scheduler and log auto scroll
This commit is contained in:
18870
2022-01-06 01:55:24 +08:00
parent 4b2a1c0371
commit 952f8c1eb6
13 changed files with 641 additions and 585 deletions

View File

@@ -14,12 +14,12 @@
color: #7a77bb;
}
.btn-scheduler-on {
.btn-off {
background-color: #36393f;
border: 1px solid #202225;
}
.btn-scheduler-off {
.btn-on {
background-color: #7a77bb;
border: 1px solid #202225;
}
@@ -29,7 +29,7 @@
}
.form-control,
.bootstrap-select>select{
.bootstrap-select>select {
border-bottom: .125rem solid #7a77bb;
}
@@ -60,47 +60,46 @@ textarea {
border: 1px solid #21262d;
}
*[style*="container-content"] {
#pywebio-scope-content {
background-color: #36393f;
}
*[style*="container-group"] {
[id^="pywebio-scope-group_"] {
background-color: #2f3136;
border: 1px solid #21262d;
}
*[style*="container-aside"] {
#pywebio-scope-daemon-overview [id^="pywebio-scope-group_"] {
border: 0;
}
#pywebio-scope-aside {
background-color: #202225;
border-right: 1px solid #21262d;
}
*[style*="container-menu"] {
#pywebio-scope-menu {
background-color: #2f3136;
border-right: 1px solid #21262d;
}
*[style*="container-overview-group"] {
#pywebio-scope-scheduler-bar,
#pywebio-scope-log-bar,
#pywebio-scope-running,
#pywebio-scope-pending,
#pywebio-scope-waiting,
.container-log,
#pywebio-scope-daemon-overview #pywebio-scope-groups {
background-color: #2f3136;
border: 1px solid #21262d;
}
*[style*="container-title"] {
#pywebio-scope-header {
background-color: #202225;
border-bottom: 1px solid #36393f;
}
*[style*="aside-icon-setting"] {
border-top: 1px solid #36393f;
}
*[style*="group-help"] {
*[style*="--arg-help--"],
[id^="pywebio-scope-group_"]>p+p {
color: #adb5bd;
}
*[style*="arg-help"] {
color: #adb5bd;
}
*[style*="welcome"] {
background-color: #2f3136;
}