tor-browser

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

tree-icons.css (2923B)


      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 treechildren::-moz-tree-image {
      6  -moz-context-properties: fill, fill-opacity;
      7  fill-opacity: 0.7;
      8 }
      9 
     10 treechildren::-moz-tree-image(title) {
     11  list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
     12  padding-inline-end: 2px;
     13  margin: 0 2px;
     14  width: 16px;
     15  height: 16px;
     16 }
     17 
     18 treechildren::-moz-tree-image(title, container),
     19 treechildren::-moz-tree-image(title, open) {
     20  list-style-image: url("chrome://global/skin/icons/folder.svg");
     21 }
     22 
     23 treechildren::-moz-tree-image(title, separator) {
     24  list-style-image: none;
     25  width: 0 !important;
     26  height: 0 !important;
     27  margin: 0;
     28 }
     29 
     30 treechildren::-moz-tree-image(container, queryFolder_toolbar_____) {
     31  list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.svg");
     32 }
     33 
     34 treechildren::-moz-tree-image(container, queryFolder_menu________) {
     35  list-style-image: url("chrome://browser/skin/places/bookmarksMenu.svg");
     36 }
     37 
     38 /* query-nodes should be styled even if they're not expandable */
     39 treechildren::-moz-tree-image(query) {
     40  list-style-image: url("chrome://browser/skin/places/folder-smart.svg");
     41 }
     42 
     43 treechildren::-moz-tree-image(query, OrganizerQuery_allbms_____v) {
     44  list-style-image: url("chrome://browser/skin/bookmark.svg");
     45 }
     46 
     47 treechildren::-moz-tree-image(query, OrganizerQuery_downloads__v) {
     48  list-style-image: url("chrome://browser/skin/downloads/downloads.svg");
     49 }
     50 
     51 treechildren::-moz-tree-image(title, query, tagContainer),
     52 treechildren::-moz-tree-image(query, OrganizerQuery_tags_______v) {
     53  list-style-image: url("chrome://browser/skin/places/tag.svg");
     54 }
     55 
     56 /* calendar icon for folders grouping items by date */
     57 treechildren::-moz-tree-image(title, query, dayContainer) {
     58  list-style-image: url("chrome://browser/skin/history.svg");
     59 }
     60 
     61 treechildren::-moz-tree-image(title, query, hostContainer) {
     62  list-style-image: url("chrome://global/skin/icons/folder.svg");
     63 }
     64 
     65 treechildren::-moz-tree-image(query, OrganizerQuery_history____v) {
     66  list-style-image: url("chrome://browser/skin/history.svg");
     67 }
     68 
     69 /* We want some queries to look like ordinary folders. This must come
     70   after the (title, query) selector, or it would get overridden. */
     71 treechildren::-moz-tree-image(title, query, folder) {
     72  list-style-image: url("chrome://global/skin/icons/folder.svg");
     73 }
     74 
     75 treechildren::-moz-tree-cell-text(title, separator) {
     76  color: ThreeDShadow;
     77  margin: 0 5px;
     78 }
     79 
     80 treechildren::-moz-tree-cell-text(title, separator, selected, focus) {
     81  color: SelectedItemText;
     82 }
     83 
     84 /* Remove tiny spacing in separators appearing after the twisty column */
     85 treechildren::-moz-tree-twisty(title, separator) {
     86  padding: 0;
     87 }
     88 
     89 treechildren::-moz-tree-image(cutting) {
     90  opacity: 0.5;
     91 }
     92 
     93 treechildren::-moz-tree-cell-text(cutting) {
     94  opacity: 0.7;
     95 }