mirror of https://github.com/zulip/zulip.git
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:
parent
235c7b0440
commit
fe0a068ee5
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue