tor-browser

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

authPreferences.css (999B)


      1 /* Copyright (c) 2020, The Tor Project, Inc. */
      2 
      3 #onionservices-savedkeys-dialog {
      4  min-width: 45em;
      5 }
      6 
      7 #onionservices-savedkeys-tree treechildren::-moz-tree-cell-text {
      8  font-size: var(--font-size-small);
      9 }
     10 
     11 #onionservices-savedkeys-errorContainer {
     12  margin-block-start: 4px;
     13  min-height: 3em;
     14 }
     15 
     16 #onionservices-savedkeys-errorContainer:not(.show-error) {
     17  visibility: hidden;
     18 }
     19 
     20 #onionservices-savedkeys-errorIcon {
     21  margin-inline-end: 4px;
     22  list-style-image: url("chrome://global/skin/icons/warning.svg");
     23  -moz-context-properties: fill;
     24  fill: var(--icon-color-warning);
     25 }
     26 
     27 /* Make a button appear disabled, whilst still allowing it to keep keyboard
     28 * focus.
     29 * Duplicate of rule in torPreferences.css.
     30 * TODO: Replace with moz-button when it handles this for us. See
     31 * tor-browser#43275. */
     32 button.spoof-button-disabled {
     33  /* Borrow the :disabled rule from common-shared.css */
     34  opacity: 0.4;
     35  /* Also ensure it does not get hover or active styling. */
     36  pointer-events: none;
     37 }