diff --git a/src/assets/css/_transitions.scss b/src/assets/css/_transitions.scss index 72a8bf06c..0bf1b6c91 100644 --- a/src/assets/css/_transitions.scss +++ b/src/assets/css/_transitions.scss @@ -18,3 +18,22 @@ transition-timing-function: ease-in; } } + +.scroll-up- { + &enter { + transform: translateY(100%); + } + &leave-to { + transform: translateY(-100%); + } + + &enter-active, + &leave-active { + transition-property: opacity, transform !important; + transition-duration: 2s; + } + &enter-active, + &leave-active { + transition-timing-function: cubic-bezier(0.7, 0, 0.25, 1); + } +} diff --git a/src/components/SiteMenuForMobile.vue b/src/components/SiteMenuForMobile.vue index 601156d45..a4bd25933 100644 --- a/src/components/SiteMenuForMobile.vue +++ b/src/components/SiteMenuForMobile.vue @@ -1,7 +1,7 @@ + + diff --git a/src/components/SiteTopBannerForChristmas.vue b/src/components/SiteTopBannerForChristmas.vue new file mode 100644 index 000000000..7a3f24e94 --- /dev/null +++ b/src/components/SiteTopBannerForChristmas.vue @@ -0,0 +1,15 @@ + + + diff --git a/src/layouts/default.vue b/src/layouts/default.vue index 96761aea3..d35d3fbdf 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -1,5 +1,6 @@