mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
578 lines
10 KiB
CSS
578 lines
10 KiB
CSS
details {
|
|
border: unset !important;
|
|
padding-bottom: unset !important;
|
|
margin-bottom: .25rem !important;
|
|
}
|
|
|
|
details[open] > summary {
|
|
border-bottom: unset !important;
|
|
}
|
|
|
|
details[open] > div {
|
|
margin-left: 0.625rem;
|
|
}
|
|
|
|
summary {
|
|
background-color: transparent !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
body {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
footer {
|
|
display: none;
|
|
}
|
|
|
|
.btn:focus {
|
|
box-shadow: unset;
|
|
}
|
|
|
|
.btn-menu {
|
|
font-weight: 400;
|
|
background-color: transparent;
|
|
padding: .0625rem .75rem;
|
|
border-radius: 0;
|
|
border: 0 solid;
|
|
transition: border .05s ease-in-out, padding .05s ease-in-out;
|
|
white-space: pre-wrap;
|
|
text-align: left;
|
|
}
|
|
|
|
.btn-menu:hover,
|
|
.btn-menu-active {
|
|
font-weight: bold;
|
|
border-left: .125rem solid;
|
|
padding-right: .625rem;
|
|
border-left: 3px solid;
|
|
}
|
|
|
|
.btn-aside {
|
|
width: 4rem;
|
|
font-weight: 400;
|
|
font-size: .8rem;
|
|
background-color: transparent;
|
|
padding: 32px 0 0 7px;
|
|
border-radius: 0;
|
|
border: 0 solid;
|
|
transition: border .1s ease-in-out, padding .1s ease-in-out
|
|
}
|
|
|
|
.btn-aside:hover,
|
|
.btn-aside-active {
|
|
border-left: 4px solid;
|
|
padding-left: 3px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.btn-off,
|
|
.btn-on {
|
|
border-radius: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.btn-navigator {
|
|
border-radius: 0;
|
|
margin: 0 !important;
|
|
width: 100%;
|
|
text-align: left;
|
|
transition: color 0s ease-in-out;
|
|
}
|
|
|
|
.btn-navigator:hover {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.toastify-center,
|
|
.toastify-right,
|
|
.toastify-left {
|
|
margin-top: 3.3125rem;
|
|
}
|
|
|
|
.pywebio {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
min-height: unset;
|
|
}
|
|
|
|
#input-container {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#output-container {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
margin-bottom: 0;
|
|
max-width: initial
|
|
}
|
|
|
|
.container {
|
|
max-width: 100vh;
|
|
}
|
|
|
|
.hr-group {
|
|
margin-top: .25rem !important;
|
|
margin-bottom: .25rem !important;
|
|
}
|
|
|
|
.hr-task-group-box {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.hr-task-group-line {
|
|
border-top: 0.125rem solid;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.hr-task-group-text {
|
|
margin: 0 0.5rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
}
|
|
|
|
label {
|
|
display: inline;
|
|
}
|
|
|
|
.form-control {
|
|
background-color: unset;
|
|
border-radius: initial !important;
|
|
border-width: 0;
|
|
padding: 0 .5rem 0;
|
|
margin-top: .125rem;
|
|
height: auto !important;
|
|
}
|
|
|
|
.form-control[readonly] {
|
|
pointer-events: none;
|
|
border-bottom-color: transparent;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: unset;
|
|
}
|
|
|
|
.form-control.is-invalid:focus {
|
|
box-shadow: 0 0.06rem 0 #dc3545;
|
|
}
|
|
|
|
select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
background-attachment: scroll;
|
|
background-position: right, center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1rem;
|
|
}
|
|
|
|
select.form-control {
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
select.form-control.is-invalid {
|
|
padding-right: 3rem !important;
|
|
background-position: right 1.5rem center;
|
|
}
|
|
|
|
button.btn.dropdown-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.bootstrap-select > select {
|
|
position: unset !important;
|
|
bottom: unset !important;
|
|
left: unset !important;
|
|
width: 100% !important;
|
|
height: unset !important;
|
|
padding: 0 1rem 0 0.5rem !important;
|
|
opacity: 1 !important;
|
|
z-index: auto !important;
|
|
}
|
|
|
|
.invalid-feedback {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.CodeMirror {
|
|
height: auto !important;
|
|
}
|
|
|
|
.CodeMirror-line {
|
|
font-family: SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace !important;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.alas-icon,
|
|
.alas-icon > image {
|
|
width: 42px;
|
|
height: 42px;
|
|
}
|
|
|
|
.aside-icon {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
}
|
|
|
|
.container-log {
|
|
border-radius: 0 !important;
|
|
margin: .375rem !important;
|
|
padding: 1rem !important;
|
|
}
|
|
|
|
code.rich-traceback {
|
|
padding: 0;
|
|
}
|
|
|
|
pre.rich-traceback-code {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
font-family: Menlo, consolas, DejaVu Sans Mono, Courier New, monospace;
|
|
font-size: 0.85rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
#pywebio-scope-ROOT {
|
|
height: 100vh;
|
|
display: grid;
|
|
grid-auto-flow: row;
|
|
grid-template-rows: auto 1fr;
|
|
}
|
|
|
|
#pywebio-scope-aside {
|
|
z-index: 91;
|
|
padding-left: .125rem;
|
|
padding-right: .325rem;
|
|
padding-top: 1rem;
|
|
overflow-y: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#pywebio-scope-menu {
|
|
z-index: 90;
|
|
padding-left: .5rem;
|
|
padding-right: .5rem;
|
|
padding-top: 1.2rem;
|
|
overflow-y: auto;
|
|
width: 12rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#pywebio-scope-content {
|
|
overflow: auto;
|
|
padding: .625rem;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#pywebio-scope-header {
|
|
z-index: 100;
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-template-columns: 4.4rem 4rem auto 1fr !important;
|
|
}
|
|
|
|
*[style*="--header-icon--"] {
|
|
margin: .25rem auto .25rem;
|
|
border-radius: 1.5rem;
|
|
}
|
|
|
|
*[style*="--header-text--"] {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
margin: auto !important;
|
|
}
|
|
|
|
#pywebio-scope-header_title {
|
|
margin: auto;
|
|
}
|
|
|
|
#pywebio-scope-header_title > p {
|
|
font-size: 1.2rem;
|
|
margin: auto;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
}
|
|
|
|
#pywebio-scope-header_status {
|
|
padding-top: 3px;
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
}
|
|
|
|
#pywebio-scope-header_status > div > div + div + p {
|
|
margin: 0;
|
|
}
|
|
|
|
#pywebio-scope-contents {
|
|
margin-top: 0;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
}
|
|
|
|
#pywebio-scope-_groups {
|
|
height: 100%;
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
|
|
grid-template-columns: 1fr minmax(25rem, 5fr) 2fr;
|
|
}
|
|
|
|
#pywebio-scope-group__info > p {
|
|
font-size: .80rem !important;
|
|
font-weight: 400;
|
|
}
|
|
|
|
[id^="pywebio-scope-group_"] {
|
|
margin-top: .5rem;
|
|
margin-bottom: .5rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
[id^="pywebio-scope-group_"] > p {
|
|
font-size: 1.25rem;
|
|
font-weight: 500;
|
|
margin: 0 .25rem 0 .25rem !important;
|
|
}
|
|
|
|
[id^="pywebio-scope-group_"] > p + p {
|
|
font-size: .80rem;
|
|
margin: .2rem .25rem .1rem .25rem !important;
|
|
}
|
|
|
|
#pywebio-scope-groups {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#pywebio-scope-groups:not(:has(*)) {
|
|
display: none;
|
|
}
|
|
|
|
#pywebio-scope-navigator {
|
|
margin: .5rem 1rem .5rem;
|
|
height: min-content;
|
|
max-width: 15rem;
|
|
}
|
|
|
|
#pywebio-scope-overview {
|
|
height: 100%;
|
|
overflow: auto;
|
|
display: grid;
|
|
}
|
|
|
|
#pywebio-scope-running,
|
|
#pywebio-scope-pending,
|
|
#pywebio-scope-waiting,
|
|
#pywebio-scope-scheduler-bar,
|
|
#pywebio-scope-log-bar,
|
|
#pywebio-scope-log,
|
|
#pywebio-scope-daemon-log-bar,
|
|
#pywebio-scope-daemon-overview #pywebio-scope-groups {
|
|
font-weight: 500;
|
|
margin: 0.3125rem;
|
|
padding: 0.625rem;
|
|
}
|
|
|
|
#pywebio-scope-scheduler-bar,
|
|
#pywebio-scope-log-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#pywebio-scope-log-title-btns {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
}
|
|
|
|
#pywebio-scope-dashboard {
|
|
display: flex;
|
|
align-content: space-between;
|
|
justify-content: flex-start;
|
|
flex-flow: row wrap;
|
|
overflow: auto;
|
|
margin-top: .5rem;
|
|
}
|
|
|
|
#pywebio-scope-dashboard > i {
|
|
flex-grow: 1;
|
|
align-self: flex-end;
|
|
width: 9.5rem;
|
|
}
|
|
|
|
[id^="pywebio-scope-dashboard-row-"] {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
width: 9.5rem;
|
|
}
|
|
|
|
.dashboard-icon {
|
|
margin: .6rem .8rem 0 .6rem;
|
|
width: .5rem;
|
|
height: .5rem;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
*[style*="--dashboard-value--"] {
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
*[style*="--dashboard-time--"] {
|
|
font-size: 0.8rem;
|
|
font-weight: 400;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
*[style*="--dashboard-bold--"] {
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
color: #7a77bb;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
[id^="pywebio-scope-dashboard-row-"] p {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
[id^="pywebio-scope-dashboard-value-"] {
|
|
display: flex;
|
|
align-items: baseline;
|
|
height: 1.5rem;
|
|
}
|
|
|
|
[id^="pywebio-scope-arg_stored-stored-value-"] p {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#pywebio-scope-log {
|
|
line-height: 1.2;
|
|
font-size: 0.85rem;
|
|
font-family: Menlo, consolas, DejaVu Sans Mono, Courier New, monospace;
|
|
white-space: pre;
|
|
}
|
|
|
|
#pywebio-scope-running,
|
|
#pywebio-scope-pending,
|
|
#pywebio-scope-waiting {
|
|
display: grid;
|
|
grid-auto-flow: row;
|
|
grid-template-rows: auto auto 1fr;
|
|
}
|
|
|
|
#pywebio-scope-running > p,
|
|
#pywebio-scope-pending > p,
|
|
#pywebio-scope-waiting > p {
|
|
font-size: 1.25rem;
|
|
font-weight: 500;
|
|
margin: 0 0.625rem 0 !important;
|
|
}
|
|
|
|
#pywebio-scope-running_tasks,
|
|
#pywebio-scope-pending_tasks,
|
|
#pywebio-scope-waiting_tasks {
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
}
|
|
|
|
#pywebio-scope-logs {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
[id^="pywebio-scope-overview-task_"] {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-template-columns: 1fr auto;
|
|
margin: .125rem .625rem .125rem .375rem;
|
|
}
|
|
|
|
#pywebio-scope-daemon-overview {
|
|
display: grid;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#pywebio-scope-daemon-overview [id^="pywebio-scope-group_"] {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
padding: 0.3125rem;
|
|
}
|
|
|
|
#pywebio-scope-schedulers {
|
|
display: grid;
|
|
}
|
|
|
|
.bs-title-option,
|
|
.form-check-input[id*="ch_S"] {
|
|
display: none;
|
|
}
|
|
|
|
[id^="pywebio-scope-arg_container-"] {
|
|
display: grid;
|
|
margin: .125rem 0;
|
|
}
|
|
|
|
[id^="pywebio-scope-arg_container-checkbox-"],
|
|
[id^="pywebio-scope-arg_container-storage-"] {
|
|
display: grid;
|
|
margin: .375rem 0;
|
|
}
|
|
|
|
*[style*="--arg-title--"] {
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
margin: 0 .25rem !important;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
*[style*="--arg-help--"] {
|
|
font-size: .8rem;
|
|
margin: .2rem .25rem .1rem !important;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
*[style*="--overview-notask-text--"] {
|
|
text-align: center;
|
|
font-size: 0.875rem;
|
|
color: darkgrey;
|
|
}
|
|
|
|
*[style*="--input--"] {
|
|
margin: 0;
|
|
padding-right: .25rem;
|
|
}
|
|
|
|
*[style*="--loading-grow--"] > div {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
}
|
|
|
|
*[style*="--loading-border--"] > div {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
border: .2em solid currentColor;
|
|
border-right-color: transparent;
|
|
}
|
|
|
|
*[style*="--loading-border-fill--"] > div {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
border: .2em solid currentColor;
|
|
} |