added view collection type

This commit is contained in:
Gani Georgiev
2023-02-18 19:33:42 +02:00
parent 0052e2ab2a
commit a07f67002f
98 changed files with 3259 additions and 829 deletions

View File

@@ -17,7 +17,7 @@ table {
vertical-align: middle;
position: relative;
text-align: left;
padding: 5px 10px;
padding: 10px;
border-bottom: 1px solid var(--baseAlt2Color);
&:first-child {
padding-left: 20px;
@@ -191,16 +191,15 @@ table {
}
// styles
&.table-compact {
td, th {
height: auto;
}
}
&.table-border {
border: 1px solid var(--baseAlt2Color);
border-radius: var(--baseRadius);
tr {
background: var(--baseColor);
}
td, th {
height: 45px;
}
th {
background: var(--baseAlt1Color);
}
@@ -209,6 +208,29 @@ table {
border-bottom: 0;
}
}
> tr:first-child,
> :first-child > tr:first-child {
> :first-child {
border-top-left-radius: var(--baseRadius);
}
> :last-child {
border-top-right-radius: var(--baseRadius);
}
}
> tr:last-child,
> :last-child > tr:last-child {
> :first-child {
border-bottom-left-radius: var(--baseRadius);
}
> :last-child {
border-bottom-right-radius: var(--baseRadius);
}
}
}
&.table-compact {
td, th {
height: auto;
}
}
// states