Bug 1412430 - Move light theme tabstrip vibrancy rule to MacOS-specific stylesheet. r=dao draft
authorNihanth Subramanya <nhnt11@gmail.com>
Sat, 28 Oct 2017 03:16:11 +0530
changeset 688165 b63dc2ef2f20a6da5457e9797029cd5662267af6
parent 687940 d58424c244c38f88357a26fb61c333d3c6e552d7
child 737799 c5d0230294c3f0b19546961c4fb68e5afbf1258e
push id86673
push usernhnt11@gmail.com
push dateSat, 28 Oct 2017 13:00:02 +0000
reviewersdao
bugs1412430
milestone58.0a1
Bug 1412430 - Move light theme tabstrip vibrancy rule to MacOS-specific stylesheet. r=dao MozReview-Commit-ID: F9bWOE5dGHE
browser/themes/osx/compacttheme.css
browser/themes/shared/compacttheme.inc.css
--- a/browser/themes/osx/compacttheme.css
+++ b/browser/themes/osx/compacttheme.css
@@ -4,8 +4,12 @@
 
 %include ../shared/compacttheme.inc.css
 
 /* Get rid of 1px bright strip at the top of window */
 #main-window[tabsintitlebar] #titlebar-content {
   background: var(--chrome-background-color);
 }
 
+#TabsToolbar:-moz-lwtheme-darktext {
+  -moz-appearance: -moz-mac-vibrancy-light;
+  -moz-font-smoothing-background-color: -moz-mac-vibrancy-light;
+}
--- a/browser/themes/shared/compacttheme.inc.css
+++ b/browser/themes/shared/compacttheme.inc.css
@@ -70,20 +70,16 @@ toolbar[brighttext] .toolbarbutton-1 {
 /* Change the base colors for the browser chrome */
 
 #TabsToolbar,
 #browser-panel {
   background: var(--chrome-background-color);
   color: var(--chrome-color);
 }
 
-#TabsToolbar:-moz-lwtheme-darktext {
-  -moz-appearance: -moz-mac-vibrancy-light;
-}
-
 #navigator-toolbox > toolbar:not(#TabsToolbar):not(#toolbar-menubar),
 .browserContainer > findbar,
 #browser-bottombox {
   background-color: var(--chrome-secondary-background-color) !important;
   background-image: none !important;
   color: var(--chrome-color);
 }