diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 3b0acb5e0..783a3accb 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,7 +2,8 @@ "recommendations": [ "vue.volar", "dbaeumer.vscode-eslint", - "stylelint.vscode-stylelint" + "stylelint.vscode-stylelint", + "bradlc.vscode-tailwindcss" ], "unwantedRecommendations": [ "vscode.typescript-language-features", diff --git a/assets/details.scss b/assets/details.scss index d8fd67054..c9e6b846f 100644 --- a/assets/details.scss +++ b/assets/details.scss @@ -2,7 +2,6 @@ $small-range: (767px); $medium-range: (1024px); $large-range: (1280px); - $screen: 'only screen' !default; $landscape: '#{$screen} and (orientation: landscape)' !default; $portrait: '#{$screen} and (orientation: portrait)' !default; @@ -12,7 +11,6 @@ $medium-and-small: '#{$screen} and (max-width: #{($medium-range)})' !default; $medium-only: '#{$screen} and (min-width:#{($small-range)}) and (max-width:#{($medium-range)})' !default; $x-medium-only: '#{$screen} and (min-width:#{($medium-range)}) and (max-width:#{($large-range)})' !default; $large-only: '#{$screen} and (min-width:#{($large-range)})' !default; - $white-color: #ffff; %font-light, diff --git a/components/Home/Home.vue b/components/Home/Home.vue index 5af3b8433..18ad49c22 100644 --- a/components/Home/Home.vue +++ b/components/Home/Home.vue @@ -648,7 +648,7 @@ export default defineNuxtComponent({ transform: translateX(-10px); } -.right-3\/8 { +.right-3 { right: 37.5%; } diff --git a/components/Layout/Footer.vue b/components/Layout/Footer.vue index 059f90673..019739997 100644 --- a/components/Layout/Footer.vue +++ b/components/Layout/Footer.vue @@ -72,10 +72,11 @@ export default defineNuxtComponent({ width: 3.4rem; vertical-align: baseline; } + @extend %font-medium; - @media (max-width: 991px) { - .site-footer__bottom .copyright { + @media (width <= 991px) { + .site-footer-bottom .copyright { width: 100%; margin-top: 0; text-align: center; diff --git a/components/Layout/Header.vue b/components/Layout/Header.vue index e5c474cb3..40ec50333 100644 --- a/components/Layout/Header.vue +++ b/components/Layout/Header.vue @@ -57,10 +57,12 @@ export default defineNuxtComponent({ display: flex; flex-direction: row; overflow: visible; + // height: 8.6rem; // min-height: 8.6rem; align-items: center; justify-content: space-between; + // padding: 0.8rem 1.3rem; &::before, @@ -77,7 +79,7 @@ export default defineNuxtComponent({ } } - @media (max-width: 600px) { + @media (width <= 600px) { height: 6rem; & { @@ -89,7 +91,7 @@ export default defineNuxtComponent({ } } - @media only screen and (max-width: 767px) { + @media only screen and (width <= 767px) { #header #logo :deep(img) { max-height: 80px; max-width: 193px; diff --git a/components/Layout/PoiLayout.vue b/components/Layout/PoiLayout.vue index dee655379..504d78c3c 100644 --- a/components/Layout/PoiLayout.vue +++ b/components/Layout/PoiLayout.vue @@ -75,12 +75,13 @@ export default defineNuxtComponent({ :deep(body) { color: $color-text; background-color: #fefefe; - padding: 1rem 1rem; + padding: 1rem; min-width: 21rem; -webkit-font-smoothing: antialiased; - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; line-height: 1.3; word-wrap: break-word; + @extend %font-light; } diff --git a/components/MainMap/FavoriteMenu.vue b/components/MainMap/FavoriteMenu.vue index bcd8e05d4..2b398ec20 100644 --- a/components/MainMap/FavoriteMenu.vue +++ b/components/MainMap/FavoriteMenu.vue @@ -120,7 +120,7 @@ export default defineNuxtComponent({ @click="$emit('toggleFavorites')" > - {{ + {{ $t('favorites.title') }} - + {{ $t('favorites.menu_notebook') }} @@ -171,8 +171,8 @@ export default defineNuxtComponent({ diff --git a/components/PoisDetails/PoiDetails.vue b/components/PoisDetails/PoiDetails.vue index a2f18e37a..e69cb33e6 100644 --- a/components/PoisDetails/PoiDetails.vue +++ b/components/PoisDetails/PoiDetails.vue @@ -324,7 +324,7 @@ export default defineNuxtComponent({ margin: auto; } -@media (max-width: 991px) { +@media (width <= 991px) { .detail-wrapper { flex-direction: column; diff --git a/components/PoisDetails/Route/RouteMap.vue b/components/PoisDetails/Route/RouteMap.vue index 750657341..b257e3c1a 100644 --- a/components/PoisDetails/Route/RouteMap.vue +++ b/components/PoisDetails/Route/RouteMap.vue @@ -155,7 +155,7 @@ export default defineNuxtComponent({ } } -@media (max-width: 991px) { +@media (width <= 991px) { .detail-wrapper { flex-direction: column; diff --git a/components/UI/CookiesConsent.vue b/components/UI/CookiesConsent.vue index 83ce886e9..c3c09dd40 100644 --- a/components/UI/CookiesConsent.vue +++ b/components/UI/CookiesConsent.vue @@ -61,6 +61,7 @@ export default defineNuxtComponent({ diff --git a/pages/embedded.vue b/pages/embedded.vue index d161bbbd3..c9dc5401f 100644 --- a/pages/embedded.vue +++ b/pages/embedded.vue @@ -189,6 +189,7 @@ export default defineNuxtComponent({