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

Side by Side Diff: chrome/browser/resources/md_bookmarks/list.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_dialog/cr_dialog.html "> 3 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> 4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.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://resources/polymer/v1_0/paper-input/paper-input .html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
9 <link rel="import" href="chrome://bookmarks/item.html"> 9 <link rel="import" href="chrome://bookmarks/item.html">
10 <link rel="import" href="chrome://bookmarks/shared_style.html"> 10 <link rel="import" href="chrome://bookmarks/shared_style.html">
11 <link rel="import" href="chrome://bookmarks/store_client.html"> 11 <link rel="import" href="chrome://bookmarks/store_client.html">
12 <link rel="import" href="chrome://bookmarks/util.html"> 12 <link rel="import" href="chrome://bookmarks/util.html">
13 13
14 <dom-module id="bookmarks-list"> 14 <dom-module id="bookmarks-list">
15 <template> 15 <template>
16 <style include="shared-style cr-shared-style"> 16 <style include="shared-style cr-shared-style">
17 :host { 17 :host {
18 padding: 20px 32px; 18 overflow-y: auto;
19 padding: 20px 32px 20px calc(32px - var(--splitter-width));
19 } 20 }
20 21
21 #bookmarksCard { 22 #bookmarksCard {
22 @apply(--shadow-elevation-2dp); 23 @apply(--shadow-elevation-2dp);
23 background-color: #fff; 24 background-color: #fff;
24 margin: 0 auto; 25 margin: 0 auto;
25 max-width: var(--card-max-width); 26 max-width: var(--card-max-width);
26 min-width: var(--card-min-width);
27 padding: 8px 0; 27 padding: 8px 0;
28 } 28 }
29 29
30 .centered-message { 30 .centered-message {
31 align-items: center; 31 align-items: center;
32 color: #6e6e6e; 32 color: #6e6e6e;
33 display: flex; 33 display: flex;
34 font-size: 14px; 34 font-size: 14px;
35 font-weight: 500; 35 font-weight: 500;
36 height: 100%; 36 height: 100%;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 </bookmarks-item> 78 </bookmarks-item>
79 </template> 79 </template>
80 </div> 80 </div>
81 <div class="centered-message" 81 <div class="centered-message"
82 hidden$="[[!isEmptyList_(displayedList_.length)]]"> 82 hidden$="[[!isEmptyList_(displayedList_.length)]]">
83 [[emptyListMessage_(searchTerm_)]] 83 [[emptyListMessage_(searchTerm_)]]
84 </div> 84 </div>
85 </template> 85 </template>
86 <script src="chrome://bookmarks/list.js"></script> 86 <script src="chrome://bookmarks/list.js"></script>
87 </dom-module> 87 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/folder_node.js ('k') | chrome/browser/resources/md_bookmarks/shared_vars.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698