Clean up of the compositions dialog (#6716)

This commit is contained in:
Poornima Nayar
2019-10-18 12:36:16 +01:00
committed by Sebastiaan Janssen
parent 9af135e7e7
commit b199a54038
2 changed files with 8 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
.umb-checkbox-list {
list-style: none;
margin-left: 0;
margin-top: 6px;
}
.umb-checkbox-list__item {
@@ -12,6 +13,10 @@
margin-bottom: 2px;
}
.umb-checkbox-list li:first-child {
font-weight: bold;
}
.umb-checkbox-list__item:last-child {
border-bottom: none;
}

View File

@@ -62,7 +62,7 @@
<div ng-if="vm.availableGroups.length > 0">
<ul class="umb-checkbox-list" ng-repeat="group in vm.availableGroups | filter:searchTerm">
<li style="font-weight: bold" ng-show="vm.availableGroups.length > 1">
<li ng-show="vm.availableGroups.length > 1">
<i class="icon-folder umb-checkbox-list__item-icon"></i>
{{group.containerPath}}
</li>
@@ -77,7 +77,8 @@
checklist-model="model.compositeContentTypes"
checklist-value="compositeContentType.contentType.alias"
ng-change="model.selectCompositeContentType(compositeContentType.contentType)"
ng-disabled="compositeContentType.allowed===false || compositeContentType.inherited" />
ng-disabled="compositeContentType.allowed===false || compositeContentType.inherited" />
</div>
<label for="umb-overlay-comp-{{compositeContentType.contentType.key}}" class="umb-checkbox-list__item-text" ng-class="{'-faded': compositeContentType.allowed===false}">