icon.css 740 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. :root {
  6. --ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));
  7. }
  8. svg.ck.ck-icon {
  9. width: var(--ck-icon-size);
  10. height: var(--ck-icon-size);
  11. /* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */
  12. font-size: .8333350694em;
  13. color: inherit;
  14. /* Inherit cursor style (#5). */
  15. cursor: inherit;
  16. /* This will prevent blurry icons on Firefox. See #340. */
  17. will-change: transform;
  18. & * {
  19. /* Inherit cursor style (#5). */
  20. cursor: inherit;
  21. /* Allows dynamic coloring of the icons. */
  22. color: inherit;
  23. /* Needed by FF. */
  24. fill: currentColor;
  25. }
  26. }