tor-browser

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

contextmenu.css (1417B)


      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 @namespace html url("http://www.w3.org/1999/xhtml");
      6 
      7 /* Combined context-menu items */
      8 
      9 #context-navigation > .menuitem-iconic {
     10  flex: 1;
     11  justify-content: center;
     12  align-items: center;
     13  margin: 0;
     14  padding: 0;
     15 
     16  > .menu-text {
     17    display: none;
     18  }
     19 
     20  > .menu-icon {
     21    width: auto;
     22    height: auto;
     23    padding: 7px;
     24    margin: 0;
     25    -moz-context-properties: fill;
     26    fill: currentColor;
     27  }
     28 }
     29 
     30 #context-back {
     31  --menuitem-icon: url("chrome://browser/skin/back.svg");
     32 }
     33 
     34 #context-forward {
     35  --menuitem-icon: url("chrome://browser/skin/forward.svg");
     36 }
     37 
     38 #context-reload {
     39  --menuitem-icon: url("chrome://global/skin/icons/reload.svg");
     40 }
     41 
     42 #context-stop {
     43  --menuitem-icon: url("chrome://global/skin/icons/close.svg");
     44 }
     45 
     46 #context-bookmarkpage {
     47  --menuitem-icon: url("chrome://browser/skin/bookmark-hollow.svg");
     48  &[starred] {
     49    --menuitem-icon: url("chrome://browser/skin/bookmark.svg");
     50  }
     51 }
     52 
     53 #context-back:-moz-locale-dir(rtl),
     54 #context-forward:-moz-locale-dir(rtl),
     55 #context-reload:-moz-locale-dir(rtl) {
     56  transform: scaleX(-1);
     57 }
     58 
     59 #context-media-eme-learnmore {
     60  --menuitem-icon: url("chrome://browser/skin/drm-icon.svg");
     61  -moz-context-properties: fill;
     62  fill: currentColor;
     63 }