@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; border: none; .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: white; 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; border: 1px solid $intermediate-color; box-shadow: none; } .rt-resizable-header { padding: 0; height: 30px; &:last-child { overflow: visible; } } .rt-resizable-header-content { height: 100%; overflow: visible; } .rt-th { padding: 0; } } .rt-th { // max-height: $MAX_ROW_HEIGHT; font-size: 13px; text-align: center; background-color: $light-color-secondary; &:last-child { overflow: visible; } } .rt-tbody { direction: rtl; } .rt-tr-group { direction: ltr; flex: 0 1 auto; min-height: 30px; // 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%; min-height: 30px; // 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; // white-space: normal; .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%; color: gray; letter-spacing: 2px; text-transform: uppercase; .collectionSchema-header-menu { height: 100%; .collectionSchema-header-toggler { width: 100%; height: 100%; padding: 4px; svg { margin-right: 4px; } } div[class*="css"] { width: 100%; height: 100%; } } } button.add-column { width: 28px; } .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-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; height: 100%; &.row-focused { background-color: $light-color-secondary; } &.row-wrapped { .rt-td { white-space: normal; } } .row-dragger { // height: $MAX_ROW_HEIGHT; } .collectionSchema-row-wrapper { // max-height: $MAX_ROW_HEIGHT; &.row-above { border-top: 1px solid red; } &.row-below { border-bottom: 1px solid red; } &.row-inside { border: 1px solid red; } } } .collectionSchemaView-cellWrapper { 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; } } p { width: 100%; height: 100%; // word-wrap: break-word; } } .doc-drag-over { background-color: red; } .collectionSchemaView-toolbar { display: flex; justify-content: flex-end; } #preview-schema-checkbox-div { margin-left: 20px; font-size: 12px; } .sub { padding: 20px; background-color: $intermediate-color; } .collectionSchemaView-expander { height: 100%; }