/* ===========================================================================
   Vuetify's built-in icons, drawn with the Tabler font.

   Vuetify addresses its internal icons (select arrows, pagination, sort
   indicators, checkbox and radio marks, the close button on chips and
   alerts) through .mdi-* class aliases. Satisfying those used to mean
   loading the whole Material Design Icons webfont on every page:

       347 KB of CSS + 403 KB of woff2 = ~750 KB, 7448 glyphs

   for the ELEVEN glyphs the product actually renders. Tabler is already
   loaded for the 205 icons the templates use and has an equivalent for
   every one of them, so the aliases are remapped onto it here and the MDI
   link is gone.

   Why remap the classes instead of configuring Vuetify's `icons.aliases`:
   the UMD build served from the CDN does not expose `vuetify/iconsets/*`,
   so there is no supported way to swap the icon set at runtime. Overriding
   the glyph each alias resolves to is the part that is reachable.

   The map deliberately covers Vuetify's FULL default alias set -- not just
   the glyphs seen on screen during review. A checkbox or rating star only
   appears once someone opens the right dialog, and a missing glyph renders
   as blank, which is the kind of bug nobody reports.

   Code points are read from @tabler/icons-webfont@2.47.0, the version
   pinned in the layouts. If that pin moves, REGENERATE rather than edit:
   Tabler reassigns code points between majors, and a stale value here is a
   wrong icon, not a missing one.
   =========================================================================== */

/* The alias classes carry no font-family of their own once MDI is gone. */
[class*="mdi-"]::before {
    font-family: "tabler-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation and disclosure */
.mdi-menu::before { content: "\ec42"; }
.mdi-menu-down::before { content: "\ea5f"; }
.mdi-menu-right::before { content: "\ea61"; }
.mdi-menu-up::before { content: "\ea62"; }
.mdi-chevron-down::before { content: "\ea5f"; }
.mdi-chevron-up::before { content: "\ea62"; }
.mdi-chevron-left::before { content: "\ea60"; }
.mdi-chevron-right::before { content: "\ea61"; }

/* Sorting and pagination */
.mdi-arrow-up::before { content: "\ea25"; }
.mdi-arrow-down::before { content: "\ea16"; }
.mdi-arrow-left::before { content: "\ea19"; }
.mdi-arrow-right::before { content: "\ea1f"; }
.mdi-page-first::before { content: "\ea64"; }
.mdi-page-last::before { content: "\ea65"; }
.mdi-unfold-more-horizontal::before { content: "\eb5a"; }

/* Status and dismissal */
.mdi-information::before { content: "\eac5"; }
.mdi-alert-circle::before { content: "\ea05"; }
.mdi-check::before { content: "\ea5e"; }
.mdi-check-circle::before { content: "\ea67"; }
.mdi-close::before { content: "\eb55"; }
.mdi-close-circle::before { content: "\ea6a"; }

/* Form controls */
.mdi-plus::before { content: "\eb0b"; }
.mdi-minus::before { content: "\eaf2"; }
.mdi-pencil::before { content: "\eb04"; }
.mdi-checkbox-marked::before { content: "\eb28"; }
.mdi-checkbox-blank-outline::before { content: "\eb2c"; }
.mdi-minus-box::before { content: "\eb29"; }
.mdi-radiobox-marked::before { content: "\efb1"; }
.mdi-radiobox-blank::before { content: "\ea6b"; }
.mdi-circle::before { content: "\f698"; }
.mdi-calendar::before { content: "\ea53"; }
.mdi-paperclip::before { content: "\eb02"; }
.mdi-palette::before { content: "\eb01"; }
.mdi-cloud-upload::before { content: "\ea75"; }
.mdi-eyedropper::before { content: "\ebe6"; }
.mdi-cached::before { content: "\eb13"; }

/* Rating */
.mdi-star::before { content: "\f6a6"; }
.mdi-star-outline::before { content: "\eb2e"; }
.mdi-star-half-full::before { content: "\f6a7"; }

/* Brand mark used on the install page */
.mdi-wordpress::before { content: "\f2d3"; }
