web/data/cubicweb.html_tree.css
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 08 Jan 2014 14:00:31 +0100
changeset 9377 4e0d8f06efbc
parent 3538 a5c6142cbfa8
permissions -rw-r--r--
[js/widgets] fix the InOut widget with modern jQuery versions Several things are done there: * reduction in size and complexity of the code * the unused defaultsettings are removed * the initial `unlinked` list is now correctly populated from python-side * the unit test is adjusted because it tested an irrelevant implementation detail which is no longer true (but the widget of course still handles correctly the linkto information) Tested with ie7, ie9, chromium, firefox. Tested with jQuery 1.6 (cw 3.17.x) and 1.10. Closes #3154531.

table.tree {
  border-collapse: collapse;
}

table.tree td {
  padding: 0px;
}

div.tree_cell {
  border: 1px solid black;
  margin-top: 2px;
  margin-bottom: 2px;
  margin-left: 0px;
  margin-right: 0px;  
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 5px;
  padding-right: 5px;
}

div.selected {
  border: 2px solid black;
  background-color: #ccc;
}

table.tree td.tree_cell {
  padding: 0px;
}

table.tree td.tree_cell_1_1,
td.tree_cell_1_2 {
  border-bottom: 1px solid black;
}
table.tree td.tree_cell_1_3 {
  border-right: 1px solid black;
}
table.tree td.tree_cell_1_4 {
  border: 0px;
}


table.tree td.tree_cell_2_1,
td.tree_cell_2_3 {
  border-right: 1px solid black;
}
table.tree td.tree_cell_2_2,
td.tree_cell_2_4 {
  border: 0px;
}


table.tree td.tree_cell_3_1,
td.tree_cell_3_3 {
  border-right: 1px solid black;
}
table.tree td.tree_cell_3_2 {
  border-bottom: 1px solid black;
}
table.tree td.tree_cell_3_4 {
  border: 0px;
}


table.tree td.tree_cell_4_1 {
  border-right: 1px solid black;
}
table.tree td.tree_cell_4_2 {
  border-bottom: 1px solid black;
}
table.tree td.tree_cell_4_3,
td.tree_cell_4_4 {
  border: 0px;
}


table.tree td.tree_cell_5_1,
td.tree_cell_5_2 {
  border-bottom: 1px solid black;
}
table.tree td.tree_cell_5_3,
td.tree_cell_5_4 {
  border: 0px;
}


table.tree td.tree_cell_0_1,
td.tree_cell_0_2,
td.tree_cell_0_3,
td.tree_cell_0_4 {
  border: 0px;
}