classiceditor.css 969 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. @import "../mixins/_rounded.css";
  6. .ck.ck-editor__top {
  7. & .ck-sticky-panel {
  8. & .ck-toolbar {
  9. @mixin ck-rounded-corners {
  10. border-bottom-left-radius: 0;
  11. border-bottom-right-radius: 0;
  12. }
  13. border-bottom-width: 0;
  14. }
  15. & .ck-sticky-panel__content_sticky .ck-toolbar {
  16. border-bottom-width: 1px;
  17. @mixin ck-rounded-corners {
  18. border-radius: 0;
  19. }
  20. }
  21. }
  22. }
  23. /* Note: Use ck-editor__main to make sure these styles don't apply to other editor types */
  24. .ck.ck-editor__main > .ck-editor__editable {
  25. /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */
  26. background: var(--ck-color-base-background);
  27. @mixin ck-rounded-corners {
  28. border-top-left-radius: 0;
  29. border-top-right-radius: 0;
  30. }
  31. &:not(.ck-focused) {
  32. border-color: var(--ck-color-base-border);
  33. }
  34. }