Bug 1052466 - [10.10] Update titlebar/toolbar to use transparency on OS X Yosemite, r=mstange,f=gijs
authorWesley Johnston <wjohnston@mozilla.com>
Sun, 19 Oct 2014 00:53:00 +0100
changeset 215422 6bb4109d3f5e765fb8457c0a0a57949326241e17
parent 215421 4135739250597c7c54a56847e6f6b85596e7bc99
child 215423 693bf9b91b64d0f28801344682c0b22d1cfd77f4
push id9940
push usergijskruitbosch@gmail.com
push dateThu, 13 Nov 2014 10:17:30 +0000
treeherderfx-team@6bb4109d3f5e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1052466
milestone36.0a1
Bug 1052466 - [10.10] Update titlebar/toolbar to use transparency on OS X Yosemite, r=mstange,f=gijs
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -97,16 +97,22 @@
     margin-left: 7px;
   }
 }
 
 #main-window:not(:-moz-lwtheme) > #titlebar {
   -moz-appearance: -moz-window-titlebar;
 }
 
+@media (-moz-mac-yosemite-theme) {
+  #main-window:not(:-moz-lwtheme) > #titlebar {
+    -moz-appearance: -moz-mac-vibrancy-light;
+  }
+}
+
 #main-window:not([tabsintitlebar]) > #titlebar {
   height: 22px; /* The native titlebar on OS X is 22px tall. */
 }
 
 /**
  * For tabs in titlebar on OS X, we stretch the titlebar down so that the
  * tabstrip can overlap it.
  */