细节决定成败

This commit is contained in:
sbwml 2023-08-23 10:28:43 +08:00
parent 2e324e803c
commit d38d54a9f7
2 changed files with 58 additions and 2 deletions

View File

@ -1450,6 +1450,10 @@ fieldset>fieldset,
color: var(--gray-dark); color: var(--gray-dark);
} }
.cbi-map h3 {
margin-bottom: 5px;
}
.cbi-section>h3:first-child, .cbi-section>h3:first-child,
.cbi-section>h4:first-child, .cbi-section>h4:first-child,
.cbi-section>p:first-child, .cbi-section>p:first-child,
@ -1471,11 +1475,12 @@ table {
table, table,
.table { .table {
background-color: #ffffff; background-color: #ffffff;
border-radius: 0.575rem; border-radius: 0.375rem;
overflow-y: hidden; overflow-y: hidden;
width: 100%; width: 100%;
font-size: 95%; font-size: 95%;
border-collapse: separate; border-collapse: separate;
border-spacing: 0.175rem;
} }
.table .table-titles th { .table .table-titles th {
@ -2613,10 +2618,45 @@ td>table>tbody>tr>td,
} }
.modal.cbi-modal { .modal.cbi-modal {
max-width: 90%;
max-height: none max-height: none
} }
@media screen and (min-width: 601px) and (max-width: 900px) {
.modal.cbi-modal {
max-width: 95%;
}
}
@media screen and (min-width: 901px) and (max-width: 1100px) {
.modal.cbi-modal {
max-width: 90%;
}
}
@media screen and (min-width: 1101px) and (max-width: 1200px) {
.modal.cbi-modal {
max-width: 85%;
}
}
@media screen and (min-width: 1201px) and (max-width: 1300px) {
.modal.cbi-modal {
max-width: 80%;
}
}
@media screen and (min-width: 1301px) and (max-width: 1440px) {
.modal.cbi-modal {
max-width: 75%;
}
}
@media screen and (min-width: 1441px) {
.modal.cbi-modal {
max-width: 65%;
}
}
body.modal-overlay-active { body.modal-overlay-active {
overflow: hidden; overflow: hidden;
height: 100vh height: 100vh
@ -4066,3 +4106,13 @@ pre.command-output {
border-radius: 0; border-radius: 0;
} }
} }
.cbi-section .cbi-section-remove:nth-of-type(2n),
.container>.cbi-section .cbi-section-node:nth-of-type(2n) {
background-color: var(--white);
border-radius: 0 0 0.375rem 0.375rem;
}
.cbi-section-descr h2 {
box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
}

View File

@ -902,3 +902,9 @@ table,
background-color: #2c323c; background-color: #2c323c;
border-radius: 0.575rem; border-radius: 0.575rem;
} }
.cbi-section .cbi-section-remove:nth-of-type(2n),
.container>.cbi-section .cbi-section-node:nth-of-type(2n) {
background-color: #2c323c;
border-radius: 0 0 0.575 0.575rem;
}