material.css 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. @font-face {
  2. font-family: 'Material Icons';
  3. src: local('Material Icons'),
  4. local('MaterialIcons-Regular'),
  5. url('MaterialIcons-Regular.woff2?v=1') format('woff2'),
  6. url('MaterialIcons-Regular.woff?v=1') format('woff');
  7. font-style: normal;
  8. font-weight: 400;
  9. }
  10. .material-icons {
  11. font-family: 'Material Icons';
  12. font-weight: normal;
  13. font-style: normal;
  14. font-size: 24px; /* Preferred icon size */
  15. display: inline-block;
  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. /* Rules for sizing the icon. */
  32. .material-icons.md-14 { font-size: 14px; }
  33. .material-icons.md-18 { font-size: 18px; }
  34. .material-icons.md-24 { font-size: 24px; }
  35. .material-icons.md-36 { font-size: 36px; }
  36. .material-icons.md-48 { font-size: 48px; }
  37. .material-icons.md-96 { font-size: 96px; }
  38. .material-icons.md-128 { font-size: 128px; }
  39. /* Rules for using icons as black on a light background. */
  40. .material-icons.md-dark { color: rgba(0, 0, 0, 0.87); }
  41. .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
  42. /* Rules for using icons as white on a dark background. */
  43. .material-icons.md-light { color: rgba(255, 255, 255, 1); }
  44. .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
  45. /* specific color masks */
  46. .material-icons.user-dec {
  47. color: #ff9800;
  48. }
  49. .material-icons.user-ack {
  50. color: #4caf50;
  51. }