only make the toolbars in the main toolbox transparent so we don't hork extensions that create vertical toolbars outside that toolbox (like All in One Sidebar)
authorMyk Melez <myk@mozilla.org>
Thu, 02 Apr 2009 11:44:09 -0700
changeset 756 a5266a4f3ef72630c70e7309579c28513e2bbb5e
parent 755 b38457882e47fa0291f11035c75a2df9f23303cc
child 757 9957f6ef804cb0708e6726af940adf0c2b17088a
push id428
push usermyk@mozilla.com
push dateThu, 02 Apr 2009 18:44:44 +0000
only make the toolbars in the main toolbox transparent so we don't hork extensions that create vertical toolbars outside that toolbox (like All in One Sidebar)
client/chrome/skin/linux/personas.css
client/chrome/skin/mac3.0/personas.css
client/chrome/skin/mac3.1/personas.css
client/chrome/skin/vista/personas.css
client/chrome/skin/winxp/personas.css
--- a/client/chrome/skin/linux/personas.css
+++ b/client/chrome/skin/linux/personas.css
@@ -46,24 +46,24 @@
   list-style-image: url("chrome://personas/content/personas_16x16.png");
   -moz-image-region: rect(0, 16px, 16px, 0px);
 }
 
 
 /******************************************************************************/
 /* Header */
 
-#main-window[persona],
-#main-window[persona] toolbar {
+#main-window[persona] {
   -moz-appearance: none;
+  background-repeat: no-repeat;
+  background-position: top right;
 }
 
-#main-window[persona] {
-  background-repeat: no-repeat;
-  background-position: top right;
+#main-window[persona] #navigator-toolbox > toolbar {
+  -moz-appearance: none;
 }
 
 #main-window[persona] #urlbar,
 #main-window[persona] #searchbar,
 #main-window[persona] .tabbrowser-tab {
   opacity: 0.8;
 }
 
--- a/client/chrome/skin/mac3.0/personas.css
+++ b/client/chrome/skin/mac3.0/personas.css
@@ -48,17 +48,17 @@
 #main-window[persona] {
   -moz-appearance: none;
   background-repeat: no-repeat;
   background-position: top right;
 }
 
 /* Make the toolbox and tabs transparent so the image shines through them. */
 #main-window[persona] .tabbrowser-tabs,
-#main-window[persona] toolbar {
+#main-window[persona] #navigator-toolbox > toolbar {
   -moz-appearance: none;
   background-image: none; 
   background-color: transparent;
 }
 
 /* Gray out the window slightly when it's not active. */
 #main-window[persona]:not([active="true"]) > #navigator-toolbox > toolbar,
 #main-window[persona]:not([active="true"]) > #navigator-toolbox > #nav-bar,
--- a/client/chrome/skin/mac3.1/personas.css
+++ b/client/chrome/skin/mac3.1/personas.css
@@ -52,17 +52,17 @@
 }
 
 /* Make the toolbox and tabs transparent so the image shines through them. */
 #main-window[persona] .tabbrowser-tabs {
   -moz-appearance: none;
   background-color: transparent;
   background-image: none !important;
 }
-#main-window[persona] toolbar {
+#main-window[persona] #navigator-toolbox > toolbar {
   -moz-appearance: none;
   background-color: transparent;
   /*background-image: none !important;*/
 }
 
 #main-window[persona] #nav-bar {
   -moz-appearance: none;
   background-image: none; 
--- a/client/chrome/skin/vista/personas.css
+++ b/client/chrome/skin/vista/personas.css
@@ -61,17 +61,17 @@
 /* Anchor the image to the top-right corner of the window. */
 #main-window[persona] {
   -moz-appearance: none;
   background-repeat: no-repeat;
   background-position: top right;
 }
 
 /* Make the toolbox and tabbox transparent so the image shines through them. */
-#main-window[persona] toolbox,
+#main-window[persona] #navigator-toolbox > toolbar,
 #main-window[persona] .tabbrowser-tabs {
   -moz-appearance: none;
   background-color: transparent;
 }
 
 
 /******************************************************************************/
 /* Make some elements a little transparent so the persona flavors their look. */
--- a/client/chrome/skin/winxp/personas.css
+++ b/client/chrome/skin/winxp/personas.css
@@ -61,17 +61,17 @@
 /* Anchor the image to the top-right corner of the window. */
 #main-window[persona] {
   -moz-appearance: none;
   background-repeat: no-repeat;
   background-position: top right;
 }
 
 /* Make the toolbox and tabbox transparent so the image shines through them. */
-#main-window[persona] toolbox,
+#main-window[persona] #navigator-toolbox > toolbar,
 #main-window[persona] .tabbrowser-tabs {
   -moz-appearance: none;
   background-color: transparent;
 }
 
 
 /******************************************************************************/
 /* Make some elements a little transparent so the persona flavors their look. */