theme.scss 859 B

12345678910111213141516171819202122232425262728
  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. font-size: .8em;
  11. color: ck-color( 'text', 40 );
  12. // The `:focus` styles is applied before `.focused` class inside editables.
  13. // These styles show different border for a blink of an eye.
  14. &:focus {
  15. outline: none;
  16. box-shadow: none;
  17. }
  18. &.focused {
  19. @include ck-focus-ring( 'outline' );
  20. @include ck-box-shadow( $ck-inner-shadow );
  21. background-color: ck-color( 'background' );;
  22. }
  23. }
  24. }