Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

dark_theme: Clean up read receipts modal styles.

Sayam Samalf724ad7a334c
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 7e74215c904..3cbe078418e 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -509,17 +509,6 @@
}
}
- #read_receipts_modal .read_receipts_list li {
- &:hover {
- background-color: hsl(0deg 0% 100% / 5%);
- }
-
- &:active,
- &:focus {
- background-color: hsl(0deg 0% 100% / 10%);
- }
- }
-
.help_link_widget:hover {
color: inherit;
}
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 35984e65c2f..727f2ae5d44 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -290,12 +290,18 @@
line-height: 1.625em; /* 26px at 16px font-size at 14px em */
&:hover {
- background-color: hsl(0deg 0% 0% / 5%);
+ background-color: light-dark(
+ hsl(0deg 0% 0% / 5%),
+ hsl(0deg 0% 100% / 5%)
+ );
}
&:active,
&:focus {
- background-color: hsl(0deg 0% 0% / 10%);
+ background-color: light-dark(
+ hsl(0deg 0% 0% / 10%),
+ hsl(0deg 0% 100% / 10%)
+ );
outline: none;
}
}