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

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

Issue 1300473002: MD Download: add "Nothing to see here..." empty downloads message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: less flicker? 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
Index: chrome/browser/resources/md_downloads/manager.css
diff --git a/chrome/browser/resources/md_downloads/manager.css b/chrome/browser/resources/md_downloads/manager.css
index 5a26ca4b7fb524e8f8f31c45aba9aa3fb069bffc..fafb0b59d6e5d73856e10a6465abc77b6b521b93 100644
--- a/chrome/browser/resources/md_downloads/manager.css
+++ b/chrome/browser/resources/md_downloads/manager.css
@@ -15,3 +15,32 @@
flex-basis: 670px;
}
}
+
+#panel {
+ --paper-header-panel-standard-container: {
+ display: flex;
+ };
+}
+
+#no-downloads,
+#downloads-list {
+ flex: 1;
+}
+
+.loading :-webkit-any(#no-downloads, #downloads-list) {
+ display: none;
+}
+
+#no-downloads {
+ align-items: center;
+ color: #b4b4b4;
+ display: flex;
+ font-size: 107.69%;
+ justify-content: center;
+}
+
+#no-downloads .illustration {
+ content: -webkit-image-set(url(1x/no_downloads.png) 1x,
+ url(2x/no_downloads.png) 2x);
+ margin-bottom: 32px;
+}
« no previous file with comments | « chrome/browser/resources/md_downloads/2x/no_downloads.png ('k') | chrome/browser/resources/md_downloads/manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698