diff --git a/app.vue b/app.vue index ce479ee..a73fec8 100644 --- a/app.vue +++ b/app.vue @@ -9,7 +9,13 @@ diff --git a/components/LoginForm.vue b/components/LoginForm.vue index 411b896..d6766bf 100644 --- a/components/LoginForm.vue +++ b/components/LoginForm.vue @@ -4,13 +4,13 @@ -
Login
+
Login
@@ -21,14 +21,13 @@
- +
@@ -37,10 +36,10 @@
{{ errorMsg }}
- - +
+ + +
@@ -162,22 +161,22 @@ export default { align-items: center; justify-content: center; width: 31.25rem; - height: 33rem; + min-height: 33rem; + height: fit-content; border-radius: 0.625rem; padding: 2.5rem 1.875rem; gap: 1.875rem; } - .form-darkmode { border: 0.0625rem solid #000; background-color: #2c2c2c; } - .form-lightmode { border: 0.0625rem solid #8e8e8e; background-color: #fff; } + .title-field { display: flex; flex-direction: column; @@ -192,7 +191,6 @@ export default { width: 3.125rem; height: 3.125rem; } - .title-icon>img { width: 3.125rem; height: 3.125rem; @@ -203,20 +201,14 @@ export default { .title { margin: 0; - letter-spacing: 5%; + letter-spacing: 0.05rem; white-space: nowrap; font: 400 1.875rem/1.875rem Overpass, sans-serif; } +.title-darkmode { color: #ffffff; } +.title-lightmode { color: #000000; } -.pre-darkmode, -.title-darkmode { - color: #fff; -} -.pre-lightmode, -.title-lightmode { - color: #000; -} .login-field { display: flex; @@ -227,6 +219,7 @@ export default { gap: 1.25rem; } + .form-field { display: flex; flex-direction: column; @@ -238,16 +231,6 @@ export default { gap: 0.625rem; } -.form-field-error-msg { - display: flex; - flex-direction: column; - align-items: center; - justify-content: space-between; - width: 25rem; - height: 3rem; - gap: 0.4rem; -} - label { display: flex; flex-direction: row; @@ -265,43 +248,28 @@ label { width: 1.875rem; height: 1.875rem; } - .icon>img { object-fit: contain; object-position: center; overflow: hidden; } - -.icon-darkmode>img { - filter: invert(100%); -} - -.icon-lightmode>img { - filter: invert(0%); -} - #username-icon>img { width: auto; height: 0.9375rem; -} - +} #password-icon>img { width: 0.9375rem; height: auto; } +.icon-darkmode>img { filter: invert(100%); } +.icon-lightmode>img { filter: invert(0%); } .label { - letter-spacing: 2%; + letter-spacing: 0.02rem; font: 400 0.9375rem/1.875rem Overpass, sans-serif; } - -.label-darkmode { - color: #fff; -} - -.label-lightmode { - color: #000; -} +.label-darkmode { color: #ffffff; } +.label-lightmode { color: #000000; } .input-field { display: flex; @@ -314,15 +282,9 @@ label { border-radius: 0.3125rem; padding: 0.1875rem 0.625rem; box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset; -} - -.input-darkmode { - background-color: #212121; -} - -.input-lightmode { - background-color: #EBEBEB; -} +} +.input-darkmode { background-color: #212121; } +.input-lightmode { background-color: #EBEBEB; } input[type=text] { width: 100%; @@ -330,40 +292,63 @@ input[type=text] { background-color: #00000000; border: none; color: #8e8e8e; - letter-spacing: 5%; + letter-spacing: 0.01rem; white-space: nowrap; font: 100 0.75rem/1.25rem Overpass, sans-serif; } -input[type=button] { +#show-password-toggle { width: fit-content; + height: auto; align-self: flex-end; + padding: 0; + border-radius: 0; background-color: #00000000; + background: none; border: none; - letter-spacing: 5%; + letter-spacing: 0.01rem; white-space: nowrap; font: 300 0.75rem/1.25rem Overpass, sans-serif; } -.button-darkmode { - color: #fff; + + +.form-field-error-msg { + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + width: 25rem; + height: 3rem; + gap: 0.4rem; } -.button-lightmode { - color: #000; + + +.buttons { + display: flex; + flex-direction: row; + height: fit-content; + width: 100%; + align-items: center; + justify-content: center; + padding: 0.625rem 0.625rem 0; + gap: 2.5rem; } -#login-button { - width: 13.75rem; - height: 4.375rem; + +input[type=button] { + width: 9.375rem; + height: 3.125rem; padding: 0.625rem; border-radius: 0.625rem; align-self: center; border: none; - color: #000; background: linear-gradient(93deg, #ff0f00 3.67%, #ffe608 100%); - letter-spacing: 2%; + letter-spacing: 0.02rem; white-space: nowrap; - font: 600 1.25rem/1.875rem Overpass, sans-serif; + font: 600 1.125rem/1.875rem Overpass, sans-serif; } +.button-darkmode { color: #ffffff; } +.button-lightmode { color: #000000; } \ No newline at end of file diff --git a/layouts/Actionbar.vue b/layouts/Actionbar.vue index f1c7dad..80331fb 100644 --- a/layouts/Actionbar.vue +++ b/layouts/Actionbar.vue @@ -1,12 +1,12 @@