@import '../../global/globalCssVariables.module.scss'; .collectionSchemaView { cursor: default; height: 100%; display: flex; flex-direction: row; .schema-table { background-color: $white; cursor: grab; width: 100%; .schema-table-content { overflow: overlay; scroll-behavior: smooth; } .schema-add { position: relative; height: 35; display: flex; align-items: center; top: -10px; width: 100%; text-align: right; background: lightgray; .editableView-container-editing { width: 100%; height: 35px; margin: 20px; } .editableView-input { width: 100%; margin: 20px; float: right; text-align: right; background: yellow; } } } .schema-preview-divider { height: 100%; background: black; cursor: ew-resize; } } .schema-column-menu, .schema-filter-menu { background: $light-gray; position: relative; min-width: 200px; max-width: 400px; display: flex; flex-direction: column; align-items: flex-start; z-index: 1; .schema-key-search-input { width: calc(100% - 20px); margin: 10px; } .schema-search-result { cursor: pointer; padding: 5px 10px; width: 100%; &:hover { background-color: $medium-gray; } .schema-search-result-type { font-family: 'Courier New', Courier, monospace; } .schema-search-result-type, .schema-search-result-desc { color: $dark-gray; font-size: $body-text; } .schema-search-result-desc { font-style: italic; } } .schema-key-search, .schema-new-key-options { width: 100%; display: flex; flex-direction: column; align-items: flex-start; } .schema-new-key-options { margin: 10px; .schema-key-warning { color: red; font-weight: normal; align-self: center; } } .schema-key-list { width: 100%; max-height: 300px; overflow-y: auto; } .schema-key-type-option { margin: 2px 0px; input { margin-right: 5px; } } .schema-key-default-val { margin: 5px 0; } .schema-column-menu-button { cursor: pointer; padding: 2px 5px; background: $medium-blue; border-radius: 9999px; color: $white; width: fit-content; margin: 5px; align-self: center; } } .schema-header-row { cursor: grab; //justify-content: flex-end; .row-menu { display: flex; justify-content: center; cursor: pointer; } } .schema-column-header { background-color: $light-gray; font-weight: bold; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 0; z-index: 1; border: 1px solid $medium-gray; //overflow: hidden; .schema-column-title { flex-grow: 2; margin: 5px; overflow: hidden; min-width: 20%; } .schema-header-menu { margin: 5px; } .schema-column-resizer { height: 100%; width: 3px; cursor: ew-resize; &:hover { background-color: $light-blue; } } /*.schema-column-resizer.left { min-width: 5px; transform: translate(-3px, 0px); align-self: flex-start; background-color: $medium-gray; }*/ // creates awkward thick gray borders between colheaders } .schema-header-menu { display: flex; flex-direction: row; } .schema-row-wrapper { overflow: hidden; } .schema-header-row { background-color: $light-gray; overflow: hidden; } .schema-header-row, .schema-row { display: flex; flex-direction: row; height: 100%; overflow: auto; .schemaSelectionCell { align-self: center; width: 100%; display: flex; } } .schema-header-row > .schema-column-header:nth-child(2) > .left { display: none; } .schema-table-cell, .row-menu { border: 1px solid $medium-gray; overflow-x: hidden; overflow-y: auto; display: inline-flex; padding: 0; align-items: center; } .schemaRTFCell { display: flex; width: 100%; height: 100%; position: relative; min-width: 10px; min-height: 10px; } .schema-row { cursor: grab; justify-content: flex-end; background: white; .row-menu { display: flex; flex-direction: row; min-width: 50px; justify-content: center; .iconButton-container { min-width: unset !important; } } .row-cells { display: flex; flex-direction: row; justify-content: flex-end; } } .schema-row-button, .schema-header-button { color: $dark-gray; margin: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; svg { width: 15px; } } .schema-sort-button { width: 17px; height: 17px; border-radius: 30%; background-color: $dark-gray; color: white; margin: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; svg { width: 12px; } }