From c2a42ebdf9002db1ffab007ca61467d545e89773 Mon Sep 17 00:00:00 2001 From: Marius Johan Holm Johansen Date: Tue, 25 Jun 2024 11:40:03 +0200 Subject: [PATCH] DIT-49: Mobile Filter. - Changed and implemented new design after talks with Andreas --- src/vue/components/Button.vue | 15 ++++++++ src/vue/components/CardFilter.vue | 57 ++++++++++++++++++++-------- src/vue/components/icon/iconPaths.js | 2 + src/vue/design/override-mobile.scss | 28 +++++++++++++- 4 files changed, 85 insertions(+), 17 deletions(-) diff --git a/src/vue/components/Button.vue b/src/vue/components/Button.vue index 220c899a..6b843834 100644 --- a/src/vue/components/Button.vue +++ b/src/vue/components/Button.vue @@ -14,6 +14,8 @@ + + @@ -108,6 +110,19 @@ const isDropdown = props.type === 'dropdown'; } } +.filter-button, .reset-button { + svg { + margin-left: 10px; + height:1.3rem; + width:1.3rem; + } + } + .reset-button { + background-color: white; + color: black; + border: 1px solid black; + } + .feide-symbol{ width: 1em; height: 1em; diff --git a/src/vue/components/CardFilter.vue b/src/vue/components/CardFilter.vue index d6708d4b..d46d8e45 100644 --- a/src/vue/components/CardFilter.vue +++ b/src/vue/components/CardFilter.vue @@ -1,23 +1,34 @@