Bug 1774965 - [Windows 7 Aero] Show the caption buttons on the correct position. r=aleca a=wsmwk THUNDERBIRD_102_0b8_BUILD1 THUNDERBIRD_102_0b8_RELEASE
authorRichard Marti <richard.marti@gmail.com>
Tue, 21 Jun 2022 13:26:13 +0300
changeset 119057 4d1977bafbfe785c167fee18ff3d96d58761b603
parent 119056 dcff19b8e28f4124e7bcb37507240d8d55ba8062
child 119058 595a6cd8ae892c83d9d7a947751c4301361e8632
push id16167
push usergeoff@darktrojan.net
push dateMon, 27 Jun 2022 23:44:59 +0000
treeherdertry-comm-central@c009af8a32cc [default view] [failures only]
reviewersaleca, wsmwk
bugs1774965
Bug 1774965 - [Windows 7 Aero] Show the caption buttons on the correct position. r=aleca a=wsmwk Differential Revision: https://phabricator.services.mozilla.com/D149784
mail/themes/windows/mail/primaryToolbar.css
--- a/mail/themes/windows/mail/primaryToolbar.css
+++ b/mail/themes/windows/mail/primaryToolbar.css
@@ -246,20 +246,34 @@
     box-shadow: none;
   }
 
   #navigation-toolbox > #toolbar-menubar:not(:-moz-lwtheme) {
     appearance: none;
     border-bottom: 1px solid #aabccf;
   }
 
+  #toolbar-menubar > .titlebar-buttonbox-container {
+    display: none;
+  }
+
   #tabs-toolbar:not(:-moz-lwtheme) {
     position: relative;
   }
 
+  :root[tabsintitlebar] #toolbar-menubar[autohide=true]:not([inactive]) +
+    #tabs-toolbar > .titlebar-buttonbox-container {
+    visibility: visible;
+  }
+
+  :root[tabsintitlebar]:not([chromehidden~="menubar"]) #toolbar-menubar:not([autohide=true]) +
+    #tabs-toolbar > .titlebar-buttonbox-container {
+    display: -moz-box;
+  }
+
   #navigation-toolbox:not(:-moz-lwtheme)::before {
     box-shadow: 0 30px 30px 30px rgba(174, 189, 204, 0.85);
     content: "";
     display: -moz-box;
     margin: 0 60px; /* (30px + 30px) from box-shadow */
     pointer-events: none;
     width: -moz-available;
     z-index: -1;