mirror of https://github.com/zulip/zulip.git
css: Re-add bootstrap CSS defined using "table" class.
This commit re-adds bootstrap CSS rules defined using "table" class to the specific CSS files where CSS for different tables is present. This is a prep commit for removing table related bootstrap CSS from bootstrap.css.
This commit is contained in:
parent
fcaaa6566e
commit
817e39650e
|
@ -698,6 +698,8 @@ div.overlay {
|
|||
table-layout: auto;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
|
||||
&:not(.table-bordered) thead th {
|
||||
border-top: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
||||
|
@ -754,6 +756,14 @@ div.overlay {
|
|||
td {
|
||||
padding: 4px 5px;
|
||||
}
|
||||
|
||||
& th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
& td {
|
||||
border-top: 1px solid hsl(0deg 0% 87%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-bordered {
|
||||
|
@ -762,11 +772,19 @@ div.overlay {
|
|||
border-left: 0;
|
||||
border-radius: 4px;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
|
||||
& th,
|
||||
td {
|
||||
border-left: 1px solid hsl(0deg 0% 87%);
|
||||
border-top: 1px solid hsl(0deg 0% 87%);
|
||||
padding: 4px 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
thead tr:first-child th {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
thead tr:first-child > th:first-child {
|
||||
|
|
|
@ -921,7 +921,8 @@
|
|||
#settings_page .sidebar-wrapper *,
|
||||
table,
|
||||
table th,
|
||||
table td {
|
||||
table td,
|
||||
#recent_topics_table table td {
|
||||
border-color: hsl(0deg 0% 0% / 20%);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
background-color: hsl(208deg 100% 97%);
|
||||
}
|
||||
|
||||
.table td {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.table-striped {
|
||||
& tr.recently_active {
|
||||
& td {
|
||||
|
@ -20,10 +14,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
td.number {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.summary-table,
|
||||
.analytics_table {
|
||||
border: 1px solid hsl(0deg 0% 87%);
|
||||
|
@ -31,10 +21,27 @@ td.number {
|
|||
border-left: 0;
|
||||
border-radius: 4px;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
|
||||
& th,
|
||||
td {
|
||||
border-left: 1px solid hsl(0deg 0% 87%);
|
||||
text-align: left;
|
||||
|
||||
&.number {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
th {
|
||||
vertical-align: bottom;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
td {
|
||||
border-top: 1px solid hsl(0deg 0% 87%);
|
||||
white-space: nowrap;
|
||||
padding: 2px 8px;
|
||||
}
|
||||
|
||||
tbody > tr:nth-child(odd) > td {
|
||||
|
@ -56,6 +63,10 @@ td.number {
|
|||
tbody tr:last-child > td:last-child {
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
thead tr:first-child th {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.summary-table {
|
||||
|
|
|
@ -567,6 +567,20 @@ input.text-error {
|
|||
box-shadow: 0 0 4px hsl(0deg 0% 0% / 10%);
|
||||
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 20px;
|
||||
|
||||
thead tr:first-child th {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
& th,
|
||||
td {
|
||||
padding: 8px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
border-top: 1px solid hsl(0deg 0% 87%);
|
||||
}
|
||||
|
||||
tbody > tr:nth-child(odd) > td {
|
||||
background-color: hsl(0deg 0% 98%);
|
||||
|
|
|
@ -93,6 +93,16 @@
|
|||
*/
|
||||
margin-bottom: var(--max-unexpanded-compose-height);
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
|
||||
th {
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
td {
|
||||
border-top: 1px solid hsl(0deg 0% 87%);
|
||||
}
|
||||
}
|
||||
|
||||
#recent_topics_filter_buttons {
|
||||
|
|
Loading…
Reference in New Issue