Display custom list field as scrollable list, fixes #54
This commit is contained in:
@@ -329,6 +329,7 @@ $label-space: 10px !default;
|
||||
$legend-color: $gray-dark !default;
|
||||
$legend-border-color: #e5e5e5 !default;
|
||||
|
||||
$list-max-height: 10 * $line-height-computed;
|
||||
|
||||
//== Top
|
||||
//
|
||||
|
||||
@@ -572,7 +572,7 @@ label[for=closed] {
|
||||
}
|
||||
|
||||
|
||||
//== Custom logic (boolean) field displayed as radio buttons
|
||||
//== Custom fields
|
||||
//
|
||||
|
||||
.check_box_group {
|
||||
@@ -589,6 +589,7 @@ label[for=closed] {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
// Custom logic (boolean) field displayed as radio buttons
|
||||
&.bool_cf {
|
||||
label {
|
||||
@extend %clearfix;
|
||||
@@ -605,6 +606,22 @@ label[for=closed] {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Custom list field displayed as checkboxes
|
||||
&.list_cf {
|
||||
width: 90%;
|
||||
max-height: $list-max-height;
|
||||
padding-top: $input-padding-vertical + 1px;
|
||||
|
||||
label {
|
||||
@include checkbox;
|
||||
margin-top: 0;
|
||||
|
||||
input[type="checkbox"] {
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user