aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-22 00:04:40 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-22 00:04:40 -0400
commit0be2b5868bdda04146a22ec81596dbbb81922360 (patch)
tree27890e6141140bdfaf05f4824885d5a7f12c4739
parent0ba69e502b89ed2d8fe51b3b8b40eb8fba5830e1 (diff)
downloadJellySolutions-0be2b5868bdda04146a22ec81596dbbb81922360.tar.gz
JellySolutions-0be2b5868bdda04146a22ec81596dbbb81922360.tar.bz2
JellySolutions-0be2b5868bdda04146a22ec81596dbbb81922360.zip
improve login page
-rw-r--r--ufund-ui/src/app/app.component.css7
-rw-r--r--ufund-ui/src/app/components/login/login.component.css22
-rw-r--r--ufund-ui/src/app/components/login/login.component.html16
-rw-r--r--ufund-ui/src/styles.css9
4 files changed, 41 insertions, 13 deletions
diff --git a/ufund-ui/src/app/app.component.css b/ufund-ui/src/app/app.component.css
index b2dfb87..63608c0 100644
--- a/ufund-ui/src/app/app.component.css
+++ b/ufund-ui/src/app/app.component.css
@@ -1,10 +1,15 @@
+:host {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+}
+
#header {
display: flex;
flex-direction: row;
justify-content: space-between;
border-bottom: black solid 1px;
padding: 0 10px;
- background-color: #d9d9d9;
h1 {
padding: 0;
diff --git a/ufund-ui/src/app/components/login/login.component.css b/ufund-ui/src/app/components/login/login.component.css
index 435cc87..cae0992 100644
--- a/ufund-ui/src/app/components/login/login.component.css
+++ b/ufund-ui/src/app/components/login/login.component.css
@@ -1,8 +1,20 @@
-:host, .border {
- display: flex;
- flex-direction: column;
- max-width: 300px;
- gap: 5px
+:host {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ background-image: url("https://www.fineshare.com/background/jellyfish-under-fluorescent-illumination.jpg");
+}
+
+#box {
+ display: flex;
+ flex-direction: column;
+ max-width: 330px;
+ gap: 5px;
+ backdrop-filter: blur(10px);
+ background-color: rgba(0, 0, 0, 0.1);
+ padding: 30px;
+ color: white;
}
.border {
diff --git a/ufund-ui/src/app/components/login/login.component.html b/ufund-ui/src/app/components/login/login.component.html
index 2cdb6d0..aff108f 100644
--- a/ufund-ui/src/app/components/login/login.component.html
+++ b/ufund-ui/src/app/components/login/login.component.html
@@ -1,7 +1,9 @@
-<span *ngIf="next" style="color: red">You must be logged in to view this page</span>
-<p>Login:</p>
-<input placeholder="Username" type="text" #username>
-<input placeholder="Password" type="password" #password>
-<button type="button" (click)="login(username.value, password.value)">Login</button>
-<button type="button" (click)="signup(username.value, password.value)">Create Account</button>
-<span *ngIf="statusText">{{statusText | async}}</span>
+<div id="box">
+ <span *ngIf="next" style="color: red">You must be logged in to view this page</span>
+ <p>Login:</p>
+ <input placeholder="Username" type="text" #username>
+ <input placeholder="Password" type="password" #password>
+ <button type="button" (click)="login(username.value, password.value)">Login</button>
+ <button type="button" (click)="signup(username.value, password.value)">Create Account</button>
+ <span *ngIf="statusText">{{statusText | async}}</span>
+</div>
diff --git a/ufund-ui/src/styles.css b/ufund-ui/src/styles.css
index 471f272..fdf67c7 100644
--- a/ufund-ui/src/styles.css
+++ b/ufund-ui/src/styles.css
@@ -6,8 +6,17 @@
html, body {
margin: 0;
+ height: 100%;
}
body {
font-family: sans-serif;
}
+
+input {
+ font-size: 14pt;
+}
+
+button, .button {
+ font-size: 14pt;
+}