material.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. @font-face {
  2. font-family: 'Material Icons';
  3. src: url('MaterialIcons-Regular.woff2?v=1') format('woff2'),
  4. url('MaterialIcons-Regular.woff?v=1') format('woff');
  5. font-style: normal;
  6. font-weight: 400;
  7. }
  8. .material-icons {
  9. font-family: 'Material Icons';
  10. font-weight: normal;
  11. font-style: normal;
  12. font-size: 24px; /* Preferred icon size */
  13. display: inline-block;
  14. line-height: 1;
  15. text-transform: none;
  16. letter-spacing: normal;
  17. word-wrap: normal;
  18. white-space: nowrap;
  19. direction: ltr;
  20. /* Support for all WebKit browsers. */
  21. -webkit-font-smoothing: antialiased;
  22. /* Support for Safari and Chrome. */
  23. text-rendering: optimizeLegibility;
  24. /* Support for Firefox. */
  25. -moz-osx-font-smoothing: grayscale;
  26. /* Support for IE. */
  27. font-feature-settings: 'liga';
  28. }
  29. /* Rules for sizing the icon. */
  30. .material-icons.md-14 { font-size: 14px; }
  31. .material-icons.md-18 { font-size: 18px; }
  32. .material-icons.md-24 { font-size: 24px; }
  33. .material-icons.md-36 { font-size: 36px; }
  34. .material-icons.md-48 { font-size: 48px; }
  35. .material-icons.md-96 { font-size: 96px; }
  36. .material-icons.md-128 { font-size: 128px; }
  37. /* Rules for using icons as black on a light background. */
  38. .material-icons.md-dark { color: rgba(0, 0, 0, 0.87); }
  39. .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
  40. /* Rules for using icons as white on a dark background. */
  41. .material-icons.md-light { color: rgba(255, 255, 255, 1); }
  42. .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
  43. /* specific color masks */
  44. .material-icons.md-dark.user-dec,
  45. .material-icons.md-medium-dark.user-dec {
  46. color: #ff9800;
  47. }
  48. .material-icons.md-dark.user-ack,
  49. .material-icons.md-medium-dark.user-ack {
  50. color: #4caf50;
  51. }
  52. .material-icons.md-dark.send-failed,
  53. .material-icons.md-medium-dark.send-failed {
  54. color: #d50000;
  55. }