-
-
Save ianhalpern/c528c5f2b1d8e5b2e330b15eaa22a572 to your computer and use it in GitHub Desktop.
Payload Secure Input Bootstrap 4 Style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
NOTE: | |
You must also override the default invalid class in Javascript | |
setting is to "is-invalid". | |
pl.Form({ | |
form: document.getElementById('checkout-form'), | |
styles: { invalid: 'is-invalid' } | |
}) | |
*/ | |
.form-control.pl-input.pl-focus { | |
color: #495057; | |
background-color: #fff; | |
border-color: #80bdff; | |
box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); | |
outline:none; | |
} | |
.form-control.pl-input.pl-focus.is-invalid { | |
border-color: #dc3545; | |
box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment