From 744f64529294d392081abaeb15f44415a0ed5541 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 15 Jul 2020 18:41:48 +0200 Subject: [PATCH] =?UTF-8?q?Dodano=20sortowanie,=20lekkie=20zmiany=20w=20wy?= =?UTF-8?q?gl=C4=85dzie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 48 +------ src/assets/icon-legend.svg | 1 + src/components/ui/AppBar.vue | 75 ++++++++++ src/components/ui/Card.vue | 236 +++++++++++++++---------------- src/components/ui/Clock.vue | 2 +- src/components/ui/Icon.vue | 10 -- src/components/ui/List.vue | 176 ++++++++++++++--------- src/components/ui/OptionCard.vue | 100 ++++++------- src/components/ui/Options.vue | 22 ++- src/store/modules/store.ts | 10 +- 10 files changed, 372 insertions(+), 308 deletions(-) create mode 100644 src/assets/icon-legend.svg create mode 100644 src/components/ui/AppBar.vue delete mode 100644 src/components/ui/Icon.vue diff --git a/src/App.vue b/src/App.vue index 02b11ed..5c1bdf3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,31 +7,11 @@ trainlogo wnik + + -
-
-
- -
- -
- -
- -
- - icon dispatcher - {{stationCount}} - - - - {{trainCount}} - icon train - -
-
-
+
@@ -50,13 +30,13 @@ import { mapGetters, mapActions } from "vuex"; import Error from "@/components/states/Error.vue"; import Loading from "@/components/states/Loading.vue"; -import Options from "@/components/ui/Options.vue"; import Clock from "@/components/ui/Clock.vue"; +import AppBar from "@/components/ui/AppBar.vue"; // import ListFilter from "@/components/utils/ListFilter.vue"; export default Vue.extend({ name: "App", - components: { Error, Loading, Options, Clock }, + components: { Error, Loading, Clock, AppBar }, computed: mapGetters({ stations: "getStations", trainCount: "getTrainCount", @@ -163,7 +143,6 @@ input { &.open { color: $accentCol; border: none; - font-weight: bold; } &:hover { @@ -241,23 +220,6 @@ ul { font-size: 0.35em; } } - - &-bar { - display: flex; - justify-content: space-between; - - position: sticky; - top: 0; - font-size: 0.3em; - background: #222; - } -} - -.bar { - &-right { - font-size: 1.35em; - display: flex; - } } .counter { diff --git a/src/assets/icon-legend.svg b/src/assets/icon-legend.svg new file mode 100644 index 0000000..c71b4ef --- /dev/null +++ b/src/assets/icon-legend.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/ui/AppBar.vue b/src/components/ui/AppBar.vue new file mode 100644 index 0000000..964b4da --- /dev/null +++ b/src/components/ui/AppBar.vue @@ -0,0 +1,75 @@ + + + + + \ No newline at end of file diff --git a/src/components/ui/Card.vue b/src/components/ui/Card.vue index 41cba62..4c5b9df 100644 --- a/src/components/ui/Card.vue +++ b/src/components/ui/Card.vue @@ -1,133 +1,131 @@ \ No newline at end of file diff --git a/src/components/ui/List.vue b/src/components/ui/List.vue index 3e6db06..f7dd4fa 100644 --- a/src/components/ui/List.vue +++ b/src/components/ui/List.vue @@ -1,12 +1,13 @@