.CodeMirror { border-top: none; border-right: 1px solid var(--color-input-border); border-bottom: 1px solid var(--color-input-border); border-left: 1px solid var(--color-input-border); border-bottom-left-radius: var(--border-radius); border-bottom-right-radius: var(--border-radius); background: var(--color-input-bg); color: var(--color-input); .CodeMirror-cursor { border-color: black; //teal-3; } .CodeMirror-placeholder { opacity: 0.5; } .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word) { text-decoration: underline; text-decoration-color: black; //red-3; text-decoration-style: dotted; } } // Fix selection .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background-color: black; //teal-1; } .editor-toolbar { background-color: var(--color-header-background); border: none; border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); border-right: 1px solid var(--color-input-border); border-top: 1px solid var(--color-input-border); border-left: 1px solid var(--color-input-border); opacity: 1; // ? &:hover { opacity: 1; // ? } &.disabled-for-preview a:not(.no-disable) { background-color: black; //gray-1; border-color: transparent; opacity: 0.3; } &.fullscreen { background-color: black; //gray-1; &::before, &::after { display: none; } } button { color: var(--color-header-link); border-color: transparent; transition: opacity 0.3s ease; } i.separator { border: none; } } .form-field--SimpleMDE { margin-top: var(--spacing-large); // Overriding the lbry/components form styling .editor-toolbar { button:not(.button) { padding-right: 0; padding-left: 0; background-color: transparent !important; border: transparent; &:hover { color: var(--color-header-link-active); } } } }