| 1 |
.#{$selectize}-control.plugin-clear_button { |
| 2 |
.clear { |
| 3 |
text-decoration: none; |
| 4 |
display: flex; |
| 5 |
position: absolute; |
| 6 |
height: 100%; |
| 7 |
width: 25px; |
| 8 |
top: 0; |
| 9 |
right: calc(#{$select-padding-x} - #{$select-padding-item-x}); |
| 10 |
color: var(--bs-body-color, black); |
| 11 |
opacity: 0.4; |
| 12 |
font-weight: bold; |
| 13 |
border: none; |
| 14 |
cursor: pointer; |
| 15 |
z-index: 1; |
| 16 |
font-size: 21px; |
| 17 |
justify-content: center; |
| 18 |
align-items: center; |
| 19 |
} |
| 20 |
|
| 21 |
.clear:hover { |
| 22 |
opacity: 1; |
| 23 |
} |
| 24 |
|
| 25 |
&.single .clear { |
| 26 |
right: calc(#{$select-padding-x} - #{$select-padding-item-x} + 1.5rem); |
| 27 |
} |
| 28 |
|
| 29 |
} |