theme.scss 991 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 {
  7. margin: 10px 0;
  8. padding: 0;
  9. &.ck-widget_selected, &.ck-widget_selected:hover {
  10. outline: 2px solid #ace;
  11. }
  12. .ck-editor__editable.ck-blurred &.ck-widget_selected {
  13. outline: 2px solid #ddd;
  14. }
  15. &:hover {
  16. outline: 2px solid yellow;
  17. }
  18. .ck-nested-editable {
  19. // The `:focus` styles is applied before `.focused` class inside editables.
  20. // These styles show different border for a blink of an eye.
  21. &:focus {
  22. outline: none;
  23. box-shadow: none;
  24. }
  25. &.focused {
  26. @include ck-focus-ring( 'outline' );
  27. @include ck-box-shadow( $ck-inner-shadow );
  28. background-color: ck-color( 'background' );;
  29. }
  30. }
  31. }