mirror of https://github.com/zulip/zulip.git
settings: Change hover behavior of save discard buttons.
This commit fixes the hover behavior of save-discard button in dark theme. We change the text to be slightly brighter on hover and keep the icon color same. The background-color property is removed from hover CSS. This change is safe because for save-button, we already define different hover behavior below which takes precedence. And for light-theme, the discard button already has the same background-color without hovering, so this property was only affecting discard button in dark-theme.
This commit is contained in:
parent
e804795fa6
commit
c0e2c9b6d6
|
@ -762,7 +762,6 @@ div.overlay {
|
|||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: hsl(0, 0%, 100%);
|
||||
border: 1px solid hsl(0, 0%, 61%);
|
||||
color: hsl(0, 0%, 18%);
|
||||
|
||||
|
|
|
@ -1402,7 +1402,13 @@
|
|||
#settings_page,
|
||||
#stream_settings {
|
||||
.save-button-controls .discard-button {
|
||||
color: inherit;
|
||||
color: hsl(0, 0%, 80%);
|
||||
|
||||
&:hover {
|
||||
.save-discard-widget-button-text {
|
||||
color: hsl(0, 0%, 100%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue