DocSpace-buildtools/packages/asc-web-components/table-container/StyledTableContainer.js

55 lines
928 B
JavaScript
Raw Normal View History

2021-07-09 08:59:20 +00:00
import styled from "styled-components";
const StyledTableContainer = styled.div`
width: 100%;
display: flex;
.table-column {
user-select: none;
position: relative;
min-width: 10%;
}
.resize-handle {
display: block;
position: absolute;
cursor: ew-resize;
height: 10px;
right: 4px;
top: 14px;
2021-07-09 08:59:20 +00:00
z-index: 1;
border-right: 2px solid #d0d5da;
2021-07-09 08:59:20 +00:00
}
.header-container {
height: 38px;
border-bottom: 1px solid #eceef1;
display: flex;
align-items: center;
2021-07-09 08:59:20 +00:00
}
.content-container {
overflow: hidden;
}
.children-wrap {
display: flex;
flex-direction: column;
}
.table-cell {
height: 47px;
border-bottom: 1px solid #eceef1;
}
`;
const StyledTableCell = styled.div`
height: 47px;
max-height: 47px;
display: flex;
align-items: center;
border-bottom: 1px solid #eceef1;
`;
export { StyledTableContainer, StyledTableCell };