@use '../../global/globalCssVariables.module.scss' as global; .collectionSchemaView { cursor: default; height: 100%; display: flex; flex-direction: row; .schema-table { background-color: global.$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: global.$light-gray; position: absolute; border: 1px solid global.$medium-gray; border-bottom: 2px solid global.$medium-gray; max-height: 201px; display: flex; overflow: hidden; flex-direction: column; align-items: flex-start; z-index: 5; .schema-search-result { cursor: pointer; padding: 5px 10px; width: 100%; &:hover { background-color: global.$medium-gray; } .schema-search-result-type { font-family: 'Courier New', Courier, monospace; } .schema-search-result-type, .schema-search-result-desc { color: global.$dark-gray; font-size: global.$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: 250px; 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: global.$medium-blue; border-radius: 9999px; color: global.$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: global.$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 global.$medium-gray; .schema-column-title { flex-grow: 2; margin: 5px; overflow: hidden; min-width: 100%; } .schema-column-edit-wrapper { 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: global.$light-blue; } } .editableView-input { border: none; outline: none; } /*.schema-column-resizer.left { min-width: 5px; transform: translate(-3px, 0px); align-self: flex-start; background-color: global.$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: global.$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-selected, .schema-table-cell, .row-menu { border: 1px solid global.$medium-gray; overflow-x: hidden; overflow-y: auto; display: inline-flex; padding: 0; align-items: center; input[type='text'] { border: unset; } } .schema-table-cell-selected { input[type='text'] { background: lightgray; } } .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; } .row-cells { display: flex; flex-direction: row; justify-content: flex-end; } .row-menu-infos { position: absolute; top: 3; left: 3; z-index: 1; display: flex; justify-content: flex-end; align-items: center; .row-infos-icon { padding-right: 2px; } } } .schema-row-button, .schema-header-button { color: global.$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: global.$dark-gray; color: white; margin: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; svg { width: 12px; } } .schemaField-editing { outline: none; height: 100%; cursor: text; outline: none; overflow: auto; }