3 --editor-color-primary: #206ea7;
8 background-color: #FFF;
14 .editor-toolbar-main {
17 justify-content: center;
18 border-top: 1px solid #DDD;
19 border-bottom: 1px solid #DDD;
22 body.editor-is-fullscreen {
28 .editor-content-area {
33 .editor-content-wrap {
45 justify-content: center;
48 .editor-button:hover {
49 background-color: #EEE;
53 .editor-button[disabled] {
58 .editor-button-active, .editor-button-active:hover {
59 background-color: #ceebff;
62 .editor-button-format-preview {
66 .editor-button-icon svg {
75 .editor-dropdown-menu-container {
78 .editor-dropdown-menu {
80 background-color: #FFF;
81 box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
89 flex-direction: column;
92 .editor-menu-list .editor-button {
98 .editor-menu-list > .editor-dropdown-menu-container .editor-dropdown-menu {
99 inset-inline-start: 100%;
101 flex-direction: column;
104 .editor-format-menu-toggle {
108 padding-inline: 12px;
109 justify-content: start;
110 background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23666" d="M7.41 8L12 12.58 16.59 8 18 9.41l-6 6-6-6z"/></svg>');
111 background-repeat: no-repeat;
112 background-position: 98% 50%;
113 background-size: 28px;
115 .editor-format-menu .editor-dropdown-menu {
117 .editor-dropdown-menu {
121 .editor-format-menu .editor-dropdown-menu .editor-dropdown-menu-container > .editor-button {
125 .editor-overflow-container {
127 border-inline: 1px solid #DDD;
130 border-inline-start: none;
133 border-inline-end: none;
135 + .editor-overflow-container {
136 border-inline-start: none;
140 .editor-context-toolbar {
142 background-color: #FFF;
143 border: 1px solid #DDD;
146 box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
156 background-color: #FFF;
157 border-top: 1px solid #DDD;
158 border-left: 1px solid #DDD;
159 transform: rotate(45deg);
167 .editor-modal-wrapper {
171 justify-content: center;
173 background-color: rgba(0, 0, 0, 0.5);
178 background-color: #FFF;
179 border: 1px solid #DDD;
183 .editor-modal-header {
185 justify-content: space-between;
188 .editor-modal-title {
192 // Specific UI elements
193 .editor-color-select-row {
196 .editor-color-select-option {
201 .editor-color-select-option:hover {
203 box-sizing: border-box;
205 box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.25);
207 .editor-table-creator-row {
210 .editor-table-creator-cell {
211 border: 1px solid #DDD;
216 background-color: var(--editor-color-primary);
219 .editor-table-creator-display {
224 // In-editor elements
227 display: inline-flex;
229 .editor-image-decorator {
235 display: inline-block;
237 border: 1px dashed var(--editor-color-primary);
240 .editor-image-decorator-handle {
245 border: 2px solid var(--editor-color-primary);
246 background-color: #FFF;
249 inset-inline-start: -5px;
250 inset-block-start: -5px;
254 inset-inline-end: -5px;
255 inset-block-start: -5px;
259 inset-inline-end: -5px;
260 inset-block-end: -5px;
264 inset-inline-start: -5px;
265 inset-block-end: -5px;
270 .editor-table-marker {
272 background-color: var(--editor-color-primary);
280 .editor-table-marker-column {
284 .editor-table-marker-row {
289 .editor-code-block-wrap {
292 pointer-events: none;
296 // Editor theme styles
300 .editor-theme-italic {
303 .editor-theme-strikethrough {
304 text-decoration-line: line-through;
306 .editor-theme-underline {
307 text-decoration-line: underline;
309 .editor-theme-underline-strikethrough {
310 text-decoration: underline line-through;