Commit 22417560 authored by Rachel Sugrono's avatar Rachel Sugrono Committed by Commit Bot

[quickview] Style the delete-confirm-dialog

The <dialog> element added in CL:2033012 is too dark. We should restyle
it to lighten it up.

Use transparent to allow the cr.ui.dialog background-color: rgba(...)
to control the apparent lightness.

No change in behavior, no new tests.

Bug: 803259
Change-Id: I9a7a4b89419a2cc55d2aa249d17464d8bd523347
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035822
Commit-Queue: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#738088}
parent b0c2f080
...@@ -32,6 +32,10 @@ dialog::backdrop { ...@@ -32,6 +32,10 @@ dialog::backdrop {
opacity: 0.6; opacity: 0.6;
} }
dialog#delete-confirm-dialog::backdrop {
background-color: transparent;
}
.thumbnail { .thumbnail {
flex: none; flex: none;
height: 100%; height: 100%;
......
...@@ -278,7 +278,6 @@ class QuickViewController { ...@@ -278,7 +278,6 @@ class QuickViewController {
// Create a delete confirm dialog if needed. // Create a delete confirm dialog if needed.
if (!this.deleteConfirmDialog_) { if (!this.deleteConfirmDialog_) {
// TODO(crbug.com/803259): style this element to make it lighter.
const dialogElement = document.createElement('dialog'); const dialogElement = document.createElement('dialog');
this.quickView_.shadowRoot.appendChild(dialogElement); this.quickView_.shadowRoot.appendChild(dialogElement);
dialogElement.id = 'delete-confirm-dialog'; dialogElement.id = 'delete-confirm-dialog';
......
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