From 371c9c79975ec82fb1afc62e6054907b0eff356d Mon Sep 17 00:00:00 2001 From: Amira24523 <85802878+Amira24523@users.noreply.github.com> Date: Thu, 11 May 2023 21:40:54 +0200 Subject: [PATCH] Login design update --- anwendung/src/Tests/login.jsx | 34 ++++++++++++++++------------ anwendung/src/pages/index.js | 4 ---- anwendung/src/styles/globals.css | 39 ++++++++++++++++++++------------ 3 files changed, 43 insertions(+), 34 deletions(-) diff --git a/anwendung/src/Tests/login.jsx b/anwendung/src/Tests/login.jsx index 9d23356..a76aa3d 100644 --- a/anwendung/src/Tests/login.jsx +++ b/anwendung/src/Tests/login.jsx @@ -1,18 +1,22 @@ import {useState} from "react"; import Button from "@/components/Button"; -export default function Login(){ - return( -
- -

Login

-

Username

- -

Password

- -
-
- ); -} \ No newline at end of file +export default function Login() { + + return ( +
+ +

Login

+
+
+

Username

+ +
+

Password

+ +
+
+ ); + } \ No newline at end of file diff --git a/anwendung/src/pages/index.js b/anwendung/src/pages/index.js index c8afcd7..fc797ae 100644 --- a/anwendung/src/pages/index.js +++ b/anwendung/src/pages/index.js @@ -21,10 +21,6 @@ export default function Home(p) { <> -
- - -
diff --git a/anwendung/src/styles/globals.css b/anwendung/src/styles/globals.css index 60cd88e..a017194 100644 --- a/anwendung/src/styles/globals.css +++ b/anwendung/src/styles/globals.css @@ -388,35 +388,44 @@ Login { border: 1px solid #000000; border-radius: 5px; - padding: 5px; - width: 200px; } .input { padding: 5px; - width: 200px; - background-color: aliceblue; + background-color: #f7f7f7; border-radius: 5px; font-family: Arial, serif; font-size: 16px; - font-color: white; + font-color: black; } -.phone-1{ +.border{ width: 375px; height: 350px; - background-color: #ffffff; + background-color: #f9ccd1; border-radius: 5px; - border-width: 3px; + border-width: 2px; border-color: #1e2428; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; gap: 10px; } -.placement{ - text-align: left; +.placement { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: left; } - +.font-kinda-big{ + font-size: 18px; +} +.font-big-fat { + font-size: 22px; + font-weight: bold; +} +.input-sm { + height: 2rem/* 32px */; + padding-left: 0.75rem/* 12px */; + padding-right: 0.75rem/* 12px */; + font-size: 0.875rem/* 14px */; + line-height: 2rem/* 32px */; + }