|
|
@@ -5,40 +5,38 @@
|
|
|
|
|
|
@import "../mixins/_rounded.css";
|
|
|
|
|
|
-.ck.ck-editor {
|
|
|
- & .ck-editor__top {
|
|
|
- & .ck-sticky-panel {
|
|
|
- & .ck-toolbar {
|
|
|
- @mixin ck-rounded-corners {
|
|
|
- border-bottom-left-radius: 0;
|
|
|
- border-bottom-right-radius: 0;
|
|
|
- }
|
|
|
-
|
|
|
- border-bottom-width: 0;
|
|
|
+.ck.ck-editor__top {
|
|
|
+ & .ck-sticky-panel {
|
|
|
+ & .ck-toolbar {
|
|
|
+ @mixin ck-rounded-corners {
|
|
|
+ border-bottom-left-radius: 0;
|
|
|
+ border-bottom-right-radius: 0;
|
|
|
}
|
|
|
|
|
|
- & .ck-sticky-panel__content_sticky .ck-toolbar {
|
|
|
- border-bottom-width: 1px;
|
|
|
+ border-bottom-width: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ & .ck-sticky-panel__content_sticky .ck-toolbar {
|
|
|
+ border-bottom-width: 1px;
|
|
|
|
|
|
- @mixin ck-rounded-corners {
|
|
|
- border-radius: 0;
|
|
|
- }
|
|
|
+ @mixin ck-rounded-corners {
|
|
|
+ border-radius: 0;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
- /* Note: Use ck-editor__main to make sure these styles don't apply to other editor types */
|
|
|
- & .ck-editor__main .ck-editor__editable {
|
|
|
- /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */
|
|
|
- background: var(--ck-color-base-background);
|
|
|
+/* Note: Use ck-editor__main to make sure these styles don't apply to other editor types */
|
|
|
+.ck.ck-editor__main .ck-editor__editable {
|
|
|
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */
|
|
|
+ background: var(--ck-color-base-background);
|
|
|
|
|
|
- @mixin ck-rounded-corners {
|
|
|
- border-top-left-radius: 0;
|
|
|
- border-top-right-radius: 0;
|
|
|
- }
|
|
|
+ @mixin ck-rounded-corners {
|
|
|
+ border-top-left-radius: 0;
|
|
|
+ border-top-right-radius: 0;
|
|
|
+ }
|
|
|
|
|
|
- &:not(.ck-focused) {
|
|
|
- border-color: var(--ck-color-base-border);
|
|
|
- }
|
|
|
+ &:not(.ck-focused) {
|
|
|
+ border-color: var(--ck-color-base-border);
|
|
|
}
|
|
|
}
|