classiceditor.css 962 B

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