Fix select2 empty message background + correct before selector
This commit is contained in:
parent
45f6cb0fa8
commit
18445f527b
|
@ -121,7 +121,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add the custom checkbox */
|
/* Add the custom checkbox */
|
||||||
.select2-results__option:before {
|
.select2-results__option::before {
|
||||||
content: '';
|
content: '';
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -141,11 +141,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add the custom checkbox checkmark */
|
/* Add the custom checkbox checkmark */
|
||||||
.select2-results__option--selected.select2-results__option:before {
|
.select2-results__option--selected.select2-results__option::before {
|
||||||
content: '\2713';
|
content: '\2713';
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: var(--SmartThemeBodyColor);
|
color: var(--SmartThemeBodyColor);
|
||||||
background-color: var(--SmartThemeBlurTintColor);
|
background-color: var(--SmartThemeBlurTintColor);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.select2-results__option.select2-results__message {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-results__option.select2-results__message::before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue