mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-01 21:07:30 +09:00
palemoon#583 and #1071: Fix: Plugin placeholder image/text (ask to activate) missing + overlay
https://github.com/MoonchildProductions/Pale-Moon/pull/583 https://github.com/MoonchildProductions/Pale-Moon/pull/1071
This commit is contained in:
parent
82205cf721
commit
003a5d157d
3 changed files with 13 additions and 2 deletions
|
|
@ -19,6 +19,11 @@ object:-moz-handler-crashed,
|
||||||
object:-moz-handler-clicktoplay,
|
object:-moz-handler-clicktoplay,
|
||||||
object:-moz-handler-vulnerable-updatable,
|
object:-moz-handler-vulnerable-updatable,
|
||||||
object:-moz-handler-vulnerable-no-update {
|
object:-moz-handler-vulnerable-no-update {
|
||||||
|
%ifdef MC_PALEMOON
|
||||||
|
/* Initialize the overlay with visibility:hidden to prevent flickering if
|
||||||
|
* the plugin is too small to show the overlay */
|
||||||
|
visibility: hidden;
|
||||||
|
%endif
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ a .mainBox:focus,
|
||||||
line-height: initial;
|
line-height: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%ifndef MC_PALEMOON
|
||||||
/* Initialize the overlay with visibility:hidden to prevent flickering if
|
/* Initialize the overlay with visibility:hidden to prevent flickering if
|
||||||
* the plugin is too small to show the overlay */
|
* the plugin is too small to show the overlay */
|
||||||
.mainBox > .hoverBox,
|
.mainBox > .hoverBox,
|
||||||
|
|
@ -62,6 +63,7 @@ a .mainBox:focus,
|
||||||
.visible > .closeIcon {
|
.visible > .closeIcon {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
.mainBox[chromedir="rtl"] {
|
.mainBox[chromedir="rtl"] {
|
||||||
direction: rtl;
|
direction: rtl;
|
||||||
|
|
@ -97,6 +99,10 @@ a .msgTapToPlay,
|
||||||
:-moz-handler-blocked .msgBlocked,
|
:-moz-handler-blocked .msgBlocked,
|
||||||
:-moz-handler-crashed .msgCrashed {
|
:-moz-handler-crashed .msgCrashed {
|
||||||
display: block;
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submitStatus[status] {
|
.submitStatus[status] {
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@
|
||||||
toolkit.jar:
|
toolkit.jar:
|
||||||
% content pluginproblem %pluginproblem/ contentaccessible=yes
|
% content pluginproblem %pluginproblem/ contentaccessible=yes
|
||||||
pluginproblem/pluginProblem.xml (content/pluginProblem.xml)
|
pluginproblem/pluginProblem.xml (content/pluginProblem.xml)
|
||||||
pluginproblem/pluginProblemContent.css (content/pluginProblemContent.css)
|
* pluginproblem/pluginProblemContent.css (content/pluginProblemContent.css)
|
||||||
pluginproblem/pluginProblemBinding.css (content/pluginProblemBinding.css)
|
* pluginproblem/pluginProblemBinding.css (content/pluginProblemBinding.css)
|
||||||
pluginproblem/pluginReplaceBinding.css (content/pluginReplaceBinding.css)
|
pluginproblem/pluginReplaceBinding.css (content/pluginReplaceBinding.css)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue