Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 989ac85

Browse files
committed
Refactoring, allowing to colorize the input and tests
1 parent ed8388e commit 989ac85

File tree

9 files changed

+503
-583
lines changed

9 files changed

+503
-583
lines changed

dist/react-nice-input-password.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
box-sizing: border-box;
55
display: block;
66
margin: 5px 0 10px; }
7+
.input-password input:focus {
8+
outline: none; }
79
.input-password--wide input {
810
width: 100%; }
911
.input-password__description {
@@ -50,3 +52,11 @@
5052
background-color: #F7BC1C; }
5153
.input-password__marker > div.success {
5254
background-color: #17D499; }
55+
.input-password .none input {
56+
border-color: #F2F2F2; }
57+
.input-password .danger input {
58+
border-color: #F79682; }
59+
.input-password .warning input {
60+
border-color: #F7BC1C; }
61+
.input-password .success input {
62+
border-color: #17D499; }

0 commit comments

Comments
 (0)