[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.
/*
* :organization: Logilab
* :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
*/
/******************************************************************************/
/* progressbar */
/******************************************************************************/
.done { background:red }
.inprogress { background:green }
.overpassed { background: yellow}
canvas.progressbar {
border:1px solid black;
}
.progressbarback {
border: 1px solid #000000;
background: transparent;
height: 10px;
width: 100px;
}
/******************************************************************************/
/* progress table */
/******************************************************************************/
table.progress {
/* The default table view */
margin: 10px 0px 1em;
width: 100%;
font-size: 0.9167em;
}
table.progress th {
white-space: nowrap;
font-weight: bold;
background: %(listingHeaderBgColor)s;
padding: 2px 4px;
font-size:8pt;
}
table.progress th,
table.progress td {
border: 1px solid %(listingBorderColor)s;
}
table.progress td {
text-align: right;
padding: 2px 3px;
}
table.progress th.tdleft,
table.progress td.tdleft {
text-align: left;
padding: 2px 3px 2px 5px;
}
table.progress tr.highlighted {
background-color: %(listingHighlightedBgColor)s;
}
table.progress tr.highlighted .progressbarback {
border: 1px solid %(listingHighlightedBgColor)s;
}
table.progress .progressbarback {
border: 1px solid #777;
}
.progress_data {
padding-right: 3px;
}