94 lines
2.8 KiB
CSS
94 lines
2.8 KiB
CSS
/* Select 2 */
|
|
|
|
.select2-selection {
|
|
/* border: 1px solid var(--border-colour) !important; */
|
|
/* box-shadow: none !important; */
|
|
/* -webkit-box-shadow: none !important; */
|
|
/* border-radius: var(--bs-border-radius); */
|
|
/* transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; */
|
|
background-color: var(--bs-body-bg) !important;
|
|
font-size: 1rem !important;
|
|
padding: 0.375rem 0.75rem !important;
|
|
}
|
|
|
|
.select2-container--bootstrap .select2-selection,
|
|
.select2-container--bootstrap.select2-container--disabled .select2-selection {
|
|
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius-sm) !important;
|
|
box-shadow: none;
|
|
-webkit-box-shadow: none;
|
|
}
|
|
|
|
.select2-container--bootstrap .select2-selection--single {
|
|
line-height: 1.5 !important;
|
|
height: fit-content !important;
|
|
}
|
|
|
|
.select2-selection__rendered {
|
|
color: var(--bs-body-color) !important;
|
|
}
|
|
|
|
/* .select2-selection:focus {
|
|
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
|
|
-webkit-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
|
|
} */
|
|
|
|
/* .select2-dropdown {
|
|
border: 1px solid var(--border-colour) !important;
|
|
} */
|
|
|
|
.select2-selection__choice {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-left: 3px !important;
|
|
color: var(--bs-body-color) !important;
|
|
background-color: var(--bs-tertiary-bg) !important;
|
|
border: var(--bs-border-width) solid var(--bs-border-color) !important;
|
|
}
|
|
|
|
.select2-selection__choice > button {
|
|
border: none;
|
|
background-color: var(--bs-tertiary-bg);
|
|
}
|
|
|
|
.select2-results__option--selected { display: none; }
|
|
|
|
|
|
.select2-container--bootstrap .select2-results__option {
|
|
color: var(--bs-body-color);
|
|
background-color: var(--bs-body-bg);
|
|
}
|
|
/*
|
|
.select2-container--bootstrap .select2-results__option[aria-selected="true"] {
|
|
|
|
} */
|
|
|
|
.select2-container--bootstrap .select2-results__option--highlighted {
|
|
color: var(--bs-white) !important;
|
|
background-color: var(--bs-primary) !important;
|
|
}
|
|
|
|
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove:hover {
|
|
color: var(--bs-tertiary-color);
|
|
}
|
|
|
|
.select2-container--bootstrap.select2-container--focus
|
|
.select2-selection, .select2-container--bootstrap.select2-container--open .select2-selection {
|
|
border-color: #86b7fe;
|
|
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
|
}
|
|
/* color: var(--bs-body-color);
|
|
background-color: var(--bs-body-bg);
|
|
border-color: #86b7fe;
|
|
outline: 0;
|
|
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); */
|
|
|
|
.select2-container--bootstrap .select2-dropdown {
|
|
border-color: #86b7fe;
|
|
/* box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); */
|
|
|
|
} |