Bug 1446764 - Port bug 1439834 to TB: Make #TabsToolbar transparent when styled #titlebar (-moz-window-titlebar) should be shown. r=aceman a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sun, 18 Mar 2018 14:06:28 +0100
changeset 31334 e5edad8a84687a03acfb6ae36a7bd38c5bd10f20
parent 31333 4015d523cc726429103d2506ea561e7c9f58e429
child 31335 3a4f54410a545bb3303d7e73aeecd89972a07bba
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersaceman, jorgk
bugs1446764, 1439834
Bug 1446764 - Port bug 1439834 to TB: Make #TabsToolbar transparent when styled #titlebar (-moz-window-titlebar) should be shown. r=aceman a=jorgk
mail/themes/linux/mail/messenger.css
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -108,16 +108,24 @@ toolbar[brighttext] {
 
   :root[tabsintitlebar][sizemode="normal"] > #titlebar {
     -moz-appearance: -moz-window-titlebar;
   }
   :root[tabsintitlebar][sizemode="maximized"] > #titlebar {
     -moz-appearance: -moz-window-titlebar-maximized;
   }
 
+  /* Make #TabsToolbar transparent as we style underlying #titlebar with
+      * -moz-window-titlebar (Gtk+ theme).
+      */
+  :root[tabsintitlebar] #tabs-toolbar,
+  :root[tabsintitlebar] #mail-toolbar-menubar2 {
+    -moz-appearance: none;
+  }
+
   /* The button box must appear on top of the navigator-toolbox in order for
    * click and hover mouse events to work properly for the button in the restored
    * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
    * can swallow those events.
    */
   #titlebar-buttonbox {
     position: relative;
     z-index: 1;