tor-browser

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

formautofill.css (1560B)


      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 #PopupAutoComplete {
      6  &[resultstyles~="autofill"] {
      7    min-width: 150px !important;
      8  }
      9 
     10  > richlistbox > richlistitem {
     11    &[originaltype="autofill"] {
     12      display: block;
     13      margin: 0;
     14      padding: 0;
     15      height: auto;
     16      min-height: auto;
     17 
     18      /* Treat collapsed as display: none similar to how it is for XUL elements.
     19       * https://developer.mozilla.org/en-US/docs/Web/CSS/visibility#Values */
     20      &[collapsed] {
     21        display: none;
     22      }
     23    }
     24 
     25    &[disabled] {
     26      opacity: 0.5;
     27    }
     28  }
     29 }
     30 
     31 /* Form Autofill Doorhanger */
     32 
     33 #autofill-address-notification popupnotificationcontent > .desc-message-box,
     34 #autofill-credit-card-notification popupnotificationcontent > .desc-message-box {
     35  margin-block-end: 12px;
     36 }
     37 
     38 #autofill-credit-card-notification popupnotificationcontent > .desc-message-box > image {
     39  -moz-context-properties: fill;
     40  fill: currentColor;
     41  width: auto;
     42  height: auto;
     43  list-style-image: url(chrome://formautofill/content/icon-credit-card-generic.svg);
     44 }
     45 
     46 #autofill-address-notification popupnotificationcontent > .desc-message-box > description,
     47 #autofill-address-notification popupnotificationcontent > .desc-message-box > additional-description,
     48 #autofill-credit-card-notification popupnotificationcontent > .desc-message-box > description {
     49  font-style: italic;
     50  margin-inline-start: 4px;
     51 }