зеркало из https://github.com/mozilla/pjs.git
Bug 582706 - [regression] Escape key broken by bug 581561 [r=mfinkle]
This commit is contained in:
Родитель
d97adba7dc
Коммит
70ee0fc428
|
@ -672,7 +672,7 @@ var BrowserUI = {
|
|||
|
||||
// Check open modal elements
|
||||
let modalElementsLength = document.getElementsByClassName("modal-block").length;
|
||||
if (modalElementsLength > 0)
|
||||
if (modalElementsLength > 0)
|
||||
return;
|
||||
|
||||
// Check open panel
|
||||
|
|
|
@ -507,7 +507,7 @@
|
|||
<spacer flex="1000"/>
|
||||
</vbox>
|
||||
|
||||
<hbox id="context-container" class="window-width window-height modal-block" top="0" left="0" hidden="true">
|
||||
<hbox id="context-container" class="window-width window-height context-block" top="0" left="0" hidden="true">
|
||||
<vbox id="context-popup" class="dialog-dark">
|
||||
<hbox id="context-header">
|
||||
<label id="context-hint" crop="center" flex="1"/>
|
||||
|
|
|
@ -1323,9 +1323,3 @@ pageaction .pageaction-desc[value=""] {
|
|||
#context-commands > richlistitem:hover:active {
|
||||
background: #8db8d8;
|
||||
}
|
||||
|
||||
.modal-block {
|
||||
-moz-box-align: center;
|
||||
-moz-box-pack: center;
|
||||
background-color: rgba(128, 128, 128, 0.5);
|
||||
}
|
||||
|
|
|
@ -110,7 +110,11 @@ textbox[isempty="true"] {
|
|||
}
|
||||
|
||||
/* prompt dialogs ---------------------------------------------------------- */
|
||||
.context-block,
|
||||
.modal-block {
|
||||
-moz-box-align: center;
|
||||
-moz-box-pack: center;
|
||||
background-color: rgba(128, 128, 128, 0.5);
|
||||
padding: 64px;
|
||||
}
|
||||
|
||||
|
@ -149,6 +153,7 @@ dialog .prompt-title {
|
|||
}
|
||||
|
||||
@media (max-width: 499px) {
|
||||
.context-block,
|
||||
.modal-block {
|
||||
padding: 32px;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче