fix theme-disrespecting text colorizing

This commit is contained in:
RossAscends 2024-06-14 21:50:54 +09:00
parent 5699eb115d
commit 4c81215a60
2 changed files with 24 additions and 6 deletions

View File

@ -23,6 +23,14 @@
opacity: 0.8;
}
.select2-selection--single .select2-selection__placeholder {
color: var(--SmartThemeEmColor);
}
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
color: var(--SmartThemeEmColor);
}
.select2-container .select2-selection--single .select2-selection__rendered {
color: var(--SmartThemeBodyColor);
line-height: revert;
@ -194,6 +202,7 @@ span.select2.select2-container .select2-selection__choice__remove:hover {
.select2_choice_clickable+span.select2-container .select2-selection__choice__display {
cursor: pointer;
}
.select2_choice_clickable_buttonstyle+span.select2-container .select2-selection__choice__display {
cursor: pointer;
transition: background-color 0.3s;
@ -211,7 +220,9 @@ span.select2.select2-container .select2-selection__choice__remove:hover {
.select2_multi_sameline+span.select2-container .select2-selection--multiple {
display: flex;
flex-wrap: wrap;
}.select2_multi_sameline+span.select2-container .select2-selection--multiple .select2-search--inline {
}
.select2_multi_sameline+span.select2-container .select2-selection--multiple .select2-search--inline {
/* Allow search placeholder to take up all space if needed */
flex-grow: 1;
}
@ -255,4 +266,4 @@ span.select2.select2-container .select2-selection__choice__remove:hover {
.select2_multi_sameline+span.select2-container.select2-container--focus .select2-selection--multiple .select2-search--inline {
height: unset;
}
}

View File

@ -381,7 +381,8 @@ table.responsiveTable {
}
small {
color: var(--grey70);
color: var(--SmartThemeBodyColor);
opacity: 0.7;
}
.mes.smallSysMes {
@ -2037,11 +2038,17 @@ body[data-stscript-style] .hljs.language-stscript {
}
.text_pole::placeholder {
color: rgb(139, 139, 139);
color: var(--SmartThemeEmColor) !important;
opacity: 0.7;
}
textarea::placeholder {
color: var(--SmartThemeEmColor) !important;
opacity: 0.7;
}
#send_textarea::placeholder {
color: var(--SmartThemeEmColor);
color: var(--SmartThemeEmColor) !important;
text-align: center;
white-space: nowrap;
}
@ -5167,4 +5174,4 @@ body:not(.movingUI) .drawer-content.maximized {
color: #FAF8F6;
}
/* Pastel White */
/* Pastel White */