Skip to content

Commit 896f395

Browse files
committed
style: 💄 just cosme indents
1 parent b59e4c3 commit 896f395

4 files changed

Lines changed: 233 additions & 233 deletions

File tree

‎src/_multiple.scss‎

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
.select2-container--bootstrap4 {
2-
.select2-selection--multiple {
2+
.select2-selection--multiple {
33

4-
// height of input box
5-
min-height: $input-height !important;
4+
// height of input box
5+
min-height: $input-height !important;
66

7-
// input box
8-
.select2-selection__rendered {
9-
box-sizing: border-box;
10-
list-style: none;
11-
margin: 0;
12-
padding: 0 5px;
13-
width: 100%;
14-
}
7+
// input box
8+
.select2-selection__rendered {
9+
box-sizing: border-box;
10+
list-style: none;
11+
margin: 0;
12+
padding: 0 5px;
13+
width: 100%;
14+
}
1515

16-
// each selected item in input box
17-
.select2-selection__choice {
18-
color: $dark;
19-
border: 1px solid darken($light, 20%);
20-
border-radius: $btn-border-radius-sm;
21-
padding: 0;
22-
padding-right: 5px;
23-
cursor: pointer;
24-
float: left;
25-
margin-top: 0.3em;
26-
margin-right: 5px;
27-
}
16+
// each selected item in input box
17+
.select2-selection__choice {
18+
color: $dark;
19+
border: 1px solid darken($light, 20%);
20+
border-radius: $btn-border-radius-sm;
21+
padding: 0;
22+
padding-right: 5px;
23+
cursor: pointer;
24+
float: left;
25+
margin-top: 0.3em;
26+
margin-right: 5px;
27+
}
2828

29-
// x button of each selected item in input box
30-
.select2-selection__choice__remove {
31-
color: darken($light, 20%);
32-
font-weight: bold;
33-
margin-left: 3px;
34-
margin-right: 1px;
35-
padding-right: 3px;
36-
padding-left: 3px;
37-
float: left;
29+
// x button of each selected item in input box
30+
.select2-selection__choice__remove {
31+
color: darken($light, 20%);
32+
font-weight: bold;
33+
margin-left: 3px;
34+
margin-right: 1px;
35+
padding-right: 3px;
36+
padding-left: 3px;
37+
float: left;
3838

39-
&:hover {
40-
color: $dark;
41-
}
42-
}
39+
&:hover {
40+
color: $dark;
41+
}
4342
}
43+
}
4444
}

‎src/_single.scss‎

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
.select2-container--bootstrap4 {
2-
.select2-selection--single {
2+
.select2-selection--single {
33

4-
// height of input box
5-
height: $input-height !important;
4+
// height of input box
5+
height: $input-height !important;
66

7-
// placeholder
8-
.select2-selection__placeholder {
9-
// #757575 is same color of placeholder (on Chrome)
10-
color: #757575;
11-
line-height: $input-height-inner;
12-
}
7+
// placeholder
8+
.select2-selection__placeholder {
9+
// #757575 is same color of placeholder (on Chrome)
10+
color: #757575;
11+
line-height: $input-height-inner;
12+
}
1313

14-
// arrow
15-
.select2-selection__arrow {
16-
position: absolute;
17-
top: 50%;
18-
right: 3px;
19-
width: 20px;
14+
// arrow
15+
.select2-selection__arrow {
16+
position: absolute;
17+
top: 50%;
18+
right: 3px;
19+
width: 20px;
2020

21-
b {
22-
top: 60%;
23-
border-color: $dark transparent transparent transparent;
24-
border-style: solid;
25-
border-width: 5px 4px 0 4px;
26-
width: 0;
27-
height: 0;
28-
left: 50%;
29-
margin-left: -4px;
30-
margin-top: -2px;
31-
position: absolute;
32-
}
33-
}
21+
b {
22+
top: 60%;
23+
border-color: $dark transparent transparent transparent;
24+
border-style: solid;
25+
border-width: 5px 4px 0 4px;
26+
width: 0;
27+
height: 0;
28+
left: 50%;
29+
margin-left: -4px;
30+
margin-top: -2px;
31+
position: absolute;
32+
}
33+
}
3434

35-
// selected item
36-
.select2-selection__rendered {
37-
line-height: $input-height-inner;
38-
}
35+
// selected item
36+
.select2-selection__rendered {
37+
line-height: $input-height-inner;
3938
}
39+
}
4040
}
4141

4242
// search box
4343
.select2-search--dropdown .select2-search__field {
44-
border: $input-border-width solid $input-border-color;
45-
border-radius: $input-border-radius;
44+
border: $input-border-width solid $input-border-color;
45+
border-radius: $input-border-radius;
4646
}
4747

4848
// no result message
4949
.select2-results__message {
50-
color: $secondary;
50+
color: $secondary;
5151
}

0 commit comments

Comments
 (0)