Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Issue 3232 | Add labels #302

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions app/styles/directives/toggle-password.directive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ toggle-password {
.input-btn .tc-btn:active {
position: absolute;
right: 1px;
top: 1px;
top: 21px;
background: $tc-white;
border: 0;
border-left: 1px solid $tc-gray-30;
Expand All @@ -46,11 +46,4 @@ toggle-password {
margin-top: 0px;
}

label {
display: flex !important;
line-height: 20px !important;
position: absolute;
top: 10px;
right: 0px;
}
}
13 changes: 13 additions & 0 deletions app/styles/tc/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
@import "../tc-ui-variables";

.login-container {
label {
@include font-with-weight('Sofia Pro', 500);
margin: 5px 0;
display: block;
margin-bottom: 5px;
text-align: left;
color: $tc-gray-80;
font-size: 10px;
line-height: 10px;
height: initial;
text-align: left;
}

form {
display: flex;
flex-flow: column wrap;
Expand Down
1 change: 1 addition & 0 deletions app/views/directives/toggle-password.directive.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.input-btn
label(for="current-password-input") PASSWORD
input#current-password-input(
ng-model="vm.currentPassword",
ng-model-options="{allowInvalid: true}",
Expand Down
3 changes: 2 additions & 1 deletion app/views/tc/login.jade
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
p.form-error(ng-message="SOCIAL_LOGIN_ERROR" role="alert") User with that profile is not registered.

div.validation-bar(ng-class="{'error-bar': vm.loginErrors.USERNAME_NONEXISTANT}")
input(ng-model="vm.username", placeholder="Username or Email", type="text", required, aria-invalid="false")
label(for="username") USERNAME OR EMAIL
input(ng-model="vm.username", id="username", placeholder="Username or Email", type="text", required, aria-invalid="false")

toggle-password

Expand Down