mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-07 22:28:52 +08:00
375 lines
6.4 KiB
CSS
375 lines
6.4 KiB
CSS
body {
|
|
min-width: 100vw;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
:root {
|
|
--mdc-theme-primary: #007bff;
|
|
--mdc-theme-secondary: #007bff;
|
|
--dark-backgroud: #343a40;
|
|
color-scheme: only light;
|
|
}
|
|
|
|
body {
|
|
background-color: white;
|
|
}
|
|
|
|
.nav-menu {
|
|
z-index: 100;
|
|
position: fixed;
|
|
background-color: white;
|
|
box-sizing: border-box;
|
|
display: block;
|
|
left: -64px;
|
|
transition: all 0.5s ease;
|
|
height: 100vh;
|
|
max-width: 64px;
|
|
}
|
|
|
|
.nav-menu.open {
|
|
left: 0px;
|
|
}
|
|
|
|
.main {
|
|
position: relative;
|
|
top: 64px;
|
|
}
|
|
|
|
.b-text-field .datalist {
|
|
width: 100%;
|
|
display: none;
|
|
}
|
|
|
|
.b-text-field .datalist.open {
|
|
display: grid;
|
|
}
|
|
|
|
.b-text-field .datalist .mdc-list-item {
|
|
display: grid;
|
|
}
|
|
|
|
.b-text-field .datalist .mdc-list-item .value {
|
|
width: 100%;
|
|
}
|
|
|
|
.b-text-field .datalist .mdc-list-item .label {
|
|
width: 100%;
|
|
font-size: smaller;
|
|
}
|
|
|
|
.settings {
|
|
margin: 0 18%;
|
|
padding-top: 40px;
|
|
transition: 0.6s;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.settings div.text {
|
|
width: 100%;
|
|
}
|
|
|
|
.settings label, div.new_task div.bcheckbox label {
|
|
line-height: 40px;
|
|
}
|
|
|
|
.settings .mdc-text-field label {
|
|
line-height: revert;
|
|
top: 22px;
|
|
bottom: auto;
|
|
}
|
|
|
|
.settings .text-box div.text:not(.helper, #s-port) .mdc-text-field {
|
|
min-width: 50%;
|
|
}
|
|
|
|
.settings .text-box div.text.helper>div {
|
|
min-width: 50%;
|
|
}
|
|
|
|
.settings .text-box div.text.helper .mdc-text-field {
|
|
min-width: 100%;
|
|
}
|
|
|
|
.settings #s-port .mdc-text-field {
|
|
min-width: 100px;
|
|
}
|
|
|
|
.settings div.text.helper {
|
|
display: flex;
|
|
}
|
|
|
|
.settings div.text.helper label {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.settings div.text.helper.outlined label {
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.settings div.text.outlined .mdc-text-field label {
|
|
top: 14px;
|
|
}
|
|
|
|
.settings div.text.outlined .mdc-text-field.mdc-text-field--focused label {
|
|
top: 22px;
|
|
}
|
|
|
|
.settings div.text.outlined.label {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.settings .text-box {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.settings .text-box .text {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.settings .text-box .text .mdc-text-field::after {
|
|
width: 0;
|
|
}
|
|
|
|
.settings .text-box .text .mdc-text-field::before {
|
|
width: 0;
|
|
}
|
|
|
|
.settings .ua {
|
|
position: relative;
|
|
}
|
|
|
|
.settings .ua>button {
|
|
position: absolute;
|
|
top: 30px;
|
|
left: -10px;
|
|
}
|
|
|
|
.task_manager {
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.task_amounts {
|
|
display: flex;
|
|
height: 64px;
|
|
}
|
|
|
|
.task_amounts>div {
|
|
flex: auto;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: aliceblue;
|
|
}
|
|
|
|
.task_amounts>div:first-child {
|
|
border-radius: 8px 0 0 8px;
|
|
background-color: black;
|
|
}
|
|
|
|
.task_amounts>div:last-child {
|
|
border-radius: 0 8px 8px 0
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: #28a745
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: #ffc107
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: #dc3545
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #007bff
|
|
}
|
|
|
|
.dark-scheme {
|
|
background: var(--dark-backgroud);
|
|
color: white;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
.dark-scheme .mdc-top-app-bar {
|
|
background-color: black;
|
|
}
|
|
|
|
.dark-scheme .mdc-text-field__input {
|
|
color: white !important;
|
|
}
|
|
|
|
.dark-scheme .mdc-select__native-control {
|
|
color: white !important;
|
|
}
|
|
|
|
.dark-scheme .mdc-text-field__input {
|
|
color: white !important;
|
|
}
|
|
|
|
.dark-scheme .mdc-floating-label {
|
|
color: white !important;
|
|
}
|
|
|
|
.dark-scheme .mdc-select-item {
|
|
background-color: black !important;
|
|
}
|
|
|
|
.dark-scheme .mdc-list {
|
|
background-color: #272727;
|
|
}
|
|
|
|
.dark-scheme .mdc-list-item {
|
|
color: white;
|
|
}
|
|
|
|
.dark-scheme .mdc-notched-outline__idle {
|
|
color: white !important;
|
|
}
|
|
|
|
.dark-scheme .mdc-dialog__surface {
|
|
background-color: var(--dark-backgroud);
|
|
}
|
|
|
|
.dark-scheme .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__idle {
|
|
border-color: white;
|
|
}
|
|
|
|
.dark-scheme .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline__idle, .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline__idle {
|
|
border-color: var(--mdc-theme-primary);
|
|
}
|
|
|
|
.dark-scheme .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate)~.mdc-checkbox__background {
|
|
border-color: white;
|
|
}
|
|
|
|
.mdc-top-app-bar__section--align-end>* {
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.task_manager .new_task {
|
|
position: fixed;
|
|
right: 50px;
|
|
bottom: 50px;
|
|
}
|
|
|
|
div.new_task {
|
|
overflow: hidden;
|
|
width: 100vw;
|
|
height: calc(100vh - 64px);
|
|
max-width: 100vw;
|
|
max-height: calc(100vh - 64px);
|
|
}
|
|
|
|
div.new_task>div.container {
|
|
position: relative;
|
|
margin: auto;
|
|
height: calc(100% - 5% - 64px);
|
|
min-width: 400px;
|
|
width: calc(100% - 20%);
|
|
margin-top: 2.5%;
|
|
}
|
|
|
|
div.new_task .top {
|
|
display: flex;
|
|
min-height: 40px;
|
|
line-height: 40px;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
div.new_task .top .title {
|
|
margin-left: 40px;
|
|
width: calc(100% - 80px);
|
|
font-size: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
div.new_task>div.container>div.content {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
height: calc(100% - 80px);
|
|
min-height: 300px;
|
|
}
|
|
|
|
div.new_task>div.container>div.bottom {
|
|
line-height: 40px;
|
|
min-height: 40px;
|
|
}
|
|
|
|
div.new_task div.content .text {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
align-items: start;
|
|
}
|
|
|
|
div.new_task div.content .text .mdc-text-field {
|
|
margin: 1px;
|
|
width: calc(100% - 2px);
|
|
}
|
|
|
|
@media (max-width:1280px) {
|
|
.settings {
|
|
margin: 0;
|
|
padding-top: 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-width:810px) {
|
|
.settings {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.settings>div:not(.check-box) label {
|
|
line-height: normal;
|
|
}
|
|
|
|
.settings .ua>button {
|
|
position: relative;
|
|
top: 0;
|
|
}
|
|
|
|
.settings .text-box .text {
|
|
flex-direction: column;
|
|
align-items: start;
|
|
}
|
|
|
|
.settings .text-box .mdc-text-field {
|
|
margin: 1px;
|
|
width: 100%;
|
|
}
|
|
|
|
.settings .text-box .label .mdc-text-field {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.settings .text-box div.text.helper>div {
|
|
min-width: 100%;
|
|
}
|
|
|
|
button.mdc-button {
|
|
margin: 5px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 599px) {
|
|
.main {
|
|
top: 56px;
|
|
}
|
|
|
|
div.new_task>div.container {
|
|
margin: 5px;
|
|
min-width: 0;
|
|
height: calc(100% - 74px);
|
|
width: calc(100% - 10px);
|
|
}
|
|
}
|