summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/sync_internals/sync_node_browser.css
blob: 035e0da2a04fc0d8effb3a98f8021bcd5ab18481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
Copyright (c) 2011 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
*/

#sync-node-main {
  display: -webkit-box;
  /* Should be > #sync-page's min-height. */
  /* TODO(akalin): Find a less hacky way to do this. */
  height: 750px;
}

#sync-node-tree-container {
  height: 100%;
  width: 200px;
  /* min-width and max-width are used by the split pane. */
  min-width: 50px;
  max-width: 50%;
  overflow: auto;
  box-sizing: border-box;
  padding: 5px;
  -webkit-padding-start: 10px;
}

#sync-node-tree {
  min-width: 100%;
  overflow: visible; /* let the container do the scrolling */
  display: inline-block;
}

/* TODO(akalin): Find a better icon to use for leaf nodes. */
#sync-node-tree .leaf .tree-label {
  background-image: url("../shared/images/star_small.png");
}

#sync-node-splitter {
  width: 5px;
  background-color: #ebeff9;
  cursor: col-resize;
}

#sync-node-browser-container {
  height: 100%;
  overflow: auto;
  -webkit-box-flex: 1;
}

#node-browser {
  width: 100%;
}

#node-browser td {
  vertical-align: top;
}

/* Platform annotations are set in sync_node_browser.js. */
/* TODO(akalin): Make the BMM also use this style. */
html[os=win] #sync-node-splitter {
  cursor: e-resize;
}

#node-browser tr:nth-child(odd) {
  background: #eff3ff;
}