FlightStatus label colors: match icon palette (green for in-flight/arrived, orange for delayed)

This commit is contained in:
2026-04-20 14:24:04 +03:00
parent 3c869198d6
commit daf3ed35a5
+7 -5
View File
@@ -24,14 +24,16 @@
white-space: nowrap;
}
// Mirror the icon colour on the label so "Отменен"/"Прибыл"/"В полете"
// read at a glance (Angular does the same).
// Mirror the icon colour on the label (Angular's flight-status-colors
// maps Sent/InFlight/Landed/Arrived/Unknown all to $green, Cancelled
// to $red, Delayed to $orange, Scheduled to $blue).
&--cancelled &__label { color: colors.$red; }
&--arrived &__label,
&--landed &__label { color: colors.$green; }
&--landed &__label,
&--in-flight &__label,
&--departed &__label { color: colors.$blue; }
&--delayed &__label { color: #f29f3a; }
&--departed &__label { color: colors.$green; }
&--delayed &__label { color: colors.$orange; }
&--scheduled &__label { color: colors.$blue; }
&__content {
display: flex;