From 1d47d08910c1aa7ac7a797cbe2ee5bff2a5bf262 Mon Sep 17 00:00:00 2001 From: Johnny Ressen Date: Tue, 11 Oct 2022 13:56:07 +0200 Subject: [PATCH] Layout aanpassingen voor mobile --- src/assets/scss/_global.scss | 16 +++++++ src/assets/scss/_menu.scss | 31 +------------- .../filter/LedenlijstFilterblok.vue | 12 +++--- src/components/global/LidZoekAutoComplete.vue | 2 +- src/components/global/Menu.vue | 7 +--- src/components/groep/Algemeen.vue | 20 ++++++++- src/components/lid/IngelogdLid.vue | 14 ++----- src/components/lid/LidBovenBalk.vue | 42 +++++++++---------- src/components/lid/Persoonlijk.vue | 26 +++++++++--- src/views/Aanvragen.vue | 11 +++-- src/views/Communicatievoorkeuren.vue | 4 +- src/views/Dashboard.vue | 8 ++-- src/views/InschrijvingsFormulier.vue | 2 +- src/views/Ledenlijst.vue | 4 +- src/views/Lid.vue | 11 +++-- 15 files changed, 115 insertions(+), 95 deletions(-) diff --git a/src/assets/scss/_global.scss b/src/assets/scss/_global.scss index 2b36fc5..dbe5f09 100644 --- a/src/assets/scss/_global.scss +++ b/src/assets/scss/_global.scss @@ -104,6 +104,10 @@ margin-left: - 1rem !important; } +.ml--2 { + margin-left: - 2rem !important; +} + .mt--05 { margin-top: - 0.5rem !important; } @@ -517,3 +521,15 @@ a.clean-link:hover { margin-top: 7em; } +@media screen and (max-width: 992px) { + .md\:mt-10 { + margin-top: 10rem !important; + } +} + + +@media screen and (max-width: 333px) { + .sm\:ml--2 { + margin-left: - 2rem !important; + } +} diff --git a/src/assets/scss/_menu.scss b/src/assets/scss/_menu.scss index a9ac0ce..8f7bd0d 100644 --- a/src/assets/scss/_menu.scss +++ b/src/assets/scss/_menu.scss @@ -45,18 +45,6 @@ transition: border-bottom-width 1s; border-bottom: solid 1px grey; } - - li:last-child { - transition: width .3s linear; - width: 333px; - - .lid-search { - transition: visibility .5s cubic-bezier(1, .01, .99, .62), opacity .5s cubic-bezier(1, .01, .99, .62); - width: 333px; - visibility: visible; - opacity: 1; - } - } } } } @@ -97,10 +85,6 @@ .menu-icon { top: 11px !important; } - .lid-search { - visibility: hidden; - opacity: 0; - } } } } @@ -211,20 +195,7 @@ } .lid-autocomplete-input { - width: 245px; -} - -@media screen and (max-width: 740px) { - .lid-autocomplete-input { - width: 200px; - } -} - -@media screen and (max-width: 435px) { - .lid-autocomplete-input { - margin-left: 50px !important; - width: 140px; - } + width: 298px; } .pi-bars { diff --git a/src/components/filter/LedenlijstFilterblok.vue b/src/components/filter/LedenlijstFilterblok.vue index f794616..fc44e0a 100644 --- a/src/components/filter/LedenlijstFilterblok.vue +++ b/src/components/filter/LedenlijstFilterblok.vue @@ -1,5 +1,5 @@