/*
 * Ícones do projeto — subconjunto de Phosphor 2.0 (MIT) e Remixicon 2.5.0 (Apache-2.0).
 *
 * Só os glifos que o markup do projeto renderiza; as bibliotecas completas
 * (110 KB de CSS do remixicon, 64 KB do phosphor) não são servidas.
 *
 *   ri-filter-line, ri-close-circle-line            breadcrumbs, button_filter,
 *                                                   items_groupers_bar, set_info
 *   ph-x                                            summary
 *   ph-sort-ascending, ph-sort-descending           sort_bar (o sufixo vem de
 *                                                   $this->alternate_sort_order)
 *   ph-link, ph-facebook-logo, ph-whatsapp-logo     screen_templates summary(.xml)
 *
 * Para acrescentar um ícone: pegue o codepoint do "content" na folha da biblioteca
 * original e re-subsete a fonte (pyftsubset --unicodes=U+XXXX --flavor=woff2).
 */
@font-face {
  font-family: "Phosphor";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("../fonts/icons-phosphor.woff2") format("woff2");
}

@font-face {
  font-family: "remixicon";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("../fonts/icons-remixicon.woff2") format("woff2");
}

/* Bases copiadas das folhas originais: o font-family é o que falta sem elas. */
.ph {
  font-family: "Phosphor" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="ri-"], [class*=" ri-"] {
  font-family: 'remixicon' !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ri-1x { font-size: 1em; }

.ri-filter-line:before { content: "\ed27"; }
.ri-close-circle-line:before { content: "\eb97"; }

.ph.ph-x:before { content: "\eddb"; }
.ph.ph-sort-ascending:before { content: "\ed06"; }
.ph.ph-sort-descending:before { content: "\ed07"; }
.ph.ph-link:before { content: "\ebc2"; }
.ph.ph-facebook-logo:before { content: "\ead8"; }
.ph.ph-whatsapp-logo:before { content: "\edce"; }
