diff options
Diffstat (limited to 'ufund-ui/src/app/components/login')
| -rw-r--r-- | ufund-ui/src/app/components/login/login.component.css | 22 | ||||
| -rw-r--r-- | ufund-ui/src/app/components/login/login.component.html | 16 | 
2 files changed, 26 insertions, 12 deletions
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>  | 
