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

Unified Diff: chrome/browser/resources/md_downloads/downloads.html

Issue 2803653003: MD Downloads: improve early loading shim (Closed)
Patch Set: asdf Created 3 years, 8 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/downloads.html
diff --git a/chrome/browser/resources/md_downloads/downloads.html b/chrome/browser/resources/md_downloads/downloads.html
index c299f81f60a6bd83bba84b61d709156d0c03bdd1..c0ed80e72d61d3915ec230281f82d5dc150fb0f3 100644
--- a/chrome/browser/resources/md_downloads/downloads.html
+++ b/chrome/browser/resources/md_downloads/downloads.html
@@ -1,18 +1,22 @@
<!doctype html>
-<html dir="$i18n{textdirection}" lang="$i18n{language}">
+<html dir="$i18n{textdirection}" lang="$i18n{language}" loading>
<head>
<meta charset="utf-8">
<title>$i18n{title}</title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
- <link rel="stylesheet" href="chrome://resources/css/md_colors.css">
<style>
html {
--downloads-card-margin: 24px;
--downloads-card-width: 640px;
- background: var(--md-background-color);
+ background: #f1f1f1;
}
- html,
+ html[loading] {
esprehn 2017/04/06 03:46:47 .loading, remove the attribute selector. This make
+ /* --google-blue-700 disguised. Replaced when downloads-toolbar loads. */
+ border-top: 56px solid rgb(51, 103, 214);
+ }
+
+ html:not([loading]),
body {
height: 100%;
}
« 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