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

Commit 42f1e79

Browse files
author
vikasrohit
committed
Merge pull request #648 from appirio-tech/feature/sup-2930-toggle-with-pwd-style
SUP-2930, Register--> 'Create Password' text fileld showing one line at beginning.
2 parents 4ac7753 + fdf3733 commit 42f1e79

File tree

6 files changed

+30
-39
lines changed

6 files changed

+30
-39
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 & 13 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;
@@ -86,9 +79,3 @@
8679
position: initial;
8780
}
8881
}
89-
90-
toggle-password-with-tips label {
91-
display: flex !important;
92-
line-height: 20px !important;
93-
padding-right: 10px !important;
94-
}

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,24 @@ 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+
display: flex !important;
24+
line-height: 20px !important;
25+
position: absolute;
26+
top: 10px;
27+
right: 0px;
1628
}
1729
}

assets/css/directives/toggle-password.scss

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,24 @@ 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+
display: flex !important;
24+
line-height: 20px !important;
25+
position: absolute;
26+
top: 10px;
27+
right: 0px;
1528
}
1629
}

assets/css/settings/settings.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,7 @@
360360
@media only screen and (min-width: 768px) {
361361
}
362362
.password {
363-
padding-left: 30px;
364-
height: 40px;
365-
padding-left: 15px;
366-
padding-right: 5px;
363+
padding-left: 0px;/* to override the padding set by topcoder.scss for forms */
367364
&:hover {
368365
cursor: text;
369366
}

0 commit comments

Comments
 (0)