Updates to bootstrap/select2
This commit is contained in:
34
public/css/fixes.css
vendored
34
public/css/fixes.css
vendored
@@ -1,15 +1,27 @@
|
||||
/* Fixes for select 2 and our theme */
|
||||
/*
|
||||
.select2 .select2-container .select2-container--classic { width: 80% !important;}
|
||||
*/
|
||||
.select2-container .select2-selection--single { border-radius: 0 4px 4px 0; height: inherit;}
|
||||
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 36px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow { line-height: 36px; }
|
||||
.select2-results { color: #000; }
|
||||
/*
|
||||
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
|
||||
*/
|
||||
.select2-container--default .select2-results__option--selected { background-color: #024cc4; color: #eeeeee;}
|
||||
/* The opened input box */
|
||||
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
|
||||
line-height: 1.0;
|
||||
border: 1px solid #aaa;
|
||||
}
|
||||
|
||||
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
|
||||
line-height: 1.2;
|
||||
padding: 0.3rem 0.2rem 0.3rem 0.4rem;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear, .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear
|
||||
{
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
}
|
||||
|
||||
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered .select2-selection__placeholder
|
||||
{
|
||||
line-height: 1.0;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
/* Bootstrap 5 fixes */
|
||||
/* select import, round the right side */
|
||||
|
Reference in New Issue
Block a user