From b887ac262453bd83b05f7f8bc8c897333826479e Mon Sep 17 00:00:00 2001 From: Beesquit Date: Thu, 4 Sep 2025 15:53:13 +0300 Subject: [PATCH] updated login page styling --- src/index.css | 9 ++++--- src/pages/login/login.css | 55 ++++++++++++++++++++++++++++++++++++++- src/pages/login/login.tsx | 24 ++++++++++++----- 3 files changed, 77 insertions(+), 11 deletions(-) diff --git a/src/index.css b/src/index.css index 5bb4408..d1bc414 100644 --- a/src/index.css +++ b/src/index.css @@ -2,8 +2,11 @@ --background_dark: #242424; --text_dark: rgba(255, 255, 255, 0.87); - --buttons-main-color: #63001e; - --buttons-press-color: #ff3e78; + --links-main-color: #cc3f69; + + --buttons-main-color: #a80032; + --buttons-hover-color: #92002c; + --buttons-press-color: #63001e; font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; line-height: 1.5; @@ -23,7 +26,7 @@ body { margin: 0; padding: 0; width: 100vw; - max-width: 100%; height: 100vh; + max-width: 100%; max-height: 100%; } diff --git a/src/pages/login/login.css b/src/pages/login/login.css index 192dc5c..858513d 100644 --- a/src/pages/login/login.css +++ b/src/pages/login/login.css @@ -6,6 +6,7 @@ justify-content: space-between; } + .login-right { display: flex; height: 100%; @@ -26,9 +27,61 @@ } -.login-block { +.login-logo-block { display: flex; flex-direction: column; justify-content: center; align-items: center; + margin-bottom: auto; + outline: solid 1px khaki; +} + +.login-login-block { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + outline: solid 1px aquamarine; +} + + +.login-links-block { + display: flex; + flex-direction: row; + justify-content: space-around; + align-items: center; + margin-top: auto; + margin-bottom: 2vh; + outline: solid 1px olive; + font-size: xx-small; +} + + +.login-button { + margin-top: "10px"; + padding: 16px 32px; + font-size: 16px; + border-radius: 12px; + background-color: var(--buttons-main-color); + color: var(--text_dark); + border: none; + cursor: pointer; + text-align: center; + text-decoration: none; +} + +.login-button:hover { + background-color: var(--buttons-hover-color); + color: var(--text_dark); +} + +.login-button:active { + background-color: var(--buttons-press-color); + color: var(--text_dark); +} + + +.login-link { + color: var(--links-main-color); + text-decoration: none; } diff --git a/src/pages/login/login.tsx b/src/pages/login/login.tsx index 5569a96..f35de10 100644 --- a/src/pages/login/login.tsx +++ b/src/pages/login/login.tsx @@ -48,7 +48,11 @@ const Login = () => {
-
+

+ I'm logo!! +

+ {/* logo */} +

Login

@@ -79,16 +83,22 @@ const Login = () => { showError={passwordEmpty} errorMessage="Please enter your password" /> -
+
+

+ Frontend +

+

+ Backend +

+

+ Creator profile +

+
);