clean up Bootstrap compatibility shims
This commit is contained in:
parent
93806eb523
commit
505e8809c2
5 changed files with 6 additions and 15 deletions
|
|
@ -132,7 +132,6 @@ strong {
|
||||||
|
|
||||||
.header-search {
|
.header-search {
|
||||||
.header-search-input,
|
.header-search-input,
|
||||||
.input-group-append,
|
|
||||||
.header-search-btn {
|
.header-search-btn {
|
||||||
height: 37px;
|
height: 37px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,11 @@
|
||||||
{% sw_extends '@Storefront/storefront/component/product/card/action.html.twig' %}
|
{% sw_extends '@Storefront/storefront/component/product/card/action.html.twig' %}
|
||||||
|
|
||||||
{% block component_product_box_action_detail %}
|
{% block component_product_box_action_detail %}
|
||||||
{% if feature('v6.5.0.0') %}
|
<div class="d-grid">
|
||||||
<div class="d-grid">
|
|
||||||
<a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
|
|
||||||
class="btn btn-buy"
|
|
||||||
title="{{ "listing.boxProductDetails"|trans|striptags }}">
|
|
||||||
{{ "listing.boxProductDetails"|trans|sw_sanitize }}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
<a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
|
<a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
|
||||||
class="btn btn-block btn-buy"
|
class="btn btn-buy"
|
||||||
title="{{ "listing.boxProductDetails"|trans|striptags }}">
|
title="{{ "listing.boxProductDetails"|trans|striptags }}">
|
||||||
{{ "listing.boxProductDetails"|trans|sw_sanitize }}
|
{{ "listing.boxProductDetails"|trans|sw_sanitize }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
type="button"
|
type="button"
|
||||||
id="accountWidget"
|
id="accountWidget"
|
||||||
data-offcanvas-account-menu="true"
|
data-offcanvas-account-menu="true"
|
||||||
{{ dataBsToggleAttr }}="dropdown"
|
data-bs-toggle="dropdown"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
aria-label="{{ "account.myAccount"|trans|striptags }}"
|
aria-label="{{ "account.myAccount"|trans|striptags }}"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
{% sw_icon 'bag' %}
|
{% sw_icon 'bag' %}
|
||||||
</span>
|
</span>
|
||||||
{% if page.cart.lineItems|length > 0 %}
|
{% if page.cart.lineItems|length > 0 %}
|
||||||
<span class="badge {{ bgClass }}-primary header-cart-badge">{{ page.cart.lineItems|length }}</span>
|
<span class="badge bg-primary header-cart-badge">{{ page.cart.lineItems|length }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="header-cart-total">
|
<span class="header-cart-total">
|
||||||
{{ page.cart.price.positionPrice|currency }}{{ "general.star"|trans|sw_sanitize }}
|
{{ page.cart.price.positionPrice|currency }}{{ "general.star"|trans|sw_sanitize }}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
{% block page_checkout_confirm_tos_control_label %}
|
{% block page_checkout_confirm_tos_control_label %}
|
||||||
<label for="tos"
|
<label for="tos"
|
||||||
class="checkout-confirm-tos-label {{ formCheckLabelClass }}">
|
class="checkout-confirm-tos-label form-check-label">
|
||||||
{{ "checkout.confirmTerms"|trans({
|
{{ "checkout.confirmTerms"|trans({
|
||||||
'%url%': path('frontend.cms.page',{ id: config('core.basicInformation.tosPage'), }),
|
'%url%': path('frontend.cms.page',{ id: config('core.basicInformation.tosPage'), }),
|
||||||
'%revUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.revocationPage') })
|
'%revUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.revocationPage') })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue