diff --git a/src/components/layout/FooterSection.vue b/src/components/layout/FooterSection.vue index 073cebcec..545c5be2c 100644 --- a/src/components/layout/FooterSection.vue +++ b/src/components/layout/FooterSection.vue @@ -108,6 +108,16 @@ export default { .footer-btns { margin-bottom: 8px; + + @include mobile { + display: flex; + flex-direction: column; + + .outlined-button { + width: 100%; + margin-bottom: 8px; + } + } } .venture { @@ -171,6 +181,12 @@ export default { } } } + + a { + @include mobile { + display: block; + } + } } p { diff --git a/src/components/layout/MobileNavigation.vue b/src/components/layout/MobileNavigation.vue index ff15db369..fbf433f4c 100644 --- a/src/components/layout/MobileNavigation.vue +++ b/src/components/layout/MobileNavigation.vue @@ -1,52 +1,55 @@ @@ -60,6 +63,7 @@ import IconWallet from '../../assets/iconWallet.svg?icon-component'; import IconSearch from '../../assets/iconSearch.svg?icon-component'; import IconMobileMenu from '../../assets/iconMobileMenu.svg?icon-component'; import ButtonPlain from '../ButtonPlain.vue'; +import Modal from '../Modal.vue'; export default { components: { @@ -70,6 +74,7 @@ export default { IconSearch, IconMobileMenu, ButtonPlain, + Modal, }, data: () => ({ showOverlay: false, @@ -101,9 +106,9 @@ export default { color: $light_font_color; position: fixed; top: 0; - left: 0; right: 0; bottom: 0; + left: 50%; padding: 1rem; .close-button { @@ -117,8 +122,8 @@ export default { } .mobile-navigation { - padding-right: 0.6rem; - padding-left: 1rem; + padding-right: 8px; + padding-left: 8px; display: flex; align-items: center; @@ -159,4 +164,33 @@ export default { width: 100%; } } + +::v-deep .not-bootstrap-modal { + .overlay { + background-color: rgba($background_color, 0.6); + } + + &.slide-enter-active, + &.slide-enter-active .mobile-navigation-overlay, + &.slide-enter-active .mobile-navigation-overlay .navi, + &.slide-leave-active, + &.slide-leave-active .mobile-navigation-overlay { + transition-duration: 0.3s; + transition-timing-function: ease; + } + + &.slide-leave-active, + &.slide-leave-active .mobile-navigation-overlay { + transition-duration: 0.2s; + } + + &.slide-enter .mobile-navigation-overlay, + &.slide-leave-to .mobile-navigation-overlay { + transform: translateX(100%); + } + + &.slide-leave-to .mobile-navigation-overlay { + opacity: 0; + } +} diff --git a/src/components/layout/Navigation.vue b/src/components/layout/Navigation.vue index 35360e939..890d72938 100644 --- a/src/components/layout/Navigation.vue +++ b/src/components/layout/Navigation.vue @@ -121,8 +121,8 @@ export default { } &.mobile a:not(.logo) { - font-size: 0.95rem; - margin-bottom: 1rem; + font-size: 14px; + margin-bottom: 8px; } }