web/data/cubicweb.tableview.css
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 19 Apr 2013 16:25:45 +0200
branchstable
changeset 8914 e80dfffc2c2a
parent 8094 bedf36fb17f1
permissions -rw-r--r--
[facet js] fix reordering of facet check boxes. Closes #2732947 Before this patch, when one select an element, it's moved to the top of the select content. Fine. But when it's later deselected, it stays there instead of moving back to its original location. This patch fixes that by introducing a facetCheckBoxReorder function which properly reorder the whole facet, instead of buggy attempt to locally reorder.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     1
/***************************************/
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     2
/* filter table form                   */
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     3
/***************************************/
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     4
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     5
table.filter th {
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     6
  font-weight: bold;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     7
  background: #ebe8d9 url("button.png") repeat-x;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     8
  padding: 0.3em;
6140
65a619eb31c4 [boxes] introduce new boxes system
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
     9
  border-bottom: 1px solid %(incontextBoxBodyBgColor)s;
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    10
  text-align: left;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    11
}
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    12
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    13
table.filter div.facet {
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    14
  padding: 0.6em 0.2em;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    15
  margin: 0em 1em;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    16
  border: 1px solid #ccc;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    17
}
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    18
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    19
table.filter div.facetTitle {
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    20
  font-weight: bold;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    21
}
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    22
8094
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    23
div.tableActionsBox {
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    24
}
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    25
8094
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    26
div.tableActionsBox .popup {
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    27
  border-radius: 5px;
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    28
  background: %(incontextBoxBodyBgColor)s;
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    29
  box-shadow: 3px 3px 3px Grey;
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    30
}
8094
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    31
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    32
div.tableActionsBox li {
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    33
  background: none;
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    34
  /* we should probably get rid of ul/li structure because
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    35
     of the spurious space consumed by the bullet */
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    36
  margin-right: .3em;
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    37
  margin-left: -.3em;
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    38
}
bedf36fb17f1 [tableview] fix action menu layout (closes #2099011)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6140
diff changeset
    39