:root { --textsize: 12pt; --section-color: #73a44d; --je-color: #73a44d; --border-radius: 5px; } html { box-sizing: border-box; margin: 0px; padding: 0px; font-family: "Roboto", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; font-size: var(--textsize); } body { margin: 0px; padding: 0px; background-color: #444 !important; } *, *:before, *:after { box-sizing: inherit; } *:focus { outline: none; } [onClick] { cursor: pointer; } button { padding: 4px 8px; } .page { display: none; } .page.show { display: block; } .section { background-color: #fff; padding: 32px; border-radius: 8px; } #layout { display: grid; grid-template-areas: "menu menu" "navigation details"; grid-template-columns: min-content 1fr; grid-gap: 32px; padding: 32px; } #menu { grid-area: menu; grid-template-columns: repeat(100, min-content); grid-gap: 16px; align-items: center; } #menu.page { display: grid; padding: 16px 32px; } #menu .item { cursor: pointer; } #menu .item.selected { font-weight: bold; } #logo img { height: 96px; margin-right: 32px; } #nodes { grid-area: navigation; width: min-content; } #editor-node { grid-area: details; grid-gap: 16px; grid-template-rows: min-content 1fr min-content; } #editor-node.show { display: grid; } #editor-node > div.ops { display: grid; grid-template-columns: min-content 1fr repeat(3, min-content); align-items: center; grid-gap: 8px; } #editor-node > div.ops #editor-node-name { font-weight: bold; } #types { grid-area: navigation; } #types .group { font-weight: bold; white-space: nowrap; margin-top: 32px; margin-bottom: 8px; } #types .group:first-child { margin-top: 0px; } #types .type { display: grid; grid-template-columns: min-content 1fr; grid-gap: 8px; align-items: center; cursor: pointer; margin-bottom: 8px; } #types .type .img img { height: 24px; display: inline; } #types .type .title { white-space: nowrap; line-height: 24px; } #editor-type-schema { grid-area: details; } .node { display: grid; grid-template-columns: min-content min-content 100%; white-space: nowrap; user-select: none; } .node img { height: 24px; } .node.selected > .name { font-weight: bold; } .node.marked > .name { color: #a00; } .node.expanded > .children { display: block; } .node .expand-status { padding-left: 8px; padding-right: 8px; } .node .expand-status.leaf { width: 40px; } .node .expand-status.leaf img { display: none; } .node .expand-status img { cursor: pointer; } .node .type-icon { padding-right: 4px; } .node .type-icon img { filter: invert(0.7) sepia(0.5) hue-rotate(50deg) saturate(300%) brightness(0.85); } .node .name { margin-bottom: 8px; line-height: 24px; cursor: pointer; } .node .children { display: none; grid-column: 1 / -1; border-left: 1px solid #ccc; padding-left: 12px; margin-left: 19px; } select { font-size: 1em; border: 1px solid #bcc3ce; background: #fff; color: #444; padding: 4px; } select optgroup { color: #a22; } datalist div:before { display: block; content: 'group'; font-weight: bold; } dialog#create-type { min-width: 400px; } dialog#create-type > div { display: grid; grid-gap: 8px; } dialog::backdrop { background-color: rgba(0, 0, 0, 0.75); } select:focus { outline: 2px solid #888; outline-offset: -2px; } #connected-nodes > .label { color: var(--section-color); font-weight: bold; font-size: 1.25em; margin-bottom: 8px; } #connected-nodes > .add { margin-bottom: 8px; } #connected-nodes > .add img { height: 24px; } #connected-nodes .connected-nodes { display: flex; align-items: start; flex-flow: row wrap; gap: 32px; } #connected-nodes .connected-nodes .type-group { display: grid; grid-template-columns: 24px 1fr; grid-gap: 8px; align-items: center; } #connected-nodes .connected-nodes .type-group .type-name { font-weight: bold; grid-column: 1 / -1; } #connected-nodes .connected-nodes .type-group .type-icon, #connected-nodes .connected-nodes .type-group .node-name { cursor: pointer; } #connected-nodes .type-icon img { display: block; height: 24px; } #select-node { padding: 32px; display: grid; grid-template-columns: min-content; grid-gap: 8px; justify-items: start; } #select-node > * { min-width: 300px; width: 100%; } #select-node button { width: 100px !important; } #select-node .more-exist { color: #a44; } #select-node .search-results .node-table { display: flex; align-items: start; gap: 32px; } #select-node .search-results .node-table .group { margin-top: 16px; } #select-node .search-results .node-table .group .label { font-weight: bold; color: var(--section-color); margin-bottom: 8px; white-space: nowrap; } #select-node .search-results .node-table .group .children { display: grid; grid-template-columns: min-content 1fr; grid-gap: 8px; } #select-node .search-results .node-table .group .children .node { cursor: pointer; } #select-node .search-results .node-table .group .children img { cursor: pointer; height: 24px; } dialog#connection-data { padding: 24px; } dialog#connection-data .label { font-size: 1.25em; font-weight: bold; color: var(--section-color); } dialog#connection-data img { height: 32px; } dialog#connection-data textarea { margin-top: 16px; width: 300px; height: 200px; } dialog#connection-data div.button { text-align: center; margin-top: 8px; }