sync both themes with toolkit windows/shared theme changes in Mozilla 26
[themes.git] / LCARStrek / mozapps / plugins / pluginProblem.css
index 98e325b2595fc027be6ab097c440310c0614e31a..126b538875abe7c9309be27100c56ad02c7d84a0 100644 (file)
@@ -1,16 +1,49 @@
+/* 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. */
 
 .mainBox {
   text-align: center;
+  display: table;
+  width: 100%;
+  height: 100%;
   background-color: #000000;
   color: #FFCF00;
-  border-radius: 12px;
-  /* recessed effect with 'disabled' shadow */
-  box-shadow: inset 0 1px 5px #8050B0;
-  padding: 5px;
   -moz-user-select: none;
+  position: relative;
+}
+
+.hoverBox {
+  display: table-cell;
+  -moz-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: #404000;
+}
+
+:-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: #FF0000;
+}
+
+:-moz-handler-vulnerable-updatable .hoverBox,
+:-moz-handler-vulnerable-no-update .hoverBox,
+:-moz-handler-blocked .hoverBox,
+:-moz-handler-crashed .hoverBox {
 }
 
 html|a {
@@ -18,26 +51,39 @@ html|a {
 }
 
 .icon {
-  min-width: 48px;
-  min-height: 48px;
+  width: 48px;
+  height: 48px;
   background-position: center;
   background-repeat: no-repeat;
+  border: none;
+  background-color: transparent;
+  -moz-user-focus: ignore;
+  margin-bottom: 6px;
 }
-:-moz-type-unsupported .icon {
+
+:-moz-type-unsupported .icon,
+:-moz-type-unsupported-platform .icon {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
 }
-:-moz-type-unsupported .icon[status="ready"] {
+:-moz-type-unsupported .icon[installable] {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
 }
+:-moz-handler-clicktoplay .icon,
+:-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/contentPluginMissing.png");
+  background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
+  -moz-user-focus: normal;
 }
 :-moz-handler-disabled .icon {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png");
 }
-:-moz-handler-blocked .icon {
-  background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
-}
 :-moz-handler-crashed .icon {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
 }
@@ -48,18 +94,61 @@ html|a {
   margin-left: 5px;
 }
 
-.msg {
-  font-size: 12px;
-  cursor: default;
+.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) */
 }
 
-.msgBottomLinks {
-  padding-left: 2px;
-  padding-right: 2px;
+.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 {
@@ -68,4 +157,53 @@ html|a {
   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;
+  position: absolute;
+  width: 16px;
+  height: 16px;
+  top: 4px;
+  right: 4px;
+  border: none;
+  background-color: transparent;
+  background-image: url("mozapps/skin/plugins/contentPluginClose.png");
+  background-repeat: no-repeat;
+}
+
+.mainBox[chromedir="rtl"] .closeIcon(rtl) {
+  right: auto;
+  left: 4px;
+}
+
+.closeIcon:hover,
+.closeIcon:hover:active {
+  background-position: -16px 0;
+}
+
+.action-link {
+  display: inline-block;
+  border-radius: 10px;
+  background-color: #C09070;
+  color: #000000;
+  padding: 2px 8px;
+  margin-top: 7px;
+  text-decoration: none;
+}
+.action-link:active {
+  background-color: #FFCF00;
+}
+
+:-moz-handler-vulnerable-updatable .action-link {
+  background-color: #a81b0c;
+}
+:-moz-handler-vulnerable-updatable .action-link:active {
+  background-color: #801409;
 }