Bug 1028942 - Fix 'Translate' button border on OSX. r=florian a=lmandel
authorSteven MacLeod <smacleod@mozilla.com>
Fri, 27 Jun 2014 15:10:08 -0400
changeset 208621 c96dec196ae61cbf527e9f32b9bb43955106ba96
parent 208620 5d619b544f5a6b0e0045bcb0bf3bf5a40c9fe19b
child 208622 5b44fa1cea34cbc7218d590b23128bd03a265899
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian, lmandel
bugs1028942
milestone32.0a2
Bug 1028942 - Fix 'Translate' button border on OSX. r=florian a=lmandel
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -3613,17 +3613,16 @@ notification[value="translation"] {
 }
 
 .translate-infobar-element {
   margin-top: 0 !important;
   margin-bottom: 0 !important;
 }
 
 button.translate-infobar-element {
-  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)) repeat scroll 0% 0% padding-box transparent;
   color: #333333;
   border: 1px solid;
   border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2);
   box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5) inset, 0px 1px 0px rgba(255, 255, 255, 0.2);
   transition-property: background-color, border-color, box-shadow;
   transition-duration: 150ms;
   min-height: 22px;
   min-width: 0;
@@ -3637,17 +3636,16 @@ button.translate-infobar-element .button
   margin-right: 0 !important;
 }
 
 label.translate-infobar-element {
   padding-top: 2px;
 }
 
 button.translate-infobar-element:hover {
-  background: #f0f0f0;
   box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset,  0 0 0 1px hsla(0,0%,100%,.05) inset,  0 1px 0 hsla(210,54%,20%,.01),  0 0 4px hsla(206,100%,20%,.1);
 }
 
 button.translate-infobar-element:active {
   box-shadow: 0 1px 1px hsla(211,79%,6%,.1) inset,  0 0 1px hsla(211,79%,6%,.2) inset;
   transition-duration: 0ms;
 }
 
@@ -3658,16 +3656,24 @@ button.translate-infobar-element[anonid=
   border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2);
   padding: 0 1.1em  !important;;
 }
 
 button.translate-infobar-element[anonid="translate"]:hover {
   background-image: linear-gradient(#66bdff, #0d9eff);
 }
 
+button.translate-infobar-element[anonid="notNow"] {
+  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)) repeat scroll 0% 0% padding-box transparent;
+}
+
+button.translate-infobar-element[anonid="notNow"]:hover {
+  background: #f0f0f0;
+}
+
 button.translate-infobar-element.options-menu-button {
   -moz-padding-start: 0.5em !important;
   -moz-padding-end: 0.3em !important;
 }
 
 button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
   display: -moz-box;
   list-style-image: url("chrome://browser/skin/toolbarbutton-dropmarker.png");