mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
settings_tables: Set variables for header colors.
This commit is contained in:
@@ -772,7 +772,7 @@ input.settings_text_input {
|
||||
|
||||
& thead th {
|
||||
color: inherit;
|
||||
background-color: hsl(0deg 0% 100%);
|
||||
background-color: var(--color-background-table-header);
|
||||
word-break: normal;
|
||||
|
||||
.table-sortable-arrow {
|
||||
@@ -803,7 +803,9 @@ input.settings_text_input {
|
||||
|
||||
&[data-sort]:hover {
|
||||
cursor: pointer;
|
||||
background-color: hsl(0deg 0% 95%) !important;
|
||||
background-color: var(
|
||||
--color-background-table-header-sortable-hover
|
||||
) !important;
|
||||
transition: background-color 100ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
@@ -1462,6 +1462,14 @@
|
||||
);
|
||||
|
||||
/* Settings table colors */
|
||||
--color-background-table-header: light-dark(
|
||||
hsl(0deg 0% 100%),
|
||||
hsl(0deg 0% 0%)
|
||||
);
|
||||
--color-background-table-header-sortable-hover: light-dark(
|
||||
hsl(0deg 0% 95%),
|
||||
hsl(211deg 29% 14%)
|
||||
);
|
||||
--color-border-table-striped: light-dark(
|
||||
hsl(0deg 0% 87%),
|
||||
hsl(0deg 0% 0% / 20%)
|
||||
|
@@ -51,14 +51,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
& table.table-striped thead.table-sticky-headers th {
|
||||
background-color: hsl(0deg 0% 0%);
|
||||
|
||||
&[data-sort]:hover {
|
||||
background-color: hsl(211deg 29% 14%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Extend the 'light-border' TippyJS theme, which is intended for
|
||||
popovers/menus that should use default background colors, to use
|
||||
our dark theme colors in Zulip's dark theme.
|
||||
@@ -365,11 +357,6 @@
|
||||
border-color: hsl(0deg 0% 0% / 60%);
|
||||
}
|
||||
|
||||
.table-striped thead th {
|
||||
background-color: hsl(0deg 0% 0% / 50%);
|
||||
border-color: hsl(0deg 0% 0% / 90%);
|
||||
}
|
||||
|
||||
& input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="number"]:focus,
|
||||
|
Reference in New Issue
Block a user