Skip to content

Commit

Permalink
Add SCSS variables
Browse files Browse the repository at this point in the history
Close ttskch#51
  • Loading branch information
tagliala committed Mar 13, 2021
1 parent 67d9719 commit fc0e9a1
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 66 deletions.
8 changes: 8 additions & 0 deletions dist/select2-bootstrap4.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,18 @@
select.is-invalid ~ .select2-container--bootstrap4 .select2-selection,
form.was-validated select:invalid ~ .select2-container--bootstrap4 .select2-selection {
border-color: #dc3545; }
select.is-invalid ~ .select2-container--bootstrap4 .select2-selection:focus,
form.was-validated select:invalid ~ .select2-container--bootstrap4 .select2-selection:focus {
border-color: #dc3545;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); }

select.is-valid ~ .select2-container--bootstrap4 .select2-selection,
form.was-validated select:valid ~ .select2-container--bootstrap4 .select2-selection {
border-color: #28a745; }
select.is-valid ~ .select2-container--bootstrap4 .select2-selection:focus,
form.was-validated select:valid ~ .select2-container--bootstrap4 .select2-selection:focus {
border-color: #28a745;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); }

.select2-container--bootstrap4 .select2-dropdown {
border-color: #ced4da;
Expand Down
2 changes: 1 addition & 1 deletion dist/select2-bootstrap4.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fc0e9a1

Please sign in to comment.