theme.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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-toolbar {
  11. @include ck-rounded-corners {
  12. border-bottom-left-radius: 0;
  13. border-bottom-right-radius: 0;
  14. &.ck-toolbar_sticky {
  15. border-radius: 0;
  16. }
  17. }
  18. // https://github.com/ckeditor/ckeditor5-editor-classic/issues/62
  19. z-index: ck-z( 'modal' );
  20. background: ck-color( 'editor-toolbar-background' );
  21. border-bottom-width: 0;
  22. &.ck-toolbar_sticky {
  23. border-bottom-width: 1px;
  24. }
  25. }
  26. .ck-editor__editable {
  27. @include ck-rounded-corners {
  28. border-top-left-radius: 0;
  29. border-top-right-radius: 0;
  30. };
  31. border: 1px solid ck-color( 'editor-border' );
  32. }