_states.scss 532 B

1234567891011121314151617181920
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. /**
  4. * Makes element unselectable.
  5. */
  6. @mixin ck-unselectable() {
  7. -moz-user-select: none;
  8. -webkit-user-select: none;
  9. -ms-user-select: none;
  10. }
  11. /**
  12. * A class which hides an element in DOM.
  13. */
  14. .ck-hidden {
  15. // Override selector specificity. Otherwise, all elements with some display
  16. // style defined will override this one, which is not a desired result.
  17. display: none !important;
  18. }