8
0

_states.scss 633 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. .ck-hidden {
  4. display: none;
  5. }
  6. .ck-disabled {
  7. opacity: .5;
  8. }
  9. /**
  10. * Brings visual styling for :focus state.
  11. *
  12. * @access public
  13. */
  14. @mixin ck-focus-shadow() {
  15. &:focus {
  16. outline: thin dotted;
  17. outline: 5px auto -webkit-focus-ring-color;
  18. // To avoid collision with border in Firefox.
  19. outline-offset: -2px;
  20. }
  21. }
  22. /**
  23. * Makes element unselectable.
  24. *
  25. * @access public
  26. */
  27. @mixin ck-unselectable() {
  28. -moz-user-select: none;
  29. -webkit-user-select: none;
  30. -ms-user-select: none;
  31. }