import styled from 'styled-components'; import { theme, BaseContainer } from '@veeqo/ui'; const Container = styled(BaseContainer)<{ height?: number }>` position: relative; height: ${(props) => props.height || 0}px; .sortableViews .rst__node { display: flex; background-color: #fff; } .sortableViews .rst__nodeContent { position: relative; width: auto; } .sortableViews .rst__row { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; border-top: none; border-bottom: none; position: relative; padding-left: 12px; padding-right: 12px; } .sortableViews .rst_rowTitle { display: inline-flex; } .sortableViews .rst__moveHandle { display: flex; flex-direction: row; align-items: center; justify-content: center; margin-right: 8px; padding: 0 4px; flex-shrink: 0; cursor: move; user-select: none; } .sortableViews .rst__lineBlock, .sortableViews .rst__absoluteLineBlock { display: none; } .sortableViews .rst__collapseButton { display: none; } .rst__expandButton { display: none; } .sortableViews .rst__rowLandingPad, .sortableViews .rst__rowCancelPad { border: none !important; box-shadow: none !important; outline: none !important; } .sortableViews .rst__rowLandingPad > *, .sortableViews .rst__rowCancelPad > * { opacity: 0 !important; } .sortableViews .rst__rowLandingPad::before, .sortableViews .rst__rowCancelPad::before { background-color: ${theme.colors.neutral.grey.lightest}; border: 1px dashed ${theme.colors.neutral.ink.lightest}; border-radius: 2px; content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; } `; export default Container;