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.

recent_view: Use new typography for table headers.

Aman Agrawal00f50218424a
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index a9a8603d7e2..6cea459adf2 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1174,6 +1174,10 @@
hsl(229deg 9% 36% / 7%),
hsl(230deg 9% 60% / 14%)
);
+ --color-text-recent-view-table-thead-th: light-dark(
+ var(--grey-600),
+ var(--grey-300)
+ );
/* Compose box colors */
--color-compose-box-background: light-dark(
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 21ff9302e0f..110a82d2823 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -154,11 +154,6 @@
}
}
- .table_fix_head table th {
- padding: 8px;
- text-align: left;
- }
-
#recent_view_filter_buttons {
/* This padding-top value aligns the recents filters
with the filters in the left and right sidebars.
@@ -408,8 +403,15 @@
}
& thead th {
+ text-align: left;
+ padding: 0.25em 0 0.25em 0.5em; /* 4px at 16px/1em */
background-color: var(--color-background-recent-view-table-thead-th);
- color: inherit;
+ overflow: hidden;
+ color: var(--color-text-recent-view-table-thead-th);
+ font-size: 0.9375em; /* 15px at 16px/1em */
+ text-transform: uppercase;
+ font-weight: 600;
+ line-height: 1.25em; /* 20px at 16px/1em */
z-index: 1;
.table-sortable-arrow {