browser/themes/osx/customizableui/panelUIOverlay.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 %include ../../shared/customizableui/panelUIOverlay.inc.css
     7 @media (min-resolution: 2dppx) {
     8   #PanelUI-help[panel-multiview-anchor="true"]::after,
     9   toolbarbutton[panel-multiview-anchor="true"] {
    10     background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted@2x.png),
    11                       linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
    12     background-size: 16px, auto;
    13   }
    15   #PanelUI-help[panel-multiview-anchor="true"]:-moz-locale-dir(rtl)::after,
    16   toolbarbutton[panel-multiview-anchor="true"]:-moz-locale-dir(rtl) {
    17     background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted-rtl@2x.png),
    18                       linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
    19   }
    21   #PanelUI-fxa-status {
    22     list-style-image: url(chrome://browser/skin/sync-horizontalbar@2x.png);
    23   }
    25   #PanelUI-fxa-status[status="active"] {
    26     list-style-image: url(chrome://browser/skin/syncProgress-horizontalbar@2x.png);
    27   }
    29   #PanelUI-customize {
    30     list-style-image: url(chrome://browser/skin/menuPanel-customize@2x.png);
    31   }
    33   #main-window[customize-entered] #PanelUI-customize {
    34     list-style-image: url(chrome://browser/skin/customizableui/menuPanel-customizeFinish@2x.png);
    35   }
    37   #PanelUI-help {
    38     list-style-image: url(chrome://browser/skin/menuPanel-help@2x.png);
    39   }
    41   #PanelUI-quit {
    42     list-style-image: url(chrome://browser/skin/menuPanel-exit@2x.png);
    43   }
    45   #PanelUI-fxa-status,
    46   #PanelUI-customize,
    47   #PanelUI-help,
    48   #PanelUI-quit {
    49     -moz-image-region: rect(0, 32px, 32px, 0);
    50   }
    52   #PanelUI-customize:hover,
    53   #PanelUI-help:not([disabled]):hover,
    54   #PanelUI-quit:not([disabled]):hover {
    55     -moz-image-region: rect(0, 64px, 32px, 32px);
    56   }
    58   #PanelUI-customize:hover:active,
    59   #PanelUI-help:not([disabled]):hover:active,
    60   #PanelUI-quit:not([disabled]):hover:active {
    61     -moz-image-region: rect(0, 96px, 32px, 64px);
    62   }
    64   #PanelUI-help[panel-multiview-anchor="true"] {
    65     -moz-image-region: rect(0, 128px, 32px, 96px);
    66     background-size: auto;
    67   }
    69   .subviewbutton[checked="true"] {
    70     background-image: url("chrome://global/skin/menu/shared-menu-check@2x.png");
    71   }
    73 }
    75 .panelUI-grid .toolbarbutton-1 {
    76   margin-right: 0;
    77   margin-left: 0;
    78   margin-bottom: 0;
    79 }
    81 .subviewbutton > .toolbarbutton-text,
    82 .subviewbutton > .menu-iconic-text {
    83   margin: 2px 0px;
    84 }
    86 .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text {
    87   margin: 2px 6px;
    88 }
    90 .restoreallitem > .toolbarbutton-icon {
    91   display: none;
    92 }
    94 .subviewbutton {
    95   -moz-padding-start: 18px;
    96 }
    98 .subviewbutton[checked="true"] {
    99   background-position: top 5px left 4px;
   100 }
   102 .subviewbutton[checked="true"]:-moz-locale-dir(rtl) {
   103   background-position: top 5px right 4px;
   104 }
   106 .subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left {
   107   display: none;
   108 }
   110 menu.subviewbutton,
   111 menuitem.subviewbutton:not(.panel-subview-footer) {
   112   padding-top: 2px;
   113   padding-bottom: 2px;
   114 }
   116 /* Override OSX-specific toolkit styles for the bookmarks panel */
   117 menu.subviewbutton > .menu-right {
   118   -moz-margin-end: 0;
   119 }
   120 menu.subviewbutton > .menu-right > image {
   121   -moz-image-region: rect(0, 9px, 10px, 0);
   122 }
   124 @media (min-resolution: 2dppx) {
   125   menu.subviewbutton > .menu-right > image {
   126     -moz-image-region: rect(0, 18px, 20px, 0);
   127   }
   128 }
   130 .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
   131   -moz-margin-start: 4px;
   132 }
   134 .PanelUI-subView menuseparator,
   135 .cui-widget-panelview menuseparator {
   136   padding: 0 !important;
   137 }
   139 toolbarpaletteitem:-moz-any([place="palette"], [place="panel"]) > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-1 > .toolbarbutton-icon {
   140   width: 32px;
   141   height: 32px;
   142 }

mercurial