From 6a4f1d9052a2db6347be76acd7de974c1f688e7c Mon Sep 17 00:00:00 2001 From: tblivet Date: Thu, 16 Jan 2025 17:17:42 +0100 Subject: [PATCH 001/284] feat: refacto WIP --- modules/ps_contactinfo/nav.tpl | 4 +- .../ps_currencyselector.tpl | 6 +- .../ps_customersignin/ps_customersignin.tpl | 24 ++++---- .../templates/hook/ps_emailsubscription.tpl | 2 +- .../views/templates/front/catalog/facets.tpl | 2 +- .../ps_languageselector.tpl | 9 +-- modules/ps_mainmenu/ps_mainmenu.tpl | 6 +- .../variables/bootstrap/_components.scss | 1 + .../abstract/variables/bootstrap/_fonts.scss | 2 - .../abstract/variables/bootstrap/_index.scss | 2 + .../abstract/variables/bootstrap/_links.scss | 1 + .../variables/prestashop/_header.scss | 2 +- src/scss/core/components/_index.scss | 1 + src/scss/core/components/_products.scss | 18 ++++++ src/scss/core/components/product/_index.scss | 1 + .../components/product/_product-color.scss | 24 ++++++++ .../product/_product-miniature.scss | 33 ++++++++--- src/scss/core/layout/_header-bottom.scss | 27 +++++++++ src/scss/core/layout/_header-top.scss | 43 ++++++++------- src/scss/core/layout/_header.scss | 13 ----- src/scss/core/modules/_facetedsearch.scss | 5 ++ .../custom/components/misc/_header-block.scss | 2 - .../product/_product-miniature.scss | 16 ------ src/scss/custom/layout/_header-bottom.scss | 31 ----------- src/scss/custom/layout/_header-top.scss | 27 --------- src/scss/custom/layout/_index.scss | 2 - src/scss/custom/pages/product/_product.scss | 20 +++---- src/scss/partials/_commons.scss | 52 ++---------------- src/scss/partials/_fonts.scss | 25 +++------ src/scss/partials/_helpers.scss | 9 --- src/scss/theme.scss | 20 +++++-- templates/_partials/header.tpl | 55 ++++++++++++------- .../catalog/_partials/miniatures/product.tpl | 10 ++-- templates/catalog/_partials/productlist.tpl | 3 +- templates/catalog/_partials/variant-links.tpl | 23 ++++---- .../_partials/order-final-summary.tpl | 4 +- .../_partials/steps/personal-information.tpl | 2 +- 37 files changed, 246 insertions(+), 281 deletions(-) create mode 100644 src/scss/abstract/variables/bootstrap/_components.scss create mode 100644 src/scss/abstract/variables/bootstrap/_links.scss create mode 100644 src/scss/core/components/_products.scss create mode 100644 src/scss/core/components/product/_product-color.scss delete mode 100644 src/scss/custom/layout/_header-bottom.scss delete mode 100644 src/scss/custom/layout/_header-top.scss diff --git a/modules/ps_contactinfo/nav.tpl b/modules/ps_contactinfo/nav.tpl index f527f0b54..2f4f46da5 100644 --- a/modules/ps_contactinfo/nav.tpl +++ b/modules/ps_contactinfo/nav.tpl @@ -2,8 +2,8 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *} -