Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: chrome/browser/resources/md_bookmarks/toolbar.html

Issue 2745593004: [MD Bookmarks] Add draggable sidebar. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_toolbar/cr_toolbar.ht ml"> 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"> 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"> 5 <link rel="import" href="chrome://bookmarks/shared_style.html">
6 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> 6 <link rel="stylesheet" href="chrome://resources/css/md_colors.css">
7 7
8 <dom-module id="bookmarks-toolbar"> 8 <dom-module id="bookmarks-toolbar">
9 <template> 9 <template>
10 <style include="shared-style"> 10 <style include="shared-style">
11 button.more-actions { 11 button.more-actions {
12 margin: 4px; 12 margin: 4px;
13 } 13 }
14 14
15 button.more-vert-button div { 15 button.more-vert-button div {
16 border-color: white; 16 border-color: white;
17 } 17 }
18 18
19 cr-toolbar { 19 cr-toolbar {
20 --cr-toolbar-field-margin: var(--sidebar-width); 20 --cr-toolbar-field-margin:
21 calc(var(--sidebar-width) + var(--splitter-width));
21 background: var(--md-toolbar-color); 22 background: var(--md-toolbar-color);
22 } 23 }
23 </style> 24 </style>
24 <dialog is="cr-action-menu" id="dropdown"> 25 <dialog is="cr-action-menu" id="dropdown">
25 <button class="dropdown-item" on-tap="onBulkEditTap_"> 26 <button class="dropdown-item" on-tap="onBulkEditTap_">
26 $i18n{menuBulkEdit} 27 $i18n{menuBulkEdit}
27 </button> 28 </button>
28 <button class="dropdown-item" on-tap="onSortTap_"> 29 <button class="dropdown-item" on-tap="onSortTap_">
29 $i18n{menuSort} 30 $i18n{menuSort}
30 </button> 31 </button>
(...skipping 19 matching lines...) Expand all
50 <button is="paper-icon-button-light" class="more-actions more-vert-button" 51 <button is="paper-icon-button-light" class="more-actions more-vert-button"
51 on-tap="onMenuButtonOpenTap_"> 52 on-tap="onMenuButtonOpenTap_">
52 <div></div> 53 <div></div>
53 <div></div> 54 <div></div>
54 <div></div> 55 <div></div>
55 </button> 56 </button>
56 </cr-toolbar> 57 </cr-toolbar>
57 </template> 58 </template>
58 <script src="chrome://bookmarks/toolbar.js"></script> 59 <script src="chrome://bookmarks/toolbar.js"></script>
59 </dom-module> 60 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/sidebar.html ('k') | chrome/browser/resources/md_bookmarks/toolbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698