front end fixes

This commit is contained in:
2020-07-01 16:08:19 -04:00
parent b8f632e644
commit fb3e6ca7dc
11 changed files with 92 additions and 82 deletions

View File

@ -1,13 +1,19 @@
.hover-effect {
transition: all .5s ease;
*{
transition: all .4s ease;
}
.hover-effect:hover {
color: darkblue;
transition: all .5s ease;
a:hover, button:hover, div.form-group:hover{
color: inherit;
transition: all .4s ease;
background-color: inherit;
-ms-transform: scale(1.1);
-webkit-transform: scale(1.1);
transform: scale(1.1); /* Standard syntax */
-ms-transform: scale(1.05);
-webkit-transform: scale(1.05);
transform: scale(1.05); /* Standard syntax */
z-index: 999999;
}
div.card-body{
padding-left: 1.5em;
padding-right: 1.5em;
}

View File

@ -20,7 +20,7 @@
return;
}
$( '<b>' ).html( ' - ' + error_message ).appendTo( $input.parents('.form-group').children( 'label' ) );
$( '<b style="color:#dc3545" class="jvalidate-error">' ).html( ' - ' + error_message ).appendTo( $input.parents('.form-group').children( 'label' ) );
$input.addClass("is-invalid");
failedCount++;
return false;
@ -35,7 +35,7 @@
value = $input.val(), //link to input value
rule = attr[0];
$input.parents('.form-group').children( 'label' ).children( 'b' ).remove(); //removes old error
$input.parents('.form-group').children( 'label' ).children( '.jvalidate-error' ).remove(); //removes old error
$input.removeClass( "is-invalid" ); //removes is-invalid class
//checks if field is required, and length