Added changes from eb94b51 TMMeilleur/PrestaShop

This commit is contained in:
alexey-svistunov
2013-11-08 21:00:00 +02:00
parent d3100acef2
commit 6f5c9044d3
87 changed files with 4285 additions and 152 deletions
@@ -17,9 +17,9 @@
padding: 23px 0 0 0;
margin-bottom: 30px;
background: url(../img/contact-form.png) repeat-x white;
-webkit-box-shadow: rgba(0, 0, 0, 0.17) 0px 5px 13px;
-moz-box-shadow: rgba(0, 0, 0, 0.17) 0px 5px 13px;
box-shadow: rgba(0, 0, 0, 0.17) 0px 5px 13px;
-webkit-box-shadow: rgba(0, 0, 0, 0) 0px 5px 13px;
-moz-box-shadow: rgba(0, 0, 0, 0) 0px 5px 13px;
box-shadow: rgba(0, 0, 0, 0) 0px 5px 13px;
}
.contact-form-box fieldset {
padding: 0 19px 21px 19px;
+211 -25
View File
@@ -144,7 +144,7 @@ p.info-account {
font-weight: normal;
}
.alert.alert-success {
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
}
.alert.alert-success:before {
font-family: "FontAwesome";
@@ -154,7 +154,7 @@ p.info-account {
padding-right: 7px;
}
.alert.alert-danger {
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
}
.alert.alert-danger:before {
font-family: "FontAwesome";
@@ -310,7 +310,7 @@ input.button_large, input.button_large_disabled, input.exclusive_large, input.ex
-o-border-radius: 0px;
border-radius: 0px;
padding: 0;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.24);
}
.button.button-small span {
display: block;
@@ -441,7 +441,7 @@ input.button_large, input.button_large_disabled, input.exclusive_large, input.ex
font-size: 14px;
line-height: 14px;
color: silver;
text-shadow: 1px -1px rgba(0, 0, 0, 0);
text-shadow: 1px -1px rgba(0, 0, 0, 0.05);
padding: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
@@ -527,7 +527,7 @@ input.button_large, input.button_large_disabled, input.exclusive_large, input.ex
.button.ajax_add_to_cart_button {
font: 700 17px/21px Arial, Helvetica, sans-serif;
color: white;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
padding: 0;
border: 1px solid;
border-color: #0079b6 #006fa8 #012740 #006fa8;
@@ -734,7 +734,7 @@ table.table_block td {
background: #6ad4ff;
text-transform: uppercase;
padding: 9px 0 7px;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.24);
width: 113px;
text-align: center;
display: block;
@@ -789,7 +789,7 @@ table.table_block td {
background: #f13340;
text-transform: uppercase;
padding: 9px 0 7px;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.24);
width: 113px;
text-align: center;
display: block;
@@ -941,6 +941,7 @@ table.table_block td {
#index .tab-content {
margin-top: 35px;
margin-bottom: 34px;
}
.block {
@@ -1045,6 +1046,61 @@ table.table_block td {
}
/*************** Block CATEGORIES ***************/
#categories_block_top {
clear: both;
position: relative;
top: 30px;
}
#categories_block_top .sf-menu {
position: relative;
}
#categories_block_top .sf-menu > li {
position: static;
}
#categories_block_top .sf-menu > li > ul {
width: 100%;
top: 60px;
margin: 0 20px;
}
#categories_block_top .sf-menu > li > ul > li {
display: block;
float: left;
width: 20%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 10px;
}
#categories_block_top .sf-menu > li > ul > .category_thumb {
display: block;
clear: both;
overflow: hidden;
width: 100%;
}
#categories_block_top .sf-menu > li > ul > .category_thumb img {
display: inline-block;
width: 33%;
}
#categories_block_top .sf-menu > li h4 a {
font-size: 1.1em;
}
#categories_block_top .sf-menu > li h4 a:before {
display: none;
}
#categories_block_top .sf-menu > li .main-level-submenus {
position: relative;
display: block !important;
visibility: visible !important;
top: 0;
background: none;
box-shadow: none;
padding: 0;
left: 0;
}
#categories_block_top .sf-menu .category_thumb {
display: none;
}
#categories_block_left .block_content > ul {
border-top: 1px solid #d6d4d4;
}
@@ -1334,11 +1390,19 @@ ul.footer_links li + li {
display: block;
padding: 4px 0;
}
@media (max-width: 767px) {
.top-pagination-content ul.pagination li.pagination_previous > a b, .top-pagination-content ul.pagination li.pagination_previous > span b, .top-pagination-content ul.pagination li.pagination_next > a b, .top-pagination-content ul.pagination li.pagination_next > span b, .bottom-pagination-content ul.pagination li.pagination_previous > a b, .bottom-pagination-content ul.pagination li.pagination_previous > span b, .bottom-pagination-content ul.pagination li.pagination_next > a b, .bottom-pagination-content ul.pagination li.pagination_next > span b {
display: none;
}
}
.top-pagination-content ul.pagination li.pagination_previous > a span, .top-pagination-content ul.pagination li.pagination_previous > span span, .top-pagination-content ul.pagination li.pagination_next > a span, .top-pagination-content ul.pagination li.pagination_next > span span, .bottom-pagination-content ul.pagination li.pagination_previous > a span, .bottom-pagination-content ul.pagination li.pagination_previous > span span, .bottom-pagination-content ul.pagination li.pagination_next > a span, .bottom-pagination-content ul.pagination li.pagination_next > span span {
border: none;
padding: 0;
background: none;
}
.top-pagination-content ul.pagination li.pagination_previous > a b, .top-pagination-content ul.pagination li.pagination_previous > span b, .top-pagination-content ul.pagination li.pagination_next > a b, .top-pagination-content ul.pagination li.pagination_next > span b, .bottom-pagination-content ul.pagination li.pagination_previous > a b, .bottom-pagination-content ul.pagination li.pagination_previous > span b, .bottom-pagination-content ul.pagination li.pagination_next > a b, .bottom-pagination-content ul.pagination li.pagination_next > span b {
font-weight: bold;
}
.top-pagination-content ul.pagination li.pagination_previous, .bottom-pagination-content ul.pagination li.pagination_previous {
margin-right: 10px;
}
@@ -1552,7 +1616,7 @@ ul.step li.step_done {
}
ul.step li.step_done a {
color: white;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
border: 1px solid;
border-color: #8b8a8a;
background: #727171;
@@ -1791,7 +1855,7 @@ div.star_hover a, div.star a:hover {
font-weight: bold;
padding: 8px 10px 10px 10px;
color: white;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
@media (max-width: 479px) {
#header #currencies-block-top div.current, #header #languages-block-top div.current {
@@ -1862,7 +1926,7 @@ div.star_hover a, div.star a:hover {
color: white;
font-weight: bold;
padding: 8px 10px 11px 10px;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
@media (max-width: 479px) {
#header #contact-link a {
@@ -1994,7 +2058,7 @@ div.star_hover a, div.star a:hover {
}
.footer-container #footer ul li a {
font-weight: bold;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0);
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
}
.footer-container #footer #block_contact_infos {
border-left: 1px solid #515151;
@@ -2736,7 +2800,6 @@ p.cheque-indent {
#manufacturers_list.list li .mansup-container, #suppliers_list.list li .mansup-container {
border-top: 1px solid #d6d4d4;
padding: 31px 0 30px 0;
/* < 768 */
}
@media (max-width: 767px) {
#manufacturers_list.list li .mansup-container, #suppliers_list.list li .mansup-container {
@@ -2755,7 +2818,6 @@ p.cheque-indent {
}
#manufacturers_list.list li .middle-side, #suppliers_list.list li .middle-side {
padding-left: 0;
/* < 768 */
}
@media (max-width: 767px) {
#manufacturers_list.list li .middle-side, #suppliers_list.list li .middle-side {
@@ -2767,7 +2829,6 @@ p.cheque-indent {
border-left: 1px solid #d6d4d4;
padding: 0 0 32px 31px;
min-height: 108px;
/* < 768 */
}
@media (max-width: 767px) {
#manufacturers_list.list li .right-side-content, #suppliers_list.list li .right-side-content {
@@ -2780,18 +2841,12 @@ p.cheque-indent {
position: relative;
top: -6px;
margin-bottom: 12px;
/* < 768 */
}
@media (max-width: 767px) {
#manufacturers_list.list li .right-side-content .product-counter, #suppliers_list.list li .right-side-content .product-counter {
top: 0;
}
}
#manufacturers_list.grid, #suppliers_list.grid {
/* > 1199 */
/*768 -> 1199*/
/*< 768 */
}
#manufacturers_list.grid li, #suppliers_list.grid li {
text-align: center;
}
@@ -2844,7 +2899,6 @@ p.cheque-indent {
}
#manufacturer .bottom-pagination-content #pagination .showall, #manufacturer .top-pagination-content #pagination .showall, #supplier .bottom-pagination-content #pagination .showall, #supplier .top-pagination-content #pagination .showall {
margin-right: 0;
/* > 1199 */
}
@media (min-width: 1200px) {
#manufacturer .bottom-pagination-content #pagination .showall, #manufacturer .top-pagination-content #pagination .showall, #supplier .bottom-pagination-content #pagination .showall, #supplier .top-pagination-content #pagination .showall {
@@ -2873,9 +2927,6 @@ table.discount i.icon-remove {
/*****************************************************************************************************
GUEST TRACKING
******************************************************************************************************/
#guestTracking {
/* > 1200px */
}
#guestTracking .form-control {
max-width: 271px;
}
@@ -2943,7 +2994,6 @@ table.discount i.icon-remove {
max-width: 293px;
display: inline-block;
margin-right: 5px;
/* max 767px */
}
@media (max-width: 767px) {
#pagenotfound .pagenotfound .form-control {
@@ -3172,3 +3222,139 @@ div.star_hover a, div.star a:hover {
content: "";
font-family: "FontAwesome";
}
/********************************************* Homepage pre-footer *****************************************/
#facebook_block, #cmsinfo_block {
margin-top: 40px;
overflow: hidden;
background: #f2f2f2;
min-height: 344px;
padding-right: 29px;
padding-left: 29px;
}
@media (max-width: 991px) {
#facebook_block, #cmsinfo_block {
padding-left: 15px;
padding-right: 15px;
}
}
@media (max-width: 767px) {
#facebook_block, #cmsinfo_block {
width: 100%;
min-height: 1px;
}
}
#facebook_block h4, #cmsinfo_block h4 {
font: 600 21px/25px "Open Sans", sans-serif;
color: #555454;
margin-bottom: 26px;
}
@media (max-width: 991px) {
#facebook_block h4, #cmsinfo_block h4 {
font-size: 16px;
}
}
@media (max-width: 767px) {
#facebook_block h4, #cmsinfo_block h4 {
padding-top: 20px !important;
}
}
#facebook_block h4 {
padding-top: 44px;
}
#facebook_block .facebook-fanbox {
background: white;
border: 1px solid #aaaaaa;
padding-bottom: 10px;
}
#cmsinfo_block {
border-left: 1px solid #d9d9d9;
}
@media (max-width: 767px) {
#cmsinfo_block {
border: none;
margin-top: 10px;
}
}
#cmsinfo_block > div {
padding-top: 45px;
padding-left: 0;
}
@media (max-width: 767px) {
#cmsinfo_block > div {
padding-top: 20px;
}
}
@media (max-width: 479px) {
#cmsinfo_block > div {
width: 100%;
border-top: 1px solid #d9d9d9;
}
}
#cmsinfo_block > div + div {
border-left: 1px solid #d9d9d9;
min-height: 344px;
padding-left: 29px;
}
@media (max-width: 479px) {
#cmsinfo_block > div + div {
border-left: none;
padding-left: 10px;
min-height: 1px;
padding-bottom: 15px;
}
}
#cmsinfo_block > div + div h3 {
margin-bottom: 12px;
}
#cmsinfo_block em {
float: left;
font-size: 35px;
color: white;
width: 59px;
height: 59px;
line-height: 59px;
text-align: center;
background: #333333;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
-ms-border-radius: 100px;
-o-border-radius: 100px;
border-radius: 100px;
margin: 3px 10px 0 0;
}
@media (max-width: 991px) {
#cmsinfo_block em {
width: 30px;
height: 30px;
line-height: 30px;
font-size: 20px;
}
}
#cmsinfo_block .type-text {
overflow: hidden;
}
#cmsinfo_block h3 {
font: 600 21px/25px "Open Sans", sans-serif;
color: #555454;
}
@media (max-width: 1199px) {
#cmsinfo_block h3 {
font-size: 18px;
}
}
#cmsinfo_block ul li {
padding-bottom: 22px;
}
@media (max-width: 1199px) {
#cmsinfo_block ul li {
padding-bottom: 10px;
}
}
@media (max-width: 991px) {
#cmsinfo_block ul li {
padding-bottom: 0;
}
}
@@ -10,7 +10,7 @@
padding-bottom: 11px;
}
#enabled_filters li {
padding: 1px 0;
padding: 1px 15px 1px 0;
color: #9c9b9b;
cursor: pointer;
position: relative;
@@ -16,11 +16,20 @@
#homepage-slider {
padding-left: 0;
padding-right: 0;
padding-top: 29px;
margin-bottom: 35px;
padding-top: 50px;
margin-bottom: 14px;
width: 66.6%;
max-width: 779px;
position: relative;
z-index: 1;
float: left;
}
@media (max-width: 767px) {
#homepage-slider {
width: 100%;
max-width: 100%;
padding-top: 20px;
}
}
#homepage-slider #homeslider {
margin: 0 auto;
@@ -0,0 +1,72 @@
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic);
/* Home hook CSS */
#htmlcontent_home ul {
margin: 0 -5px;
}
#htmlcontent_home ul li {
padding: 0 5px 10px;
}
@media (max-width: 479px) {
#htmlcontent_home ul li {
width: 100%;
}
}
#htmlcontent_home ul li img {
max-width: 100%;
height: auto;
}
@media (max-width: 479px) {
#htmlcontent_home ul li img {
min-width: 100%;
}
}
#htmlcontent_home ul li.htmlcontent-item-4 {
width: 66.6667%;
}
@media (max-width: 479px) {
#htmlcontent_home ul li.htmlcontent-item-4 {
width: 100%;
}
}
/* Top hook CSS */
#htmlcontent_top {
float: left;
padding-top: 40px;
width: 33.4%;
max-width: 391px;
padding-left: 10px;
}
@media (max-width: 767px) {
#htmlcontent_top {
width: 100%;
max-width: 100%;
padding-left: 0;
padding-top: 0px;
}
}
@media (max-width: 767px) {
#htmlcontent_top ul {
margin: 0 -5px;
}
}
#htmlcontent_top ul li {
padding-top: 10px;
width: 100%;
}
@media (max-width: 767px) {
#htmlcontent_top ul li {
float: left;
padding-left: 5px;
padding-right: 5px;
width: 50%;
}
}
#htmlcontent_top ul li img {
max-width: 100%;
height: auto;
}
/* Left hook CSS */
/* Right hook CSS */
/* Footer hook CSS */
+11 -1
View File
@@ -40,7 +40,17 @@
<meta http-equiv="content-language" content="{$meta_language}" />
<meta name="generator" content="PrestaShop" />
<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<script>
if (navigator.userAgent.match(/Android/i)) {
var viewport = document.querySelector("meta[name=viewport]");
viewport.setAttribute('content', 'initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=device-width,height=device-height');
}
if(navigator.userAgent.match(/Android/i)){
window.scrollTo(0,1);
}
</script>
<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
<script type="text/javascript">
+5 -2
View File
@@ -23,12 +23,15 @@
* International Registered Trademark & Property of PrestaShop SA
*}
{$HOOK_HOME}
{if isset($HOOK_HOME_TAB_CONTENT)}
<div class="clearfix"></div>
{if isset($HOOK_HOME_TAB)}
<ul id="home-page-tabs" class="nav nav-tabs">{/if}{$HOOK_HOME_TAB}{if isset($HOOK_HOME_TAB)}</ul>
{/if}
<div class="tab-content">
{$HOOK_HOME_TAB_CONTENT}
</div>
{/if}
{/if}
<div class="clearfix">
{$HOOK_HOME}
</div>
@@ -36,10 +36,10 @@ $(document).ready(function()
// Click on color
$('#layered_form input[type=button], #layered_form label.layered_color').live('click', function()
{
if (!$('input[name='+$(this).attr('name')+'][type=hidden]').length)
$('<input />').attr('type', 'hidden').attr('name', $(this).attr('name')).val($(this).attr('rel')).appendTo('#layered_form');
if (!$('input[name='+$(this).prop('name')+'][type=hidden]').length)
$('<input />').prop('type', 'hidden').prop('name', $(this).prop('name')).val($(this).prop('rel')).appendTo('#layered_form');
else
$('input[name='+$(this).attr('name')+'][type=hidden]').remove();
$('input[name='+$(this).prop('name')+'][type=hidden]').remove();
reloadContent();
});
@@ -52,17 +52,17 @@ $(document).ready(function()
// Changing content of an input text
$('#layered_form input.layered_input_range').live('keyup', function()
{
if ($(this).attr('timeout_id'))
window.clearTimeout($(this).attr('timeout_id'));
if ($(this).prop('timeout_id'))
window.clearTimeout($(this).prop('timeout_id'));
// IE Hack, setTimeout do not acept the third parameter
var reference = this;
$(this).attr('timeout_id', window.setTimeout(function(it) {
if (!$(it).attr('id'))
$(this).prop('timeout_id', window.setTimeout(function(it) {
if (!$(it).prop('id'))
it = reference;
var filter = $(it).attr('id').replace(/^layered_(.+)_range_.*$/, '$1');
var filter = $(it).prop('id').replace(/^layered_(.+)_range_.*$/, '$1');
var value_min = parseInt($('#layered_'+filter+'_range_min').val());
if (isNaN(value_min))
@@ -83,9 +83,9 @@ $(document).ready(function()
});
$('#layered_block_left .radio').live('click', function() {
var name = $(this).attr('name');
var name = $(this).prop('name');
$.each($(this).parent().parent().find('input[type=button]'), function (it, item) {
if ($(item).hasClass('on') && $(item).attr('name') != name) {
if ($(item).hasClass('on') && $(item).prop('name') != name) {
$(item).click();
}
});
@@ -95,7 +95,7 @@ $(document).ready(function()
// Click on label
$('#layered_block_left label a').live({
click: function() {
var disable = $(this).parent().parent().find('input').attr('disabled');
var disable = $(this).parent().parent().find('input').prop('disabled');
if (disable == ''
|| typeof(disable) == 'undefined'
|| disable == false)
@@ -109,13 +109,13 @@ $(document).ready(function()
layered_hidden_list = {};
$('.hide-action').live('click', function() {
if (typeof(layered_hidden_list[$(this).parent().find('ul').attr('id')]) == 'undefined' || layered_hidden_list[$(this).parent().find('ul').attr('id')] == false)
if (typeof(layered_hidden_list[$(this).parent().find('ul').prop('id')]) == 'undefined' || layered_hidden_list[$(this).parent().find('ul').prop('id')] == false)
{
layered_hidden_list[$(this).parent().find('ul').attr('id')] = true;
layered_hidden_list[$(this).parent().find('ul').prop('id')] = true;
}
else
{
layered_hidden_list[$(this).parent().find('ul').attr('id')] = false;
layered_hidden_list[$(this).parent().find('ul').prop('id')] = false;
}
hideFilterValueAction(this);
});
@@ -128,10 +128,10 @@ $(document).ready(function()
while ($('#selectPrductSort').length) { // Because ids are duplicated
// Unbind event change on #selectPrductSort
$('#selectPrductSort').unbind('change');
$('#selectPrductSort').attr('onchange', '');
$('#selectPrductSort').prop('onchange', '');
$('#selectPrductSort').addClass('selectProductSort');
$('#selectPrductSort').attr('id', 'selectPrductSort'+id);
$('label[for=selectPrductSort]').attr('for', 'selectPrductSort'+id);
$('#selectPrductSort').prop('id', 'selectPrductSort'+id);
$('label[for=selectPrductSort]').prop('for', 'selectPrductSort'+id);
id++;
}
@@ -145,7 +145,7 @@ $(document).ready(function()
reloadContent();
});
$('.js-nb_item').unbind('change').attr('onchange', '');
$('.js-nb_item').unbind('change').prop('onchange', '');
$('.js-nb_item').live('change', function(event) {
$('.js-nb_item').val($(this).val());
@@ -158,7 +158,7 @@ $(document).ready(function()
function hideFilterValueAction(it)
{
if (typeof(layered_hidden_list[$(it).parent().find('ul').attr('id')]) == 'undefined' || layered_hidden_list[$(it).parent().find('ul').attr('id')] == false)
if (typeof(layered_hidden_list[$(it).parent().find('ul').prop('id')]) == 'undefined' || layered_hidden_list[$(it).parent().find('ul').prop('id')] == false)
{
$(it).parent().find('.hiddable').hide();
$(it).parent().find('.hide-action.less').hide();
@@ -221,21 +221,21 @@ function initLayered()
function paginationButton() {
$('div.pagination a').not(':hidden').each(function () {
if ($(this).attr('href').search('&p=') == -1) {
if ($(this).prop('href').search('&p=') == -1) {
var page = 1;
}
else {
var page = $(this).attr('href').replace(/^.*&p=(\d+).*$/, '$1');
var page = $(this).prop('href').replace(/^.*&p=(\d+).*$/, '$1');
}
var location = window.location.href.replace(/#.*$/, '');
$(this).attr('href', location+current_friendly_url.replace(/\/page-(\d+)/, '')+'/page-'+page);
$(this).prop('href', location+current_friendly_url.replace(/\/page-(\d+)/, '')+'/page-'+page);
});
$('div.pagination li').not('.current, .disabled').each(function () {
var nbPage = 0;
if ($(this).hasClass('pagination_next'))
nbPage = parseInt($('div.pagination li.current').children().html())+ 1;
nbPage = parseInt($('div.pagination li.current').children().children().html())+ 1;
else if ($(this).hasClass('pagination_previous'))
nbPage = parseInt($('div.pagination li.current').children().html())- 1;
nbPage = parseInt($('div.pagination li.current').children().children().html())- 1;
$(this).children().children().click(function () {
if (nbPage == 0)
@@ -250,35 +250,39 @@ function paginationButton() {
});
}
function showAllButton() {
}
function cancelFilter()
{
$('#enabled_filters a').live('click', function(e)
{
if ($(this).attr('rel').search(/_slider$/) > 0)
if ($(this).prop('rel').search(/_slider$/) > 0)
{
if ($('#'+$(this).attr('rel')).length)
if ($('#'+$(this).prop('rel')).length)
{
$('#'+$(this).attr('rel')).slider('values' , 0, $('#'+$(this).attr('rel')).slider('option' , 'min' ));
$('#'+$(this).attr('rel')).slider('values' , 1, $('#'+$(this).attr('rel')).slider('option' , 'max' ));
$('#'+$(this).attr('rel')).slider('option', 'slide')(0,{values:[$('#'+$(this).attr('rel')).slider( 'option' , 'min' ), $('#'+$(this).attr('rel')).slider( 'option' , 'max' )]});
$('#'+$(this).prop('rel')).slider('values' , 0, $('#'+$(this).prop('rel')).slider('option' , 'min' ));
$('#'+$(this).prop('rel')).slider('values' , 1, $('#'+$(this).prop('rel')).slider('option' , 'max' ));
$('#'+$(this).prop('rel')).slider('option', 'slide')(0,{values:[$('#'+$(this).prop('rel')).slider( 'option' , 'min' ), $('#'+$(this).prop('rel')).slider( 'option' , 'max' )]});
}
else if($('#'+$(this).attr('rel').replace(/_slider$/, '_range_min')).length)
else if($('#'+$(this).prop('rel').replace(/_slider$/, '_range_min')).length)
{
$('#'+$(this).attr('rel').replace(/_slider$/, '_range_min')).val($('#'+$(this).attr('rel').replace(/_slider$/, '_range_min')).attr('limitValue'));
$('#'+$(this).attr('rel').replace(/_slider$/, '_range_max')).val($('#'+$(this).attr('rel').replace(/_slider$/, '_range_max')).attr('limitValue'));
$('#'+$(this).prop('rel').replace(/_slider$/, '_range_min')).val($('#'+$(this).prop('rel').replace(/_slider$/, '_range_min')).prop('limitValue'));
$('#'+$(this).prop('rel').replace(/_slider$/, '_range_max')).val($('#'+$(this).prop('rel').replace(/_slider$/, '_range_max')).prop('limitValue'));
}
}
else
{
if ($('option#'+$(this).attr('rel')).length)
if ($('option#'+$(this).prop('rel')).length)
{
$('#'+$(this).attr('rel')).parent().val('');
$('#'+$(this).prop('rel')).parent().val('');
}
else
{
$('#'+$(this).attr('rel')).attr('checked', false);
$('.'+$(this).attr('rel')).attr('checked', false);
$('#layered_form input[type=hidden][name='+$(this).attr('rel')+']').remove();
$('#'+$(this).prop('rel')).prop('checked', false);
$('.'+$(this).prop('rel')).prop('checked', false);
$('#layered_form input[type=hidden][name='+$(this).prop('rel')+']').remove();
}
}
reloadContent();
@@ -292,13 +296,13 @@ function openCloseFilter()
{
if ($(this).html() == '&lt;')
{
$('#'+$(this).attr('rel')).show();
$('#'+$(this).prop('rel')).show();
$(this).html('v');
$(this).parent().removeClass('closed');
}
else
{
$('#'+$(this).attr('rel')).hide();
$('#'+$(this).prop('rel')).hide();
$(this).html('&lt;');
$(this).parent().addClass('closed');
}
@@ -321,8 +325,8 @@ function reloadContent(params_plus)
if (!ajaxLoaderOn)
{
$('#product_list').prepend($('#layered_ajax_loader').html());
$('#product_list').css('opacity', '0.7');
$('.product_list').prepend($('#layered_ajax_loader').html());
$('.product_list').css('opacity', '0.7');
ajaxLoaderOn = 1;
}
@@ -331,7 +335,7 @@ function reloadContent(params_plus)
var sliderStart = $(this).slider('values', 0);
var sliderStop = $(this).slider('values', 1);
if (typeof(sliderStart) == 'number' && typeof(sliderStop) == 'number')
data += '&'+$(this).attr('id')+'='+sliderStart+'_'+sliderStop;
data += '&'+$(this).prop('id')+'='+sliderStart+'_'+sliderStop;
});
$(['price', 'weight']).each(function(it, sliderType)
@@ -343,9 +347,9 @@ function reloadContent(params_plus)
});
$('#layered_form .select option').each( function () {
if($(this).attr('id') && $(this).parent().val() == $(this).val())
if($(this).prop('id') && $(this).parent().val() == $(this).val())
{
data += '&'+$(this).attr('id') + '=' + $(this).val();
data += '&'+$(this).prop('id') + '=' + $(this).val();
}
});
@@ -399,13 +403,13 @@ function reloadContent(params_plus)
$('.category-product-count').html(result.categoryCount);
if (result.productList)
$('#product_list').replaceWith(utf8_decode(result.productList));
$('.product_list').replaceWith(utf8_decode(result.productList));
else
$('#product_list').html('');
$('.product_list').html('');
$('#product_list').css('opacity', '1');
$('.product_list').css('opacity', '1');
if ($.browser.msie) // Fix bug with IE8 and aliasing
$('#product_list').css('filter', '');
$('.product_list').css('filter', '');
if (result.pagination.search(/[^\s]/) >= 0) {
if ($(result.pagination).find('ul.pagination').length)
@@ -442,7 +446,7 @@ function reloadContent(params_plus)
val = $('div.pagination .js-nb_item').val();
$('div.pagination .js-nb_item').children().each(function(it, option) {
if (option.value == val)
$(option).attr('selected', true);
$(option).prop('selected', true);
else
$(option).removeAttr('selected');
});
@@ -485,7 +489,7 @@ function reloadContent(params_plus)
lockLocationChecking = true;
if(slideUp)
$.scrollTo('#product_list', 400);
$.scrollTo('.product_list', 400);
updateProductUrl();
$('.hide-action').each(function() {
@@ -530,11 +534,11 @@ function updateProductUrl()
{
// Adding the filters to URL product
if (typeof(param_product_url) != 'undefined' && param_product_url != '' && param_product_url !='#') {
$.each($('ul#product_list li.ajax_block_product .product_img_link,'+
'ul#product_list li.ajax_block_product h3 a,'+
'ul#product_list li.ajax_block_product .product_desc a,'+
'ul#product_list li.ajax_block_product .lnk_view'), function() {
$(this).attr('href', $(this).attr('href') + param_product_url);
$.each($('ul.product_list li.ajax_block_product .product_img_link,'+
'ul.product_list li.ajax_block_product h3 a,'+
'ul.product_list li.ajax_block_product .product_desc a,'+
'ul.product_list li.ajax_block_product .lnk_view'), function() {
$(this).prop('href', $(this).prop('href') + param_product_url);
});
}
}
@@ -0,0 +1,55 @@
{*
* 2007-2013 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-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!-- Block categories module -->
<div id="categories_block_top">
<div class="category_top">
<div class="list">
<ul class="tree {if $isDhtml}dhtml{/if} sf-menu sf-js-enabled clearfix">
{foreach from=$blockCategTree.children item=child name=blockCategTree}
{if $smarty.foreach.blockCategTree.last}
{include file="$branche_tpl_path" node=$child last='true'}
{else}
{include file="$branche_tpl_path" node=$child}
{/if}
{if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last}
</ul>
</div>
</div>
<div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%">
<div style="float:left" class="list">
<ul class="tree {if $isDhtml}dhtml{/if}">
{/if}
{/foreach}
</ul>
</div>
</div>
<br class="clear"/>
</div>
<!-- /Block categories module -->
@@ -0,0 +1,41 @@
{*
* 2007-2013 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-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}">
<h4><a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
title="{$node.desc|strip_tags|trim|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a></h4>
{if $node.children|@count > 0}
<ul class="main-level-submenus">
{foreach from=$node.children item=child name=categoryTreeBranch}
{if $smarty.foreach.categoryTreeBranch.last}
{include file="$branche_tpl_path" node=$child last='true'}
{else}
{include file="$branche_tpl_path" node=$child last='false'}
{/if}
{/foreach}
</ul>
{/if}
</li>
@@ -0,0 +1,27 @@
{if isset($htmlitems.items) && $htmlitems.items}
<div id="htmlcontent_footer">
<ul class="htmlcontent-home clearfix row">
{foreach name=items from=$htmlitems.items item=hItem}
<li class="htmlcontent-item col-xs-4">
{if $hItem.url}
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
{/if}
{if $hItem.image}
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
{/if}
{if $hItem.title && $hItem.title_use == 1}
<h3 class="item-title">{$hItem.title}</h3>
{/if}
{if $hItem.html}
<div class="item-html">
{$hItem.html} <i class="icon-double-angle-right"></i>
</div>
{/if}
{if $hItem.url}
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
@@ -0,0 +1,27 @@
{if isset($htmlitems.items) && $htmlitems.items}
<div id="htmlcontent_home">
<ul class="htmlcontent-home clearfix row">
{foreach name=items from=$htmlitems.items item=hItem}
<li class="htmlcontent-item-{$smarty.foreach.items.iteration} col-xs-4">
{if $hItem.url}
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
{/if}
{if $hItem.image}
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
{/if}
{if $hItem.title && $hItem.title_use == 1}
<h3 class="item-title">{$hItem.title}</h3>
{/if}
{if $hItem.html}
<div class="item-html">
{$hItem.html} <i class="icon-double-angle-right"></i>
</div>
{/if}
{if $hItem.url}
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
@@ -0,0 +1,27 @@
{if isset($htmlitems.items) && $htmlitems.items}
<div id="htmlcontent_left">
<ul class="htmlcontent-home clearfix row">
{foreach name=items from=$htmlitems.items item=hItem}
<li class="htmlcontent-item span4">
{if $hItem.url}
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
{/if}
{if $hItem.image}
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
{/if}
{if $hItem.title && $hItem.title_use == 1}
<h3 class="item-title">{$hItem.title}</h3>
{/if}
{if $hItem.html}
<div class="item-html">
{$hItem.html} <i class="icon-double-angle-right"></i>
</div>
{/if}
{if $hItem.url}
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
@@ -0,0 +1,27 @@
{if isset($htmlitems.items) && $htmlitems.items}
<div id="htmlcontent_right">
<ul class="htmlcontent-home clearfix row">
{foreach name=items from=$htmlitems.items item=hItem}
<li class="htmlcontent-item col-xs-4">
{if $hItem.url}
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
{/if}
{if $hItem.image}
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
{/if}
{if $hItem.title && $hItem.title_use == 1}
<h3 class="item-title">{$hItem.title}</h3>
{/if}
{if $hItem.html}
<div class="item-html">
{$hItem.html} <i class="icon-double-angle-right"></i>
</div>
{/if}
{if $hItem.url}
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
@@ -0,0 +1,27 @@
{if isset($htmlitems.items) && $htmlitems.items}
<div id="htmlcontent_top">
<ul class="htmlcontent-home clearfix">
{foreach name=items from=$htmlitems.items item=hItem}
<li class="htmlcontent-item">
{if $hItem.url}
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
{/if}
{if $hItem.image}
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
{/if}
{if $hItem.title && $hItem.title_use == 1}
<h3 class="item-title">{$hItem.title}</h3>
{/if}
{if $hItem.html}
<div class="item-html">
{$hItem.html} <i class="icon-double-angle-right"></i>
</div>
{/if}
{if $hItem.url}
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
+8 -9
View File
@@ -70,9 +70,9 @@
<ul class="pagination">
{if $p != 1}
{assign var='p_previous' value=$p-1}
<li id="pagination_previous{if isset($paginationId)}_{$paginationId}{/if}" class="pagination_previous"><a {$no_follow_text} href="{$link->goPage($requestPage, $p_previous)}"><i class="icon-chevron-left"></i> {l s='Previous'}</a></li>
<li id="pagination_previous{if isset($paginationId)}_{$paginationId}{/if}" class="pagination_previous"><a {$no_follow_text} href="{$link->goPage($requestPage, $p_previous)}"><i class="icon-chevron-left"></i> <b>{l s='Previous'}</b></a></li>
{else}
<li id="pagination_previous{if isset($paginationId)}_{$paginationId}{/if}" class="disabled pagination_previous"><span><i class="icon-chevron-left"></i> {l s='Previous'}</span></li>
<li id="pagination_previous{if isset($paginationId)}_{$paginationId}{/if}" class="disabled pagination_previous"><span><i class="icon-chevron-left"></i> <b>{l s='Previous'}</b></span></li>
{/if}
{if $start==3}
<li><a {$no_follow_text} href="{$link->goPage($requestPage, 1)}"><span>1</span></a></li>
@@ -105,9 +105,9 @@
{/if}
{if $pages_nb > 1 AND $p != $pages_nb}
{assign var='p_next' value=$p+1}
<li id="pagination_next{if isset($paginationId)}_{$paginationId}{/if}" class="pagination_next"><a {$no_follow_text} href="{$link->goPage($requestPage, $p_next)}">{l s='Next'} <i class="icon-chevron-right"></i></a></li>
<li id="pagination_next{if isset($paginationId)}_{$paginationId}{/if}" class="pagination_next"><a {$no_follow_text} href="{$link->goPage($requestPage, $p_next)}"><b>{l s='Next'}</b> <i class="icon-chevron-right"></i></a></li>
{else}
<li id="pagination_next{if isset($paginationId)}_{$paginationId}{/if}" class="disabled pagination_next"><span>{l s='Next'} <i class="icon-chevron-right"></i></span></li>
<li id="pagination_next{if isset($paginationId)}_{$paginationId}{/if}" class="disabled pagination_next"><span><b>{l s='Next'}</b> <i class="icon-chevron-right"></i></span></li>
{/if}
</ul>
{/if}
@@ -123,12 +123,11 @@
{else}
{assign var='productShowingStart' value=$n*$p-$n+1}
{/if}
{if $nb_products > 1}
{l s='Showing %1$d - %2$d of %3$d items' sprintf=[$productShowingStart, $productShowing, $nb_products]}
{else}
{l s='Showing %1$d - %2$d of 1 item' sprintf=[$productShowingStart, $productShowing]}
{/if}
{l s='Showing %1$d - %2$d of %3$d items' sprintf=[$productShowingStart, $productShowing, $nb_products]}
{else}
{l s='Showing %1$d - %2$d of 1 item' sprintf=[$productShowingStart, $productShowing]}
{/if}
</div>
<!-- /Pagination -->
{/if}
+9 -9
View File
@@ -626,15 +626,15 @@ var contentOnly = {if $content_only}true{else}false{/if}
{/if}
</td>
<td>
<span>{l s='Up to'}</span>
{if $quantity_discount.price >= 0 OR $quantity_discount.reduction_type == 'amount'}
{$discountPrice=$productPrice-$quantity_discount.real_value|floatval}
{else}
{$discountPrice=$productPrice-($productPrice*$quantity_discount.reduction)|floatval}
{/if}
{$discountPrice=$discountPrice*$quantity_discount.quantity}
{$qtyProductPrice = $productPrice*$quantity_discount.quantity}
{convertPrice price=$qtyProductPrice-$discountPrice}
<span>{l s='Up to'}</span>
{if $quantity_discount.price >= 0 OR $quantity_discount.reduction_type == 'amount'}
{$discountPrice=$productPrice-$quantity_discount.real_value|floatval}
{else}
{$discountPrice=$productPrice-($productPrice*$quantity_discount.reduction)|floatval}
{/if}
{$discountPrice=$discountPrice*$quantity_discount.quantity}
{$qtyProductPrice = $productPrice*$quantity_discount.quantity}
{convertPrice price=$qtyProductPrice-$discountPrice}
</td>
</tr>
{/foreach}
@@ -15,6 +15,7 @@ $base-border-color: #d6d4d4;
$main_border: 1px solid $base-border-color;
$dark-border-color: #333;
$light-border-color: #fff;
$homepage-footer-border: #d9d9d9;
//--------- BACKGROUNDS
// -------------------------
@@ -23,6 +24,7 @@ $base-box-bg: #fbfbfb;
$table-background: $base-box-bg;
$dark-background: #333;
$light-background: #fff;
$homepage-footer-bg: #f2f2f2;
//--------- COLORS
+196 -40
View File
@@ -818,7 +818,8 @@ table.table_block td {
#index {
.tab-content {
margin-top:35px;
margin-top:35px;
margin-bottom:34px;
}
}
.block {margin-bottom:30px}
@@ -924,6 +925,58 @@ table.table_block td {
}
}
/*************** Block CATEGORIES ***************/
#categories_block_top{
clear:both;
position: relative;
top: 30px;
.sf-menu{
position: relative;
>li{
position: static;
>ul{
width: 100%;
top: 60px;
margin: 0 20px;
>li{
display: block;
float: left;
width: 20%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 10px;
}
>.category_thumb{
display: block;
clear: both;
overflow: hidden;
width: 100%;
img{
display: inline-block;
width: 33%;
}
}
}
h4{
a{
font-size: 1.1em;
&:before{display: none;}
}
}
.main-level-submenus{
position: relative;
display: block !important;
visibility: visible !important;
top: 0;
background: none;
box-shadow: none;
padding: 0;
left: 0;
}
}
.category_thumb{display: none;}
}
}
#categories_block_left {
.block_content > ul {
@@ -1220,8 +1273,12 @@ ul.footer_links {
background:none;
display:block;
padding:4px 0;
@media (max-width: $screen-xs-max) { // max 767px
b {display:none;}
}
span { border:none; padding:0; background:none;}
b {font-weight:bold;}
}
}
@@ -2521,10 +2578,9 @@ p.cheque-indent {
.mansup-container {
border-top:1px solid $base-border-color;
padding:31px 0 30px 0;
/* < 768 */
@media (max-width: $screen-xs-max){
text-align:center;
}
@media (max-width: $screen-xs-max){ // < 768
text-align:center;
}
}
&:first-child {
@@ -2543,35 +2599,30 @@ p.cheque-indent {
.middle-side {
padding-left:0;
/* < 768 */
@media (max-width: $screen-xs-max){
padding-right:15px;
padding-left:15px;
}
@media (max-width: $screen-xs-max){ // < 768
padding-right:15px;
padding-left:15px;
}
}
.right-side-content {
border-left:1px solid $base-border-color;
padding:0 0 32px 31px;
min-height:108px;
/* < 768 */
@media (max-width: $screen-xs-max){
min-height:1px;
padding:0;
border:none;
}
@media (max-width: $screen-xs-max){ // < 768
min-height:1px;
padding:0;
border:none;
}
.product-counter {
position:relative;
top:-6px;
margin-bottom:12px;
/* < 768 */
@media (max-width: $screen-xs-max){
top:0;
}
@media (max-width: $screen-xs-max){ // < 768
top:0;
}
}
}
}
@@ -2594,20 +2645,17 @@ p.cheque-indent {
.product-counter { margin-bottom:12px;}
}
}
/* > 1199 */
@media (min-width: $screen-lg) {
@media (min-width: $screen-lg) { // > 1199
li.first-in-line { clear:left;}
li.last-line { .product-container {border-bottom:none;}}
}
/*768 -> 1199*/
@media (min-width: $screen-sm) and (max-width: $screen-md-max) {
@media (min-width: $screen-sm) and (max-width: $screen-md-max) { //768 -> 1199
li.first-item-of-tablet-line {clear:left;}
li.last-tablet-line { .product-container {border-bottom:none;}}
}
/*< 768 */
@media (max-width: $screen-xs-max) {
@media (max-width: $screen-xs-max) { // < 768
li.item-last { .product-container {border-bottom:none;}}
}
}
@@ -2628,11 +2676,9 @@ p.cheque-indent {
.showall {
margin-right:0;
/* > 1199 */
@media (min-width: $screen-lg) {
margin-right:201px;
}
@media (min-width: $screen-lg) { // > 1199
margin-right:201px;
}
}
}
}
@@ -2667,8 +2713,7 @@ table.discount {
.form-control {
max-width:271px;
}
/* > 1200px */
@media (min-width: $screen-lg) {
@media (min-width: $screen-lg) { // > 1200px
.form-group {
overflow:hidden;
i { padding-left:10px;}
@@ -2732,11 +2777,10 @@ table.discount {
display:inline-block;
margin-right:5px;
/* max 767px */
@media (max-width: $screen-xs-max) {
margin:0 auto 15px auto;
display:block;
}
@media (max-width: $screen-xs-max) { // max 767px
margin:0 auto 15px auto;
display:block;
}
}
.buttons {
@@ -2937,4 +2981,116 @@ div.star_hover a, div.star a:hover { background-position: 0 -13px }
content:"";
font-family:$font-icon;
}
}
/********************************************* Homepage pre-footer *****************************************/
#facebook_block, #cmsinfo_block {
margin-top:40px;
overflow:hidden;
background:$homepage-footer-bg;
min-height:344px;
padding-right:29px;
padding-left:29px;
@media (max-width: $screen-sm-max) { // max 991px
padding-left:15px;
padding-right:15px;
}
@media (max-width: $screen-xs-max) { // max 767px
width:100%;
min-height:1px;
}
h4 {
font:600 21px/25px $font-custom;
color:$base-heading-color;
margin-bottom:26px;
@media (max-width: $screen-sm-max) { // max 991px
font-size:16px;
}
@media (max-width: $screen-xs-max) { // max 767px
padding-top:20px !important;
}
}
}
#facebook_block {
h4 {
padding-top:44px;
}
.facebook-fanbox {
background:$light-background;
border:1px solid #aaaaaa;
padding-bottom:10px;
}
}
#cmsinfo_block {
border-left:1px solid $homepage-footer-border;
@media (max-width: $screen-xs-max) { // max 767px
border:none;
margin-top:10px;
}
> div {
padding-top:45px;
padding-left:0;
@media (max-width: $screen-xs-max) { // max 767px
padding-top:20px;
}
@media (max-width: $screen-xs - 1) { // max 479px
width:100%;
border-top:1px solid $homepage-footer-border;
}
}
> div + div {
border-left:1px solid $homepage-footer-border;
min-height:344px;
padding-left:29px;
@media (max-width: $screen-xs - 1) { // max 479px
border-left:none;
padding-left:10px;
min-height:1px;
padding-bottom:15px;
}
h3 {
margin-bottom:12px;
}
}
em {
float:left;
font-size:35px;
color:$light-text-color;
width:59px;
height:59px;
line-height:59px;
text-align:center;
background:$dark-background;
@include border-radius(100px);
margin:3px 10px 0 0;
@media (max-width: $screen-sm-max) { // max 991px
width:30px;
height:30px;
line-height:30px;
font-size:20px;
}
}
.type-text {
overflow:hidden;
}
h3 {
font:600 21px/25px $font-custom;
color:$base-heading-color;
@media (max-width: $screen-md-max) { // max 1199px
font-size:18px;
}
}
ul {
li {
padding-bottom:22px;
@media (max-width: $screen-md-max) { // max 1199px
padding-bottom:10px;
}
@media (max-width: $screen-sm-max) { // max 991px
padding-bottom:0;
}
}
}
}
@@ -11,7 +11,7 @@
}
li {
padding:1px 0;
padding:1px 15px 1px 0;
color:#9c9b9b;
cursor:pointer;
position:relative;
@@ -19,11 +19,18 @@
#homepage-slider {
padding-left:0;
padding-right:0;
padding-top:29px;
margin-bottom:35px;
padding-top:50px;
margin-bottom:14px;
width:66.6%;
max-width:779px;
position:relative;
z-index:1;
float:left;
@media (max-width: $screen-xs-max) { // max 767px
width:100%;
max-width:100%;
padding-top:20px;
}
#homeslider {
margin:0 auto;
@@ -0,0 +1,75 @@
@import '../../../../_theme_variables';
/* Home hook CSS */
#htmlcontent_home {
ul {
margin:0 -5px;
li {
padding:0 5px 10px;
@media (max-width: $screen-xs - 1) { // max 479px
width:100%;
}
img {
max-width:100%;
@media (max-width: $screen-xs - 1) { // max 479px
min-width:100%;
}
height:auto;
}
&.htmlcontent-item-4 {
width:66.6667%;
@media (max-width: $screen-xs - 1) { // max 479px
width:100%;
}
}
}
}
}
/* Top hook CSS */
#htmlcontent_top {
float:left;
padding-top:40px;
width:33.4%;
max-width:391px;
padding-left:10px;
@media (max-width: $screen-xs-max) { // max 767px
width:100%;
max-width:100%;
padding-left:0;
padding-top:0px;
}
ul {
@media (max-width: $screen-xs-max) { // max 767px
margin:0 -5px;
}
li {
padding-top:10px;
width:100%;
@media (max-width: $screen-xs-max) { // max 767px
float:left;
padding-left:5px;
padding-right:5px;
width:50%;
}
img {
max-width:100%;
height:auto;
}
}
}
}
/* Left hook CSS */
#htmlcontent_left {
}
/* Right hook CSS */
#htmlcontent_right {
}
/* Footer hook CSS */
#htmlcontent_footer {
}