#bd-editor-panel { display: flex; flex-direction: column; } #bd-editor-controls button { margin: 0 5px 0 0; background: none; color: var(--interactive-normal); height: 26px; font-weight: 600; border-radius: 3px; display: flex; align-items: center; } #bd-editor-controls button:hover { background: var(--background-modifier-hover); color: var(--interactive-hover); } #bd-editor-controls button:active { background: var(--background-modifier-active); } #bd-editor-controls button svg { fill: currentColor; } #bd-editor-controls { display: flex; align-items: center; justify-content: space-between; background: var(--background-secondary-alt); color: var(--text-normal); border: none; box-shadow: var(--elevation-low); padding: 5px; z-index: 10; } .editor-wrapper { display: flex; } .editor, .ace_editor { box-sizing: border-box; height: calc(100vh - 250px); font-size: 14px; width: 100%; } .bd-monokai .editor .ace_gutter { background: var(--background-secondary-alt); color: var(--header-secondary); font-size: 12px; } .bd-monokai .ace_editor { background: var(--background-secondary); } .bd-monokai .ace_line { color: var(--text-normal); } .editor-wrapper .bd-monokai .ace_cursor { color: var(--text-normal); } .editor-wrapper .bd-monokai .ace_gutter-active-line { background: var(--background-tertiary); } .editor-wrapper .bd-monokai .ace_marker-layer .ace_active-line { background: var(--background-secondary-alt); } .editor-wrapper .bd-monokai .ace_marker-layer .ace_selection { background: #3e82e5; opacity: 0.5; } .controls-section { display: flex; align-items: center; } .controls-section .checkbox-inner { width: 14px; height: 14px; } .controls-section .checkbox-inner .checkbox:checked + span::after { left: 2px; top: -2px; } .controls-section .checkbox-label { font-size: 14px; font-weight: 500; } /* Ace Editor Settings */ #ace_settingsmenu_container { background: rgba(0, 0, 0, 0.7) !important; /* stylelint-disable-line important */ } body #ace_settingsmenu { padding-top: 35px; } body .ace_closeButton { position: absolute; top: 8px; right: 12px; z-index: 10000; padding: 0; cursor: pointer; background: none; border: none; } body .ace_closeButton::before { content: "✖"; color: #36393f; } body .ace_closeButton:active { transform: translateY(2px); } /* editor help text */ #bd-editor-controls .help-text { margin-top: 8px; margin-bottom: 3px; font-size: 14px; } #bd-editor-controls .help-text .inline { background: #2f3129; padding: 0.2em; margin: -0.2em 0; border-radius: 3px; }