toolkit/themes/osx/global/autocomplete.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/. */
     5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     6 @namespace html url("http://www.w3.org/1999/xhtml");
     8 /* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */
     9 textbox:not(.padded) {
    10   cursor: default;
    11   padding: 0;
    12 }
    14 textbox[nomatch="true"][highlightnonmatches="true"] {
    15   color: red;
    16 }
    18 textbox:not(.padded) .textbox-input-box {
    19   margin: 0 3px;
    20 }
    22 .textbox-input-box {
    23   -moz-box-align: center;
    24 }
    26 /* ::::: history button ::::: */
    28 .autocomplete-history-dropmarker {
    29   -moz-appearance: none !important;
    30   border: none !important;
    31   background-color: transparent !important;
    32   padding: 0px;
    33   list-style-image: url("chrome://global/skin/icons/autocomplete-dropmarker.png");
    34   margin: 0px;
    35 }
    37 /* ::::: autocomplete popups ::::: */
    39 panel[type="autocomplete"],
    40 panel[type="autocomplete-richlistbox"],
    41 .autocomplete-history-popup {
    42   padding: 0px !important;
    43   background-color: -moz-Field;
    44   font: icon;
    45   -moz-appearance: none;
    46 }
    48 .autocomplete-history-popup {
    49   max-height: 180px;
    50 }
    52 /* ::::: tree ::::: */
    54 .autocomplete-tree {
    55   -moz-appearance: none !important;
    56   border: none !important;
    57   background-color: transparent !important;
    58 }
    60 .autocomplete-treecol {
    61   -moz-appearance: none !important;
    62   margin: 0 !important;
    63   border: none !important;
    64   padding: 0 !important;
    65 }
    67 .autocomplete-treebody::-moz-tree-cell-text {
    68   padding-left: 2px;
    69 }
    71 .autocomplete-treebody::-moz-tree-row {
    72   border-top: none;
    73 }
    75 treechildren.autocomplete-treebody::-moz-tree-row(selected) {
    76  background-color: Highlight;
    77 }
    79 treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
    80   color: HighlightText !important;
    81 }
    83 .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
    84   max-width: 16px;
    85   height: 16px;
    86 }
    88 /* ::::: richlistbox autocomplete ::::: */
    90 .autocomplete-richlistbox {
    91   -moz-appearance: none;
    92   margin: 0;
    93 }
    95 .autocomplete-richlistitem[selected="true"] {
    96   background-color: Highlight;
    97   color: HighlightText;
    98   background-image: linear-gradient(rgba(255,255,255,0.3), transparent);
    99 }
   101 .autocomplete-richlistitem {
   102   padding: 5px 2px;
   103 }
   105 .ac-url-box {
   106   margin-top: 1px;
   107 }
   109 .ac-site-icon {
   110   width: 16px; 
   111   height: 16px;
   112   margin-bottom: -1px;
   113   -moz-margin-start: 7px;
   114   -moz-margin-end: 5px;
   115 }
   117 @media (min-resolution: 2dppx) {
   118   image.ac-site-icon {
   119     image-rendering: -moz-crisp-edges;
   120   }
   121 }
   123 .ac-type-icon {
   124   width: 16px;
   125   height: 16px;
   126   -moz-margin-start: 6px;
   127   -moz-margin-end: 4px;
   128 }
   130 .ac-url-box > .ac-site-icon,
   131 .ac-url-box > .ac-type-icon {
   132   /* Otherwise the spacer is big enough to stretch its container */
   133   height: auto;
   134 }
   136 .ac-extra > .ac-result-type-tag {
   137   margin: 0 4px;
   138 }
   140 .ac-extra > .ac-comment {
   141   padding-right: 4px;
   142 }
   144 .ac-ellipsis-after {
   145   margin: 0 !important;
   146   padding: 0; 
   147   min-width: 1.1em;
   148 }
   150 .ac-normal-text {
   151   margin: 0 !important;
   152   padding: 0;
   153 }
   155 .ac-normal-text > html|span {
   156   margin: 0 !important;
   157   padding: 0;
   158 }
   160 html|span.ac-emphasize-text {
   161   box-shadow: inset 0 0 1px 1px rgba(208,208,208,0.4);
   162   background-color: rgba(208,208,208,0.2);
   163   border-radius: 2px;
   164   text-shadow: 0 0 currentColor;
   165 }
   167 .ac-url-text > html|span.ac-emphasize-text,
   168 .ac-action-text > html|span.ac-emphasize-text {
   169   box-shadow: inset 0 0 1px 1px rgba(183,210,226,0.4);
   170   background-color: rgba(183,210,226,0.3);
   171 }
   173 .ac-title, .ac-url {
   174   overflow: hidden;
   175 }
   177 /* ::::: textboxes inside toolbarpaletteitems ::::: */
   179 toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
   180   visibility: hidden;
   181 }
   183 toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {
   184   visibility: hidden;
   185 }

mercurial