diff --git a/src/App.vue b/src/App.vue
index 1015ec3..e038b56 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -169,16 +169,6 @@ export default defineComponent({
diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue
index 770c80c..7801640 100644
--- a/src/components/StationsView/StationTable.vue
+++ b/src/components/StationsView/StationTable.vue
@@ -403,6 +403,8 @@ export default defineComponent({
@use '../../styles/responsive';
@use '../../styles/icons';
+@use 'sass:color';
+
$rowCol: #424242;
.station_table {
@@ -503,13 +505,13 @@ tr,
vertical-align: middle;
&:nth-child(even) {
- background-color: lighten($rowCol, 5);
+ background-color: color.adjust($rowCol, $lightness: 5%);
color: white;
}
&:hover,
&:focus {
- background-color: lighten($rowCol, 20);
+ background-color: color.adjust($rowCol, $lightness: 15%);
}
td {
diff --git a/src/styles/_global.scss b/src/styles/_global.scss
index aec8919..d4dadc7 100644
--- a/src/styles/_global.scss
+++ b/src/styles/_global.scss
@@ -140,18 +140,27 @@ a {
color: inherit;
}
+a.a-row {
+ display: table-row;
+}
+
a:focus-visible {
outline: 1px solid var(--clr-primary);
}
-.route-active,
-.route[data-active='true'] {
- color: #ffc014;
- font-weight: 700;
-}
+.route-link {
+ margin: 0 0.2em;
+ transition: color 100ms;
-a.a-row {
- display: table-row;
+ &-active,
+ &[data-active='true'] {
+ color: var(--clr-primary);
+ font-weight: bold;
+ }
+
+ &:hover {
+ color: var(--clr-primary);
+ }
}
ul {
diff --git a/src/views/DriverView.vue b/src/views/DriverView.vue
index 88cedbf..94daf32 100644
--- a/src/views/DriverView.vue
+++ b/src/views/DriverView.vue
@@ -148,6 +148,7 @@ function copyStockToClipboard() {