summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/sync_internals/sync_node_browser.css
blob: c669647e8710f21c969b89bf931f218b9dd931be (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
66
67
68
/* Copyright (c) 2012 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-browser-refresher {
  border-bottom: 1px rgb(160,160,160) solid;
}

#sync-node-browser-refresher > * {
  display: inline-block;
}

#sync-node-browser-container {
  display: -webkit-box;
  height: 750px;
}

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

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

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

#sync-node-splitter {
  background-color: rgb(235, 239, 249);
  cursor: col-resize;
  width: 5px;
<if expr="is_win">
  /* TODO(akalin): Make the BMM also use this style. */
  cursor: e-resize;
</if>
}

#sync-node-details-container {
  -webkit-box-flex: 1;
  height: 100%;
  overflow: auto;
  visibility: hidden;  /* Element is invisible until first refresh. */
}

#node-details {
  width: 100%;
}

#node-details td {
  vertical-align: top;
  white-space: nowrap;
}

#node-details tr:nth-child(odd) {
  background: rgb(239, 243, 255);
}