Skip to content

Commit 950bf99

Browse files
author
Olga Kopylova
committed
MAGETWO-33443: Password strength validator on installation wizard works in over-exacting mode
- fixed UI
1 parent 48d3e19 commit 950bf99

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

setup/module/Magento/Setup/styles/components/tooltips/_password-strength.less

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
display: block;
88
margin: 0 -.3rem 1em;
99
white-space: nowrap;
10-
&.password-strength-to-short {
10+
&.password-strength-too-short {
1111
.password-strength-item {
1212
&:first-child {
1313
background-color: @color-failed;
@@ -20,10 +20,19 @@
2020
background-color: @color-warning;
2121
}
2222
}
23-
&.password-strength-good {
23+
&.password-strength-fair {
2424
.password-strength-item:first-child,
2525
.password-strength-item:first-child + .password-strength-item,
2626
.password-strength-item:first-child + .password-strength-item + .password-strength-item {
27+
background-color: @color-warning;
28+
}
29+
}
30+
&.password-strength-good {
31+
.password-strength-item:first-child,
32+
.password-strength-item:first-child + .password-strength-item,
33+
.password-strength-item:first-child + .password-strength-item + .password-strength-item,
34+
.password-strength-item:first-child + .password-strength-item + .password-strength-item
35+
+ .password-strength-item {
2736
background-color: @color-success;
2837
}
2938
}
@@ -38,6 +47,6 @@
3847
font-size: 0;
3948
height: 1.4rem;
4049
margin-right: .3rem;
41-
width: ~'calc(25% - .6rem)';
50+
width: ~'calc(20% - .6rem)';
4251
}
4352
}

0 commit comments

Comments
 (0)