973bf7e98d
* 1133 - hides scrollbar when not needed * 1133 adds overflow-y:auto to asset-table-container
60 lines
1.2 KiB
SCSS
60 lines
1.2 KiB
SCSS
.asset-table-container {
|
|
// flex: 1 1 0%;
|
|
overflow-y: auto;
|
|
max-width: 100%;
|
|
width: #{1000 / $base-font-size}rem;
|
|
min-height: #{400 / $base-font-size}rem;
|
|
}
|
|
|
|
.asset-table {
|
|
width: 100%;
|
|
padding: #{10 / $base-font-size}rem #{20 / $base-font-size}rem;
|
|
max-height: 100%;
|
|
border-spacing: 0;
|
|
& .asset-list__delete-column {
|
|
width: #{23 / $base-font-size}rem;
|
|
}
|
|
|
|
& thead {
|
|
font-size: #{12 / $base-font-size}rem;
|
|
@include themify() {
|
|
color: getThemifyVariable('inactive-text-color')
|
|
}
|
|
}
|
|
|
|
& th {
|
|
height: #{32 / $base-font-size}rem;
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
.asset-table__row {
|
|
margin: #{10 / $base-font-size}rem;
|
|
height: #{72 / $base-font-size}rem;
|
|
font-size: #{16 / $base-font-size}rem;
|
|
|
|
&:nth-child(odd) {
|
|
@include themify() {
|
|
background: getThemifyVariable('console-header-background-color');
|
|
}
|
|
}
|
|
|
|
& a {
|
|
@include themify() {
|
|
color: getThemifyVariable('primary-text-color');
|
|
}
|
|
}
|
|
|
|
& td:first-child {
|
|
padding-left: #{10 / $base-font-size}rem;
|
|
}
|
|
}
|
|
|
|
.asset-table__empty {
|
|
text-align: center;
|
|
font-size: #{16 / $base-font-size}rem;
|
|
}
|
|
|
|
.asset-table__total {
|
|
padding: 0 #{20 / $base-font-size}rem;
|
|
}
|