tor-browser

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

search.css (1947B)


      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 #defaultEngineNormal,
      6 #defaultPrivateEngine {
      7  max-width: var(--search-engine-name-max-width);
      8 }
      9 
     10 #engineList {
     11  margin: 0.5em 0;
     12 }
     13 
     14 #engineList treechildren::-moz-tree-image(engineName) {
     15  margin-inline: 1px 10px;
     16  width: 16px;
     17  height: 16px;
     18 }
     19 
     20 #engineList treechildren::-moz-tree-drop-feedback {
     21  background-color: AccentColor;
     22  width: 10000px; /* 100% doesn't work; 10k is hopefully larger than any window
     23                     we may have, overflow isn't visible. */
     24  height: 2px;
     25  margin-inline-start: 0;
     26 }
     27 
     28 #engineList treechildren::-moz-tree-image(bookmarks),
     29 #engineList treechildren::-moz-tree-image(tabs),
     30 #engineList treechildren::-moz-tree-image(history) {
     31  -moz-context-properties: fill;
     32 }
     33 
     34 /* Local search shortcut icon colors.  These should match the values in
     35   urlbarView.inc.css. */
     36 #engineList treechildren::-moz-tree-image(bookmarks) {
     37  fill: #0060df; /* Blue-60 */
     38 }
     39 #engineList treechildren::-moz-tree-image(tabs) {
     40  fill: #008eaf; /* Teal-70 */
     41 }
     42 #engineList treechildren::-moz-tree-image(history),
     43 #engineList treechildren::-moz-tree-image(bookmarks, selected),
     44 #engineList treechildren::-moz-tree-image(tabs, selected) {
     45  fill: currentColor;
     46 }
     47 
     48 /* Ensure keywords and search engine names have the directionality of their
     49   content, ignoring ancestors - otherwise directionality is wrong in RTL
     50   locales for LTR keywords, with the "@" appearing in the wrong place.  */
     51 #engineList > treechildren::-moz-tree-cell(engineKeyword) {
     52  unicode-bidi: plaintext;
     53 }
     54 
     55 #engineShown {
     56  min-width: 26px;
     57 }
     58 
     59 #addEnginesBox {
     60  margin-bottom: 1em;
     61 }
     62 
     63 #removeEngineButton {
     64  margin-inline-end: 0;
     65 }
     66 
     67 #restoreDefaultSearchEngines {
     68  margin-inline-start: 0;
     69 }
     70 
     71 #dismissedSuggestions {
     72  margin-block-start: 2em;
     73 }