Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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"> | |
| 3 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht ml"> | |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> | |
| 5 <link rel="import" href="chrome://bookmarks/shared_style.html"> | |
| 6 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> | |
| 7 | |
| 8 <dom-module id="bookmarks-toolbar"> | |
| 9 <template> | |
| 10 <style include="shared-style"> | |
| 11 button.more-actions { | |
| 12 -webkit-margin-end: 4px; | |
|
tsergeant
2016/12/28 23:51:50
Oops, I made a couple of mistakes in my last revie
angelayang
2016/12/29 02:53:34
Done.
| |
| 13 } | |
| 14 | |
| 15 button.more-vert-button div { | |
| 16 border-color: white; | |
| 17 } | |
| 18 | |
| 19 cr-toolbar { | |
|
tsergeant
2016/12/28 23:51:50
and add back in the line
--cr-toolbar-field-margi
angelayang
2016/12/29 02:53:34
Done.
| |
| 20 background: var(--md-toolbar-color); | |
| 21 } | |
| 22 | |
| 23 :host-context([dir=rtl]) cr-toolbar { | |
|
tsergeant
2016/12/28 23:51:50
You can delete this block as well.
angelayang
2016/12/29 02:53:34
Done.
| |
| 24 --cr-toolbar-right-content-wide: { | |
| 25 position: absolute; | |
| 26 left: 0; | |
| 27 }; | |
| 28 } | |
| 29 </style> | |
| 30 <dialog is="cr-action-menu" id="dropdown"> | |
| 31 <button class="dropdown-item" on-tap="onBulkEditTap_"> | |
| 32 $i18n{menuBulkEdit} | |
| 33 </button> | |
| 34 <button class="dropdown-item" on-tap="onSortTap_"> | |
| 35 $i18n{menuSort} | |
| 36 </button> | |
| 37 <hr> | |
| 38 <button class="dropdown-item" on-tap="onAddBookmarkTap_"> | |
| 39 $i18n{menuAddBookmark} | |
| 40 </button> | |
| 41 <button class="dropdown-item" on-tap="onAddFolderTap_"> | |
| 42 $i18n{menuAddFolder} | |
| 43 </button> | |
| 44 <hr> | |
| 45 <button class="dropdown-item" on-tap="onImportTap_"> | |
| 46 $i18n{menuImport} | |
| 47 </button> | |
| 48 <button class="dropdown-item" on-tap="onExportTap_"> | |
| 49 $i18n{menuExport} | |
| 50 </button> | |
| 51 </dialog> | |
| 52 <cr-toolbar page-name="$i18n{title}" | |
| 53 clear-label="$i18n{clearSearch}" | |
| 54 search-prompt="$i18n{searchPrompt}"> | |
| 55 <button is="paper-icon-button-light" class="more-actions more-vert-button" | |
| 56 on-tap="onMenuButtonOpenTap_"> | |
| 57 <div></div> | |
| 58 <div></div> | |
| 59 <div></div> | |
| 60 </button> | |
| 61 </cr-toolbar> | |
| 62 </template> | |
| 63 <script src="chrome://bookmarks/toolbar.js"></script> | |
| 64 </dom-module> | |
| OLD | NEW |