sync both themes with toolkit windows theme changes in Mozilla 52 cycle
[themes.git] / EarlyBlue / mozapps / plugins / pluginProblem.css
index adfd81e386d8bea7c62ff98bf1eb15573ddadc48..b1a680f928eaf858a8dffab0a89d1bb70fe868f6 100644 (file)
@@ -6,6 +6,7 @@
 
 /* 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 {
   text-align: center;
   display: table;
   background-color: #CCD0DD;
   color: #000000;
   -moz-user-select: none;
-  position: relative;
 }
 
 .hoverBox {
   display: table-cell;
-  -moz-box-sizing: border-box;
+  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: #CCCCCC;
 }
 
+:-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,
@@ -52,13 +62,6 @@ html|a {
   margin-bottom: 6px;
 }
 
-:-moz-type-unsupported .icon,
-:-moz-type-unsupported-platform .icon {
-  background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
-}
-:-moz-type-unsupported .icon[installable] {
-  background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
-}
 :-moz-handler-vulnerable-updatable .icon,
 :-moz-handler-vulnerable-no-update .icon {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
@@ -71,9 +74,6 @@ html|a {
   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-crashed .icon {
   background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
 }
@@ -84,14 +84,21 @@ html|a {
   margin-left: 5px;
 }
 
+.msgTapToPlay,
+.msgClickToPlay {
+  text-decoration: underline;
+}
+
 @media not all and (-moz-touch-enabled) {
-  :-moz-handler-clicktoplay .msgTapToPlay {
+  :-moz-handler-clicktoplay .msgTapToPlay,
+  a .msgTapToPlay {
     display: none;
   }
 }
 
 @media (-moz-touch-enabled) {
-  :-moz-handler-clicktoplay .msgClickToPlay {
+  :-moz-handler-clicktoplay .msgClickToPlay,
+  a .msgTapToPlay {
     display: none;
   }
 }
@@ -152,22 +159,17 @@ html|a {
 
 .closeIcon {
   display: block;
-  position: absolute;
   width: 16px;
   height: 16px;
-  top: 4px;
-  right: 4px;
+  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;
 }
 
-.mainBox[chromedir="rtl"] .closeIcon {
-  right: auto;
-  left: 4px;
-}
-
 .action-link {
   display: inline-block;
   border-radius: 10px;