icon.scss 836 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. /**
  4. * Default width/height of an icon.
  5. *
  6. * @access public
  7. */
  8. $ck-icon-size: 20px;
  9. .ck-icon-manager-sprite {
  10. display: none;
  11. * {
  12. // Allows dynamic coloring of the icons.
  13. color: inherit;
  14. // Needed by Webkit/Blink.
  15. fill: currentColor;
  16. }
  17. }
  18. .ck-icon {
  19. min-width: $ck-icon-size;
  20. min-height: $ck-icon-size;
  21. width: #{$ck-icon-size / $ck-font-size-base}em;
  22. height: #{$ck-icon-size / $ck-font-size-base}em;
  23. font-size: 1em;
  24. vertical-align: middle;
  25. color: inherit;
  26. // Inherit cursor style (#5).
  27. cursor: inherit;
  28. * {
  29. // Inherit cursor style (#5).
  30. cursor: inherit;
  31. // Allows dynamic coloring of the icons.
  32. color: inherit;
  33. // Needed by FF.
  34. fill: currentColor;
  35. }
  36. }