theme.scss 808 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/_shadow.scss';
  5. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_states.scss';
  6. .ck-widget.image {
  7. figcaption {
  8. background-color: ck-color( 'foreground' );
  9. padding: 10px;
  10. // The `:focus` styles is applied before `.focused` class inside editables.
  11. // These styles show different border for a blink of an eye.
  12. &:focus {
  13. outline: none;
  14. box-shadow: none;
  15. }
  16. &.focused {
  17. @include ck-focus-ring( 'outline' );
  18. @include ck-box-shadow( $ck-inner-shadow );
  19. background-color: ck-color( 'background' );;
  20. }
  21. }
  22. }