Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: chrome/browser/resources/md_downloads/item.css

Issue 1301723002: MD Downloads: update "expanded" (i.e. in progress) cards (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dep Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/item.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/item.css
diff --git a/chrome/browser/resources/md_downloads/item.css b/chrome/browser/resources/md_downloads/item.css
index 695bc45b784ffcc026622a8a46f4e82fbcbf26ba..dad605ece35911b0c1f7dfc39621228338cc4a62 100644
--- a/chrome/browser/resources/md_downloads/item.css
+++ b/chrome/browser/resources/md_downloads/item.css
@@ -70,6 +70,12 @@
width: 32px;
}
+#content.show-progress #file-icon-wrapper {
+ /* TODO(dbeam): animate from top-aligned to centered when items finish? */
+ align-self: flex-start;
+ padding-top: 16px;
+}
+
#content:not(.is-active) .icon {
-webkit-filter: grayscale(100%);
}
@@ -144,9 +150,8 @@
width: auto;
}
-/* TODO(dbeam): open up a CSS mixin instead in Polymer. */
-#progress /deep/ #progressContainer {
- border-radius: 2px;
+#content:not(.show-progress) #progress {
+ display: none;
}
#cancel,
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698