commit | 0d69b6b5d6dd36313a35b07f0912379499e32fc3 | [log] [tgz] |
---|---|---|
author | Dan Beam <dbeam@chromium.org> | Wed Jan 09 22:46:19 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 09 22:46:19 2019 |
tree | 3edb0f1c2ac7edddd8ddb56aa1f0d9895b23c307 | |
parent | 59ec9ad1528347e6b2d7146966437bb89c5e9169 [diff] |
Dark Mode: change downloads paper-progress colors Spec: https://docs.google.com/presentation/d/1kJoBzf_HGYK-_FAJPAjD67TW8224dCPLA6dAhlDmysk/edit#slide=id.g4a64df24f4_20_0 R=aee@chromium.org BUG=883049 Change-Id: Ice71c5ff0a9e640343a3c602154f410386944d72 Reviewed-on: https://chromium-review.googlesource.com/c/1403347 Reviewed-by: Esmael El-Moslimany <aee@chromium.org> Commit-Queue: Dan Beam <dbeam@chromium.org> Cr-Commit-Position: refs/heads/master@{#621344}
diff --git a/chrome/browser/resources/md_downloads/item.html b/chrome/browser/resources/md_downloads/item.html index c2c9079..658d1ae0 100644 --- a/chrome/browser/resources/md_downloads/item.html +++ b/chrome/browser/resources/md_downloads/item.html
@@ -100,7 +100,7 @@ text-decoration: line-through; } - :host-context([dark]) #content:not(.is-active) #name { + :host-context([dark]) #content:not(.is-active) :-webkit-any(#name, #tag) { color: var(--google-grey-500); } @@ -193,11 +193,17 @@ } #progress { + /* TODO(dbeam): border-radius on container and progress bar. */ --paper-progress-active-color: var(--google-blue-600); --paper-progress-container-color: rgb(223, 222, 223); width: auto; } + :host-context([dark]) #progress { + --paper-progress-active-color: var(--google-blue-300); + --paper-progress-container-color: var(--google-grey-800); + } + #show { margin: .7em 0; }