Bug 1305195 - Inherit the color of the urlbar-zoom-reset button from the URL bar so the button text color matches that of the location bar text color. r=gijs draft
authorJared Wein <jwein@mozilla.com>
Tue, 11 Oct 2016 10:25:25 -0400
changeset 423666 7d1d28c647344d0bc23a2ce9aabeabb15090df7e
parent 423665 8654fba1417d44e510b8f2791f5ccf06c0496744
child 533503 f6a38377634cd950d33743c6afb561132f29c97d
push id31964
push userbmo:jaws@mozilla.com
push dateTue, 11 Oct 2016 14:36:43 +0000
reviewersgijs
bugs1305195
milestone52.0a1
Bug 1305195 - Inherit the color of the urlbar-zoom-reset button from the URL bar so the button text color matches that of the location bar text color. r=gijs MozReview-Commit-ID: Coy8OnhDneu
browser/themes/linux/browser.css
browser/themes/osx/browser.css
browser/themes/windows/browser.css
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -722,16 +722,17 @@ menuitem.bookmark-item {
 
 #urlbar-zoom-button {
   -moz-appearance: none;
   margin: 0 3px;
   font-size: .8em;
   padding: 0 8px;
   border-radius: 1em;
   background-color: hsla(0,0%,0%,.05);
+  color: inherit;
   border: 1px solid ThreeDLightShadow;
 }
 
 #urlbar-zoom-button[animate="true"] {
   animation-name: urlbar-zoom-reset-pulse;
   animation-duration: 250ms;
 }
 
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1673,17 +1673,17 @@ toolbar .toolbarbutton-1 > .toolbarbutto
 }
 
 #urlbar-zoom-button {
   margin: 0 3px;
   font-size: .8em;
   padding: 0 8px;
   border-radius: 1em;
   background-color: hsla(0,0%,0%,.05);
-  border: 1px solid hsla(0,0%,0%,.1);
+  border: 1px solid ThreeDLightShadow;
 }
 
 #urlbar-zoom-button[animate="true"] {
   animation-name: urlbar-zoom-reset-pulse;
   animation-duration: 250ms;
 }
 
 #urlbar-zoom-button:hover {
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1388,16 +1388,17 @@ html|*.urlbar-input:-moz-lwtheme::placeh
 
 #urlbar-zoom-button {
   -moz-appearance: none;
   margin: 0 3px;
   font-size: .8em;
   padding: 0 8px;
   border-radius: 1em;
   background-color: hsla(0,0%,0%,.05);
+  color: inherit;
   border: 1px solid ThreeDLightShadow;
 }
 
 #urlbar-zoom-button[animate="true"] {
   animation-name: urlbar-zoom-reset-pulse;
   animation-duration: 250ms;
 }