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

Commit 5e8537a

Browse files
author
vikasrohit
committed
SUP-2930, Register--> 'Create Password' text fileld showing one line at beginning.
-- Fixed style of toggle with password directive to have smooth inner input box.
1 parent b0d5df1 commit 5e8537a

File tree

5 files changed

+25
-29
lines changed

5 files changed

+25
-29
lines changed

assets/css/account/account.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,6 @@
8181
input:not([type='checkbox']) {
8282
width: 300px;
8383
}
84-
toggle-password {
85-
input#current-password-input {
86-
border: none;
87-
box-shadow: none;
88-
height: 20px;
89-
width: 300px;
90-
outline: none;
91-
}
92-
}
9384
.tips,
9485
.email-tips,
9586
.password-tips {
@@ -117,11 +108,6 @@
117108
toggle-password {
118109
width: 380px;
119110
}
120-
toggle-password {
121-
input#current-password-input {
122-
width: 300px;
123-
}
124-
}
125111
// Social section
126112
.networks {
127113
display: block;

assets/css/account/login.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@
99
input[type='text'],
1010
toggle-password {
1111
width: 380px;
12-
padding-right: 10px;
1312
}
1413
toggle-password {
15-
input#current-password-input {
16-
width: 300px;
17-
}
1814
}
1915

2016
p + button {

assets/css/account/register.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
toggle-password-with-tips {
1515
width: 380px;
1616
}
17-
toggle-password,
18-
toggle-password-with-tips {
19-
input#password-input,
20-
input#current-password-input {
21-
width: 300px;
22-
}
23-
}
2417
input[name='firstname'],
2518
input[name='lastname'] {
2619
width: 185px;

assets/css/directives/toggle-password-with-tips.scss

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,22 @@ toggle-password-with-tips {
66
flex-direction: row;
77
align-items: center;
88
justify-content: space-between;
9+
position: relative;
10+
padding: 0px;
911

1012

1113
input#password-input {
12-
width: 155px;
1314
margin-bottom: 0;
14-
padding-left: 0;
1515
outline: 0;
16+
padding-left: 10px;
17+
padding-right: 64px;
18+
height: 100%;
19+
border: none;
20+
}
21+
22+
label {
23+
position: absolute;
24+
top: 10px;
25+
right: 0px;
1626
}
1727
}

assets/css/directives/toggle-password.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,22 @@ toggle-password {
66
flex-direction: row;
77
align-items: center;
88
justify-content: space-between;
9+
position: relative;
10+
padding: 0px;
911

1012
input#current-password-input {
11-
width: 155px;
1213
margin-bottom: 0;
13-
padding-left: 0;
1414
outline: 0;
15+
width: 100%;
16+
padding-left: 10px;
17+
padding-right: 64px;
18+
height: 100%;
19+
border: none;
20+
}
21+
22+
label {
23+
position: absolute;
24+
top: 10px;
25+
right: 0px;
1526
}
1627
}

0 commit comments

Comments
 (0)