tor-browser

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

organizer.css (3505B)


      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 #placesToolbar {
      6  --toolbar-item-height: 26px;
      7  --toolbar-item-margin: 0px 4px;
      8 
      9  position: relative;
     10  -moz-window-dragging: drag;
     11  padding: 4px 4px 3px;
     12  border-bottom: 1px solid ThreeDShadow;
     13 
     14  @media not (-moz-mac-tahoe-theme) {
     15    &::after {
     16      content: "";
     17      position: absolute;
     18      inset: 0;
     19      appearance: auto;
     20      -moz-default-appearance: -moz-window-titlebar;
     21      z-index: -1;
     22    }
     23  }
     24 }
     25 
     26 #placesMenu > menu,
     27 #placesToolbar > toolbarbutton {
     28  appearance: auto;
     29  -moz-default-appearance: toolbarbutton;
     30  color: inherit;
     31  padding: 3px;
     32  min-height: var(--toolbar-item-height);
     33  margin: var(--toolbar-item-margin);
     34 
     35  -moz-context-properties: fill, fill-opacity;
     36  fill: currentColor;
     37  fill-opacity: 0.8;
     38 
     39  > .menu-icon,
     40  > .toolbarbutton-icon {
     41    margin: 1px 4px;
     42  }
     43 
     44  &:not(#clearDownloadsButton) > .menu-text {
     45    display: none;
     46  }
     47 
     48  &[disabled],
     49  &:not(:hover):-moz-window-inactive {
     50    opacity: 0.5;
     51  }
     52 
     53  &[disabled]:-moz-window-inactive {
     54    opacity: 0.25;
     55  }
     56 
     57  > menupopup {
     58    margin-top: 1px;
     59  }
     60 }
     61 
     62 #searchFilter {
     63  margin: var(--toolbar-item-margin);
     64  --input-text-min-height: var(--toolbar-item-height);
     65  @media (-moz-mac-big-sur-theme) {
     66    --input-text-background-color: transparent;
     67    --input-text-color: currentColor;
     68  }
     69  --input-text-border-color: ButtonBorder;
     70 }
     71 
     72 /* Places Organizer Sidebars */
     73 
     74 #placesList {
     75  background-color: -moz-sidebar;
     76  width: 160px;
     77  min-width: 100px;
     78  max-width: 400px;
     79 
     80  > treechildren::-moz-tree-cell-text {
     81    margin-inline-end: 6px;
     82  }
     83 
     84  > treechildren::-moz-tree-cell(separator) {
     85    cursor: default;
     86  }
     87 
     88  > treechildren::-moz-tree-separator {
     89    border-top: 1px solid color-mix(in srgb, FieldText 70%, transparent);
     90    margin: 0 10px;
     91  }
     92 }
     93 
     94 #placesView {
     95  border-top: none !important;
     96 
     97  > splitter {
     98    border-inline-start: none !important;
     99    border-inline-end: 1px solid color-mix(in srgb, FieldText 30%, transparent);
    100    min-width: 1px;
    101    width: 3px;
    102    margin-inline-start: -3px;
    103    position: relative;
    104    background-image: none !important;
    105  }
    106 }
    107 
    108 /* Root View */
    109 #placesView {
    110  border-top: 1px solid ThreeDDarkShadow;
    111  -moz-user-focus: ignore;
    112 }
    113 
    114 /* Info box */
    115 #detailsPane {
    116  border-top: 1px solid color-mix(in srgb, FieldText 50%, transparent);
    117 }
    118 
    119 #placeContent {
    120  appearance: none;
    121  border: none;
    122 
    123  > treechildren::-moz-tree-cell,
    124  > treechildren::-moz-tree-column {
    125    border-inline-start: 1px solid color-mix(in srgb, FieldText 30%, transparent);
    126  }
    127 
    128  > treechildren::-moz-tree-column(first-column),
    129  > treechildren::-moz-tree-cell(first-column) {
    130    /* This matches the treecol separator in tree.css */
    131    border-inline-start: none;
    132  }
    133 
    134  > treechildren::-moz-tree-cell(separator) {
    135    border-color: transparent;
    136  }
    137 }
    138 
    139 /**
    140 * info pane
    141 */
    142 
    143 #itemsCountText,
    144 #selectItemDescription {
    145  color: GrayText;
    146 }
    147 
    148 /**
    149 * Downloads pane
    150 */
    151 
    152 #clearDownloadsButton {
    153  list-style-image: none !important;
    154 }
    155 
    156 #clearDownloadsButton > .toolbarbutton-icon {
    157  display: none;
    158 }
    159 
    160 /**** expanders ****/
    161 
    162 .expander-up,
    163 .expander-down {
    164  padding: 0;
    165 }
    166 
    167 .expander-up {
    168  appearance: auto;
    169  -moz-default-appearance: -moz-mac-disclosure-button-open;
    170 }
    171 
    172 .expander-down {
    173  appearance: auto;
    174  -moz-default-appearance: -moz-mac-disclosure-button-closed;
    175 }