Home | History | Annotate | Download | only in sync_internals
      1 /*
      2 Copyright (c) 2011 The Chromium Authors. All rights reserved.
      3 Use of this source code is governed by a BSD-style license that can be
      4 found in the LICENSE file.
      5 */
      6 
      7 #sync-node-main {
      8   display: -webkit-box;
      9 }
     10 
     11 #sync-node-tree-container {
     12   width: 200px;
     13   /* min-width and max-width are used by the split pane. */
     14   min-width: 50px;
     15   max-width: 50%;
     16   overflow: auto;
     17   box-sizing: border-box;
     18   padding: 5px;
     19   -webkit-padding-start: 10px;
     20 }
     21 
     22 #sync-node-tree {
     23   min-width: 100%;
     24   overflow: visible; /* let the container do the scrolling */
     25   display: inline-block;
     26 }
     27 
     28 /* TODO(akalin): Find a better icon to use for leaf nodes. */
     29 #sync-node-tree .leaf .tree-label {
     30   background-image: url("../shared/images/star_small.png");
     31 }
     32 
     33 #sync-node-splitter {
     34   width: 5px;
     35   background-color: #ebeff9;
     36   cursor: col-resize;
     37 }
     38 
     39 /* Platform annotations are set in sync_node_browser.js. */
     40 /* TODO(akalin): Make the BMM also use this style. */
     41 html[os=win] #sync-node-splitter {
     42   cursor: e-resize;
     43 }
     44 
     45 #node-browser tr:nth-child(odd) {
     46   background: #eff3ff;
     47 }
     48