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.

bootstrap: Remove CSS for table-stripped from bootstrap.css.

Sahil Batra9240d780a4cc
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index c5e14d6054a..1594c0b0c2a 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -739,6 +739,10 @@ div.overlay {
}
}
+ tbody > tr:nth-child(odd) > td {
+ background-color: hsl(0deg 0% 98%);
+ }
+
/* Force the actions column to use the minimum space necessary */
.actions {
width: 1%;
diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css
index 5e3abf3fa58..40a0a6c9c5e 100644
--- a/web/styles/portico/activity.css
+++ b/web/styles/portico/activity.css
@@ -36,6 +36,10 @@ td.number {
border-left: 1px solid hsl(0deg 0% 87%);
}
+ tbody > tr:nth-child(odd) > td {
+ background-color: hsl(0deg 0% 98%);
+ }
+
thead tr:first-child > th:first-child {
border-top-left-radius: 4px;
}
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css
index aed5391fa5e..b42e179eb14 100644
--- a/web/styles/portico/portico.css
+++ b/web/styles/portico/portico.css
@@ -565,6 +565,10 @@ input.text-error {
.table.table-striped {
background-color: hsl(0deg 0% 100%);
box-shadow: 0 0 4px hsl(0deg 0% 0% / 10%);
+
+ tbody > tr:nth-child(odd) > td {
+ background-color: hsl(0deg 0% 98%);
+ }
}
.team-profiles {
diff --git a/web/third/bootstrap/css/bootstrap.css b/web/third/bootstrap/css/bootstrap.css
index 3666bb02997..181e990e0e6 100644
--- a/web/third/bootstrap/css/bootstrap.css
+++ b/web/third/bootstrap/css/bootstrap.css
@@ -239,9 +239,6 @@ table {
.table thead:first-child tr:first-child th {
border-top: 0;
}
-.table-striped tbody > tr:nth-child(odd) > td {
- background-color: #f9f9f9;
-}
form {
margin: 0 0 20px;
}