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

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

Issue 2864433002: [MD Bookmarks] Add hover border to sidebar splitter. (Closed)
Patch Set: 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 border-left: 1px solid rgba(0, 0, 0, 0.1);
tsergeant 2017/05/05 00:36:22 -webkit-border-start for RTL friendliness.
calamity 2017/05/05 05:09:54 Done.
41 opacity: 1;
42 transition: opacity 100ms ease-out;
35 } 43 }
36 44
37 :host-context([dir='rtl']) #splitter { 45 :host-context([dir='rtl']) #splitter {
38 cursor: w-resize; 46 cursor: w-resize;
39 } 47 }
40 48
41 #sidebar { 49 #sidebar {
42 -webkit-padding-start: 3px; 50 -webkit-padding-start: 3px;
43 display: block; 51 display: block;
44 max-width: 40%; 52 max-width: 40%;
(...skipping 15 matching lines...) Expand all
60 <div id="sidebar"> 68 <div id="sidebar">
61 <bookmarks-folder-node item-id="0" depth="-1"></bookmarks-folder-node> 69 <bookmarks-folder-node item-id="0" depth="-1"></bookmarks-folder-node>
62 </div> 70 </div>
63 <div id="splitter"></div> 71 <div id="splitter"></div>
64 <bookmarks-list></bookmarks-list> 72 <bookmarks-list></bookmarks-list>
65 </div> 73 </div>
66 <bookmarks-router></bookmarks-router> 74 <bookmarks-router></bookmarks-router>
67 </template> 75 </template>
68 <script src="chrome://bookmarks/app.js"></script> 76 <script src="chrome://bookmarks/app.js"></script>
69 </dom-module> 77 </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