added view collection type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user