From 69a6a9370a67827a822ed033a22a8b365e43b5a1 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 9 Nov 2022 13:16:00 +0100 Subject: [PATCH] Poprawki --- src/App.vue | 2 - src/components/StockGeneratorTab.vue | 41 +- src/components/StockSection.vue | 22 +- src/components/cards/RandomizerCard.vue | 647 ------------------------ src/store.ts | 2 +- src/styles/global.scss | 2 +- 6 files changed, 53 insertions(+), 663 deletions(-) delete mode 100644 src/components/cards/RandomizerCard.vue diff --git a/src/App.vue b/src/App.vue index 7cf18aa..7db6fc0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,7 +51,6 @@ import InputsSection from './components/InputsSection.vue'; import { useStore } from './store'; import TrainImageSection from './components/TrainImageSection.vue'; import LogoSection from './components/LogoSection.vue'; -import RandomizerCard from './components/cards/RandomizerCard.vue'; import RealStockCard from './components/cards/RealStockCard.vue'; import StockSection from './components/StockSection.vue'; @@ -60,7 +59,6 @@ export default defineComponent({ StockSection, InputsSection, TrainImageSection, - RandomizerCard, LogoSection, RealStockCard, }, diff --git a/src/components/StockGeneratorTab.vue b/src/components/StockGeneratorTab.vue index a9f76e9..74e228c 100644 --- a/src/components/StockGeneratorTab.vue +++ b/src/components/StockGeneratorTab.vue @@ -41,14 +41,16 @@

WAGONY Z WYBRANYMI ŁADUNKAMI

- - Wybierz co najmniej jeden ładunek, aby zobaczyć wagony, które go posiadają - +
+ + Wybierz co najmniej jeden ładunek, aby zobaczyć wagony, które go posiadają! + -

- Wagony posiadające wybrane ładunki. Najedź na nazwę, aby zobaczyć podgląd wagonu. Kliknij, aby wyłączyć z - losowania (tylko podświetlone nazwy będą uwzględnione). -

+ + Wagony posiadające wybrane ładunki. Najedź na nazwę, aby zobaczyć podgląd wagonu. Kliknij, aby wyłączyć z + losowania (tylko podświetlone nazwy będą uwzględnione). + +
+
+
@@ -301,18 +305,37 @@ h2 { } } +.generator_vehicles { + margin-top: 1em; +} + +hr { + height: 3px; + background-color: white; + outline: none; + + margin: 15px 0; +} + .generator_actions { display: grid; gap: 0.5em; grid-template-columns: repeat(3, 1fr); - margin-top: 2em; button { - background-color: #4b4b4b; + background-color: #131313; padding: 0.5em; font-weight: bold; } } + +.warning { + background-color: $accentColor; + padding: 0.5em; + text-align: justify; + font-weight: bold; + color: black; +} diff --git a/src/components/StockSection.vue b/src/components/StockSection.vue index 8f99ba2..a315e01 100644 --- a/src/components/StockSection.vue +++ b/src/components/StockSection.vue @@ -1,8 +1,10 @@ @@ -37,6 +39,19 @@ export default defineComponent({ + diff --git a/src/components/cards/RandomizerCard.vue b/src/components/cards/RandomizerCard.vue deleted file mode 100644 index 280bdf2..0000000 --- a/src/components/cards/RandomizerCard.vue +++ /dev/null @@ -1,647 +0,0 @@ - - - - - - diff --git a/src/store.ts b/src/store.ts index e5ab9dc..9407a96 100644 --- a/src/store.ts +++ b/src/store.ts @@ -30,7 +30,7 @@ export const useStore = defineStore({ vehiclePreviewSrc: '', - stockSectionMode: 'stock-generator', + stockSectionMode: 'stock-list', isRandomizerCardOpen: false, isRealStockListCardOpen: false, diff --git a/src/styles/global.scss b/src/styles/global.scss index 41df96c..c2b87e3 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -6,7 +6,7 @@ $breakpointSm: 550px; $bgColor: #2c3149; $textColor: #fff; $secondaryColor: #222; -$accentColor: #ffd600; +$accentColor: #e4c428; ::-webkit-scrollbar { width: 0.5rem;