8
0

button.css 708 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. @import "../../mixins/_unselectable.css";
  6. @import "../tooltip/mixins/_tooltip.css";
  7. .ck-button,
  8. a.ck-button {
  9. @mixin ck-unselectable;
  10. @mixin ck-tooltip_enabled;
  11. display: inline-block;
  12. position: relative;
  13. @mixin ck-button-icon {
  14. display: inline-block;
  15. }
  16. &.ck-button_with-text {
  17. & .ck-button__label {
  18. display: inline-block;
  19. }
  20. }
  21. &:hover {
  22. @mixin ck-tooltip_visible;
  23. }
  24. /* Get rid of the native focus outline around the tooltip when focused (but not :hover). */
  25. &:focus:not(:hover) {
  26. @mixin ck-tooltip_disabled;
  27. }
  28. & .ck-button__label {
  29. display: none;
  30. }
  31. }