常规按钮着色。。是的,应该这样添加

This commit is contained in:
Bard 2022-03-01 07:28:13 +08:00 committed by GitHub
parent c085469c55
commit 7d033293bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1380,6 +1380,7 @@ td > table > tbody > tr > td,
} }
/* dark blue */ /* dark blue */
.btn.primary, .btn.primary,
.cbi-button,
.cbi-page-actions .cbi-button-save, .cbi-page-actions .cbi-button-save,
.cbi-page-actions .cbi-button-apply + .cbi-button-save, .cbi-page-actions .cbi-button-apply + .cbi-button-save,
.cbi-button-add, .cbi-button-add,
@ -1398,6 +1399,7 @@ td > table > tbody > tr > td,
background-color: var(--primary); background-color: var(--primary);
} }
/* light blue */ /* light blue */
.cbi-button,
.cbi-page-actions .cbi-button-apply, .cbi-page-actions .cbi-button-apply,
.cbi-section-actions .cbi-button-edit, .cbi-section-actions .cbi-button-edit,
.cbi-button-edit, .cbi-button-edit,
@ -1415,14 +1417,6 @@ td > table > tbody > tr > td,
background-color: #5e72e4; background-color: #5e72e4;
background-color: var(--primary); background-color: var(--primary);
} }
.cbi-button:not(select) {
font-weight: normal;
color: #fff !important;
border: thin solid #5e72e4;
border: thin solid var(--primary);
background-color: #5e72e4;
background-color: var(--primary);
}
/* red */ /* red */
.btn.danger, .btn.danger,
.cbi-section-remove > .cbi-button, .cbi-section-remove > .cbi-button,