UNPKG

thin-component

Version:
173 lines (172 loc) 3.66 kB
.lazy-table-table-box-wrap { position: relative; display: inline-block; max-width: 100%; overflow: hidden; font-size: 12px; border: 1px solid #d1d8de; box-sizing: border-box; } .lazy-table-table-box { display: inline-block; max-width: 100%; overflow: auto; border-top: 1px solid #d1d8de; } .lazy-table-table-box .table-column { position: absolute; top: 0; left: 0; display: inline-block; width: 100%; } .lazy-table-table-box .column-content { display: inline-block; } .lazy-table-table-box .first-loading-box { position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.5); } .lazy-table-table-box .first-loading-content { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; } .lazy-table-table-box .loading-box { width: 100%; background: rgba(255, 255, 255, 0.5); } .lazy-table-table-box .loading-box-content { display: flex; align-items: center; justify-content: center; width: 100%; } .lazy-table-table-box .table { display: inline-block; background: #fff; } .lazy-table-table-box .row { box-sizing: border-box; display: flex; flex-wrap: nowrap; align-items: center; color: rgba(0, 0, 0, 0.85); border-bottom: 1px solid #d1d8de; } .lazy-table-table-box .row:hover { background: #cce6ff; } .lazy-table-table-box .row-column:hover { background: #f0f8ff; } .lazy-table-table-box .row-column { position: relative; top: 0; left: 0; z-index: 1; font-weight: 600; color: rgba(0, 0, 0, 0.65); background: #f0f8ff; border-bottom: 0; } .lazy-table-table-box .row > span { box-sizing: border-box; display: flex; align-items: center; height: 100%; border-right: 1px solid #d1d8de; } .lazy-table-table-box .span-item { position: relative; width: 100%; height: 100%; } .lazy-table-table-box .row > span:last-child { border-right: 0; } .lazy-table-table-box .row > .checkbox { display: flex; align-items: center; padding-left: 13px; } .lazy-table-table-box .ant-spin.ant-spin-show-text .ant-spin-text { font-size: 12px; } .lazy-table-table-box .empty-box { display: flex; align-items: center; justify-content: center; height: 200px; position: relative; } .lazy-table-table-box .empty-box-none-select { position: absolute; width: 100%; height: 100%; top: 0; left: 0; } .lazy-table-table-box .sort-box { position: relative; display: inline-block; width: 12px; height: 20px; margin-left: 2px; color: #bfbfbf; } .lazy-table-table-box .sort-box .up { position: absolute; bottom: 4px; left: 0; } .lazy-table-table-box .sort-box .down { position: absolute; top: 4px; left: 0; } .lazy-table-table-box .sort-box .active { color: #1890ff; } .lazy-table-table-box .column-item { display: flex; align-items: center; width: 100%; height: 100%; } .lazy-table-table-box .column-has-sorter { cursor: pointer; } .lazy-table-table-box .column-has-sorter:hover { background: rgba(204, 230, 255, 0.3); } .lazy-table-table-box .column-item-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lazy-table-table-box .drag-item { position: relative; right: 0; z-index: 2; width: 0; height: 100%; cursor: col-resize; } .lazy-table-table-box .drag-item div { position: absolute; right: -4px; z-index: 2; display: flex; width: 8px; height: 100%; cursor: col-resize; background: rgba(0, 0, 0, 0); }