css: Normalize opacity on `select:disabled` elements.

We are setting the opacity to Chrome's 0.7 because that is what most
select fields in Organization settings are styled for.
This commit is contained in:
tnmkr 2024-07-03 01:10:44 +05:30
parent 235c7b0440
commit fe0a068ee5
2 changed files with 6 additions and 0 deletions

View File

@ -374,6 +374,9 @@
/* The background-color of select elements inside modal is different than the others in
settings pages, because the background of the modal is brighter than the setting page. */
background-color: hsl(0deg 0% 90%);
/* This is reset for other browsers to use Chrome's opacity. */
opacity: 0.7;
}
}

View File

@ -371,6 +371,9 @@ td .button {
&:disabled {
cursor: not-allowed;
background-color: hsl(0deg 0% 93%);
/* This is reset for other browsers to use Chrome's opacity. */
opacity: 0.7;
}
}