Bug 1344411 - Lightweight themes are not supported anymore in SeaMonkey. r=IanN a=IanN
--- a/suite/browser/navigator.css
+++ b/suite/browser/navigator.css
@@ -16,16 +16,21 @@
tabbrowser {
-moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser");
}
.tabbrowser-tabs {
-moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-tabs");
}
+.tabbrowser-tab:-moz-lwtheme:not([customization-lwtheme]) {
+ color: var(--lwt-text-color);
+ text-shadow: var(--lwt-accent-color);
+}
+
.tabbrowser-arrowscrollbox {
-moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-arrowscrollbox");
}
.tabs-alltabs-popup {
-moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-alltabs-popup");
}
--- a/suite/common/communicator.css
+++ b/suite/common/communicator.css
@@ -129,24 +129,40 @@ prefwindow[overflow="auto"] prefpane > .
-moz-binding: url("chrome://communicator/content/bindings/general.xml#statusbarpanel-backgroundbox");
}
textbox[enablehistory="true"] > .autocomplete-history-dropmarker {
display: -moz-box;
}
/******* lightweight themes *******/
+:root:-moz-lwtheme {
+ color: var(--lwt-text-color) !important
+}
+
+/**
+ * [customization-lwtheme] may or may not be used yet; we leave it in
+ * in case it moves to toolkit in the future.
+ */
+:root:-moz-lwtheme:not([customization-lwtheme]) {
+ background-color: var(--lwt-accent-color) !important;
+ background-image: var(--lwt-header-image) !important;
+}
+
window[lwtheme="true"] {
background-repeat: no-repeat;
background-position: top right;
+ background-image: var(--lwt-header-image);
}
-statusbar[lwthemefooter="true"] {
+:root[lwthemefooter="true"] #status-bar:-moz-lwtheme {
background-repeat: no-repeat;
background-position: bottom left;
+ background-color: var(--lwt-accent-color);
+ background-image: var(--lwt-header-image);
}
/******* sync *******/
#sync-notifications {
-moz-binding: url("chrome://communicator/content/sync/syncNotification.xml#notificationbox");
overflow-y: visible !important;
}