theme.scss 852 B

123456789101112131415161718192021222324252627
  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/helpers/_colors.scss';
  4. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_rounded.scss';
  5. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_spacing.scss';
  6. // It's a darker shade of u-color( 'background-hue' ) so it looks good in info-boxes.
  7. @include ck-color-add( ( 'code': rgba( 202, 205, 207, 0.3 ) ) );
  8. code {
  9. background-color: ck-color( 'code' );
  10. padding: ck-spacing( 'tiny' );
  11. border-radius: $ck-border-radius;
  12. &:before,
  13. &:after {
  14. // To reduce the width of that space to 0px.
  15. letter-spacing: -1 * ck-spacing();
  16. content: "\00a0";
  17. }
  18. // To remove an empty line when `code` is empty.
  19. & > br[data-cke-filler] {
  20. display: none;
  21. }
  22. }