#editor { background-color: var(--bg-main); display: flex; flex-grow: 1; flex-direction: column; overflow: hidden; position: relative; } #code { display: flex; flex-basis: calc(100% - 112px); /* .editor-header @ 56px .editor-footer @ 56px */ flex-grow: 1; flex-direction: column; overflow: hidden; } .editor-header { align-items: center; display: flex; padding: 16px 24px; } .editor-header .title { color: rgba(255, 255, 255, 1.00); flex: 1; font: var(--fs4); letter-spacing: var(--ls4); padding-right: 24px; } .editor-header .tag { margin-right: 8px; } #downloadScript { margin: 0 24px; } body:not(.editor-css) #editor .tag.css { display: none; } body:not(.editor-js) #editor .tag.js { display: none; } .editor-footer { align-items: center; display: flex; padding: 12px 24px; } .editor-footer #status { color: var(--fc2); flex: 1; font: var(--fs2); font-weight: 300; letter-spacing: var(--ls1); } .editor-footer button { background-color: transparent; color: white; } #save { color: var(--link-color); margin-left: 24px; margin-right: -16px; } .empty { align-items: center; background-color: var(--bg-main); color: var(--fc4); display: flex; flex: 1; font: var(--fs4); font-weight: 300; justify-content: center; left: 0; letter-spacing: var(--ls4); height: 100%; position: absolute; top: 0; width: 100%; height: 100%; } .editor-css .empty, .editor-js .empty { display: none; } /* disabled editor interaction when saving */ body.saving #editor button, body.saving #editor #code , body.saving #editor .icon { cursor: default; opacity: 0.40; pointer-events: none; }