sync both themes with toolkit winstripe changes in Mozilla 14
authorRobert Kaiser <robert@widebook.box.kairo.at>
Sun, 8 Jul 2012 20:20:58 +0000 (22:20 +0200)
committerRobert Kaiser <robert@widebook.box.kairo.at>
Sun, 8 Jul 2012 20:20:58 +0000 (22:20 +0200)
EarlyBlue/global/TopLevelImageDocument.css [new file with mode: 0644]
EarlyBlue/global/TopLevelVideoDocument.css [new file with mode: 0644]
EarlyBlue/global/notification.css
EarlyBlue/mozapps/plugins/contentPluginClickToPlay.png [new file with mode: 0644]
EarlyBlue/mozapps/plugins/pluginProblem.css
LCARStrek/global/TopLevelImageDocument.css [new file with mode: 0644]
LCARStrek/global/TopLevelVideoDocument.css [new file with mode: 0644]
LCARStrek/global/notification.css
LCARStrek/mozapps/plugins/contentPluginClickToPlay.png [new file with mode: 0644]
LCARStrek/mozapps/plugins/pluginProblem.css

diff --git a/EarlyBlue/global/TopLevelImageDocument.css b/EarlyBlue/global/TopLevelImageDocument.css
new file mode 100644 (file)
index 0000000..31f2662
--- /dev/null
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+@media not print {
+  body {
+    background-color: #222;
+  }
+
+  img {
+    color: #eee;
+  }
+}
diff --git a/EarlyBlue/global/TopLevelVideoDocument.css b/EarlyBlue/global/TopLevelVideoDocument.css
new file mode 100644 (file)
index 0000000..0d5dabd
--- /dev/null
@@ -0,0 +1,11 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+body {
+  background-color: #333;
+}
+
+video {
+  box-shadow: 0 0 15px #000;
+}
index 08d54c30838a40a4f9d1e56d29a6ab9cf8f6fb20..9ade78d40ff84bf9dca903d31adb6b2776ef18f0 100644 (file)
@@ -27,14 +27,15 @@ notification[type="critical"] {
 
 /* Default icons for notifications */
 
-notification[type="info"] .messageImage {
+.messageImage[type="info"] {
   list-style-image: url("chrome://global/skin/icons/information-16.png");
 }
-notification[type="warning"] .messageImage {
+
+.messageImage[type="warning"] {
   list-style-image: url("chrome://global/skin/icons/warning-16.png");
 }
 
-notification[type="critical"] .messageImage {
+.messageImage[type="critical"] {
   list-style-image: url("chrome://global/skin/icons/error-16.png");
 }
 
diff --git a/EarlyBlue/mozapps/plugins/contentPluginClickToPlay.png b/EarlyBlue/mozapps/plugins/contentPluginClickToPlay.png
new file mode 100644 (file)
index 0000000..2702cc4
Binary files /dev/null and b/EarlyBlue/mozapps/plugins/contentPluginClickToPlay.png differ
index e5efea317d5eb03658dbd6e5a74e1837115f8fee..23d0f40e8fa92807d4ce48193d3c8bd4ccf0b13f 100644 (file)
@@ -30,7 +30,7 @@ html|a {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
 }
 :-moz-handler-clicktoplay .icon {
-  background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
+  background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlay.png");
 }
 :-moz-handler-disabled .icon {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png");
@@ -53,6 +53,23 @@ html|a {
   cursor: default;
 }
 
+:-moz-handler-clicktoplay,
+.msgClickToPlay {
+  cursor: pointer;
+}
+
+@media not all and (-moz-touch-enabled) {
+  :-moz-handler-clicktoplay .msgTapToPlay {
+    display: none;
+  }
+}
+
+@media (-moz-touch-enabled) {
+  :-moz-handler-clicktoplay .msgClickToPlay {
+    display: none;
+  }
+}
+
 .submitStatus div {
   min-height: 19px; /* height of biggest line (with throbber) */
 }
diff --git a/LCARStrek/global/TopLevelImageDocument.css b/LCARStrek/global/TopLevelImageDocument.css
new file mode 100644 (file)
index 0000000..31f2662
--- /dev/null
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+@media not print {
+  body {
+    background-color: #222;
+  }
+
+  img {
+    color: #eee;
+  }
+}
diff --git a/LCARStrek/global/TopLevelVideoDocument.css b/LCARStrek/global/TopLevelVideoDocument.css
new file mode 100644 (file)
index 0000000..0d5dabd
--- /dev/null
@@ -0,0 +1,11 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+body {
+  background-color: #333;
+}
+
+video {
+  box-shadow: 0 0 15px #000;
+}
index bf7b4dc5d389f66b77233aad485d2a9817e11d66..b4b541f133ae170ea41dc5896f86d821e4dabc93 100644 (file)
@@ -24,14 +24,15 @@ notification[type="critical"] {
 
 /* Default icons for notifications */
 
-notification[type="info"] .messageImage {
+.messageImage[type="info"] {
   list-style-image: url("chrome://global/skin/icons/information-16.png");
 }
-notification[type="warning"] .messageImage {
+
+.messageImage[type="warning"] {
   list-style-image: url("chrome://global/skin/icons/warning-16.png");
 }
 
-notification[type="critical"] .messageImage {
+.messageImage[type="critical"] {
   list-style-image: url("chrome://global/skin/icons/error-16.png");
 }
 
diff --git a/LCARStrek/mozapps/plugins/contentPluginClickToPlay.png b/LCARStrek/mozapps/plugins/contentPluginClickToPlay.png
new file mode 100644 (file)
index 0000000..892c5f7
Binary files /dev/null and b/LCARStrek/mozapps/plugins/contentPluginClickToPlay.png differ
index 98e325b2595fc027be6ab097c440310c0614e31a..1a04f071c01e725cd7d85bd2f26b593f1a74dcea 100644 (file)
@@ -30,7 +30,7 @@ html|a {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
 }
 :-moz-handler-clicktoplay .icon {
-  background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
+  background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlay.png");
 }
 :-moz-handler-disabled .icon {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png");
@@ -53,6 +53,23 @@ html|a {
   cursor: default;
 }
 
+:-moz-handler-clicktoplay,
+.msgClickToPlay {
+  cursor: pointer;
+}
+
+@media not all and (-moz-touch-enabled) {
+  :-moz-handler-clicktoplay .msgTapToPlay {
+    display: none;
+  }
+}
+
+@media (-moz-touch-enabled) {
+  :-moz-handler-clicktoplay .msgClickToPlay {
+    display: none;
+  }
+}
+
 .submitStatus div {
   min-height: 19px; /* height of biggest line (with throbber) */
 }