| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> | 4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_se
lection_overlay.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_se
lection_overlay.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 7 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> | 7 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> |
| 8 <link rel="import" href="chrome://bookmarks/shared_style.html"> | 8 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
| 9 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> | 9 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> |
| 10 | 10 |
| 11 <dom-module id="bookmarks-toolbar"> | 11 <dom-module id="bookmarks-toolbar"> |
| 12 <template> | 12 <template> |
| 13 <style include="shared-style"> | 13 <style include="shared-style"> |
| 14 :host { | 14 :host { |
| 15 background: var(--md-toolbar-color); | 15 background: var(--md-toolbar-color); |
| 16 color: #fff; | |
| 17 transition: background-color 150ms; | 16 transition: background-color 150ms; |
| 18 } | 17 } |
| 19 | 18 |
| 20 :host([show-selection-overlay]) { | 19 :host([show-selection-overlay]) { |
| 21 background: var(--interactive-color); | 20 background: var(--interactive-color); |
| 22 } | 21 } |
| 23 | 22 |
| 24 button.more-actions { | 23 button.more-actions { |
| 25 margin: 4px; | 24 margin: 4px; |
| 26 } | 25 } |
| 27 | 26 |
| 28 button.more-vert-button div { | 27 button.more-vert-button div { |
| 29 border-color: white; | 28 border-color: white; |
| 30 } | 29 } |
| 31 | 30 |
| 32 cr-toolbar, | 31 cr-toolbar, |
| 33 cr-toolbar-selection-overlay { | 32 cr-toolbar-selection-overlay { |
| 33 color: #fff; |
| 34 flex: 1; | 34 flex: 1; |
| 35 } | 35 } |
| 36 | 36 |
| 37 cr-toolbar { | 37 cr-toolbar { |
| 38 --cr-toolbar-field-margin: | 38 --cr-toolbar-field-margin: |
| 39 calc(var(--sidebar-width) + var(--splitter-width)); | 39 calc(var(--sidebar-width) + var(--splitter-width)); |
| 40 } | 40 } |
| 41 | 41 |
| 42 :host(:not([narrow_])) cr-toolbar-selection-overlay { | 42 :host(:not([narrow_])) cr-toolbar-selection-overlay { |
| 43 --selection-overlay-padding: var(--card-padding-side); | 43 --selection-overlay-padding: var(--card-padding-side); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 <template is="dom-if" if="[[showSelectionOverlay]]"> | 86 <template is="dom-if" if="[[showSelectionOverlay]]"> |
| 87 <cr-toolbar-selection-overlay delete-label="$i18n{delete}" | 87 <cr-toolbar-selection-overlay delete-label="$i18n{delete}" |
| 88 cancel-label="$i18n{cancel}" | 88 cancel-label="$i18n{cancel}" |
| 89 selection-label="[[getItemsSelectedString_(selectedCount_)]]" | 89 selection-label="[[getItemsSelectedString_(selectedCount_)]]" |
| 90 on-clear-selected-items="onClearSelectionTap_"> | 90 on-clear-selected-items="onClearSelectionTap_"> |
| 91 </cr-toolbar-selection-overlay> | 91 </cr-toolbar-selection-overlay> |
| 92 </template> | 92 </template> |
| 93 </template> | 93 </template> |
| 94 <script src="chrome://bookmarks/toolbar.js"></script> | 94 <script src="chrome://bookmarks/toolbar.js"></script> |
| 95 </dom-module> | 95 </dom-module> |
| OLD | NEW |