@import "../../../../UI/theme"; .editorControlBar { z-index: 1; border: 2px solid transparent; border-top: 0; background-color: var(--controlBGColor); } .editorControlBarSticky { border-color: var(--textFieldBorderColor); } .editor { position: relative; & h1, & h2, & h3 { padding: 0; color: #7c8382; text-decoration: none; border-bottom: none; margin-bottom: 20px; line-height: 1.45; } & h1 { font-size: 2.5rem; } & h2 { font-size: 2rem; } & h3 { font-size: 1.8rem; } & p { margin-top: 20px; margin-bottom: 20px; } & hr { border: 1px solid; margin-bottom: 20px; } & li > p { margin: 0; } & div[data-plugin] { background: #fff; border: 1px solid #aaa; padding: 10px; margin-bottom: 20px; } } .dragging { } .shim { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: none; border: 2px dashed #aaa; background: rgba(0,0,0,0.2); } .dragging .shim { z-index: 1000; display: block; pointer-events: none; } .slateEditor { position: relative; background-color: var(--controlBGColor); padding: 12px; overflow: hidden; border-radius: var(--borderRadius); overflow-x: auto; border: var(--textFieldBorder); min-height: var(--richTextEditorMinHeight); & ul, & ol { padding-left: 30px; } & pre { white-space: pre-wrap; } & pre > code { display: block; width: 100%; overflow-y: auto; background-color: #000; color: #ccc; border-radius: var(--borderRadius); padding: 10px; } & blockquote { padding-left: 1em; border-left: 3px solid #eee; margin-left: 0; margin-right: 0; } }