web/data/cubicweb.html_tree.css
author Rémi Cardona <remi.cardona@logilab.fr>
Wed, 12 Feb 2014 17:32:49 +0100
changeset 9534 34d9de030564
parent 3538 a5c6142cbfa8
permissions -rw-r--r--
[web/data] Ignore disabled widgets in cw.utils.formContents() (closes #3544492) 17.12.1 Disabled controls : http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12.1 When set, the disabled attribute has the following effects on an element: * Disabled controls do not receive focus. * Disabled controls are skipped in tabbing navigation. * Disabled controls cannot be successful. The third one is the important one. 17.13.2 Successful controls : http://www.w3.org/TR/REC-html40/interact/forms.html#successful-controls A successful control is "valid" for submission. Every successful control has its control name paired with its current value as part of the submitted form data set. Bottom line, disable widgets should not be part of the names and values lists returned by formContents().

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;
}