|
7 | 7 | --bb-select-focus-shadow: #{$bb-select-focus-shadow}; |
8 | 8 | --bb-select-padding-right: #{$bb-select-padding-right}; |
9 | 9 | --bb-select-padding: #{$bb-select-padding}; |
10 | | - --bb-select-search-padding: #{$bb-select-search-padding}; |
11 | | - --bb-select-search-margin-bottom: #{$bb-select-search-margin-bottom}; |
12 | | - --bb-select-search-border-color: #{$bb-select-search-border-color}; |
13 | | - --bb-select-search-padding-right: #{$bb-select-search-padding-right}; |
14 | | - --bb-select-search-icon-color: #{$bb-select-search-icon-color}; |
15 | | - --bb-select-search-icon-right: #{$bb-select-search-icon-right}; |
16 | | - --bb-select-search-icon-top: #{$bb-select-search-icon-top}; |
17 | | - --bb-select-search-height: #{$bb-select-search-height}; |
18 | 10 | --bb-select-append-width: #{$bb-select-append-width}; |
19 | 11 | --bb-select-append-color: #{$bb-select-append-color}; |
20 | 12 | } |
21 | 13 |
|
22 | 14 | .select:not(.cascade) .dropdown-menu { |
23 | | - overflow-x: hidden; |
24 | 15 | width: 100%; |
25 | 16 | } |
26 | 17 |
|
|
48 | 39 | background-color: var(--bs-secondary-bg); |
49 | 40 | } |
50 | 41 |
|
51 | | -.dropdown-menu { |
52 | | - --bs-dropdown-border-radius: var(--bs-border-radius); |
53 | | - overflow: auto; |
54 | | - max-height: var(--bb-dropdown-max-height); |
55 | | -} |
56 | | - |
57 | | -.dropdown-menu .dropdown-virtual { |
58 | | - overflow-y: auto; |
59 | | - margin: calc(0px - var(--bs-dropdown-padding-y)) var(--bs-dropdown-padding-x); |
60 | | - padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x); |
61 | | -} |
62 | | - |
63 | | -.dropdown-menu .search + .dropdown-virtual { |
64 | | - max-height: calc(var(--bb-dropdown-max-height) - var(--bb-select-search-height)); |
65 | | -} |
66 | | - |
67 | 42 | .dropdown-item { |
68 | 43 | cursor: pointer; |
69 | 44 | } |
|
209 | 184 | } |
210 | 185 |
|
211 | 186 | .dropdown-menu { |
212 | | - &.is-fixed-search { |
213 | | - .dropdown-menu-body { |
214 | | - max-height: calc(var(--bb-dropdown-max-height) - 76px); |
215 | | - overflow: auto; |
216 | | - } |
217 | | - } |
| 187 | + --bb-select-search-padding: #{$bb-select-search-padding}; |
| 188 | + --bb-select-search-margin-bottom: #{$bb-select-search-margin-bottom}; |
| 189 | + --bb-select-search-padding-right: #{$bb-select-search-padding-right}; |
| 190 | + --bb-select-search-border-color: #{$bb-select-search-border-color}; |
| 191 | + --bb-select-search-icon-color: #{$bb-select-search-icon-color}; |
| 192 | + --bb-select-search-icon-right: #{$bb-select-search-icon-right}; |
| 193 | + --bb-select-search-icon-top: #{$bb-select-search-icon-top}; |
| 194 | + --bb-select-search-height: #{$bb-select-search-height}; |
218 | 195 |
|
219 | 196 | .dropdown-menu-search { |
220 | 197 | padding: var(--bb-select-search-padding); |
|
237 | 214 | } |
238 | 215 | } |
239 | 216 |
|
| 217 | + .dropdown-menu-body { |
| 218 | + max-height: var(--bb-dropdown-max-height); |
| 219 | + overflow: auto; |
| 220 | + } |
| 221 | + |
240 | 222 | .search-text { |
241 | 223 | padding-inline-end: var(--bb-select-search-padding-right); |
242 | 224 | } |
|
0 commit comments