add border for th elements in body

This commit is contained in:
Dennis Eichhorn 2019-10-28 21:06:42 +01:00
parent c0f6bd95ab
commit e3b81fecd4
2 changed files with 15 additions and 7 deletions

View File

@ -4277,6 +4277,10 @@ table .sort-asc, table .sort-desc, table .filter {
padding: 0 5px 0 5px;
cursor: pointer; }
table.default tbody th {
background: var(--table-head-background);
}
table.default {
box-sizing: border-box;
width: 100%;
@ -4299,9 +4303,9 @@ table.default {
table.default td {
padding: 5px 10px 5px 10px;
white-space: nowrap; }
table.default tbody td:first-child {
table.default tbody td:first-child, table.default tbody th:first-child {
border-left: 1px solid var(--box-border); }
table.default tbody td:last-child {
table.default tbody td:last-child, table.default tbody th:last-child {
border-right: 1px solid var(--box-border); }
table.default tbody tr {
height: 3rem; }
@ -4311,7 +4315,7 @@ table.default {
background: var(--table-row-background-alt); }
table.default tbody tr:hover {
background: var(--table-row-background-hover); }
table.default tbody tr td {
table.default tbody tr td, table.default tbody tr th {
border-bottom: 1px solid var(--box-border); }
table.default thead {
height: 3rem;

View File

@ -52,11 +52,11 @@ table.default {
}
tbody {
td:first-child {
td:first-child, th:first-child {
border-left: 1px solid var(--box-border);
}
td:last-child {
td:last-child, th:last-child {
border-right: 1px solid var(--box-border);
}
@ -74,10 +74,14 @@ table.default {
&:hover {
background: var(--table-row-background-hover);
}
td, th {
border-bottom: 1px solid var(--box-border);
}
}
tr td {
border-bottom: 1px solid var(--box-border);
th {
background: var(--table-head-background);
}
}