/*
 * Material Icons のアイコンフォント(Google material-design-icons。material_icons gem 2.2.1 に同梱されていたもの、Apache License 2.0。
 * ライセンス全文は vendor/assets/fonts/MaterialIcons-LICENSE.txt)。gem の CSS から、使っている基本クラスとサイズ・色の修飾だけを写した。
 * フォントは woff2(現行ブラウザはすべて対応)と woff(予備)だけを置く。url() は Propshaft が digest 付きに書き換える。
 * font-display: block は、フォントが届くまでアイコン名(account_circle など)の文字が見えないようにするため
 */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/MaterialIcons-Regular-e52aa606.woff2") format("woff2"),
       url("/assets/MaterialIcons-Regular-863f766e.woff") format("woff");
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

/* サイズ */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* 明るい背景に黒 / 暗い背景に白 */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
