From 162c69f065581ef3c20185fd8832906fc96b2a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Fri, 6 Oct 2023 00:42:15 +0200 Subject: [PATCH 01/17] Initial changes for bs5 migration --- _dev/css/abstracts/_index.scss | 8 +++++--- _dev/css/abstracts/maps/_index.scss | 0 _dev/css/abstracts/variables/bootstrap/_options.scss | 1 + .../_partials/miniatures/_partials/product-form.tpl | 4 +++- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 _dev/css/abstracts/maps/_index.scss diff --git a/_dev/css/abstracts/_index.scss b/_dev/css/abstracts/_index.scss index d6f7cbff..a3ef10de 100644 --- a/_dev/css/abstracts/_index.scss +++ b/_dev/css/abstracts/_index.scss @@ -1,10 +1,12 @@ @import "~bootstrap/scss/functions"; -@import "functions/index"; -@import "variables/index"; -@import "mixins/index"; +@import "functions"; +@import "variables"; +@import "mixins"; @import "~bootstrap/scss/variables"; @import "~bootstrap/scss/variables-dark"; @import "~bootstrap/scss/maps"; @import "~bootstrap/scss/mixins"; + +@import "maps"; diff --git a/_dev/css/abstracts/maps/_index.scss b/_dev/css/abstracts/maps/_index.scss new file mode 100644 index 00000000..e69de29b diff --git a/_dev/css/abstracts/variables/bootstrap/_options.scss b/_dev/css/abstracts/variables/bootstrap/_options.scss index 4505a53a..a906f183 100644 --- a/_dev/css/abstracts/variables/bootstrap/_options.scss +++ b/_dev/css/abstracts/variables/bootstrap/_options.scss @@ -1 +1,2 @@ $enable-responsive-font-sizes: true; +$enable-dark-mode: false; diff --git a/templates/catalog/_partials/miniatures/_partials/product-form.tpl b/templates/catalog/_partials/miniatures/_partials/product-form.tpl index 717cb5b1..0eb86256 100644 --- a/templates/catalog/_partials/miniatures/_partials/product-form.tpl +++ b/templates/catalog/_partials/miniatures/_partials/product-form.tpl @@ -1,6 +1,8 @@
{if $product.add_to_cart_url && ($product.quantity > 0 || $product.allow_oosp) && !$configuration.is_catalog} -
+ Date: Fri, 6 Oct 2023 01:24:35 +0200 Subject: [PATCH 02/17] Migration to new bs5 utils classes --- .../views/templates/widget/contactform.tpl | 2 +- .../views/templates/hook/empty-product-comment.tpl | 2 +- .../views/templates/hook/post-comment-modal.tpl | 2 +- .../views/templates/hook/product-additional-info.tpl | 2 +- .../hook/product-comment-item-prototype.tpl | 12 ++++++------ .../views/templates/hook/product-comments-list.tpl | 10 +++++----- .../templates/front/mailalerts-account-line.tpl | 2 +- .../templates/hook/ps_emailsubscription-column.tpl | 2 +- .../views/templates/front/catalog/active-filters.tpl | 2 +- .../views/templates/front/catalog/facets.tpl | 4 ++-- .../views/templates/hook/hookDisplayFooter.tpl | 2 +- templates/_partials/form-fields.tpl | 2 +- templates/_partials/password-policy-template.tpl | 4 ++-- .../miniatures/_partials/product-prices.tpl | 4 ++-- .../catalog/_partials/miniatures/pack-product.tpl | 2 +- templates/catalog/_partials/product-add-to-cart.tpl | 2 +- .../catalog/_partials/product-customization.tpl | 6 +++--- templates/catalog/_partials/product-details.tpl | 6 +++--- templates/catalog/_partials/product-prices.tpl | 2 +- templates/catalog/_partials/products-top.tpl | 4 ++-- templates/catalog/_partials/products.tpl | 2 +- templates/checkout/_partials/address-form.tpl | 4 ++-- .../checkout/_partials/address-selector-block.tpl | 4 ++-- .../_partials/cart-detailed-product-line.tpl | 4 ++-- templates/checkout/_partials/cart-voucher.tpl | 2 +- templates/checkout/_partials/customer-form.tpl | 2 +- templates/checkout/_partials/header.tpl | 2 +- templates/checkout/_partials/login-form.tpl | 2 +- templates/checkout/_partials/steps/addresses.tpl | 2 +- templates/checkout/_partials/steps/checkout-step.tpl | 4 ++-- .../_partials/steps/personal-information.tpl | 2 +- templates/checkout/_partials/steps/shipping.tpl | 4 ++-- templates/checkout/cart.tpl | 2 +- templates/checkout/order-confirmation.tpl | 2 +- templates/cms/stores.tpl | 6 +++--- templates/components/featured-products.tpl | 4 ++-- templates/customer/_partials/block-address.tpl | 4 ++-- .../customer/_partials/order-detail-no-return.tpl | 2 +- templates/customer/_partials/order-detail-return.tpl | 2 +- templates/customer/discount.tpl | 2 +- templates/customer/history.tpl | 2 +- templates/customer/order-detail.tpl | 2 +- templates/customer/order-follow.tpl | 2 +- templates/customer/order-slip.tpl | 4 ++-- templates/customer/page.tpl | 2 +- 45 files changed, 72 insertions(+), 72 deletions(-) diff --git a/modules/contactform/views/templates/widget/contactform.tpl b/modules/contactform/views/templates/widget/contactform.tpl index b1ed2dd5..702a5809 100644 --- a/modules/contactform/views/templates/widget/contactform.tpl +++ b/modules/contactform/views/templates/widget/contactform.tpl @@ -113,7 +113,7 @@ -