MINOR Fixing display of tree checkboxes

This commit is contained in:
Ingo Schommer 2012-04-18 18:22:54 +02:00
parent 14895a2056
commit 1408198e70
2 changed files with 10 additions and 3 deletions

View File

@ -687,6 +687,7 @@ li.class-ErrorPage > a .jstree-pageicon { background-position: 0 -112px; }
.cms-tree { visibility: hidden; }
.cms-tree.multiple li > a > .jstree-icon { display: none; }
.cms-tree.multiple li > a > .jstree-icon.jstree-checkbox { display: inline-block; }
.cms-tree.multiple li#record-0 > a .jstree-checkbox { display: none; }
/** Styles for the left hand side menu and header for the admin panels. Take into consideration CSS selector performance. @package framework @subpackage admin */

View File

@ -610,9 +610,15 @@ li.class-ErrorPage > a .jstree-pageicon {
visibility: hidden; // enabled by JS to avoid layout glitches
&.multiple {
// Hide draggable icon when multiselect is enabled
li > a > .jstree-icon {
display: none;
li > a {
// Hide draggable icon when multiselect is enabled
& > .jstree-icon {
display: none;
}
// But show the checkbox
& > .jstree-icon.jstree-checkbox {
display: inline-block;
}
}
li#record-0 {