Simplify CSS code

This commit is contained in:
the-djmaze 2023-02-24 18:31:03 +01:00
parent f85e7b5dec
commit bc74ca34d3
19 changed files with 204 additions and 519 deletions

View file

@ -33,10 +33,22 @@
.alert-error {
background-color: var(--error-bg-clr, #f2dede);
border-color: var(--error-border-clr, #eed3d7);
color: var(--error-clr, #b94a48);
}
.alert-info {
background-color: var(--info-bg-clr, #d9edf7);
border-color: var(--info-border-clr, #bce8f1);
}
.alert a:not(.close) {
text-decoration: underline;
}
.alert-info,
.alert.alert-info a:not(.close) {
color: var(--info-clr, #3a87ad);
}
.alert-error,
.alert.alert-error a:not(.close) {
color: var(--error-clr, #b94a48);
}

View file

@ -16,8 +16,7 @@
text-align: center;
vertical-align: middle;
cursor: pointer;
border: 1px solid var(--btn-border-clr, #bbb);
border-color: rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25);
border: 1px solid var(--btn-border-clr, rgba(0,0,0,.20));
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
color: var(--btn-clr, #333);
text-shadow: 0 -1px 0 rgba(0,0,0,.25);