import styled from 'styled-components'; import { Wrapper } from '@geenee/ui/src/lib/component/wrapper/wrapper.component'; export const TableContainer = styled.div<{minWidth?: string}>` width: 100%; font-size: 12px; position: relative; margin-bottom: 40px; height: 100%; max-height: 80%; ${ ({ minWidth }) => (minWidth ? `min-width: ${ minWidth };` : '') } .table-header { border-radius: 10px 10px 0 0; background-color: ${ ({ theme: { colors } }) => colors.white }; filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0.25)); } `; export const RowContainer = styled(Wrapper)<{height?: string}>` height: ${ ({ height }) => height || 'fit-content' }; `; export const BorderLine = styled.div` margin: 0 24px; border: 1px solid ${ ({ theme: { colors } }) => colors.white }; `; export const ColumnContainer = styled(Wrapper)<{width?: string}>` padding: 0 25px; flex: ${ ({ width }) => (width ? `1 0 ${ width }` : undefined) }; min-width: ${ ({ width }) => (width || '') }; `; export const ColumnLabel = styled.span<{disabled?: boolean}>` font-weight: 500; font-size: 14px; line-height: 20px; ${ ({ disabled, theme: { secondaryColors } }) => (disabled ? `color: ${ secondaryColors.grey220 }` : '') }; `; export const IconWrapper = styled(Wrapper)<{hasMarginLeft?: boolean}>` border-radius: 4px; padding: 5px; ${ ({ hasMarginLeft }) => (hasMarginLeft ? 'margin-left: 16px' : '') }; `; export const ActionColumn = styled(ColumnContainer)` min-width: 120px; flex: 1 0 10%; `;