diff --git a/src/components/Global/DonationCard.vue b/src/components/Global/DonationCard.vue
index 5c9eb11..1574d75 100644
--- a/src/components/Global/DonationCard.vue
+++ b/src/components/Global/DonationCard.vue
@@ -9,7 +9,7 @@
- {{ displayingName }}
+ {{ displayingName }}
@@ -45,7 +45,7 @@
- {{ $t('donations.p4-b2') }}
+ {{ $t('donations.p4-b2') }}
diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue
index 7801640..5449dc4 100644
--- a/src/components/StationsView/StationTable.vue
+++ b/src/components/StationsView/StationTable.vue
@@ -123,6 +123,7 @@
@click.prevent="openDonationCard"
data-tooltip-type="DonatorTooltip"
:data-tooltip-content="$t('donations.dispatcher-message')"
+ class="text--donator"
>
{{ station.onlineInfo.dispatcherName }}
@@ -525,7 +526,7 @@ tr,
opacity: 0.2;
}
- @include responsive.smallScreen{
+ @include responsive.smallScreen {
margin: 0;
padding: 0.3em 0.5em;
font-size: 1em;
diff --git a/src/components/Tooltip/DonatorTooltip.vue b/src/components/Tooltip/DonatorTooltip.vue
index 7357d1c..626d118 100644
--- a/src/components/Tooltip/DonatorTooltip.vue
+++ b/src/components/Tooltip/DonatorTooltip.vue
@@ -1,6 +1,6 @@
-

+
{{ tooltipStore.content }}
@@ -20,7 +20,10 @@ export default defineComponent({
diff --git a/src/components/TrainsView/TrainInfo.vue b/src/components/TrainsView/TrainInfo.vue
index 52ea077..93c1280 100644
--- a/src/components/TrainsView/TrainInfo.vue
+++ b/src/components/TrainsView/TrainInfo.vue
@@ -59,6 +59,7 @@
v-if="apiStore.donatorsData.includes(train.driverName)"
data-tooltip-type="DonatorTooltip"
:data-tooltip-content="$t('donations.driver-message')"
+ class="text--donator"
>
{{ train.driverName }}
diff --git a/src/styles/_global.scss b/src/styles/_global.scss
index f5c4467..6880c22 100644
--- a/src/styles/_global.scss
+++ b/src/styles/_global.scss
@@ -201,7 +201,15 @@ ul {
&--donator {
color: var(--clr-donator);
- text-shadow: var(--clr-donator) 0 0 10px;
+ color: transparent;
+
+ background: var(--clr-donator);
+ background: linear-gradient(90deg, #ff88db 30%, #ffffff 70%);
+ background-clip: text;
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+
+ text-shadow: #f050ff 0 0 10px;
}
}