We are facing an issue with CSS text color handling.
when we take off the focus from the option in checked state there is a user agent style are applying on it.
Even !important
also not working.
.msi-standard .default-window-style .window-main-layout .dialog-window-content .v-select select option:checked {
background-image: -webkit-linear-gradient(-270deg, #9a1032, #9a1032);
background-image: linear-gradient(0deg, #9a1032, #9a1032);
color: #FFF;
}
The above code our custom code. But the below user agent styles are overriding our CSS code.
select:-internal-list-box option:checked {
background-color: -internal-inactive-list-box-selection;
color: -internal-inactive-list-box-selection-text;
}
we have the solution for overriding the background color but we are yet to reach the solution for overriding the Text COLOR.
We need the solution for overriding the text color.