Commit 306b25f6 authored by Jacob's avatar Jacob

update detailview

parent 07a09ec8
......@@ -242,14 +242,11 @@ div.list-group.search-results div div div.list-group-item.list-group-item-action
.elementwrap {
overflow: scroll;
}
.collapseInfo {
border-bottom:1px solid #eee;
}
.collapseInfo, .collapseSharing, .collapseNutrition, .collapseDescription {
padding:10px 10px;
background:#f7f7f7;
}
.collapseSharing, .collapseDescription, collapseNutrition {
.collapseInfo, .collapseSharing, .collapseDescription, .collapseNutrition , .collapseDescription {
border-bottom:1px solid #b6b6b5;
}
.collapse .card .card-body .row {
......@@ -311,3 +308,7 @@ div.list-group.search-results div div div.list-group-item.list-group-item-action
.elemexists {
font-size: 0.7rem;
}
.detailbox {
padding-top: 5px;
}
......@@ -240,7 +240,7 @@
</div>
<div id="collapseInfo" [ngbCollapse]="infoCollapsed">
<div class="card">
<div class="card-body">
<div class="card-body detailbox">
<div class="form-group row item-detail">
<label for="elementOsmid" class="col-sm-4 col-form-label">
<strong>OSM-ID</strong>
......@@ -300,7 +300,7 @@
</div>
<div id="collapseInfo" [ngbCollapse]="goodLifeCollapse">
<div class="card">
<div *ngIf="showGoodLife()" class="card-body">
<div *ngIf="showGoodLife()" class="card-body detailbox">
<div *ngIf="nodeService.detailView.dimensions.length > 0" class="elementbli">
<div class="form-group row item-detail">
......@@ -322,7 +322,7 @@
</div>
</div>
<div *ngIf="!showGoodLife()" class="card-body">
<div *ngIf="!showGoodLife()" class="card-body detailbox">
<label class="col-sm ">
Keine Angabe bisher.
</label>
......@@ -359,7 +359,7 @@
<div id="collapseDescription" [ngbCollapse]="descCollapsed">
<div class="card ">
<div class="card-body">
<div class="card-body detailbox">
<div *ngIf="nodeService.detailView.getOsmTagValue('operator:type')" class="form-group row item-detail">
<label for="rechtsform" class="col-sm-4 col-form-label">
......@@ -423,7 +423,7 @@
</div>
</div>
</div>
</div>
</div>
......@@ -441,7 +441,7 @@
</div>
<div id="collapseSharing" [ngbCollapse]="sharingCollapsed">
<div class="card container">
<div *ngIf="showSharing()" class="card-body">
<div *ngIf="showSharing()" class="card-body detailbox">
<div *ngIf="nodeService.detailView.hasTag('_gpd:sharing_offers')" class="form-group row item-detail">
<label for="elementKey" class="col-sm-4 col-form-label">
......@@ -487,7 +487,7 @@
</div>
<div *ngIf="!showSharing()" class="card-body">
<div *ngIf="!showSharing()" class="card-body detailbox">
<label class="col-sm ">
Keine Angabe bisher.
</label>
......@@ -511,7 +511,7 @@
</div>
<div id="collapseNutrition" [ngbCollapse]="nutritionCollapsed">
<div class="card container">
<div *ngIf="showSustainableNutrtition()" class="card-body">
<div *ngIf="showSustainableNutrtition()" class="card-body detailbox">
<div *ngIf="nodeService.detailView.hasTag('_gpd:sustainable_nutrition')" class="form-group row item-detail">
<label for="elementKey" class="col-sm-4 col-form-label">
......@@ -533,7 +533,7 @@
</div>
</div>
</div>
<div *ngIf="!showSustainableNutrtition()" class="card-body">
<div *ngIf="!showSustainableNutrtition()" class="card-body detailbox">
<label class="col-sm ">
Keine Angabe bisher.
</label>
......
......@@ -143,7 +143,7 @@
display: inline-block;
width:45px;
height: 32px;
margin: 0px 0px -6px 0px;
margin: 0px 0px -15px 0px;
content: "";
background-size: 46px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment