bug 886816 fix share icon on retina display, r=mconley
authorShane Caraveo <scaraveo@mozilla.com>
Fri, 26 Jul 2013 14:13:14 -0700
changeset 140233 7aa74bef708cb94012fe7b4a39fde64d88eae7b8
parent 140232 443a642f25df08d3f88e96732a3fafbae5f9d6ae
child 140234 02e569264881e364cd5583084b58698e6c994743
push id1951
push userryanvm@gmail.com
push dateSun, 28 Jul 2013 01:55:51 +0000
treeherderfx-team@73b69c146ca6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs886816
milestone25.0a1
bug 886816 fix share icon on retina display, r=mconley
browser/themes/osx/browser.css
browser/themes/osx/jar.mn
browser/themes/osx/social/share-button-active@2x.png
browser/themes/osx/social/share-button@2x.png
browser/themes/shared/browser.inc
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1679,16 +1679,32 @@ window[tabsontop="false"] richlistitem[t
   list-style-image: url("chrome://browser/skin/social/share-button.png");
 }
 
 #social-share-button[open],
 #social-share-button:hover:active {
   list-style-image: url("chrome://browser/skin/social/share-button-active.png");
 }
 
+#social-share-button > .toolbarbutton-icon {
+  width: 13px;
+  height: 14px;
+}
+
+@media (min-resolution: 2dppx) {
+  #social-share-button {
+    list-style-image: url("chrome://browser/skin/social/share-button@2x.png");
+  }
+
+  #social-share-button[open],
+  #social-share-button:hover:active {
+    list-style-image: url("chrome://browser/skin/social/share-button-active@2x.png");
+  }
+}
+
 .social-share-toolbar {
   border-right: 1px solid #dedede;
   background: linear-gradient(to bottom, rgba(247,247,247,.99), rgba(247,247,247,.95));
 }
 
 #social-share-provider-buttons {
   border-right: 1px solid #fbfbfb;
   padding: 6px;
--- a/browser/themes/osx/jar.mn
+++ b/browser/themes/osx/jar.mn
@@ -170,17 +170,19 @@ browser.jar:
   skin/classic/browser/preferences/in-content/preferences.css (preferences/in-content/preferences.css)
   skin/classic/browser/preferences/applications.css         (preferences/applications.css)
   skin/classic/browser/preferences/aboutPermissions.css     (preferences/aboutPermissions.css)
   skin/classic/browser/social/services-16.png               (social/services-16.png)
   skin/classic/browser/social/services-16@2x.png            (social/services-16@2x.png)
   skin/classic/browser/social/services-64.png               (social/services-64.png)
   skin/classic/browser/social/services-64@2x.png            (social/services-64@2x.png)
   skin/classic/browser/social/share-button.png              (social/share-button.png)
+  skin/classic/browser/social/share-button@2x.png           (social/share-button@2x.png)
   skin/classic/browser/social/share-button-active.png       (social/share-button-active.png)
+  skin/classic/browser/social/share-button-active@2x.png    (social/share-button-active@2x.png)
   skin/classic/browser/social/chat-icons.png                             (social/chat-icons.png)
   skin/classic/browser/tabbrowser/alltabs-box-bkgnd-icon.png             (tabbrowser/alltabs-box-bkgnd-icon.png)
   skin/classic/browser/tabbrowser/newtab.png                             (tabbrowser/newtab.png)
   skin/classic/browser/tabbrowser/newtab@2x.png                          (tabbrowser/newtab@2x.png)
   skin/classic/browser/tabbrowser/connecting.png                         (tabbrowser/connecting.png)
   skin/classic/browser/tabbrowser/connecting@2x.png                      (tabbrowser/connecting@2x.png)
   skin/classic/browser/tabbrowser/loading.png                            (tabbrowser/loading.png)
   skin/classic/browser/tabbrowser/loading@2x.png                         (tabbrowser/loading@2x.png)
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6872dff7b7c4801a39cb9b48b4f352b034271dc0
GIT binary patch
literal 1524
zc$@+B1q=F#P)<h;3K|Lk000e1NJLTq000^Q000~a1^@s6e-p3M00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-3J&97AN&_|LFh#1%XLK
zK~zY`wU%9I9M=`c&zZTiGjnI|oiDE}t-7+ak}ax2B!XxXJrtaPLvc%k9)cbslLrSq
zMv#~g97h;z9LR$o9P(g9ag+pVxlJCDmeknA0ucm`jVK``5Nv5tA~{;^$E<c|_G9Mu
zp&BE*IF)1Pz=ivCe)IpIKj#j>BQDN4Fvb7?fH7uRmX(8F0+N(r7#YWL-pOXO7XSdH
zM+xzLKT$HG>-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=8Pw*zh}!!}nsneLabHx7&rPsvAd-9{p~ySoA2Rn*cfhx&Yb$
z+<p7@4Vb3+=}M(C${3TA$z*hSdHIdGxw%p(6nbZBYHIG<wQCcbo12Aty>2Rs;)tT?
za2)sH$#Cb+9R}dejT<*8fUOr#oer~<(pg1Ow9A(-ziQj|VlJ1f?bxwnq}6Jr&YwU3
zH%XG-o|u^U?Z(DN;lYCkpI=*B8&njfA&TOYFfhhI2mv9a``?DQR4OfNn)Xwl&v)YL
z)vIGijvV>t;^JacmgS9DEY=YO;WM>bjn2%>yb0ja?Ck9CyWQ?<^Yimllu{J{qkRvb
zg+if#>({UUVsdhFzt86zIehr=uP$7;;PhvOQrb9s_Ut@>C?Vt#fGU7r-n)12504)|
z9s%Hgu4`g`ejWhu@ZrO6Q%Zk)^XAPQ&+|>s^GLN?701TLew|LI|J5Tw-=#z%Q3voR
z+qR$oniv@wfn{0Cj^n(wxVZR=uIrv{+XJeqmWsvV`^{$a?sgIY=*1qYsy;u_ty{MM
z0M%;sN~hCV?RL968Do!5o;>+y0Cy!xay-w&_EvD*hvi@RzwY+!+iQ%m-&CvB#(@I|
z{umC2|3L_;K3(`@Vej6(TN|92nMtjztc)_oxV~l2!oL9?{ZU=ffPd)#0000<MNUMn
GLSTaH#t^Om
--- a/browser/themes/shared/browser.inc
+++ b/browser/themes/shared/browser.inc
@@ -1,3 +1,3 @@
 %filter substitution
 
-%define primaryToolbarButtons #back-button, #forward-button, #reload-button, #stop-button, #home-button, #print-button, #downloads-button, #downloads-indicator, #history-button, #bookmarks-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-in-button, #sync-button, #feed-button, #alltabs-button, #tabview-button, #webrtc-status-button, #social-share-button
+%define primaryToolbarButtons #back-button, #forward-button, #reload-button, #stop-button, #home-button, #print-button, #downloads-button, #downloads-indicator, #history-button, #bookmarks-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-in-button, #sync-button, #feed-button, #alltabs-button, #tabview-button, #webrtc-status-button