FIX: nested SelectionGroups should only hide first level

This commit is contained in:
Will Rossiter 2013-04-07 15:13:50 +12:00
parent 700453b7dc
commit 7881f60298
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
.SelectionGroup { padding: 0px; clear: both; }
.SelectionGroup li { list-style-type: none; float: left; width: 100%; clear: both; }
.SelectionGroup li input.selector { width: 20px; float: left; }
.SelectionGroup li div.field { display: none; font-size: 1em; }
.SelectionGroup li > div.field { display: none; font-size: 1em; }
.SelectionGroup li input, .SelectionGroup .right .SelectionGroup li label { display: block; }
.SelectionGroup li.selected div.field { margin-left: 30px; display: block; margin-bottom: 1em; }
.SelectionGroup li.selected > div.field { margin-left: 30px; display: block; margin-bottom: 1em; }
.SelectionGroup li.selected label.selector { font-weight: bold; }
.mainblock.allassets ul { padding: 0 0 0 10px; height: 100px; overflow-y: scroll; }

View File

@ -12,14 +12,14 @@
width: 20px;
float : left;
}
li div.field {
li > div.field {
display: none;
font-size: 1em;
}
li input, .right .SelectionGroup li label {
display: block;
}
li.selected div.field {
li.selected > div.field {
margin-left: 30px;
display: block;
margin-bottom: 1em;