Merge branch 'ticket-12868-WhiteBG'

This commit is contained in:
Marion Muszynski 2017-10-30 11:35:14 +01:00
commit 6f3b5615dc
12 changed files with 194 additions and 90 deletions

View File

@ -58,7 +58,7 @@ class AdminSkinStatic extends AdminTab {
Configuration::get('SKINSTATIC_VERSION'),
),
'<style type="text/css">body#index #columns { background: url("//www.bebeboutik.com/themes/site/skinstatic_cache/skin_'.(int) $i.'_'.(int) $id_lang.'.jpg?v={version}") no-repeat '.(Tools::getValue('fixed_'.(int) $i)? 'fixed center 0px': 'scroll center 0px').' #F1F1F1}</style><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-left" href="{left_link}"></a><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-right" href="{right_link}"></a>'.(Tools::getValue('fixed_'.(int) $i)? '
'<style type="text/css">body#index #columns { background: url("//www.bebeboutik.com/themes/site/skinstatic_cache/skin_'.(int) $i.'_'.(int) $id_lang.'.jpg?v={version}") no-repeat '.(Tools::getValue('fixed_'.(int) $i)? 'fixed center 0px': 'scroll center 0px').' #FFFFFF}</style><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-left" href="{left_link}"></a><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-right" href="{right_link}"></a>'.(Tools::getValue('fixed_'.(int) $i)? '
<script type="text/javascript">
<!--
$(document).ready(function() { var scrolling = $("#skin-left, #skin-right"); var pos = scrolling.position(); var size = scrolling.height() + 80; var max_size = $(document).height() - $("#footer").height() - 45; $(window).scroll(function(event) { offset = parseFloat(scrolling.css("marginTop").replace("px", "")); margin = 170; height = 750; if($(document).scrollTop()==0){margin = 30;} if($(document).scrollTop()>130){height = $(window).height();}; scrolling.css({ "marginTop": Math.min($(document).scrollTop(), max_size)-margin + "px", "height" : height+"px" }); }); '.($i == 0 && substr(Tools::getValue('left_link_'.(int) $i), 0, 28) == 'http://www.privatesportshop.'? '$("#skin-left, #skin-right").unbind("click").removeAttr("href").removeAttr("onclick").click(function(event) { event.stopPropagation(); event.preventDefault(); $("#privatesales_block li > a").first().trigger("click"); });': '').'
@ -78,7 +78,7 @@ class AdminSkinStatic extends AdminTab {
Configuration::get('SKINSTATIC_VERSION'),
),
'<style type="text/css">body#index #columns { background: url("//www.bebeboutik.com/themes/site/skinstatic_cache/skin_'.(int) $i.'_'.(int) $id_lang.'.jpg?v={version}") no-repeat '.(Tools::getValue('fixed_'.(int) $i)? 'fixed center 0px': 'scroll center 0px').' #F1F1F1}</style><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-left" href="{left_link}"></a><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-right" href="{right_link}"></a>'.(Tools::getValue('fixed_'.(int) $i)? '
'<style type="text/css">body#index #columns { background: url("//www.bebeboutik.com/themes/site/skinstatic_cache/skin_'.(int) $i.'_'.(int) $id_lang.'.jpg?v={version}") no-repeat '.(Tools::getValue('fixed_'.(int) $i)? 'fixed center 0px': 'scroll center 0px').' #FFFFFF}</style><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-left" href="{left_link}"></a><a'.((int) Tools::getValue('new_window_'.(int) $i)? ' onclick="window.open(this.href); return false;"': '').' id="skin-right" href="{right_link}"></a>'.(Tools::getValue('fixed_'.(int) $i)? '
<script type="text/javascript">
<!--
$(document).ready(function() { var scrolling = $("#skin-left, #skin-right"); var pos = scrolling.position(); var size = scrolling.height() + 80; var max_size = $(document).height() - $("#footer").height() - 45; $(window).scroll(function(event) { offset = parseFloat(scrolling.css("marginTop").replace("px", "")); scrolling.css({ "marginTop": Math.min($(document).scrollTop(), max_size) + "px" }); }); '.($i == 0 && substr(Tools::getValue('left_link_'.(int) $i), 0, 28) == 'http://www.privatesportshop.'? '$("#skin-left, #skin-right").unbind("click").removeAttr("href").removeAttr("onclick").click(function(event) { event.stopPropagation(); event.preventDefault(); $("#privatesales_block li > a").first().trigger("click"); });': '').'

View File

@ -830,7 +830,7 @@ body {
margin: 0;
padding: 0;
min-height: 100%;
background: #f3f3f3;
background: #ffffff;
color: #1e1633;
}
article,
@ -2197,10 +2197,10 @@ body#authentication.create{
background-repeat: no-repeat;
}
body#authentication, body#index.singleCol, body#validation {
background: url("../img/hp.jpg") no-repeat center 62px #f3f3f3;
background: url("../img/hp.jpg") no-repeat center 62px #ffffff;
}
body#index, body#index.singleCol.logged, body#category {
background: url("../img/hp.jpg") no-repeat center 62px #f3f3f3;
background: url("../img/hp.jpg") no-repeat center 62px #ffffff;
}
body #page {
position: relative;
@ -2249,10 +2249,10 @@ body #columns {
padding-top: 170px;
}
body #columns#authentication, body #columns#index.singleCol, body #columns#validation {
background: url("../img/hp2.jpg") no-repeat 0px 99px #f3f3f3;
background: url("../img/hp2.jpg") no-repeat 0px 99px #ffffff;
}
body #columns#index, body #columns#index.singleCol.logged, body #columns#category {
background: url("../img/hp2.jpg") no-repeat center 99px #f3f3f3;
background: url("../img/hp2.jpg") no-repeat center 99px #ffffff;
}
body #columns > .content {
width: 980px;
@ -2274,7 +2274,8 @@ h6 {
}
h1 {
color: #1e1633;
background: url("../img/bg_title.jpg") no-repeat top left;
/*background: url("../img/bg_title.jpg") no-repeat top left;*/
background: #fff;
font-size: 26px;
text-transform: none;
line-height: 1.5em;
@ -2317,6 +2318,7 @@ h4 {
}
#left_column {
padding-top: 0px;
padding-left: 2px;
}
body#category #center_column h1 {
margin: 0px 5px 20px 20px;
@ -4849,7 +4851,7 @@ body.vp-maman, #index.logged.vp-maman {
padding-bottom: 5px;
}
#footer #paiement_logo_block_left a.payment {
width: 386px;
width: 430px;
}
#footer #paiement_logo_block_left a {
float: left;
@ -5901,7 +5903,7 @@ table#carrierTable tbody td {
color: #444d52;
font-size: 12px;
border-bottom: 0px;
border-top: 10px solid #f1f1f1;
border-top: 10px solid #ffffff;
background: #FFF;
line-height: 1.5em;
padding: 5px 10px;
@ -7304,6 +7306,7 @@ table#carrierTable tbody td {
}
#order #center_column #gift_div textarea {
margin-bottom: 5px;
width: 100%;
}
#my_gift{
text-align: center;
@ -7356,4 +7359,97 @@ table#carrierTable tbody td {
#cart_remove_gift_message{
float:right;
background: #e26ea2;
}
/* for new white bg */
#order-detail-content,
#after_cart_summary,
div.addresses ul.address,
#block_order_choices,
#order #center_column #HOOK_PAYMENT p.payment_module,
#order #center_column #HOOK_PAYMENT div.payment_module,
#left_column .text_block2,
#left_column #blockordersummary,
#left_column .informations_block_left,
#left_column .facebook_block,
#left_column .advertising_block,
#center_column .block_invite_tab,
#my-account #center_column ul,
#history #block-history,
#order-slip #block-history,
#order-follow #block-history,
#identity #center_column form,
#discount #block_discount,
.block-paybox,
.block-paypal,
.ant_support .section-help,
#cms #center_column .rte,
#contact-form form,
.ajax_block_product{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: #fff;
-moz-box-shadow: 2px 2px 5px #cccccc;
-webkit-box-shadow: 2px 2px 5px #CCC;
-ms-box-shadow: 2px 2px 5px #cccccc;
-o-box-shadow: 2px 2px 5px #cccccc;
box-shadow: 2px 2px 5px #CCC;
}
#order-detail-content,
#after_cart_summary,
#block_order_choices,
#order #center_column #HOOK_PAYMENT p.payment_module,
#order #center_column #HOOK_PAYMENT div.payment_module,
#my-account #center_column ul,
#center_column .block_invite_tab,
#order-follow #block-history,
#order-slip #block-history,
#identity #center_column form,
#discount #block_discount,
.ant_support .section-help,
#cms #center_column .rte,
#contact-form form{
padding: 20px;
}
#order-detail-content,
#after_cart_summary,
#block_order_choices,
#order #center_column #HOOK_PAYMENT p.payment_module,
#order #center_column #HOOK_PAYMENT div.payment_module,
#my-account #center_column ul,
#center_column .block_invite_tab,
#history #block-history,
#order-slip #block-history,
#order-follow #block-history,
#identity #center_column form,
#discount #block_discount,
.block-paybox,
.block-paypal,
.ant_support .section-help,
#cms #center_column .rte,
#contact-form form{
width: 755px;
}
#after_cart_summary{
margin-top: 20px;
}
div.addresses ul.address.item {
margin-left: 2px;
}
#order #center_column #HOOK_PAYMENT p.payment_module,
#order #center_column #HOOK_PAYMENT div.payment_module{
border: 0px;
}
#my-account #center_column > h4,
#identity #center_column > h3{
text-align: center;
}
#order-follow #block-history .alternate_item,
#order-slip #block-history .alternate_item,
#discount .discount .alternate_item{
background: #F3F3F3;
}
.ant_support{
padding:0px!important;
}

View File

@ -29,60 +29,61 @@
<h1>{l s='My Vouchers'}</h1>
<div id="block_discount">
{if isset($discount) && count($discount) && $nbDiscounts}
<table class="discount std">
<thead>
<tr>
<th class="discount_code first_item">{l s='Code'}</th>
<th class="discount_description item">{l s='Description'}</th>
<th class="discount_quantity item">{l s='Quantity'}</th>
<th class="discount_value item">{l s='Value'}*</th>
<th class="discount_minimum item">{l s='Minimum'}</th>
<th class="discount_cumulative item">{l s='Cumulative'}</th>
<th class="discount_expiration_date last_item">{l s='Expiration date'}</th>
</tr>
</thead>
<tbody>
{foreach from=$discount item=discountDetail name=myLoop}
<tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{/if}">
<td class="discount_code">{$discountDetail.name}</td>
<td class="discount_description">{$discountDetail.description}</td>
<td class="discount_quantity">{$discountDetail.quantity_for_user}</td>
<td class="discount_value">
{if $discountDetail.id_discount_type == 1}
{$discountDetail.value|escape:'htmlall':'UTF-8'}%
{elseif $discountDetail.id_discount_type == 2}
{convertPrice price=$discountDetail.value}
{else}
{l s='Free shipping'}
{/if}
</td>
<td class="discount_minimum">
{if $discountDetail.minimal == 0}
{l s='none'}
{else}
{convertPrice price=$discountDetail.minimal}
{/if}
</td>
<td class="discount_cumulative">
{if $discountDetail.cumulable == 1}
<img src="{$img_dir}icon/yes.gif" alt="{l s='Yes'}" class="icon" />
{else}
<img src="{$img_dir}icon/no.gif" alt="{l s='No'}" class="icon" />
{/if}
</td>
<td class="discount_expiration_date">{dateFormat date=$discountDetail.date_to}</td>
</tr>
{/foreach}
</tbody>
</table>
<p>
* {l s='Tax included'}
</p>
<table class="discount std">
<thead>
<tr>
<th class="discount_code first_item">{l s='Code'}</th>
<th class="discount_description item">{l s='Description'}</th>
<th class="discount_quantity item">{l s='Quantity'}</th>
<th class="discount_value item">{l s='Value'}*</th>
<th class="discount_minimum item">{l s='Minimum'}</th>
<th class="discount_cumulative item">{l s='Cumulative'}</th>
<th class="discount_expiration_date last_item">{l s='Expiration date'}</th>
</tr>
</thead>
<tbody>
{foreach from=$discount item=discountDetail name=myLoop}
<tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{/if}">
<td class="discount_code">{$discountDetail.name}</td>
<td class="discount_description">{$discountDetail.description}</td>
<td class="discount_quantity">{$discountDetail.quantity_for_user}</td>
<td class="discount_value">
{if $discountDetail.id_discount_type == 1}
{$discountDetail.value|escape:'htmlall':'UTF-8'}%
{elseif $discountDetail.id_discount_type == 2}
{convertPrice price=$discountDetail.value}
{else}
{l s='Free shipping'}
{/if}
</td>
<td class="discount_minimum">
{if $discountDetail.minimal == 0}
{l s='none'}
{else}
{convertPrice price=$discountDetail.minimal}
{/if}
</td>
<td class="discount_cumulative">
{if $discountDetail.cumulable == 1}
<img src="{$img_dir}icon/yes.gif" alt="{l s='Yes'}" class="icon" />
{else}
<img src="{$img_dir}icon/no.gif" alt="{l s='No'}" class="icon" />
{/if}
</td>
<td class="discount_expiration_date">{dateFormat date=$discountDetail.date_to}</td>
</tr>
{/foreach}
</tbody>
</table>
<p>
* {l s='Tax included'}
</p>
{else}
<p class="warning">{l s='You do not possess any vouchers.'}</p>
{/if}
</div>
{*<p class="footer_links">
<a href="{$base_dir}" class="button">{l s='Home'}</a></li>
</p>*}

BIN
themes/site/img/bg_footer_bloc.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,5 +1,5 @@
/*
* 2007-2011 PrestaShop
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
@ -30,7 +30,7 @@ function ps_round(value, precision)
roundMode = 2;
if (typeof(precision) == 'undefined')
precision = 2;
method = roundMode;
if (method == 0)
return ceilf(value, precision);
@ -179,7 +179,7 @@ function print_r(arr, level)
level_padding += " ";
if (typeof(arr) == 'object')
{ //Array/Hashes/Objects
{ //Array/Hashes/Objects
for (var item in arr)
{
var value = arr[item];
@ -222,5 +222,5 @@ function resizeAddressesBox(nameBox)
if (maxHeight < currentHeight)
maxHeight = currentHeight;
});
$(nameBox).height(maxHeight);
$(nameBox).height(maxHeight+10);
}

View File

@ -23,7 +23,7 @@
{if $page_name != 'order'}
<div class="facebook_block">
<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fbebeboutik&amp;width=200&amp;height=350&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:350px;" allowTransparency="true"></iframe>
<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fbebeboutik&amp;width=200&amp;height=350&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:225px;" allowTransparency="true"></iframe>
</div>
{/if}
<!-- /MODULE Block text -->

View File

@ -48,20 +48,22 @@
</div>
{/if}
<ul class="idTabs">
<li><a href="#idTab1" {if $activeTab=='sponsor'}class="selected"{/if}>{l s='Sponsor my friends' mod='invite'}</a></li>
<li><a href="#idTab2" {if $activeTab=='pending'}class="selected"{/if}>{l s='Pending friends' mod='invite'}</a></li>
<li><a href="#idTab3" {if $activeTab=='subscribed'}class="selected"{/if}>{l s='Friends I sponsored' mod='invite'}</a></li>
</ul>
<div class="sheets">
<div id="idTab1">
{include file="tab1.tpl"}
</div>
<div id="idTab2">
{include file="tab2.tpl"}
</div>
<div id="idTab3">
{include file="tab3.tpl"}
<div class="block_invite_tab">
<ul class="idTabs">
<li><a href="#idTab1" {if $activeTab=='sponsor'}class="selected"{/if}>{l s='Sponsor my friends' mod='invite'}</a></li>
<li><a href="#idTab2" {if $activeTab=='pending'}class="selected"{/if}>{l s='Pending friends' mod='invite'}</a></li>
<li><a href="#idTab3" {if $activeTab=='subscribed'}class="selected"{/if}>{l s='Friends I sponsored' mod='invite'}</a></li>
</ul>
<div class="sheets">
<div id="idTab1">
{include file="tab1.tpl"}
</div>
<div id="idTab2">
{include file="tab2.tpl"}
</div>
<div id="idTab3">
{include file="tab3.tpl"}
</div>
</div>
</div>

View File

@ -100,17 +100,19 @@
<div id="opc_delivery_methods-overlay" class="opc-overlay" style="display: none;"></div>
{/if}
<div id="block_order_choices">
{if $conditions AND $cms_id}
<h3 class="condition_title">{l s='Terms of service'}</h3>
<p class="checkbox">
<input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS || $cookie->id_lang == 3}checked="checked"{/if} />
<label for="cgv">{l s='I agree to the terms of service and adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(read)'}</a>
</p>
<script type="text/javascript">$('a.iframe').fancybox();</script>
<h3 class="condition_title">{l s='Terms of service'}</h3>
<p class="checkbox">
<input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS || $cookie->id_lang == 3}checked="checked"{/if} />
<label for="cgv">{l s='I agree to the terms of service and adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(read)'}</a>
</p>
<script type="text/javascript">$('a.iframe').fancybox();</script>
{/if}
{if $virtual_cart}
<input id="input_virtual_carrier" class="hidden" type="hidden" name="id_carrier" value="0" />
<input id="input_virtual_carrier" class="hidden" type="hidden" name="id_carrier" value="0" />
{else}
<h3 class="carrier_title">{l s='Choose your delivery method'}</h3>
@ -205,9 +207,9 @@
{if count($carriers_ooh) > 0}
<thead>
<tr>
<th class="carrier_action first_item" colspan="2" style="border-top: 20px solid #f1f1f1;">{l s='At a relay point'}</th>
<th class="carrier_infos item" style="border-top: 20px solid #f1f1f1;">{l s='Information'}</th>
<th class="carrier_price last_item" style="border-top: 20px solid #f1f1f1;">{l s='Price'}</th>
<th class="carrier_action first_item" colspan="2" style="border-top: 20px solid #ffffff;">{l s='At a relay point'}</th>
<th class="carrier_infos item" style="border-top: 20px solid #ffffff;">{l s='Information'}</th>
<th class="carrier_price last_item" style="border-top: 20px solid #ffffff;">{l s='Price'}</th>
</tr>
</thead>
<tbody>
@ -272,6 +274,7 @@
{/if} *}
{/if}
{/if}
</div>
{if !$opc}
{if $cookie->id_lang == 3}

View File

@ -324,6 +324,7 @@
</p>
{/if}
<div id="after_cart_summary">
{if $site_version == 'es'}
<p class="safety-payment">{l s='Pago seguro, datos encriptados'}</p>
{/if}
@ -369,7 +370,7 @@
</p>
<p id="gift_div" class="textarea">
<label for="gift_message">{l s='If you wish, you can add a note to the gift:'}</label>
<textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'htmlall':'UTF-8'}</textarea>
<textarea rows="5" id="gift_message" name="gift_message">{$cart->gift_message|escape:'htmlall':'UTF-8'}</textarea>
{* <a id="cart_add_gift_message" class="exclusive">{l s='Enregistré'}</a> <a id="cart_remove_gift_message" class="exclusive">{l s='Supprimer'}</a> *}
<div class="clear"></div>
</p>
@ -386,6 +387,7 @@
</script>
{/if}
{/if}
</div>
{* Define the style if it doesn't exist in the PrestaShop version*}
{* Will be deleted for 1.5 version and more *}