@import "../globalCssVariables"; .collectionSchemaView-container { border-width: $COLLECTION_BORDER_WIDTH; border-color: $intermediate-color; border-style: solid; border-radius: $border-radius; box-sizing: border-box; position: absolute; width: 100%; height: calc(100% - 25px); // overflow: hidden; overflow-x: scroll; .collectionSchemaView-previewRegion { position: relative; background: $light-color; float: left; height: 100%; .collectionSchemaView-previewDoc { height: 100%; width: 100%; position: absolute; } .collectionSchemaView-input { position: absolute; max-width: 150px; width: 100%; bottom: 0px; } .documentView-node:first-child { position: relative; background: $light-color; } } .collectionSchemaView-dividerDragger { position: relative; background: black; float: left; height: 37px; width: 20px; z-index: 20; right: 0; top: 0; background: $main-accent; box-sizing: border-box; border-left: 1px solid $intermediate-color; border-right: 1px solid $intermediate-color; } } .ReactTable { width: 100%; height: 100%; background: $light-color; box-sizing: border-box; border: none !important; .rt-table { overflow-y: auto; overflow-x: auto; height: 100%; display: -webkit-inline-box; direction: ltr; } .rt-thead { &.-header { background: $intermediate-color; color: $light-color; font-size: 12px; height: 30px; } .rt-resizable-header { padding: 0; height: 30px; &:last-child { overflow: visible; } } .rt-resizable-header-content { height: 100%; overflow: visible; } } .rt-th { max-height: $MAX_ROW_HEIGHT; padding: 3px 7px; font-size: 13px; text-align: center; &:last-child { overflow: visible; } } .rt-tbody { direction: rtl; } .rt-tr-group { direction: ltr; max-height: $MAX_ROW_HEIGHT; // for sub comp &:nth-child(even) { background-color: $light-color; } &:nth-child(odd) { background-color: $light-color-secondary; } &:last-child { border-bottom: $intermediate-color; border-bottom-style: solid; border-bottom-width: 1; } } .rt-tr { width: 100%; height: $MAX_ROW_HEIGHT; } .rt-td { border-width: 1px; border-right-color: $intermediate-color; max-height: $MAX_ROW_HEIGHT; padding: 0; font-size: 13px; text-align: center; .imageBox-cont { position: relative; max-height: 100%; } .imageBox-cont img { object-fit: contain; max-width: 100%; height: 100%; } .videoBox-cont { object-fit: contain; width: auto; height: 100%; } } } .documentView-node-topmost { text-align: left; transform-origin: center top; display: inline-block; } .documentView-node:first-child { background: $light-color; } .collectionSchema-col{ height: 100%; .collectionSchema-col-wrapper { &.col-before { border-left: 2px solid red; } &.col-after { border-right: 2px solid red; } } } .collectionSchemaView-header { height: 100%; .collectionSchema-header-menu { height: 100%; .collectionSchema-header-toggler { width: 100%; height: 100%; padding: 4px; svg { margin-right: 4px; } } } } .collectionSchema-header-menuOptions { color: black; width: 175px; text-align: left; .collectionSchema-headerMenu-group { margin-bottom: 10px; } label { color: $main-accent; font-weight: normal; } input { color: black; width: 100%; } .keys-dropdown { position: relative; max-width: 175px; // .keys-search { // } .keys-options-wrapper { width: 100%; max-height: 150px; overflow-y: scroll; position: absolute; top: 20px; .key-option { background-color: $light-color; border: 1px solid $light-color-secondary; padding: 2px 3px; &:not(:last-child) { border-top: 0; } &:hover { background-color: $light-color-secondary; } } } } .columnMenu-types { display: flex; justify-content: space-between; button { border-radius: 20px; } } } .collectionSchema-row { height: $MAX_ROW_HEIGHT; // display: flex; .row-dragger { height: $MAX_ROW_HEIGHT; } .collectionSchema-row-wrapper { max-height: $MAX_ROW_HEIGHT; // width: 100%; // border: 1px solid lightgray; &.row-above { border-top: 1px solid red; } &.row-below { border-bottom: 1px solid red; } &.row-inside { border: 1px solid red; } } } .collectionSchemaView-cellWrapper { // height: $MAX_ROW_HEIGHT; // background-color: red; height: 100%; padding: 4px; &:focus { outline: none; } &.focused { // background-color: yellowgreen; border: 2px solid yellowgreen; input { outline: 0; border: none; background-color: yellow; } &.inactive { // border: 2px solid rgba(255, 255, 0, 0.4); border: none; } } } #preview-schema-checkbox-div { margin-left: 20px; font-size: 12px; }