Skip to content

Commit 88f0800

Browse files
committed
Add SCSS variables
Close #51
1 parent 5ce55e8 commit 88f0800

File tree

7 files changed

+115
-65
lines changed

7 files changed

+115
-65
lines changed

dist/select2-bootstrap4.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,18 @@
5555
select.is-invalid ~ .select2-container--bootstrap4 .select2-selection,
5656
form.was-validated select:invalid ~ .select2-container--bootstrap4 .select2-selection {
5757
border-color: #dc3545; }
58+
select.is-invalid ~ .select2-container--bootstrap4 .select2-selection:focus,
59+
form.was-validated select:invalid ~ .select2-container--bootstrap4 .select2-selection:focus {
60+
border-color: #dc3545;
61+
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); }
5862

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

6371
.select2-container--bootstrap4 .select2-dropdown {
6472
border-color: #ced4da;

dist/select2-bootstrap4.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)