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

This commit re-adds the CSS to have different background for
alternate rows in striped tables to specific files and remove
them from bootstrap.css.
This commit is contained in:
Sahil Batra 2023-07-24 19:49:43 +05:30 committed by Tim Abbott
parent 806abf7d1c
commit 9240d780a4
4 changed files with 12 additions and 3 deletions

View File

@ -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%;

View File

@ -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;
}

View File

@ -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 {

View File

@ -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;
}