tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

inspector-shared.css (921B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 /* Rules that may be used in different inspector panels and tooltips */
      6 
      7 @import url("./inspector-swatches.css");
      8 
      9 :root {
     10  --inspector-highlight-background-color: light-dark(var(--theme-highlight-yellow), #521c76);
     11  --inspector-highlight-color: inherit;
     12 
     13  &[forced-colors-active] {
     14    --inspector-highlight-background-color: Mark;
     15    --inspector-highlight-color: MarkText;
     16  }
     17 }
     18 
     19 .empty-css-variable {
     20  color: var(--theme-text-color-alt);
     21  font-style: italic;
     22 }
     23 
     24 .inspector-unmatched {
     25  color: var(--theme-text-color-alt);
     26 }
     27 
     28 .inspector-unmatched:not(
     29  /* don't show the strike through when the element is hovered so it's more legible */
     30  :hover
     31 ) {
     32  text-decoration: line-through solid currentColor;
     33 }