blob: 05a625d0f349264f13bd98fff32984db56aadd2c [file] [log] [blame]
<!doctype html>
<html dir="$i18n{textdirection}" lang="$i18n{language}" class="loading"
$i18n{dark}>
<head>
<meta charset="utf-8">
<if expr="not optimize_webui">
<base href="chrome://downloads">
</if>
<title>$i18n{title}</title>
<link rel="stylesheet" href="chrome://resources/css/md_colors.css">
<style>
html {
background: var(--md-background-color);
/* Remove 300ms delay for 'click' event, when using touch interface. */
touch-action: manipulation;
}
html.loading::before {
background-color: var(--md-toolbar-color);
border-bottom: var(--md-toolbar-border);
box-sizing: border-box;
content: '';
display: block;
height: var(--md-toolbar-height);
}
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">
</if>
<if expr="not is_macosx">
<command id="clear-all-command" shortcut="Alt|c">
<command id="undo-command" shortcut="Ctrl|z">
</if>
<script src="chrome://resources/polymer/v1_0/html-imports/html-imports.min.js">
</script>
<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="i18n_setup.html">
<link rel="import" href="manager.html">
<script src="downloads.js"></script>
<link rel="import" href="chrome://resources/html/dark_mode.html">
</body>
</html>