Bug 1558633 - Make it possible again to apply the dark theme to the folderPane-toolbar menulist. r=aleca DONTBUILD
authorRichard Marti <richard.marti@gmail.com>
Tue, 11 Jun 2019 22:57:24 +0200
changeset 35838 d350f0aa49d51d0b606a7325f69a46ca54f9dac6
parent 35837 f7a7d54671d68475cc8541e909b9143a5cc7c1e7
child 35839 08f782cdbba08eac23bd41d5638e600b331db091
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersaleca
bugs1558633
Bug 1558633 - Make it possible again to apply the dark theme to the folderPane-toolbar menulist. r=aleca DONTBUILD
mail/themes/linux/mail/messenger.css
mail/themes/linux/mail/primaryToolbar.css
mail/themes/osx/mail/primaryToolbar.css
mail/themes/windows/mail/messenger.css
mail/themes/windows/mail/primaryToolbar.css
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -95,17 +95,17 @@ toolbar[brighttext] {
 .contentTabToolbox[brighttext],
 #header-view-toolbar[brighttext],
 #ab-toolbox > toolbar[brighttext],
 .mail-toolbox > toolbar[brighttext],
 #event-toolbox > toolbar[brighttext],
 #compose-toolbox > toolbar[brighttext],
 #headers-box > toolbar[brighttext],
 #FormatToolbox > toolbar[brighttext],
-#folderPane-toolbox > toolbar[brighttext] {
+:root[lwt-tree-brighttext] #folderPane-toolbar {
   --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, rgba(255, 255, 255, .25));
   --toolbarbutton-hover-bordercolor: var(--lwt-toolbarbutton-hover-background, rgba(255, 255, 255, .5));
   --toolbarbutton-header-bordercolor: var(--lwt-toolbarbutton-hover-background, rgba(255, 255, 255, .25));
 
   --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, rgba(255, 255, 255, .4));
   --toolbarbutton-active-bordercolor: var(--lwt-toolbarbutton-active-background, rgba(255, 255, 255, .7));
   --toolbarbutton-active-boxshadow: 0 0 0 1px var(--lwt-toolbarbutton-active-background, rgba(255, 255, 255, .4)) inset;
 
--- a/mail/themes/linux/mail/primaryToolbar.css
+++ b/mail/themes/linux/mail/primaryToolbar.css
@@ -180,17 +180,16 @@
 
 toolbar[mode="text"] .button-appmenu .toolbarbutton-icon {
   display: -moz-box;
 }
 
 #folderPane-toolbar > .toolbarbutton-1,
 #folderPane-toolbar > toolbaritem > menulist {
   margin: 0;
-  border: none;
 }
 
 /* Force the folder location and mail view items to fit in the available width
    in the Customize Toolbar dialog. */
 #palette-box #locationFolders,
 #palette-box #folder-location-container,
 #palette-box #folderpane-mode-selector,
 #palette-box #viewPicker {
--- a/mail/themes/osx/mail/primaryToolbar.css
+++ b/mail/themes/osx/mail/primaryToolbar.css
@@ -215,17 +215,16 @@ toolbar:not([mode="text"]) .badgeButton-
 
 toolbar[mode="text"] .button-appmenu .toolbarbutton-icon {
   display: -moz-box;
 }
 
 #folderPane-toolbar > .toolbarbutton-1,
 #folderPane-toolbar > toolbaritem > menulist {
   margin: 0;
-  border: none;
 }
 
 /* Force the folder location and mail view items to fit in the available width
    in the Customize Toolbar dialog. */
 #palette-box #locationFolders,
 #palette-box #folder-location-container,
 #palette-box #folderpane-mode-selector,
 #palette-box #viewPicker {
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -118,18 +118,18 @@ toolbar[brighttext] {
 }
 
 .contentTabToolbox[brighttext],
 #header-view-toolbar[brighttext],
 #ab-toolbox > toolbar[brighttext],
 .mail-toolbox > toolbar[brighttext],
 #event-toolbox > toolbar[brighttext],
 #compose-toolbox > toolbar[brighttext],
-#folderPane-toolbox > toolbar[brighttext],
-#navigation-toolbox > toolbar[brighttext] {
+#navigation-toolbox > toolbar[brighttext],
+:root[lwt-tree-brighttext] #folderPane-toolbar {
   --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, rgba(255, 255, 255, .25));
   --toolbarbutton-hover-bordercolor: var(--lwt-toolbarbutton-hover-background, rgba(255, 255, 255, .5));
   --toolbarbutton-header-bordercolor: var(--lwt-toolbarbutton-hover-background, rgba(255, 255, 255, .25));
 
   --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, rgba(255, 255, 255, .4));
   --toolbarbutton-active-bordercolor: var(--lwt-toolbarbutton-active-background, rgba(255, 255, 255, .7));
   --toolbarbutton-active-boxshadow: 0 0 0 1px var(--lwt-toolbarbutton-active-background, rgba(255, 255, 255, .4)) inset;
 
--- a/mail/themes/windows/mail/primaryToolbar.css
+++ b/mail/themes/windows/mail/primaryToolbar.css
@@ -174,17 +174,16 @@
 
 toolbar[mode="text"] .button-appmenu .toolbarbutton-icon {
   display: -moz-box;
 }
 
 #folderPane-toolbar > .toolbarbutton-1,
 #folderPane-toolbar > toolbaritem > menulist {
   margin: 0;
-  border: none;
 }
 
 /* Force the folder location and mail view items to fit in the available width
    in the Customize Toolbar dialog. */
 #palette-box #locationFolders,
 #palette-box #folder-location-container,
 #palette-box #folderpane-mode-selector,
 #palette-box #viewPicker {