+.editor-node-resizer-ghost {
+ opacity: 0.5;
+ display: none;
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 2;
+ pointer-events: none;
+ background-color: var(--editor-color-primary);
+}
+.editor-node-resizer.active .editor-node-resizer-ghost {
+ display: block;
+}
+
+.editor-table-marker {
+ position: fixed;
+ background-color: var(--editor-color-primary);
+ z-index: 99;
+ user-select: none;
+ opacity: 0;
+ &:hover, &.active {
+ opacity: 0.4;
+ }
+}
+.editor-table-marker-column {
+ width: 4px;
+ cursor: col-resize;
+}
+.editor-table-marker-row {
+ height: 4px;
+ cursor: row-resize;
+}
+
+.editor-code-block-wrap {
+ user-select: none;
+ > * {
+ pointer-events: none;
+ }
+ &.selected .cm-editor {
+ border: 1px dashed var(--editor-color-primary);
+ }
+}
+.editor-diagram.selected {
+ outline: 2px dashed var(--editor-color-primary);
+}
+
+.editor-media-wrap {
+ display: inline-block;
+ cursor: not-allowed;
+ iframe {
+ pointer-events: none;
+ }
+ &.align-left {
+ float: left;
+ }
+ &.align-right {
+ float: right;
+ }
+ &.align-center {
+ display: block;
+ margin-inline: auto;
+ }
+}
+
+/**
+ * Fake task list checkboxes
+ */
+.editor-content-area .task-list-item {
+ margin-left: 0;
+ position: relative;
+}
+.editor-content-area .task-list-item > input[type="checkbox"] {
+ display: none;
+}
+.editor-content-area .task-list-item:before {
+ content: '';
+ display: inline-block;
+ border: 2px solid #CCC;
+ width: 12px;
+ height: 12px;
+ border-radius: 2px;
+ margin-right: 8px;
+ vertical-align: text-top;
+ cursor: pointer;
+ position: absolute;
+ left: -24px;
+ top: 4px;
+}
+.editor-content-area .task-list-item[checked]:before {
+ background-color: #CCC;
+ background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m8.4856 20.274-6.736-6.736 2.9287-2.7823 3.8073 3.8073 10.836-10.836 2.9287 2.9287z" stroke-width="1.4644"/></svg>');
+ background-position: 50% 50%;
+ background-size: 100% 100%;
+}
+
+/**
+ * Form elements
+ */
+.editor-form-field-wrapper {
+ margin-bottom: .5rem;
+}
+.editor-form-field-input {
+ display: block;
+ width: 100%;
+ min-width: 250px;
+ border: 1px solid #DDD;
+ padding: .5rem;
+ border-radius: 4px;
+ color: #444;
+}
+textarea.editor-form-field-input {
+ font-family: var(--font-code);
+ width: 350px;
+ height: 250px;
+ font-size: 12px;
+}
+.editor-form-field-label {
+ color: #444;
+ font-weight: 700;
+ font-size: 12px;
+}
+.editor-form-actions {
+ display: flex;
+ justify-content: end;
+ gap: $-s;
+ margin-top: $-m;
+}
+.editor-form-actions > button {
+ display: block;
+ font-size: 0.85rem;
+ line-height: 1.4em;
+ padding: $-xs*1.3 $-m;
+ font-weight: 400;
+ border-radius: 4px;
+ cursor: pointer;
+ box-shadow: none;
+ &:focus {
+ outline: 1px dotted currentColor;
+ outline-offset: -$-xs;
+ box-shadow: none;
+ filter: brightness(90%);
+ }
+}
+.editor-form-action-primary {
+ background-color: var(--color-primary);
+ color: #FFF;
+ border: 1px solid var(--color-primary);
+ &:hover {
+ @include lightDark(box-shadow, $bs-light, $bs-dark);
+ filter: brightness(110%);
+ }
+}
+.editor-form-action-secondary {
+ border: 1px solid;
+ @include lightDark(border-color, #CCC, #666);
+ @include lightDark(color, #666, #AAA);
+ &:hover, &:focus, &:active {
+ @include lightDark(color, #444, #BBB);
+ border: 1px solid #CCC;
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
+ background-color: #F2F2F2;
+ @include lightDark(background-color, #f8f8f8, #444);
+ filter: none;
+ }
+ &:active {
+ border-color: #BBB;
+ background-color: #DDD;
+ color: #666;
+ box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
+ }
+}
+.editor-form-tab-container {
+ display: flex;
+ flex-direction: row;
+ gap: 2rem;
+}
+.editor-form-tab-controls {
+ display: flex;
+ flex-direction: column;
+ align-items: stretch;
+ gap: .25rem;
+}
+.editor-form-tab-control {
+ font-weight: bold;
+ font-size: 14px;
+ color: #444;
+ border-bottom: 2px solid transparent;
+ position: relative;
+ cursor: pointer;
+ padding: .25rem .5rem;
+ text-align: start;
+ &[aria-selected="true"] {
+ border-color: var(--editor-color-primary);
+ color: var(--editor-color-primary);
+ }
+ &[aria-selected="true"]:after, &:hover:after {
+ background-color: var(--editor-color-primary);
+ opacity: .15;
+ content: '';
+ display: block;
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ }
+}
+.editor-form-tab-contents {
+ width: 360px;
+}
+.editor-action-input-container {
+ display: flex;
+ flex-direction: row;
+ align-items: end;
+ justify-content: space-between;
+ gap: .1rem;
+ .editor-button {
+ margin-bottom: 12px;
+ }
+}
+
+// Editor theme styles
+.editor-theme-bold {
+ font-weight: bold;
+}
+.editor-theme-italic {
+ font-style: italic;
+}
+.editor-theme-strikethrough {
+ text-decoration-line: line-through;
+}
+.editor-theme-underline {
+ text-decoration-line: underline;
+}
+.editor-theme-underline-strikethrough {
+ text-decoration: underline line-through;
+}
\ No newline at end of file