mirror of https://github.com/zulip/zulip.git
dropdown_widget: Use CSS variable for disable color.
This commit is contained in:
parent
119fa699a7
commit
2807d7fbb8
|
@ -1157,7 +1157,9 @@ input.settings_text_input {
|
|||
|
||||
&:disabled {
|
||||
cursor: not-allowed;
|
||||
background-color: hsl(0deg 0% 93%);
|
||||
background-color: var(
|
||||
--color-background-disabled-dropdown-widget-button
|
||||
);
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -742,6 +742,7 @@
|
|||
/* Widgets colors */
|
||||
--color-border-dropdown-widget-button: hsl(0deg 0% 80%);
|
||||
--color-background-dropdown-widget-button: hsl(0deg 0% 100%);
|
||||
--color-background-disabled-dropdown-widget-button: hsl(0deg 0% 93%);
|
||||
|
||||
/* KBD colors */
|
||||
--color-kbd-background: hsl(0deg 0% 98%);
|
||||
|
@ -1249,6 +1250,7 @@
|
|||
/* Widgets colors */
|
||||
--color-border-dropdown-widget-button: hsl(0deg 0% 0% / 60%);
|
||||
--color-background-dropdown-widget-button: hsl(0deg 0% 0% / 20%);
|
||||
--color-background-disabled-dropdown-widget-button: hsl(0deg 0% 0% / 20%);
|
||||
|
||||
/* KBD colors */
|
||||
--color-kbd-background: hsl(211deg 29% 14%);
|
||||
|
|
Loading…
Reference in New Issue