aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/login/login.component.html
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 20:23:30 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 20:23:30 +0200
commit9906b285148f54b4060c71012854a814409cc9d7 (patch)
tree6bc62baa8fd2d10ef99144d950a30c2a48e851b3 /src/app/components/login/login.component.html
parent75594e7eac044e9398fd1b74246f22cabe6ddeba (diff)
downloadDevHive-Angular-9906b285148f54b4060c71012854a814409cc9d7.tar
DevHive-Angular-9906b285148f54b4060c71012854a814409cc9d7.tar.gz
DevHive-Angular-9906b285148f54b4060c71012854a814409cc9d7.zip
Improved readability and consistency of font-size, text, border, colors and padding CSS class names
Diffstat (limited to 'src/app/components/login/login.component.html')
-rw-r--r--src/app/components/login/login.component.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html
index 5ed1ac8..7649a3c 100644
--- a/src/app/components/login/login.component.html
+++ b/src/app/components/login/login.component.html
@@ -1,25 +1,25 @@
-<main class="centered-content flex-col flex-center-align-items flex-justify-center full-height">
- <summary class="title card full-width no-margin padding-small">Login</summary>
+<main class="centered-content flex-col flex-center-align-items flex-justify-center height-full">
+ <summary class="title card width-full no-margin padding-dot2">Login</summary>
- <app-error-bar class="full-width margin-top-normal"></app-error-bar>
+ <app-error-bar class="width-full margin-top-normal"></app-error-bar>
- <form class="full-width card padding-big" [formGroup]="loginUserFormGroup" (ngSubmit)="onSubmit()">
- <section class="input-selection full-width">
- <input type="text" placeholder="Username" class="fancy-input full-width faded-slim-border border-bottom-only" formControlName="username" required>
- <label class="fancy-input-label full-width">Username</label>
+ <form class="width-full card padding-dot6" [formGroup]="loginUserFormGroup" (ngSubmit)="onSubmit()">
+ <section class="input-selection width-full">
+ <input type="text" placeholder="Username" class="fancy-input width-full border-faded-slim border-bottom-only" formControlName="username" required>
+ <label class="fancy-input-label width-full">Username</label>
<div class="input-errors">
<label *ngIf="loginUserFormGroup.get('username')?.errors?.required" class="error">*Required</label>
</div>
</section>
<section class="input-selection">
- <input type="password" placeholder="Password" class="fancy-input full-width faded-slim-border border-bottom-only" formControlName="password" required>
- <label class="fancy-input-label full-width">Password</label>
+ <input type="password" placeholder="Password" class="fancy-input width-full border-faded-slim border-bottom-only" formControlName="password" required>
+ <label class="fancy-input-label width-full">Password</label>
<div class="input-errors">
<label *ngIf="loginUserFormGroup.get('password')?.errors?.required" class="error">*Required</label>
</div>
</section>
- <button class="faded-slim-border padding-smaller lighter-hover click-effect border-radius-smaller full-width" type="submit">Submit</button>
+ <button class="border-faded-slim padding-dot3 lighter-hover click-effect border-radius-dot3 width-full" type="submit">Submit</button>
</form>
- <button class="focus-fg-color faded-slim-border padding-smaller lighter-hover click-effect border-radius-smaller full-width margin-top-normal" (click)="onRedirectRegister()">New to DevHive? Register instead</button>
+ <button class="fg-focus border-faded-slim padding-dot3 lighter-hover click-effect border-radius-dot3 width-full margin-top-normal" (click)="onRedirectRegister()">New to DevHive? Register instead</button>
</main>