port bug 997131 in a way that should work in Firefox 30 as well as 31 and higher...
[themes.git] / LCARStrek / mozapps / plugins / pluginProblem.css
index 32e67ae537f42969eca8aee0967035df1da41b76..d08df231b81eb14d256bdf9138bf6aebe69d142f 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;
@@ -19,7 +20,7 @@
 
 .hoverBox {
   display: table-cell;
-  -moz-box-sizing: border-box;
+  box-sizing: border-box;
   padding: 5px;
   vertical-align: middle;
   width: 100%;
   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,
@@ -85,6 +95,11 @@ html|a {
   margin-left: 5px;
 }
 
+.msgTapToPlay,
+.msgClickToPlay {
+  text-decoration: underline;
+}
+
 @media not all and (-moz-touch-enabled) {
   :-moz-handler-clicktoplay .msgTapToPlay {
     display: none;