You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.5 KiB

  1. // @font-face {
  2. // font-family: 'Material Icons';
  3. // font-style: normal;
  4. // font-weight: 400;
  5. // src: local('Material Icons'),
  6. // local('MaterialIcons-Regular'),
  7. // url(/fonts/MaterialIcons-Regular.woff2) format('woff2'),
  8. // url(/fonts/MaterialIcons-Regular.woff) format('woff');
  9. // }
  10. // .material-icons {
  11. // font-family: 'Material Icons', sans-serif;
  12. // font-weight: normal;
  13. // font-style: normal;
  14. // font-size: 24px; /* Preferred icon size */
  15. // display: inline-flex;
  16. // line-height: 1;
  17. // text-transform: none;
  18. // letter-spacing: normal;
  19. // word-wrap: normal;
  20. // white-space: nowrap;
  21. // direction: ltr;
  22. // /* Support for all WebKit browsers. */
  23. // -webkit-font-smoothing: antialiased;
  24. // /* Support for Safari and Chrome. */
  25. // text-rendering: optimizeLegibility;
  26. // /* Support for Firefox. */
  27. // -moz-osx-font-smoothing: grayscale;
  28. // /* Support for IE. */
  29. // font-feature-settings: 'liga';
  30. // }
  31. .icons {
  32. display: inline-block;
  33. color: mc('grey', '800');
  34. &.is-text {
  35. display: inline-block;
  36. width: 1em;
  37. height: 1em;
  38. vertical-align: middle;
  39. position: relative;
  40. top: -0.0625em;
  41. stroke: none;
  42. fill: none;
  43. }
  44. @each $size in 16,18,20,24,32,48,64,96,128 {
  45. &.is-#{$size} {
  46. width: #{$size}px;
  47. height: #{$size}px;
  48. }
  49. }
  50. &.has-right-pad {
  51. margin-right: .5rem;
  52. }
  53. &.is-outlined {
  54. stroke-width: 2px;
  55. use {
  56. fill: inherit;
  57. stroke: mc('grey', '800');
  58. }
  59. }
  60. }
  61. .material-design-icon {
  62. display: inline-flex;
  63. }