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 | /* Menu panel and palette styles */ |
michael@0 | 2 | |
michael@0 | 3 | toolbaritem[sdkstylewidget="true"] > toolbarbutton, |
michael@0 | 4 | :-moz-any(@primaryToolbarButtons@)[cui-areatype="menu-panel"], |
michael@0 | 5 | toolbarpaletteitem[place="palette"] > :-moz-any(@primaryToolbarButtons@) { |
michael@0 | 6 | list-style-image: url(chrome://browser/skin/menuPanel.png); |
michael@0 | 7 | } |
michael@0 | 8 | |
michael@0 | 9 | #home-button[cui-areatype="menu-panel"], |
michael@0 | 10 | toolbarpaletteitem[place="palette"] > #home-button { |
michael@0 | 11 | -moz-image-region: rect(0px, 128px, 32px, 96px); |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | #bookmarks-menu-button[cui-areatype="menu-panel"], |
michael@0 | 15 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { |
michael@0 | 16 | -moz-image-region: rect(0px, 192px, 32px, 160px); |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
michael@0 | 20 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | #history-panelmenu[cui-areatype="menu-panel"], |
michael@0 | 24 | toolbarpaletteitem[place="palette"] > #history-panelmenu { |
michael@0 | 25 | -moz-image-region: rect(0px, 224px, 32px, 192px); |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
michael@0 | 29 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | #downloads-button[cui-areatype="menu-panel"], |
michael@0 | 33 | toolbarpaletteitem[place="palette"] > #downloads-button { |
michael@0 | 34 | -moz-image-region: rect(0px, 256px, 32px, 224px); |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | #add-ons-button[cui-areatype="menu-panel"], |
michael@0 | 38 | toolbarpaletteitem[place="palette"] > #add-ons-button { |
michael@0 | 39 | -moz-image-region: rect(0px, 288px, 32px, 256px); |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | #open-file-button[cui-areatype="menu-panel"], |
michael@0 | 43 | toolbarpaletteitem[place="palette"] > #open-file-button { |
michael@0 | 44 | -moz-image-region: rect(0px, 320px, 32px, 288px); |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | #save-page-button[cui-areatype="menu-panel"], |
michael@0 | 48 | toolbarpaletteitem[place="palette"] > #save-page-button { |
michael@0 | 49 | -moz-image-region: rect(0px, 352px, 32px, 320px); |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | #sync-button[cui-areatype="menu-panel"], |
michael@0 | 53 | toolbarpaletteitem[place="palette"] > #sync-button { |
michael@0 | 54 | -moz-image-region: rect(0px, 384px, 32px, 352px); |
michael@0 | 55 | } |
michael@0 | 56 | |
michael@0 | 57 | #sync-button[cui-areatype="menu-panel"][status="active"] { |
michael@0 | 58 | list-style-image: url(chrome://browser/skin/syncProgress-menuPanel.png); |
michael@0 | 59 | -moz-image-region: rect(0px, 32px, 32px, 0px); |
michael@0 | 60 | } |
michael@0 | 61 | |
michael@0 | 62 | #feed-button[cui-areatype="menu-panel"], |
michael@0 | 63 | toolbarpaletteitem[place="palette"] > #feed-button { |
michael@0 | 64 | -moz-image-region: rect(0px, 416px, 32px, 384px); |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | #social-share-button[cui-areatype="menu-panel"], |
michael@0 | 68 | toolbarpaletteitem[place="palette"] > #social-share-button { |
michael@0 | 69 | -moz-image-region: rect(0px, 448px, 32px, 416px); |
michael@0 | 70 | } |
michael@0 | 71 | |
michael@0 | 72 | #characterencoding-button[cui-areatype="menu-panel"], |
michael@0 | 73 | toolbarpaletteitem[place="palette"] > #characterencoding-button { |
michael@0 | 74 | -moz-image-region: rect(0px, 480px, 32px, 448px); |
michael@0 | 75 | } |
michael@0 | 76 | |
michael@0 | 77 | #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
michael@0 | 78 | -moz-image-region: rect(32px, 480px, 64px, 448px); |
michael@0 | 79 | } |
michael@0 | 80 | |
michael@0 | 81 | #new-window-button[cui-areatype="menu-panel"], |
michael@0 | 82 | toolbarpaletteitem[place="palette"] > #new-window-button { |
michael@0 | 83 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
michael@0 | 84 | } |
michael@0 | 85 | |
michael@0 | 86 | #e10s-button[cui-areatype="menu-panel"], |
michael@0 | 87 | toolbarpaletteitem[place="palette"] > #e10s-button { |
michael@0 | 88 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | #new-tab-button[cui-areatype="menu-panel"], |
michael@0 | 92 | toolbarpaletteitem[place="palette"] > #new-tab-button { |
michael@0 | 93 | -moz-image-region: rect(0px, 544px, 32px, 512px); |
michael@0 | 94 | } |
michael@0 | 95 | |
michael@0 | 96 | #privatebrowsing-button[cui-areatype="menu-panel"], |
michael@0 | 97 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button { |
michael@0 | 98 | -moz-image-region: rect(0px, 576px, 32px, 544px); |
michael@0 | 99 | } |
michael@0 | 100 | |
michael@0 | 101 | #tabview-button[cui-areatype="menu-panel"], |
michael@0 | 102 | toolbarpaletteitem[place="palette"] > #tabview-button { |
michael@0 | 103 | -moz-image-region: rect(0px, 608px, 32px, 576px); |
michael@0 | 104 | } |
michael@0 | 105 | |
michael@0 | 106 | #find-button[cui-areatype="menu-panel"], |
michael@0 | 107 | toolbarpaletteitem[place="palette"] > #find-button { |
michael@0 | 108 | -moz-image-region: rect(0px, 640px, 32px, 608px); |
michael@0 | 109 | } |
michael@0 | 110 | |
michael@0 | 111 | #print-button[cui-areatype="menu-panel"], |
michael@0 | 112 | toolbarpaletteitem[place="palette"] > #print-button { |
michael@0 | 113 | -moz-image-region: rect(0px, 672px, 32px, 640px); |
michael@0 | 114 | } |
michael@0 | 115 | |
michael@0 | 116 | #fullscreen-button[cui-areatype="menu-panel"], |
michael@0 | 117 | toolbarpaletteitem[place="palette"] > #fullscreen-button { |
michael@0 | 118 | -moz-image-region: rect(0px, 704px, 32px, 672px); |
michael@0 | 119 | } |
michael@0 | 120 | |
michael@0 | 121 | #developer-button[cui-areatype="menu-panel"], |
michael@0 | 122 | toolbarpaletteitem[place="palette"] > #developer-button { |
michael@0 | 123 | -moz-image-region: rect(0px, 736px, 32px, 704px); |
michael@0 | 124 | } |
michael@0 | 125 | |
michael@0 | 126 | #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
michael@0 | 127 | -moz-image-region: rect(32px, 736px, 64px, 704px); |
michael@0 | 128 | } |
michael@0 | 129 | |
michael@0 | 130 | #preferences-button[cui-areatype="menu-panel"], |
michael@0 | 131 | toolbarpaletteitem[place="palette"] > #preferences-button { |
michael@0 | 132 | -moz-image-region: rect(0px, 768px, 32px, 736px); |
michael@0 | 133 | } |
michael@0 | 134 | |
michael@0 | 135 | #email-link-button[cui-areatype="menu-panel"], |
michael@0 | 136 | toolbarpaletteitem[place="palette"] > #email-link-button { |
michael@0 | 137 | -moz-image-region: rect(0, 800px, 32px, 768px); |
michael@0 | 138 | } |
michael@0 | 139 | |
michael@0 | 140 | #sidebar-button[cui-areatype="menu-panel"], |
michael@0 | 141 | toolbarpaletteitem[place="palette"] > #sidebar-button { |
michael@0 | 142 | -moz-image-region: rect(0, 864px, 32px, 832px); |
michael@0 | 143 | } |
michael@0 | 144 | |
michael@0 | 145 | #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
michael@0 | 146 | -moz-image-region: rect(32px, 864px, 64px, 832px); |
michael@0 | 147 | } |
michael@0 | 148 | |
michael@0 | 149 | toolbaritem[sdkstylewidget="true"] > toolbarbutton { |
michael@0 | 150 | -moz-image-region: rect(0, 832px, 32px, 800px); |
michael@0 | 151 | } |
michael@0 | 152 | |
michael@0 | 153 | /* Wide panel control icons */ |
michael@0 | 154 | |
michael@0 | 155 | #edit-controls@inAnyPanel@ > toolbarbutton, |
michael@0 | 156 | #zoom-controls@inAnyPanel@ > toolbarbutton, |
michael@0 | 157 | toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, |
michael@0 | 158 | toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { |
michael@0 | 159 | list-style-image: url(chrome://browser/skin/menuPanel-small.png); |
michael@0 | 160 | } |
michael@0 | 161 | |
michael@0 | 162 | #edit-controls@inAnyPanel@ > #cut-button, |
michael@0 | 163 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button { |
michael@0 | 164 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
michael@0 | 165 | } |
michael@0 | 166 | |
michael@0 | 167 | #edit-controls@inAnyPanel@ > #copy-button, |
michael@0 | 168 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button { |
michael@0 | 169 | -moz-image-region: rect(0px, 48px, 16px, 32px); |
michael@0 | 170 | } |
michael@0 | 171 | |
michael@0 | 172 | #edit-controls@inAnyPanel@ > #paste-button, |
michael@0 | 173 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button { |
michael@0 | 174 | -moz-image-region: rect(0px, 64px, 16px, 48px); |
michael@0 | 175 | } |
michael@0 | 176 | |
michael@0 | 177 | #zoom-controls@inAnyPanel@ > #zoom-out-button, |
michael@0 | 178 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button { |
michael@0 | 179 | -moz-image-region: rect(0px, 80px, 16px, 64px); |
michael@0 | 180 | } |
michael@0 | 181 | |
michael@0 | 182 | #zoom-controls@inAnyPanel@ > #zoom-in-button, |
michael@0 | 183 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button { |
michael@0 | 184 | -moz-image-region: rect(0px, 96px, 16px, 80px); |
michael@0 | 185 | } |