Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tables: Cleanup of table-striped CSS block.
yogesh sirsatd7c543482780
diff --git a/static/styles/app_components.css b/static/styles/app_components.cssindex b21447c7161..6193eefb630 100644--- a/static/styles/app_components.css+++ b/static/styles/app_components.css@@ -664,3 +664,51 @@ div.overlay {top: 3px;}}++.table-striped {+ table-layout: auto;+ border-collapse: separate;++ thead th {+ color: inherit;+ background-color: hsl(0, 0%, 100%);+ border-top: 1px solid hsla(0, 0%, 0%, 0.2) !important;+ border-bottom: 1px solid hsla(0, 0%, 0%, 0.2) !important;++ &.active::after,+ &[data-sort]:hover::after {+ content: " \f0d8";+ white-space: pre;+ display: inline-block;+ position: absolute;+ padding-top: 3px;+ font: normal normal normal 12px/1 FontAwesome;+ font-size: inherit;+ }++ &.active {+ opacity: 1;+ transition: opacity 100ms ease-out;++ &.descend::after {+ content: " \f0d7";+ }+ }++ &[data-sort]:hover {+ cursor: pointer;+ background-color: hsla(0, 0%, 95%) !important;+ transition: background-color 100ms ease-in-out;++ &:not(.active)::after {+ opacity: 0.3;+ }+ }+ }++ /* Force the actions column to use the minimum space necessary */+ .actions {+ width: 1%;+ white-space: nowrap;+ }+}diff --git a/static/styles/dark_theme.css b/static/styles/dark_theme.cssindex 8e42efcb862..666283c0661 100644--- a/static/styles/dark_theme.css+++ b/static/styles/dark_theme.css@@ -83,8 +83,8 @@ body.dark-theme {table.table-striped thead.table-sticky-headers th {background-color: hsl(0, 0%, 0%);- &:hover:not(.actions) {- background-color: hsl(211, 29%, 14%);+ &[data-sort]:hover {+ background-color: hsl(211, 29%, 14%) !important;}}diff --git a/static/styles/settings.css b/static/styles/settings.cssindex ad769b45001..b2ef6713542 100644--- a/static/styles/settings.css+++ b/static/styles/settings.css@@ -293,54 +293,6 @@ td .button {}}- .table-striped {- table-layout: auto;- border-collapse: separate;-- thead th {- color: inherit;- background-color: hsl(0, 0%, 100%);- border-top: 1px solid hsla(0, 0%, 0%, 0.2) !important;- border-bottom: 1px solid hsla(0, 0%, 0%, 0.2) !important;-- &.active::after,- &[data-sort]:hover::after {- content: " \f0d8";- white-space: pre;- display: inline-block;- position: absolute;- padding-top: 3px;- font: normal normal normal 12px/1 FontAwesome;- font-size: inherit;- }-- &.active {- opacity: 1;- transition: opacity 100ms ease-out;-- &.descend::after {- content: " \f0d7";- }- }-- &[data-sort]:hover {- cursor: pointer;- background-color: hsla(0, 0%, 95%);- transition: background-color 100ms ease-in-out;-- &:not(.active)::after {- opacity: 0.3;- }- }- }-- /* Force the actions column to use the minimum space necessary */- .actions {- width: 1%;- white-space: nowrap;- }- }-#admin_page_users_loading_indicator,#attachments_loading_indicator,#admin_page_deactivated_users_loading_indicator,diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.cssindex 1ede87cbbed..3ea5ae0246e 100644--- a/static/styles/subscriptions.css+++ b/static/styles/subscriptions.css@@ -175,9 +175,6 @@ h4.stream_setting_subsection_title {}thead th {- color: inherit;- background-color: hsl(0, 0%, 100%);-&:first-of-type {border-top-left-radius: 4px;}diff --git a/static/styles/zulip.css b/static/styles/zulip.cssindex bf3cb80fefc..21ddad6e671 100644--- a/static/styles/zulip.css+++ b/static/styles/zulip.css@@ -2213,11 +2213,6 @@ div.floating_recipient {border-radius: 6px;}-.table-striped thead th {- background-color: hsl(0, 0%, 27%);- color: hsl(0, 0%, 100%);-}-#create_stream_subscribers {margin-top: 10px;