-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
select.scss
50 lines (45 loc) · 991 Bytes
/
select.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
45
46
47
48
49
50
.select {
@extend .d-flex;
@extend .flex-wrap;
@extend .align-items-center;
}
.select input {
@extend .flex-fill;
width: 0;
margin: 0;
padding: 0;
border: none;
outline: none;
}
.select .dropdown-menu {
max-height: 21rem;
overflow-y: auto;
}
.select .option {
@extend .badge;
@extend .bg-primary;
@extend .me-1;
margin-top: 1px;
margin-bottom: 1px;
}
.focus {
color: var(--bs-body-color, $input-focus-color);
background-color: var(--bs-form-control-bg, $input-focus-bg);
border-color: $input-focus-border-color;
outline: 0;
@if $enable-shadows {
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
} @else {
box-shadow: $input-focus-box-shadow;
}
}
@each $state, $data in $form-validation-states {
.is-#{$state}.focus {
border-color: map-get($data, "color");
box-shadow: 0
0
$input-btn-focus-blur
$input-focus-width
rgba(map-get($data, "color"), $input-btn-focus-color-opacity);
}
}