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

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

Issue 2864433002: [MD Bookmarks] Add hover border to sidebar splitter. (Closed)
Patch Set: address comments Created 3 years, 7 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
« no previous file with comments | « no previous file | ui/webui/resources/js/cr/ui/splitter.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/html/cr/ui/splitter.html"> 2 <link rel="import" href="chrome://resources/html/cr/ui/splitter.html">
3 <link rel="import" href="chrome://bookmarks/api_listener.html"> 3 <link rel="import" href="chrome://bookmarks/api_listener.html">
4 <link rel="import" href="chrome://bookmarks/constants.html"> 4 <link rel="import" href="chrome://bookmarks/constants.html">
5 <link rel="import" href="chrome://bookmarks/dnd_manager.html"> 5 <link rel="import" href="chrome://bookmarks/dnd_manager.html">
6 <link rel="import" href="chrome://bookmarks/list.html"> 6 <link rel="import" href="chrome://bookmarks/list.html">
7 <link rel="import" href="chrome://bookmarks/router.html"> 7 <link rel="import" href="chrome://bookmarks/router.html">
8 <link rel="import" href="chrome://bookmarks/shared_vars.html"> 8 <link rel="import" href="chrome://bookmarks/shared_vars.html">
9 <link rel="import" href="chrome://bookmarks/store.html"> 9 <link rel="import" href="chrome://bookmarks/store.html">
10 <link rel="import" href="chrome://bookmarks/toolbar.html"> 10 <link rel="import" href="chrome://bookmarks/toolbar.html">
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 #main-container { 25 #main-container {
26 display: flex; 26 display: flex;
27 flex-direction: row; 27 flex-direction: row;
28 flex-grow: 1; 28 flex-grow: 1;
29 overflow: auto; 29 overflow: auto;
30 } 30 }
31 31
32 #splitter { 32 #splitter {
33 box-sizing: border-box;
33 cursor: e-resize; 34 cursor: e-resize;
34 flex: 0 0 var(--splitter-width); 35 flex: 0 0 var(--splitter-width);
36 opacity: 0;
37 }
38
39 #splitter:hover,
40 #splitter.splitter-active {
41 -webkit-border-start: 1px solid rgba(0, 0, 0, 0.1);
42 opacity: 1;
43 transition: opacity 100ms ease-out;
35 } 44 }
36 45
37 :host-context([dir='rtl']) #splitter { 46 :host-context([dir='rtl']) #splitter {
38 cursor: w-resize; 47 cursor: w-resize;
39 } 48 }
40 49
41 #sidebar { 50 #sidebar {
42 -webkit-padding-start: 3px; 51 -webkit-padding-start: 3px;
43 display: block; 52 display: block;
44 max-width: 40%; 53 max-width: 40%;
(...skipping 15 matching lines...) Expand all
60 <div id="sidebar"> 69 <div id="sidebar">
61 <bookmarks-folder-node item-id="0" depth="-1"></bookmarks-folder-node> 70 <bookmarks-folder-node item-id="0" depth="-1"></bookmarks-folder-node>
62 </div> 71 </div>
63 <div id="splitter"></div> 72 <div id="splitter"></div>
64 <bookmarks-list></bookmarks-list> 73 <bookmarks-list></bookmarks-list>
65 </div> 74 </div>
66 <bookmarks-router></bookmarks-router> 75 <bookmarks-router></bookmarks-router>
67 </template> 76 </template>
68 <script src="chrome://bookmarks/app.js"></script> 77 <script src="chrome://bookmarks/app.js"></script>
69 </dom-module> 78 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | ui/webui/resources/js/cr/ui/splitter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698