From 2f4728a499f90bda1de6a06fd1d4646f69d4ff36 Mon Sep 17 00:00:00 2001 From: sumita Date: Sat, 29 Jan 2022 09:58:44 +0530 Subject: [PATCH 1/3] Refactor 404 UI --- vue-frontend/src/components/Error404Page.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue-frontend/src/components/Error404Page.vue b/vue-frontend/src/components/Error404Page.vue index 750471dda..675612e24 100644 --- a/vue-frontend/src/components/Error404Page.vue +++ b/vue-frontend/src/components/Error404Page.vue @@ -63,7 +63,7 @@ export default { justify-content: center; flex: 1; flex-direction: column; - margin: 16px 48px; + margin: 16px; } .image-404 { @@ -96,6 +96,7 @@ export default { display: flex; justify-content: space-around !important; align-items: center; + text-decoration: none; } .back-btn > span { From 06de24d629bfccc5e10daf28e74e003de06160f2 Mon Sep 17 00:00:00 2001 From: sumita Date: Sat, 29 Jan 2022 15:49:53 +0530 Subject: [PATCH 2/3] Add hover effect on buttons --- vue-frontend/src/App.vue | 2 +- vue-frontend/src/components/Error404Page.vue | 21 +++++++++++++++--- .../src/components/contact/ContactForm.vue | 22 +++++++++++++++++-- .../src/components/contact/ContactLanding.vue | 3 +-- vue-frontend/src/components/home/HomeCTA.vue | 18 +++++++++++++++ .../src/components/partials/ScreenHeader.vue | 13 ++++++++++- 6 files changed, 70 insertions(+), 9 deletions(-) diff --git a/vue-frontend/src/App.vue b/vue-frontend/src/App.vue index 191505666..c3e323aea 100644 --- a/vue-frontend/src/App.vue +++ b/vue-frontend/src/App.vue @@ -57,7 +57,7 @@ body::-webkit-scrollbar { font-style: normal; font-weight: 400; font-size: 1.1rem; - line-height: 1.3rem; + line-height: 1.5rem; color: rgba(0, 0, 0, 0.5); } diff --git a/vue-frontend/src/components/Error404Page.vue b/vue-frontend/src/components/Error404Page.vue index 675612e24..9546824d3 100644 --- a/vue-frontend/src/components/Error404Page.vue +++ b/vue-frontend/src/components/Error404Page.vue @@ -16,7 +16,7 @@ onclick="window.location.replace('/')" > - Back to Home page + Back to Home page @@ -103,7 +103,6 @@ export default { text-align: center !important; font-weight: 700; font-size: 1.1rem !important; - line-height: 0.5rem; } .black { @@ -123,7 +122,23 @@ export default { .gradient-border-btn { background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(to top, #ff9472, #f2709c); - box-shadow: 2px 1000px 1px #fff inset !important; + box-shadow: 2px 1000px 1px #fff inset; +} + +@media (hover: hover) and (pointer: fine) { + .gradient-border-btn:hover{ + background: linear-gradient(91.53deg, #f2709c 3.91%, #ff9472 100%); + border: 2px solid transparent; + box-shadow: none; + } + + .gradient-border-btn:hover > span{ + -webkit-text-fill-color: white; + } + + .gradient-border-btn:hover > .arrow{ + color: white; + } } @include media-breakpoint-up(md) { diff --git a/vue-frontend/src/components/contact/ContactForm.vue b/vue-frontend/src/components/contact/ContactForm.vue index 527bce415..df1a76414 100644 --- a/vue-frontend/src/components/contact/ContactForm.vue +++ b/vue-frontend/src/components/contact/ContactForm.vue @@ -261,7 +261,7 @@