}
}
.editor-content-area {
+ min-height: 100%;
+ padding-block: 1rem;
&:focus {
outline: 0;
}
.editor-content-wrap {
position: relative;
overflow-y: scroll;
+ flex: 1;
}
// Buttons
.editor-button-text {
font-weight: 400;
color: #000;
- font-size: 12.2px;
+ font-size: 14px;
+ flex: 1;
+ padding-inline-end: 4px;
}
.editor-button-format-preview {
padding: 4px 6px;
display: block;
}
+.editor-button-long .editor-button-icon {
+ width: 24px;
+ height: 24px;
+}
.editor-button-icon svg {
width: 24px;
height: 24px;
fill: currentColor;
display: block;
}
+.editor-menu-button-icon {
+ width: 24px;
+ height: 24px;
+ svg {
+ fill: #888;
+ }
+}
+.editor-container[dir="rtl"] .editor-menu-button-icon {
+ rotate: 180deg;
+}
.editor-button-with-menu-container {
display: flex;
flex-direction: row;
background-color: #FFF;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
z-index: 99;
- min-width: 120px;
display: flex;
flex-direction: row;
}
display: flex;
flex-direction: column;
align-items: stretch;
+ min-width: 160px;
}
.editor-dropdown-menu-vertical .editor-button {
border-bottom: 0;
top: 0;
}
+.editor-separator {
+ display: block;
+ height: 1px;
+ background-color: #DDD;
+ opacity: .8;
+}
+
.editor-format-menu-toggle {
width: 130px;
height: 32px;
+ font-size: 13px;
overflow: hidden;
padding-inline: 12px;
justify-content: start;
background-position: 98% 50%;
background-size: 28px;
}
+.editor-container[dir="rtl"] .editor-format-menu-toggle {
+ background-position: 2% 50%;
+}
.editor-format-menu .editor-dropdown-menu {
min-width: 300px;
.editor-dropdown-menu {
min-width: 220px;
}
+ .editor-button-icon {
+ display: none;
+ }
}
.editor-format-menu .editor-dropdown-menu .editor-dropdown-menu-container > .editor-button {
padding: 8px 10px;
width: 28px;
height: 28px;
cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
.editor-color-select-option:hover {
border-radius: 3px;
z-index: 3;
box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.25);
}
+.editor-color-select-option[data-color=""] svg {
+ width: 20px;
+ height: 20px;
+ fill: #888;
+}
.editor-table-creator-row {
display: flex;
}
.editor-node-resizer {
position: absolute;
left: 0;
- right: 0;
+ right: auto;
display: inline-block;
outline: 2px dashed var(--editor-color-primary);
+ direction: ltr;
}
.editor-node-resizer-handle {
position: absolute;
}
.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;
+ }
}
/**
background-size: 100% 100%;
}
-// Editor form elements
+/**
+ * Form elements
+ */
.editor-form-field-wrapper {
margin-bottom: .5rem;
}