Bug 1730916 - Port bug 1723989: Turn off print preview animations when show animations switched off. r=aleca
--HG-- extra : amend_source : b45478c901d4393aa701273a0e28cd34bb433c58 extra : histedit_source : a41d8e90d001dfd2c227269109881672ffe961b8
This commit is contained in:
Родитель
ccca32d20d
Коммит
45fb49c814
|
@ -1571,7 +1571,6 @@ iframe.devtools-highlighter-renderer {
|
||||||
}
|
}
|
||||||
|
|
||||||
.previewRendering {
|
.previewRendering {
|
||||||
background-image: url("chrome://browser/skin/tabbrowser/pendingpaint.png");
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 60px 60px;
|
background-size: 60px 60px;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
|
@ -1588,7 +1587,6 @@ iframe.devtools-highlighter-renderer {
|
||||||
.printPreviewBrowser {
|
.printPreviewBrowser {
|
||||||
visibility: collapse;
|
visibility: collapse;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: opacity 60ms;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.previewStack[previewtype="source"] > .printPreviewBrowser[previewtype="source"],
|
.previewStack[previewtype="source"] > .printPreviewBrowser[previewtype="source"],
|
||||||
|
@ -1599,7 +1597,6 @@ iframe.devtools-highlighter-renderer {
|
||||||
|
|
||||||
.previewStack[rendering=true] > .printPreviewBrowser {
|
.previewStack[rendering=true] > .printPreviewBrowser {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 1ms 250ms;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.print-pending-label {
|
.print-pending-label {
|
||||||
|
@ -1609,12 +1606,10 @@ iframe.devtools-highlighter-renderer {
|
||||||
|
|
||||||
printpreview-pagination {
|
printpreview-pagination {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 100ms 500ms;
|
|
||||||
}
|
}
|
||||||
printpreview-pagination:focus-within,
|
printpreview-pagination:focus-within,
|
||||||
.previewStack:hover printpreview-pagination {
|
.previewStack:hover printpreview-pagination {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: opacity 100ms;
|
|
||||||
}
|
}
|
||||||
.previewStack[rendering=true] printpreview-pagination {
|
.previewStack[rendering=true] printpreview-pagination {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
@ -1627,6 +1622,29 @@ printpreview-pagination:focus-within,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: no-preference) {
|
||||||
|
.previewRendering {
|
||||||
|
background-image: url("chrome://browser/skin/tabbrowser/pendingpaint.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
.printPreviewBrowser {
|
||||||
|
transition: opacity 60ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.previewStack[rendering=true] > .printPreviewBrowser {
|
||||||
|
transition: opacity 1ms 250ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
printpreview-pagination {
|
||||||
|
transition: opacity 100ms 500ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
printpreview-pagination:focus-within,
|
||||||
|
.previewStack:hover printpreview-pagination {
|
||||||
|
transition: opacity 100ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.dialogStack {
|
.dialogStack {
|
||||||
/* Should outrank the z-index values of other UI elements, particularly the devtools
|
/* Should outrank the z-index values of other UI elements, particularly the devtools
|
||||||
splitter element. */
|
splitter element. */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче