Unverified Commit 3ad74b26 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Frontend: Add a bunch of EFA-specific line colours

Closes #244
parent eacfa132
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -209,22 +209,22 @@ ul.route-history > li {
	min-width: 6ch;
	margin: 0 auto;

	&.Bus, &.BUS, &.RUF, &.AST {
	&.Bus, &.BUS, &.RUF, &.AST, &.Niederflurbus, &.Stadtbus, &.PlusBus, &.RegionalBus, &.ExpressBus, &.RufTaxi {
		background-color: #a3167e;
		border-radius: 5rem;
		padding: .2rem .5rem;
	}
	&.STR, &.Tram, &.TRAM, &.Str, &.Strb, &.STB {
	&.STR, &.Tram, &.TRAM, &.Str, &.Strb, &.STB, &.Straenbahn {
		background-color: #c5161c;
		border-radius: 5rem;
		padding: .2rem .5rem;
	}
	&.S, &.RS, &.RER, &.SKW, &.METRO {
	&.S, &.RS, &.RER, &.SKW, &.METRO, &.S-Bahn {
		background-color: #008d4f;
		border-radius: 5rem;
		padding: .2rem .5rem;
	}
	&.U, &.M, &.SUBWAY {
	&.U, &.M, &.SUBWAY, &.U-Bahn {
		background-color: #014e8d;
		border-radius: 5rem;
		padding: .2rem .5rem;
@@ -232,7 +232,7 @@ ul.route-history > li {
	&.RE, &.IRE, &.REX, &.REGIONAL_FAST_RAIL {
		background-color: #ff4f00;
	}
	&.RB, &.MEX, &.TER, &.R, &.REGIONAL_RAIL {
	&.RB, &.MEX, &.TER, &.R, &.REGIONAL_RAIL, &.Regionalzug, &.R-Bahn {
		background-color: #1f4a87;
	}
	// DE
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@
				<i class="material-icons" aria-label="Keine Echtzeitdaten vorhanden" style="font-size: 16px;">gps_off</i>
			% }
		</a>
		<span class="dep-line <%= $result->type // q{} %>">
		<span class="dep-line <%= ($result->type // q{}) =~ tr{a-zA-Z_-}{}cdr %>">
			%= $result->line
		</span>
		<span class="dep-dest">