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.

recents: Remove vars, refs to unread-row backgrounds.

Karl Stolley260eea85d343
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index dac5a4abbcb..6f1cfb51b22 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1191,12 +1191,6 @@
color-mix(in srgb, hsl(0deg 0% 0%) 5%, hsl(0deg 0% 100%)),
color-mix(in srgb, hsl(0deg 0% 100%) 5%, hsl(0deg 0% 11%))
);
- --color-background-recent-view-unread-row: var(
- --color-background-recent-view-row
- );
- --color-background-recent-view-unread-row-hover: var(
- --color-background-recent-view-row-hover
- );
--color-recent-view-link-unread: light-dark(
hsl(0deg 0% 5%),
hsl(0deg 0% 100% / 83%)
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 48f49073390..9b0aede35d7 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -481,26 +481,11 @@
}
.unread_topic {
- & td {
- background-color: var(--color-background-recent-view-unread-row);
- }
-
& a {
color: var(--color-recent-view-link-unread);
font-weight: 500;
}
- /* Avoid annoying, confusing hover-state when scrolling on
- touch devices like iPad that treat a tap-and-hold/swipe
- as a hover. */
- @media (hover: hover) and (pointer: fine) {
- &:hover td {
- background-color: var(
- --color-background-recent-view-unread-row-hover
- );
- }
- }
-
.recent_topic_name {
position: relative;