Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/themes/shared/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 6 kB image not shown  

Quelle  browser-colors.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/. */

:root {
  --toolbox-bgcolor: -moz-headerbar;
  --toolbox-textcolor: -moz-headerbartext;
  --toolbox-bgcolor-inactive: -moz-headerbarinactive;
  --toolbox-textcolor-inactive: -moz-headerbarinactivetext;

  &:where([customtitlebar]) {
    --toolbox-bgcolor: ActiveCaption;
    --toolbox-textcolor: CaptionText;
    --toolbox-bgcolor-inactive: InactiveCaption;
    --toolbox-textcolor-inactive: InactiveCaptionText;
  }

  --sidebar-background-color: -moz-sidebar;
  --sidebar-text-color: -moz-sidebartext;
  --sidebar-border-color: -moz-sidebarborder;

  --tabs-navbar-separator-color: ThreeDShadow;
  --tabs-navbar-separator-style: solid;

  --short-notification-background: #0250BB;
  --short-notification-gradient: #9059FF;
  --warning-icon-bgcolor: light-dark(#FFA436, #FFBD4F);

  --urlbar-box-bgcolor: var(--button-background-color-hover);
  --urlbar-box-focus-bgcolor: var(--button-background-color);
  --urlbar-box-hover-bgcolor: var(--button-background-color-hover);
  --urlbar-box-active-bgcolor: var(--button-background-color-active);
  --urlbar-box-text-color: inherit;
  --urlbar-box-hover-text-color: var(--urlbar-box-text-color);
  --urlbar-icon-fill-opacity: 0.9;
  @media (prefers-contrast) {
    --urlbar-icon-fill-opacity: 1;
  }

  --content-area-shadow: 0 2px 6px 0 light-dark(rgba(0,0,0,.2), rgba(0,0,0,.8));
  --chrome-content-separator-color: light-dark(rgba(0,0,0,.3), rgba(255,255,255,.3));

  /* stylelint-disable-next-line media-query-no-invalid */
  @media not (-moz-bool-pref: "sidebar.revamp") {
    &:not([lwtheme]) {
      --chrome-content-separator-color: ThreeDShadow;
    }
  }

  &[lwtheme] {
    --link-color: light-dark(rgb(097224), rgb(0221255));
    --tabs-navbar-separator-color: light-dark(rgba(0,0,0,.1), rgba(0,0,0,.3));
    --attention-dot-color: light-dark(#2ac3a2, #54ffbd);

    --toolbox-bgcolor: var(--lwt-accent-color);
    --toolbox-bgcolor-inactive: var(--lwt-accent-color-inactive, var(--lwt-accent-color));
    --toolbox-textcolor: var(--lwt-text-color, currentColor);
    --toolbox-textcolor-inactive: var(--lwt-text-color, currentColor);

    @media not (prefers-contrast) {
      --focus-outline-color: light-dark(#0061E0, #00DDFF);
    }
  }

  @media (prefers-color-scheme: dark) {
    /* Increase the contrast of urlbar boxes in dark mode.
       In practice these are bumped-up --button(-hover)-bgcolor rules */
    --urlbar-box-bgcolor: color-mix(in srgb, currentColor 16%, transparent);
    --urlbar-box-focus-bgcolor: color-mix(in srgb, currentColor 16%, transparent);
    --urlbar-box-hover-bgcolor: color-mix(in srgb, currentColor 22%, transparent);
  }
}

/**
 * We intentionally do not use the custom colors on linux or macOS with system
 * theme enabled, instead choosing to fall back to system colors and
 * transparencies in order to look more native.
 */
/* stylelint-disable-next-line media-query-no-invalid */
@media not ((prefers-contrast) or (-moz-bool-pref: "browser.theme.native-theme")) {
  :root:not([lwtheme]) {
    --color-accent-primary: light-dark(rgb(097224), rgb(0221255));
    --button-text-color-primary: light-dark(rgb(251251254), rgb(434251));
    --button-background-color: light-dark(rgba(207207216, .33), rgba(000, .33));
    --button-background-color-hover: light-dark(rgba(207207216, .66), rgba(207207216, .20));
    --button-background-color-active: light-dark(rgb(207207216), rgba(207207216, .40));
    --button-text-color: light-dark(rgb(212026), rgb(251251254));

    --arrowpanel-background: light-dark(white, rgb(666577));
    --arrowpanel-color: light-dark(black, rgb(251251254));
    --arrowpanel-border-color: light-dark(rgb(240240244), rgb(82,82,94));

    --arrowpanel-dimmed: light-dark(
      color-mix(in srgb, currentColor 12%, transparent),
      color-mix(in srgb, currentColor 17%, transparent)
    );
    --arrowpanel-dimmed-further: light-dark(
      color-mix(in srgb, currentColor 20%, transparent),
      color-mix(in srgb, currentColor 14%, transparent)
    );

    --input-color: light-dark(rgb(212026), rgb(251251254));
    --input-bgcolor: light-dark(rgb(255255255), #42414d);

    --tab-selected-bgcolor: light-dark(rgb(255255255), rgba(1061061200.7));
    --tab-selected-textcolor: light-dark(rgb(212026), rgb(255255255));
    --tabs-navbar-separator-style: none;

    /* stylelint-disable-next-line media-query-no-invalid */
    @media not ((-moz-windows-mica) or ((-moz-windows-accent-color-in-titlebar) and (-moz-bool-pref: "browser.theme.windows.accent-color-in-tabs.enabled"))) {
      --toolbox-bgcolor: light-dark(rgb(240240244), rgb(282734));
      --toolbox-textcolor: light-dark(rgb(212026), rgb(251251254));
      --toolbox-bgcolor-inactive: var(--toolbox-bgcolor);
      --toolbox-textcolor-inactive: var(--toolbox-textcolor);
      &:where([customtitlebar]) {
        --toolbox-bgcolor-inactive: light-dark(rgb(235235239), rgb(313037));
      }
    }

    --toolbar-color: light-dark(rgb(212026), rgb(251251254));
    --toolbar-bgcolor: light-dark(#f9f9fb, rgb(434251));

    --toolbarbutton-icon-fill: light-dark(rgb(9191102), rgb(251251254));
    --toolbarbutton-icon-fill-attention: light-dark(rgb(097224), rgb(0221255));
    --toolbarbutton-icon-fill-attention-text: light-dark(rgb(240240244), rgb(282734));

    --toolbar-field-border-color: transparent;
    --toolbar-field-background-color: light-dark(rgba(000, .05), rgba(000, .3));
    --toolbar-field-color: light-dark(rgb(212026), rgb(251251254));
    --toolbar-field-focus-background-color: light-dark(white, rgb(666577));
    --toolbar-field-focus-color: light-dark(black, rgb(251251254));

    --urlbarView-action-color: light-dark(rgb(9191102), rgb(191191201));
    --urlbarView-separator-color: light-dark(rgb(240240244), rgb(828294));
    --urlbarView-highlight-background: light-dark(#e0e0e6, rgb(43,42,51));
    --urlbarView-highlight-color: light-dark(rgb(212026), rgb(251251254));
    --urlbarView-hover-background: light-dark(rgb(240240244), var(--arrowpanel-dimmed));

    --urlbar-box-bgcolor: light-dark(white, rgb(666577));
    --urlbar-icon-fill-opacity: 0.72;
    @media (prefers-color-scheme: dark) {
      --urlbar-icon-fill-opacity: 1;
    }

    /* stylelint-disable-next-line media-query-no-invalid */
    @media not (-moz-bool-pref: "sidebar.revamp") {
      --chrome-content-separator-color: light-dark(rgb(204204204), hsl(2405%, 5%));
    }

    --link-color: light-dark(rgb(097224), rgb(0221255));
    --attention-dot-color: light-dark(#2ac3a2, #54ffbd);

    --sidebar-background-color: light-dark(white, rgb(282734));
    --sidebar-text-color: light-dark(rgb(212026), rgb(249249250));
    --sidebar-border-color: light-dark(rgb(240240244), rgb(828294));
  }
}

[Dauer der Verarbeitung: 0.17 Sekunden, vorverarbeitet 2026-05-27]