- added Table field;

This commit is contained in:
Vitalii Kiiko
2024-10-02 16:06:21 +02:00
parent 0634cd2305
commit cb9327a740
14 changed files with 565 additions and 30 deletions

View File

@@ -24,6 +24,7 @@ body {
flex-direction: column;
flex-grow: 1;
}
.inner {
display: flex;
height: 100%;
@@ -102,4 +103,48 @@ body {
}
}
}
}
:where(table) {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
text-indent: 0;
border-right: 1px solid var(--table-border-color);
}
td,
th {
padding: 10px;
border-top: 1px solid var(--table-border-color);
border-bottom: 1px solid var(--table-border-color);
border-left: 1px solid var(--table-border-color);
background-color: white;
color: var(--global-textColor);
font-size: 15px;
text-align: left;
text-align: start;
}
th {
padding: 15px 10px;
font-weight: bold;
}
td {
input {
width: 100%;
padding: 3px 5px;
}
}
tfoot td,
tfoot th {
border-top: 1px solid var(--table-border-color);
border-bottom: 0
}
table.striped tbody tr:nth-child(odd) td,
table.striped tbody tr:nth-child(odd) th {
background-color: var(--table-border-color)
}