Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | %include ../../shared/customizableui/panelUIOverlay.inc.css |
michael@0 | 6 | |
michael@0 | 7 | @media (min-resolution: 2dppx) { |
michael@0 | 8 | #PanelUI-help[panel-multiview-anchor="true"]::after, |
michael@0 | 9 | toolbarbutton[panel-multiview-anchor="true"] { |
michael@0 | 10 | background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted@2x.png), |
michael@0 | 11 | linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0)); |
michael@0 | 12 | background-size: 16px, auto; |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | #PanelUI-help[panel-multiview-anchor="true"]:-moz-locale-dir(rtl)::after, |
michael@0 | 16 | toolbarbutton[panel-multiview-anchor="true"]:-moz-locale-dir(rtl) { |
michael@0 | 17 | background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted-rtl@2x.png), |
michael@0 | 18 | linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0)); |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | #PanelUI-fxa-status { |
michael@0 | 22 | list-style-image: url(chrome://browser/skin/sync-horizontalbar@2x.png); |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | #PanelUI-fxa-status[status="active"] { |
michael@0 | 26 | list-style-image: url(chrome://browser/skin/syncProgress-horizontalbar@2x.png); |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | #PanelUI-customize { |
michael@0 | 30 | list-style-image: url(chrome://browser/skin/menuPanel-customize@2x.png); |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | #main-window[customize-entered] #PanelUI-customize { |
michael@0 | 34 | list-style-image: url(chrome://browser/skin/customizableui/menuPanel-customizeFinish@2x.png); |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | #PanelUI-help { |
michael@0 | 38 | list-style-image: url(chrome://browser/skin/menuPanel-help@2x.png); |
michael@0 | 39 | } |
michael@0 | 40 | |
michael@0 | 41 | #PanelUI-quit { |
michael@0 | 42 | list-style-image: url(chrome://browser/skin/menuPanel-exit@2x.png); |
michael@0 | 43 | } |
michael@0 | 44 | |
michael@0 | 45 | #PanelUI-fxa-status, |
michael@0 | 46 | #PanelUI-customize, |
michael@0 | 47 | #PanelUI-help, |
michael@0 | 48 | #PanelUI-quit { |
michael@0 | 49 | -moz-image-region: rect(0, 32px, 32px, 0); |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | #PanelUI-customize:hover, |
michael@0 | 53 | #PanelUI-help:not([disabled]):hover, |
michael@0 | 54 | #PanelUI-quit:not([disabled]):hover { |
michael@0 | 55 | -moz-image-region: rect(0, 64px, 32px, 32px); |
michael@0 | 56 | } |
michael@0 | 57 | |
michael@0 | 58 | #PanelUI-customize:hover:active, |
michael@0 | 59 | #PanelUI-help:not([disabled]):hover:active, |
michael@0 | 60 | #PanelUI-quit:not([disabled]):hover:active { |
michael@0 | 61 | -moz-image-region: rect(0, 96px, 32px, 64px); |
michael@0 | 62 | } |
michael@0 | 63 | |
michael@0 | 64 | #PanelUI-help[panel-multiview-anchor="true"] { |
michael@0 | 65 | -moz-image-region: rect(0, 128px, 32px, 96px); |
michael@0 | 66 | background-size: auto; |
michael@0 | 67 | } |
michael@0 | 68 | |
michael@0 | 69 | .subviewbutton[checked="true"] { |
michael@0 | 70 | background-image: url("chrome://global/skin/menu/shared-menu-check@2x.png"); |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | } |
michael@0 | 74 | |
michael@0 | 75 | .panelUI-grid .toolbarbutton-1 { |
michael@0 | 76 | margin-right: 0; |
michael@0 | 77 | margin-left: 0; |
michael@0 | 78 | margin-bottom: 0; |
michael@0 | 79 | } |
michael@0 | 80 | |
michael@0 | 81 | .subviewbutton > .toolbarbutton-text, |
michael@0 | 82 | .subviewbutton > .menu-iconic-text { |
michael@0 | 83 | margin: 2px 0px; |
michael@0 | 84 | } |
michael@0 | 85 | |
michael@0 | 86 | .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text { |
michael@0 | 87 | margin: 2px 6px; |
michael@0 | 88 | } |
michael@0 | 89 | |
michael@0 | 90 | .restoreallitem > .toolbarbutton-icon { |
michael@0 | 91 | display: none; |
michael@0 | 92 | } |
michael@0 | 93 | |
michael@0 | 94 | .subviewbutton { |
michael@0 | 95 | -moz-padding-start: 18px; |
michael@0 | 96 | } |
michael@0 | 97 | |
michael@0 | 98 | .subviewbutton[checked="true"] { |
michael@0 | 99 | background-position: top 5px left 4px; |
michael@0 | 100 | } |
michael@0 | 101 | |
michael@0 | 102 | .subviewbutton[checked="true"]:-moz-locale-dir(rtl) { |
michael@0 | 103 | background-position: top 5px right 4px; |
michael@0 | 104 | } |
michael@0 | 105 | |
michael@0 | 106 | .subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left { |
michael@0 | 107 | display: none; |
michael@0 | 108 | } |
michael@0 | 109 | |
michael@0 | 110 | menu.subviewbutton, |
michael@0 | 111 | menuitem.subviewbutton:not(.panel-subview-footer) { |
michael@0 | 112 | padding-top: 2px; |
michael@0 | 113 | padding-bottom: 2px; |
michael@0 | 114 | } |
michael@0 | 115 | |
michael@0 | 116 | /* Override OSX-specific toolkit styles for the bookmarks panel */ |
michael@0 | 117 | menu.subviewbutton > .menu-right { |
michael@0 | 118 | -moz-margin-end: 0; |
michael@0 | 119 | } |
michael@0 | 120 | menu.subviewbutton > .menu-right > image { |
michael@0 | 121 | -moz-image-region: rect(0, 9px, 10px, 0); |
michael@0 | 122 | } |
michael@0 | 123 | |
michael@0 | 124 | @media (min-resolution: 2dppx) { |
michael@0 | 125 | menu.subviewbutton > .menu-right > image { |
michael@0 | 126 | -moz-image-region: rect(0, 18px, 20px, 0); |
michael@0 | 127 | } |
michael@0 | 128 | } |
michael@0 | 129 | |
michael@0 | 130 | .widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
michael@0 | 131 | -moz-margin-start: 4px; |
michael@0 | 132 | } |
michael@0 | 133 | |
michael@0 | 134 | .PanelUI-subView menuseparator, |
michael@0 | 135 | .cui-widget-panelview menuseparator { |
michael@0 | 136 | padding: 0 !important; |
michael@0 | 137 | } |
michael@0 | 138 | |
michael@0 | 139 | toolbarpaletteitem:-moz-any([place="palette"], [place="panel"]) > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-1 > .toolbarbutton-icon { |
michael@0 | 140 | width: 32px; |
michael@0 | 141 | height: 32px; |
michael@0 | 142 | } |