| OLD | NEW |
| 1 <link rel="import" href="chrome://downloads/action_service.html"> | 1 <link rel="import" href="chrome://downloads/action_service.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html"> |
| 2 <link rel="import" href="chrome://resources/html/assert.html"> | 3 <link rel="import" href="chrome://resources/html/assert.html"> |
| 3 <link rel="import" href="chrome://resources/html/cr.html"> | 4 <link rel="import" href="chrome://resources/html/cr.html"> |
| 4 <link rel="import" href="chrome://resources/html/polymer.html"> | 5 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 5 <link rel="import" href="chrome://resources/html/util.html"> | 6 <link rel="import" href="chrome://resources/html/util.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 9 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 10 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
| 10 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> | 11 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> |
| 11 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 12 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 12 | 13 |
| 13 <dom-module id="downloads-toolbar"> | 14 <dom-module id="downloads-toolbar"> |
| 14 <template> | 15 <template> |
| 15 <style> | 16 <style include="cr-hidden-style"> |
| 16 :host { | 17 :host { |
| 17 align-items: center; | 18 align-items: center; |
| 18 background: var(--google-blue-700); | 19 background: var(--google-blue-700); |
| 19 color: white; | 20 color: white; |
| 20 display: flex; | 21 display: flex; |
| 21 min-height: 56px; | 22 min-height: 56px; |
| 22 } | 23 } |
| 23 | 24 |
| 24 [hidden] { | |
| 25 display: none !important; | |
| 26 } | |
| 27 | |
| 28 #toolbar { | 25 #toolbar { |
| 29 --cr-toolbar-field-width: var(--downloads-card-width); | 26 --cr-toolbar-field-width: var(--downloads-card-width); |
| 30 flex: 1; | 27 flex: 1; |
| 31 } | 28 } |
| 32 | 29 |
| 33 #moreActions { | 30 #moreActions { |
| 34 --iron-icon-height: 20px; | 31 --iron-icon-height: 20px; |
| 35 --iron-icon-width: 20px; | 32 --iron-icon-width: 20px; |
| 36 height: 32px; | 33 height: 32px; |
| 37 padding: 6px; | 34 padding: 6px; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 54 $i18n{clearAll} | 51 $i18n{clearAll} |
| 55 </div> | 52 </div> |
| 56 <button class="dropdown-item" on-tap="onOpenDownloadsFolderTap_" | 53 <button class="dropdown-item" on-tap="onOpenDownloadsFolderTap_" |
| 57 role="menuitem"> | 54 role="menuitem"> |
| 58 $i18n{openDownloadsFolder} | 55 $i18n{openDownloadsFolder} |
| 59 </button> | 56 </button> |
| 60 </dialog> | 57 </dialog> |
| 61 </template> | 58 </template> |
| 62 <script src="chrome://downloads/toolbar.js"></script> | 59 <script src="chrome://downloads/toolbar.js"></script> |
| 63 </dom-module> | 60 </dom-module> |
| OLD | NEW |