* { box-sizing: border-box; } body { margin: 0; padding: 0; } .toolbar { height: 30px; width: 100%; padding: 0; margin: 0; background: white; line-height: 30px; list-style-type: none; z-index: 99; hr { border: 1px solid rgba(0, 0, 0, .2); margin: 4px 8px; } & > li { display: inline-block; padding: 0 8px; line-height: initial; &:hover { background: #EEE; } .menu { display: none; min-width: 150px; position: absolute; z-index: 999; background: white; padding: 0; margin-left: -8px; box-shadow: 4px 8px 16px rgba(0, 0, 0, .1); li { display: block; padding: 4px 8px; &:hover { background: #EEE; } } } &:hover { .menu { display: block; } } } } .tabs { height: 32px; width: 100%; background: #EEE; padding-top: 2px; border-bottom: 4px solid white; span { display: inline-block; height: 100%; min-width: 100px; line-height: 26px; padding: 0 20px 0 4px; margin-right: 3px; background: white; position: relative; color: #666; &.active { border-top: 4px solid #808; color: black; } .close { border-radius: 4px; position: absolute; top: 6px; right: 6px; height: 18px; line-height: 18px; font-size: 18px; text-align: center; color: #808; &:hover { color: black; } } } } .editor-container { position: absolute; top: 60px; bottom: 30px; left: 0; right: 0; } .bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 30px; padding: 5px; margin: 0; select { height: 20px; } } .dialog { position: fixed; width: 250px; left: ~"calc(50% - 100px)"; top: 200px; background: white; box-shadow: 4px 4px 8px rgba(0, 0, 0, .2); z-index: 999; padding: 10px; border: 2px solid #AAA; .button-row { display: flex; justify-content: space-around; margin-top: 10px; font-size: 16px; button { padding: 8px; border: 1px solid #888; text-align: center; background: white; min-width: 75px; box-shadow: 4px 4px 8px rgba(0, 0, 0, .1); &:hover { border: 1px solid black; } } } } .modal-overlay { position: fixed; content: ""; top: 0; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, .8); z-index: 99; }