+
Lineas
@@ -71,21 +74,27 @@ function LineEl(props: { line: Line }) {
-
-
- Linea {props.line.name}
-
-
-
- {(r) => (
-
- )}
-
-
+
+
+
+ Linea {props.line.name}
+
+
+
+
+
+ {(r) => (
+
+ )}
+
+
+
);
}
@@ -147,6 +156,13 @@ function RouteEl(props: {
}
};
+ const both_classes = () => {
+ if (departure_active() && return_active()) {
+ return "bg-r-hover-bg text-r-hover-on-bg";
+ } else {
+ return "";
+ }
+ };
const departure_classes = () => {
if (departure_count() > 0) {
return "bg-r-hover-bg text-r-hover-on-bg";
@@ -163,10 +179,13 @@ function RouteEl(props: {
};
return (