mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix select2 empty message background + correct before selector
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user