Validate username exists on keypress

This commit is contained in:
jonfalcon
2016-02-16 16:10:31 -08:00
parent 8566dd6afa
commit ac3a0eacfa
5 changed files with 130 additions and 40 deletions
+10 -6
View File
@@ -784,6 +784,10 @@
.um-faicon-spinner:before {
content: "\f110";
}
.um-faicon-spin {
-webkit-animation: um-faicon-spin 2s infinite linear;
animation: um-faicon-spin 2s infinite linear;
}
.um-faicon-circle:before {
content: "\f111";
}
@@ -1532,7 +1536,7 @@
content: "\f20c";
}
@-moz-keyframes spin {
@-moz-keyframes um-faicon-spin {
0% {
-moz-transform: rotate(0deg);
}
@@ -1540,7 +1544,7 @@
-moz-transform: rotate(359deg);
}
}
@-webkit-keyframes spin {
@-webkit-keyframes um-faicon-spin {
0% {
-webkit-transform: rotate(0deg);
}
@@ -1548,7 +1552,7 @@
-webkit-transform: rotate(359deg);
}
}
@-o-keyframes spin {
@-o-keyframes um-faicon-spin {
0% {
-o-transform: rotate(0deg);
}
@@ -1556,7 +1560,7 @@
-o-transform: rotate(359deg);
}
}
@-ms-keyframes spin {
@-ms-keyframes um-faicon-spin {
0% {
-ms-transform: rotate(0deg);
}
@@ -1564,11 +1568,11 @@
-ms-transform: rotate(359deg);
}
}
@keyframes spin {
@keyframes um-faicon-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
}
}
+10 -1
View File
@@ -753,6 +753,15 @@ small.um-max-filesize span{
}
.um-form .um-field .um-field-area input.um-form-field.um-validate-not-matched,
.um-form .um-field .um-field-area input.um-form-field.um-validate-not-matched:focus {
.um-form .um-field .um-field-area input.um-form-field.um-validate-not-matched:focus,
.um-form .um-field .um-field-area input.um-form-field.um-validate-username-exists,
.um-form .um-field .um-field-area input.um-form-field.um-validate-username-exists:focus {
border-color: #DB2929 !important;
}
.um-form .um-field .um-field-area input.um-searching-username {
background-image: url('../img/loading.gif');
background-position: right center;
background-repeat: no-repeat;
background-size: 24px 24px;
}