.bigcapital-datatable{ display: block; overflow-x: auto; overflow-y: hidden; .dashboard__page-content &{ .table .thead{ .th{ border-bottom-color: #eaeaea; } } } .table { text-align: left; border-spacing: 0; min-width: 100%; display: block; .thead{ overflow-y: auto; overflow-x: hidden; .th{ padding: 0.8rem 0.5rem; background: #F8FAFA; font-size: 14px; color: #555; font-weight: 500; border-bottom: 1px solid rgb(224, 224, 224); } .sort-icon{ width: 0; height: 0; position: relative; top: -2px; display: inline-block; margin-left: 5px; &--desc{ border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid #888; } &--asc{ border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid #888; } } } .tr { display: flex; flex: 1 0 auto; &:last-child { .td { border-bottom: 0; } } } .th, .td { box-sizing: border-box; flex: 0 0 auto; justify-content: flex-start; align-items: flex-start; display: flex; margin: 0; padding: 0.5rem; &:last-child { border-right: 0; } .bp3-control{ margin-bottom: 0; } .resizer { display: inline-block; background: transparent; width: 10px; height: 100%; position: absolute; right: 0; top: 0; transform: translateX(50%); z-index: 1; touch-action:none; &.isResizing { // background: red; } .inner-resizer{ height: 100%; width: 1px; border-left: 1px solid #ececec; margin: 0 auto; } &.isResizing .inner-resizer{ background: #1183DA; } } } .tbody{ overflow-y: scroll; overflow-x: hidden; .tr .td{ border-bottom: 1px solid #E0E2E2; align-items: center; .placeholder{ color: #999; } } .td.actions .#{$ns}-button{ background: #E6EFFB; border: 0; box-shadow: none; padding: 5px 15px; border-radius: 5px; &:hover, &:focus{ background-color: #CFDCEE; } } .tr.no-results{ .td{ flex-direction: column; padding: 20px; color: #666; align-items: center; } } } .tr .th.expander, .tr .td.expander{ padding: 0; .toggle{ cursor: pointer; display: block; padding: 14px 8px; padding-left: 0; margin-left: 4px; } .arrow-right{ width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid #acacac; display: block; } .arrow-down{ width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid #acacac; display: block; } + .td, + .th{ padding-left: 0; } } } .no-results{ color: #666; .td{ padding-top: 20px; padding-bottom: 20px; width: 100%; } } &.has-sticky-header{ .thead{ .tr .th{ position: sticky; } } } &--financial-report{ .thead{ .tr .th{ background: transparent; border-top: 1px solid #666; border-bottom: 1px solid #666; padding: 10px 0.4rem; color: #222; } } } }