/* Built by forgejo-adwaita-theme's scripts/build.py. GPL-3.0-or-later. */
@import url("theme-forgejo-auto.css");

/* Adwaita for Forgejo, following the system's light or dark setting. Built into one file by scripts/build.py. */


/* src/tokens/adwaita-variables.css */

/*
 * Adwaita tokens for a web theme, part 1: libadwaita's own CSS variables, each
 * prefixed --adw- (TMAP-03). Copy with adwaita-stylesheet.css, which holds the
 * values libadwaita keeps inside its stylesheet, prefixed --aweb-.
 *
 * Values: libadwaita 1.10.0 (gitlab.gnome.org/GNOME/libadwaita, tag 1.10.0), as
 * tabulated in the agent handbook's gnome set, rules/04-css-variables.md and
 * rules/06-color-palette.md. Every name is a libadwaita variable with "--adw-"
 * in front of it.
 *
 * Light and dark: colours use light-dark(), so they follow the color-scheme of
 * the element where they're used; a theme picks the scheme by setting
 * color-scheme on the selector where its app switches modes (CVAL-05).
 */

:root {
  color-scheme: light dark;

  /* Accent: libadwaita blue. A target that wants the system accent sets
     --adw-accent-bg-color itself; --adw-accent-color follows below. */
  --adw-accent-bg-color: #3584e4;
  --adw-accent-fg-color: #fff;
  --adw-accent-color: light-dark(#0461be, #81d0ff);

  /* Semantic colours */
  --adw-destructive-bg-color: light-dark(#e01b24, #c01c28);
  --adw-destructive-fg-color: #fff;
  --adw-destructive-color: light-dark(#c30000, #ff938c);
  --adw-success-bg-color: light-dark(#2ec27e, #26a269);
  --adw-success-fg-color: #fff;
  --adw-success-color: light-dark(#007c3d, #78e9ab);
  --adw-warning-bg-color: light-dark(#e5a50a, #cd9309);
  --adw-warning-fg-color: rgb(0 0 0 / 80%);
  --adw-warning-color: light-dark(#905400, #ffc252);
  --adw-error-bg-color: light-dark(#e01b24, #c01c28);
  --adw-error-fg-color: #fff;
  --adw-error-color: light-dark(#c30000, #ff938c);

  /* Surfaces */
  --adw-window-bg-color: light-dark(#fafafb, #222226);
  --adw-window-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-view-bg-color: light-dark(#fff, #1d1d20);
  --adw-view-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-headerbar-bg-color: light-dark(#fff, #2e2e32);
  --adw-headerbar-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-headerbar-border-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-headerbar-backdrop-color: light-dark(#fafafb, #222226);
  --adw-headerbar-shade-color: light-dark(rgb(0 0 6 / 12%), rgb(0 0 6 / 36%));
  --adw-headerbar-darker-shade-color: light-dark(rgb(0 0 6 / 12%), rgb(0 0 6 / 90%));
  --adw-sidebar-bg-color: light-dark(#ebebed, #2e2e32);
  --adw-sidebar-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-sidebar-backdrop-color: light-dark(#f2f2f4, #28282c);
  --adw-sidebar-border-color: light-dark(rgb(0 0 6 / 7%), rgb(0 0 6 / 36%));
  --adw-sidebar-shade-color: light-dark(rgb(0 0 6 / 7%), rgb(0 0 6 / 25%));
  --adw-secondary-sidebar-bg-color: light-dark(#f3f3f5, #28282c);
  --adw-secondary-sidebar-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-secondary-sidebar-backdrop-color: light-dark(#f6f6fa, #252529);
  --adw-secondary-sidebar-border-color: light-dark(rgb(0 0 6 / 7%), rgb(0 0 6 / 36%));
  --adw-secondary-sidebar-shade-color: light-dark(rgb(0 0 6 / 7%), rgb(0 0 6 / 25%));
  --adw-card-bg-color: light-dark(#fff, rgb(255 255 255 / 8%));
  --adw-card-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-card-shade-color: light-dark(rgb(0 0 6 / 7%), rgb(0 0 6 / 36%));
  --adw-dialog-bg-color: light-dark(#fafafb, #36363a);
  --adw-dialog-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-popover-bg-color: light-dark(#fff, #36363a);
  --adw-popover-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-popover-shade-color: light-dark(rgb(0 0 6 / 7%), rgb(0 0 6 / 25%));
  --adw-overview-bg-color: light-dark(#f3f3f5, #28282c);
  --adw-overview-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-thumbnail-bg-color: light-dark(#fff, #39393d);
  --adw-thumbnail-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-active-toggle-bg-color: light-dark(#fff, rgb(255 255 255 / 20%));
  --adw-active-toggle-fg-color: light-dark(rgb(0 0 6 / 80%), #fff);
  --adw-shade-color: light-dark(rgb(0 0 6 / 7%), rgb(0 0 6 / 25%));
  --adw-scrollbar-outline-color: light-dark(#fff, rgb(0 0 6 / 50%));

  /* Fixed accent colours */
  --adw-accent-blue: #3584e4;
  --adw-accent-teal: #2190a4;
  --adw-accent-green: #3a944a;
  --adw-accent-yellow: #c88800;
  --adw-accent-orange: #ed5b00;
  --adw-accent-red: #e62d42;
  --adw-accent-pink: #d56199;
  --adw-accent-purple: #9141ac;
  --adw-accent-slate: #6f8396;

  /* Palette */
  --adw-blue-1: #99c1f1;
  --adw-blue-2: #62a0ea;
  --adw-blue-3: #3584e4;
  --adw-blue-4: #1c71d8;
  --adw-blue-5: #1a5fb4;
  --adw-green-1: #8ff0a4;
  --adw-green-2: #57e389;
  --adw-green-3: #33d17a;
  --adw-green-4: #2ec27e;
  --adw-green-5: #26a269;
  --adw-yellow-1: #f9f06b;
  --adw-yellow-2: #f8e45c;
  --adw-yellow-3: #f6d32d;
  --adw-yellow-4: #f5c211;
  --adw-yellow-5: #e5a50a;
  --adw-orange-1: #ffbe6f;
  --adw-orange-2: #ffa348;
  --adw-orange-3: #ff7800;
  --adw-orange-4: #e66100;
  --adw-orange-5: #c64600;
  --adw-red-1: #f66151;
  --adw-red-2: #ed333b;
  --adw-red-3: #e01b24;
  --adw-red-4: #c01c28;
  --adw-red-5: #a51d2d;
  --adw-purple-1: #dc8add;
  --adw-purple-2: #c061cb;
  --adw-purple-3: #9141ac;
  --adw-purple-4: #813d9c;
  --adw-purple-5: #613583;
  --adw-brown-1: #cdab8f;
  --adw-brown-2: #b5835a;
  --adw-brown-3: #986a44;
  --adw-brown-4: #865e3c;
  --adw-brown-5: #63452c;
  --adw-light-1: #fff;
  --adw-light-2: #f6f5f4;
  --adw-light-3: #deddda;
  --adw-light-4: #c0bfbc;
  --adw-light-5: #9a9996;
  --adw-dark-1: #77767b;
  --adw-dark-2: #5e5c64;
  --adw-dark-3: #3d3846;
  --adw-dark-4: #241f31;
  --adw-dark-5: #000;

  /* Fonts. GNOME's defaults are Adwaita Sans 12pt for documents and
     Adwaita Mono 11pt; 12pt = 1rem at the browser's default size (TMAP-07). */
  --adw-document-font-family: "Adwaita Sans", system-ui, sans-serif;
  --adw-document-font-size: 1rem;
  --adw-monospace-font-family: "Adwaita Mono", monospace;
  --adw-monospace-font-size: 0.9167rem;

  /* Helpers */
  --adw-border-opacity: 15%;
  --adw-dim-opacity: 55%;
  --adw-disabled-opacity: 50%;
  --adw-border-color: color-mix(in srgb, currentcolor var(--adw-border-opacity), transparent);
  --adw-window-radius: 15px;
}

/* libadwaita derives the standalone accent from the accent background, so an
   overridden --adw-accent-bg-color brings its own text colour. Relative colour
   syntax with a var() origin needs a guard (CVAL-04); without it, the fixed
   blue values above stay. */
/* stylelint-disable-next-line plugin/use-baseline -- Chrome before 119, Firefox before 128 and Safari before 18 lack relative colour; the guard keeps the fixed accent there */
@supports (color: oklab(from red l a b)) {
  :root {
    --adw-accent-color: light-dark(
      oklab(from var(--adw-accent-bg-color) min(l, 0.5) a b),
      oklab(from var(--adw-accent-bg-color) max(l, 0.85) a b)
    );
  }
}

@media (prefers-contrast: more) {
  :root {
    --adw-border-opacity: 50%;
    --adw-dim-opacity: 90%;
    --adw-disabled-opacity: 40%;
  }
}

/* src/tokens/adwaita-stylesheet.css */

/*
 * Adwaita tokens for a web theme, part 2: values libadwaita keeps inside its
 * stylesheet, prefixed --aweb- (TMAP-03). Copy with adwaita-variables.css, which
 * the colours here refer to.
 *
 * Values: libadwaita 1.10.0 (gitlab.gnome.org/GNOME/libadwaita, tag 1.10.0), as
 * tabulated in the agent handbook's gnome set, reference/stylesheet-values.md,
 * which cites the SCSS file of each one; the standalone accent colours come from
 * its rules/04-css-variables.md. A value libadwaita names with a Sass variable
 * keeps that name ($button_radius is --aweb-button-radius); literals are named
 * for their role.
 *
 * Sizes are outer sizes: GTK's min-height excludes padding, so libadwaita's
 * 24px-plus-padding button is 34px here; set them as heights with
 * box-sizing: border-box.
 */

:root {
  /* Corner radii */
  --aweb-button-radius: 9px;
  --aweb-menu-radius: 9px;
  --aweb-card-radius: 12px;
  --aweb-popover-radius: 15px;
  --aweb-dialog-radius: 15px;
  --aweb-alert-radius: 18px;
  --aweb-alert-button-radius: 12px;
  --aweb-check-radius: 6px;
  --aweb-toggle-radius: 6px;
  --aweb-switch-radius: 14px;
  --aweb-tooltip-radius: 9px;
  --aweb-pill-radius: 9999px;

  /* Sizes */
  --aweb-control-height: 34px; /* buttons, entries, toggle groups */
  --aweb-pill-height: 44px;
  --aweb-toggle-height: 28px; /* a toggle inside a toggle group */
  --aweb-headerbar-height: 47px;
  --aweb-row-height: 54px; /* boxed-list row, without its 1px separator */
  --aweb-menu-item-height: 32px;
  --aweb-sidebar-row-height: 36px;
  --aweb-popover-menu-min-width: 120px;
  --aweb-switch-height: 26px;
  --aweb-switch-width: 46px;
  --aweb-switch-slider-size: 20px;
  --aweb-check-size: 20px;

  /* Spacing and padding */
  --aweb-spacing: 6px; /* between children of toolbars, header bars, entries, rows */
  --aweb-button-padding-inline: 10px;
  --aweb-text-button-padding-inline: 17px;
  --aweb-image-text-button-padding-inline: 9px;
  --aweb-pill-padding-inline: 32px;
  --aweb-entry-padding-inline: 9px;
  --aweb-menu-margin: 6px;
  --aweb-menu-padding: 12px;
  --aweb-popover-padding: 8px;
  --aweb-toolbar-padding: 6px;
  --aweb-row-padding-inline: 12px;
  --aweb-sidebar-row-padding-inline: 8px;
  --aweb-tooltip-padding: 6px 10px;
  --aweb-alert-padding: 24px;

  /* State tints: currentcolor mixed into transparent, so they work on any
     surface and in both schemes */
  --aweb-button-color: color-mix(in srgb, currentcolor 10%, transparent);
  --aweb-button-hover-color: color-mix(in srgb, currentcolor 15%, transparent);
  --aweb-button-active-color: color-mix(in srgb, currentcolor 30%, transparent);
  --aweb-button-checked-color: color-mix(in srgb, currentcolor 30%, transparent);
  --aweb-button-checked-hover-color: color-mix(in srgb, currentcolor 35%, transparent);
  --aweb-button-checked-active-color: color-mix(in srgb, currentcolor 40%, transparent);
  --aweb-destructive-button-color: color-mix(in srgb, currentcolor 15%, transparent);
  --aweb-destructive-button-hover-color: color-mix(in srgb, currentcolor 20%, transparent);
  --aweb-destructive-button-active-color: color-mix(in srgb, currentcolor 35%, transparent);
  --aweb-hover-color: color-mix(in srgb, currentcolor 7%, transparent);
  --aweb-active-color: color-mix(in srgb, currentcolor 16%, transparent);
  --aweb-selected-color: color-mix(in srgb, currentcolor 10%, transparent);
  --aweb-selected-hover-color: color-mix(in srgb, currentcolor 13%, transparent);
  --aweb-selected-active-color: color-mix(in srgb, currentcolor 19%, transparent);
  --aweb-view-hover-color: color-mix(in srgb, currentcolor 4%, transparent);
  --aweb-view-active-color: color-mix(in srgb, currentcolor 8%, transparent);
  --aweb-view-selected-color: color-mix(in srgb, var(--adw-accent-bg-color) 25%, transparent);
  --aweb-view-selected-hover-color: color-mix(in srgb, var(--adw-accent-bg-color) 32%, transparent);
  --aweb-view-selected-active-color: color-mix(
    in srgb,
    var(--adw-accent-bg-color) 39%,
    transparent
  );
  --aweb-row-hover-color: color-mix(in srgb, currentcolor 3%, transparent);
  --aweb-row-active-color: color-mix(in srgb, currentcolor 8%, transparent);
  --aweb-trough-color: color-mix(in srgb, currentcolor 15%, transparent);
  --aweb-trough-hover-color: color-mix(in srgb, currentcolor 20%, transparent);
  --aweb-trough-active-color: color-mix(in srgb, currentcolor 25%, transparent);
  --aweb-suggested-hover-overlay: color-mix(in srgb, currentcolor 10%, transparent);
  --aweb-suggested-active-overlay: rgb(0 0 6 / 20%);
  --aweb-slider-color: color-mix(in srgb, white 80%, var(--adw-view-bg-color));
  --aweb-slider-hover-color: white;
  --aweb-link-visited-color: color-mix(
    in srgb,
    var(--adw-accent-color) 80%,
    var(--adw-view-fg-color)
  );
  --aweb-strong-disabled-opacity: 30%;
  --aweb-dimmer-opacity: 30%;

  /* Standalone (text) forms of libadwaita's fixed accent colours, from the
     gnome set's rules/04-css-variables.md accent table; libadwaita derives
     them with --standalone-color-oklab but doesn't name them */
  --aweb-accent-blue-color: light-dark(#0461be, #81d0ff);
  --aweb-accent-teal-color: light-dark(#007184, #7bdff4);
  --aweb-accent-green-color: light-dark(#15772e, #8de698);
  --aweb-accent-yellow-color: light-dark(#905300, #ffc057);
  --aweb-accent-orange-color: light-dark(#b62200, #ff9c5b);
  --aweb-accent-red-color: light-dark(#c00023, #ff888c);
  --aweb-accent-pink-color: light-dark(#a2326c, #ffa0d8);
  --aweb-accent-purple-color: light-dark(#8939a4, #fba7ff);
  --aweb-accent-slate-color: light-dark(#526678, #bbd1e5);

  /* Fixed surfaces */
  --aweb-toast-bg-color: #505053;
  --aweb-toast-fg-color: white;
  --aweb-osd-bg-color: rgb(0 0 0 / 70%);
  --aweb-osd-fg-color: rgb(255 255 255 / 90%);
  --aweb-window-outline-color: rgb(255 255 255 / 7%);

  /* Tooltips */
  --aweb-tooltip-bg-color: rgb(0 0 6 / 80%);
  --aweb-tooltip-fg-color: white;
  --aweb-tooltip-border-color: rgb(255 255 255 / 10%);

  /* Shadows */
  --aweb-card-shadow:
    0 0 0 1px rgb(0 0 6 / 3%), 0 1px 3px 1px rgb(0 0 6 / 7%), 0 2px 6px 2px rgb(0 0 6 / 3%);
  --aweb-popover-shadow:
    0 0 0 1px rgb(0 0 0 / 5%), 0 1px 5px 1px rgb(0 0 0 / 9%), 0 2px 14px 3px rgb(0 0 0 / 5%);
  --aweb-dialog-shadow:
    0 0 14px 2px rgb(0 0 6 / 3%), 0 0 5px 2px rgb(0 0 6 / 10%), 0 0 0 1px rgb(0 0 0 / 5%);
  --aweb-toast-shadow: 0 1px 3px 1px rgb(0 0 6 / 7%), 0 2px 6px 2px rgb(0 0 6 / 3%);
  --aweb-slider-shadow: 0 2px 4px rgb(0 0 6 / 20%);

  /* Focus ring: 2px, inside the widget unless a target draws it outside */
  --aweb-focus-ring-width: 2px;
  --aweb-focus-border-color: color-mix(in srgb, var(--adw-accent-color) 50%, transparent);

  /* Motion */
  --aweb-ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --aweb-transition-duration: 200ms;

  /* Type. GNOME's interface font is Adwaita Sans 11pt, 0.9167rem at the
     browser's default size (TMAP-07). The title sizes are relative to it. */
  --aweb-font-family: "Adwaita Sans", system-ui, sans-serif;
  --aweb-font-size: 0.9167rem;
  --aweb-title-1-font-size: 181%;
  --aweb-title-2-font-size: 136%;
  --aweb-title-3-font-size: 136%;
  --aweb-title-4-font-size: 118%;
  --aweb-caption-font-size: 82%;
}

@media (prefers-contrast: more) {
  :root {
    --aweb-trough-color: color-mix(in srgb, currentcolor 30%, transparent);
    --aweb-trough-hover-color: color-mix(in srgb, currentcolor 40%, transparent);
    --aweb-trough-active-color: color-mix(in srgb, currentcolor 50%, transparent);
    --aweb-dimmer-opacity: 80%;
    --aweb-focus-border-color: color-mix(in srgb, var(--adw-accent-color) 80%, transparent);
    --aweb-card-shadow:
      0 0 0 1px var(--adw-border-color), 0 1px 3px 1px rgb(0 0 6 / 7%),
      0 2px 6px 2px rgb(0 0 6 / 3%);
    --aweb-popover-shadow:
      0 0 0 1px var(--adw-border-color), 0 1px 5px 1px rgb(0 0 0 / 9%),
      0 2px 14px 3px rgb(0 0 0 / 5%);
    --aweb-dialog-shadow:
      0 0 14px 2px rgb(0 0 6 / 3%), 0 0 5px 2px rgb(0 0 6 / 10%), 0 0 0 1px rgb(0 0 0 / 80%);
    --aweb-window-outline-color: rgb(255 255 255 / 30%);
  }
}

/* src/adwaita.css */

/*
 * Adwaita for Forgejo: the mapping of Forgejo's variables onto the tokens,
 * then component rules for what the variables don't reach.
 *
 * Checked against Forgejo 17.0.1 (web_src/css/themes/theme-forgejo-*.css),
 * 2026-11-15. Each choice has a row in docs/mapping.md.
 */

/* 1. Forgejo's variables ------------------------------------------------- */

/* Primary: Forgejo's accent, orange. Its dark-N steps move towards the text
   colour, its light-N steps towards the background, in both schemes; libadwaita
   has no tonal scale, so the steps mix the accent with --adw-accent-color and
   --adw-view-bg-color (decision 0001, step 4). */
:root {
  --color-primary: var(--adw-accent-bg-color);
  --color-primary-contrast: var(--adw-accent-fg-color);
  --color-primary-dark-1: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-accent-color) 25%
  );
  --color-primary-dark-2: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-accent-color) 50%
  );
  --color-primary-dark-3: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-accent-color) 75%
  );
  --color-primary-dark-4: var(--adw-accent-color);
  --color-primary-light-1: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-view-bg-color) 15%
  );
  --color-primary-light-2: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-view-bg-color) 30%
  );
  --color-primary-light-3: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-view-bg-color) 45%
  );
  --color-primary-light-4: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-view-bg-color) 60%
  );
  --color-primary-light-5: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-view-bg-color) 75%
  );
  --color-primary-light-6: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-view-bg-color) 85%
  );
  --color-primary-light-7: color-mix(
    in oklab,
    var(--adw-accent-bg-color),
    var(--adw-view-bg-color) 92%
  );
  --color-primary-alpha-10: color-mix(in srgb, var(--adw-accent-bg-color) 10%, transparent);
  --color-primary-alpha-20: color-mix(in srgb, var(--adw-accent-bg-color) 20%, transparent);
  --color-primary-alpha-30: color-mix(in srgb, var(--adw-accent-bg-color) 30%, transparent);
  --color-primary-alpha-40: color-mix(in srgb, var(--adw-accent-bg-color) 40%, transparent);
  --color-primary-alpha-50: color-mix(in srgb, var(--adw-accent-bg-color) 50%, transparent);
  --color-primary-alpha-60: color-mix(in srgb, var(--adw-accent-bg-color) 60%, transparent);
  --color-primary-alpha-70: color-mix(in srgb, var(--adw-accent-bg-color) 70%, transparent);
  --color-primary-alpha-80: color-mix(in srgb, var(--adw-accent-bg-color) 80%, transparent);
  --color-primary-alpha-90: color-mix(in srgb, var(--adw-accent-bg-color) 90%, transparent);

  /* libadwaita's suggested-action button: 10% of the label colour on hover,
     rgb(0 0 6 / 20%) over the fill when pressed (stylesheet-values.md) */
  --color-primary-hover: color-mix(
    in srgb,
    var(--adw-accent-bg-color),
    var(--adw-accent-fg-color) 10%
  );
  --color-primary-active: color-mix(in srgb, var(--adw-accent-bg-color), rgb(0 0 6) 20%);

  /* Surfaces: the page is the window, panels ("boxes") are cards, the top bar is
     the header bar, dropdowns are popovers (decision 0001, steps 1 and 2). */
  --color-body: var(--adw-window-bg-color);
  --color-header-wrapper: var(--adw-window-bg-color);
  --color-header-wrapper-transparent: transparent;
  --color-footer: var(--adw-window-bg-color);
  --color-nav-bg: var(--adw-headerbar-bg-color);
  --color-nav-hover-bg: var(--aweb-hover-color);
  --color-box-body: var(--adw-card-bg-color);
  --color-box-body-highlight: var(--aweb-selected-color);
  --color-card: var(--adw-card-bg-color);
  --fancy-card-bg: var(--adw-card-bg-color);
  --fancy-card-border: var(--color-secondary);
  --color-menu: var(--adw-popover-bg-color);

  /* A panel's header row has no libadwaita counterpart: the card with the
     row-hover tint, so it reads as part of the card (step 4). */
  --color-box-header: color-mix(in srgb, var(--adw-card-bg-color), var(--adw-window-fg-color) 4%);

  /* Text: libadwaita has the text colour and its dimmed form (--dim-opacity);
     Forgejo's two lighter steps between them sit halfway (step 4). */
  --color-text: var(--adw-window-fg-color);
  --color-text-dark: light-dark(rgb(0 0 6), white); /* the text colour, fully opaque */
  --color-text-light: color-mix(in srgb, var(--adw-window-fg-color) 80%, transparent);
  --color-text-light-1: color-mix(in srgb, var(--adw-window-fg-color) 70%, transparent);
  --color-text-light-2: color-mix(
    in srgb,
    var(--adw-window-fg-color) var(--adw-dim-opacity),
    transparent
  );
  --color-text-light-3: color-mix(
    in srgb,
    var(--adw-window-fg-color) var(--adw-dim-opacity),
    transparent
  );
  --color-input-text: var(--adw-view-fg-color);

  /* Borders: Forgejo's secondary colour is its border colour; libadwaita's is
     --border-color, which follows the text colour and high contrast (step 1).
     It's taken from the window's text colour rather than currentcolor: a table
     row's cells have different text colours (a dimmed commit message), and
     their borders, drawn per cell, came out in different shades.
     The darker steps mix more of the text colour, the lighter ones less. */
  --color-secondary: color-mix(
    in srgb,
    var(--adw-window-fg-color) var(--adw-border-opacity),
    transparent
  );
  --color-light-border: var(--color-secondary);
  --color-timeline: var(--color-secondary);
  --color-secondary-dark-1: color-mix(in srgb, currentcolor 20%, transparent);
  --color-secondary-dark-2: color-mix(in srgb, currentcolor 25%, transparent);
  --color-secondary-dark-3: color-mix(in srgb, currentcolor 30%, transparent);
  --color-secondary-dark-4: color-mix(in srgb, currentcolor 35%, transparent);
  --color-secondary-dark-5: color-mix(in srgb, currentcolor 40%, transparent);
  --color-secondary-dark-6: color-mix(in srgb, currentcolor 45%, transparent);
  --color-secondary-dark-7: color-mix(in srgb, currentcolor 50%, transparent);
  --color-secondary-dark-8: color-mix(in srgb, currentcolor 55%, transparent);
  --color-secondary-dark-9: color-mix(in srgb, currentcolor 60%, transparent);
  --color-secondary-dark-10: color-mix(in srgb, currentcolor 65%, transparent);
  --color-secondary-dark-11: color-mix(in srgb, currentcolor 70%, transparent);
  --color-secondary-dark-12: color-mix(in srgb, currentcolor 75%, transparent);
  --color-secondary-dark-13: color-mix(in srgb, currentcolor 80%, transparent);
  --color-secondary-light-1: color-mix(in srgb, currentcolor 10%, transparent);
  --color-secondary-light-2: color-mix(in srgb, currentcolor 7%, transparent);
  --color-secondary-light-3: color-mix(in srgb, currentcolor 5%, transparent);
  --color-secondary-light-4: color-mix(in srgb, currentcolor 3%, transparent);
  --color-secondary-alpha-10: color-mix(in srgb, var(--color-secondary) 10%, transparent);
  --color-secondary-alpha-20: color-mix(in srgb, var(--color-secondary) 20%, transparent);
  --color-secondary-alpha-30: color-mix(in srgb, var(--color-secondary) 30%, transparent);
  --color-secondary-alpha-40: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  --color-secondary-alpha-50: color-mix(in srgb, var(--color-secondary) 50%, transparent);
  --color-secondary-alpha-60: color-mix(in srgb, var(--color-secondary) 60%, transparent);
  --color-secondary-alpha-70: color-mix(in srgb, var(--color-secondary) 70%, transparent);
  --color-secondary-alpha-80: color-mix(in srgb, var(--color-secondary) 80%, transparent);
  --color-secondary-alpha-90: color-mix(in srgb, var(--color-secondary) 90%, transparent);
  --color-secondary-hover: var(--color-secondary-dark-2);
  --color-secondary-active: var(--color-secondary-dark-4);

  /* Interactive states: libadwaita's tints of the text colour (step 1). Forgejo's
     "active" marks the current item, libadwaita's selected state. */
  --color-hover: var(--aweb-hover-color);
  --color-active: var(--aweb-selected-color);
  --color-button: var(--aweb-button-color);
  --color-secondary-bg: var(--aweb-button-color);
  --color-expand-button: var(--aweb-button-color);
  --color-reaction-bg: var(--aweb-button-color);
  --color-label-text: var(--adw-window-fg-color);
  --color-label-bg: var(--aweb-button-color);
  --color-label-hover-bg: var(--aweb-button-hover-color);
  --color-label-active-bg: var(--aweb-button-active-color);
  --color-label-bg-alt: var(--aweb-button-hover-color);
  --color-editor-line-highlight: var(--aweb-view-hover-color);

  /* Entries: filled with the button tint and borderless, like libadwaita's (step 1) */
  --color-input-background: var(--aweb-button-color);
  --color-input-toggle-background: var(--aweb-button-color);
  --color-input-border: transparent;
  --color-input-border-hover: transparent;

  /* Code: Text Editor shows code on the view surface; on a card it needs a tint
     to stand apart, so blocks take a light tint and inline code the button's
     (steps 3 and 4). */
  --color-code-bg: var(--adw-view-bg-color);
  --color-markup-code-block: color-mix(in srgb, currentcolor 5%, transparent);
  --color-markup-code-inline: var(--aweb-button-color);

  /* Overlays: a dialog's dimming is --shade-color at twice its alpha
     (widgets/_dialogs.scss); tooltips and selection as libadwaita draws them. */
  --color-overlay-backdrop: light-dark(rgb(0 0 6 / 14%), rgb(0 0 6 / 50%));
  --color-tooltip-bg: var(--aweb-tooltip-bg-color);
  --color-tooltip-text: var(--aweb-tooltip-fg-color);
  --color-selection-bg: color-mix(in srgb, var(--adw-accent-bg-color) 30%, transparent);
  --color-selection-fg: currentcolor;

  /* Messages: libadwaita has the semantic colours but no tinted message box, so
     each box is the colour mixed into the window background, with its
     standalone form as text (step 4). */
  --color-error-bg: color-mix(in srgb, var(--adw-error-bg-color) 15%, var(--adw-window-bg-color));
  --color-error-bg-hover: color-mix(
    in srgb,
    var(--adw-error-bg-color) 25%,
    var(--adw-window-bg-color)
  );
  --color-error-bg-active: color-mix(
    in srgb,
    var(--adw-error-bg-color) 35%,
    var(--adw-window-bg-color)
  );
  --color-error-border: color-mix(in srgb, var(--adw-error-bg-color) 40%, transparent);
  --color-error-text: var(--adw-error-color);
  --color-success-bg: color-mix(
    in srgb,
    var(--adw-success-bg-color) 15%,
    var(--adw-window-bg-color)
  );
  --color-success-border: color-mix(in srgb, var(--adw-success-bg-color) 40%, transparent);
  --color-success-text: var(--adw-success-color);
  --color-warning-bg: color-mix(
    in srgb,
    var(--adw-warning-bg-color) 15%,
    var(--adw-window-bg-color)
  );
  --color-warning-border: color-mix(in srgb, var(--adw-warning-bg-color) 40%, transparent);
  --color-warning-text: var(--adw-warning-color);
  --color-info-bg: color-mix(in srgb, var(--adw-accent-bg-color) 15%, var(--adw-window-bg-color));
  --color-info-border: color-mix(in srgb, var(--adw-accent-bg-color) 40%, transparent);
  --color-info-text: var(--adw-accent-color);

  /* Named colours, the user's choice of 2026-11-15: libadwaita's colours in the
     same hues. Fills are its fixed accent colours (red: the destructive colour),
     the same in both schemes as Forgejo's are; olive, violet, brown and black
     have no accent colour and come from mixes and the palette (step 4). Their
     -dark-1 and -dark-2 forms are the hover and pressed states of coloured
     buttons, so they take the suggested-action button's overlays. Fills keep
     libadwaita's contrast even below WCAG's 4.5:1 (decision 0003). */
  --color-red: var(--adw-destructive-bg-color);
  --color-red-light: color-mix(in srgb, var(--color-red), white 15%);
  --color-red-dark-1: color-mix(in srgb, var(--color-red), white 10%);
  --color-red-dark-2: color-mix(in srgb, var(--color-red), rgb(0 0 6) 20%);
  --color-orange: var(--adw-accent-orange);
  --color-orange-light: color-mix(in srgb, var(--color-orange), white 15%);
  --color-orange-dark-1: color-mix(in srgb, var(--color-orange), white 10%);
  --color-orange-dark-2: color-mix(in srgb, var(--color-orange), rgb(0 0 6) 20%);
  --color-yellow: var(--adw-accent-yellow);
  --color-yellow-light: color-mix(in srgb, var(--color-yellow), white 15%);
  --color-yellow-dark-1: color-mix(in srgb, var(--color-yellow), white 10%);
  --color-yellow-dark-2: color-mix(in srgb, var(--color-yellow), rgb(0 0 6) 20%);
  --color-green: var(--adw-accent-green);
  --color-green-light: color-mix(in srgb, var(--color-green), white 15%);
  --color-green-dark-1: color-mix(in srgb, var(--color-green), white 10%);
  --color-green-dark-2: color-mix(in srgb, var(--color-green), rgb(0 0 6) 20%);
  --color-teal: var(--adw-accent-teal);
  --color-teal-light: color-mix(in srgb, var(--color-teal), white 15%);
  --color-teal-dark-1: color-mix(in srgb, var(--color-teal), white 10%);
  --color-teal-dark-2: color-mix(in srgb, var(--color-teal), rgb(0 0 6) 20%);
  --color-blue: var(--adw-accent-blue);
  --color-blue-light: color-mix(in srgb, var(--color-blue), white 15%);
  --color-blue-dark-1: color-mix(in srgb, var(--color-blue), white 10%);
  --color-blue-dark-2: color-mix(in srgb, var(--color-blue), rgb(0 0 6) 20%);
  --color-purple: var(--adw-accent-purple);
  --color-purple-light: color-mix(in srgb, var(--color-purple), white 15%);
  --color-purple-dark-1: color-mix(in srgb, var(--color-purple), white 10%);
  --color-purple-dark-2: color-mix(in srgb, var(--color-purple), rgb(0 0 6) 20%);
  --color-pink: var(--adw-accent-pink);
  --color-pink-light: color-mix(in srgb, var(--color-pink), white 15%);
  --color-pink-dark-1: color-mix(in srgb, var(--color-pink), white 10%);
  --color-pink-dark-2: color-mix(in srgb, var(--color-pink), rgb(0 0 6) 20%);
  --color-grey: var(--adw-accent-slate);
  --color-grey-light: color-mix(in srgb, var(--color-grey), white 15%);
  --color-grey-dark-1: color-mix(in srgb, var(--color-grey), white 10%);
  --color-grey-dark-2: color-mix(in srgb, var(--color-grey), rgb(0 0 6) 20%);
  --color-olive: color-mix(in oklab, var(--adw-accent-yellow), var(--adw-accent-green));
  --color-olive-light: color-mix(in srgb, var(--color-olive), white 15%);
  --color-olive-dark-1: color-mix(in srgb, var(--color-olive), white 10%);
  --color-olive-dark-2: color-mix(in srgb, var(--color-olive), rgb(0 0 6) 20%);
  --color-violet: color-mix(in oklab, var(--adw-accent-purple), var(--adw-accent-blue) 35%);
  --color-violet-light: color-mix(in srgb, var(--color-violet), white 15%);
  --color-violet-dark-1: color-mix(in srgb, var(--color-violet), white 10%);
  --color-violet-dark-2: color-mix(in srgb, var(--color-violet), rgb(0 0 6) 20%);
  --color-brown: var(--adw-brown-3);
  --color-brown-light: color-mix(in srgb, var(--color-brown), white 15%);
  --color-brown-dark-1: color-mix(in srgb, var(--color-brown), white 10%);
  --color-brown-dark-2: color-mix(in srgb, var(--color-brown), rgb(0 0 6) 20%);
  --color-black: var(--adw-dark-4);
  --color-black-light: color-mix(in srgb, var(--color-black), white 15%);
  --color-black-dark-1: color-mix(in srgb, var(--color-black), white 10%);
  --color-black-dark-2: color-mix(in srgb, var(--color-black), rgb(0 0 6) 20%);
  --color-gold: var(--adw-yellow-5);

  /* Coloured text uses the standalone forms, as libadwaita's VAR-03 asks */
  --color-thin-red: var(--adw-destructive-color);
  --color-thin-orange: var(--aweb-accent-orange-color);
  --color-thin-green: var(--aweb-accent-green-color);
  --color-thin-blue: var(--aweb-accent-blue-color);
  --color-thin-purple: var(--aweb-accent-purple-color);
  --color-thin-violet: var(--aweb-accent-purple-color);

  /* Badges: the standalone colour for text and border, tinted backgrounds */
  --color-red-badge: var(--adw-destructive-color);
  --color-red-badge-bg: color-mix(in srgb, var(--color-red) 13%, transparent);
  --color-red-badge-hover-bg: color-mix(in srgb, var(--color-red) 27%, transparent);
  --color-green-badge: var(--aweb-accent-green-color);
  --color-green-badge-bg: color-mix(in srgb, var(--color-green) 13%, transparent);
  --color-green-badge-hover-bg: color-mix(in srgb, var(--color-green) 27%, transparent);
  --color-yellow-badge: var(--aweb-accent-yellow-color);
  --color-yellow-badge-bg: color-mix(in srgb, var(--color-yellow) 13%, transparent);
  --color-yellow-badge-hover-bg: color-mix(in srgb, var(--color-yellow) 27%, transparent);
  --color-orange-badge: var(--aweb-accent-orange-color);
  --color-orange-badge-bg: color-mix(in srgb, var(--color-orange) 13%, transparent);
  --color-orange-badge-hover-bg: color-mix(in srgb, var(--color-orange) 27%, transparent);

  /* Presence dots: non-text, so the fills */
  --color-indicator-offline: var(--color-text-light-2);
  --color-indicator-offline-20: color-mix(in srgb, var(--color-text-light-2) 20%, transparent);
  --color-indicator-idle: var(--adw-accent-green);
  --color-indicator-idle-20: color-mix(in srgb, var(--adw-accent-green) 20%, transparent);
  --color-indicator-active: var(--adw-accent-blue);
  --color-indicator-active-20: color-mix(in srgb, var(--adw-accent-blue) 20%, transparent);

  /* Diffs, the user's choice of 2026-11-15: libadwaita's success and error colours
     as tints over the surface, the warning colour for moved lines (step 4) */
  --color-diff-added-row-bg: color-mix(in srgb, var(--adw-success-bg-color) 12%, transparent);
  --color-diff-added-row-border: color-mix(in srgb, var(--adw-success-bg-color) 35%, transparent);
  --color-diff-added-word-bg: color-mix(in srgb, var(--adw-success-bg-color) 35%, transparent);
  --color-diff-removed-row-bg: color-mix(in srgb, var(--adw-error-bg-color) 12%, transparent);
  --color-diff-removed-row-border: color-mix(in srgb, var(--adw-error-bg-color) 35%, transparent);
  --color-diff-removed-word-bg: color-mix(in srgb, var(--adw-error-bg-color) 35%, transparent);
  --color-diff-moved-row-bg: color-mix(in srgb, var(--adw-warning-bg-color) 12%, transparent);
  --color-diff-moved-row-border: color-mix(in srgb, var(--adw-warning-bg-color) 35%, transparent);
  --color-diff-inactive: color-mix(in srgb, currentcolor 5%, transparent);
}

/* 2. Components ---------------------------------------------------------- */

/* Avatars: slightly rounded squares, users', organisations' and repositories'
   alike, the user's choice of 2026-11-30 (libadwaita's AdwAvatar is round
   only). GitHub's radii for its square avatars (Primer's .avatar,
   --borderRadius-medium, 6px; .avatar-small, 3px, at 24px and under), and a
   card's 12px for a profile's large picture (its card's a.image). Forgejo's
   selectors, from base.css; a small avatar is known by its width attribute,
   except the dashboard switcher's, drawn at 24px below. */
img.ui.avatar,
.ui.avatar img,
.ui.avatar svg {
  border-radius: 6px;
}

img.ui.avatar:is([width="16"], [width="20"], [width="24"]),
.dashboard .secondary-nav .ui.floating.dropdown > .text > img.ui.avatar {
  border-radius: 3px;
}

#profile-avatar-card a.image > img.ui.avatar {
  border-radius: 12px;
}

/* Buttons: libadwaita's button (step 1, widgets/_buttons.scss): 9px corners,
   bold labels, no border; the fills come from the variables above. Selectors
   are Forgejo's own: Fomantic's .ui.button and Forgejo's newer .button
   (modules/button.css). */
.ui.button,
.ui.basic.buttons .button,
.ui.basic.button,
.button {
  border-color: transparent;
  border-radius: var(--aweb-button-radius);
  font-weight: bold;
}

/* Heights: libadwaita's one button height, 34px, with its text buttons' 17px
   sides and 14px labels, for every size Forgejo uses (26 to 43px before), the
   user's choice of 2026-11-21 (TADP-03). Forgejo's newer button takes them
   through its variables (modules/button.css), and keeps its larger sizes for
   touch screens. Fomantic's (button.less) is padded to a height that follows
   its size class, so it gets the newer button's layout instead: centred in a
   fixed height, with a gap the width of the space the flex layout drops
   between an icon and its label (the icon's own margin, if any, adds to it). Attached and stacked buttons
   keep Fomantic's layout, as they span their container; a fluid one (the
   issue sidebar's) gets the height and keeps its full width. */
@media not (pointer: coarse) {
  :root,
  :root .small:is(.button, .button-row, .button-sequence) {
    --button-min-height: var(--aweb-control-height);
    --button-padding-inline: var(--aweb-text-button-padding-inline);
  }
}

.ui.button:not(.labeled, .attached, .vertical.buttons .button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  height: var(--aweb-control-height);
  padding-block: 0;
  padding-inline: var(--aweb-text-button-padding-inline);
}

.ui.icon.button:not(.labeled, .attached, .vertical.buttons .button) {
  padding-inline: var(--aweb-image-text-button-padding-inline);
}

/* Fomantic's size classes set 11 to 13px labels */
.ui.mini.buttons .button,
.ui.tiny.buttons .button,
.ui.small.buttons .button,
.ui.ui.ui.ui.mini.button,
.ui.ui.ui.ui.tiny.button,
.ui.ui.ui.ui.small.button {
  font-size: 1rem;
}

/* Forgejo's flat icon and text buttons, which fill on hover */
.btn {
  border-radius: var(--aweb-button-radius);
}

/* Forgejo sets these back to normal weight (base.css, repo.css) */
.ui.form .ui.button,
.ui.attached.header > .ui.right .ui.tiny.button {
  font-weight: bold;
}

.ui.basic.buttons .button:hover,
.ui.basic.button:hover,
.ui.basic.buttons .button:focus,
.ui.basic.button:focus {
  border-color: transparent;
}

.button.primary,
.button.secondary,
.button.danger {
  --button-border-color: transparent;
}

/* Linked buttons, as libadwaita's .linked (widgets/_linked.scss): the outer
   corners round, the inner ones square, each button 1px over the one before,
   so the overlapping fills draw the seam between them. The rule for every
   button above rounds those in a basic group too, so this squares them again. */
.ui.buttons .button,
.ui.basic.buttons .button {
  border-radius: 0;
}

.ui.buttons .button:not(:first-child) {
  margin-inline-start: -1px;
}

.ui.basic.buttons {
  border-color: transparent;
  border-radius: var(--aweb-button-radius);
}

.ui.buttons .button:first-child {
  border-start-start-radius: var(--aweb-button-radius);
  border-end-start-radius: var(--aweb-button-radius);
}

.ui.buttons .button:last-child {
  border-start-end-radius: var(--aweb-button-radius);
  border-end-end-radius: var(--aweb-button-radius);
}

/* A button with a count beside it (Watch, Star, Fork) */
.ui.labeled.button > .label {
  border-color: transparent;
  border-radius: var(--aweb-button-radius);
}

/* Focus: libadwaita's ring, 2px of the half-transparent accent inside the
   button, and outside, 1px away, on filled ones (the suggested action) */
.button:focus-visible,
.ui.button:focus-visible {
  outline: var(--aweb-focus-ring-width) solid var(--aweb-focus-border-color);
  outline-offset: calc(-1 * var(--aweb-focus-ring-width));
}

.button.primary:focus-visible,
.ui.primary.button:focus-visible {
  outline-offset: 1px;
}

/* Entries: libadwaita's entry (step 1, widgets/_entries.scss): 9px corners;
   the fill and the missing border come from the variables above. */
.ui.form input:not([type]),
.ui.form input[type="date"],
.ui.form input[type="datetime-local"],
.ui.form input[type="email"],
.ui.form input[type="number"],
.ui.form input[type="password"],
.ui.form input[type="search"],
.ui.form input[type="tel"],
.ui.form input[type="time"],
.ui.form input[type="text"],
.ui.form input[type="file"],
.ui.form input[type="url"],
.ui.input textarea,
.ui.form textarea,
.ui.input > input,
.ui.selection.dropdown,
.ui.search.selection .prompt {
  border-radius: var(--aweb-button-radius);
}

/* Entry heights: libadwaita's 34px, as the buttons beside them, the user's
   choice of 2026-11-21 (TADP-03); Fomantic pads fields to 40px and selection
   fields to 43px (input.less, form.less, dropdown.less). A one-line field
   centres its text in a fixed height, and a selection field centres its
   content in a flexbox of that height; one that holds several picked labels
   (.multiple) still grows with them. */
.ui.form input:not([type]),
.ui.form input[type="date"],
.ui.form input[type="datetime-local"],
.ui.form input[type="email"],
.ui.form input[type="number"],
.ui.form input[type="password"],
.ui.form input[type="search"],
.ui.form input[type="tel"],
.ui.form input[type="time"],
.ui.form input[type="text"],
.ui.form input[type="url"],
.ui.input > input {
  height: var(--aweb-control-height);
  padding-block: 0;
}

.ui.selection.dropdown {
  min-height: var(--aweb-control-height);
}

.ui.selection.dropdown:not(.multiple) {
  display: inline-flex;
  align-items: center;
  padding-block: 0;
}

/* the text field a searchable one lays over itself for typing */
.ui.search.selection.dropdown:not(.multiple) > input.search {
  height: 100%;
}

/* An entry with a button or menu joined to it: linked as libadwaita links an
   entry with its buttons (widgets/_linked.scss), each piece 1px over the one
   before, so the overlapping fills draw a seam and the dropdown and button
   read as controls apart from the text field */
.ui.action.input > :not(:first-child) {
  margin-inline-start: -1px;
}

/* Fomantic gives a selection field transform: rotate(0), which puts it on a
   layer of its own that rounds a fractional position differently, so it stood
   1px lower than the field beside it; its neighbours get the same transform */
.ui.action.input > :not(.selection.dropdown) {
  transform: rotate(0);
}

/* An entry with a button or menu joined to it */
.ui.action.input > .dropdown:first-child,
.ui.action.input > .button:first-child,
.ui.action.input > .buttons:first-child > .button {
  border-radius: var(--aweb-button-radius) 0 0 var(--aweb-button-radius);
}

.ui.action.input > .dropdown:last-child,
.ui.action.input > .button:last-child,
.ui.action.input > .buttons:last-child > .button {
  border-radius: 0 var(--aweb-button-radius) var(--aweb-button-radius) 0;
}

/* Forgejo's own joined fields (repo.css): the due date, a dependency, and the
   clone URL with its buttons */
/* stylelint-disable-next-line selector-id-pattern -- Forgejo's own ID, copied (TUPG-06) */
.repository .issue-content-right #deadlineForm input,
#new-dependency-drop-list.ui.selection.dropdown {
  border-radius: var(--aweb-button-radius) 0 0 var(--aweb-button-radius);
}

.repository .clone-panel > button:first-of-type {
  /* beats repo.css: .repository .clone-panel > button:first-of-type { border-radius: … !important } */
  border-radius: var(--aweb-button-radius) 0 0 var(--aweb-button-radius) !important;
}

.repository .clone-panel > button:last-of-type {
  /* beats repo.css: .repository .clone-panel > button:last-of-type { border-radius: … !important } */
  border-radius: 0 var(--aweb-button-radius) var(--aweb-button-radius) 0 !important;
}

/* Focus: the ring instead of Forgejo's accent border. Forgejo's selector
   (base.css), with :focus-visible's ring for text fields, which show it on
   every focus */
input:focus,
textarea:focus,
.ui.input input:focus,
.ui.form input:not([type]):focus,
.ui.form select:focus,
.ui.form textarea:focus,
.ui.form input[type="date"]:focus,
.ui.form input[type="datetime-local"]:focus,
.ui.form input[type="email"]:focus,
.ui.form input[type="file"]:focus,
.ui.form input[type="number"]:focus,
.ui.form input[type="password"]:focus,
.ui.form input[type="search"]:focus,
.ui.form input[type="tel"]:focus,
.ui.form input[type="text"]:focus,
.ui.form input[type="time"]:focus,
.ui.form input[type="url"]:focus,
.ui.selection.dropdown:focus {
  border-color: transparent;
  outline: var(--aweb-focus-ring-width) solid var(--aweb-focus-border-color);
  outline-offset: calc(-1 * var(--aweb-focus-ring-width));
}

/* Switchers (Open and Closed, Labels and Milestones, Write and Preview):
   libadwaita's toggle group (step 1, widgets/_toggle-group.scss): the button
   fill around 3px of padding, the active toggle raised on a lighter surface.
   The items lose the 6px the padding takes, so the switcher keeps Forgejo's
   height (modules/switch.css). */
:root .switch {
  --switch-item-min-height: 28px;
}

@media (pointer: coarse) {
  :root .switch {
    --switch-item-min-height: 32px;
  }
}

.switch {
  padding: 3px;
  background: var(--aweb-button-color);
  border-color: transparent;
  border-radius: var(--aweb-button-radius);
}

.switch > .item {
  border-radius: var(--aweb-toggle-radius);
  font-weight: bold;

  /* a toggle, not a link: no underline on hover */
  &:hover {
    text-decoration: none;
  }

  &.active {
    background: var(--adw-active-toggle-bg-color);
    color: var(--adw-active-toggle-fg-color);
    outline: none;
    box-shadow:
      0 1px 3px 1px rgb(0 0 6 / 7%),
      0 2px 6px 2px rgb(0 0 6 / 3%);
  }

  &:focus-visible {
    outline: var(--aweb-focus-ring-width) solid var(--aweb-focus-border-color);
    outline-offset: 0;
  }
}

/* Tabs (the repository's Code, Issues, Pull requests…; a pull request's
   Conversation, Commits, Files changed): libadwaita's view switcher (step 2,
   widgets/_view-switcher.scss), whose items are flat toggle buttons with the
   selected fill (widgets/_buttons.scss, .flat:checked) in place of Forgejo's
   underline or folder tab. Transparent borders above and below inset the fill
   without changing the row's height; the vertical radius adds their width
   back, so the fill's corners are 9px. 3px apart, as the view switcher's
   items (border-spacing: 3px). An organisation dashboard's links (Activities,
   Issues…) are the same kind of switcher, as plain menu items. */
.ui.secondary.pointing.menu .item,
.ui.tabular.menu .item,
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item {
  border-block: 4px solid transparent;
  border-radius: var(--aweb-button-radius) / calc(var(--aweb-button-radius) + 4px);

  /* beats base.css: .ui.tabular.menu .item, .ui.secondary.pointing.menu .item { padding: 11px 12px !important };
     less above and below by the borders, keeping the row at Forgejo's 43px */
  padding-block: 8px !important;
  margin-inline-end: 3px;
  background-clip: padding-box;
  color: var(--color-text);
  font-weight: bold;
}

.ui.secondary.pointing.menu .dropdown.item:hover,
.ui.secondary.pointing.menu .link.item:hover,
.ui.secondary.pointing.menu a.item:hover,
.ui.tabular.menu .item:hover,
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item:hover {
  /* with its box: Forgejo's .ui.secondary.menu a.item:hover { background: … }
     would reset the clip and fill the inset borders, a taller fill */
  background: padding-box var(--aweb-hover-color);
}

/* Forgejo draws the active folder tab with the background shorthand, which
   would reset the clip, so the fill is set with its box here too */
.ui.secondary.pointing.menu .active.item,
.ui.secondary.pointing.menu .active.item:hover,
.ui.tabular.menu .active.item,
.ui.tabular.menu .active.item:hover,
.ui.segment .ui.tabular.menu .active.item,
.ui.segment .ui.tabular.menu .active.item:hover,
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item.active,
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item.active:hover {
  margin-bottom: 0;
  border-block-width: 4px;
  border-color: transparent;

  /* beats Fomantic's .ui.tabular.menu .active.item { border-radius: … !important },
     which outweighs the rule for every item */
  border-radius: var(--aweb-button-radius) / calc(var(--aweb-button-radius) + 4px) !important;
  background: padding-box var(--aweb-selected-color);

  /* Forgejo sets the current one to medium weight and a darker text, which
     would also darken the fill, a share of the text colour */
  color: var(--color-text);
  font-weight: bold;
}

/* Pressed: libadwaita's pressed flat button and pressed selected one
   (_buttons.scss, .flat:active and :checked:active). Fomantic colours the
   border of a pressed tab, which would show the transparent inset borders,
   and Forgejo clears its background (.ui.menu a.item:active) */
.ui.secondary.pointing.menu .dropdown.item:active,
.ui.secondary.pointing.menu .link.item:active,
.ui.secondary.pointing.menu a.item:active,
.ui.tabular.menu .item:active,
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item:active {
  border-color: transparent;
  background: padding-box var(--aweb-active-color);
}

.ui.secondary.pointing.menu .active.item:active,
.ui.tabular.menu .active.item:active,
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item.active:active {
  background: padding-box var(--aweb-selected-active-color);
}

/* An organisation dashboard's links sit in a Fomantic dropdown's menu shown
   inline, whose rules set the fill with !important: these beat Fomantic's
   .ui.menu .ui.dropdown .menu > .item { background: transparent !important }
   and its .active.item and .selected.item forms, which would hide the hover
   and pressed fills and give the current one Forgejo's lighter tint */
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item {
  padding-inline: 12px;
}

.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item:hover {
  background: padding-box var(--aweb-hover-color) !important;
}

.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item:active {
  background: padding-box var(--aweb-active-color) !important;
}

.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item.active,
.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item.active:hover {
  background: padding-box var(--aweb-selected-color) !important;
}

.dashboard .secondary-nav .ui.secondary.menu > .right.menu > a.item.active:active {
  background: padding-box var(--aweb-selected-active-color) !important;
}

/* The top bar's items: header bar buttons, flat with 9px corners */
.ui.secondary.menu .item {
  border-radius: var(--aweb-button-radius);
}

/* A dropdown's opener (modules/dropdown.css): a menu button, so a button's
   9px corners; flat where Forgejo draws it without a border (the top bar), and
   with the button fill instead of the border where it has one (.border: the
   ••• on a profile) */
details.dropdown > summary {
  border-radius: var(--aweb-button-radius);
}

.border:is(details.dropdown > summary) {
  border-color: transparent;
  background: var(--aweb-button-color);

  &:hover {
    background: var(--aweb-button-hover-color);
  }

  &:active,
  details.dropdown[open] > & {
    background: var(--aweb-button-active-color);
  }
}

/* Dropdown menus: libadwaita's popover menu (step 2, widgets/_popovers.scss
   and _menus.scss): a 15px popover with 8px of padding and its shadow instead
   of a border, rows inset with 9px corners. Rows keep Forgejo's height. */
details.dropdown > .content {
  padding: var(--aweb-popover-padding);
  background: var(--color-menu);
  border-color: transparent;
  border-radius: var(--aweb-popover-radius);
  box-shadow: var(--aweb-popover-shadow);
}

details.dropdown > .content > ul > li > :is(a, button) {
  border-radius: var(--aweb-menu-radius);
}

/* One highlighted row at a time, as in libadwaita's menus, where hovering
   moves the selection: Forgejo also fills a row that keeps focus after a
   click (li:focus-within), so that fill is kept for keyboard focus only */
details.dropdown > .content > ul > li:focus-within > :is(a, button) {
  background: transparent;
}

details.dropdown > .content > ul > li > :is(a, button):hover {
  background: var(--color-hover);
}

details.dropdown > .content > ul > li > :is(a, button):focus-visible {
  background: var(--color-active);
}

/* Fomantic's dropdown menus (filters, branch and label pickers), the same
   popover. A selection field's menu stays attached under the field. */
.ui.dropdown:not(.selection) > .menu {
  padding: var(--aweb-popover-padding);
  background: var(--color-menu);
  border-color: transparent;
  border-radius: var(--aweb-popover-radius);
  box-shadow: var(--aweb-popover-shadow);
}

/* A floating one (the dashboard's account switcher) */
.ui.floating.dropdown > .menu {
  /* beats Fomantic's .ui.floating.dropdown > .menu { border-radius: … !important }
     and Forgejo's .ui.floating.dropdown .menu { box-shadow: … !important } */
  border-radius: var(--aweb-popover-radius) !important;
  box-shadow: var(--aweb-popover-shadow) !important;
}

/* A list inside it (the accounts) is part of the popover, without
   Forgejo's lines above and below it */
.ui.floating.dropdown .overflow.menu .scrolling.menu.items {
  border-block: 0;
  background: transparent;
}

/* A menu's heading ("Switch dashboard context"): libadwaita's section title
   (_menus.scss, label.title), bold with 4px above and below, in place of
   Fomantic's spaced-out header */
.ui.dropdown .menu > .header {
  margin: 0;
  padding-block: 4px;
  font-weight: bold;
}

/* The dashboard's menu openers, the account switcher and an organisation's
   Teams: flat menu buttons in the top bar's band, as the bar's own (step 1, a
   header bar's menu button), on one line. The switcher, the strip's first
   item, is pulled back by its padding so the avatar stays under the logo. */
.dashboard .secondary-nav .ui.menu > .item > .ui.floating.dropdown {
  display: inline-flex;
  align-items: center;
  height: var(--aweb-control-height);
  padding-inline: 10px;
  border-radius: var(--aweb-button-radius);
  white-space: nowrap;

  &:hover {
    background: var(--color-hover);
  }

  &.active {
    background: var(--color-active);
  }

  > .text > img.ui.avatar {
    width: 24px;
    height: 24px;
  }
}

.dashboard .secondary-nav .ui.menu > .item:first-child > .ui.floating.dropdown {
  margin-inline-start: -10px;
}

/* …placed in the top bar itself, after the logo, as GitHub's context, the
   user's choice of 2026-11-21 (TADP-03), so the dashboard and the issue, pull
   request and milestone overviews have no strip of their own under the bar.
   An organisation's strip, with its Teams menu and links beside the switcher,
   is too wide for the bar on most windows, so it stays a strip, as does any
   on a narrow window, whose bar Forgejo folds into a menu. Anchor
   positioning, as the repository home page (LYT-10). */
@media (width >= 768px) {
  #navbar-logo {
    anchor-name: --fadw-logo;
  }

  /* (:has() can't hold another :has(): the switcher alone is its menu's only item) */
  body:has(.page-content.dashboard > .secondary-nav:first-child > .ui.menu > .item:only-child)
    #navbar {
    border-bottom-color: var(--color-secondary);
  }

  .page-content.dashboard > .secondary-nav:first-child:has(> .ui.menu > .item:only-child) {
    position: absolute;
    position-anchor: --fadw-logo;
    top: anchor(top);
    bottom: anchor(bottom);
    left: calc(anchor(right) + 4px);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;

    /* beats navbar.css: .secondary-nav { background: … !important } */
    background: transparent !important;

    .ui.floating.dropdown {
      margin-inline-start: 0;
    }

    + * {
      margin-top: var(--page-spacing);
    }
  }
}

/* Selection fields (Fomantic's .ui.selection.dropdown): libadwaita's dropdown
   (step 1, GtkDropDown), whose list opens as a popover menu apart from the
   field, in place of Fomantic's menu attached under it. The open field keeps
   its corners and loses the accent border; in a joined field (the code
   search's Exact) its inner corners stay square. */
.ui.active.selection.dropdown,
.ui.active.upward.selection.dropdown,
.ui.upward.selection.dropdown.visible {
  /* beats Fomantic's .ui.active.selection.dropdown { border-bottom-*-radius: 0 !important }
     and the upward forms, which square the top */
  border-start-start-radius: var(--aweb-button-radius) !important;
  border-start-end-radius: var(--aweb-button-radius) !important;
  border-end-start-radius: var(--aweb-button-radius) !important;
  border-end-end-radius: var(--aweb-button-radius) !important;
}

.ui.action.input > .ui.selection.dropdown:is(.active, .visible):not(:first-child) {
  border-start-start-radius: 0 !important;
  border-end-start-radius: 0 !important;
}

.ui.action.input > .ui.selection.dropdown:is(.active, .visible):not(:last-child) {
  border-start-end-radius: 0 !important;
  border-end-end-radius: 0 !important;
}

.ui.selection.active.dropdown,
.ui.selection.active.dropdown:hover {
  border-color: transparent;
}

.ui.selection.dropdown .menu,
.ui.selection.active.dropdown .menu,
.ui.selection.active.dropdown:hover .menu,
.ui.upward.selection.dropdown .menu,
.ui.upward.active.selection.dropdown:hover .menu {
  width: 100%;
  min-width: 100%;
  margin: 6px 0 0;
  padding: var(--aweb-popover-padding);
  background: var(--color-menu);
  border-color: transparent;
  border-radius: var(--aweb-popover-radius);
  box-shadow: var(--aweb-popover-shadow);
}

.ui.upward.selection.dropdown .menu {
  margin: 0 0 6px;
}

.ui.selection.dropdown .menu > .item {
  border-top: none;
  border-radius: var(--aweb-menu-radius);
}

/* Fomantic's rules for a dropdown inside a menu bar, which outweigh the one above */
.ui.menu .dropdown.item .menu,
.ui.secondary.menu .dropdown.item > .menu,
.ui.text.menu .dropdown.item > .menu,
.ui.vertical.menu .dropdown.item .menu {
  border-radius: var(--aweb-popover-radius);
}

.ui.dropdown:not(.selection) .menu .item,
.ui.dropdown:not(.selection) .menu .item:first-of-type,
.ui.dropdown:not(.selection) .menu .item:last-of-type {
  border-radius: var(--aweb-menu-radius);
}

/* The settings menu (user, organisation, repository and site settings):
   libadwaita's navigation sidebar (step 2, widgets/_sidebars.scss), the user's
   choice of 2026-11-21: no box or dividers, rows on the window background
   inset by 6px with 9px corners, the current page filled. Rows keep Forgejo's
   45px height (the user's choice). */
.flex-container-nav .ui.vertical.menu {
  padding-block: var(--aweb-menu-margin);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.flex-container-nav .ui.vertical.menu .item::before {
  display: none;
}

/* Fomantic's rounded first and last rows and square active row, copied so the
   sidebar's corners outweigh them */
.flex-container-nav .ui.vertical.menu > .item,
.flex-container-nav .ui.vertical.menu > .item:first-child,
.flex-container-nav .ui.vertical.menu > .item:last-child,
.flex-container-nav .ui.vertical.menu .active.item,
.flex-container-nav .ui.vertical.menu > .active.item:first-child,
.flex-container-nav .ui.vertical.menu > .active.item:last-child,
.flex-container-nav .ui.vertical.menu .menu .item {
  border-radius: var(--aweb-menu-radius);
}

.flex-container-nav .ui.vertical.menu > .item {
  margin: 0 var(--aweb-menu-margin) 2px;
}

/* An expandable group's title row (Actions, Identity & access): Forgejo fills
   the <summary> on hover (.ui.menu details.item summary:hover), not the group
   the corners above are on */
.flex-container-nav .ui.vertical.menu details.item > summary {
  border-radius: var(--aweb-menu-radius);
}

/* The menu's title ("User settings"): a sidebar heading, on the window, its
   text level with the page's first heading beside it and lined up with the
   rows' text; Fomantic's 14px above it set it lower (menu.less) */
.flex-container-nav .ui.vertical.menu .header.item {
  padding-top: 0;
  padding-inline: 16px;
  background: transparent;
  font-weight: bold;
}

/* A group's pages (Units > Overview, Actions > Secrets): rows in their
   parent's text, 14px in the text colour, shorter than the top rows (36px)
   and indented, the user's choice of 2026-11-22 (TADP-03). libadwaita's
   sidebars don't nest; Forgejo's 12px at its lightest text colour reached
   2.6:1, below WCAG (TADP-02). Fomantic's and Forgejo's selector (menu.less,
   .ui.vertical.menu .item .menu .item). */
.flex-container-nav .ui.vertical.menu .item .menu .item {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 2px;
  padding-block: 0;
  padding-inline: 16px;
  font-size: 1em;
  color: var(--color-text);
}

/* The current page inside an expanded group (Actions > Secrets) is filled like
   any other; Forgejo leaves it transparent (Fomantic's
   .ui.vertical.menu .item .menu .active.item) */
.flex-container-nav .ui.vertical.menu .item .menu .active.item {
  background-color: var(--color-active);
}

/* Boxes: libadwaita's card (step 2, .card in _common.scss): 12px corners.
   Forgejo draws one box as several elements (a header strip, attached
   segments, a table), so the card keeps Forgejo's 1px border, already
   libadwaita's border colour, in place of the card's shadow, which would
   show between the pieces. Fomantic's selectors (segment.less, header.less,
   table.less), copied, and the last attached piece even when something else
   follows it (the runners list's hidden dialog), and a top piece that is also
   the last (the dashboard's repository search before its list loads). */
.ui.segment,
.ui.segments,
.ui.table {
  border-radius: var(--aweb-card-radius);
}

.ui.top.attached.header,
.ui[class*="top attached"].segment,
.ui.segments:not(.horizontal) > .segment:first-child {
  border-radius: var(--aweb-card-radius) var(--aweb-card-radius) 0 0;
}

.ui.bottom.attached.header,
.ui.segments:not(.horizontal) > .segment:last-child,
.ui.attached.segment:has(+ .ui[class*="top attached"].header),
.ui.attached.segment:last-child,
.ui.attached.segment:not(:has(~ .ui.attached)),
.ui[class*="bottom attached"].table {
  border-radius: 0 0 var(--aweb-card-radius) var(--aweb-card-radius);
}

.ui[class*="top attached"].segment:not(:has(~ .ui.attached)) {
  border-radius: var(--aweb-card-radius);
}

/* A table's column titles: libadwaita's column view header (step 1,
   widgets/_column-view.scss), a caption heading, 82% and bold, dimmed; its 40%
   dimming reaches 2.6:1, below WCAG, so Forgejo's 70% secondary text colour
   stands in (TADP-02) */
.ui.table > thead > tr > th {
  color: var(--color-text-light-1);
  font-size: 0.82em;
  font-weight: bold;
}

.ui.table > thead > tr:first-child > th:first-child {
  border-radius: var(--aweb-card-radius) 0 0;
}

.ui.table > thead > tr:first-child > th:last-child {
  border-radius: 0 var(--aweb-card-radius) 0 0;
}

/* The code search box on top of the file list, rounded with Tailwind's
   tw-rounded-t, which is var(--border-radius) !important */
.code-search.tw-rounded-t {
  /* beats Tailwind's .tw-rounded-t { border-top-*-radius: var(--border-radius) !important } */
  border-start-start-radius: var(--aweb-card-radius) !important;
  border-start-end-radius: var(--aweb-card-radius) !important;
}

/* Fomantic's and Forgejo's cards (the profile card, user and organisation
   cards; modules/card.css, user.css): the card's 12px corners */
.ui.cards > .card,
.ui.card,
#profile-avatar-card {
  border-radius: var(--aweb-card-radius);
}

/* stylelint-disable-next-line selector-id-pattern -- Forgejo's own ID, copied (TUPG-06) */
#notification_table {
  border-radius: var(--aweb-card-radius);
}

.ui.cards > .card > .content:first-child,
.ui.card > .content:first-child {
  border-radius: var(--aweb-card-radius) var(--aweb-card-radius) 0 0;
}

.ui.cards > .card > :last-child,
.ui.card > :last-child {
  border-radius: 0 0 var(--aweb-card-radius) var(--aweb-card-radius);
}

.ui.cards > .card > :only-child,
.ui.card > :only-child {
  /* beats card.css: .ui.card > :only-child { border-radius: var(--border-radius) !important } */
  border-radius: var(--aweb-card-radius) !important;
}

/* The activity feed's event icons (dashboard and profile): Forgejo draws them
   at 32px; 16px, a symbolic icon's size in a libadwaita row, the user's choice
   of 2026-11-21 */
#activity-feed .flex-item-trailing > svg.svg {
  width: 16px;
  height: 16px;
}

/* Comments in an issue or pull request (repo.css) */
.repository.view.issue .comment-list .comment .comment-container {
  border-radius: var(--aweb-card-radius);

  /* the window colour under the card's: see the timeline note below */
  background-color: var(--color-body);
}

.repository.view.issue .comment-list .comment > .content > div:first-child {
  border-start-start-radius: var(--aweb-card-radius);
  border-start-end-radius: var(--aweb-card-radius);
}

.repository.view.issue .comment-list .comment > .content > div:last-child {
  border-end-start-radius: var(--aweb-card-radius);
  border-end-end-radius: var(--aweb-card-radius);
}

/* In dark, libadwaita's card is translucent (--adw-card-bg-color), where
   Forgejo's is opaque, so the timeline Forgejo draws behind the comments
   showed through them. The window colour under the card's keeps the card's
   colour and hides the line. */
.repository.view.issue .comment-list .ui.segment {
  background: linear-gradient(var(--color-box-body) 0 0), var(--color-body);
}

/* The speech-bubble arrows from a comment to its avatar: removed, the user's
   choice of 2026-11-21, since a libadwaita card has none and the card's 12px
   corner curves where the arrow starts. Forgejo's selectors (repo.css). */
.comment-header::before,
.comment-header::after,
.repository .comment.form .content .form::before,
.repository .comment.form .content .form::after,
.repository.new.issue .comment.form .content::before,
.repository.new.issue .comment.form .content::after,
.repository.compare.pull .comment.form .content::before,
.repository.compare.pull .comment.form .content::after,
.repository.view.issue .comment-list .comment .merge-section.no-header::before,
.repository.view.issue .comment-list .comment .merge-section.no-header::after {
  display: none;
}

/* The repository's file list (repo.css) */

/* A table in an attached box (the commit list, admin lists): clipped to the
   box's rounded corners, which its rows' fills (the striped rows) would
   otherwise paint square */
.ui.attached.table.segment {
  overflow: clip;
}

/* The commit list: the file list's 44px rows, and 12px on both sides of every
   cell, so the first column lines up with the search field above */
#commits-table > thead > tr > th,
#commits-table > tbody > tr > td {
  padding-inline: 12px;
}

#commits-table > tbody > tr > td {
  height: 44px;
}

/* The file list's rows: 44px, the user's choice of 2026-11-21, between
   Forgejo's 36px and a libadwaita boxed-list row's 54px (TADP-03) */
#repo-files-table > tbody > tr.entry > td {
  height: 44px;
}

/* The file list's icons: Nautilus's, the user's choice of 2026-11-29
   (TADP-03): MoreWaita's file-type icons and Adwaita's folder at 24px, in
   place of Forgejo's Octicons, in this list only. Forgejo marks only what a
   row is (templates/repo/view_list.tmpl), so a file's type comes from its
   name, the link's title: file-icons.css, generated from the MIME database,
   holds those rules; a file it doesn't name gets Adwaita's plain file. A
   submodule is a remote folder, a symlink Adwaita's link. */
#repo-files-table
  td.name
  a.muted:has(
    > svg:is(
      .octicon-file,
      .octicon-file-directory-fill,
      .octicon-file-submodule,
      [class*="octicon-file-symlink"],
      [class*="octicon-file-directory-symlink"]
    )
  ) {
  > svg {
    display: none;
  }

  &::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-inline-end: 8px;
    vertical-align: middle;
  }
}

/* (a selector plainer than file-icons.css's, which outweigh it) */
#repo-files-table td.name a.muted::before {
  background: url("../img/file-icons/text-x-generic.svg") center / contain no-repeat;
}

#repo-files-table td.name a.muted:has(> svg.octicon-file-directory-fill)::before {
  background-image: url("../img/file-icons/folder.svg");
}

#repo-files-table td.name a.muted:has(> svg.octicon-file-submodule)::before {
  background-image: url("../img/file-icons/folder-remote.svg");
}

#repo-files-table
  td.name
  a.muted:has(
    > svg:is([class*="octicon-file-symlink"], [class*="octicon-file-directory-symlink"])
  )::before {
  background-image: url("../img/file-icons/inode-symlink.svg");
}

.repository.file.list #repo-files-table tr:last-of-type td:first-child {
  border-end-start-radius: var(--aweb-card-radius);
}

.repository.file.list #repo-files-table tr:last-of-type td:last-child {
  border-end-end-radius: var(--aweb-card-radius);
}

/* Settings pages, the panels anywhere in their content (also inside a wrapper,
   as the runners list): libadwaita's preferences group (step 2, AdwPreferencesGroup;
   widgets/_preferences.scss), the user's choice of 2026-11-21: the panel's
   title as a bold heading on the window, 6px above its card, in place of
   Forgejo's header strip. A coloured header (the danger zone) keeps its strip,
   since its colour carries meaning. As the group's header row, the title is
   centred in a button's height, 34px, so a button beside it fits the row; the
   groups stand 24px apart (_preferences.scss, adw-preferences-group.ui). */
:is(
    .user-setting-content,
    .admin-setting-content,
    .user-main-content,
    .repo-setting-content,
    .org-setting-content
  )
  .ui.top.attached.header:not(.error, .warning) {
  padding-inline: 0;

  /* the transparent 1px borders stay: 1px of each side is border */
  padding-block: calc((var(--aweb-control-height) - 1lh) / 2 - 1px)
    calc((var(--aweb-control-height) - 1lh) / 2 + 5px);
  background: transparent;
  border-color: transparent;
  font-weight: bold;
}

:is(
    .user-setting-content,
    .admin-setting-content,
    .user-main-content,
    .repo-setting-content,
    .org-setting-content
  )
  .ui.top.attached.header:not(.error, .warning)
  + .ui.attached.segment {
  border-top: 1px solid var(--color-secondary);
  border-radius: var(--aweb-card-radius);
}

/* Fomantic's (segment.less, header.less) set 1rem between them */
:is(
    .user-setting-content,
    .admin-setting-content,
    .user-main-content,
    .repo-setting-content,
    .org-setting-content
  )
  :is(.ui.segments, .ui.attached.segment)
  + .ui.top.attached.header {
  margin-top: 24px;
}

/* The header's buttons (Create user account, New organization): Forgejo
   insets them by the padding the heading no longer has, so they line up with
   the card's edge instead, filling the header row above the 6px gap */
:is(
    .user-setting-content,
    .admin-setting-content,
    .user-main-content,
    .repo-setting-content,
    .org-setting-content
  )
  .ui.top.attached.header:not(.error, .warning)
  > .ui.right {
  inset-inline-end: 0;

  /* the header row, above the 6px gap (1px of it the transparent border) */
  top: -1px;
  bottom: 5px;

  > .ui.button:last-child {
    margin-inline-end: 0;
  }
}

/* …but when more of the panel is attached below it (the admin lists' table
   under their search), the card goes on, so its bottom corners stay square */
:is(
    .user-setting-content,
    .admin-setting-content,
    .user-main-content,
    .repo-setting-content,
    .org-setting-content
  )
  .ui.top.attached.header:not(.error, .warning)
  + .ui.attached.segment:has(+ .ui.attached:not(.header)) {
  border-radius: var(--aweb-card-radius) var(--aweb-card-radius) 0 0;
}

/* Labels and counters (issue labels, the counts on tabs): libadwaita has no
   such widget, so the tokens decide (step 4): its 6px radius for small
   controls (checks, toggles). Colours are Forgejo's, mapped above. */
.ui.label {
  border-radius: var(--aweb-toggle-radius);
}

/* A commit ID (hashbox.css): a label like the others, without Forgejo's
   border; a signed commit keeps its coloured border from Forgejo's heavier
   rules (.sha.label.isSigned.isVerified and the others), since the colour
   tells whether the signature is trusted */
.sha.label {
  border-color: transparent;
  border-radius: var(--aweb-toggle-radius);
}

/* …with the ID 1px lower in the same height: its characters (digits, a to f)
   have no descenders, so centring the line box leaves them above the middle.
   Forgejo's .sha.label .shortsha { padding: .1rem .5rem } (hashbox.css). */
.sha.label .shortsha {
  padding-block: calc(0.1rem + 1px) calc(0.1rem - 1px);
}

/* Tooltips: libadwaita's tooltip (step 1, widgets/_tooltip.scss): 9px corners,
   6px 10px padding, a faint light border against dark pages */
.tippy-box[data-theme="tooltip"] {
  border: 1px solid var(--aweb-tooltip-border-color);
  border-radius: var(--aweb-tooltip-radius);
  background-clip: padding-box;
}

.tippy-box[data-theme="tooltip"] .tippy-content {
  padding: var(--aweb-tooltip-padding);
}

/* Tippy's menus (the ••• overflow menus) and boxes: the popover menu and the
   card, as Fomantic's dropdowns and boxes above */
.tippy-box[data-theme="menu"] {
  border-color: transparent;
  border-radius: var(--aweb-popover-radius);
  box-shadow: var(--aweb-popover-shadow);
}

.tippy-box[data-theme="menu"] .tippy-content {
  padding: var(--aweb-popover-padding);
}

.tippy-box[data-theme="menu"] .tippy-target > .item {
  border-radius: var(--aweb-menu-radius);
}

.tippy-box[data-theme="box-with-header"],
.tippy-box[data-theme="box-with-header"] .tippy-content {
  border-radius: var(--aweb-card-radius);
}

/* Dialogs, Fomantic's .ui.modal and Forgejo's <dialog>: libadwaita's floating
   dialog (step 1, widgets/_dialogs.scss): 15px corners and its shadow. */
.ui.modal,
dialog {
  border-radius: var(--aweb-dialog-radius);
  box-shadow: var(--aweb-dialog-shadow);
}

.ui.modal > :first-child:not(.icon, .dimmer),
.ui.modal > i.icon:first-child + *,
.ui.modal > .dimmer:first-child + *:not(.icon),
.ui.modal > .dimmer:first-child + i.icon + *,
.ui.modal > .header,
dialog header {
  border-start-start-radius: var(--aweb-dialog-radius);
  border-start-end-radius: var(--aweb-dialog-radius);
}

.ui.modal > :last-child,
dialog footer {
  border-end-start-radius: var(--aweb-dialog-radius);
  border-end-end-radius: var(--aweb-dialog-radius);
}

/* Toasts: libadwaita's toast shape (step 1, widgets/_misc.scss), fully
   rounded, its close button round; the colours stay Forgejo's, since they
   tell success from error */
.toastify {
  border-radius: var(--aweb-pill-radius);
  box-shadow: var(--aweb-toast-shadow);
}

.toast-close,
.toast-icon {
  border-radius: var(--aweb-pill-radius);
}

/* Diff pages (a pull request's files, a commit, a compare): Forgejo spans the
   whole window; the theme keeps the centred column of every other page for
   the unified view and the full width only for the side-by-side split view,
   which needs it, the user's choice of 2026-11-21. The widths and breakpoints
   are Fomantic's for .ui.container (container.less). */
.page-content.repository.diff > .ui.container.fluid.padded:not(:has(.code-diff-split)) {
  --container-width: auto;

  width: var(--container-width);
  margin-inline: 1em;
  padding-inline: 0;

  @media (768px <= width < 992px) {
    --container-width: 723px;

    margin-inline: auto;
  }

  @media (992px <= width < 1200px) {
    --container-width: 933px;

    margin-inline: auto;
  }

  @media (width >= 1200px) {
    --container-width: 1127px;

    margin-inline: auto;
  }
}

/* Coloured text: libadwaita draws text in the standalone forms of its colours
   (--adw-destructive-color, the accents' text forms), which reach WCAG's 4.5:1
   in both schemes, never in the fills (TADP-02; decision 0003 keeps the fills
   only under white text). Forgejo uses its fill variables (--color-red and
   the others) as text in these rules, from Fomantic and Forgejo's CSS as
   Forgejo 17.0.1 serves it, so they take the standalone form of the same
   hue; its !important where Forgejo has one. Grey, black, brown, gold and
   olive have no libadwaita text form and stay Forgejo's. */

.delete-button,
.delete-button:hover,
.delete-button:focus,
.ui.basic.red.buttons .button,
.ui.basic.red.button,
.ui.basic.red.buttons .button:hover,
.ui.basic.red.button:hover,
.ui.basic.red.buttons .button:focus,
.ui.basic.red.button:focus,
.ui.basic.red.buttons .button:active,
.ui.basic.red.button:active,
.ui.basic.negative.buttons .button,
.ui.basic.negative.button,
.ui.basic.negative.buttons .button:focus,
.ui.basic.negative.button:focus,
.ui.basic.negative.buttons .button:hover,
.ui.basic.negative.button:hover,
.ui.basic.negative.buttons .button:active,
.ui.basic.negative.button:active,
.ui.ui.ui.basic.red.label,
a.ui.ui.ui.basic.red.label:hover,
.ui.error.message .header,
.ui.negative.message .header,
.ui.red.message .header,
/* stylelint-disable-next-line selector-class-pattern -- Forgejo's own class names, copied (TUPG-06) */
.sha.label.isSigned.isWarning .signature,
#git-graph-container li a em,
.markup .absent,
.page-content.install .ui .reinstall-message,
.repository .unicode-escaped .escaped-code-point[data-escaped]::before,
.repository.file.list .non-diff-file-content .header .file-actions .btn-octicon-danger:hover,
.repository .diff-detail-box .diff-detail-stats strong:nth-of-type(3),
.lines-escape .toggle-escape-button::before,
.runner-delete-link {
  color: var(--adw-destructive-color);
}

.ui.basic.orange.buttons .button,
.ui.basic.orange.button,
.ui.basic.orange.buttons .button:focus,
.ui.basic.orange.button:focus,
.ui.basic.orange.buttons .button:hover,
.ui.basic.orange.button:hover,
.ui.basic.orange.buttons .button:active,
.ui.basic.orange.button:active,
.ui.ui.ui.basic.orange.label,
a.ui.ui.ui.basic.orange.label:hover,
/* stylelint-disable-next-line selector-class-pattern -- Forgejo's own class names, copied (TUPG-06) */
.sha.label.isSigned.isVerifiedUnmatched .signature {
  color: var(--aweb-accent-orange-color);
}

.ui.basic.yellow.buttons .button,
.ui.basic.yellow.button,
.ui.basic.yellow.buttons .button:focus,
.ui.basic.yellow.button:focus,
.ui.basic.yellow.buttons .button:hover,
.ui.basic.yellow.button:hover,
.ui.basic.yellow.buttons .button:active,
.ui.basic.yellow.button:active,
.ui.ui.ui.basic.yellow.label,
a.ui.ui.ui.basic.yellow.label:hover,
.ui.warning.message .header,
.ui.yellow.message .header,
/* stylelint-disable-next-line selector-class-pattern -- Forgejo's own class names, copied (TUPG-06) */
.sha.label.isSigned.isVerifiedUntrusted .signature,
.repository .diff-detail-box .diff-detail-stats strong:nth-of-type(1) {
  color: var(--aweb-accent-yellow-color);
}

.ui.basic.green.buttons .button,
.ui.basic.green.button,
.ui.basic.green.buttons .button:focus,
.ui.basic.green.button:focus,
.ui.basic.green.buttons .button:hover,
.ui.basic.green.button:hover,
.ui.basic.green.buttons .button:active,
.ui.basic.green.button:active,
.ui.basic.positive.buttons .button,
.ui.basic.positive.button,
.ui.basic.positive.buttons .button:focus,
.ui.basic.positive.button:focus,
.ui.basic.positive.buttons .button:hover,
.ui.basic.positive.button:hover,
.ui.basic.positive.buttons .button:active,
.ui.basic.positive.button:active,
.ui.ui.ui.basic.green.label,
a.ui.ui.ui.basic.green.label:hover,
.ui.success.message .header,
.ui.positive.message .header,
.ui.green.message .header,
/* stylelint-disable-next-line selector-class-pattern -- Forgejo's own class names, copied (TUPG-06) */
.sha.label.isSigned.isVerified .signature,
.repository .diff-detail-box .diff-detail-stats strong:nth-of-type(2) {
  color: var(--aweb-accent-green-color);
}

.ui.basic.teal.buttons .button,
.ui.basic.teal.button,
.ui.basic.teal.buttons .button:focus,
.ui.basic.teal.button:focus,
.ui.basic.teal.buttons .button:hover,
.ui.basic.teal.button:hover,
.ui.basic.teal.buttons .button:active,
.ui.basic.teal.button:active {
  color: var(--aweb-accent-teal-color);
}

.ui.info.message .header,
.ui.blue.message .header,
.repository .broken-code-point {
  color: var(--aweb-accent-blue-color);
}

.ui.basic.purple.buttons .button,
.ui.basic.purple.button,
.ui.basic.purple.buttons .button:focus,
.ui.basic.purple.button:focus,
.ui.basic.purple.buttons .button:hover,
.ui.basic.purple.button:hover,
.ui.basic.purple.buttons .button:active,
.ui.basic.purple.button:active,
.ui.ui.ui.basic.purple.label,
a.ui.ui.ui.basic.purple.label:hover {
  color: var(--aweb-accent-purple-color);
}

.text.yellow {
  /* beats Forgejo's .text.yellow { color: var(--color-yellow) !important } */
  color: var(--aweb-accent-yellow-color) !important;
}

.text.teal {
  /* beats Forgejo's .text.teal { color: var(--color-teal) !important } */
  color: var(--aweb-accent-teal-color) !important;
}

.text.blue {
  /* beats Forgejo's .text.blue { color: var(--color-blue) !important } */
  color: var(--aweb-accent-blue-color) !important;
}

.text.light.pink {
  /* beats Forgejo's .text.pink { color: var(--color-pink) !important } */
  color: var(--aweb-accent-pink-color) !important;
}

/* Repository pages: roomier, as GitHub's, the user's choice of 2026-11-21
   (TADP-03): more room around the header, the name as libadwaita's title-2,
   the header's and toolbar's buttons and the clone field at libadwaita's
   control height, and wider gaps between the boxes. Forgejo's selectors
   (repo/header.css, base.css, repo.css). */

/* (the name row marks a repository's header: Forgejo also gives /milestones
   the .repository class) */
.page-content > .secondary-nav:first-child:has(> .ui.container > .repo-header) {
  margin-bottom: 24px;
}

/* A page's header strip (Forgejo's .secondary-nav: a repository's tabs, the
   dashboard's account switcher, Explore's tabs) as part of the top bar, as
   GitHub's, the user's choice of 2026-11-21 (TADP-03): on the bar's colour,
   without a line between them; the strip's own line ends the band. */
body:has(.page-content > .secondary-nav:first-child) #navbar {
  border-bottom-color: transparent;
}

.page-content > .secondary-nav:first-child {
  /* beats navbar.css: .secondary-nav { background: … !important } */
  background: var(--color-nav-bg) !important;
}

/* A repository's header as GitHub's (the same choice): the tabs right under
   the top bar, from the window's start edge with Settings among them; then the
   line, then the name row as the page's first row, on the window. Forgejo's
   .secondary-nav holds the name row, the tabs (overflow-menu) and the line, in
   that order; the name row tells it apart, as Forgejo also marks pages outside
   a repository with .repository (/milestones). */
.secondary-nav:has(> .ui.container > .repo-header) {
  display: flex;
  flex-direction: column;
  padding-top: 0;

  /* beats navbar.css: .secondary-nav { background: … !important } */
  background: transparent !important;

  > overflow-menu {
    order: 1;

    /* beats Tailwind's .tw-pt-0 { padding-top: 0 !important } */
    padding-top: 4px !important;
  }

  > .ui.tabs.divider {
    order: 2;
  }

  > .ui.container:has(> .repo-header) {
    order: 3;
    padding-top: 20px;
  }
}

/* Fomantic's .page-content .ui.ui.ui.container:not(.fluid) centres the tabs in
   the page's column, and its .ui.secondary.menu { background: none } outweighs
   a plainer selector; the top bar's 10px inline padding lines them up with it */
.secondary-nav:has(> .ui.container > .repo-header) > overflow-menu.ui.ui.ui.container:not(.fluid) {
  background: var(--color-nav-bg);
  width: auto;
  max-width: none;
  margin-inline: 0;
  padding-inline: 10px;
}

.secondary-nav:has(> .ui.container > .repo-header)
  > overflow-menu
  .overflow-menu-items
  > a.right.item {
  /* beats Fomantic's .ui.menu:not(.vertical) .right.item { margin-left: auto !important } */
  margin-inline-start: 0 !important;
}

/* A repository's "Enable more" tab, which Forgejo shows its admins while some
   of its units are off (repo/header.tmpl), hidden, the user's choice of
   2026-11-22 (TADP-03); in the tabs and in the overflow menu that takes the
   tabs a narrow window can't fit. Each user can also turn it off with
   Forgejo's unit hints setting (Appearance). */

/* over Fomantic's .ui.menu:not(.vertical) .item and Forgejo's
   .tippy-box[data-theme="menu"] .tippy-target > .item (tippy.css); Forgejo's
   overflow script moves only visible tabs into the menu, so the second is a
   guard for a later version */
overflow-menu.ui.menu a.item[href$="/settings/units"],
.tippy-box[data-theme="menu"] .tippy-target > a.item[href$="/settings/units"] {
  display: none;
}

/* Every page's tabs as a repository's, the user's choice of 2026-11-22
   (TADP-03): in the band under the top bar, from the window's start edge,
   Settings among them, the page's own header after them. */

/* Explore's are in the band already, centred by Tailwind */
.page-content.explore > overflow-menu.secondary-nav {
  padding-inline: 10px;

  .overflow-menu-items {
    /* beats Tailwind's .tw-justify-center { justify-content: center !important } */
    justify-content: flex-start !important;
  }
}

/* An organisation dashboard's links, right after Teams */
.dashboard .secondary-nav .ui.secondary.menu > .right.menu {
  /* beats Fomantic's .ui.menu:not(.vertical) .right.menu { margin-left: auto !important } */
  margin-inline-start: 0 !important;
}

/* An organisation's pages: the tabs' row is the page's second, after the
   avatar and name; it goes first, across the window on the top bar's colour */
body:has(.page-content.organization > .ui.container > overflow-menu) #navbar {
  border-bottom-color: transparent;
}

.page-content.organization:has(> .ui.container > overflow-menu) {
  display: flex;
  flex-direction: column;

  /* Fomantic's .page-content .ui.ui.ui.container:not(.fluid) keeps it in the
     page's column */
  > .ui.ui.ui.container:not(.fluid):has(> overflow-menu) {
    order: -1;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 4px 10px 0;
    background: var(--color-nav-bg);

    + .ui.container {
      margin-top: 24px;
    }
  }

  > .ui.container > overflow-menu {
    /* beats Tailwind's .tw-mb-4 { margin-bottom: 1rem !important } */
    margin-bottom: 0 !important;

    .right.item {
      /* beats Fomantic's .ui.menu:not(.vertical) .right.item { margin-left: auto !important } */
      margin-inline-start: 0 !important;
    }
  }
}

/* A user's pages (the profile and its tabs, a package): the tabs sit inside
   the page, beside the profile card or under the name, so they're placed in
   the band with anchor positioning (LYT-10), and the page starts the band's
   height lower. Fomantic positions the grid's columns (grid.less), which
   would hold them, so that column is left in the flow. A package's own page
   is .packages.view (a repository's and an organisation's package lists are
   .packages too, with their own headers), and its settings page is a
   repository's settings page (.settings.options) without its header strip,
   which an organisation's settings are too. Only a page with tabs: a user's
   own settings are .user.settings.profile too. The band starts 1px up, over
   the top bar's line. */
#navbar {
  anchor-name: --fadw-navbar;
}

.page-content:is(
    .user.profile,
    .packages.view,
    .settings.options:not(.organization, :has(> .secondary-nav))
  ):has(overflow-menu) {
  /* the band on a narrow window: 4px above the tabs' 44px row, its line
     included; a wider one has the tabs in the top bar */
  @media (width < 768px) {
    padding-top: 48px;
  }

  .ui.grid > .column:has(> overflow-menu) {
    position: static;
  }

  overflow-menu {
    position: absolute;
    top: calc(anchor(--fadw-navbar bottom) - 1px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 5px 10px 0;
    background: var(--color-nav-bg);
  }
}

/* A package's pages: room between the owner's name and the package's title,
   where the tabs were */
:is(
    .page-content.packages.view,
    .page-content.settings.options:not(.organization, :has(> .secondary-nav))
  )
  > .ui.container:has(+ .ui.container overflow-menu) {
  margin-bottom: 24px;
}

/* A page's tabs in the top bar itself, between the logo and the site links,
   the user's choice of 2026-11-29 (TADP-03), so the bar is one row, as
   libadwaita's header bar with its view switcher. Tabs that don't fit go into
   the ••• menu at their end: Forgejo's overflow-menu script measures the room
   and moves them (webcomponents/overflow-menu.js). Its sums take the tabs'
   positions from the menu's own left edge, so the menu starts at the window's
   edge (left: 0, the body its containing block) and the logo's room is padding.
   The script also keeps Settings' width free for the ••• button, so up to that
   much stays empty before it. The box reaches under the site links before the
   script folds the tabs, so it lets clicks through to them. A narrow window,
   whose bar Forgejo folds into a menu, keeps the tabs in the band under it. */
@media (width >= 768px) {
  :is(
    .secondary-nav:has(> .ui.container > .repo-header)
      > overflow-menu.ui.ui.ui.container:not(.fluid),
    .page-content.explore > overflow-menu.secondary-nav,
    .page-content.organization > .ui.container > overflow-menu,
    .page-content:is(
        .user.profile,
        .packages.view,
        .settings.options:not(.organization, :has(> .secondary-nav))
      ):has(overflow-menu)
      overflow-menu
  ) {
    position: absolute;
    inset: anchor(--fadw-navbar top) calc(anchor(--fadw-navbar-end left, 50%) + 8px)
      calc(anchor(--fadw-navbar bottom) + 1px) 0;
    align-items: center;
    width: auto;
    max-width: none;
    margin: 0;

    /* Forgejo's logo: the bar's 10px padding and its 56px link, and a gap */
    padding: 0 0 0 70px;
    pointer-events: none;

    /* over the logo; beats navbar.css: .secondary-nav { background: … !important } */
    background: transparent !important;

    /* beats Forgejo's overflow-menu { border-bottom: 1px solid … !important } */
    border-bottom: 0 !important;

    > .overflow-menu-items {
      flex: none;

      /* beats Tailwind's .tw-justify-center on Explore's */
      justify-content: flex-start !important;

      > .item {
        pointer-events: auto;
      }
    }

    > .overflow-menu-button {
      pointer-events: auto;
    }
  }

  /* the band the tabs leave: a repository's line under them becomes the bar's
     own; Explore's and an organisation's have none, so the bar gets its line
     back, and an organisation's tab row goes */
  body:has(
      .page-content.explore > overflow-menu.secondary-nav,
      .page-content.organization > .ui.container > overflow-menu
    )
    #navbar {
    border-bottom-color: var(--color-secondary);
  }

  .page-content.explore > overflow-menu.secondary-nav + * {
    margin-top: var(--page-spacing);
  }

  .page-content.organization > .ui.ui.ui.container:not(.fluid):has(> overflow-menu) {
    padding: 0;
    background: transparent;

    + .ui.container {
      margin-top: var(--page-spacing);
    }
  }
}

/* A repository's tabs in the order they're likely needed, so the ones the
   ••• menu takes first are the least used, the user's choice of 2026-11-29
   (TADP-03): Code, Issues, Pull requests, Actions, Releases, Packages, Wiki,
   Projects, Activity, Settings; the menu lists them in the same order. A tab
   these don't name (an external tracker or wiki) keeps its place after Code. */
.secondary-nav:has(> .ui.container > .repo-header) > overflow-menu .overflow-menu-items,
.tippy-box[data-theme="menu"] .tippy-content > .tippy-target:has(> a.item[role="menuitem"]) {
  > a.item[href$="/issues"] {
    order: 1;
  }

  > a.item[href$="/pulls"] {
    order: 2;
  }

  > a.item[href$="/actions"] {
    order: 3;
  }

  > a.item[href$="/releases"] {
    order: 4;
  }

  > a.item[href$="/packages"] {
    order: 5;
  }

  > a.item[href$="/wiki"] {
    order: 6;
  }

  > a.item[href$="/projects"] {
    order: 7;
  }

  > a.item[href$="/activity"] {
    order: 8;
  }

  > a.item[href$="/settings"] {
    order: 9;
  }
}

/* the ••• menu's list as a column, so the order applies */
.tippy-box[data-theme="menu"] .tippy-content > .tippy-target:has(> a.item[role="menuitem"]) {
  flex-direction: column;

  /* beats Forgejo's .tippy-content .tippy-target { display: unset !important } */
  display: flex !important;
}

/* The ••• button of a row of tabs, as a tab: a header bar's flat button */
overflow-menu > .overflow-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: var(--aweb-control-height);
  height: var(--aweb-control-height);
  margin-inline-start: 3px;
  border: 0;
  border-radius: var(--aweb-button-radius);
  background: transparent;
  color: inherit;

  /* beats Tailwind's .tw-px-2 { padding-inline: … !important } */
  padding: 0 !important;

  &:hover {
    background: var(--color-hover);
  }

  &[aria-expanded="true"],
  &:active {
    background: var(--color-active);
  }
}

/* Tippy's menus without its arrow, as the other menus (popovers) */
.tippy-box[data-theme="menu"] > .tippy-svg-arrow {
  display: none;
}

/* The top bar's site links (Issues, Pull requests, Milestones, Explore) as
   icon buttons at its end, beside the notifications, as GitHub's: the user's
   choice of 2026-11-21 (TADP-03), without tooltips, which CSS can't add.
   Their text stays for screen readers; the icons are the Octicons Forgejo
   serves, as on its tabs. A narrow window's menu keeps the labels. */
@media (width >= 768px) {
  #navbar .navbar-left {
    flex: 1;
  }

  /* the first site link after the logo (Issues, or Explore when signed out)
     starts the bar's end, and ends the room for a page's tabs */
  #navbar .navbar-left > .navbar-mobile-right + a.item {
    margin-inline-start: auto;
    anchor-name: --fadw-navbar-end;
  }

  #navbar
    .navbar-left
    > a.item:is(
      [href$="/issues"],
      [href$="/pulls"],
      [href$="/milestones"],
      [href$="/explore/repos"]
    ) {
    justify-content: center;
    padding-inline: 0;
    font-size: 0;

    &::before {
      content: "";
      position: static;
      width: 16px;
      height: 16px;
      background: currentcolor;
      mask: var(--fadw-nav-icon) center / contain no-repeat;

      /* beats Fomantic's .ui.secondary.menu .item:before { display: none !important } */
      display: block !important;
    }
  }

  #navbar a.item[href$="/issues"] {
    --fadw-nav-icon: url("/assets/img/svg/octicon-issue-opened.svg");
  }

  #navbar a.item[href$="/pulls"] {
    --fadw-nav-icon: url("/assets/img/svg/octicon-git-pull-request.svg");
  }

  #navbar a.item[href$="/milestones"] {
    --fadw-nav-icon: url("/assets/img/svg/octicon-milestone.svg");
  }

  #navbar a.item[href$="/explore/repos"] {
    --fadw-nav-icon: url("/assets/img/svg/octicon-telescope.svg");
  }
}

.repo-header .flex-item-title {
  font-size: var(--aweb-title-2-font-size);
  line-height: 1.3;
}

.repo-buttons .ui.button,
.repo-buttons .ui.label {
  min-height: var(--aweb-control-height);
}

.repo-button-row {
  margin-bottom: 16px;
  gap: 8px;
}

.repo-button-row .button,
.repo-button-row input {
  height: var(--aweb-control-height);
}

.repository.file.list #repo-files-table {
  margin-bottom: 24px;
}

/* A repository's home page: GitHub's arrangement, the user's choice of
   2026-11-21 (TADP-03): the files and README on the left, and an About
   sidebar on the right with the description, the topics, the counts and the
   languages. CSS can't wrap Forgejo's blocks in columns, so the sidebar's
   blocks are placed beside the files and each under the one before with anchor
   positioning (LYT-10's core properties, Baseline 2026); a browser without it,
   a narrow window, and a page without the summary (a subfolder, an empty
   repository) keep Forgejo's single column. */
@supports (anchor-name: --aweb-test) {
  @media (width >= 992px) {
    .page-content.repository.file.list > .ui.container:has(> .repository-summary) {
      position: relative;

      /* the sidebar sits outside the flow, so a short file column can't let it
         run into the footer */
      min-height: 24rem;
      padding-inline-end: calc(18rem + 40px);

      > .repo-description,
      > .repo-topics,
      > .repository-summary {
        position: absolute;
        inset-inline-end: 0;
        width: 18rem;
      }

      > .repo-description {
        top: 0;
        margin: 0;
        anchor-name: --aweb-repo-description;
        font-size: 1.07rem;
        line-height: 1.45;
      }

      > .repo-topics {
        top: anchor(--aweb-repo-description bottom);

        /* beats Tailwind's .tw-my-2 { margin-top/bottom: 0.5rem !important } */
        margin-block: 12px 0 !important;
        anchor-name: --aweb-repo-topics;
        gap: 6px;
      }

      > .repository-summary {
        top: anchor(--aweb-repo-topics bottom);

        /* beats Tailwind's .tw-mt-1 { margin-top: 0.25rem !important } */
        margin-block-start: 20px !important;
        background: transparent;
        border-color: transparent;
      }
    }

    /* The counts (commits, branches, tags, size) as a plain list */
    .page-content.repository.file.list .repository-summary .repository-menu {
      grid-template-rows: none;
      grid-template-columns: 1fr;
      background: transparent;
    }

    .page-content.repository.file.list .repository-summary .repository-menu > .item {
      justify-content: flex-start;
      height: auto;
      padding-block: 7px;
    }

    /* The languages: a thin rounded bar, its legend always shown, after a
       separator */
    .page-content.repository.file.list .repository-summary #language-stats {
      display: block;
      margin-block-start: 16px;
      padding-block-start: 16px;
      border-block-start: 1px solid var(--color-secondary);

      &::details-content {
        display: block;
        content-visibility: visible;
      }

      stats-bar {
        --stats-bar-height: 8px;

        border-radius: 4px;
      }

      ul {
        justify-content: flex-start;
        gap: 4px 16px;
        min-height: 0;
        padding: 8px 0 0;
        font-size: 0.86rem;
      }
    }
  }
}

/* Topics (a repository's home page, the explore page): chips in the accent's
   tint, as a libadwaita pill (step 4) */
.repo-topic.ui.label {
  padding: 4px 10px;
  border-radius: var(--aweb-pill-radius);
  background: color-mix(in srgb, var(--adw-accent-bg-color) 15%, transparent);
  color: var(--adw-accent-color);
  font-size: 0.82rem;
  font-weight: bold;
}

/* src/file-icons.css */

/* Generated by scripts/file_icons.py --update; don't edit. The file-type
   icons of a repository's file list by file name, from the shared MIME
   database and the icon themes of these packages:
   morewaita-icon-theme 50.1-1, adwaita-icon-theme 51.0-1, shared-mime-info 2.5.1-2.1.
   The icons are MoreWaita's (GPL-3.0) and Adwaita's (LGPL-3.0 or CC BY-SA
   3.0). The base rules are in adwaita.css. */

#repo-files-table td.name a.muted {
  &[title$="%" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$="~" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".C" i]::before {
    background-image: url("../img/file-icons/text-x-c++src.svg");
  }

  &[title$=".a" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".h" i]::before {
    background-image: url("../img/file-icons/text-x-chdr.svg");
  }

  &[title$=".o" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".t" i]::before {
    background-image: url("../img/file-icons/application-x-perl.svg");
  }

  &[title$=".z" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".C" s]::before {
    background-image: url("../img/file-icons/text-x-c++src.svg");
  }

  &[title$=".c" s]::before {
    background-image: url("../img/file-icons/text-x-csrc.svg");
  }

  &[title$=".7z" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".8o" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".aa" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".ag" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".ai" i]::before {
    background-image: url("../img/file-icons/application-illustrator.svg");
  }

  &[title$=".al" i]::before {
    background-image: url("../img/file-icons/application-x-perl.svg");
  }

  &[title$=".ar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".as" i]::before {
    background-image: url("../img/file-icons/application-x-applix-spreadsheet.svg");
  }

  &[title$=".au" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".aw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".br" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".bz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".cc" i]::before {
    background-image: url("../img/file-icons/text-x-c++src.svg");
  }

  &[title$=".cs" i]::before {
    background-image: url("../img/file-icons/text-x-csharp.svg");
  }

  &[title$=".dv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".el" i]::before {
    background-image: url("../img/file-icons/text-x-emacs-lisp.svg");
  }

  &[title$=".es" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".ez" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".fd" i]::before {
    background-image: url("../img/file-icons/application-x-raw-floppy-disk-image.svg");
  }

  &[title$=".ff" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".fl" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".fm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".g3" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".gb" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".gd" i]::before {
    background-image: url("../img/file-icons/application-x-gdscript.svg");
  }

  &[title$=".gf" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".gg" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".go" i]::before {
    background-image: url("../img/file-icons/text-x-go.svg");
  }

  &[title$=".gp" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".gv" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".gy" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".gz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".h4" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".h5" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".hh" i]::before {
    background-image: url("../img/file-icons/text-x-c++hdr.svg");
  }

  &[title$=".hp" i]::before {
    background-image: url("../img/file-icons/text-x-c++hdr.svg");
  }

  &[title$=".it" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".js" i]::before {
    background-image: url("../img/file-icons/text-javascript.svg");
  }

  &[title$=".k7" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".ks" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kt" i]::before {
    background-image: url("../img/file-icons/text-x-kotlin.svg");
  }

  &[title$=".la" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".lz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".m4" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".m7" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".md" i]::before {
    background-image: url("../img/file-icons/text-markdown.svg");
  }

  &[title$=".mk" i]::before {
    background-image: url("../img/file-icons/text-x-makefile.svg");
  }

  &[title$=".ml" i]::before {
    background-image: url("../img/file-icons/text-x-ocaml.svg");
  }

  &[title$=".mo" i]::before {
    background-image: url("../img/file-icons/application-x-gettext-translation.svg");
  }

  &[title$=".nb" i]::before {
    background-image: url("../img/file-icons/application-mathematica.svg");
  }

  &[title$=".nc" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".nu" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".nx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".p8" i]::before {
    background-image: url("../img/file-icons/application-pkcs8.svg");
  }

  &[title$=".pk" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".pl" i]::before {
    background-image: url("../img/file-icons/application-x-perl.svg");
  }

  &[title$=".pm" i]::before {
    background-image: url("../img/file-icons/application-x-perl.svg");
  }

  &[title$=".po" i]::before {
    background-image: url("../img/file-icons/text-x-gettext-translation.svg");
  }

  &[title$=".ps" i]::before {
    background-image: url("../img/file-icons/application-postscript.svg");
  }

  &[title$=".pw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".py" i]::before {
    background-image: url("../img/file-icons/text-x-python.svg");
  }

  &[title$=".qd" i]::before {
    background-image: url("../img/file-icons/application-x-raw-floppy-disk-image.svg");
  }

  &[title$=".qp" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".qs" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".qt" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".ra" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".rb" i]::before {
    background-image: url("../img/file-icons/application-x-ruby.svg");
  }

  &[title$=".rc" i]::before {
    background-image: url("../img/file-icons/application-xml.svg");
  }

  &[title$=".rm" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".rp" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rs" i]::before {
    background-image: url("../img/file-icons/text-rust.svg");
  }

  &[title$=".rv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".rz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".sg" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".sh" i]::before {
    background-image: url("../img/file-icons/application-x-shellscript.svg");
  }

  &[title$=".sk" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".so" i]::before {
    background-image: url("../img/file-icons/application-x-sharedlib.svg");
  }

  &[title$=".ts" i]::before {
    background-image: url("../img/file-icons/application-typescript.svg");
  }

  &[title$=".ui" i]::before {
    background-image: url("../img/file-icons/application-x-designer.svg");
  }

  &[title$=".vb" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".vv" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".wp" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".ws" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".wv" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".xi" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".xm" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".xz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".yt" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".zz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".123" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".32x" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".386" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".3ds" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".3fr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".3g2" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".3ga" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".3gp" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".3mf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".602" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".669" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".68k" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".a26" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".a78" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".aab" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".aac" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".aax" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".abw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".ac3" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".ace" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".adf" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".afm" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".agb" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".aif" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".alz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".amf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".amr" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".amz" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".ani" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".anx" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".ape" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".apk" i]::before {
    background-image: url("../img/file-icons/application-vnd.android.package-archive.svg");
  }

  &[title$=".arj" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".arw" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".asd" i]::before {
    background-image: url("../img/file-icons/text-x-common-lisp.svg");
  }

  &[title$=".ase" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".asf" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".asp" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".ass" i]::before {
    background-image: url("../img/file-icons/text-x-ssa.svg");
  }

  &[title$=".asx" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".avf" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".avi" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".awb" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".awk" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".axa" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".axv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".bak" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".bas" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".bat" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".bay" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".bdf" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".bdl" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".bdm" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".bib" i]::before {
    background-image: url("../img/file-icons/text-x-bibtex.svg");
  }

  &[title$=".bik" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".bk2" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".blp" i]::before {
    background-image: url("../img/file-icons/text-x-blueprint.svg");
  }

  &[title$=".bmp" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".bmq" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".bps" i]::before {
    background-image: url("../img/file-icons/application-x-bps-patch.svg");
  }

  &[title$=".bst" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".bz2" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".bz3" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".c++" i]::before {
    background-image: url("../img/file-icons/text-x-c++src.svg");
  }

  &[title$=".cab" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".cap" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".car" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".cat" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".cb7" i]::before {
    background-image: url("../img/file-icons/application-x-cb7.svg");
  }

  &[title$=".cbl" i]::before {
    background-image: url("../img/file-icons/text-x-cobol.svg");
  }

  &[title$=".cbr" i]::before {
    background-image: url("../img/file-icons/application-vnd.comicbook-rar.svg");
  }

  &[title$=".cbt" i]::before {
    background-image: url("../img/file-icons/application-x-cbt.svg");
  }

  &[title$=".cbz" i]::before {
    background-image: url("../img/file-icons/application-vnd.comicbook+zip.svg");
  }

  &[title$=".cci" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".cda" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".cdf" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".cdr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".cel" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".cer" i]::before {
    background-image: url("../img/file-icons/application-pkix-cert.svg");
  }

  &[title$=".cgb" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".cgm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".ch8" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".chd" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".chm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".cjs" i]::before {
    background-image: url("../img/file-icons/text-javascript.svg");
  }

  &[title$=".cls" i]::before {
    background-image: url("../img/file-icons/text-x-tex.svg");
  }

  &[title$=".cmd" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".cob" i]::before {
    background-image: url("../img/file-icons/text-x-cobol.svg");
  }

  &[title$=".cpi" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".cpl" i]::before {
    background-image: url("../img/file-icons/application-x-msdownload.svg");
  }

  &[title$=".cpp" i]::before {
    background-image: url("../img/file-icons/text-x-c++src.svg");
  }

  &[title$=".cr2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".cr3" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".crl" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".crt" i]::before {
    background-image: url("../img/file-icons/application-pkix-cert.svg");
  }

  &[title$=".crw" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".cs1" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".cs2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".csh" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".cso" i]::before {
    background-image: url("../img/file-icons/application-x-compressed-iso.svg");
  }

  &[title$=".csr" i]::before {
    background-image: url("../img/file-icons/application-pkcs10.svg");
  }

  &[title$=".css" i]::before {
    background-image: url("../img/file-icons/text-css.svg");
  }

  &[title$=".csv" i]::before {
    background-image: url("../img/file-icons/text-csv.svg");
  }

  &[title$=".cts" i]::before {
    background-image: url("../img/file-icons/application-typescript.svg");
  }

  &[title$=".cur" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".cwk" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".cxx" i]::before {
    background-image: url("../img/file-icons/text-x-c++src.svg");
  }

  &[title$=".d40" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".d64" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".d71" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".d80" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".d81" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".d82" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".d90" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".dar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".dbf" i]::before {
    background-image: url("../img/file-icons/application-x-dbf.svg");
  }

  &[title$=".dbk" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".dcm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".dcr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".dds" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".deb" i]::before {
    background-image: url("../img/file-icons/application-vnd.debian.binary-package.svg");
  }

  &[title$=".der" i]::before {
    background-image: url("../img/file-icons/application-pkcs7-mime.svg");
  }

  &[title$=".dff" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".dia" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".dib" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".djv" i]::before {
    background-image: url("../img/file-icons/image-vnd.djvu.svg");
  }

  &[title$=".dll" i]::before {
    background-image: url("../img/file-icons/application-x-msdownload.svg");
  }

  &[title$=".dmg" i]::before {
    background-image: url("../img/file-icons/application-x-apple-diskimage.svg");
  }

  &[title$=".dmp" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".dng" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".doc" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-word.svg");
  }

  &[title$=".dot" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".drv" i]::before {
    background-image: url("../img/file-icons/application-x-msdownload.svg");
  }

  &[title$=".dsf" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".dsk" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".dsm" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".dts" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".dtx" i]::before {
    background-image: url("../img/file-icons/text-x-tex.svg");
  }

  &[title$=".dvi" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".dwg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".dxf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".efi" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".emf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".emp" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".ent" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".eps" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".erf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".exe" i]::before {
    background-image: url("../img/file-icons/application-x-msdownload.svg");
  }

  &[title$=".exr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".f4a" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".f4b" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".f4v" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".fb2" i]::before {
    background-image: url("../img/file-icons/application-x-fictionbook+xml.svg");
  }

  &[title$=".fds" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".fff" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".fig" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".fit" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".fkt" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".flc" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".fli" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".flv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".flw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".fpx" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".fst" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".fts" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".fxm" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".g64" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".g71" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".gba" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".gbc" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".gbr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".ged" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".gem" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".gen" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".gif" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".gih" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".glb" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".gml" i]::before {
    background-image: url("../img/file-icons/application-gml+xml.svg");
  }

  &[title$=".gmo" i]::before {
    background-image: url("../img/file-icons/application-x-gettext-translation.svg");
  }

  &[title$=".gnc" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".gnd" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".gpa" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".gpg" i]::before {
    background-image: url("../img/file-icons/application-pgp-encrypted.svg");
  }

  &[title$=".gpx" i]::before {
    background-image: url("../img/file-icons/application-gpx+xml.svg");
  }

  &[title$=".gra" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".gsf" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".gsh" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".gsm" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".gvy" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".h++" i]::before {
    background-image: url("../img/file-icons/text-x-c++hdr.svg");
  }

  &[title$=".har" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".hdf" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".hdp" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".hdr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".hex" i]::before {
    background-image: url("../img/file-icons/text-x-hex.svg");
  }

  &[title$=".hfe" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".hif" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".hlp" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".hpp" i]::before {
    background-image: url("../img/file-icons/text-x-c++hdr.svg");
  }

  &[title$=".hqx" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".hrd" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".hta" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".htc" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".htm" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".hwp" i]::before {
    background-image: url("../img/file-icons/application-x-hwp.svg");
  }

  &[title$=".hwt" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".hxx" i]::before {
    background-image: url("../img/file-icons/text-x-c++hdr.svg");
  }

  &[title$=".icb" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".icc" i]::before {
    background-image: url("../img/file-icons/application-vnd.iccprofile.svg");
  }

  &[title$=".icm" i]::before {
    background-image: url("../img/file-icons/application-vnd.iccprofile.svg");
  }

  &[title$=".ico" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".icq" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ief" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".iff" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".igs" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".iiq" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".img" i]::before {
    background-image: url("../img/file-icons/application-vnd.efi.img.svg");
  }

  &[title$=".ins" i]::before {
    background-image: url("../img/file-icons/text-x-tex.svg");
  }

  &[title$=".ips" i]::before {
    background-image: url("../img/file-icons/application-x-ips-patch.svg");
  }

  &[title$=".iso" i]::before {
    background-image: url("../img/file-icons/application-vnd.efi.iso.svg");
  }

  &[title$=".j2c" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".j2k" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jar" i]::before {
    background-image: url("../img/file-icons/application-x-jar.svg");
  }

  &[title$=".jks" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".jng" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jp2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpc" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpe" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpr" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".jpx" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".jrd" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".jse" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".jsm" i]::before {
    background-image: url("../img/file-icons/text-javascript.svg");
  }

  &[title$=".jxl" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jxr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".k25" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".kar" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".kcf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".kdc" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".key" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".kfo" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".kfx" i]::before {
    background-image: url("../img/file-icons/application-vnd.amazon.mobi8-ebook.svg");
  }

  &[title$=".kgt" i]::before {
    background-image: url("../img/file-icons/application-x-kgetlist.svg");
  }

  &[title$=".kig" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kil" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".kim" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kml" i]::before {
    background-image: url("../img/file-icons/application-vnd.google-earth.kml+xml.svg");
  }

  &[title$=".kmz" i]::before {
    background-image: url("../img/file-icons/application-vnd.google-earth.kmz.svg");
  }

  &[title$=".kns" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kon" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".kpm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".kpr" i]::before {
    background-image: url("../img/file-icons/application-x-kpresenter.svg");
  }

  &[title$=".kpt" i]::before {
    background-image: url("../img/file-icons/application-x-kpresenter.svg");
  }

  &[title$=".kra" i]::before {
    background-image: url("../img/file-icons/application-x-krita.svg");
  }

  &[title$=".krz" i]::before {
    background-image: url("../img/file-icons/application-x-krita.svg");
  }

  &[title$=".ksp" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".kth" i]::before {
    background-image: url("../img/file-icons/application-x-ktheme.svg");
  }

  &[title$=".ktx" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".kud" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".kug" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kwd" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".kwl" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kwt" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".lbm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".lha" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".lhz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".lib" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".lnx" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".log" i]::before {
    background-image: url("../img/file-icons/text-x-log.svg");
  }

  &[title$=".lrf" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".lrv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".lrz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".ltx" i]::before {
    background-image: url("../img/file-icons/text-x-tex.svg");
  }

  &[title$=".lua" i]::before {
    background-image: url("../img/file-icons/text-x-lua.svg");
  }

  &[title$=".lwo" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".lwp" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".lws" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".lyx" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".lz4" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".lzh" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".lzo" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".m15" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".m1u" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".m2t" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".m3u" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".m4a" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".m4b" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".m4r" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".m4u" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".m4v" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mab" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".mak" i]::before {
    background-image: url("../img/file-icons/text-x-makefile.svg");
  }

  &[title$=".mdb" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-access.svg");
  }

  &[title$=".mdc" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".mdi" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".mdr" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".mdx" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".med" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mef" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".mgp" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".mgt" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".mht" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".mid" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mif" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".mj2" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mjs" i]::before {
    background-image: url("../img/file-icons/text-javascript.svg");
  }

  &[title$=".mka" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mkd" i]::before {
    background-image: url("../img/file-icons/text-markdown.svg");
  }

  &[title$=".mkv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mli" i]::before {
    background-image: url("../img/file-icons/text-x-ocaml.svg");
  }

  &[title$=".mmf" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mml" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".mng" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mo3" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mod" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mos" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".mov" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mp+" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mp2" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mp3" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mp4" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mpc" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mpe" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mpg" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mpp" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mrw" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".msi" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".msp" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".msu" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".msx" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".mtl" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".mtm" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mts" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mxf" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mxu" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".n64" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".nds" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".nef" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".nes" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".nez" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".ngc" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".ngp" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".nrw" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".nsc" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".nst" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".nsv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".nzb" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".obj" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ocx" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".oda" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".odb" i]::before {
    background-image: url("../img/file-icons/application-vnd.oasis.opendocument.database.svg");
  }

  &[title$=".odc" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".odf" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".odg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".odi" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".odm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".odp" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".ods" i]::before {
    background-image: url("../img/file-icons/application-vnd.oasis.opendocument.spreadsheet.svg");
  }

  &[title$=".odt" i]::before {
    background-image: url("../img/file-icons/application-vnd.oasis.opendocument.text.svg");
  }

  &[title$=".oga" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".ogg" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".ogm" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".ogv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".ogx" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".old" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ora" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".orf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".otc" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".otf" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".otg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".oth" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".otm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".otp" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".ots" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".ott" i]::before {
    background-image: url("../img/file-icons/application-vnd.oasis.opendocument.text-template.svg");
  }

  &[title$=".ova" i]::before {
    background-image: url("../img/file-icons/application-x-virtualbox-ova.svg");
  }

  &[title$=".owl" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".owx" i]::before {
    background-image: url("../img/file-icons/application-owl+xml.svg");
  }

  &[title$=".oxt" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".p10" i]::before {
    background-image: url("../img/file-icons/application-pkcs10.svg");
  }

  &[title$=".p12" i]::before {
    background-image: url("../img/file-icons/application-x-pkcs12.svg");
  }

  &[title$=".p65" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".p7b" i]::before {
    background-image: url("../img/file-icons/application-x-pkcs7-certificates.svg");
  }

  &[title$=".p7c" i]::before {
    background-image: url("../img/file-icons/application-pkcs7-mime.svg");
  }

  &[title$=".p7m" i]::before {
    background-image: url("../img/file-icons/application-pkcs7-mime.svg");
  }

  &[title$=".p7s" i]::before {
    background-image: url("../img/file-icons/application-pkcs7-signature.svg");
  }

  &[title$=".p7z" i]::before {
    background-image: url("../img/file-icons/application-pkcs7-mime.svg");
  }

  &[title$=".p8e" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".pac" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".pak" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".pat" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pbm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pce" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".pcf" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".pcl" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pct" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pcx" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pdc" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".pdf" i]::before {
    background-image: url("../img/file-icons/application-pdf.svg");
  }

  &[title$=".pef" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pem" i]::before {
    background-image: url("../img/file-icons/application-pkcs7-mime.svg");
  }

  &[title$=".pfa" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".pfb" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".pfm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pfr" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".pfx" i]::before {
    background-image: url("../img/file-icons/application-x-pkcs12.svg");
  }

  &[title$=".pgm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pgp" i]::before {
    background-image: url("../img/file-icons/application-pgp-encrypted.svg");
  }

  &[title$=".phm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".php" i]::before {
    background-image: url("../img/file-icons/application-x-php.svg");
  }

  &[title$=".pic" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pkg" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".pkr" i]::before {
    background-image: url("../img/file-icons/application-pgp-keys.svg");
  }

  &[title$=".pla" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".pln" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".pls" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".pm6" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".pmd" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".png" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pnm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pnx" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pod" i]::before {
    background-image: url("../img/file-icons/application-x-perl.svg");
  }

  &[title$=".por" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".pot" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-powerpoint.svg");
  }

  &[title$=".ppd" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ppm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pps" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-powerpoint.svg");
  }

  &[title$=".ppt" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-powerpoint.svg");
  }

  &[title$=".ppz" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-powerpoint.svg");
  }

  &[title$=".pqa" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".prc" i]::before {
    background-image: url("../img/file-icons/application-x-mobipocket-ebook.svg");
  }

  &[title$=".ps1" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".psd" i]::before {
    background-image: url("../img/file-icons/image-vnd.adobe.photoshop.svg");
  }

  &[title$=".psf" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".psw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".pub" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".pxr" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".py3" i]::before {
    background-image: url("../img/file-icons/text-x-python3.svg");
  }

  &[title$=".pyc" i]::before {
    background-image: url("../img/file-icons/application-x-python-bytecode.svg");
  }

  &[title$=".pyi" i]::before {
    background-image: url("../img/file-icons/text-x-python3.svg");
  }

  &[title$=".pyo" i]::before {
    background-image: url("../img/file-icons/application-x-python-bytecode.svg");
  }

  &[title$=".pys" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".pzx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".qed" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".qif" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".qoi" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".qpw" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".qti" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".qtl" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".qwd" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".qwt" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".qxb" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".qxd" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".qxl" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".qxp" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".qxt" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".raf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".ram" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".rar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".ras" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".raw" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rax" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".rdc" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rdf" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".res" i]::before {
    background-image: url("../img/file-icons/application-x-godot-resource.svg");
  }

  &[title$=".rgb" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rle" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rmj" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".rmm" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".rms" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".rmx" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".rng" i]::before {
    background-image: url("../img/file-icons/application-xml.svg");
  }

  &[title$=".ros" i]::before {
    background-image: url("../img/file-icons/text-x-common-lisp.svg");
  }

  &[title$=".rpm" i]::before {
    background-image: url("../img/file-icons/application-x-rpm.svg");
  }

  &[title$=".rss" i]::before {
    background-image: url("../img/file-icons/application-rss+xml.svg");
  }

  &[title$=".rtf" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".rvx" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".rvz" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".rw2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rwl" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rzx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".s3m" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".sam" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".sap" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".sav" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".sc8" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".scn" i]::before {
    background-image: url("../img/file-icons/application-x-godot-scene.svg");
  }

  &[title$=".scr" i]::before {
    background-image: url("../img/file-icons/application-x-msdownload.svg");
  }

  &[title$=".sct" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".sda" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".sdc" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".sdd" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".sdp" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".sds" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".sdw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".sed" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".seg" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".sf3" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".sfc" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".sfs" i]::before {
    background-image: url("../img/file-icons/application-vnd.squashfs.svg");
  }

  &[title$=".sgb" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".sgd" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".sgi" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".sgl" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".shn" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".sid" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".sig" i]::before {
    background-image: url("../img/file-icons/application-pgp-signature.svg");
  }

  &[title$=".sik" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".sis" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".sit" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".siv" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".sk1" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".skr" i]::before {
    background-image: url("../img/file-icons/application-pgp-keys.svg");
  }

  &[title$=".skz" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".slk" i]::before {
    background-image: url("../img/file-icons/text-spreadsheet.svg");
  }

  &[title$=".slt" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".smc" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".smd" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".smf" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".smi" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".smk" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".sml" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".sms" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".sna" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".snd" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".snf" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".spc" i]::before {
    background-image: url("../img/file-icons/application-x-pkcs7-certificates.svg");
  }

  &[title$=".spd" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".spl" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".spm" i]::before {
    background-image: url("../img/file-icons/application-x-source-rpm.svg");
  }

  &[title$=".spx" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".sql" i]::before {
    background-image: url("../img/file-icons/application-sql.svg");
  }

  &[title$=".sr2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".srf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".srt" i]::before {
    background-image: url("../img/file-icons/application-x-subrip.svg");
  }

  &[title$=".srw" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".srx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ssa" i]::before {
    background-image: url("../img/file-icons/text-x-ssa.svg");
  }

  &[title$=".stc" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".std" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".sti" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".stk" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".stl" i]::before {
    background-image: url("../img/file-icons/model-stl.svg");
  }

  &[title$=".stm" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".stp" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".stw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".sty" i]::before {
    background-image: url("../img/file-icons/text-x-tex.svg");
  }

  &[title$=".sun" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".svg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".swf" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".swm" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".sxc" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".sxd" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".sxg" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".sxi" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".sxm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".sxw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".sys" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".szx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".t64" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".tak" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".tap" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".tar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".taz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tb2" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tbr" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tbz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tex" i]::before {
    background-image: url("../img/file-icons/text-x-tex.svg");
  }

  &[title$=".tga" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".tgz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tic" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".tif" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".tim" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".tlz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tmx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".tnf" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".trz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tsv" i]::before {
    background-image: url("../img/file-icons/text-tab-separated-values.svg");
  }

  &[title$=".tsx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".tta" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".ttc" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".ttf" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".ttx" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".txz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".typ" i]::before {
    background-image: url("../img/file-icons/text-x-typst.svg");
  }

  &[title$=".tzo" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tzx" i]::before {
    background-image: url("../img/file-icons/application-x-spectrum-tzx.svg");
  }

  &[title$=".uin" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ult" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".unf" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".uni" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".v64" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".vbe" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".vbs" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".vda" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".vdi" i]::before {
    background-image: url("../img/file-icons/application-x-virtualbox-vdi.svg");
  }

  &[title$=".viv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".vlc" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".vob" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".voc" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".vor" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".vpc" i]::before {
    background-image: url("../img/file-icons/application-x-virtualbox-vhd.svg");
  }

  &[title$=".vrm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".vsd" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".vss" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".vst" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".vsw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".vtt" i]::before {
    background-image: url("../img/file-icons/text-vtt.svg");
  }

  &[title$=".vxd" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".wad" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".war" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".wav" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".wax" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".wb1" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".wb2" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".wb3" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".wcm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wdb" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wdp" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".wia" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".wim" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".wk1" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".wk3" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".wk4" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".wks" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".wma" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".wmf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".wmp" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".wmv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".wmx" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".wp4" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wp5" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wp6" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wpd" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wpg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".wpl" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".wpp" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wps" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wql" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".wri" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wrl" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".wsc" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".wvc" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".wvp" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".wvx" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".wwf" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".x3f" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".x64" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".xac" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".xar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".xbl" i]::before {
    background-image: url("../img/file-icons/application-xml.svg");
  }

  &[title$=".xbm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".xcf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".xci" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".xhe" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".xht" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".xla" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xlc" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xld" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xll" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xlm" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xlr" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".xls" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xlt" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xlw" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-excel.svg");
  }

  &[title$=".xmf" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".xml" i]::before {
    background-image: url("../img/file-icons/application-xml.svg");
  }

  &[title$=".xo8" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".xpi" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".xpm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".xps" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".xsd" i]::before {
    background-image: url("../img/file-icons/application-xml.svg");
  }

  &[title$=".xsl" i]::before {
    background-image: url("../img/file-icons/application-xslt+xml.svg");
  }

  &[title$=".xul" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".xwd" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".yml" i]::before {
    background-image: url("../img/file-icons/application-yaml.svg");
  }

  &[title$=".z64" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".z80" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".zim" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".zip" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".zoo" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".zst" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".3dsx" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".3gp2" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".3gpp" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".aaxc" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".adts" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".aifc" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".aiff" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".apng" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".appx" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".asar" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".astc" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".atom" i]::before {
    background-image: url("../img/file-icons/application-atom+xml.svg");
  }

  &[title$=".avci" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".avif" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".azw3" i]::before {
    background-image: url("../img/file-icons/application-vnd.amazon.mobi8-ebook.svg");
  }

  &[title$=".bdmv" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".cbor" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".cert" i]::before {
    background-image: url("../img/file-icons/application-pkix-cert.svg");
  }

  &[title$=".chrt" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".clpi" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".cpio" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".csvs" i]::before {
    background-image: url("../img/file-icons/text-csv-schema.svg");
  }

  &[title$=".dart" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".diff" i]::before {
    background-image: url("../img/file-icons/text-x-patch.svg");
  }

  &[title$=".divx" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".djvu" i]::before {
    background-image: url("../img/file-icons/image-vnd.djvu.svg");
  }

  &[title$=".docm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".docx" i]::before {
    background-image: url("../img/file-icons/application-vnd.openxmlformats-officedocument.wordprocessingml.document.svg");
  }

  &[title$=".dotm" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".dotx" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".egon" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".epsf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".epsi" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".epub" i]::before {
    background-image: url("../img/file-icons/application-epub+zip.svg");
  }

  &[title$=".eris" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".escn" i]::before {
    background-image: url("../img/file-icons/application-x-godot-scene.svg");
  }

  &[title$=".fasl" i]::before {
    background-image: url("../img/file-icons/text-x-common-lisp.svg");
  }

  &[title$=".fgeo" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".fish" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".fits" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".flac" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".fodg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".fodp" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".fods" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".fodt" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".gltf" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".gplt" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".gtar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".hdf4" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".hdf5" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".heic" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".heif" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".hej2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".hpgl" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".html" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".hwpx" i]::before {
    background-image: url("../img/file-icons/application-x-hwpx.svg");
  }

  &[title$=".icns" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".iges" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".ilbm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".java" i]::before {
    background-image: url("../img/file-icons/text-x-java.svg");
  }

  &[title$=".jfif" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jnlp" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".jpeg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpg2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".jpgm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".json" i]::before {
    background-image: url("../img/file-icons/application-json.svg");
  }

  &[title$=".kcfg" i]::before {
    background-image: url("../img/file-icons/application-xml.svg");
  }

  &[title$=".kexi" i]::before {
    background-image: url("../img/file-icons/application-x-kexiproject-sqlite2.svg");
  }

  &[title$=".kgeo" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kigz" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kino" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".kmdr" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kolf" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ktx2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".lisp" i]::before {
    background-image: url("../img/file-icons/text-x-common-lisp.svg");
  }

  &[title$=".lmdb" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".loas" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".lwob" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".lzma" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".m2ts" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".m3u8" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mbox" i]::before {
    background-image: url("../img/file-icons/application-mbox.svg");
  }

  &[title$=".midi" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mjp2" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mjpg" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mk3d" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mobi" i]::before {
    background-image: url("../img/file-icons/application-x-mobipocket-ebook.svg");
  }

  &[title$=".moov" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mpeg" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".mpga" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".mpls" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".msix" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".msod" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".mxmf" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".ntar" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".oleo" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".opml" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".oprc" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".opus" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".oxps" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".pack" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".par2" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".part" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".pcap" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".perl" i]::before {
    background-image: url("../img/file-icons/application-x-perl.svg");
  }

  &[title$=".php3" i]::before {
    background-image: url("../img/file-icons/application-x-php.svg");
  }

  &[title$=".php4" i]::before {
    background-image: url("../img/file-icons/application-x-php.svg");
  }

  &[title$=".php5" i]::before {
    background-image: url("../img/file-icons/application-x-php.svg");
  }

  &[title$=".phps" i]::before {
    background-image: url("../img/file-icons/application-x-php.svg");
  }

  &[title$=".pict" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".plan" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".pntg" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".potm" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".potx" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".ppam" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".ppsm" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".ppsx" i]::before {
    background-image: url("../img/file-icons/application-vnd.openxmlformats-officedocument.presentationml.slideshow.svg");
  }

  &[title$=".pptm" i]::before {
    background-image: url("../img/file-icons/application-vnd.ms-powerpoint.presentation.macroEnabled.12.svg");
  }

  &[title$=".pptx" i]::before {
    background-image: url("../img/file-icons/application-vnd.openxmlformats-officedocument.presentationml.presentation.svg");
  }

  &[title$=".psid" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".pysu" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".qcow" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".qtif" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".qtvr" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".raml" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".rdfs" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".rgbe" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".rmvb" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".sass" i]::before {
    background-image: url("../img/file-icons/text-x-sass.svg");
  }

  &[title$=".scap" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".scss" i]::before {
    background-image: url("../img/file-icons/text-x-scss.svg");
  }

  &[title$=".sgrd" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".shar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".siag" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".sisx" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".sitx" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".sldm" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".sldx" i]::before {
    background-image: url("../img/file-icons/x-office-presentation.svg");
  }

  &[title$=".smaf" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".smil" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".snap" i]::before {
    background-image: url("../img/file-icons/application-vnd.snap.svg");
  }

  &[title$=".sqfs" i]::before {
    background-image: url("../img/file-icons/application-vnd.squashfs.svg");
  }

  &[title$=".sqsh" i]::before {
    background-image: url("../img/file-icons/application-vnd.squashfs.svg");
  }

  &[title$=".step" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".svgz" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".sylk" i]::before {
    background-image: url("../img/file-icons/text-spreadsheet.svg");
  }

  &[title$=".tbz2" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tbz3" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".texi" i]::before {
    background-image: url("../img/file-icons/text-x-texinfo.svg");
  }

  &[title$=".tiff" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".tlrz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tnef" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".toml" i]::before {
    background-image: url("../img/file-icons/application-toml.svg");
  }

  &[title$=".tpic" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".tres" i]::before {
    background-image: url("../img/file-icons/application-x-godot-resource.svg");
  }

  &[title$=".trig" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".tscn" i]::before {
    background-image: url("../img/file-icons/application-x-godot-scene.svg");
  }

  &[title$=".tzst" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".udeb" i]::before {
    background-image: url("../img/file-icons/application-vnd.debian.binary-package.svg");
  }

  &[title$=".unif" i]::before {
    background-image: url("../img/file-icons/application-x-executable.svg");
  }

  &[title$=".vala" i]::before {
    background-image: url("../img/file-icons/text-x-vala.svg");
  }

  &[title$=".vapi" i]::before {
    background-image: url("../img/file-icons/text-x-vala.svg");
  }

  &[title$=".vhdx" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".vivo" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".vmdk" i]::before {
    background-image: url("../img/file-icons/application-x-virtualbox-vmdk.svg");
  }

  &[title$=".vrml" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".vsdm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".vsdx" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".vssm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".vssx" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".vstm" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".vstx" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".wasm" i]::before {
    background-image: url("../img/file-icons/application-wasm.svg");
  }

  &[title$=".wbmp" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".webm" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".webp" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".woff" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".wsgi" i]::before {
    background-image: url("../img/file-icons/text-x-python.svg");
  }

  &[title$=".xbel" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".xlam" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".xlsb" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".xlsm" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".xlsx" i]::before {
    background-image: url("../img/file-icons/application-vnd.openxmlformats-officedocument.spreadsheetml.sheet.svg");
  }

  &[title$=".xltm" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".xltx" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".xslt" i]::before {
    background-image: url("../img/file-icons/application-xslt+xml.svg");
  }

  &[title$=".xspf" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".xyze" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".yaml" i]::before {
    background-image: url("../img/file-icons/application-yaml.svg");
  }

  &[title$=".zabw" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".zipx" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".zpaq" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".zsav" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".3gpp2" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".aiffc" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".avifs" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".bcpio" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".blend" i]::before {
    background-image: url("../img/file-icons/application-x-blender.svg");
  }

  &[title$=".class" i]::before {
    background-image: url("../img/file-icons/application-x-java.svg");
  }

  &[title$=".cmake" i]::before {
    background-image: url("../img/file-icons/text-x-cmake.svg");
  }

  &[title$=".dtshd" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".glade" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".ipynb" i]::before {
    background-image: url("../img/file-icons/application-x-ipynb+json.svg");
  }

  &[title$=".jceks" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".json5" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".kcsrc" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kexic" i]::before {
    background-image: url("../img/file-icons/application-x-kexi-connectiondata.svg");
  }

  &[title$=".kexis" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kvtml" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".latex" i]::before {
    background-image: url("../img/file-icons/text-x-tex.svg");
  }

  &[title$=".meta4" i]::before {
    background-image: url("../img/file-icons/application-metalink4+xml.svg");
  }

  &[title$=".mhtml" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".mjpeg" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".movie" i]::before {
    background-image: url("../img/file-icons/video-x-generic.svg");
  }

  &[title$=".pages" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".patch" i]::before {
    background-image: url("../img/file-icons/text-x-patch.svg");
  }

  &[title$=".pcf.z" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".pict1" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pict2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".pkcs8" i]::before {
    background-image: url("../img/file-icons/application-pkcs8.svg");
  }

  &[title$=".ps.gz" i]::before {
    background-image: url("../img/file-icons/application-x-gzpostscript.svg");
  }

  &[title$=".qbrew" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".qcow2" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".shape" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".sieve" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".slint" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".snf.z" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".spkac" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".tar.z" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".theme" i]::before {
    background-image: url("../img/file-icons/application-x-theme.svg");
  }

  &[title$=".ufraw" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".ustar" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".woff2" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".xhtml" i]::before {
    background-image: url("../img/file-icons/text-html.svg");
  }

  &[title$=".7z.001" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".abw.gz" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".ar.sf3" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".au.sf3" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".bsdiff" i]::before {
    background-image: url("../img/file-icons/application-x-bsdiff.svg");
  }

  &[title$=".bundle" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".coffee" i]::before {
    background-image: url("../img/file-icons/application-vnd.coffeescript.svg");
  }

  &[title$=".course" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".dvi.gz" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".eps.gz" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".etheme" i]::before {
    background-image: url("../img/file-icons/application-x-e-theme.svg");
  }

  &[title$=".gedcom" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".gradle" i]::before {
    background-image: url("../img/file-icons/text-x-gradle.svg");
  }

  &[title$=".groovy" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".img.xz" i]::before {
    background-image: url("../img/file-icons/application-x-raw-disk-image-xz-compressed.svg");
  }

  &[title$=".jsonld" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".karbon" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".kourse" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".kplato" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".mrpack" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".mtxcfg" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".okular" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".p8.rom" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".pcapng" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".pcf.gz" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".pdf.gz" i]::before {
    background-image: url("../img/file-icons/application-x-gzpdf.svg");
  }

  &[title$=".pdf.lz" i]::before {
    background-image: url("../img/file-icons/application-x-lzpdf.svg");
  }

  &[title$=".pdf.xz" i]::before {
    background-image: url("../img/file-icons/application-x-xzpdf.svg");
  }

  &[title$=".pkpass" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".ps.bz2" i]::before {
    background-image: url("../img/file-icons/application-x-bzpostscript.svg");
  }

  &[title$=".psf.gz" i]::before {
    background-image: url("../img/file-icons/font-x-generic.svg");
  }

  &[title$=".psflib" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".qti.gz" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".quanta" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".snf.gz" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".sv4crc" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".svg.gz" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".tar.br" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.bz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.gz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.lz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.rz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.xz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".xcf.gz" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".xdgapp" i]::before {
    background-image: url("../img/file-icons/application-vnd.flatpak.svg");
  }

  &[title$=".blender" i]::before {
    background-image: url("../img/file-icons/application-x-blender.svg");
  }

  &[title$=".cdx.xml" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".cpio.gz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".docbook" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".dvi.bz2" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".eps.bz2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".epsf.gz" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".epsi.gz" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".fb2.zip" i]::before {
    background-image: url("../img/file-icons/application-x-zip-compressed-fb2.svg");
  }

  &[title$=".flatpak" i]::before {
    background-image: url("../img/file-icons/application-vnd.flatpak.svg");
  }

  &[title$=".geojson" i]::before {
    background-image: url("../img/file-icons/application-geo+json.svg");
  }

  &[title$=".gnucash" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".gnuplot" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".img.sf3" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".iso9660" i]::before {
    background-image: url("../img/file-icons/application-vnd.efi.iso.svg");
  }

  &[title$=".log.sf3" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".minipsf" i]::before {
    background-image: url("../img/file-icons/audio-x-generic.svg");
  }

  &[title$=".numbers" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".parquet" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".pdf.bz2" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".pkipath" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".sqlite2" i]::before {
    background-image: url("../img/file-icons/application-x-sqlite2.svg");
  }

  &[title$=".sqlite3" i]::before {
    background-image: url("../img/file-icons/application-vnd.sqlite3.svg");
  }

  &[title$=".src.rpm" i]::before {
    background-image: url("../img/file-icons/application-x-source-rpm.svg");
  }

  &[title$=".sv4cpio" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tab.sf3" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".tar.bz2" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.bz3" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.lrz" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.lz4" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.lzo" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".tar.zst" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".texinfo" i]::before {
    background-image: url("../img/file-icons/text-x-texinfo.svg");
  }

  &[title$=".torrent" i]::before {
    background-image: url("../img/file-icons/application-x-bittorrent.svg");
  }

  &[title$=".txt.sf3" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".vec.sf3" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".xcf.bz2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".xmi.tgz" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".appimage" i]::before {
    background-image: url("../img/file-icons/application-vnd.appimage.svg");
  }

  &[title$=".aseprite" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".cdx.json" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".epsf.bz2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".epsi.bz2" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title$=".gdshader" i]::before {
    background-image: url("../img/file-icons/application-x-godot-shader.svg");
  }

  &[title$=".geo.json" i]::before {
    background-image: url("../img/file-icons/application-geo+json.svg");
  }

  &[title$=".gnumeric" i]::before {
    background-image: url("../img/file-icons/x-office-spreadsheet.svg");
  }

  &[title$=".kolfgame" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".markdown" i]::before {
    background-image: url("../img/file-icons/text-markdown.svg");
  }

  &[title$=".metalink" i]::before {
    background-image: url("../img/file-icons/application-metalink+xml.svg");
  }

  &[title$=".pkpasses" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".planwork" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".plasmoid" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".squashfs" i]::before {
    background-image: url("../img/file-icons/application-vnd.squashfs.svg");
  }

  &[title$=".tar.lzma" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".zx-state" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".fonts.zip" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".gitbundle" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".spdx.json" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".themepack" i]::before {
    background-image: url("../img/file-icons/application-x-windows-themepack.svg");
  }

  &[title$=".tuberling" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".appxbundle" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".crdownload" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".flatpakref" i]::before {
    background-image: url("../img/file-icons/application-vnd.flatpak.ref.svg");
  }

  &[title$=".json-patch" i]::before {
    background-image: url("../img/file-icons/text-x-script.svg");
  }

  &[title$=".kplatowork" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".msixbundle" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".sysext.raw" i]::before {
    background-image: url("../img/file-icons/application-x-addon.svg");
  }

  &[title$=".wkdownload" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".abw.crashed" i]::before {
    background-image: url("../img/file-icons/x-office-document.svg");
  }

  &[title$=".confext.raw" i]::before {
    background-image: url("../img/file-icons/application-x-addon.svg");
  }

  &[title$=".flatpakrepo" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".xmi.tar.bz2" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".appinstaller" i]::before {
    background-image: url("../img/file-icons/package-x-generic.svg");
  }

  &[title$=".raw-disk-image" i]::before {
    background-image: url("../img/file-icons/application-vnd.efi.img.svg");
  }

  &[title$=".kopete-emoticons" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title$=".raw-disk-image.xz" i]::before {
    background-image: url("../img/file-icons/application-x-raw-disk-image-xz-compressed.svg");
  }

  &[title^="makefile." i]::before {
    background-image: url("../img/file-icons/text-x-makefile.svg");
  }

  &[title^="callgrind.out" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title^="cachegrind.out" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title="PKGBUILD" i]::before {
    background-image: url("../img/file-icons/text-x-pkgbuild.svg");
  }

  &[title="cacerts" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title="cmakecache.txt" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title="cmakelists.txt" i]::before {
    background-image: url("../img/file-icons/text-x-cmake.svg");
  }

  &[title="core" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title="dicomdir" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="ehthumbs.db" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="ehthumbs_vista.db" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="gnumakefile" i]::before {
    background-image: url("../img/file-icons/text-x-makefile.svg");
  }

  &[title="image.db" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="makefile" i]::before {
    background-image: url("../img/file-icons/text-x-makefile.svg");
  }

  &[title="meson.build" i]::before {
    background-image: url("../img/file-icons/text-x-meson.svg");
  }

  &[title="meson.options" i]::before {
    background-image: url("../img/file-icons/text-x-meson.svg");
  }

  &[title="meson_options.txt" i]::before {
    background-image: url("../img/file-icons/text-x-meson.svg");
  }

  &[title="musicthumbs.db" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="perf.data" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title="project.godot" i]::before {
    background-image: url("../img/file-icons/application-x-godot-project.svg");
  }

  &[title="thumbs.db" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="tvthumb.db" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="video.db" i]::before {
    background-image: url("../img/file-icons/image-x-generic.svg");
  }

  &[title="winmail.dat" i]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title="core" s]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }

  &[title="perf.data" s]::before {
    background-image: url("../img/file-icons/application-x-generic.svg");
  }
}
