Penambahan FrontEnd All-New-Manufacture
This commit is contained in:
67
public/scss/components/forms/_form-validation.scss
Normal file
67
public/scss/components/forms/_form-validation.scss
Normal file
@@ -0,0 +1,67 @@
|
||||
/////////////////////////////
|
||||
// Bootstrap validation
|
||||
/////////////////////////////
|
||||
.form-control.is-valid {
|
||||
border-color: $success !important;
|
||||
border-#{$dlab-pos-right}: 0rem !important;
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control.is-warning {
|
||||
border-color: $warning !important;
|
||||
border-#{$dlab-pos-right}: 0rem !important;
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control.is-invalid {
|
||||
border-color: $danger !important;
|
||||
border-#{$dlab-pos-right}: 0rem !important;
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////
|
||||
// Jquery Validation
|
||||
////////////////////////
|
||||
.is-valid {
|
||||
.input-group-prepend {
|
||||
.input-group-text {
|
||||
i {
|
||||
color: $success;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.is-invalid {
|
||||
.input-group-prepend {
|
||||
.input-group-text {
|
||||
i {
|
||||
color: var(--rgba-primary-2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Show Pass
|
||||
.show-pass{
|
||||
cursor:pointer;
|
||||
|
||||
.fa-eye{
|
||||
display:none;
|
||||
}
|
||||
|
||||
&.active{
|
||||
.fa-eye-slash{
|
||||
display:none;
|
||||
}
|
||||
.fa-eye{
|
||||
display:inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user