browser/themes/osx/customizableui/panelUIOverlay.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/themes/osx/customizableui/panelUIOverlay.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,142 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +%include ../../shared/customizableui/panelUIOverlay.inc.css
     1.9 +
    1.10 +@media (min-resolution: 2dppx) {
    1.11 +  #PanelUI-help[panel-multiview-anchor="true"]::after,
    1.12 +  toolbarbutton[panel-multiview-anchor="true"] {
    1.13 +    background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted@2x.png),
    1.14 +                      linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
    1.15 +    background-size: 16px, auto;
    1.16 +  }
    1.17 +
    1.18 +  #PanelUI-help[panel-multiview-anchor="true"]:-moz-locale-dir(rtl)::after,
    1.19 +  toolbarbutton[panel-multiview-anchor="true"]:-moz-locale-dir(rtl) {
    1.20 +    background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted-rtl@2x.png),
    1.21 +                      linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
    1.22 +  }
    1.23 +
    1.24 +  #PanelUI-fxa-status {
    1.25 +    list-style-image: url(chrome://browser/skin/sync-horizontalbar@2x.png);
    1.26 +  }
    1.27 +
    1.28 +  #PanelUI-fxa-status[status="active"] {
    1.29 +    list-style-image: url(chrome://browser/skin/syncProgress-horizontalbar@2x.png);
    1.30 +  }
    1.31 +
    1.32 +  #PanelUI-customize {
    1.33 +    list-style-image: url(chrome://browser/skin/menuPanel-customize@2x.png);
    1.34 +  }
    1.35 +
    1.36 +  #main-window[customize-entered] #PanelUI-customize {
    1.37 +    list-style-image: url(chrome://browser/skin/customizableui/menuPanel-customizeFinish@2x.png);
    1.38 +  }
    1.39 +
    1.40 +  #PanelUI-help {
    1.41 +    list-style-image: url(chrome://browser/skin/menuPanel-help@2x.png);
    1.42 +  }
    1.43 +
    1.44 +  #PanelUI-quit {
    1.45 +    list-style-image: url(chrome://browser/skin/menuPanel-exit@2x.png);
    1.46 +  }
    1.47 +
    1.48 +  #PanelUI-fxa-status,
    1.49 +  #PanelUI-customize,
    1.50 +  #PanelUI-help,
    1.51 +  #PanelUI-quit {
    1.52 +    -moz-image-region: rect(0, 32px, 32px, 0);
    1.53 +  }
    1.54 +
    1.55 +  #PanelUI-customize:hover,
    1.56 +  #PanelUI-help:not([disabled]):hover,
    1.57 +  #PanelUI-quit:not([disabled]):hover {
    1.58 +    -moz-image-region: rect(0, 64px, 32px, 32px);
    1.59 +  }
    1.60 +
    1.61 +  #PanelUI-customize:hover:active,
    1.62 +  #PanelUI-help:not([disabled]):hover:active,
    1.63 +  #PanelUI-quit:not([disabled]):hover:active {
    1.64 +    -moz-image-region: rect(0, 96px, 32px, 64px);
    1.65 +  }
    1.66 +
    1.67 +  #PanelUI-help[panel-multiview-anchor="true"] {
    1.68 +    -moz-image-region: rect(0, 128px, 32px, 96px);
    1.69 +    background-size: auto;
    1.70 +  }
    1.71 +
    1.72 +  .subviewbutton[checked="true"] {
    1.73 +    background-image: url("chrome://global/skin/menu/shared-menu-check@2x.png");
    1.74 +  }
    1.75 +
    1.76 +}
    1.77 +
    1.78 +.panelUI-grid .toolbarbutton-1 {
    1.79 +  margin-right: 0;
    1.80 +  margin-left: 0;
    1.81 +  margin-bottom: 0;
    1.82 +}
    1.83 +
    1.84 +.subviewbutton > .toolbarbutton-text,
    1.85 +.subviewbutton > .menu-iconic-text {
    1.86 +  margin: 2px 0px;
    1.87 +}
    1.88 +
    1.89 +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text {
    1.90 +  margin: 2px 6px;
    1.91 +}
    1.92 +
    1.93 +.restoreallitem > .toolbarbutton-icon {
    1.94 +  display: none;
    1.95 +}
    1.96 +
    1.97 +.subviewbutton {
    1.98 +  -moz-padding-start: 18px;
    1.99 +}
   1.100 +
   1.101 +.subviewbutton[checked="true"] {
   1.102 +  background-position: top 5px left 4px;
   1.103 +}
   1.104 +
   1.105 +.subviewbutton[checked="true"]:-moz-locale-dir(rtl) {
   1.106 +  background-position: top 5px right 4px;
   1.107 +}
   1.108 +
   1.109 +.subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left {
   1.110 +  display: none;
   1.111 +}
   1.112 +
   1.113 +menu.subviewbutton,
   1.114 +menuitem.subviewbutton:not(.panel-subview-footer) {
   1.115 +  padding-top: 2px;
   1.116 +  padding-bottom: 2px;
   1.117 +}
   1.118 +
   1.119 +/* Override OSX-specific toolkit styles for the bookmarks panel */
   1.120 +menu.subviewbutton > .menu-right {
   1.121 +  -moz-margin-end: 0;
   1.122 +}
   1.123 +menu.subviewbutton > .menu-right > image {
   1.124 +  -moz-image-region: rect(0, 9px, 10px, 0);
   1.125 +}
   1.126 +
   1.127 +@media (min-resolution: 2dppx) {
   1.128 +  menu.subviewbutton > .menu-right > image {
   1.129 +    -moz-image-region: rect(0, 18px, 20px, 0);
   1.130 +  }
   1.131 +}
   1.132 +
   1.133 +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
   1.134 +  -moz-margin-start: 4px;
   1.135 +}
   1.136 +
   1.137 +.PanelUI-subView menuseparator,
   1.138 +.cui-widget-panelview menuseparator {
   1.139 +  padding: 0 !important;
   1.140 +}
   1.141 +
   1.142 +toolbarpaletteitem:-moz-any([place="palette"], [place="panel"]) > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-1 > .toolbarbutton-icon {
   1.143 +  width: 32px;
   1.144 +  height: 32px;
   1.145 +}

mercurial