From 7c0fb16a0baac55120c0e1510e639b6b3a48f13c Mon Sep 17 00:00:00 2001 From: suzalflueck Date: Thu, 7 Dec 2023 16:08:29 -0800 Subject: [PATCH 01/24] Sync changes from samara-mobile --- frontend/src/assets/main.css | 49 ++++--- frontend/src/components/AuthoritySelect.vue | 9 +- frontend/src/components/DistrictSelect.vue | 2 +- frontend/src/components/Footer.vue | 94 ++----------- frontend/src/components/Header.vue | 4 +- frontend/src/components/OffshoreSelect.vue | 24 ++-- frontend/src/components/SchoolSelect.vue | 32 ++--- frontend/src/stores/app.ts | 2 +- frontend/src/views/AuthorityView.vue | 96 +++++++------- frontend/src/views/ContactsView.vue | 56 ++++---- frontend/src/views/DistrictView.vue | 103 +++++++-------- frontend/src/views/HomeView.vue | 21 ++- frontend/src/views/SchoolSearchView.vue | 26 +--- frontend/src/views/SchoolView.vue | 138 ++++++++++---------- 14 files changed, 281 insertions(+), 375 deletions(-) diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css index 99347e45..8015af61 100644 --- a/frontend/src/assets/main.css +++ b/frontend/src/assets/main.css @@ -1,27 +1,37 @@ @import './base.css'; #app { - max-width: 1280px; - margin: 0 auto; - padding: 0rem; font-family: 'BCSans', 'Noto Sans', Verdana, Arial, sans-serif; font-weight: normal; } +#main { + max-width: 1280px; + padding: 0rem; +} + a { color: #2a6496; } +div.v-application__wrap { + min-height: 100vh; /* override dvh property */ +} + +.full-width { + margin-left: calc(-1*(100vw - 1024px)/2); + margin-right: calc(-1*(100vw - 1024px)/2); +} + @media (max-width: 768px) { #app { - min-width: 1130px; /* Adjust as needed */ + /* min-width: 600px; */ padding: 0; /* Adjust as needed */ } .full-width { - margin: 0 calc(-1*(100vw - 768px)/2); - padding: 0 calc((100vw - 768px)/2); - background-color: red; + margin-left: calc(-1*(100vw - 400px)/2); + margin-right: calc(-1*(100vw - 400px)/2); } } .school-search{ @@ -43,10 +53,12 @@ button.link-btn, .link-btn .v-btn__content { } .territorial-acknowledgement { - background-color: #494949; - color: #fff; - border-bottom: 3px solid #FCBA19; - border-top: 3px solid #FCBA19; + background-color: #292929; + color: #faf9f8; + font-size: 14px; + line-height: 21px; + border-bottom: 4px solid #FCBA19; + border-top: 4px solid #FCBA19; } .v-toolbar__extension { @@ -76,11 +88,14 @@ button.link-btn, .link-btn .v-btn__content { #app { display: grid; - padding: 0; + padding: 0!important; + margin: 0 auto; } - .full-width { - margin: 0 calc(-1*(100vw - 1024px)/2); - padding: 0 calc((100vw - 1024px)/2); - } -} + /* .full-width { + position: relative; + width: 100vw; + left: calc(-1*(100vw - 1280px)/2); + padding: 0!important; + } */ +} \ No newline at end of file diff --git a/frontend/src/components/AuthoritySelect.vue b/frontend/src/components/AuthoritySelect.vue index 747f11dd..4dd969ca 100644 --- a/frontend/src/components/AuthoritySelect.vue +++ b/frontend/src/components/AuthoritySelect.vue @@ -19,17 +19,10 @@ function goToAuthority() { } }) } - -function downloadAuthorityMailing() { - alert('TODO - Implement authority mailing download') -} -function downloadAuthorityContacts() { - alert('TODO - Implement authority contacts download') -}