From: Robert Kaiser Date: Sun, 8 Jul 2012 20:20:58 +0000 (+0200) Subject: sync both themes with toolkit winstripe changes in Mozilla 14 X-Git-Tag: LCARStrek-2.11~8 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=c60d23d202dd9e6ec3e47e1c54e20329d0afb68b;p=themes.git sync both themes with toolkit winstripe changes in Mozilla 14 --- diff --git a/EarlyBlue/global/TopLevelImageDocument.css b/EarlyBlue/global/TopLevelImageDocument.css new file mode 100644 index 00000000..31f2662a --- /dev/null +++ b/EarlyBlue/global/TopLevelImageDocument.css @@ -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 index 00000000..0d5dabdd --- /dev/null +++ b/EarlyBlue/global/TopLevelVideoDocument.css @@ -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; +} diff --git a/EarlyBlue/global/notification.css b/EarlyBlue/global/notification.css index 08d54c30..9ade78d4 100644 --- a/EarlyBlue/global/notification.css +++ b/EarlyBlue/global/notification.css @@ -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 index 00000000..2702cc4d Binary files /dev/null and b/EarlyBlue/mozapps/plugins/contentPluginClickToPlay.png differ diff --git a/EarlyBlue/mozapps/plugins/pluginProblem.css b/EarlyBlue/mozapps/plugins/pluginProblem.css index e5efea31..23d0f40e 100644 --- a/EarlyBlue/mozapps/plugins/pluginProblem.css +++ b/EarlyBlue/mozapps/plugins/pluginProblem.css @@ -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 index 00000000..31f2662a --- /dev/null +++ b/LCARStrek/global/TopLevelImageDocument.css @@ -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 index 00000000..0d5dabdd --- /dev/null +++ b/LCARStrek/global/TopLevelVideoDocument.css @@ -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; +} diff --git a/LCARStrek/global/notification.css b/LCARStrek/global/notification.css index bf7b4dc5..b4b541f1 100644 --- a/LCARStrek/global/notification.css +++ b/LCARStrek/global/notification.css @@ -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 index 00000000..892c5f7c Binary files /dev/null and b/LCARStrek/mozapps/plugins/contentPluginClickToPlay.png differ diff --git a/LCARStrek/mozapps/plugins/pluginProblem.css b/LCARStrek/mozapps/plugins/pluginProblem.css index 98e325b2..1a04f071 100644 --- a/LCARStrek/mozapps/plugins/pluginProblem.css +++ b/LCARStrek/mozapps/plugins/pluginProblem.css @@ -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) */ }