mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1733 from wilr/open6270
FIX: nested SelectionGroups should only hide first level
This commit is contained in:
commit
fb17f43878
@ -1,9 +1,9 @@
|
|||||||
.SelectionGroup { padding: 0px; clear: both; }
|
.SelectionGroup { padding: 0px; clear: both; }
|
||||||
.SelectionGroup li { list-style-type: none; float: left; width: 100%; clear: both; }
|
.SelectionGroup li { list-style-type: none; float: left; width: 100%; clear: both; }
|
||||||
.SelectionGroup li input.selector { width: 20px; float: left; }
|
.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 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; }
|
.SelectionGroup li.selected label.selector { font-weight: bold; }
|
||||||
|
|
||||||
.mainblock.allassets ul { padding: 0 0 0 10px; height: 100px; overflow-y: scroll; }
|
.mainblock.allassets ul { padding: 0 0 0 10px; height: 100px; overflow-y: scroll; }
|
||||||
|
@ -12,14 +12,14 @@
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
float : left;
|
float : left;
|
||||||
}
|
}
|
||||||
li div.field {
|
li > div.field {
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
li input, .right .SelectionGroup li label {
|
li input, .right .SelectionGroup li label {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
li.selected div.field {
|
li.selected > div.field {
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
Loading…
Reference in New Issue
Block a user