MASTER-hotFix_travel_extraCommunity-css2 #1081

Merged
joan merged 2 commits from hotFix_travel_extraCommunity-css2 into master 2022-10-10 07:47:53 +00:00
2 changed files with 39 additions and 34 deletions

View File

@ -100,38 +100,37 @@
{{::travel.id}}
</span>
</td>
<td vn-click-stop>
<td class="multi-line" vn-click-stop>
<span
class="link"
ng-click="supplierDescriptor.show($event, travel.cargoSupplierFk)">
{{::travel.cargoSupplierNickname}}
</span>
</td>
<td expand>{{::travel.agencyModeName}}</td>
<td
name="reference"
class="td-editable"
vn-click-stop>
<vn-textfield
class="dense td-editable"
<td>{{::travel.agencyModeName}}</td>
<td vn-click-stop>
<vn-td-editable name="reference" expand>
<text>{{travel.ref}}</text>
<field>
<vn-textfield class="dense" vn-focus
ng-model="travel.ref"
on-change="$ctrl.save(travel.id, {ref: value})">
</vn-textfield>
</field>
</vn-td-editable>
</td>
<td number>{{::travel.stickers}}</td>
<td
name="lockedKg"
class="number"
shrink
vn-click-stop>
<vn-input-number
number
shrink
class="td-editable number"
<td vn-click-stop>
<vn-td-editable name="lockedKg" expand style="text-align: right">
<text number>{{travel.kg}}</text>
<field>
<vn-input-number class="dense" vn-focus
ng-model="travel.kg"
on-change="$ctrl.save(travel.id, {kg: value})"
min="0">
</vn-input-number>
</field>
</vn-td-editable>
</td>
<td number>{{::travel.loadedKg}}</td>
<td number>{{::travel.volumeKg}}</td>
@ -151,7 +150,7 @@
{{::entry.id}}
</span>
</td>
<td>
<td class="multi-line">
<span
class="link"
ng-click="supplierDescriptor.show($event, entry.supplierFk)">

View File

@ -3,7 +3,6 @@
vn-travel-extra-community {
.header {
margin-bottom: 16px;
font-size: 1.1rem;
line-height: 1;
padding: 7px;
padding-bottom: 7px;
@ -16,6 +15,10 @@ vn-travel-extra-community {
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
.multi-line{
padding-top: 15px;
padding-bottom: 15px;
}
}
table[vn-droppable] {
@ -46,16 +49,19 @@ vn-travel-extra-community {
font-weight: bold;
}
.td-editable {
.multi-line{
max-width: 200px;
word-wrap: normal;
white-space: normal;
}
vn-input-number.number {
min-width: 100px;
padding-right: 10px;
}
.number * {
text-align: center;
vn-td-editable text {
background-color: transparent;
padding: 0;
border: 0;
border-bottom: 1px dashed $color-active;
border-radius: 0;
color: $color-active
}
}