From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- toolkit/themes/mobile/global/empty.css | 7 + toolkit/themes/mobile/global/icons/Error.png | Bin 0 -> 2148 bytes .../mobile/global/media/TopLevelImageDocument.css | 17 ++ .../mobile/global/media/TopLevelVideoDocument.css | 12 ++ .../mobile/global/media/clicktoplay-bgtexture.png | Bin 0 -> 1751 bytes toolkit/themes/mobile/global/media/error.png | Bin 0 -> 433 bytes .../mobile/global/media/imagedoc-darknoise.png | Bin 0 -> 3050 bytes .../mobile/global/media/imagedoc-lightnoise.png | Bin 0 -> 4025 bytes toolkit/themes/mobile/global/media/throbber.png | Bin 0 -> 30718 bytes .../mobile/global/media/videoClickToPlayButton.svg | 30 ++++ toolkit/themes/mobile/jar.mn | 55 ++++++ toolkit/themes/mobile/moz.build | 7 + .../mozapps/plugins/contentPluginActivate.png | Bin 0 -> 3043 bytes .../mozapps/plugins/contentPluginBlocked.png | Bin 0 -> 1514 bytes .../mobile/mozapps/plugins/contentPluginClose.png | Bin 0 -> 1370 bytes .../mozapps/plugins/contentPluginCrashed.png | Bin 0 -> 1470 bytes .../mozapps/plugins/contentPluginDisabled.png | Bin 0 -> 1620 bytes .../mobile/mozapps/plugins/contentPluginStripe.png | Bin 0 -> 460 bytes .../mobile/mozapps/plugins/pluginProblem.css | 196 +++++++++++++++++++++ 19 files changed, 324 insertions(+) create mode 100644 toolkit/themes/mobile/global/empty.css create mode 100644 toolkit/themes/mobile/global/icons/Error.png create mode 100644 toolkit/themes/mobile/global/media/TopLevelImageDocument.css create mode 100644 toolkit/themes/mobile/global/media/TopLevelVideoDocument.css create mode 100644 toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png create mode 100644 toolkit/themes/mobile/global/media/error.png create mode 100644 toolkit/themes/mobile/global/media/imagedoc-darknoise.png create mode 100644 toolkit/themes/mobile/global/media/imagedoc-lightnoise.png create mode 100644 toolkit/themes/mobile/global/media/throbber.png create mode 100644 toolkit/themes/mobile/global/media/videoClickToPlayButton.svg create mode 100644 toolkit/themes/mobile/jar.mn create mode 100644 toolkit/themes/mobile/moz.build create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/pluginProblem.css (limited to 'toolkit/themes/mobile') diff --git a/toolkit/themes/mobile/global/empty.css b/toolkit/themes/mobile/global/empty.css new file mode 100644 index 0000000000..d615bf8862 --- /dev/null +++ b/toolkit/themes/mobile/global/empty.css @@ -0,0 +1,7 @@ +/* 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/. */ + +/* + * Empty stub for theme CSS + */ diff --git a/toolkit/themes/mobile/global/icons/Error.png b/toolkit/themes/mobile/global/icons/Error.png new file mode 100644 index 0000000000..bd4064f49a Binary files /dev/null and b/toolkit/themes/mobile/global/icons/Error.png differ diff --git a/toolkit/themes/mobile/global/media/TopLevelImageDocument.css b/toolkit/themes/mobile/global/media/TopLevelImageDocument.css new file mode 100644 index 0000000000..5242175161 --- /dev/null +++ b/toolkit/themes/mobile/global/media/TopLevelImageDocument.css @@ -0,0 +1,17 @@ +/* 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 { + /* N.B.: Remember to update ImageDocument.css in the tree or reftests may fail! */ + + body { + color: #eee; + background-image: url("chrome://global/skin/media/imagedoc-darknoise.png"); + } + + img.transparent { + background: hsl(0,0%,90%) url("chrome://global/skin/media/imagedoc-lightnoise.png"); + color: #222; + } +} diff --git a/toolkit/themes/mobile/global/media/TopLevelVideoDocument.css b/toolkit/themes/mobile/global/media/TopLevelVideoDocument.css new file mode 100644 index 0000000000..760cdcd538 --- /dev/null +++ b/toolkit/themes/mobile/global/media/TopLevelVideoDocument.css @@ -0,0 +1,12 @@ +/* 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-image: url("chrome://global/skin/media/imagedoc-darknoise.png"); + background-color: rgb(33,33,33); /* Average color of that ^ image. */ +} + +video { + box-shadow: 0 0 15px #000; +} diff --git a/toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png b/toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png new file mode 100644 index 0000000000..0d3cacd117 Binary files /dev/null and b/toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png differ diff --git a/toolkit/themes/mobile/global/media/error.png b/toolkit/themes/mobile/global/media/error.png new file mode 100644 index 0000000000..58e37283a7 Binary files /dev/null and b/toolkit/themes/mobile/global/media/error.png differ diff --git a/toolkit/themes/mobile/global/media/imagedoc-darknoise.png b/toolkit/themes/mobile/global/media/imagedoc-darknoise.png new file mode 100644 index 0000000000..5c33e24d4c Binary files /dev/null and b/toolkit/themes/mobile/global/media/imagedoc-darknoise.png differ diff --git a/toolkit/themes/mobile/global/media/imagedoc-lightnoise.png b/toolkit/themes/mobile/global/media/imagedoc-lightnoise.png new file mode 100644 index 0000000000..3467cf4d47 Binary files /dev/null and b/toolkit/themes/mobile/global/media/imagedoc-lightnoise.png differ diff --git a/toolkit/themes/mobile/global/media/throbber.png b/toolkit/themes/mobile/global/media/throbber.png new file mode 100644 index 0000000000..8e49fe5b2a Binary files /dev/null and b/toolkit/themes/mobile/global/media/throbber.png differ diff --git a/toolkit/themes/mobile/global/media/videoClickToPlayButton.svg b/toolkit/themes/mobile/global/media/videoClickToPlayButton.svg new file mode 100644 index 0000000000..f7ca6b6535 --- /dev/null +++ b/toolkit/themes/mobile/global/media/videoClickToPlayButton.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/toolkit/themes/mobile/jar.mn b/toolkit/themes/mobile/jar.mn new file mode 100644 index 0000000000..62f8893494 --- /dev/null +++ b/toolkit/themes/mobile/jar.mn @@ -0,0 +1,55 @@ +# 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/. + +toolkit.jar: +% skin global classic/1.0 %skin/classic/global/ +# These are the CSS files that must exist + skin/classic/global/autocomplete.css (global/empty.css) + skin/classic/global/button.css (global/empty.css) + skin/classic/global/checkbox.css (global/empty.css) + skin/classic/global/dialog.css (global/empty.css) + skin/classic/global/dropmarker.css (global/empty.css) + skin/classic/global/global.css (global/empty.css) + skin/classic/global/groupbox.css (global/empty.css) + skin/classic/global/listbox.css (global/empty.css) + skin/classic/global/menu.css (global/empty.css) + skin/classic/global/menulist.css (global/empty.css) + skin/classic/global/numberbox.css (global/empty.css) + skin/classic/global/popup.css (global/empty.css) + skin/classic/global/preferences.css (global/empty.css) + skin/classic/global/progressmeter.css (global/empty.css) + skin/classic/global/radio.css (global/empty.css) + skin/classic/global/resizer.css (global/empty.css) + skin/classic/global/richlistbox.css (global/empty.css) + skin/classic/global/scale.css (global/empty.css) + skin/classic/global/scrollbox.css (global/empty.css) + skin/classic/global/spinbuttons.css (global/empty.css) + skin/classic/global/splitter.css (global/empty.css) + skin/classic/global/tabbox.css (global/empty.css) + skin/classic/global/textbox.css (global/empty.css) + skin/classic/global/toolbar.css (global/empty.css) + skin/classic/global/toolbarbutton.css (global/empty.css) + skin/classic/global/tree.css (global/empty.css) + skin/classic/global/wizard.css (global/empty.css) + skin/classic/global/scrollbars.css (global/empty.css) + + skin/classic/global/media/clicktoplay-bgtexture.png (global/media/clicktoplay-bgtexture.png) + skin/classic/global/media/error.png (global/media/error.png) + skin/classic/global/media/throbber.png (global/media/throbber.png) + skin/classic/global/media/videoClickToPlayButton.svg (global/media/videoClickToPlayButton.svg) + skin/classic/global/media/TopLevelImageDocument.css (global/media/TopLevelImageDocument.css) + skin/classic/global/media/TopLevelVideoDocument.css (global/media/TopLevelVideoDocument.css) + skin/classic/global/media/imagedoc-lightnoise.png (global/media/imagedoc-lightnoise.png) + skin/classic/global/media/imagedoc-darknoise.png (global/media/imagedoc-darknoise.png) + + skin/classic/global/icons/Error.png (global/icons/Error.png) + +% skin mozapps classic/1.0 %skin/classic/mozapps/ + skin/classic/mozapps/plugins/pluginProblem.css (mozapps/plugins/pluginProblem.css) + + skin/classic/mozapps/plugins/contentPluginActivate.png (mozapps/plugins/contentPluginActivate.png) + skin/classic/mozapps/plugins/contentPluginBlocked.png (mozapps/plugins/contentPluginBlocked.png) + skin/classic/mozapps/plugins/contentPluginClose.png (mozapps/plugins/contentPluginClose.png) + skin/classic/mozapps/plugins/contentPluginCrashed.png (mozapps/plugins/contentPluginCrashed.png) + skin/classic/mozapps/plugins/contentPluginStripe.png (mozapps/plugins/contentPluginStripe.png) diff --git a/toolkit/themes/mobile/moz.build b/toolkit/themes/mobile/moz.build new file mode 100644 index 0000000000..aac3a838c4 --- /dev/null +++ b/toolkit/themes/mobile/moz.build @@ -0,0 +1,7 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +JAR_MANIFESTS += ['jar.mn'] diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png new file mode 100644 index 0000000000..31351dc3b7 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png new file mode 100644 index 0000000000..1e092bf189 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png new file mode 100644 index 0000000000..61eb558288 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png new file mode 100644 index 0000000000..89d3e91a99 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png new file mode 100644 index 0000000000..b8b6a10205 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png new file mode 100644 index 0000000000..6035ee1215 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css b/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css new file mode 100644 index 0000000000..e436b96cf1 --- /dev/null +++ b/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css @@ -0,0 +1,196 @@ +/* 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/. */ + +@namespace html url(http://www.w3.org/1999/xhtml); + +/* These styles affect only the bound element, not other page content. */ +/* Keep any changes to these styles in sync with plugin-doorhanger.inc.css */ +.mainBox { + font: message-box; + font-size: 12px; + text-align: center; + display: table; + width: 100%; + height: 100%; + background-color: rgb(72,72,72); + color: white; + -moz-user-select: none; +} + +.hoverBox { + display: table-cell; + box-sizing: border-box; + padding: 5px; + vertical-align: middle; + width: 100%; + height: 100%; +} +:-moz-handler-vulnerable-updatable .hoverBox:active, +:-moz-handler-vulnerable-no-update .hoverBox:active, +:-moz-handler-clicktoplay .hoverBox:active { + background-color: rgb(65, 65, 65); +} + +:-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay, +:-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay, +:-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay, +:-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay, +:-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay, +:-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay { + color: red; +} + +:-moz-handler-vulnerable-updatable .hoverBox, +:-moz-handler-vulnerable-no-update .hoverBox, +:-moz-handler-blocked .hoverBox, +:-moz-handler-crashed .hoverBox { + background-image: url(chrome://mozapps/skin/plugins/contentPluginStripe.png); +} + +html|a { + color: white; +} + +.icon { + width: 48px; + height: 48px; + background-position: center; + background-repeat: no-repeat; + border: none; + background-color: transparent; + -moz-user-focus: ignore; + margin-bottom: 6px; +} + +:-moz-handler-vulnerable-updatable .icon, +:-moz-handler-vulnerable-no-update .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png); + -moz-user-focus: normal; +} +:-moz-handler-blocked .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png); +} +:-moz-handler-clicktoplay .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginActivate.png); + -moz-user-focus: normal; +} +:-moz-handler-crashed .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginCrashed.png); +} + +.throbber { + padding-left: 16px; /* width of the background image */ + background: url(chrome://global/skin/icons/loading.png) no-repeat; + margin-left: 5px; +} + +.msgTapToPlay, +.msgClickToPlay { + text-decoration: underline; +} + +@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) */ +} + +.submitComment { + width: 340px; + height: 70px; + padding: 5px; + border: none; + border-radius: 5px; + resize: none; + font-family: inherit; + font-size: inherit; +} + +.submitURLOptInBox { + text-align: start; +} + +.submitURLOptIn { + margin-left: -1px; +} + +.mainBox[chromedir="rtl"] .submitURLOptIn { + margin-left: 0; + margin-right: -1px; +} + +.submitButtonBox { + margin-top: 7px; +} + +.submitButton { + float: right; +} + +.mainBox[chromedir="rtl"] .submitButton { + float: left; +} + +.helpIcon { + display: inline-block; + min-width: 16px; + min-height: 16px; + background: url(chrome://mozapps/skin/plugins/pluginHelp-16.png) no-repeat; + cursor: pointer; + float: left; +} + +.mainBox[chromedir="rtl"] .helpIcon { + float: right; +} + +.closeIcon { + display: block; + width: 16px; + height: 16px; + margin-top: 4px; + margin-inline-start: -20px; + margin-inline-end: 4px; + border: none; + background-color: transparent; + background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png"); + background-repeat: no-repeat; +} + +.closeIcon:hover { + background-position: -16px 0; +} + +.closeIcon:hover:active { + background-position: -32px 0; +} + +.action-link { + display: inline-block; + border-radius: 10px; + background-color: rgb(35, 35, 35); + padding: 2px 8px; + margin-top: 7px; + text-decoration: none; +} +.action-link:active { + background-color: rgb(20, 20, 20); +} + +:-moz-handler-vulnerable-updatable .action-link { + background-color: #a81b0c; +} +:-moz-handler-vulnerable-updatable .action-link:active { + background-color: #801409; +} -- cgit v1.2.3