mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
hotfix: post-upgrade adjustments
This commit is contained in:
-10
@@ -169,16 +169,6 @@ export default defineComponent({
|
||||
<style lang="scss">
|
||||
@use './styles/animations';
|
||||
|
||||
.route {
|
||||
margin: 0 0.2em;
|
||||
|
||||
&-active,
|
||||
&[data-active='true'] {
|
||||
color: var(--clr-primary);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
// APP
|
||||
#app {
|
||||
color: white;
|
||||
|
||||
@@ -45,17 +45,17 @@
|
||||
</span>
|
||||
|
||||
<span class="header_links">
|
||||
<router-link class="route" active-class="route-active" to="/" exact>
|
||||
<router-link class="route-link" active-class="route-link-active" to="/" exact>
|
||||
{{ $t('app.sceneries') }}
|
||||
</router-link>
|
||||
/
|
||||
<router-link class="route" active-class="route-active" to="/trains">{{
|
||||
<router-link class="route-link" active-class="route-link-active" to="/trains">{{
|
||||
$t('app.trains')
|
||||
}}</router-link>
|
||||
/
|
||||
<router-link
|
||||
class="route"
|
||||
active-class="route-active"
|
||||
class="route-link"
|
||||
active-class="route-link-active"
|
||||
:data-active="$route.path.startsWith('/journal')"
|
||||
to="/journal"
|
||||
>
|
||||
|
||||
@@ -198,30 +198,26 @@ a.discord {
|
||||
|
||||
.actions-container > .action {
|
||||
&.paypal {
|
||||
$btnColor: #254069;
|
||||
|
||||
background-color: $btnColor;
|
||||
background-color: #254069;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($btnColor, 5%);
|
||||
background-color: #2f5185;
|
||||
}
|
||||
}
|
||||
|
||||
&.coffee {
|
||||
$btnColor: #009255;
|
||||
background-color: $btnColor;
|
||||
background-color: #009255;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($btnColor, 5%);
|
||||
background-color: #00a35f;
|
||||
}
|
||||
}
|
||||
|
||||
&.exit {
|
||||
$btnColor: #686868;
|
||||
background-color: $btnColor;
|
||||
background-color: #686868;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($btnColor, 5%);
|
||||
background-color: #8d8d8d;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
<template>
|
||||
<section class="journal-header">
|
||||
<div class="journal-type-options">
|
||||
<router-link class="router-link" active-class="route-active" to="/journal/timetables" exact>
|
||||
<router-link
|
||||
class="route-link"
|
||||
active-class="route-link-active"
|
||||
to="/journal/timetables"
|
||||
exact
|
||||
>
|
||||
{{ $t('journal.section-timetables') }}
|
||||
</router-link>
|
||||
•
|
||||
<router-link class="router-link" active-class="route-active" to="/journal/dispatchers">
|
||||
<router-link class="route-link" active-class="route-link-active" to="/journal/dispatchers">
|
||||
{{ $t('journal.section-dispatchers') }}
|
||||
</router-link>
|
||||
</div>
|
||||
@@ -39,8 +44,4 @@ export default defineComponent({});
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.router-link.active {
|
||||
color: gold;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
+16
-7
@@ -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 {
|
||||
|
||||
@@ -148,6 +148,7 @@ function copyStockToClipboard() {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@use '../styles/responsive';
|
||||
@use 'sass:color';
|
||||
|
||||
$viewBgCol: #1a1a1a;
|
||||
|
||||
@@ -176,7 +177,7 @@ $viewBgCol: #1a1a1a;
|
||||
border-radius: 0.5em 0.5em 0 0;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($viewBgCol, 10);
|
||||
background-color: color.adjust($viewBgCol, $lightness: 10%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -106,15 +106,13 @@ export default defineComponent({
|
||||
button.btn-donation {
|
||||
margin-left: auto;
|
||||
|
||||
$btnColor: #254069;
|
||||
|
||||
background-color: $btnColor;
|
||||
background-color: #254069;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($btnColor, 5%);
|
||||
background-color: #2e4f81;
|
||||
}
|
||||
|
||||
@include responsive.smallScreen{
|
||||
@include responsive.smallScreen {
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user