OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 #sync-node-main { | 5 #sync-node-browser-refresher { |
| 6 border-bottom: 1px rgb(160,160,160) solid; |
| 7 } |
| 8 |
| 9 #sync-node-browser-refresher > * { |
| 10 display: inline-block; |
| 11 } |
| 12 |
| 13 #sync-node-browser-container { |
6 display: -webkit-box; | 14 display: -webkit-box; |
7 /* Should be > #sync-page's min-height. */ | |
8 /* TODO(akalin): Find a less hacky way to do this. */ | |
9 height: 750px; | 15 height: 750px; |
10 } | 16 } |
11 | 17 |
12 #sync-node-tree-container { | 18 #sync-node-tree-container { |
13 -webkit-padding-start: 10px; | 19 -webkit-padding-start: 10px; |
14 box-sizing: border-box; | 20 box-sizing: border-box; |
15 height: 100%; | 21 height: 100%; |
16 /* min-width and max-width are used by the split pane. */ | 22 /* min-width and max-width are used by the split pane. */ |
17 max-width: 50%; | 23 max-width: 50%; |
18 min-width: 50px; | 24 min-width: 50px; |
19 overflow: auto; | 25 overflow: auto; |
20 padding: 5px; | |
21 width: 200px; | 26 width: 200px; |
22 } | 27 } |
23 | 28 |
24 #sync-node-tree { | 29 #sync-node-tree { |
25 display: inline-block; | 30 display: inline-block; |
26 min-width: 100%; | 31 min-width: 100%; |
27 overflow: visible; /* let the container do the scrolling */ | 32 overflow: visible; /* let the container do the scrolling */ |
28 } | 33 } |
29 | 34 |
30 /* TODO(akalin): Find a better icon to use for leaf nodes. */ | 35 /* TODO(akalin): Find a better icon to use for leaf nodes. */ |
31 #sync-node-tree .leaf .tree-label { | 36 #sync-node-tree .leaf .tree-label { |
32 background-image: url('../../../../ui/webui/resources/images/star_small.png'); | 37 background-image: url('../../../../ui/webui/resources/images/star_small.png'); |
33 } | 38 } |
34 | 39 |
35 #sync-node-splitter { | 40 #sync-node-splitter { |
36 background-color: rgb(235, 239, 249); | 41 background-color: rgb(235, 239, 249); |
37 cursor: col-resize; | 42 cursor: col-resize; |
38 width: 5px; | 43 width: 5px; |
39 <if expr="is_win"> | 44 <if expr="is_win"> |
40 /* TODO(akalin): Make the BMM also use this style. */ | 45 /* TODO(akalin): Make the BMM also use this style. */ |
41 cursor: e-resize; | 46 cursor: e-resize; |
42 </if> | 47 </if> |
43 } | 48 } |
44 | 49 |
45 #sync-node-browser-container { | 50 #sync-node-details-container { |
46 -webkit-box-flex: 1; | 51 -webkit-box-flex: 1; |
47 height: 100%; | 52 height: 100%; |
48 overflow: auto; | 53 overflow: auto; |
| 54 visibility: hidden; /* Element is invisible until first refresh. */ |
49 } | 55 } |
50 | 56 |
51 #node-browser { | 57 #node-details { |
52 width: 100%; | 58 width: 100%; |
53 } | 59 } |
54 | 60 |
55 #node-browser td { | 61 #node-details td { |
56 vertical-align: top; | 62 vertical-align: top; |
| 63 white-space: nowrap; |
57 } | 64 } |
58 | 65 |
59 #node-browser tr:nth-child(odd) { | 66 #node-details tr:nth-child(odd) { |
60 background: rgb(239, 243, 255); | 67 background: rgb(239, 243, 255); |
61 } | 68 } |
OLD | NEW |