8
0

theme.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. @import '~@ckeditor/ckeditor5-theme-lark/theme/theme.scss';
  4. .ck-editor {
  5. // All the elements within `.ck-editor` are positioned relatively to it.
  6. // If any element needs to be positioned with respect to the <body>, etc.,
  7. // it must land outside of the `.ck-editor` in DOM.
  8. position: relative;
  9. }
  10. .ck-editor__top .ck-sticky-panel {
  11. .ck-toolbar {
  12. @include ck-rounded-corners {
  13. border-bottom-left-radius: 0;
  14. border-bottom-right-radius: 0;
  15. }
  16. // https://github.com/ckeditor/ckeditor5-editor-classic/issues/62
  17. z-index: ck-z( 'modal' );
  18. background: ck-color( 'editor-toolbar-background' );
  19. border-bottom-width: 0;
  20. }
  21. .ck-sticky-panel__content_sticky {
  22. .ck-toolbar {
  23. border-bottom-width: 1px;
  24. @include ck-rounded-corners {
  25. border-radius: 0;
  26. }
  27. }
  28. }
  29. }
  30. .ck-editor__editable {
  31. @include ck-rounded-corners {
  32. border-top-left-radius: 0;
  33. border-top-right-radius: 0;
  34. };
  35. border: 1px solid ck-color( 'editor-border' );
  36. }