Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/themes/shared/urlbar/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 2 kB image not shown  

Quelle  urlbarview.tokens.css   Sprache: unbekannt

 
Spracherkennung für: .css vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* DO NOT EDIT this file directly, instead modify moz-urlbarview.tokens.json
 * and run `mach buildtokens` to see your changes. */

@layer tokens-foundation, tokens-browser-theme, tokens-foundation-brand, tokens-foundation-nova, tokens-browser-theme-nova, tokens-foundation-brand-nova, tokens-prefers-contrast, tokens-prefers-contrast-nova, tokens-forced-colors, tokens-forced-colors-nova;

@layer tokens-foundation {
  :root,
  :host {
    --urlbarview-background-color-hover: var(--background-color-dimmed);
    --urlbarview-background-color-selected: SelectedItem;
    --urlbarview-border-radius: calc(var(--button-border-radius) + 2px);
    --urlbarview-separator-color: color-mix(in srgb, currentColor 14%, transparent);
    --urlbarview-text-color-action: LinkText;
    --urlbarview-text-color-selected: SelectedItemText;
  }
}

/* Bug 1879900: Can't nest media queries inside of :host, :root selector
   until Bug 1879349 lands */
@layer tokens-prefers-contrast {
  @media (prefers-contrast) {
    :root,
    :host {
      --urlbarview-separator-color: color-mix(in srgb, currentColor 86%, transparent);
    }
  }
}

/* Bug 1879900: Can't nest media queries inside of :host, :root selector
   until Bug 1879349 lands */
@layer tokens-browser-theme {
  @media not ((forced-colors) or (-moz-native-theme)) {
    :root:not([lwtheme]),
    :host(.anonymous-content-host) {
      --urlbarview-background-color-hover: light-dark(rgb(240240244), var(--background-color-dimmed));
      --urlbarview-background-color-selected: light-dark(#e0e0e6, rgb(434251));
      --urlbarview-separator-color: light-dark(rgb(240240244), rgb(828294));
      --urlbarview-text-color-action: light-dark(rgb(9191102), rgb(191191201));
      --urlbarview-text-color-selected: light-dark(rgb(212026), rgb(251251254));
    }
  }
}

@media -moz-pref("browser.nova.enabled") {
  @layer tokens-foundation-nova {
    :root,
    :host {
      /* TODO Bug 2031910: Finalize the border radius for Nova. */
      --urlbarview-border-radius: 1.8462em;
    }
  }
}

[Dauer der Verarbeitung: 0.16 Sekunden, vorverarbeitet 2026-08-25]