Abo Einmalprodukte und Bestätigung abschließen
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2bdc9ada3c
commit
2269ce031f
57 changed files with 3647 additions and 371 deletions
|
|
@ -87,8 +87,44 @@
|
|||
font-size: 85%;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.md-btn-extra {
|
||||
width: calc(1.7rem + 2px);
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
/* Nicht umbrechen, sonst stapeln sich -/+/Input untereinander (Bootstrap input-group: flex-wrap: wrap). */
|
||||
.quantity-select .input-group {
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.quantity-select .input-group .md-btn-extra {
|
||||
flex: 0 0 auto;
|
||||
width: calc(1.7rem + 2px);
|
||||
}
|
||||
|
||||
/* Spezifischer als ".quantity-select input.form-control" (min-width: 4em / inline-block) weiter oben. */
|
||||
.quantity-select .input-group .form-control.input-extra {
|
||||
flex: 0 0 44px;
|
||||
width: 44px;
|
||||
min-width: 44px;
|
||||
display: block;
|
||||
padding: 0.28rem 0.6rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
min-height: calc(1.8rem + 2px);
|
||||
height: calc(1.8rem + 2px);
|
||||
}
|
||||
|
||||
.input-group-min-w {
|
||||
min-width: 102px;
|
||||
}
|
||||
</style>
|
||||
<div id="cartContent">
|
||||
@if (isset($error_message) && $error_message)
|
||||
<div class="alert alert-danger mt-2" id="insert_show_error_message">{{ $error_message }}</div>
|
||||
@endif
|
||||
|
||||
<div class="yard-items-head d-none d-sm-block">
|
||||
<div class="row">
|
||||
|
|
@ -176,10 +212,27 @@
|
|||
<span class="text-right product-tooltip" data-toggle="tooltip"
|
||||
title="{{ __('order.compensation_product') }}">1 x</span>
|
||||
@else
|
||||
<input type="number" class="form-control text-center cart-input-event-onchange"
|
||||
data-row-id="{{ $row->rowId }}" data-product-id="{{ $product->id }}"
|
||||
value="{{ $row->qty }}" name="quantity[{{ $row->rowId }}]"
|
||||
maxlength="3" max="999" min="1">
|
||||
<div class="no-line-break input-group-min-w d-inline-block">
|
||||
<div class="input-group d-inline-flex w-auto">
|
||||
<span class="input-group-prepend">
|
||||
<button type="button"
|
||||
class="btn btn-secondary icon-btn md-btn-extra cart-remove-event"
|
||||
data-row-id="{{ $row->rowId }}"
|
||||
data-product-id="{{ $product->id }}">-</button>
|
||||
</span>
|
||||
<input type="text"
|
||||
class="form-control text-center input-extra cart-input-event-onchange"
|
||||
data-row-id="{{ $row->rowId }}"
|
||||
data-product-id="{{ $product->id }}" value="{{ $row->qty }}"
|
||||
name="quantity[{{ $row->rowId }}]">
|
||||
<span class="input-group-append">
|
||||
<button type="button"
|
||||
class="btn btn-secondary icon-btn md-btn-extra cart-add-event"
|
||||
data-row-id="{{ $row->rowId }}"
|
||||
data-product-id="{{ $product->id }}">+</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="price-total text-right">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue