first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
.blockreassurance {
padding-top: 10px;
text-align: center;
width: 100%;
}
.blockreassurance .reass-item {
display: inline-block;
text-align: center;
vertical-align: top;
}
.blockreassurance .block-title {
font-weight: bold;
}
.blockreassurance .block-icon,
.blockreassurance .block-icon img,
.blockreassurance .block-icon svg {
height: 70px;
}
@media (max-width: 575px) {
.blockreassurance {
text-align: left;
}
.blockreassurance .block-icon {
display: inline-block;
height: 35px;
float: left;
margin: 10px;
width: 35px;
}
.blockreassurance .block-icon img,
.blockreassurance .block-icon svg {
height: 35px;
width: 35px;
}
.blockreassurance .block-title {
display: inline-block;
height: 35px;
max-width: calc(100% - 55px);
padding-top: 10px;
}
}
.blockreassurance_product {
margin-top: 25px;
}
.blockreassurance_product .item-product {
display: inline-block;
height: 35px;
float: left;
margin-right: 5px;
padding-top: 5px;
width: 35px;
}
.blockreassurance_product .item-product img,
.blockreassurance_product .item-product svg {
height: 35px;
width: 35px;
}
.blockreassurance_product p.block-title {
line-height: 40px;
}
/* Specific Checkout */
body#checkout .container-blockreassurance {
min-height: auto;
}/*# sourceMappingURL=front.css.map */

View File

@@ -0,0 +1 @@
{"version":3,"sources":["front.scss","front.css"],"names":[],"mappings":"AAAA;EACI,iBAAA;EACA,kBAAA;EACA,WAAA;ACCJ;ADAE;EACE,qBAAA;EACA,kBAAA;EACA,mBAAA;ACEJ;ADAE;EACE,iBAAA;ACEJ;ADAE;;;EAGE,YAAA;ACEJ;;ADEA;EACI;IACI,gBAAA;ECCN;EDCE;IACI,qBAAA;IACA,YAAA;IACA,WAAA;IACA,YAAA;IACA,WAAA;ECCN;EDCE;;IAEI,YAAA;IACA,WAAA;ECCN;EDCE;IACI,qBAAA;IACA,YAAA;IACA,4BAAA;IACA,iBAAA;ECCN;AACF;ADEA;EACE,gBAAA;ACAF;ADCE;EACE,qBAAA;EACA,YAAA;EACA,WAAA;EACA,iBAAA;EACA,gBAAA;EACA,WAAA;ACCJ;;ADGA;;EAEI,YAAA;EACA,WAAA;ACAJ;;ADGA;EACI,iBAAA;ACAJ;;ADGA,sBAAA;AACA;EACI,gBAAA;ACAJ","file":"front.css","sourcesContent":[".blockreassurance {\r\n padding-top: 10px;\r\n text-align: center;\r\n width: 100%;\r\n .reass-item {\r\n display: inline-block;\r\n text-align: center;\r\n vertical-align: top;\r\n }\r\n .block-title {\r\n font-weight: bold;\r\n }\r\n .block-icon,\r\n .block-icon img,\r\n .block-icon svg {\r\n height: 70px;\r\n }\r\n}\r\n\r\n@media (max-width:575px) {\r\n .blockreassurance {\r\n text-align:left;\r\n }\r\n .blockreassurance .block-icon {\r\n display: inline-block;\r\n height: 35px;\r\n float: left;\r\n margin: 10px;\r\n width: 35px;\r\n }\r\n .blockreassurance .block-icon img,\r\n .blockreassurance .block-icon svg {\r\n height: 35px;\r\n width: 35px;\r\n }\r\n .blockreassurance .block-title {\r\n display: inline-block;\r\n height: 35px;\r\n max-width: calc(100% - 55px);\r\n padding-top: 10px;\r\n }\r\n}\r\n\r\n.blockreassurance_product {\r\n margin-top: 25px;\r\n .item-product {\r\n display: inline-block;\r\n height: 35px;\r\n float: left;\r\n margin-right: 5px;\r\n padding-top: 5px;\r\n width: 35px;\r\n }\r\n}\r\n\r\n.blockreassurance_product .item-product img,\r\n.blockreassurance_product .item-product svg {\r\n height: 35px;\r\n width: 35px;\r\n}\r\n\r\n.blockreassurance_product p.block-title {\r\n line-height: 40px;\r\n}\r\n\r\n/* Specific Checkout */\r\nbody#checkout .container-blockreassurance {\r\n min-height: auto;\r\n}\r\n",".blockreassurance {\n padding-top: 10px;\n text-align: center;\n width: 100%;\n}\n.blockreassurance .reass-item {\n display: inline-block;\n text-align: center;\n vertical-align: top;\n}\n.blockreassurance .block-title {\n font-weight: bold;\n}\n.blockreassurance .block-icon,\n.blockreassurance .block-icon img,\n.blockreassurance .block-icon svg {\n height: 70px;\n}\n\n@media (max-width: 575px) {\n .blockreassurance {\n text-align: left;\n }\n .blockreassurance .block-icon {\n display: inline-block;\n height: 35px;\n float: left;\n margin: 10px;\n width: 35px;\n }\n .blockreassurance .block-icon img,\n .blockreassurance .block-icon svg {\n height: 35px;\n width: 35px;\n }\n .blockreassurance .block-title {\n display: inline-block;\n height: 35px;\n max-width: calc(100% - 55px);\n padding-top: 10px;\n }\n}\n.blockreassurance_product {\n margin-top: 25px;\n}\n.blockreassurance_product .item-product {\n display: inline-block;\n height: 35px;\n float: left;\n margin-right: 5px;\n padding-top: 5px;\n width: 35px;\n}\n\n.blockreassurance_product .item-product img,\n.blockreassurance_product .item-product svg {\n height: 35px;\n width: 35px;\n}\n\n.blockreassurance_product p.block-title {\n line-height: 40px;\n}\n\n/* Specific Checkout */\nbody#checkout .container-blockreassurance {\n min-height: auto;\n}"]}

View File

@@ -0,0 +1,69 @@
.blockreassurance {
padding-top: 10px;
text-align: center;
width: 100%;
.reass-item {
display: inline-block;
text-align: center;
vertical-align: top;
}
.block-title {
font-weight: bold;
}
.block-icon,
.block-icon img,
.block-icon svg {
height: 70px;
}
}
@media (max-width:575px) {
.blockreassurance {
text-align:left;
}
.blockreassurance .block-icon {
display: inline-block;
height: 35px;
float: left;
margin: 10px;
width: 35px;
}
.blockreassurance .block-icon img,
.blockreassurance .block-icon svg {
height: 35px;
width: 35px;
}
.blockreassurance .block-title {
display: inline-block;
height: 35px;
max-width: calc(100% - 55px);
padding-top: 10px;
}
}
.blockreassurance_product {
margin-top: 25px;
.item-product {
display: inline-block;
height: 35px;
float: left;
margin-right: 5px;
padding-top: 5px;
width: 35px;
}
}
.blockreassurance_product .item-product img,
.blockreassurance_product .item-product svg {
height: 35px;
width: 35px;
}
.blockreassurance_product p.block-title {
line-height: 40px;
}
/* Specific Checkout */
body#checkout .container-blockreassurance {
min-height: auto;
}

View File

@@ -0,0 +1,61 @@
/**
* 2007-2019 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
import './front.scss';
$(window).ready(function () {
$('.blockreassurance_product img.svg, .blockreassurance img.svg').each(function () {
var imgObject = $(this);
var imgID = imgObject.attr('id');
var imgClass = imgObject.attr('class');
var imgURL = imgObject.attr('src');
$.ajax({
url: imgURL,
type: 'GET',
success: function(data){
if ($.isXMLDoc(data)) {
// Get the SVG tag, ignore the rest
var $svg = $(data).find('svg');
// Add replaced image's ID to the new SVG
$svg = typeof imgID !== 'undefined' ? $svg.attr('id', imgID) : $svg;
// Add replaced image's classes to the new SVG
$svg = typeof imgClass !== 'undefined' ? $svg.attr('class', imgClass + ' replaced-svg') : $svg.attr('class', ' replaced-svg');
$svg.removeClass('invisible');
// Add URL in data
$svg = $svg.attr('data-img-url', imgURL);
// Remove any invalid XML tags as per http://validator.w3.org
$svg = $svg.removeAttr('xmlns:a');
// Set color defined in backoffice
$svg.find('path[fill]').attr('fill', psr_icon_color);
$svg.find('path:not([fill])').css('fill', psr_icon_color);
// Replace image with new SVG
imgObject.replaceWith($svg);
}
imgObject.removeClass('invisible');
}
});
});
});

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2019 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;