1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/themes/shared/toolbarbuttons.inc.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,173 @@ 1.4 +/* Note that this file isn't used for HiDPI on OS X. */ 1.5 + 1.6 +:-moz-any(@primaryToolbarButtons@), 1.7 +#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { 1.8 + list-style-image: url("chrome://browser/skin/Toolbar.png"); 1.9 +} 1.10 + 1.11 +toolbar[brighttext] :-moz-any(@primaryToolbarButtons@), 1.12 +toolbar[brighttext] #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { 1.13 + list-style-image: url(chrome://browser/skin/Toolbar-inverted.png); 1.14 +} 1.15 + 1.16 +#back-button { 1.17 + -moz-image-region: rect(0, 36px, 18px, 18px); 1.18 +} 1.19 + 1.20 +#forward-button { 1.21 + -moz-image-region: rect(0, 72px, 18px, 54px); 1.22 +} 1.23 + 1.24 +#home-button[cui-areatype="toolbar"] { 1.25 + -moz-image-region: rect(0, 126px, 18px, 108px); 1.26 +} 1.27 + 1.28 +#bookmarks-menu-button[cui-areatype="toolbar"] { 1.29 + -moz-image-region: rect(0, 144px, 18px, 126px); 1.30 +} 1.31 + 1.32 +#bookmarks-menu-button[cui-areatype="toolbar"][starred] { 1.33 + -moz-image-region: rect(0, 162px, 18px, 144px); 1.34 +} 1.35 + 1.36 +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { 1.37 + -moz-image-region: rect(0, 630px, 18px, 612px); 1.38 +} 1.39 + 1.40 +#history-panelmenu[cui-areatype="toolbar"] { 1.41 + -moz-image-region: rect(0, 180px, 18px, 162px); 1.42 +} 1.43 + 1.44 +#downloads-button[cui-areatype="toolbar"] { 1.45 + -moz-image-region: rect(0, 198px, 18px, 180px); 1.46 +} 1.47 + 1.48 +#add-ons-button[cui-areatype="toolbar"] { 1.49 + -moz-image-region: rect(0, 216px, 18px, 198px); 1.50 +} 1.51 + 1.52 +#open-file-button[cui-areatype="toolbar"] { 1.53 + -moz-image-region: rect(0, 234px, 18px, 216px); 1.54 +} 1.55 + 1.56 +#save-page-button[cui-areatype="toolbar"] { 1.57 + -moz-image-region: rect(0, 252px, 18px, 234px); 1.58 +} 1.59 + 1.60 +#sync-button[cui-areatype="toolbar"] { 1.61 + -moz-image-region: rect(0, 270px, 18px, 252px); 1.62 +} 1.63 + 1.64 +#sync-button[cui-areatype="toolbar"][status="active"], 1.65 +#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) { 1.66 + list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); 1.67 + -moz-image-region: rect(0, 18px, 18px, 0px); 1.68 +} 1.69 + 1.70 +toolbar[brighttext] #sync-button[status="active"], 1.71 +toolbar[brighttext] #sync-button[status="active"]:hover:active:not([disabled="true"]) { 1.72 + list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); 1.73 +} 1.74 + 1.75 +#feed-button[cui-areatype="toolbar"] { 1.76 + -moz-image-region: rect(0, 288px, 18px, 270px); 1.77 +} 1.78 + 1.79 +#social-share-button[cui-areatype="toolbar"] { 1.80 + -moz-image-region: rect(0px, 306px, 18px, 288px); 1.81 +} 1.82 + 1.83 +#characterencoding-button[cui-areatype="toolbar"]{ 1.84 + -moz-image-region: rect(0, 324px, 18px, 306px); 1.85 +} 1.86 + 1.87 +#new-window-button[cui-areatype="toolbar"] { 1.88 + -moz-image-region: rect(0, 342px, 18px, 324px); 1.89 +} 1.90 + 1.91 +#e10s-button[cui-areatype="toolbar"] { 1.92 + -moz-image-region: rect(0, 342px, 18px, 324px); 1.93 +} 1.94 + 1.95 +#e10s-button > .toolbarbutton-icon { 1.96 + transform: scaleY(-1); 1.97 +} 1.98 + 1.99 +#new-tab-button[cui-areatype="toolbar"] { 1.100 + -moz-image-region: rect(0, 360px, 18px, 342px); 1.101 +} 1.102 + 1.103 +#privatebrowsing-button[cui-areatype="toolbar"] { 1.104 + -moz-image-region: rect(0, 378px, 18px, 360px); 1.105 +} 1.106 + 1.107 +#find-button[cui-areatype="toolbar"] { 1.108 + -moz-image-region: rect(0, 396px, 18px, 378px); 1.109 +} 1.110 + 1.111 +#print-button[cui-areatype="toolbar"] { 1.112 + -moz-image-region: rect(0, 414px, 18px, 396px); 1.113 +} 1.114 + 1.115 +%ifdef XP_MACOSX 1.116 +#restore-button, 1.117 +%endif 1.118 +#fullscreen-button[cui-areatype="toolbar"] { 1.119 + -moz-image-region: rect(0, 432px, 18px, 414px); 1.120 +} 1.121 + 1.122 +#developer-button[cui-areatype="toolbar"] { 1.123 + -moz-image-region: rect(0, 450px, 18px, 432px); 1.124 +} 1.125 + 1.126 +#preferences-button[cui-areatype="toolbar"] { 1.127 + -moz-image-region: rect(0, 468px, 18px, 450px); 1.128 +} 1.129 + 1.130 +#PanelUI-menu-button { 1.131 + -moz-image-region: rect(0, 486px, 18px, 468px); 1.132 +} 1.133 + 1.134 +#edit-controls:not(@inAnyPanel@) > #cut-button { 1.135 + -moz-image-region: rect(0, 504px, 18px, 486px); 1.136 +} 1.137 + 1.138 +#edit-controls:not(@inAnyPanel@) > #copy-button { 1.139 + -moz-image-region: rect(0, 522px, 18px, 504px); 1.140 +} 1.141 + 1.142 +#edit-controls:not(@inAnyPanel@) > #paste-button { 1.143 + -moz-image-region: rect(0, 540px, 18px, 522px); 1.144 +} 1.145 + 1.146 +#zoom-controls:not(@inAnyPanel@) > #zoom-out-button { 1.147 + -moz-image-region: rect(0, 558px, 18px, 540px); 1.148 +} 1.149 + 1.150 +#zoom-controls:not(@inAnyPanel@) > #zoom-in-button { 1.151 + -moz-image-region: rect(0, 576px, 18px, 558px); 1.152 +} 1.153 + 1.154 +#webrtc-status-button:not(@inAnyPanel@) { 1.155 + -moz-image-region: rect(0, 594px, 18px, 576px); 1.156 +} 1.157 + 1.158 +#nav-bar-overflow-button { 1.159 + -moz-image-region: rect(0, 612px, 18px, 594px); 1.160 +} 1.161 + 1.162 +#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { 1.163 + transform: scaleX(-1); 1.164 +} 1.165 + 1.166 +#tabview-button { 1.167 + -moz-image-region: rect(0, 648px, 18px, 630px); 1.168 +} 1.169 + 1.170 +#email-link-button[cui-areatype="toolbar"] { 1.171 + -moz-image-region: rect(0, 666px, 18px, 648px); 1.172 +} 1.173 + 1.174 +#sidebar-button[cui-areatype="toolbar"] { 1.175 + -moz-image-region: rect(0, 684px, 18px, 666px); 1.176 +}