theme.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. @include ck-editor {
  5. @include ck-rounded-corners();
  6. // All the elements within `.ck-editor` are positioned relatively to it.
  7. // If any element needs to be positioned with respect to the <body>, etc.,
  8. // it must land outside of the `.ck-editor` in DOM.
  9. position: relative;
  10. .ck-editor__top {
  11. .ck-toolbar {
  12. border-top: 0;
  13. border-left: 0;
  14. border-right: 0;
  15. }
  16. }
  17. .ck-editor__main {
  18. background: ck-color();
  19. }
  20. .ck-editor__bottom {
  21. border-bottom: 0;
  22. border-left: 0;
  23. border-right: 0;
  24. padding: ck-spacing();
  25. }
  26. .ck-editor__editable {
  27. &.ck-focused {
  28. @include ck-focus-ring( 'outline' );
  29. @include ck-box-shadow( $ck-inner-shadow );
  30. }
  31. &_inline {
  32. overflow: auto;
  33. padding: 0 ck-spacing();
  34. }
  35. }
  36. }
  37. .ck-editor,
  38. .ck-editor-bottom {
  39. background: ck-color( 'foreground' );
  40. border: 1px solid ck-border-color( 'foreground' );
  41. }