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 1 kB image not shown  

Quelle  urlbar.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-urlbar.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 {
    --urlbar-border-radius: var(--button-border-radius);
    --urlbar-box-background-color: light-dark(var(--button-background-color-hover), color-mix(in srgb, currentColor 16%, transparent));
    --urlbar-box-background-color-hover: light-dark(var(--button-background-color-hover), color-mix(in srgb, currentColor 22%, transparent));
    --urlbar-box-background-color-active: var(--button-background-color-active);
    --urlbar-box-background-color-focus: light-dark(var(--button-background-color), color-mix(in srgb, currentColor 16%, transparent));
    --urlbar-box-text-color: inherit;
    --urlbar-box-text-color-hover: var(--urlbar-box-text-color);
    --urlbar-icon-fill-opacity: 0.9;
    --urlbar-margin-inline: 5px;
    --urlbar-padding-block: 4px;
  }
}

/* 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 {
      --urlbar-icon-fill-opacity: 1;
    }
  }
}

/* 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) {
      --urlbar-box-background-color: light-dark(white, rgb(666577));
      --urlbar-icon-fill-opacity: 0.72;
    }
  }
}

[Dauer der Verarbeitung: 0.57 Sekunden]