Commit 39778d08 authored by Luciano Pacheco's avatar Luciano Pacheco Committed by Commit Bot

Change Dialog background color only when it's visible

This fixes the perception to users that the dialog is taking too long
to disappear.

Test: No change in behavior, so current test suite should cover it. Additionally, manually tested file manager file deletion confirmation.
Bug: 883659
Change-Id: I414a7282f70a64c0826954ef850a16e0bc37182e
Reviewed-on: https://chromium-review.googlesource.com/1242725Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595703}
parent 0823d6a7
...@@ -193,9 +193,11 @@ html[dir='rtl'] .entry-name { ...@@ -193,9 +193,11 @@ html[dir='rtl'] .entry-name {
} }
/* Pop-up dialogs. */ /* Pop-up dialogs. */
.cr-dialog-container.shown {
background-color: rgba(0, 0, 0, 0.6);
}
.cr-dialog-container { .cr-dialog-container {
background-color: rgba(0, 0, 0, 0.6);
display: flex; display: flex;
height: 100%; height: 100%;
left: 0; left: 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment