@import "../../../../UI/theme"; .editorControlBar { z-index: 1; border: 2px solid transparent; border-top: 0; background-color: var(--controlBGColor); } .editorControlBarSticky { border-color: var(--textFieldBorderColor); } .wrapper { 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; } } .editor { position: relative; overflow: hidden; overflow-x: auto; min-height: var(--richTextEditorMinHeight); font-family: var(--fontFamily); & 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; } & table { border-collapse: collapse; } & td, & th { border: 2px solid black; padding: 8px; text-align: left; } } .shortcode { border: 2px solid black; padding: 8px; margin: 16px 0; cursor: pointer; } .shortcodeSelected { border-color: var(--primaryColor); color: var(--primaryColor); }