From d726131b767294960f1b5ea5dacad293a84e667c Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Tue, 4 Jul 2017 10:46:06 +0200 Subject: [PATCH] css modification of similar product --- .../front_similarproducts.tpl | 5 +++-- themes/site/css/style.css | 20 ++++++++++++------ themes/site/img/loupe_pink.png | Bin 0 -> 1884 bytes themes/site/img/panier2_white.png | Bin 0 -> 1937 bytes 4 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 themes/site/img/loupe_pink.png create mode 100644 themes/site/img/panier2_white.png diff --git a/modules/privatesales_similarproducts/front_similarproducts.tpl b/modules/privatesales_similarproducts/front_similarproducts.tpl index 5c66a4d7..63802336 100644 --- a/modules/privatesales_similarproducts/front_similarproducts.tpl +++ b/modules/privatesales_similarproducts/front_similarproducts.tpl @@ -21,8 +21,9 @@ {$product.legend|escape:'htmlall':'UTF-8'}
-

{$product.price}

+ {*

*}

+ {$product.price} {convertPrice price=$product.price_without_reduction} {if $product.specific_prices.reduction_type =='percentage'} {assign var="reduc_value" value=$product.specific_prices.reduction * 100} @@ -46,7 +47,7 @@ $(document).ready(function(){ var list_items = frame.find('ul'); var nb_items = list_items.find('li').length; - if (nb_items>3) { + if (nb_items>6) { // adjust css frame.css({ diff --git a/themes/site/css/style.css b/themes/site/css/style.css index f937b85d..a5e7ba8f 100755 --- a/themes/site/css/style.css +++ b/themes/site/css/style.css @@ -6890,7 +6890,7 @@ table#carrierTable tbody td { box-sizing: border-box; max-height: 300px; background: #fff; - margin: 0 10px 0 10px; + margin: 0 10px 5px 10px; display:inline-block; -moz-box-shadow: 0px 0px 5px 1px #cccccc; @@ -6929,11 +6929,17 @@ table#carrierTable tbody td { height: 100%; } #product #privatesales_similarproduct ul li .hover-slide a.add-to-cart { + background: url("../img/panier2_white.png") no-repeat center center; +} +#product #privatesales_similarproduct ul li .hover-slide a.add-to-cart:hover { background: url("../img/panier2.png") no-repeat center center; } #product #privatesales_similarproduct ul li .hover-slide a.see-product { background: url("../img/loupe.png") no-repeat center center; } +#product #privatesales_similarproduct ul li .hover-slide a.see-product:hover { + background: url("../img/loupe_pink.png") no-repeat center center; +} #product #privatesales_similarproduct ul li:after{ content: ''; @@ -6952,12 +6958,12 @@ table#carrierTable tbody td { } #product #privatesales_similarproduct ul li .info_sellers { background: #fff; - background-color: #E4E4EE; + /*background-color: #E4E4EE;*/ padding: 10px 10px; box-sizing: border-box; } #product #privatesales_similarproduct ul li .product_link_sellers, -#product #privatesales_similarproduct ul li .info_sellers p.price, +#product #privatesales_similarproduct ul li .info_sellers span.price, #product #privatesales_similarproduct ul li .info_sellers .old_price, #product #privatesales_similarproduct ul li .info_sellers .percentage, #product #privatesales_similarproduct ul li .info_sellers .amount{ @@ -6998,10 +7004,10 @@ table#carrierTable tbody td { #product #privatesales_similarproduct ul li .info_sellers p { margin:0px; } -#product #privatesales_similarproduct ul li .info_sellers p.price { +#product #privatesales_similarproduct ul li .info_sellers span.price { border:0; padding-top: 0px; - color: #FB69AA; + color: #70BC2C; font-size: 16px; } #product #privatesales_similarproduct ul li .info_sellers .price_info { @@ -7014,7 +7020,9 @@ table#carrierTable tbody td { padding:0px; margin:0px; } -#product #privatesales_similarproduct ul li .info_sellers .price_info .percentage, +#product #privatesales_similarproduct ul li .info_sellers .price_info .percentage{ + color: #FB69AA; +} #product #privatesales_similarproduct ul li .info_sellers .price_info .amount{ color: #4F4E9A; } diff --git a/themes/site/img/loupe_pink.png b/themes/site/img/loupe_pink.png new file mode 100644 index 0000000000000000000000000000000000000000..dd9ec573deaeea72b86d9c3d6d2f2a4a818e14f2 GIT binary patch literal 1884 zcmaJ?c~BE)9E}1(L4rkrfXD2Fqad(3APHFr0trZvM8ULDD3Y*QAe!vP%_;$ERVqxAvbTHiy#PC!Gi_hmXm}~}{?Motjbr~q3(EFk~*BJ#7 zqJwdjmQZ0RU{X{hW19&9oy_#_5;WSkvZ(G&o5+SS^a?G51u{(~%>X5m|A%TcZ_zp; z7WpUN{}k5AGPDRI7SUmwahN=~6jxIyEhNMd1%cr*3{%f^aZMUVV7fF+3kZd#uJHiR zbt+VerR%(2b0iW-jOqvl3L|2XfKIA_DwPsqhlhu<0wTCvCf}dM3g?CK!Z=|f7LUhf z^F%@}bA~Iz;LREYC1$wFf4IC^xh6Ykv}9xvf~&S5$_O0O0I$o2RI}&eKdaswu5$KV zIJ0sYWHJoX;r{EeXSPTOnWk^8OD^7;A3;gS>cYf% zy!DkmQ5vchlBGUn8WrVY+5ILIK(+%4oc&CwYvpV zi?eOy1>dWg&*n-$`HpsUXV3UNt&Os4yfmlWUYXNeYqrGl9B`|4^;5v^VVCBGRh(w$ z>V!u0q@5*t{nk>X9*{O@@1nJC#T+L1xQC z9d$>;y^_z}-?jbykos~a)2_q9n0?UwqGgU6%1cdhYri{rsz%Y>0=xHbXmsONSASeO z@VJQOH{bZ4J`zqWjMpI~#hV5@c6z zo6(nk6T80D{42NqN1vYTjTuze?{AWt&3P692mXV&LXQ(lk+U8aNtHY z-1V+@LPzy^Uq2d{YIGSL8O&Ro8;~uzlBN$BJl)!No$GBl@pHrF>BN=8r+6b?9b4p0 zPjh;XRa3dq(@Arz%i|K8=kW@Pd7bICLoMZ2RsE+wdOv1s-QFJ8z^IPGJ^jbM8HSinxiqtv6HN<7*3r2W`P7je z_G4Ztw4`Z|T^>Nf)2)RU#_+(!r(CG&&V_$e?P9N5>@+nN4X%!yZ1S+ZnI}IF%9<;d zw;p}=+$oWzy!;#dIcEv@oZbu*{;h@1w!-LBPMidcE4wv(9iC-`_&c<2jgm!fQlUIWJ~RW%c|-%G%!kNWNz z2g*Fp5MXogO{CZ7qlfW_>zg@a`$o2W@M@u)a{kHBudos4X4C&p94-~rgvqo20(0H( Ar2qf` literal 0 HcmV?d00001 diff --git a/themes/site/img/panier2_white.png b/themes/site/img/panier2_white.png new file mode 100644 index 0000000000000000000000000000000000000000..64450729187834f0478dd872ee5ba75d11019a95 GIT binary patch literal 1937 zcmaJ?c~BE~7>$L11Oftqa*1oOfFQX^NF>Ng2t*TPA}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