Bug 1376109 - Consolidate default sidebarheader styling and don't remove its background for lightweight themes. r?nhnt11
MozReview-Commit-ID: CWisvnVYLJc
--- a/browser/themes/shared/sidebar.inc.css
+++ b/browser/themes/shared/sidebar.inc.css
@@ -4,18 +4,16 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
%endif
.sidebar-header,
#sidebar-header {
font-size: 1.333em;
font-weight: lighter;
padding: 8px;
- color: -moz-dialogText;
- text-shadow: none;
}
.sidebar-splitter {
-moz-appearance: none;
border: 0 solid;
border-inline-end-width: 1px;
min-width: 1px;
width: 3px;
--- a/toolkit/themes/linux/global/global.css
+++ b/toolkit/themes/linux/global/global.css
@@ -122,16 +122,18 @@ statusbarpanel {
padding: 0 1px;
}
/* XXXBlake yeah, shoot me -- these don't belong here. I'll move them later. */
sidebarheader {
min-height: 25px;
background-color: -moz-Dialog;
+ color: -moz-dialogText;
+ text-shadow: none;
}
sidebarheader > label {
padding-inline-start: 4px;
}
.toolbar-focustarget {
-moz-user-focus: ignore !important;
@@ -144,20 +146,16 @@ toolbar[mode="text"] .toolbarbutton-text
/* ::::: miscellaneous formatting ::::: */
:root:-moz-lwtheme,
statusbarpanel:-moz-lwtheme {
-moz-appearance: none;
}
-sidebarheader:-moz-lwtheme {
- background: none;
-}
-
:root:-moz-lwtheme-darktext {
text-shadow: 0 -0.5px 1.5px white;
}
:root:-moz-lwtheme-brighttext {
text-shadow: 1px 1px 1.5px black;
}
--- a/toolkit/themes/osx/global/global.css
+++ b/toolkit/themes/osx/global/global.css
@@ -119,16 +119,22 @@ statusbarpanel {
}
.statusbarpanel-iconic {
padding: 0px;
}
/* ::::: miscellaneous formatting ::::: */
+sidebarheader {
+ background-color: -moz-Dialog;
+ color: -moz-dialogText;
+ text-shadow: none;
+}
+
:root:-moz-lwtheme {
-moz-appearance: none;
}
:root:-moz-lwtheme-darktext {
text-shadow: 0 -0.5px 1.5px white;
}
--- a/toolkit/themes/windows/global/global.css
+++ b/toolkit/themes/windows/global/global.css
@@ -131,16 +131,18 @@ statusbarpanel:not(.statusbar-resizerpan
padding: 0 1px;
}
/* XXXBlake yeah, shoot me -- these don't belong here. I'll move them later. */
sidebarheader {
min-height: 25px;
background-color: -moz-Dialog;
+ color: -moz-dialogText;
+ text-shadow: none;
-moz-appearance: toolbox;
border-bottom: 1px solid ThreeDShadow;
border-top: 1px solid ThreeDHighlight;
}
sidebarheader > label {
padding-inline-start: 4px;
}
@@ -163,18 +165,17 @@ toolbar[mode="text"] .toolbarbutton-text
:root:-moz-lwtheme-darktext {
text-shadow: 0 -0.5px 1.5px white;
}
:root:-moz-lwtheme-brighttext {
text-shadow: 1px 1px 1.5px black;
}
-statusbar:-moz-lwtheme,
-sidebarheader:-moz-lwtheme {
+statusbar:-moz-lwtheme {
-moz-appearance: none;
background: none;
border-style: none;
}
.inset {
border: 1px solid ThreeDShadow;
border-right-color: ThreeDHighlight;