huge-table
Version:
Table component to handle huge sets of data, based on Facebook's FixedDataTable
59 lines (50 loc) • 1.19 kB
text/less
@import (inline) "../node_modules/fixed-data-table-2/dist/fixed-data-table.css";
@import "../node_modules/font-awesome/less/font-awesome.less";
.public_fixedDataTable_header .public_fixedDataTableCell_main {
font-size: 16px;
color: #fff;
.right {
position: absolute;
right: 0;
}
}
.public_fixedDataTable_header, .public_fixedDataTable_header .public_fixedDataTableCell_main {
background: #4caee2;
}
.public_fixedDataTableCell_cellContent {
padding: 0px;
}
.public_fixedDataTable_header .public_fixedDataTableCell_main {
font-weight: normal;
}
.fixedDataTableCellLayout_columnReorderContainer {
background-color: transparent;
width: 0;
}
.fixedDataTableCellLayout_columnReorderContainer:after {
content: '...';
color: lightgrey;
top: 3px;
left: ~"calc(50% - 7px)";
}
.scroll-toggle {
width: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
z-index: 1000;
background-color: #001B62;
color: #7182AA;
&.active {
background-color: #001B62;
color: #fff;
}
&.right{
right: 0
}
&.left {
right: 20px;
}
}