8
0

theme.scss 711 B

123456789101112131415161718192021
  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/_spacing.scss';
  5. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_fonts.scss';
  6. @include ck-color-add( (
  7. 'image-caption-background': $ck-color-foreground,
  8. 'image-caption-text': $ck-color-text
  9. ) );
  10. .ck-editor__editable {
  11. .image > figcaption {
  12. color: ck-color( 'image-caption-text' );
  13. background-color: ck-color( 'image-caption-background' );
  14. padding: ck-spacing();
  15. font-size: ck-font-size( -1 );
  16. outline-offset: -1px;
  17. }
  18. }