icon.scss 797 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_fonts';
  4. /**
  5. * Default width/height of an icon. Note that it equals the default
  6. * height of the line of text, so e.g. it matches the height of the
  7. * button's label.
  8. */
  9. $ck-icon-min-size: round( $ck-font-size-base * $ck-line-height-base );
  10. svg.ck-icon {
  11. min-width: $ck-icon-min-size;
  12. min-height: $ck-icon-min-size;
  13. font-size: 1em;
  14. vertical-align: middle;
  15. color: inherit;
  16. // Inherit cursor style (#5).
  17. cursor: inherit;
  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. }