| @@ -8,9 +8,13 @@ | |||||
| } | } | ||||
| .footer-newsletter { | .footer-newsletter { | ||||
| .newsletter-block { | |||||
| width: 100%; | |||||
| } | |||||
| .newsletter-inner-text { | .newsletter-inner-text { | ||||
| font-size: 18px; | font-size: 18px; | ||||
| line-height: 24px; | line-height: 24px; | ||||
| max-width: 450px; | |||||
| } | } | ||||
| .footer-newsletter-column-input-email { | .footer-newsletter-column-input-email { | ||||
| border-bottom: 2px solid $sw-color-brand-primary; | border-bottom: 2px solid $sw-color-brand-primary; | ||||
| @@ -182,3 +182,19 @@ input.custom-number[type=number] { | |||||
| #spwn-delivery.do-not-show { | #spwn-delivery.do-not-show { | ||||
| display: none !important; | display: none !important; | ||||
| } | } | ||||
| .swag-custom-notification-info-modal__content { | |||||
| padding-bottom: 40px; | |||||
| .row { | |||||
| align-items: center; | |||||
| h3 { | |||||
| font-family: $sw-font-family-headline !important; | |||||
| font-size: 44px; | |||||
| font-weight: 700 !important; | |||||
| margin-bottom: 30px; | |||||
| } | |||||
| img { | |||||
| width: 100%; | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -80,15 +80,18 @@ | |||||
| } | } | ||||
| } | } | ||||
| .product-detail-buy { | .product-detail-buy { | ||||
| border-radius: 3px; | |||||
| background-color: #E9F4FC; | |||||
| padding-top: 40px; | |||||
| .inside { | |||||
| border-radius: 3px; | |||||
| background-color: #E9F4FC; | |||||
| padding: 40px 20px 0; | |||||
| } | |||||
| .product-detail-short-description { | .product-detail-short-description { | ||||
| border-bottom: 1px solid #B1C3D9; | border-bottom: 1px solid #B1C3D9; | ||||
| } | } | ||||
| .product-detail-name { | .product-detail-name { | ||||
| font-size: 60px; | font-size: 60px; | ||||
| line-height: 54px; | line-height: 54px; | ||||
| font-weight: 700; | |||||
| color: $sw-color-brand-primary; | color: $sw-color-brand-primary; | ||||
| } | } | ||||
| .product-detail-price-container { | .product-detail-price-container { | ||||
| @@ -23,4 +23,8 @@ | |||||
| max-width: 900px; | max-width: 900px; | ||||
| } | } | ||||
| } | } | ||||
| } | |||||
| .product-detail-tabs { | |||||
| padding: 0px 40px; | |||||
| } | } | ||||
| @@ -17,6 +17,7 @@ | |||||
| {% set element = block.slots.getSlot('right') %} | {% set element = block.slots.getSlot('right') %} | ||||
| <div class="col-lg-4 product-detail-buy js-sticky" data-sticky-buybox="true"> | <div class="col-lg-4 product-detail-buy js-sticky" data-sticky-buybox="true"> | ||||
| <div class="inside"> | |||||
| {# ... add headline here #} | {# ... add headline here #} | ||||
| {% block page_product_detail_headline %} | {% block page_product_detail_headline %} | ||||
| <div class="row product-detail-headline"> | <div class="row product-detail-headline"> | ||||
| @@ -35,6 +36,7 @@ | |||||
| {% block block_gallery_buybox_column_right_inner %} | {% block block_gallery_buybox_column_right_inner %} | ||||
| {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %} | {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %} | ||||
| {% endblock %} | {% endblock %} | ||||
| </div> | |||||
| </div> | </div> | ||||
| {% endblock %} | {% endblock %} | ||||
| {% endblock %} | {% endblock %} | ||||
| @@ -1,5 +1,8 @@ | |||||
| {% sw_extends '@Storefront/storefront/component/product/card/price-unit.html.twig' %} | {% sw_extends '@Storefront/storefront/component/product/card/price-unit.html.twig' %} | ||||
| {% block component_product_box_price_reference_unit %} | |||||
| {% endblock %} | |||||
| {% block component_product_box_price %} | {% block component_product_box_price %} | ||||
| <div class="product-price-wrapper"> | <div class="product-price-wrapper"> | ||||
| {% set price = real %} | {% set price = real %} | ||||
| @@ -45,6 +48,12 @@ | |||||
| {% if weekProductCount >= 1 %} | {% if weekProductCount >= 1 %} | ||||
| <span class="spwn-week-count"><small>{{ (price.unitPrice / weekProductCount) | json_encode() | round(2) | number_format(2, ',', '.') }} € pro Tag</small></span> | <span class="spwn-week-count"><small>{{ (price.unitPrice / weekProductCount) | json_encode() | round(2) | number_format(2, ',', '.') }} € pro Tag</small></span> | ||||
| {% endif %} | {% endif %} | ||||
| {% if referencePrice is not null %} | |||||
| <span class="price-unit-reference"> | |||||
| <small>({{ referencePrice.price|currency }}{{ "general.star"|trans|sw_sanitize }} / {{ referencePrice.referenceUnit }} {{ referencePrice.unitName }})</small> | |||||
| </span> | |||||
| {% endif %} | |||||
| </div> | </div> | ||||
| {% if product.translated.customFields.deposittype %} | {% if product.translated.customFields.deposittype %} | ||||
| <div class="product-deposittype"> | <div class="product-deposittype"> | ||||
| @@ -61,4 +70,5 @@ | |||||
| </small> | </small> | ||||
| </div> | </div> | ||||
| {% endif %} | {% endif %} | ||||
| {% endblock %} | {% endblock %} | ||||
| @@ -0,0 +1,73 @@ | |||||
| {% sw_extends '@Storefront/storefront/layout/navigation/categories.html.twig' %} | |||||
| {% block layout_navigation_categories %} | |||||
| {% set navigationMaxDepth = 3 %} | |||||
| {% if not level %} | |||||
| {% set level = 0 %} | |||||
| {% endif %} | |||||
| {% set activeId = page.header.navigation.active.id %} | |||||
| {% if page.product is defined %} | |||||
| {% set activePath = page.product.categoryTree %} | |||||
| {% else %} | |||||
| {% set activePath = page.header.navigation.active.path %} | |||||
| {% endif %} | |||||
| <div class="{% if level == 0 %}row {% endif %}navigation-flyout-categories is-level-{{ level }}"> | |||||
| {% for treeItem in navigationTree %} | |||||
| {% set id = treeItem.category.id %} | |||||
| {% set name = treeItem.category.translated.name %} | |||||
| {% set link = category_url(treeItem.category) %} | |||||
| {% block layout_navigation_flyout_bar_category_link %} | |||||
| {% if category.type == 'page' %} | |||||
| <a class="nav-link" | |||||
| href="{{ seoUrl('frontend.navigation.page', { navigationId: category.id }) }}" | |||||
| itemprop="url" | |||||
| title="{{ name }}"> | |||||
| {% block layout_navigation_flyout_bar_category_link_text %} | |||||
| {{ "general.toCategory"|trans|sw_sanitize }} {{ name }} | |||||
| {% sw_icon 'arrow-right' style { | |||||
| 'color': 'primary', | |||||
| 'pack':'solid' | |||||
| } %} | |||||
| {% endblock %} | |||||
| </a> | |||||
| {% endif %} | |||||
| {% endblock %} | |||||
| {% block layout_navigation_categories_item %} | |||||
| <div class="{% if level == 0 %}{% if navigationMedia %}col-4 {% else %}col-3 {% endif %}{% endif %}navigation-flyout-col"> | |||||
| {% block layout_navigation_categories_item_link %} | |||||
| {% if treeItem.category.type == 'folder' %} | |||||
| <div class="nav-item nav-link navigation-flyout-link is-level-{{ level }}" | |||||
| title="{{ name }}"> | |||||
| <span itemprop="name">{{ name }}</span> | |||||
| </div> | |||||
| {% else %} | |||||
| <a class="nav-item nav-link navigation-flyout-link is-level-{{ level }}{% if id == activeId or id in activePath %} active{% endif %}" | |||||
| href="{{ link }}" | |||||
| itemprop="url" | |||||
| {% if category_linknewtab(treeItem.category) %}target="_blank"{% endif %} | |||||
| title="{{ name }}"> | |||||
| <span itemprop="name">{{ name }}</span> | |||||
| </a> | |||||
| {% endif %} | |||||
| {% endblock %} | |||||
| {% block layout_navigation_categories_recoursion %} | |||||
| {% if level < navigationMaxDepth %} | |||||
| {% sw_include '@Storefront/storefront/layout/navigation/categories.html.twig' with { | |||||
| navigationTree: treeItem.children, | |||||
| level: level + 1, | |||||
| page: page | |||||
| } only %} | |||||
| {% endif %} | |||||
| {% endblock %} | |||||
| </div> | |||||
| {% endblock %} | |||||
| {% endfor %} | |||||
| </div> | |||||
| {% endblock %} | |||||
| @@ -28,6 +28,7 @@ | |||||
| {% block page_product_detail_buy %} | {% block page_product_detail_buy %} | ||||
| <div class="col-lg-4 col-xl-{{ buyboxWidthConfig }} product-detail-buy" data-sticky-buybox="true"> | <div class="col-lg-4 col-xl-{{ buyboxWidthConfig }} product-detail-buy" data-sticky-buybox="true"> | ||||
| <div class="inside"> | |||||
| {# ... add headline here #} | {# ... add headline here #} | ||||
| {% block page_product_detail_headline %} | {% block page_product_detail_headline %} | ||||
| @@ -46,5 +47,6 @@ | |||||
| {% endblock %} | {% endblock %} | ||||
| {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %} | {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %} | ||||
| </div> | |||||
| </div> | </div> | ||||
| {% endblock %} | {% endblock %} | ||||
| @@ -16,4 +16,5 @@ | |||||
| @import 'page/checkout/register'; | @import 'page/checkout/register'; | ||||
| @import 'page/checkout/cart'; | @import 'page/checkout/cart'; | ||||
| @import 'page/product-detail/product-detail'; | @import 'page/product-detail/product-detail'; | ||||
| @import 'page/product-detail/tabs'; | |||||
| @import 'page/product-detail/review'; | @import 'page/product-detail/review'; | ||||
| @@ -37,7 +37,8 @@ | |||||
| line-height: 24px; | line-height: 24px; | ||||
| } | } | ||||
| .is-act-home { | |||||
| .is-act-home, | |||||
| .aku-cms-factory-element { | |||||
| h2 { | h2 { | ||||
| font-size: 3.125rem; | font-size: 3.125rem; | ||||
| line-height: 50px !important; | line-height: 50px !important; | ||||
| @@ -26,6 +26,9 @@ | |||||
| .footer-logo { | .footer-logo { | ||||
| max-width: 170px; | max-width: 170px; | ||||
| } | } | ||||
| .newsletter-block { | |||||
| width: 100%; | |||||
| } | |||||
| .newsletter-inner-text { | .newsletter-inner-text { | ||||
| font-size: 18px; | font-size: 18px; | ||||
| line-height: 24px; | line-height: 24px; | ||||
| @@ -170,3 +170,25 @@ input.custom-number[type=number] { | |||||
| #spwn-delivery.do-not-show { | #spwn-delivery.do-not-show { | ||||
| display: none !important; | display: none !important; | ||||
| } | } | ||||
| .confirm-delivery-date.do-not-show, | |||||
| #spwn-delivery.do-not-show { | |||||
| display: none !important; | |||||
| } | |||||
| .swag-custom-notification-info-modal__content { | |||||
| padding-bottom: 40px; | |||||
| .row { | |||||
| align-items: center; | |||||
| h3 { | |||||
| font-family: $sw-font-family-headline !important; | |||||
| font-size: 34px; | |||||
| font-weight: 700 !important; | |||||
| margin-bottom: 30px; | |||||
| font-style: italic; | |||||
| } | |||||
| img { | |||||
| width: 100%; | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -1,8 +1,12 @@ | |||||
| .is-ctl-product { | .is-ctl-product { | ||||
| .cms-page { | .cms-page { | ||||
| @media (min-width: 992px) { | |||||
| padding-left: 36px; | |||||
| padding-right: 36px; | |||||
| .cms-section.full-width { | |||||
| padding-left: 20px; | |||||
| padding-right: 20px; | |||||
| @media (min-width: 992px) { | |||||
| padding-left: 36px; | |||||
| padding-right: 56px; | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| .product-detail-media { | .product-detail-media { | ||||
| @@ -78,13 +82,16 @@ | |||||
| } | } | ||||
| } | } | ||||
| .product-detail-buy { | .product-detail-buy { | ||||
| border-radius: 3px; | |||||
| background-color: #e8f4df; | |||||
| padding-top: 40px; | |||||
| .inside { | |||||
| border-radius: 3px; | |||||
| background-color: #e8f4df; | |||||
| padding: 40px 20px 0; | |||||
| } | |||||
| .product-detail-short-description { | .product-detail-short-description { | ||||
| border-bottom: 1px solid #86b04b; | border-bottom: 1px solid #86b04b; | ||||
| } | } | ||||
| .product-detail-name { | .product-detail-name { | ||||
| font-size: 34px; | |||||
| font-weight: bold; | font-weight: bold; | ||||
| color: $sw-color-brand-secondary; | color: $sw-color-brand-secondary; | ||||
| line-height: 40px !important; | line-height: 40px !important; | ||||
| @@ -118,19 +125,16 @@ | |||||
| padding: 25px 0; | padding: 25px 0; | ||||
| } | } | ||||
| .btn-primary { | .btn-primary { | ||||
| background: transparent; | |||||
| color: $sw-color-brand-primary; | |||||
| font-size: 16px; | |||||
| font-size: 18px; | |||||
| font-weight: 600; | font-weight: 600; | ||||
| letter-spacing: 1px; | |||||
| letter-spacing: 0.5px; | |||||
| line-height: 18px; | line-height: 18px; | ||||
| text-align: center; | text-align: center; | ||||
| text-transform: uppercase; | |||||
| border: 2px solid $sw-color-brand-primary; | border: 2px solid $sw-color-brand-primary; | ||||
| padding: 12px 12px; | padding: 12px 12px; | ||||
| &:hover { | &:hover { | ||||
| background: $sw-color-brand-primary; | |||||
| color: #fff; | |||||
| background: transparent; | |||||
| color: #000; | |||||
| } | } | ||||
| } | } | ||||
| .product-wishlist-btn-content { | .product-wishlist-btn-content { | ||||
| @@ -0,0 +1,29 @@ | |||||
| .cms-block-product-description-reviews .cms-block-container { | |||||
| background: #EFEDE6; | |||||
| padding-top: 3rem; | |||||
| padding-bottom: 3rem; | |||||
| color: #222; | |||||
| } | |||||
| .card-tabs { | |||||
| .nav-link { | |||||
| letter-spacing: 0.5px; | |||||
| } | |||||
| .tab-content { | |||||
| h2 { | |||||
| font-family: $sw-font-family-base; | |||||
| font-size: 1.375rem; | |||||
| font-weight: 500; | |||||
| color: #222; | |||||
| } | |||||
| h3, h4, h5, h6 { | |||||
| color: #222; | |||||
| } | |||||
| .product-detail-description-text { | |||||
| max-width: 900px; | |||||
| } | |||||
| } | |||||
| } | |||||
| .product-detail-tabs { | |||||
| padding: 0 40px; | |||||
| } | |||||
| @@ -17,6 +17,7 @@ | |||||
| {% set element = block.slots.getSlot('right') %} | {% set element = block.slots.getSlot('right') %} | ||||
| <div class="col-lg-4 product-detail-buy js-sticky" data-sticky-buybox="true"> | <div class="col-lg-4 product-detail-buy js-sticky" data-sticky-buybox="true"> | ||||
| <div class="inside"> | |||||
| {# ... add headline here #} | {# ... add headline here #} | ||||
| {% block page_product_detail_headline %} | {% block page_product_detail_headline %} | ||||
| <div class="row product-detail-headline"> | <div class="row product-detail-headline"> | ||||
| @@ -35,6 +36,7 @@ | |||||
| {% block block_gallery_buybox_column_right_inner %} | {% block block_gallery_buybox_column_right_inner %} | ||||
| {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %} | {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %} | ||||
| {% endblock %} | {% endblock %} | ||||
| </div> | |||||
| </div> | </div> | ||||
| {% endblock %} | {% endblock %} | ||||
| {% endblock %} | {% endblock %} | ||||
| @@ -1,5 +1,8 @@ | |||||
| {% sw_extends '@Storefront/storefront/component/product/card/price-unit.html.twig' %} | {% sw_extends '@Storefront/storefront/component/product/card/price-unit.html.twig' %} | ||||
| {% block component_product_box_price_reference_unit %} | |||||
| {% endblock %} | |||||
| {% block component_product_box_price %} | {% block component_product_box_price %} | ||||
| <div class="product-price-wrapper"> | <div class="product-price-wrapper"> | ||||
| {% set price = real %} | {% set price = real %} | ||||
| @@ -45,6 +48,13 @@ | |||||
| {% if weekProductCount >= 1 %} | {% if weekProductCount >= 1 %} | ||||
| <span class="spwn-week-count"><small>{{ (price.unitPrice / (weekProductCount * 2)) | json_encode() | round(2) | number_format(2, ',', '.') }} € pro Mahlzeit</small></span> | <span class="spwn-week-count"><small>{{ (price.unitPrice / (weekProductCount * 2)) | json_encode() | round(2) | number_format(2, ',', '.') }} € pro Mahlzeit</small></span> | ||||
| {% endif %} | {% endif %} | ||||
| {% if referencePrice is not null %} | |||||
| <span class="price-unit-reference"> | |||||
| <small>({{ referencePrice.price|currency }}{{ "general.star"|trans|sw_sanitize }} / {{ referencePrice.referenceUnit }} {{ referencePrice.unitName }})</small> | |||||
| </span> | |||||
| {% endif %} | |||||
| </div> | </div> | ||||
| {% if product.translated.customFields.deposittype %} | {% if product.translated.customFields.deposittype %} | ||||
| <div class="product-deposittype"> | <div class="product-deposittype"> | ||||
| @@ -28,6 +28,7 @@ | |||||
| {% block page_product_detail_buy %} | {% block page_product_detail_buy %} | ||||
| <div class="col-lg-4 col-xl-{{ buyboxWidthConfig }} product-detail-buy" data-sticky-buybox="true"> | <div class="col-lg-4 col-xl-{{ buyboxWidthConfig }} product-detail-buy" data-sticky-buybox="true"> | ||||
| <div class="inside"> | |||||
| {# ... add headline here #} | {# ... add headline here #} | ||||
| {% block page_product_detail_headline %} | {% block page_product_detail_headline %} | ||||
| @@ -46,5 +47,6 @@ | |||||
| {% endblock %} | {% endblock %} | ||||
| {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %} | {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %} | ||||
| </div> | |||||
| </div> | </div> | ||||
| {% endblock %} | {% endblock %} | ||||