Update app/src/styles/pages/userAuth.scss
This commit is contained in:
@@ -1,187 +1,190 @@
|
|||||||
@use "../abstracts/variables" as *;
|
@use "../abstracts/variables" as *;
|
||||||
@use "../abstracts/mixins" as *;
|
@use "../abstracts/mixins" as *;
|
||||||
|
|
||||||
.auth-container {
|
.auth-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: var(--background-color);
|
background: var(--background-color);
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
.logo-icon {
|
.logo-icon {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
@include flex-center;
|
@include flex-center;
|
||||||
}
|
svg{
|
||||||
|
scale: 2;
|
||||||
h1 {
|
}
|
||||||
color: var(--text-color);
|
}
|
||||||
font-size: 24px;
|
|
||||||
margin-bottom: 10px;
|
h1 {
|
||||||
font-weight: var(--font-weight-medium);
|
color: var(--text-color);
|
||||||
}
|
font-size: 24px;
|
||||||
|
margin-bottom: 10px;
|
||||||
p {
|
font-weight: var(--font-weight-medium);
|
||||||
font-size: 14px;
|
}
|
||||||
color: var(--text-color);
|
|
||||||
margin-bottom: 20px;
|
p {
|
||||||
|
font-size: 14px;
|
||||||
.link {
|
color: var(--text-color);
|
||||||
color: var(--accent-color);
|
margin-bottom: 20px;
|
||||||
text-decoration: none;
|
|
||||||
|
.link {
|
||||||
&:hover {
|
color: var(--accent-color);
|
||||||
text-decoration: underline;
|
text-decoration: none;
|
||||||
}
|
|
||||||
}
|
&:hover {
|
||||||
}
|
text-decoration: underline;
|
||||||
|
}
|
||||||
.google-login {
|
}
|
||||||
display: flex;
|
}
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
.google-login {
|
||||||
width: 100%;
|
display: flex;
|
||||||
max-width: 350px;
|
align-items: center;
|
||||||
padding: 10px;
|
justify-content: center;
|
||||||
margin-bottom: 20px;
|
width: 100%;
|
||||||
border: 1px solid var(--highlight-text-color);
|
max-width: 350px;
|
||||||
border-radius: #{$border-radius-extra-large};
|
padding: 10px;
|
||||||
background: transparent;
|
margin-bottom: 20px;
|
||||||
color: var(--highlight-text-color);
|
border: 1px solid var(--highlight-text-color);
|
||||||
font-size: 14px;
|
border-radius: #{$border-radius-extra-large};
|
||||||
outline: none;
|
background: transparent;
|
||||||
cursor: pointer;
|
color: var(--highlight-text-color);
|
||||||
|
font-size: 14px;
|
||||||
.google-icon {
|
outline: none;
|
||||||
color: var(--highlight-text-color);
|
cursor: pointer;
|
||||||
font-weight: bold;
|
|
||||||
font-size: 16px;
|
.google-icon {
|
||||||
margin-right: 10px;
|
color: var(--highlight-text-color);
|
||||||
}
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
&:hover {
|
margin-right: 10px;
|
||||||
background: var(--background-color);
|
}
|
||||||
}
|
|
||||||
}
|
&:hover {
|
||||||
|
background: var(--background-color);
|
||||||
.error-message {
|
}
|
||||||
color: #f3453f;
|
}
|
||||||
font-size: 12px;
|
|
||||||
margin-bottom: 10px;
|
.error-message {
|
||||||
}
|
color: #f3453f;
|
||||||
|
font-size: 12px;
|
||||||
.auth-form {
|
margin-bottom: 10px;
|
||||||
display: flex;
|
}
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
.auth-form {
|
||||||
width: 100%;
|
display: flex;
|
||||||
max-width: 350px;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
input {
|
width: 100%;
|
||||||
width: 100%;
|
max-width: 350px;
|
||||||
padding: 10px 18px;
|
|
||||||
margin-bottom: 10px;
|
input {
|
||||||
border: 1px solid var(--border-color);
|
width: 100%;
|
||||||
border-radius: #{$border-radius-extra-large};
|
padding: 10px 18px;
|
||||||
background: var(--background-color);
|
margin-bottom: 10px;
|
||||||
font-size: 14px;
|
border: 1px solid var(--border-color);
|
||||||
color: var(--input-text-color);
|
border-radius: #{$border-radius-extra-large};
|
||||||
|
background: var(--background-color);
|
||||||
&:focus {
|
font-size: 14px;
|
||||||
border-color: var(--border-color-accent);
|
color: var(--input-text-color);
|
||||||
outline: none;
|
|
||||||
}
|
&:focus {
|
||||||
}
|
border-color: var(--border-color-accent);
|
||||||
|
outline: none;
|
||||||
.password-container {
|
}
|
||||||
position: relative;
|
}
|
||||||
width: 100%;
|
|
||||||
|
.password-container {
|
||||||
.toggle-password {
|
position: relative;
|
||||||
@include flex-center;
|
width: 100%;
|
||||||
position: absolute;
|
|
||||||
top: 20px;
|
.toggle-password {
|
||||||
right: 10px;
|
@include flex-center;
|
||||||
height: 22px;
|
position: absolute;
|
||||||
width: 22px;
|
top: 20px;
|
||||||
transform: translateY(-50%);
|
right: 10px;
|
||||||
background: none;
|
height: 22px;
|
||||||
border: none;
|
width: 22px;
|
||||||
outline: none;
|
transform: translateY(-50%);
|
||||||
cursor: pointer;
|
background: none;
|
||||||
font-size: 16px;
|
border: none;
|
||||||
}
|
outline: none;
|
||||||
}
|
cursor: pointer;
|
||||||
|
font-size: 16px;
|
||||||
.continue-button {
|
}
|
||||||
width: 100%;
|
}
|
||||||
padding: 10px;
|
|
||||||
background: var(--background-color-button);
|
.continue-button {
|
||||||
color: var(--text-button-color);
|
width: 100%;
|
||||||
font-size: 14px;
|
padding: 10px;
|
||||||
border: none;
|
background: var(--background-color-button);
|
||||||
outline: none;
|
color: var(--text-button-color);
|
||||||
border-radius: #{$border-radius-extra-large};
|
font-size: 14px;
|
||||||
cursor: pointer;
|
border: none;
|
||||||
|
outline: none;
|
||||||
&:hover {
|
border-radius: #{$border-radius-extra-large};
|
||||||
opacity: 0.9;
|
cursor: pointer;
|
||||||
}
|
|
||||||
}
|
&:hover {
|
||||||
}
|
opacity: 0.9;
|
||||||
|
}
|
||||||
.policy-checkbox {
|
}
|
||||||
@include flex-center;
|
}
|
||||||
gap: 6px;
|
|
||||||
margin: 18px 0;
|
.policy-checkbox {
|
||||||
margin-top: 8px;
|
@include flex-center;
|
||||||
justify-content: flex-start;
|
gap: 6px;
|
||||||
width: 100%;
|
margin: 18px 0;
|
||||||
padding: 0 6px;
|
margin-top: 8px;
|
||||||
|
justify-content: flex-start;
|
||||||
input {
|
width: 100%;
|
||||||
width: 15px;
|
padding: 0 6px;
|
||||||
height: 15px;
|
|
||||||
margin: 0;
|
input {
|
||||||
accent-color: var(--accent-color);
|
width: 15px;
|
||||||
}
|
height: 15px;
|
||||||
}
|
margin: 0;
|
||||||
|
accent-color: var(--accent-color);
|
||||||
.policy {
|
}
|
||||||
font-size: 12px;
|
}
|
||||||
margin-top: 20px;
|
|
||||||
text-align: center;
|
.policy {
|
||||||
line-height: 1.5;
|
font-size: 12px;
|
||||||
width: 320px;
|
margin-top: 20px;
|
||||||
|
text-align: center;
|
||||||
.link {
|
line-height: 1.5;
|
||||||
color: var(--highlight-text-color);
|
width: 320px;
|
||||||
text-decoration: none;
|
|
||||||
|
.link {
|
||||||
&:hover {
|
color: var(--highlight-text-color);
|
||||||
text-decoration: underline;
|
text-decoration: none;
|
||||||
}
|
|
||||||
}
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
&::after {
|
}
|
||||||
content: "";
|
}
|
||||||
position: absolute;
|
|
||||||
background: var(--faint-gradient-color);
|
&::after {
|
||||||
height: 50vh;
|
content: "";
|
||||||
width: 50vw;
|
position: absolute;
|
||||||
top: 50%;
|
background: var(--faint-gradient-color);
|
||||||
left: 50%;
|
height: 50vh;
|
||||||
opacity: 0.5;
|
width: 50vw;
|
||||||
transform: translate(-50%, -50%);
|
top: 50%;
|
||||||
border-radius: #{$border-radius-circle};
|
left: 50%;
|
||||||
filter: blur(200px);
|
opacity: 0.5;
|
||||||
z-index: -1;
|
transform: translate(-50%, -50%);
|
||||||
}
|
border-radius: #{$border-radius-circle};
|
||||||
}
|
filter: blur(200px);
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user