forked from ttskch/select2-bootstrap4-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_multiple.scss
44 lines (39 loc) · 1.13 KB
/
_multiple.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.select2-container--bootstrap4 {
.select2-selection--multiple {
// height of input box
min-height: $input-height !important;
// input box
.select2-selection__rendered {
box-sizing: border-box;
list-style: none;
margin: 0;
padding: 0 5px;
width: 100%;
}
// each selected item in input box
.select2-selection__choice {
color: $dark;
border: 1px solid darken($light, 20%);
border-radius: $btn-border-radius-sm;
padding: 0;
padding-right: 5px;
cursor: pointer;
float: left;
margin-top: 0.3em;
margin-right: 5px;
}
// x button of each selected item in input box
.select2-selection__choice__remove {
color: darken($light, 20%);
font-weight: bold;
margin-left: 3px;
margin-right: 1px;
padding-right: 3px;
padding-left: 3px;
float: left;
&:hover {
color: $dark;
}
}
}
}