mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-11 11:18:39 +00:00
add border for th elements in body
This commit is contained in:
parent
c0f6bd95ab
commit
e3b81fecd4
10
styles.css
10
styles.css
|
|
@ -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;
|
||||
|
|
|
|||
12
table.scss
12
table.scss
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user