Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html dir="$i18n{textdirection}" lang="$i18n{language}"> | 2 <html dir="$i18n{textdirection}" lang="$i18n{language}"> |
| 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"> | 7 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> |
| 8 <style> | 8 <style> |
| 9 html { | 9 html { |
| 10 background: var(--md-background-color); | 10 background: var(--md-background-color); |
| 11 } | 11 } |
| 12 | 12 |
| 13 html, | 13 html, |
| 14 body { | 14 body { |
| 15 height: 100%; | 15 height: 100%; |
| 16 } | 16 } |
| 17 | 17 |
| 18 body { | 18 body { |
| 19 display: flex; | 19 display: flex; |
| 20 margin: 0; | 20 margin: 0; |
| 21 } | 21 } |
| 22 | |
| 23 :root { | |
| 24 --downloads-card-margin: 24px; | |
| 25 --downloads-card-width: 622px; | |
|
Dan Beam
2016/09/27 01:25:22
i also renamed this from "downloads-item-width" to
| |
| 26 } | |
| 22 </style> | 27 </style> |
| 23 </head> | 28 </head> |
| 24 <body> | 29 <body> |
| 25 <downloads-manager></downloads-manager> | 30 <downloads-manager></downloads-manager> |
| 26 <if expr="is_macosx"> | 31 <if expr="is_macosx"> |
| 27 <command id="clear-all-command" shortcut="Alt|c Alt|ç"> | 32 <command id="clear-all-command" shortcut="Alt|c Alt|ç"> |
| 28 <command id="undo-command" shortcut="Meta|z"> | 33 <command id="undo-command" shortcut="Meta|z"> |
| 29 <command id="find-command" shortcut="Meta|f"> | 34 <command id="find-command" shortcut="Meta|f"> |
| 30 </if> | 35 </if> |
| 31 <if expr="not is_macosx"> | 36 <if expr="not is_macosx"> |
| 32 <command id="clear-all-command" shortcut="Alt|c"> | 37 <command id="clear-all-command" shortcut="Alt|c"> |
| 33 <command id="undo-command" shortcut="Ctrl|z"> | 38 <command id="undo-command" shortcut="Ctrl|z"> |
| 34 <command id="find-command" shortcut="Ctrl|f"> | 39 <command id="find-command" shortcut="Ctrl|f"> |
| 35 </if> | 40 </if> |
| 36 <link rel="import" href="chrome://resources/html/cr.html"> | 41 <link rel="import" href="chrome://resources/html/cr.html"> |
| 37 <link rel="import" href="chrome://resources/html/polymer.html"> | 42 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 38 <link rel="import" href="chrome://downloads/i18n_setup.html"> | 43 <link rel="import" href="chrome://downloads/i18n_setup.html"> |
| 39 <link rel="import" href="chrome://downloads/manager.html"> | 44 <link rel="import" href="chrome://downloads/manager.html"> |
| 40 <script src="chrome://downloads/downloads.js"></script> | 45 <script src="chrome://downloads/downloads.js"></script> |
| 41 </body> | 46 </body> |
| 42 </html> | 47 </html> |
| OLD | NEW |