Tweak table styles

This commit is contained in:
Nick O'Leary 2021-10-05 11:25:35 +01:00
parent 2b12834d53
commit 94d5ba4550
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 5 additions and 11 deletions

View File

@ -235,29 +235,23 @@ div.red-ui-info-table {
}
table {
border-collapse: collapse;
border: 1px solid var(--red-ui-secondary-border-color);
margin : 8px 0 8px 0;
min-width : 300px;
box-shadow : 0 0 2px rgb(0 0 0 / 15%);
overflow : hidden;
border-radius : 4px;
}
table thead tr {
background-color: var(--red-ui-primary-text-color); //$primary-text-color;
color: var(--red-ui-primary-background); //$primary-background
background-color: var(--red-ui-primary-background); //$primary-text-color;
border-bottom: 1px solid var(--red-ui-secondary-border-color);
color: var(--red-ui-header-text-color);
text-align: left;
}
table th,
table td {
padding: 6px 8px;
}
table tbody tr {
border-bottom: 1px solid var(--red-ui-tertiary-background); //$tertiary-background
}
table tbody tr:nth-of-type(even) {
background-color: var(--red-ui-primary-background); //$primary-background;
}
table tbody tr:last-of-type {
border-bottom: 2px solid var(--red-ui-primary-text-color); //$primary-text-color;
background-color: var(--red-ui-tertiary-background); //$primary-background;
}
}
.red-ui-sidebar-info-stack {