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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/item.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html dir="$i18n{textdirection}" lang="$i18n{language}"> 2 <html dir="$i18n{textdirection}" lang="$i18n{language}" loading>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>$i18n{title}</title> 5 <title>$i18n{title}</title>
6 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> 6 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
7 <link rel="stylesheet" href="chrome://resources/css/md_colors.css">
8 <style> 7 <style>
9 html { 8 html {
10 --downloads-card-margin: 24px; 9 --downloads-card-margin: 24px;
11 --downloads-card-width: 640px; 10 --downloads-card-width: 640px;
12 background: var(--md-background-color); 11 background: #f1f1f1;
13 } 12 }
14 13
15 html, 14 html[loading] {
esprehn 2017/04/06 03:46:47 .loading, remove the attribute selector. This make
15 /* --google-blue-700 disguised. Replaced when downloads-toolbar loads. */
16 border-top: 56px solid rgb(51, 103, 214);
17 }
18
19 html:not([loading]),
16 body { 20 body {
17 height: 100%; 21 height: 100%;
18 } 22 }
19 23
20 body { 24 body {
21 display: flex; 25 display: flex;
22 margin: 0; 26 margin: 0;
23 } 27 }
24 </style> 28 </style>
25 </head> 29 </head>
26 <body> 30 <body>
27 <downloads-manager></downloads-manager> 31 <downloads-manager></downloads-manager>
28 <if expr="is_macosx"> 32 <if expr="is_macosx">
29 <command id="clear-all-command" shortcut="Alt|c Alt|ç"> 33 <command id="clear-all-command" shortcut="Alt|c Alt|ç">
30 <command id="undo-command" shortcut="Meta|z"> 34 <command id="undo-command" shortcut="Meta|z">
31 <command id="find-command" shortcut="Meta|f"> 35 <command id="find-command" shortcut="Meta|f">
32 </if> 36 </if>
33 <if expr="not is_macosx"> 37 <if expr="not is_macosx">
34 <command id="clear-all-command" shortcut="Alt|c"> 38 <command id="clear-all-command" shortcut="Alt|c">
35 <command id="undo-command" shortcut="Ctrl|z"> 39 <command id="undo-command" shortcut="Ctrl|z">
36 <command id="find-command" shortcut="Ctrl|f"> 40 <command id="find-command" shortcut="Ctrl|f">
37 </if> 41 </if>
38 <link rel="import" href="chrome://resources/html/cr.html"> 42 <link rel="import" href="chrome://resources/html/cr.html">
39 <link rel="import" href="chrome://resources/html/polymer.html"> 43 <link rel="import" href="chrome://resources/html/polymer.html">
40 <link rel="import" href="chrome://downloads/i18n_setup.html"> 44 <link rel="import" href="chrome://downloads/i18n_setup.html">
41 <link rel="import" href="chrome://downloads/manager.html"> 45 <link rel="import" href="chrome://downloads/manager.html">
42 <script src="chrome://downloads/downloads.js"></script> 46 <script src="chrome://downloads/downloads.js"></script>
43 </body> 47 </body>
44 </html> 48 </html>
OLDNEW
« 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