1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 00:13:35 +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

@@ -10,12 +10,12 @@
color: #4e4c97;
}
.btn-scheduler-on {
.btn-off {
background-color: white;
border: 1px solid lightgrey;
}
.btn-scheduler-off {
.btn-on {
background-color: #4e4c97;
border: 1px solid lightgrey;
color: white;
@@ -30,7 +30,7 @@
}
.form-control,
.bootstrap-select>select{
.bootstrap-select>select {
border-bottom: .125rem solid #4e4c97;
}
@@ -61,47 +61,45 @@ textarea {
border: 1px solid lightgrey;
}
*[style*="container-content"] {
#pywebio-scope-content {
background-color: #f9f9f9;
}
*[style*="container-group"] {
[id^="pywebio-scope-group_"] {
background-color: white;
border: 1px solid lightgrey;
}
*[style*="container-aside"] {
#pywebio-scope-daemon-overview [id^="pywebio-scope-group_"] {
border: 0;
}
#pywebio-scope-aside {
background-color: white;
border-right: 1px solid lightgrey;
}
*[style*="container-menu"] {
#pywebio-scope-menu {
box-shadow: 0 0 8px rgba(0, 0, 0, .1);
background-color: white;
}
*[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: white;
border: 1px solid lightgrey;
}
*[style*="container-title"] {
#pywebio-scope-header {
box-shadow: 0 0 8px rgba(0, 0, 0, .2);
}
*[style*="aside-icon-setting"] {
border-top: 1px solid lightgrey;
}
*[style*="group-help"] {
*[style*="--arg-help--"],
[id^="pywebio-scope-group_"]>p+p {
color: #777777;
}
*[style*="arg-help"] {
color: #777777;
}
*[style*="welcome"] {
background-color: white;
border: 1px solid lightgrey;
}