From 7342d20677e8a223ba4fbd3c9eb3bc5dce2988ec Mon Sep 17 00:00:00 2001 From: Vishnu Date: Thu, 24 Jul 2025 10:36:07 +0000 Subject: [PATCH] Update app/src/styles/pages/userAuth.scss --- app/src/styles/pages/userAuth.scss | 375 +++++++++++++++-------------- 1 file changed, 189 insertions(+), 186 deletions(-) diff --git a/app/src/styles/pages/userAuth.scss b/app/src/styles/pages/userAuth.scss index e21c401..df89dda 100644 --- a/app/src/styles/pages/userAuth.scss +++ b/app/src/styles/pages/userAuth.scss @@ -1,187 +1,190 @@ -@use "../abstracts/variables" as *; -@use "../abstracts/mixins" as *; - -.auth-container { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 20px; - color: var(--text-color); - height: 100vh; - background: var(--background-color); - position: relative; - z-index: 1; - - .logo-icon { - width: 80px; - height: 80px; - margin-bottom: 20px; - @include flex-center; - } - - h1 { - color: var(--text-color); - font-size: 24px; - margin-bottom: 10px; - font-weight: var(--font-weight-medium); - } - - p { - font-size: 14px; - color: var(--text-color); - margin-bottom: 20px; - - .link { - color: var(--accent-color); - text-decoration: none; - - &:hover { - text-decoration: underline; - } - } - } - - .google-login { - display: flex; - align-items: center; - justify-content: center; - width: 100%; - max-width: 350px; - padding: 10px; - margin-bottom: 20px; - border: 1px solid var(--highlight-text-color); - border-radius: #{$border-radius-extra-large}; - background: transparent; - color: var(--highlight-text-color); - font-size: 14px; - outline: none; - cursor: pointer; - - .google-icon { - color: var(--highlight-text-color); - font-weight: bold; - font-size: 16px; - margin-right: 10px; - } - - &:hover { - background: var(--background-color); - } - } - - .error-message { - color: #f3453f; - font-size: 12px; - margin-bottom: 10px; - } - - .auth-form { - display: flex; - flex-direction: column; - align-items: center; - width: 100%; - max-width: 350px; - - input { - width: 100%; - padding: 10px 18px; - margin-bottom: 10px; - border: 1px solid var(--border-color); - border-radius: #{$border-radius-extra-large}; - background: var(--background-color); - font-size: 14px; - color: var(--input-text-color); - - &:focus { - border-color: var(--border-color-accent); - outline: none; - } - } - - .password-container { - position: relative; - width: 100%; - - .toggle-password { - @include flex-center; - position: absolute; - top: 20px; - right: 10px; - height: 22px; - width: 22px; - transform: translateY(-50%); - background: none; - border: none; - outline: none; - cursor: pointer; - font-size: 16px; - } - } - - .continue-button { - width: 100%; - padding: 10px; - background: var(--background-color-button); - color: var(--text-button-color); - font-size: 14px; - border: none; - outline: none; - border-radius: #{$border-radius-extra-large}; - cursor: pointer; - - &:hover { - opacity: 0.9; - } - } - } - - .policy-checkbox { - @include flex-center; - gap: 6px; - margin: 18px 0; - margin-top: 8px; - justify-content: flex-start; - width: 100%; - padding: 0 6px; - - input { - width: 15px; - height: 15px; - margin: 0; - accent-color: var(--accent-color); - } - } - - .policy { - font-size: 12px; - margin-top: 20px; - text-align: center; - line-height: 1.5; - width: 320px; - - .link { - color: var(--highlight-text-color); - text-decoration: none; - - &:hover { - text-decoration: underline; - } - } - - &::after { - content: ""; - position: absolute; - background: var(--faint-gradient-color); - height: 50vh; - width: 50vw; - top: 50%; - left: 50%; - opacity: 0.5; - transform: translate(-50%, -50%); - border-radius: #{$border-radius-circle}; - filter: blur(200px); - z-index: -1; - } - } +@use "../abstracts/variables" as *; +@use "../abstracts/mixins" as *; + +.auth-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 20px; + color: var(--text-color); + height: 100vh; + background: var(--background-color); + position: relative; + z-index: 1; + + .logo-icon { + width: 80px; + height: 80px; + margin-bottom: 20px; + @include flex-center; + svg{ + scale: 2; + } + } + + h1 { + color: var(--text-color); + font-size: 24px; + margin-bottom: 10px; + font-weight: var(--font-weight-medium); + } + + p { + font-size: 14px; + color: var(--text-color); + margin-bottom: 20px; + + .link { + color: var(--accent-color); + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + } + + .google-login { + display: flex; + align-items: center; + justify-content: center; + width: 100%; + max-width: 350px; + padding: 10px; + margin-bottom: 20px; + border: 1px solid var(--highlight-text-color); + border-radius: #{$border-radius-extra-large}; + background: transparent; + color: var(--highlight-text-color); + font-size: 14px; + outline: none; + cursor: pointer; + + .google-icon { + color: var(--highlight-text-color); + font-weight: bold; + font-size: 16px; + margin-right: 10px; + } + + &:hover { + background: var(--background-color); + } + } + + .error-message { + color: #f3453f; + font-size: 12px; + margin-bottom: 10px; + } + + .auth-form { + display: flex; + flex-direction: column; + align-items: center; + width: 100%; + max-width: 350px; + + input { + width: 100%; + padding: 10px 18px; + margin-bottom: 10px; + border: 1px solid var(--border-color); + border-radius: #{$border-radius-extra-large}; + background: var(--background-color); + font-size: 14px; + color: var(--input-text-color); + + &:focus { + border-color: var(--border-color-accent); + outline: none; + } + } + + .password-container { + position: relative; + width: 100%; + + .toggle-password { + @include flex-center; + position: absolute; + top: 20px; + right: 10px; + height: 22px; + width: 22px; + transform: translateY(-50%); + background: none; + border: none; + outline: none; + cursor: pointer; + font-size: 16px; + } + } + + .continue-button { + width: 100%; + padding: 10px; + background: var(--background-color-button); + color: var(--text-button-color); + font-size: 14px; + border: none; + outline: none; + border-radius: #{$border-radius-extra-large}; + cursor: pointer; + + &:hover { + opacity: 0.9; + } + } + } + + .policy-checkbox { + @include flex-center; + gap: 6px; + margin: 18px 0; + margin-top: 8px; + justify-content: flex-start; + width: 100%; + padding: 0 6px; + + input { + width: 15px; + height: 15px; + margin: 0; + accent-color: var(--accent-color); + } + } + + .policy { + font-size: 12px; + margin-top: 20px; + text-align: center; + line-height: 1.5; + width: 320px; + + .link { + color: var(--highlight-text-color); + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + + &::after { + content: ""; + position: absolute; + background: var(--faint-gradient-color); + height: 50vh; + width: 50vw; + top: 50%; + left: 50%; + opacity: 0.5; + transform: translate(-50%, -50%); + border-radius: #{$border-radius-circle}; + filter: blur(200px); + z-index: -1; + } + } } \ No newline at end of file