_tooltip.css 613 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /**
  6. * Enables the tooltip, which is the tooltip is in DOM but
  7. * not yet displayed.
  8. */
  9. @define-mixin ck-tooltip_enabled {
  10. & .ck-tooltip {
  11. display: block;
  12. }
  13. }
  14. /**
  15. * Disables the tooltip making it disappear from DOM.
  16. */
  17. @define-mixin ck-tooltip_disabled {
  18. & .ck-tooltip {
  19. display: none;
  20. }
  21. }
  22. /**
  23. * Shows the tooltip, which is already in DOM.
  24. * Requires `ck-tooltip_enabled` first.
  25. */
  26. @define-mixin ck-tooltip_visible {
  27. & .ck-tooltip {
  28. visibility: visible;
  29. opacity: 1;
  30. }
  31. }