| <!doctype html> |
| <html dir="$i18n{textdirection}" lang="$i18n{language}" class="loading" |
| $i18n{dark}> |
| <head> |
| <meta charset="utf-8"> |
| <title>$i18n{title}</title> |
| <style> |
| html { |
| --toolbar-height: 56px; |
| background: rgb(248, 249, 250); |
| /* Remove 300ms delay for 'click' event, when using touch interface. */ |
| touch-action: manipulation; |
| } |
| |
| html[dark] { |
| background: rgb(32, 33, 36); /* --google-grey-900 */ |
| } |
| |
| html[dark].loading { |
| border-top: 1px solid rgb(95, 99, 104); /* --google-grey-refresh-700 */ |
| margin-top: var(--toolbar-height); |
| } |
| |
| html:not([dark]).loading { |
| /* --google-blue-700 disguised. Replaced when downloads-toolbar loads. */ |
| border-top: var(--toolbar-height) solid rgb(51, 103, 214); |
| } |
| |
| html:not(.loading), |
| body { |
| height: 100%; |
| } |
| |
| body { |
| display: flex; |
| margin: 0; |
| } |
| </style> |
| </head> |
| <body> |
| <downloads-manager></downloads-manager> |
| <if expr="is_macosx"> |
| <command id="clear-all-command" shortcut="Alt|c Alt|รง"> |
| <command id="undo-command" shortcut="Meta|z"> |
| <command id="find-command" shortcut="Meta|f"> |
| </if> |
| <if expr="not is_macosx"> |
| <command id="clear-all-command" shortcut="Alt|c"> |
| <command id="undo-command" shortcut="Ctrl|z"> |
| <command id="find-command" shortcut="Ctrl|f"> |
| </if> |
| <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> |
| <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> |
| <link rel="import" href="chrome://resources/html/cr.html"> |
| <link rel="import" href="chrome://resources/html/polymer.html"> |
| <link rel="import" href="chrome://downloads/i18n_setup.html"> |
| <link rel="import" href="chrome://downloads/manager.html"> |
| <script src="chrome://downloads/downloads.js"></script> |
| <link rel="import" href="chrome://resources/html/dark_mode.html"> |
| </body> |
| </html> |