8
0

theme.scss 1000 B

12345678910111213141516171819202122232425262728293031323334353637
  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-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. &.ck-editable_focused {
  23. @include ck-focus-ring( 'outline' );
  24. @include ck-box-shadow( $ck-inner-shadow );
  25. background-color: ck-color( 'background' );;
  26. }
  27. outline: none;
  28. box-shadow: none;
  29. }
  30. }
  31. }