[A11y] fix color-contrast for event-list status-bubbles

This commit is contained in:
Richard Schreiber
2024-12-06 15:51:40 +01:00
committed by GitHub
parent da91f5f117
commit e5b89e9b08
2 changed files with 55 additions and 24 deletions

View File

@@ -536,7 +536,7 @@ h2 .label {
}
.textbubble-success, .textbubble-info, .textbubble-warning, .textbubble-danger {
.textbubble-success, .textbubble-success-warning, .textbubble-info, .textbubble-warning, .textbubble-danger {
padding: 0 .4em;
border-radius: $border-radius-base;
font-weight: bold;
@@ -553,6 +553,13 @@ h2 .label {
color: var(--pretix-brand-success);
}
}
.textbubble-success-warning {
color: var(--pretix-brand-success-shade-42);
background: linear-gradient(to right, var(--pretix-brand-warning-tint-85), var(--pretix-brand-success-tint-85) 50%);
.fa {
color: var(--pretix-brand-warning);
}
}
.textbubble-info {
color: var(--pretix-brand-info-shade-42);
background: var(--pretix-brand-info-tint-85);