diff --git a/admin-dev/themes/default/template/controllers/products/helpers/uploader/ajax.tpl b/admin-dev/themes/default/template/controllers/products/helpers/uploader/ajax.tpl index a80ab4b6b..886d26cc8 100644 --- a/admin-dev/themes/default/template/controllers/products/helpers/uploader/ajax.tpl +++ b/admin-dev/themes/default/template/controllers/products/helpers/uploader/ajax.tpl @@ -88,26 +88,34 @@ if (data.result) { if (typeof data.result.{$name} !== 'undefined') { for (var i=0; i'+data.result.{$name}[i].name+' : '+data.result.{$name}[i].error).parent().show(); } + else + { + $(data.context).appendTo($('#{$id}-success')); + $('#{$id}-success').parent().show(); + + if (data.result.{$name}[i] !== null && data.result.{$name}[i].status == 'ok') + { + var response = data.result.{$name}[i]; + var cover = "icon-check-empty"; + + if (response.cover == "1") + cover = "icon-check-sign"; + + imageLine(response.id, response.path, response.position, cover, response.shops, + response.legend[{$default_language|intval}]) + $("#countImage").html(parseInt($("#countImage").html()) + 1); + $("#img" + id).remove(); + $("#imageTable").tableDnDUpdate(); + } + } + } } $(data.context).find('button').remove(); - $(data.context).appendTo($('#{$id}-success')); - $('#{$id}-success').parent().show(); } }, }).on('fileuploadalways', function (e, data) { diff --git a/admin-dev/themes/default/template/header.tpl b/admin-dev/themes/default/template/header.tpl index 20ed49a6f..7a34622fc 100644 --- a/admin-dev/themes/default/template/header.tpl +++ b/admin-dev/themes/default/template/header.tpl @@ -203,7 +203,7 @@ diff --git a/admin-dev/themes/default/template/helpers/uploader/ajax.tpl b/admin-dev/themes/default/template/helpers/uploader/ajax.tpl index edec4e359..abdaf6c6a 100644 --- a/admin-dev/themes/default/template/helpers/uploader/ajax.tpl +++ b/admin-dev/themes/default/template/helpers/uploader/ajax.tpl @@ -122,25 +122,32 @@ if (typeof data.result.{$name} !== 'undefined') { for (var i=0; i'; - - if (typeof data.result.{$name}[i].delete_url !== 'undefined') { - template += '

{l s='Delete'}

'; - } + if (typeof data.result.{$name}[i].error !== 'undefined' && data.result.{$name}[i].error != '') { + $('#{$id}-errors').html(''+data.result.{$name}[i].name+' : '+data.result.{$name}[i].error).parent().show(); + } + else + { + $(data.context).appendTo($('#{$id}-success')); + $('#{$id}-success').parent().show(); - template += ''; - $('#{$id}-images-thumbnails').html($('#{$id}-images-thumbnails').html()+template); - $('#{$id}-images-thumbnails').parent().show(); + if (typeof data.result.{$name}[i].image !== 'undefined') + { + var template = '
'; + template += '

'+data.result.{$name}[i].image+'

'; + + if (typeof data.result.{$name}[i].delete_url !== 'undefined') + template += '

{l s='Delete'}

'; + + template += '
'; + $('#{$id}-images-thumbnails').html($('#{$id}-images-thumbnails').html()+template); + $('#{$id}-images-thumbnails').parent().show(); + } } } } } - $(data.context).find('button').remove(); - $(data.context).appendTo($('#{$id}-success')); - $('#{$id}-success').parent().show(); + $(data.context).find('button').remove(); } }, }).on('fileuploadalways', function (e, data) { diff --git a/classes/Media.php b/classes/Media.php index f3ac52813..f58889220 100755 --- a/classes/Media.php +++ b/classes/Media.php @@ -68,7 +68,7 @@ class MediaCore { //set an alphabetical order for args $html_content = preg_replace_callback( - '/(<[a-zA-Z0-9]+)((\s?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s?)*)>/', + '/(<[a-zA-Z0-9]+)((\s\t?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s\t?)*)>/', array('Media', 'minifyHTMLpregCallback'), $html_content, Media::getBackTrackLimit()); diff --git a/classes/Uploader.php b/classes/Uploader.php index c36036eea..23dff1196 100644 --- a/classes/Uploader.php +++ b/classes/Uploader.php @@ -168,25 +168,24 @@ class UploaderCore file_put_contents($file_path, fopen('php://input', 'r')); } - $file_size = $this->_getFileSize($file_path); + $file_size = $this->_getFileSize($file_path, true); if ($file_size === $file['size']) { $file['save_path'] = $file_path; - //TODO do image processing } else { $file['size'] = $file_size; unlink($file_path); - $file['error'] = 'abort'; + $file['error'] = Tools::displayError('Server file size is different from local file size'); } } - + return $file; } - protected function validate($file) + protected function validate(&$file) { $post_max_size = $this->getPostMaxSizeBytes(); diff --git a/classes/helper/HelperImageUploader.php b/classes/helper/HelperImageUploader.php index 708d420f7..829894630 100644 --- a/classes/helper/HelperImageUploader.php +++ b/classes/helper/HelperImageUploader.php @@ -42,7 +42,7 @@ class HelperImageUploaderCore extends HelperUploader return tempnam($this->getSavePath(), $this->getUniqueFileName()); } - protected function validate($file) + protected function validate(&$file) { $post_max_size = $this->getPostMaxSizeBytes(); @@ -62,7 +62,10 @@ class HelperImageUploaderCore extends HelperUploader } if ($error = ImageManager::validateUpload($file, Tools::getMaxUploadSize($this->getMaxSize()))) + { $file['error'] = $error; + return false; + } if ($file['size'] > $this->getMaxSize()) { diff --git a/controllers/admin/AdminCustomersController.php b/controllers/admin/AdminCustomersController.php index 133cf38d6..6ab92cfd8 100644 --- a/controllers/admin/AdminCustomersController.php +++ b/controllers/admin/AdminCustomersController.php @@ -63,7 +63,8 @@ class AdminCustomersControllerCore extends AdminController a.date_add, gl.name as title, ( SELECT SUM(total_paid_tax_excl / conversion_rate) FROM '._DB_PREFIX_.'orders o WHERE o.id_customer = a.id_customer - AND active = 1 + '.Shop::addSqlRestriction(Shop::SHARE_ORDER, 'o').' + AND a.active = 1 ) as total_spent, ( SELECT c.date_add FROM '._DB_PREFIX_.'guest g LEFT JOIN '._DB_PREFIX_.'connections c ON c.id_guest = g.id_guest diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index 34ef4b96e..f5b5e522e 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -3648,6 +3648,9 @@ class AdminProductsControllerCore extends AdminController else $image->cover = 0; + if (isset($file['error'])) + continue; + if (!$image->add()) $file['error'] = Tools::displayError('Error while creating additional image'); else diff --git a/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl b/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl index ce97048b6..d84c173d1 100644 --- a/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl +++ b/themes/default-bootstrap/modules/blockcategories/category-tree-branch-top.tpl @@ -24,8 +24,7 @@ *}
  • -

    {$node.name|escape:'html':'UTF-8'}

    +

    {$node.name|escape:'html':'UTF-8'}

    {if $node.children|@count > 0}
      diff --git a/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl b/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl index 5718b22d0..1037eb4a6 100644 --- a/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl +++ b/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl @@ -24,8 +24,7 @@ *}
    • - {$node.name|escape:'html':'UTF-8'} + {$node.name|escape:'html':'UTF-8'} {if $node.children|@count > 0}
        {foreach from=$node.children item=child name=categoryTreeBranch} diff --git a/themes/default-bootstrap/shopping-cart.tpl b/themes/default-bootstrap/shopping-cart.tpl index 99b5e5e37..13275edb7 100644 --- a/themes/default-bootstrap/shopping-cart.tpl +++ b/themes/default-bootstrap/shopping-cart.tpl @@ -451,17 +451,17 @@
      • {if $k eq 'invoice'}{l s='Invoice address'}{elseif $k eq 'delivery' && $delivery->id}{l s='Delivery address'}{/if}{if isset($address.object.alias)} ({$address.object.alias}){/if}

      • {foreach $address.ordered as $pattern} {assign var=addressKey value=" "|explode:$pattern} -
      • - {foreach $addressKey as $key} - - {if isset($address.formated[$key])} - {$address.formated[$key]|escape:'html':'UTF-8'} - {/if} - + {assign var=addedli value=false} + {foreach from=$addressKey item=key name=foo} + {if isset($address.formated[$key]) && !empty($address.formated[$key])} + {if (!$addedli)} + {$addedli = true} +
      • + {/if}{$address.formated[$key]|escape:'html':'UTF-8'}{/if}{if ($smarty.foreach.foo.last && $addedli)} +
      • {/if} {/foreach} - {/foreach} -
      +
    {/foreach} {/if} diff --git a/themes/default/404.tpl b/themes/default/404.tpl new file mode 100644 index 000000000..290f97c1b --- /dev/null +++ b/themes/default/404.tpl @@ -0,0 +1,44 @@ +{* +* 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 +* @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 +*} +
    +

    {l s='This page is not available'}

    + +

    + {l s='We\'re sorry, but the Web address you\'ve entered is no longer available.'} +

    + +

    {l s='To find a product, please type its name in the field below.'}

    +
    +
    +

    + + + +

    +
    +
    + +

    {l s='Home'} {l s='Home'}

    +
    \ No newline at end of file diff --git a/themes/default/addresses.tpl b/themes/default/addresses.tpl new file mode 100644 index 000000000..88686d789 --- /dev/null +++ b/themes/default/addresses.tpl @@ -0,0 +1,130 @@ +{* +* 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 +* @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 +*} + +{* +** Retro compatibility for PrestaShop version < 1.4.2.5 with a recent theme +*} + +{* Two variable are necessaries to display the address with the new layout system *} +{* Will be deleted for 1.5 version and more *} +{if !isset($multipleAddresses)} + {$ignoreList.0 = "id_address"} + {$ignoreList.1 = "id_country"} + {$ignoreList.2 = "id_state"} + {$ignoreList.3 = "id_customer"} + {$ignoreList.4 = "id_manufacturer"} + {$ignoreList.5 = "id_supplier"} + {$ignoreList.6 = "date_add"} + {$ignoreList.7 = "date_upd"} + {$ignoreList.8 = "active"} + {$ignoreList.9 = "deleted"} + + {* PrestaShop < 1.4.2 compatibility *} + {if isset($addresses)} + {$address_number = 0} + {foreach from=$addresses key=k item=address} + {counter start=0 skip=1 assign=address_key_number} + {foreach from=$address key=address_key item=address_content} + {if !in_array($address_key, $ignoreList)} + {$multipleAddresses.$address_number.ordered.$address_key_number = $address_key} + {$multipleAddresses.$address_number.formated.$address_key = $address_content} + {counter} + {/if} + {/foreach} + {$multipleAddresses.$address_number.object = $address} + {$address_number = $address_number + 1} + {/foreach} + {/if} +{/if} + +{* Define the style if it doesn't exist in the PrestaShop version*} +{* Will be deleted for 1.5 version and more *} +{if !isset($addresses_style)} + {$addresses_style.company = 'address_company'} + {$addresses_style.vat_number = 'address_company'} + {$addresses_style.firstname = 'address_name'} + {$addresses_style.lastname = 'address_name'} + {$addresses_style.address1 = 'address_address1'} + {$addresses_style.address2 = 'address_address2'} + {$addresses_style.city = 'address_city'} + {$addresses_style.country = 'address_country'} + {$addresses_style.phone = 'address_phone'} + {$addresses_style.phone_mobile = 'address_phone_mobile'} + {$addresses_style.alias = 'address_title'} +{/if} + + + +{capture name=path}{l s='My account'}{$navigationPipe}{l s='My addresses'}{/capture} +{include file="$tpl_dir./breadcrumb.tpl"} + +

    {l s='My addresses'}

    +

    {l s='Please configure your default billing and delivery addresses when placing an order. You may also add additional addresses, which can be useful for sending gifts or receiving an order at your office.'}

    + +{if isset($multipleAddresses) && $multipleAddresses} +
    +

    {l s='Your addresses are listed below.'}

    +

    {l s='Be sure to update your personal information if it has changed.'}

    + {assign var="adrs_style" value=$addresses_style} +
    + {foreach from=$multipleAddresses item=address name=myLoop} +
      +
    • {$address.object.alias}
    • + {foreach from=$address.ordered name=adr_loop item=pattern} + {assign var=addressKey value=" "|explode:$pattern} +
    • + {foreach from=$addressKey item=key name="word_loop"} + + {$address.formated[$key|replace:',':'']|escape:'html':'UTF-8'} + + {/foreach} +
    • + {/foreach} +
    • » {l s='Update'}
    • +
    • » {l s='Delete'}
    • +
    + {/foreach} +
    +

    +

    +{else} +

    {l s='No addresses are available.'} {l s='Add a new address'}

    +{/if} + + + + diff --git a/themes/default/best-sales.tpl b/themes/default/best-sales.tpl new file mode 100644 index 000000000..af4e9b04b --- /dev/null +++ b/themes/default/best-sales.tpl @@ -0,0 +1,54 @@ +{* +* 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 +* @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 +*} + +{capture name=path}{l s='Top sellers'}{/capture} +{include file="$tpl_dir./breadcrumb.tpl"} + +

    {l s='Top sellers'}

    + +{if $products} +
    + {include file="$tpl_dir./pagination.tpl"} + +
    + {include file="./product-sort.tpl"} + {include file="./product-compare.tpl"} + {include file="./nbr-product-page.tpl"} +
    +
    + + {include file="./product-list.tpl" products=$products} + +
    +
    + {include file="./product-sort.tpl" paginationId='bottom'} + {include file="./product-compare.tpl" paginationId='bottom'} + {include file="./nbr-product-page.tpl" paginationId='bottom'} +
    + {include file="./pagination.tpl" paginationId='bottom'} +
    + {else} +

    {l s='No top sellers for the moment.'}

    +{/if} diff --git a/themes/default/breadcrumb.tpl b/themes/default/breadcrumb.tpl new file mode 100644 index 000000000..6b68efd0c --- /dev/null +++ b/themes/default/breadcrumb.tpl @@ -0,0 +1,39 @@ +{* +* 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 +* @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 +*} + + +{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} + + \ No newline at end of file diff --git a/themes/default/cache/index.php b/themes/default/cache/index.php new file mode 100644 index 000000000..6f5ff3bab --- /dev/null +++ b/themes/default/cache/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; \ No newline at end of file diff --git a/themes/default/category-cms-tree-branch.tpl b/themes/default/category-cms-tree-branch.tpl new file mode 100644 index 000000000..94f8ffeaf --- /dev/null +++ b/themes/default/category-cms-tree-branch.tpl @@ -0,0 +1,52 @@ +{* +* 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 +* @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 +*} + +
  • + {$node.name|escape:'html':'UTF-8'} + {if isset($node.children) && $node.children|@count > 0} +
      + {foreach from=$node.children item=child name=categoryCmsTreeBranch} + {if isset($child.children) && $child.children|@count > 0 || isset($child.cms) && $child.cms|@count > 0} + {if $smarty.foreach.categoryCmsTreeBranch.last && $node.cms|@count == 0} + {include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child last='true'} + {else} + {include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child} + {/if} + {/if} + {/foreach} + {if isset($node.cms) && $node.cms|@count > 0} + {foreach from=$node.cms item=cms name=cmsTreeBranch} +
    • {$cms.meta_title|escape:'html':'UTF-8'}
    • + {/foreach} + {/if} +
    + {elseif isset($node.cms) && $node.cms|@count > 0} + + {/if} +
  • diff --git a/themes/default/category-count.tpl b/themes/default/category-count.tpl new file mode 100644 index 000000000..2e6b97357 --- /dev/null +++ b/themes/default/category-count.tpl @@ -0,0 +1,34 @@ +{* +* 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 +* @copyright 2007-2013 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if $category->id == 1 OR $nb_products == 0} + {l s='There are no products in this category'} +{else} + {if $nb_products == 1} + {l s='There is %d product.' sprintf=$nb_products} + {else} + {l s='There are %d products.' sprintf=$nb_products} + {/if} +{/if} \ No newline at end of file diff --git a/themes/default/category-tree-branch.tpl b/themes/default/category-tree-branch.tpl new file mode 100644 index 000000000..ddf7266b2 --- /dev/null +++ b/themes/default/category-tree-branch.tpl @@ -0,0 +1,39 @@ +{* +* 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 +* @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 +*} + +
  • + {$node.name|escape:'html':'UTF-8'} + {if $node.children|@count > 0} +
      + {foreach from=$node.children item=child name=categoryTreeBranch} + {if $smarty.foreach.categoryTreeBranch.last} + {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'} + {else} + {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='false'} + {/if} + {/foreach} +
    + {/if} +
  • \ No newline at end of file diff --git a/themes/default/cms.tpl b/themes/default/cms.tpl new file mode 100644 index 000000000..dc352af85 --- /dev/null +++ b/themes/default/cms.tpl @@ -0,0 +1,74 @@ +{* +* 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 +* @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 +*} +{if ($content_only == 0)} + {include file="$tpl_dir./breadcrumb.tpl"} +{/if} +{if isset($cms) && !isset($cms_category)} + {if !$cms->active} +
    +
    +

    {l s='This CMS page is not visible to your customers.'} + + + +

    +
    +

    +

    +
    + {/if} +
    + {$cms->content} +
    +{elseif isset($cms_category)} +
    +

    {$cms_category->name|escape:'html':'UTF-8'}

    + {if isset($sub_category) && !empty($sub_category)} +

    {l s='List of sub categories in %s:' sprintf=$cms_category->name}

    + + {/if} + {if isset($cms_pages) && !empty($cms_pages)} +

    {l s='List of pages in %s:' sprintf=$cms_category->name}

    + + {/if} +
    +{else} +
    + {l s='This page does not exist.'} +
    +{/if} +
    \ No newline at end of file diff --git a/themes/default/config.xml b/themes/default/config.xml new file mode 100644 index 000000000..98e1ec50a --- /dev/null +++ b/themes/default/config.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/themes/default/css/addresses.css b/themes/default/css/addresses.css new file mode 100644 index 000000000..3192f05ae --- /dev/null +++ b/themes/default/css/addresses.css @@ -0,0 +1,102 @@ +div.addresses { + position:relative; + padding:15px; + border:1px solid #ccc; + font-size:12px; + background:#f8f8f8 +} + +ul.address { + list-style-type:none; + float:left; + position:relative; + width:345px !important +} +#address_delivery {margin-right:35px;} +#address_invoice {margin-right:0} +#delivery_address {margin-right:65px;} + +ul.address li { + padding:0 15px; + font-weight:bold; + line-height:18px; + text-transform:uppercase +} + +ul.address li.address_title { + height: 29px; + font-weight: bold; + line-height:29px; + color:#fff; + text-shadow:0 1px 0 #666; + background:url(../img/bg_table_th.png) repeat-x 0 -10px #999 +} +ul.address .address_alias { + font-weight: normal; + text-transform: none; +} +ul.address >li:first-child + li { + margin-top:8px +} + +ul.address li.address_update { + margin-top:20px +} +ul.address li.address_update, +ul.address li.address_delete { + font-size:11px; + text-transform:none +} +.address_add { + padding:20px 0 +} +.address_select { + border:1px solid #ccc; + width: 200px; + margin-left: 10px; +} +label[for=id_address_delivery], label[for=id_address_invoice] { + float: left; + width: 225px; +} +.addressesAreEquals label { + margin-left: 5px; +} +.addressesAreEquals input { + float: left; +} +p.address_delivery, p.addressesAreEquals { + padding-bottom: 14px +} +/* PAGE ADRESSES ******************************************************************************* */ +.addresses ul.address { + list-style-type:none; + float:left; + position:relative; + margin:30px 30px 0 0; + width:345px !important +} +.addresses ul.address.alternate_item, +.addresses ul.address.last_item {margin-right:0} +.addresses ul.address li { + padding:0 15px; + font-weight:bold; + line-height:18px; + text-transform:uppercase +} +.addresses ul.address .address_title { + margin-bottom:5px; + height: 29px; + font-weight: bold; + line-height:29px; + color:#fff; + text-shadow:0 1px 0 #666; + background:url(../img/bg_table_th.png) repeat-x 0 -10px #999 +} +.addresses ul.address .address_update {margin-top:20px} +.addresses ul.address .address_update, +.addresses ul.address .address_delete { + font-size:11px; + text-transform:none +} + diff --git a/themes/default/css/authentication.css b/themes/default/css/authentication.css new file mode 100644 index 000000000..5649e0179 --- /dev/null +++ b/themes/default/css/authentication.css @@ -0,0 +1,81 @@ +#account-creation_form fieldset, fieldset.account_creation { + padding:0 0 15px 0; + border:1px solid #ccc; + background:#f8f8f8; +} +#account-creation_form h3 { + margin:0 0 15px 0; + padding:8px; + font-size:14px; + color:#fff; + text-transform:uppercase; + background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898; +} +#center_column #account-creation_form p {margin:0; padding:0 0 10px 0} +#account-creation_form p.required {color:#222} +#account-creation_form p.required sup {color:#990000} +#account-creation_form p.radio span, +#account-creation_form p.text label, +#account-creation_form p.password label, +#account-creation_form p.select label, +#account-creation_form p.select span, +#account-creation_form p.textarea label { + display:inline-block; + padding:6px 15px; + width:230px;/* 260 */ + font-size:14px; + text-align:right; +} +#account-creation_form p.radio label { + float:none; + padding-right:10px; + width:auto; + font-size:14px; +} +#account-creation_form p.radio input { + position: relative; + bottom: -3px; +} +#account-creation_form p.checkbox label { + float:none; + width:auto; + font-size:12px; +} +#account-creation_form p.text input, +#account-creation_form p.password input, +#account-creation_form p.select input { + padding:0 5px; + height:22px; + width:360px;/* 370 */ + border:1px solid #ccc; + font-size: 12px; + color:#666; +} +#account-creation_form span.inline-infos{display:inline-block;} +#account-creation_form p.checkbox input { + margin-left:260px; +} +#account-creation_form p.select select { + margin-right:10px; + border:1px solid #ccc; + font-size: 12px; + color:#666; +} +#account-creation_form p.textarea textarea { + height:80px; + width:370px; + border:1px solid #ccc; + font-size: 12px; + color:#666; +} +#account-creation_form span.form_info, #account-creation_form p.inline-infos { + display:block; + margin:5px 0 0 265px!important; + color:#666; +} +#account-creation_form .id_state, #account-creation_form .dni, #account-creation_form .postcode { + display: none; +} +#center_column #account-creation_form p.cart_navigation { + margin:20px 0; +} \ No newline at end of file diff --git a/themes/default/css/category.css b/themes/default/css/category.css new file mode 100644 index 000000000..15a9298cf --- /dev/null +++ b/themes/default/css/category.css @@ -0,0 +1,64 @@ +h1{margin-bottom:10px;} + +.resumecat { + margin:15px 0 10px 0; + padding:8px 7px; + color:#000; + background:#f0f0f0; +} + +.content_scene_cat { + padding:5px; + border:1px solid #ccc; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + -moz-box-shadow: 0 1px 1px #e2e2e2; + -webkit-box-shadow: 0 1px 1px #e2e2e2; + box-shadow: 0 1px 1px #e2e2e2; +} + +.cat_desc { + font-size:12px; + line-height:18px; +} +.cat_desc p {padding:0 10px 5px 10px} +.cat_desc .lnk_more { + padding:0 10px; + color:#0088CC; + background:url(../img/arrow_right_1.png) no-repeat 100% 4px transparent; +} + + +/* ************************************************************************************************ + SUB CATEGORIES +************************************************************************************************ */ +#subcategories {margin-top:15px} +#subcategories h3 { + padding:14px 12px; + font-size:13px; + color:#fff; + text-transform:uppercase; + text-shadow:0 1px 0 #666; + background:url(../img/bg_table_th.png) repeat-x 0 0 #999 +} + +.inline_list { + list-style-type:none; + margin-top:10px; +} +.inline_list li { + padding:10px 0; + border-bottom:1px dotted #ccc +} +.inline_list li .img { + float:left; + margin-right:15px +} +.inline_list li img { + border:1px solid #ccc +} +.inline_list li .cat_name { + font-weight:bold; + font-size:13px +} diff --git a/themes/default/css/cms.css b/themes/default/css/cms.css new file mode 100644 index 000000000..e8ea6af98 --- /dev/null +++ b/themes/default/css/cms.css @@ -0,0 +1,6 @@ +/* CMS pages ****************************************************************************** */ +#cms #center_column ul, +#cms #center_column ol, +#cms #center_column dl { margin-left:25px; margin-bottom:20px } + +#cms #center_column li { margin-bottom:5px } \ No newline at end of file diff --git a/themes/default/css/comparator.css b/themes/default/css/comparator.css new file mode 100644 index 000000000..44af9522a --- /dev/null +++ b/themes/default/css/comparator.css @@ -0,0 +1,98 @@ +table#product_comparison { + width:100%; + border-right:1px solid #ccc; + border-bottom:1px solid #ccc; +} +#product_comparison tr.comparison_header {font-weight:bold} +#product_comparison td { + padding:6px; + border-top:1px solid #ccc; + border-left:1px solid #ccc; + border-right:1px solid #ccc; + vertical-align:top +} +#product_comparison td.td_empty{ + border:none; + background:#fff; +} +#product_comparison tr.comparison_header, +#product_comparison td.comparison_feature_even {background:#f8f8f8} + +#product_comparison .product_image { + display:block; + text-align:center +} +#product_comparison .product_image img {border:1px solid #ccc} +#product_comparison .s_title_block { + margin-bottom:10px; + font-size:12px; + color:#000; + font-weight:bold; + padding-bottom: 0; +} +#product_comparison .product_desc { + padding-bottom:5px; + height:40px; + color:#666 +} +#product_comparison .lnk_more { + display:block; + margin-bottom:10px; + padding-left:10px; + color:#0088cc; + background:url(../img/arrow_right_1.png) no-repeat 0 4px transparent; +} + +.prices_container {height:50px} +.price_container {padding-bottom:10px} +#product_comparison .price { + font-weight:bold; + font-size:14px; + color:#990000 +} +.discount { + display:inline-block; + padding:1px 5px; + font-size:10px; + font-weight:bold; + color:#fff; + text-transform:uppercase; + background:#9B0000 +} + +.comparison_availability_statut {display:none} + +#product_comparison .cmp_remove { + display:block; + margin-bottom:10px; + padding-right:16px; + font-weight:bold; + text-align:right; + background:url(../img/icon/delete.gif) no-repeat 100% 1px transparent; +} + +.ajax_add_to_cart_button { + margin-left:9px; + padding-left:20px !important +} +.ajax_add_to_cart_button span { + display: block; + position: absolute; + top: -1px; + height: 26px; + left: -12px; + width: 26px; + background: url(../img/icon/pict_add_cart.png) no-repeat 0 0 transparent +} + + + + + + + + + + + + diff --git a/themes/default/css/contact-form.css b/themes/default/css/contact-form.css new file mode 100644 index 000000000..3dfa76026 --- /dev/null +++ b/themes/default/css/contact-form.css @@ -0,0 +1,51 @@ + + #contact fieldset { + padding:0 0 15px 0; + border:1px solid #ccc; + background:#f8f8f8 + } + #contact h3 { + margin:0 0 15px 0; + padding:8px; + font-size:14px; + color:#fff; + text-transform:uppercase; + background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898 + } + #contact #center_column p {margin:0; padding:0 0 10px 0;} + #contact #center_column p.desc_contact { text-align: center; padding-left: 10px; padding-right: 10px; } + + #contact p.text label, + #contact p.select label, + #contact p.select span, + #contact p.textarea label { + display:inline-block; + padding:6px 15px; + width:150px;/* 180 */ + font-size:12px; + text-align:right + } + #contact p.textarea label {vertical-align:top} + #contact p.text input, + #contact p.select input { + padding:0 5px; + height:22px; + width:260px;/* 270 */ + border:1px solid #ccc; + font-size: 12px; + color:#666 + } + #contact p.select select { + margin-right:10px; + border:1px solid #ccc; + font-size: 12px; + color:#666 + } + #contact p.textarea textarea { + height:80px; + width:270px; + border:1px solid #ccc; + font-size: 12px; + color:#666 + } + #contact p.submit input {margin-left:185px;} \ No newline at end of file diff --git a/themes/default/css/global.css b/themes/default/css/global.css new file mode 100644 index 000000000..e92967740 --- /dev/null +++ b/themes/default/css/global.css @@ -0,0 +1,2118 @@ +/* ################################################################################################## + PRESTASHOP CSS +################################################################################################## */ + +/* **************************************************************************** + reset +**************************************************************************** */ +html{color:#000;background:#FFF;} +body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0} +table{border-collapse:collapse;border-spacing:0} +fieldset,img{border:0} +address,caption,cite,code,dfn,em,th,var,optgroup{font-style:inherit;font-weight:inherit} +del,ins{text-decoration:none} +caption,th{text-align:left} +h1,h2,h3,h4,h5,h6{font-size:100%} +q:before,q:after{content:''} +abbr,acronym{border:0;font-variant:normal} +sup{vertical-align:baseline} +sub{vertical-align:baseline} +legend{color:#000} +input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit} +input,button,textarea,select{font-size:100%} + +.ie7 input, .ie7 select{line-height:18px} +a {cursor:pointer} + +.clearfix:before, +.clearfix:after { + content: "."; + display: block; + height: 0; + overflow: hidden +} +.clearfix:after {clear: both} +.clearfix {zoom: 1} + + +/* ************************************************************************************************ + struture +************************************************************************************************ */ +#page {} + #header {z-index:10} + #columns {z-index:1} + #left_column {} + #center_column {} + #right_column {} + #footer {} + + +/* ************************************************************************************************ + generic style +************************************************************************************************ */ +body{ + font:normal 11px/14px Arial, Verdana, sans-serif; + color:#222; + background:#fff +} +body.content_only { + background: #FFF; +} + +/* positionnement ****************************************************************************** */ +.hidden {display:none} +.f_left {float:left} +.f_right {float:right} +p.center {text-align:center} +.clearBoth {clear:both} + +/* title *************************************************************************************** */ +h1 { + margin-bottom:20px; + font-size:24px; + line-height: 22px +} +h2 { + padding-bottom:20px; + font-size:18px +} +h3 { + padding-bottom:20px; + font-size:16px +} +.title_block { + padding-bottom:20px; + font-size:14px +} + +.hide-left-column #left_column {display:none} +.hide-left-column #center_column {width:757px} + +/* text **************************************************************************************** */ +p {padding-bottom:20px} + +p em {font-style:italic} + +.warning { + margin:0 0 10px 0; + padding:10px; + border:1px solid #e6db55; + font-size:13px; + background:#ffffe0 +} +.success { + margin:0 0 10px 0; + padding:10px; + border:1px solid #339900; + font-size:13px; + background: #d3ffab; +} +.error { + margin:0 0 10px 0; + padding:10px; + border:1px solid #990000; + font-size:13px; + background:#ffcccc +} +.error ol {margin-left:20px} +.error p.lnk { + margin-top:20px; + padding:0; + font-size:11px +} +.required {color:#990000} + +/* link **************************************************************************************** */ +a, a:active, a:visited { + color:#333; + text-decoration:none; + outline: medium none +} + a:hover {text-decoration:underline} + + +/* HACK IOS ipad, iphone */ +input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="submit"], input[type="image"] { + -webkit-appearance:none; + -moz-appearance:none; + appearance:none; + -webkit-border-radius:0px !important; + -moz-border-radius:0px !important; + border-radius:0px !important; +} + +/*buttons ************************************************************************************** */ +input.button_mini, input.button_small, input.button, input.button_large, +input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled, +input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large, +input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, +a.button_mini, a.button_small, a.button, a.button_large, +a.exclusive_mini, a.exclusive_small, a.exclusive, a.exclusive_large, +span.button_mini, span.button_small, span.button, span.button_large, +span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large, span.exclusive_large_disabled { + position:relative; + display:inline-block; + padding:5px 7px; + border:1px solid #cc9900; + -moz-border-radius: 3px !important; + -webkit-border-radius: 3px !important; + border-radius: 3px !important; + font-weight:bold; + color:#000; + background:url(../img/bg_bt.gif) repeat-x 0 0 #f4b61b; + cursor: pointer; +} +*:first-child+html input.button_mini, *:first-child+html input.button_small, *:first-child+html input.button, *:first-child+html input.button_large, +*:first-child+html input.button_mini_disabled, *:first-child+html input.button_small_disabled, *:first-child+html input.button_disabled, *:first-child+html input.button_large_disabled, +*:first-child+html input.exclusive_mini, *:first-child+html input.exclusive_small, *:first-child+html input.exclusive, *:first-child+html input.exclusive_large, +*:first-child+html input.exclusive_mini_disabled, *:first-child+html input.exclusive_small_disabled, *:first-child+html input.exclusive_disabled, *:first-child+html input.exclusive_large_disabled { + border:none +} + + +/* input button */ +input.button_mini, input.button_small, input.button, input.button_large, +input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled, +input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large, +input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled { + /*padding-bottom: 2px*/ +} + +/* disabled button */ +input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled, +input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, +span.button_mini, span.button_small, span.button, span.button_large, +span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large, span.exclusive_large_disabled { + /*background-position: left -36px; + cursor: default; + color: #888!important*/ +} + +/* exclusive button */ +input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large, +input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, +a.exclusive_mini, a.exclusive_small, a.exclusive, a.exclusive_large, +span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large, span.exclusive_large_disabled { + /*color: white!important*/ +} + +/* exclusive disabled button */ +input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large { + /*color: #488c40!important*/ +} + +/* hover button */ +input.button_mini:hover, input.button_small:hover, input.button:hover, input.button_large:hover, +input.exclusive_mini:hover, input.exclusive_small:hover, input.exclusive:hover, input.exclusive_large:hover, +a.button_mini:hover, a.button_small:hover, a.button:hover, a.button_large:hover, +a.exclusive_mini:hover, a.exclusive_small:hover, a.exclusive:hover, a.exclusive_large:hover { + text-decoration:none; + background-position: left -50px +} + +/* exclusive hover button */ +input.exclusive_mini:hover, input.exclusive_small:hover, input.exclusive:hover, input.exclusive_large:hover, a.exclusive_mini:hover, a.exclusive_small:hover, a.exclusive:hover, a.exclusive_large:hover { + /*color: white!important*/ +} + +/* active button */ +input.button_mini:active, input.button_small:active, input.button:active, input.button_large:active, +input.exclusive_mini:active, input.exclusive_small:active, input.exclusive:active, input.exclusive_large:active, +a.button_mini:active, a.button_small:active, a.button:active, a.button_large:active, +a.exclusive_mini:active, a.exclusive_small:active, a.exclusive:active, a.exclusive_large:active { + background-position: left -100px +} + +/* classic buttons */ +input.button_mini, input.button_mini_disabled, input.exclusive_mini, input.exclusive_mini_disabled, a.button_mini, a.exclusive_mini, span.button_mini, span.exclusive_mini { + /*width: 30px; + background-image: url('../img/button-mini.png')*/ +} +input.button_small, input.button_small_disabled, input.exclusive_small, input.exclusive_small_disabled, a.button_small, a.exclusive_small, span.button_small, span.exclusive_small { + /*width: 60px; + background-image: url('../img/button-small.png')*/ +} +input.button_disabled, input.exclusive_disabled, span.exclusive { + border:1px solid #ccc; + color:#999; + background:url(../img/bg_bt_2.gif) repeat-x 0 0 #CCCCCC; + cursor:default; +} +input.button_large, input.button_large_disabled, input.exclusive_large, input.exclusive_large_disabled, a.button_large, a.exclusive_large, span.button_large, span.exclusive_large, span.exclusive_large_disabled { + /*width: 180px; + background-image: url('../img/button-large.png')*/ +} + +/* exclusive button */ +/*input.exclusive, input.exclusive_disabled, a.exclusive, span.exclusive { background-image: url('../img/button-medium_exclusive.png') } +input.exclusive_mini, input.exclusive_mini_disabled, a.exclusive_mini, span.exclusive_mini { background-image: url('../img/button-mini_exclusive.gif') } +input.exclusive_small, input.exclusive_small_disabled, a.exclusive_small, span.exclusive_small { background-image: url('../img/button-small_exclusive.gif') } +input.exclusive_large, input.exclusive_large_disabled, a.exclusive_large, span.exclusive_large, span.exclusive_large_disabled { background-image: url('../img/button-large_exclusive.gif') }*/ + +/* form **************************************************************************************** */ +form.std fieldset { + margin:20px 0; + border:1px solid #ccc +} + +/* table *************************************************************************************** */ +table.std, +table.table_block { + margin-bottom:20px; + width:100%; + border:1px solid #999; + border-bottom:none; + background:white; + border-collapse:inherit +} +table.std th, +table.table_block th { + padding:14px 12px; + font-size:12px; + color:#fff; + font-weight:bold; + text-transform:uppercase; + text-shadow:0 1px 0 #000; + background:url(../img/bg_table_th.png) repeat-x 0 0 #999 +} +table.std tr.alternate_item, +table.table_block tr.alternate_item {background-color: #f3f3f3} +table.std td, +table.table_block td { + padding:12px; + border-right:1px solid #e9e9e9; + border-bottom:1px solid #e9e9e9; + font-size:12px; + vertical-align:top +} + +/* BLOCK .block ******************************************************************************** */ +.block {margin-bottom:20px} +#footer .block {margin-bottom:0} + .block .title_block, .block h4 { + padding:6px 11px; + font-size:12px; + color:#fff; + text-shadow:0 1px 0 #000; + text-transform:uppercase; + background:#383838; + font-weight: bold; + } + .block .title_block a, .block h4 a {color:#fff} + .block ul {list-style-type:none} + .block li.last { border:none} + .block li a { + display:block; + color:#333 + } + +/* BLOCK .products_block *********************************************************************** */ +.products_block {} + .products_block li {float:left +} + .products_block li img {border:1px solid #d1d1d1} + +/* BLOCK customer privacy ******************************************************************* */ +.account_creation label{ + float:left; + padding-top:5px; + width:80%; + text-align:left; + cursor:pointer +} + +/* BLOCK .footer_links (cms pages) ************************************************************* */ +ul.footer_links { + list-style-type:none; + margin-bottom:20px +} +ul.footer_links li {float:left} +ul.footer_links li.f_right {float:right} +ul.footer_links li .icon { + position:relative; + top:6px; + left:0 +} + +/* barre comparaison / tri ********************************************************************* */ +.content_sortPagiBar {margin:20px 0;} +#center_column .sortPagiBar { + padding:10px; + font:normal 11px Arial, Verdana, sans-serif; + color:#666; + background:#eee; +} + #center_column .sortPagiBar strong {color:#000;} +#center_column .sortPagiBar p {padding:0;} +#center_column .sortPagiBar form {display:inline-block;} + +.ie7 #center_column .sortPagiBar form {display:inline;} + +.sortPagiBar #productsSortForm {float:right;} + .sortPagiBar select#selectPrductSort { + margin:0 0 0 10px; + color:#000; + border:1px solid #ccc + } + +.sortPagiBar .bt_compare { + padding:3px 7px; + border:none; + color:#fff; + text-shadow:0 1px 0 #000; + background:url(../img/bg_bt_compare.gif) repeat-x 0 0 #111; +} + +.sortPagiBar .nbrItemPage {margin-left:40px;} + +.sortPagiBar .PrductSort {float:left;} + +.sortPagiBar .nbrProduct { + display:inline-block; + padding:0 10px; +} + +.sortPagiBar #nb_item {border:1px solid #ccc} + +/* pagination ********************************************************************************** */ +form.pagination {display:none;} + +div.pagination { + margin:10px 0; + text-align: center +} +ul.pagination {list-style-type:none} +ul.pagination li {display: inline;} +ul.pagination a, ul.pagination span { + display:inline-block; + height:24px; + width:24px; + border:1px solid #eee; + -moz-border-radius:2px; + -webkit-border-radius:2px; + border-radius:2px; + font:11px/24px Arial,Verdana,sans-serif; + color:#999 +} +ul.pagination a { + text-align:center; +} +ul.pagination a:hover { + color:#333; + border:1px solid #333 +} +ul.pagination .current span { + color:#000; + border:1px solid #fff +} +ul.pagination li.disabled span {color:#ccc} + +#pagination_previous, .pagination_previous {float:left} +#pagination_next, .pagination_next {float:right} + +.ie7 #pagination_previous, .ie7 .pagination_previous, +.ie7 #pagination_next, .ie7 .pagination_next {float:none} + +ul.pagination .pagination_previous a,ul.pagination .pagination_previous span, +ul.pagination .pagination_next a, ul.pagination .pagination_next span { + padding:0 8px; + width:auto; +} +#pagination_previous, .pagination_previous span, +#pagination_next, .pagination_next span { + color:#ccc; + border:1px solid #eee +} + +/* CART steps *********************************************************************** */ +ul#order_step { background-color: white;} +ul.step { + list-style-type:none; + margin-bottom:30px; + height:52px; + width:757px +} +ul.step li { + float:left; + height:52px; + width:151px; + text-align:center; + text-transform:uppercase; + background:url(../img/step_standard.gif) no-repeat center bottom transparent +} +ul.step li a, ul.step li.step_current span, ul.step li.step_current_end span { + display:inline-block; + padding:8px 10px 12px; + color:#000; + background:url(../img/step_current_span.gif) no-repeat center bottom transparent +} +ul.step li.step_current { + font-weight:bold; + background:url(../img/step_current.gif) no-repeat center bottom transparent +} + +ul.step li.step_current_end { + font-weight:bold; + background:url(../img/step_end_current.gif) no-repeat center bottom transparent +} +ul.step li.step_todo span { + display:inline-block; + padding:8px 10px 6px; + color:#999; + text-shadow:0 1px 0 #fff; + background:#eee +} +ul.step li.step_done { + font-weight:bold; + background:url(../img/step_done.gif) no-repeat center bottom transparent +} +/*ul.step li#step_end {background:url(../img/step_end.gif) no-repeat center bottom transparent}*/ + +/* module productcomments ********************************************************************** */ +.rating { + clear: both; + display: block; + margin: 2em; + cursor: pointer; +} +.rating:after { + content: '.'; + display: block; + height: 0; + width: 0; + clear: both; + visibility: hidden +} +.cancel, .star { + overflow: hidden; + float: left; + margin:0 1px 0 0; + width: 16px; + height: 16px; + text-indent: -999em; + cursor: pointer +} +.cancel, .cancel a { background: url(../../../modules/productcomments/img/delete.gif) no-repeat 0 -16px !important } +.star, .star a { background: url(../../../modules/productcomments/img/star.gif) no-repeat 0 0 } +.cancel a, .star a { + display: block; + width: 100%; + height: 100%; + background-position: 0 0 +} +div.star_on a { background-position: 0 -16px } +div.star_hover a, div.star a:hover { background-position: 0 -32px } +.pack_content { margin: 10px 0 10px 0 } +.pack_price { + float: right; + margin-right: 3px; + font-size: 12px +} +.confirmation { + margin: 0 0 10px; + padding: 10px; + border: 1px solid #e6db55; + font-size: 13px; + background: none repeat scroll 0 0 #ffffe0; +} +#page .rte { background: transparent none repeat scroll 0 0 } + +.listcomment { + list-style-type:none; + margin:0 0 20px 0 !important; +} +.listcomment li { + padding:10px 0; + border-bottom:1px dotted #ccc; + color:#666 +} +.listcomment .titlecomment { + display:block; + font-weight:bold; + font-size:12px; + color:#333 +} +.listcomment .txtcomment { + display:block; + padding:5px 0; + color:#333 +} +.listcomment .authorcomment {} + + +/* ************************************************************************************************ + HEADER +************************************************************************************************ */ +#header {position:relative} +#header_logo { + position: absolute; + left:0; + top: 30px; + z-index: 1; +} + +#header_right { + position:relative; + float: right +} + + +/* ************************************************************************************************ + BREADCRUMB +************************************************************************************************ */ +.breadcrumb { + margin-bottom:10px; + font-size:12px +} +.breadcrumb .navigation-pipe {margin:0 3px 0 5px} +.breadcrumb img { + position:relative; + top:5px +} + + +/* ************************************************************************************************ + FOOTER +************************************************************************************************ */ +#footer { + color:#fff; + background:#333 +} + .blockcategories_footer, + #footer .myaccount , + #block_various_links_footer, + #social_block, + #block_contact_infos { + float:left; + width:175px + } + .blockcategories_footer {margin-left:0} +#footer .title_block { + padding-bottom: 10px; + text-transform:uppercase +} +#footer .title_block , +#footer .title_block a { + font-weight:normal; + font-size:14px; + color:#fff +} +#footer a {color:#fff} +#footer a:hover {text-decoration:underline} +#footer ul {list-style-type:none} +#footer li {padding:7px 0} +#footer li a {color:#fff} + +#footer .myaccount {padding: 15px 10px} +#footer .myaccount .title_block, #footer .myaccount h4 { + padding:0 0 10px 0; + background:none; + text-shadow:none +} +#footer .myaccount .favoriteproducts img, +#footer .myaccount .lnk_wishlist img {display:none} + +/* ************************************************************************************************ + PRODUCT PAGE +************************************************************************************************ */ + +/* BLOCK idTabs ******************************************************************************** */ +.idTabs { + list-style-type: none; + margin-top: 20px; + border-bottom: 8px solid #f7b900 +} +ul.idTabs li { + float: left; + margin-right: 1px +} +.idTabs a { + display:block; + padding:10px 10px 7px 10px; + font-weight:bold; + text-decoration:none; + color:#fff; + background:#000 +} +.idTabs .selected { + color:#000; + background: url(../img/bg_li_idTabs.png) repeat-x 0 0 +} + +#more_info_sheets {padding-top:10px} +#more_info_sheets ul, +#more_info_sheets ol, +#more_info_sheets dl {margin-left:20px} +#more_info_sheets em {font-style:italic} + +#more_info_sheets .product_desc{ + margin-top:5px +} + +#more_info_sheets .product_desc .product_image{ + float:left +} + +#more_info_sheets .product_desc .block_description{ + float:left; + margin-left:10px; + width:420px +} +#more_info_sheets .product_desc .clear_product_desc{ + clear:both; + height:0px; + line-height:0px +} + +/* Make sure lists are correctly displayed in tinyMCE BO edition mode too */ +#short_description_content ul, +#short_description_content ol, +#short_description_content dl, +#tinymce ul, +#tinymce ol, +#tinymce dl {margin-left:20px} + +.block_hidden_only_for_screen {display:none} + + +/* ************************************************************************************************ + PAGE AUTHENTIFICATION +************************************************************************************************ */ +#authentication #left_column {display:none} +#authentication #center_column{width:757px} + + +/* ************************************************************************************************ + PAIMENT - PAGE ORDER +************************************************************************************************ */ + +/* nav bottom ********************************************************************************** */ +#order #left_column , #order-confirmation #left_column {display:none} +#order #center_column, #order-confirmation #center_column{width:757px} + +.cart_navigation {margin:20px 0} +.cart_navigation .exclusive, +.cart_navigation .exclusive_large { + float:right +} +.cart_navigation .button, +.cart_navigation .button_large { + border-color:#ccc; + background-image:url(../img/bg_bt_2.gif) +} + + +/* step 1 - cart ******************************************************************************* */ +.cart_last_product {display:none} + +/*p.cart_navigation .multishipping-button { margin-right: 10px }*/ + +#order-detail-content {margin-bottom:20px} +#order-detail-content .customizationUploaded li,#order-detail-content .typedText li { + list-style: none; +} +table#cart_summary th { + padding:14px 12px; + color:#fff; + font-weight:bold; + text-transform:uppercase; + text-shadow:0 1px 0 #666; + background:url(../img/bg_table_th.png) repeat-x 0 -15px #999 +} +table#cart_summary th.cart_product {text-align:center} +table#cart_summary td { + padding:12px; + border-right:1px solid #e9e9e9; + border-bottom:1px solid #e9e9e9; + font-weight:bold; + font-size:12px; + vertical-align:top +} +table#cart_summary td.cart_delete, +table#cart_summary td.price_discount_del {border-right:none;text-align: center} +table#cart_summary .last_item td {border-bottom:1px solid #999} + + +table#cart_summary tr.cart_item.odd, +table#cart_summary tr.cart_total_delivery, +table#cart_summary tr.cart_total_price, +table#cart_summary tr.cart_total_voucher{ + background-color: #fff +} +table#cart_summary tr.cart_item.even { + background-color: #f3f3f3 +} + +table#cart_summary tr.customization.odd { + background-color: #fff +} +table#cart_summary tr.customization.even { + background-color: #f3f3f3 +} + +table#cart_summary tr ul { + list-style: none; +} +table#cart_summary .cart_product { + width:80px; + text-align:center +} +table#cart_summary tbody tr:last-child td { + border-bottom: 1px solid #999; +} +table#cart_summary tbody tr td.cart_discount_delete { + padding-left: 34px; +} +table#cart_summary .cart_product img {border:1px solid #ccc} +table#cart_summary .cart_description { + width:230px; +} +table#cart_summary .cart_unit {width:130px;text-align: center} +table#cart_summary td.cart_unit {text-align: right} +table#cart_summary .cart_quantity {width:130px} +table#cart_summary .customization .cart_quantity {padding: 8px 12px 0;} +.cart_quantity .cart_quantity_input { + float:left; + margin-left: 5px; + width: 20px; + border:1px solid #fff +} +.cart_quantity .cart_quantity_button { + float:left; + position: relative; + top: -5px +} +table#cart_summary .cart_total {width:120px;text-align: center} +table#cart_summary td.cart_total {text-align: right} +table#cart_summary .cart_delete { + width:64px; + text-align:center +} +table#cart_summary .cart_discount_price {text-align: right} +.cart_delete a.cart_quantity_delete, +a.price_discount_delete { + display:inline-block; + padding:1px 2px; + font-size:8px; + color:#666; + text-transform:uppercase; + text-shadow:0 1px 0 #fff; + background:#ccc; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px +} + +.cart_total_price .total_price_container { + border-right:none; +} + +table#cart_summary .cart_total_price td.cart_voucher { + border-bottom:1px solid #999; + vertical-align:middle +} + +table#cart_summary #total_price_container { + border-bottom:1px solid #999; + border-right: none; +} + +.cart_voucher .title_block, .cart_voucher h4 +.cart_voucher p {float:left;} +.cart_voucher .title_block, .cart_voucher h4 { + margin-right:12px; + padding:5px 0; + font-size:13px +} +.cart_voucher p {padding-bottom:0;} + +.cart_voucher p.discount_name_block {float:left;} +.cart_voucher #display_cart_vouchers { + clear:both; + line-height: 20px; + color:#666; + padding-top:2px; + font-weight:normal; + border-top:1px dotted #ccc +} +.cart_voucher .title_offers { + margin-top:15px; + margin-bottom:5px +} +.cart_voucher #display_cart_vouchers span { + font-weight:bold; + cursor:pointer; +} +.cart_voucher input.discount_name { + padding:0 5px; + height:22px; + width:170px;/* 180 */ + border:1px solid #ccc; + font-weight:normal; + background:url(../img/bg_discount_name.png) repeat-x 0 0 #fff +} +.cart_voucher .submit input.button { + margin-left:2px; + padding:2px; + height:24px; + border:1px solid #000; + -moz-border-radius:0; + -webkit-border-radius:0; + border-radius:0; + color:#fff; + text-transform:uppercase; + text-shadow:0 -1px 0 #333; + background:url(../img/bg_cart_voucher_submit.png) repeat-x 0 0 #000 +} + +#cart_summary .price { + border-right:none; + text-align: right; + white-space: nowrap; +} +.total_price_container p {text-align: left} + +table#cart_summary .cart_total_price .total_price_container { + padding:0; + border-bottom:1px solid #999; + border-right:1px solid #999; +} +.cart_total_price .total_price_container p { + display:block; + padding:8px; + font-weight:bold; + color:#fff; + text-transform:uppercase; + background:#333 +} +.cart_total_price .total_price_container span { + display:block; + padding:15px; + font-weight:bold; + font-size:18px; + text-align:center +} + +#order_carrier { + clear:both; + margin-top:20px; + border:1px solid #999; + background:#fff +} +#order_carrier .title_block { + padding:0 15px; + height: 29px; + font-weight: bold; + line-height:29px; + color:#fff; + font-weight:bold; + text-transform:uppercase; + background:url(../img/bg_table_th.png) repeat-x 0 -10px #999 +} +#order_carrier span { + display:block; + padding:15px; + font-weight:bold +} + +.order_delivery .first_item {margin-right:35px;} + +.multishipping_close_container { + text-align: center; +} + +table#cart_summary .gift-icon { + color: white; + background: #0088CC; + line-height: 20px; + padding: 2px 5px; + border-radius: 5px; +} + +/* step 2 - authentification ******************************************************************* */ +#create-account_form, #authentication #login_form { + clear: none; + float: left; + height: 20em; + width: 49%; +} +#create-account_form {margin-right: 11px;} + +#authentication #create-account_form fieldset, +#authentication #login_form fieldset { + min-height: 200px +} + +#authentication #create-account_form .form_content, +#authentication #login_form .form_content { + padding:15px 10px +} + +#create-account_form h3, +#authentication #login_form h3 { + padding:8px; + border-bottom:1px solid #ccc; + font-weight:bold; + font-size:12px; + color:#fff; + text-transform:uppercase; + background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898 +} +#create-account_form .title_block { + padding-bottom:22px; + font-size:11px; + color:#333 +} + +#create-account_form label, +#login_form label { + display:inline-block; + width:110px; + color:#666 +} + +#order-opc #login_form_content label { + display:block; + margin:0 0 10px 0 +} + +#create-account_form #email_create, +#login_form #email, +#login_form #passwd, +#login_form #login_email, +#login_form #login_passwd { + padding:0 5px; + height:20px; + width:220px;/* 230 */ + border:1px solid #ccc; + color:#666; + background:url(../img/bg_discount_name.png) repeat-x 0 0 #fff; + line-height:20px; +} + +#create-account_form #SubmitCreate, +#login_form #SubmitLogin { + float:right +} + +.lost_password { + float:left; + width:200px +} +.lost_password a {color:#666} + +#order-opc .lost_password { + display:block; + float:none; + margin:5px 0 10px; + width:auto; + font-size:11px; + color:#666 +} + +#ordermsg p {padding-bottom:0} +#ordermsg p.txt { + float:left; + margin-right:25px; + width:220px +} +/*#ordermsg .textarea {float:right}*/ +#ordermsg .textarea textarea { + height:90px; + width:475px; + border:1px solid #ccc +} + +/* step 3 - address ************************************************************************** */ + +.address-form-multishipping { padding: 10px 0px; } +#multishipping_mode_box { + border: 1px solid #D0D3D8; + background: url("../img/form_bg.jpg") repeat-x scroll left top #D0D1D5; + margin-bottom: 10px; + padding: 5px; +} +#multishipping_mode_checkbox { + vertical-align: middle; + margin-right: 5px; +} +#multishipping_mode_box.on { + border: 1px solid #ddd; +} +#multishipping_mode_box .title { + padding: 5px; + font-weight: bold; +} +#multishipping_mode_box .description, #multishipping_mode_box .description_off { + padding: 5px; +} +#multishipping_mode_box .description_off { + display: none; + padding: 5px; +} +#multishipping_mode_box .description_off div { + margin-bottom: 10px; +} +#multishipping_mode_box .description_off a, #multishipping_mode_box .description a { + display: block; + text-align: center; + text-decoration: none; + padding: 5px 10px; + margin: 0 160px; + border: 1px solid #ccc; + background: #ddd; +} +#multishipping_mode_box .description_off a:hover, #multishipping_mode_box .description a:hover { + background: #f3f3f3; + border: 1px solid #ccc; +} +#multishipping_mode_box.on .description_off { + display: block; +} + + +/* step 4 - paiement ************************************************************************** */ + +.delivery_options { + border: 1px solid #BDC2C9; + border-top: 0; +} + +#order .delivery_options_address h3, #order-opc .delivery_options_address h3 { +/*background: url("../img/table_header.gif") no-repeat; +color: #374853; +font-weight: bold; +height: 14px; +padding: 5px 10px; +margin: 10px 0 0 0;*/ + padding: 6px 11px; + font-size: 12px; + color: #fff; + text-shadow: 0 1px 0 #000; + text-transform: uppercase; + background: none repeat scroll 0 0 #383838; +} +#order .delivery_option_radio, #order-opc .delivery_option_radio { + float: left; + margin: 21px 12px; +} +#order .delivery_option label, #order-opc .delivery_option label { + display: block; + padding-bottom: 5px; + padding-top: 5px; +} +#order .delivery_option label > table.resume, #order-opc .delivery_option label > table.resume { + height: 46px; + width: 685px; +} +#order .delivery_option.item, #order-opc .delivery_option.item { + background: #fafafa; +} +#order .delivery_option.alternate_item, #order-opc .delivery_option.alternate_item { + border-top: 1px solid #bdc2c9; + background: #f1f2f4; + border-bottom: 1px solid #bdc2c9; +} +#order .delivery_option label > table.resume td, #order-opc .delivery_option label > table.resume td { + padding: 0 8px; +} +#order .delivery_option label > table.resume td + td, #order-opc .delivery_option label > table.resume td + td { + width: 300px; +} +#order .delivery_option label > table.resume td + td + td, #order-opc .delivery_option label > table.resume td + td + td { + width: 100px; + text-align: right; +} +#order .delivery_option_carrier td {width:200px} +#order .delivery_option_carrier td + td {width:280px;} +#order .delivery_option_carrier td + td + td {width:200px} +#order .delivery_options_address .delivery_option_logo, #order .delivery_option_carrier .delivery_option_logo, #order-opc .delivery_options_address .delivery_option_logo { + padding-left:10px; + width: 160px; +} +#order .delivery_options_address .delivery_option_logo img, #order-opc .delivery_options_address .delivery_option_logo img { /*height: 40px;*/ } +#order .delivery_option_carrier .first_item, #order-opc .delivery_option_carrier .first_item { + padding: 3px 5px 3px 12px; + background:url(../img/arrow_right_2.png) no-repeat 3px 7px +} + +.order_carrier_content { + padding:15px; + border:1px solid #ccc; + font-size:12px; + color:#000; + background:#f8f8f8 +} +.order_carrier_content h3 { + padding:15px 0 10px 0; + font-size:13px; + color:#000 +} +.order_carrier_content h3.carrier_title {padding-top:0} +.order_carrier_content input { + position:relative; + top:1px +} + +#carrierTable { + border:1px solid #999; + border-bottom:none; + background:#fff +} + +#carrierTable tbody{ + border-bottom:1px solid #999; +} +#carrierTable th { + padding:0 15px; + height: 29px; + font-weight: bold; + line-height:29px; + color:#fff; + text-transform:uppercase; + background:url(../img/bg_table_th.png) repeat-x 0 -10px #999 +} +#carrierTable td { + padding:15px; + font-weight:bold; + border-right:1px solid #e9e9e9 +} +#carrierTable td.carrier_price {border:none} + +#gift_div { + display:none; + padding-bottom:10px +} +#gift_div label { + display:block; + margin-bottom:5px +} +#gift_div #gift_message { + height:50px; + width:720px; + border:1px solid #999 +} + +a.iframe {font-weight:bold} + +.hook_extracarrier { + margin-top: 5px; + padding: 5px; +} + +/* step 5 - paiement ************************************************************************** */ +.paiement_block { + padding:15px; + border:1px solid #ccc; + font-size:12px; + color:#000; + background:#f8f8f8 +} + +.payment_module { + position:relative; + padding-top:20px; + border-top:1px dotted #ccc; + text-transform:uppercase; +} +.payment_module a {display:block;} +.payment_module img { + float:left; + margin-right:10px +} +/*.payment_module span { + position:absolute; + top:50px; + left:145px +}*/ + +.payment_module:before, +.payment_module:after { + content: "."; + display: block; + height: 0; + overflow: hidden +} +.payment_module:after {clear: both} +.payment_module {zoom: 1} + + +/* ************************************************************************************************ + PAGE ORDER-OPC +************************************************************************************************ */ +#order-opc #left_column {display:none} +#order-opc #center_column{width:757px} + + +#order-opc h2 {} +#order-opc h2 span { + display:inline-block; + padding:5px 7px; + color:#fff; + background:#333; +} + +#order-opc #login_form fieldset { + background: none repeat scroll 0 0 #FFFFE0; + border: 1px solid #E6DB55; + font-size: 13px; + margin: 0 0 10px; + padding: 10px; +} +#order-opc #login_form fieldset p {padding:0} +#order-opc #login_form fieldset p a {padding:0} + +#order-opc #new_account_form p.submit { + margin-right: 120px; + text-align:right +} +#order-opc #new_account_form p.opc-required {margin-left:20px} + +#order-opc .addresses {margin-bottom:20px} + +#order-opc #opc_delivery_methods h3 {margin-top:20px;} +#order-opc #opc_delivery_methods textarea { + height:60px; + width:723px; + border:1px solid #ccc +} +#order-opc #opc_delivery_methods #message { + width: 757px; +} +#order-opc #opc_payment_methods {margin-bottom:20px} +#order-opc #opc_payment_methods #opc_payment_methods-content p{margin:0} +.delivery_option_carrier td {width:200px} +.delivery_option_carrier td + td {width:280px;} +.delivery_option_carrier td + td + td {width:200px} +.delivery_option_carrier { + margin: 5px 0 0 45px; + width: 670px; + display: none; +} + .delivery_option_carrier tr td { + padding: 5px; +} +.delivery_option_carrier.selected { + display: table; +} +.delivery_option_carrier.not-displayable { + display: none; +} +.delivery_option_title { + font-weight: bold; +} + + +/* ************************************************************************************************ + express checkout +************************************************************************************************ */ +#new_account_form {clear:both;margin-bottom: 20px} +#new_account_form h3 { + margin-bottom:20px; + padding:8px; + border-bottom:1px solid #ccc; + font-weight:bold; + font-size:12px; + color:#fff; + text-transform:uppercase; + background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898 +} +#center_column #new_account_form p { + margin:0; + padding:0 0 10px 0 +} +#new_account_form p.required {color:#222} +#new_account_form p.required sup {color:#990000} +#new_account_form p.radio span, +#new_account_form p.text label, +#new_account_form p.password label, +#new_account_form p.select label, +#new_account_form p.select span, +#new_account_form p.textarea label { + display: inline-block; + padding: 6px 15px; + width: 230px; + font-size: 14px; + text-align: right +} +#new_account_form p.radio label { + float:none; + padding-right:10px; + width:auto; + font-size:14px; +} +#new_account_form p.checkbox label { + float: none; + width: auto; + font-size: 12px; +} +#new_account_form p.text input, +#new_account_form p.password input, +#new_account_form p.select input { + height:22px; + padding:0 5px; + width:360px; + border:1px solid #ccc; + font-size:12px; + color:#666 +} +#new_account_form p.checkbox input {margin-left: 260px;} + +#new_account_form #submitGuestAccount {float: right} + +/* ************************************************************************************************ */ + +/* ************************************************************************************************ + paiment - CONFIRMATION +************************************************************************************************ */ +#orderconfirmation #left_column {display:none} +#orderconfirmation #center_column{width:757px} + + +/* ************************************************************************************************ + PAGE PASSWORD +************************************************************************************************ */ +#form_forgotpassword fieldset { + padding: 10px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + background: #eee +} +#form_forgotpassword p.text label { + display: inline-block; + padding-right: 10px; + width: 174px; + font-weight: bold; + font-size: 12px; + text-align: right +} +#form_forgotpassword p.text input { + padding: 0 5px; + height: 20px; + width: 288px; + border: 1px solid #ccc; + background: url(../img/bg_input.png) repeat-x 0 0 #fff +} +#form_forgotpassword p.submit { + margin-right:25px; + padding-bottom:5px; + text-align:right +} + +#password .icon { + position:relative; + top:6px; +} + + +/* ************************************************************************************************ + PAGE ADRESSES +************************************************************************************************ */ +#addresses #left_column {display:none} +#addresses #center_column{width:757px} + +#address p.inline-infos { + margin:0 0 0 265px !important; + font-size:12px; + color:#666; +} + + +/* ************************************************************************************************ + PAGE ADD ADRESS +************************************************************************************************ */ +#address #left_column {display:none} +#address #center_column{width:757px} + +form#add_address {} +#add_address fieldset { + margin:0; + border:1px solid #ccc; + background:#F8F8F8 +} +#add_address h3 { + margin:0 0 15px 0; + padding:8px; + font-size:14px; + color:#fff; + text-transform:uppercase; + background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898 +} +#center_column #add_address p {margin:0; padding:0 0 10px 0} +#add_address p.required {color:#222} +#add_address p.required sup {color:#990000} + +#add_address p.text label, +#add_address p.password label, +#add_address p.select label, +#add_address p.select span, +#add_address p.textarea label { + display:inline-block; + padding:6px 15px; + width:230px;/* 260 */ + font-size:14px; + text-align:right +} +#add_address p.text input, +#add_address p.password input, +#add_address p.select input { + padding:0 5px; + height:22px; + width:360px;/* 370 */ + border:1px solid #ccc; + font-size: 12px; + color:#666; + line-height:22px +} +#add_address p.checkbox input { + margin-left:260px; +} +#add_address p.select select { + margin-right:10px; + border:1px solid #ccc; + font-size: 12px; + color:#666 +} +#add_address p.textarea label {vertical-align:top} +#add_address p.textarea textarea { + height:80px; + width:370px; + border:1px solid #ccc; + font-size: 12px; + color:#666 +} +#center_column #add_address p.submit2 { + margin-top:20px; + text-align:right +} + +#add_address span.form_info, +#add_address span.inline-infos { + display:block; + margin:5px 0 0 265px; + color:#666 +} + + +/* ************************************************************************************************ + PAGE ORDER-SPLIP +************************************************************************************************ */ +#order-slip #left_column {display:none} +#order-slip #center_column{width:757px} + +#order-slip #order-list {border-bottom:1px solid #999} +#order-slip #order-list td { + border-top: 1px solid #ccc; + border-bottom:none +} +#order-slip #order-list td.history_invoice {border-right:none} + + +/* ************************************************************************************************ + PAGE DISCOUNT +************************************************************************************************ */ +#discount #left_column {display:none} +#discount #center_column{width:757px} + +#discount .table_block tr.last_item td {border-bottom:1px solid #999} +#discount .table_block td.discount_expiration_date {border-right:1px solid #999} +#discount .table_block td.discount_value {white-space:nowrap} + + +/* ************************************************************************************************ + PAGE ORDER FOLLOW +************************************************************************************************ */ +#order-follow #left_column {display:none} +#order-follow #center_column{width:757px} + + +/* ************************************************************************************************ + PAGE NEW-PRODUCTS +************************************************************************************************ */ +#newproducts .sortPagiBar {margin-bottom:20px} + + +/* ************************************************************************************************ + PAGE BEST SALES +************************************************************************************************ */ +#bestsales .sortPagiBar {margin-bottom:20px} + +/* ************************************************************************************************ + PAGE PRICES DROP SALES +************************************************************************************************ */ +#pricesdrop .sortPagiBar {margin-bottom:20px} + + +/* ************************************************************************************************ + PAGE MANUFACTURER +************************************************************************************************ */ +#manufacturer .nbrmanufacturer { + margin: 15px 0 10px; + padding: 8px 7px; + font-size:12px; + color: #000; + background: none repeat scroll 0 0 #f0f0f0 +} + +#manufacturer #product_list {margin-top:15px} + +ul#manufacturers_list {list-style-type:none} +ul#manufacturers_list li { + margin-bottom: 14px; + padding: 12px 8px; + border: 1px solid #eee; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius:3px; +} +ul#manufacturers_list li a.lnk_img { + display: block; + float: left; +} +ul#manufacturers_list li img { + display: block; + float: left; + margin-right: 14px; + border: 1px solid #ccc; + vertical-align: bottom +} +ul#manufacturers_list li h3 { + padding: 0 0 10px; + font-size: 13px; + color: #000 +} +ul#manufacturers_list li .description { + overflow: hidden; + padding: 0; + font-size:12px; + color:#666 +} +ul#manufacturers_list li .right_side {float:right;} + +.description_box { + border: 1px solid #CCCCCC; + border-radius: 3px 3px 3px 3px; + box-shadow: 0 1px 1px #E2E2E2; + padding: 5px; + margin-bottom: 20px; + font-size: 12px; + line-height: 18px; +} +.description_box p { + margin: 0; + padding: 0 10px 5px; +} +.description_box .hide_desc { + display: none; +} +.description_box .lnk_more { + background: url("../img/arrow_right_1.png") no-repeat scroll 100% 4px transparent; + color: #0088CC; + padding: 0 10px; +} +.description_box ul { + padding-left: 30px; + padding-bottom: 10px; +} + +/* ************************************************************************************************ + PAGE SUPPLIER +************************************************************************************************ */ +#supplier .nbrmanufacturer { + margin: 15px 0 10px; + padding: 8px 7px; + font-size:12px; + color: #000; + background: none repeat scroll 0 0 #f0f0f0 +} +ul#suppliers_list {list-style-type:none} +ul#suppliers_list li { + margin-bottom: 14px; + padding: 12px 8px; + border: 1px solid #eee; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius:3px; +} +ul#suppliers_list li a.lnk_img { + display: block; + float: left; +} +ul#suppliers_list li img { + display: block; + float: left; + margin-right: 14px; + border: 1px solid #ccc; + vertical-align: bottom +} +ul#suppliers_list li h3 { + padding: 0 0 10px; + font-size: 13px; + color: #000 +} +ul#suppliers_list li .description { + overflow: hidden; + padding: 0; + font-size:12px; + color:#666 +} +ul#suppliers_list li .right_side {float:right;} + + +/* ************************************************************************************************ + PAGE SEARCH +************************************************************************************************ */ +#search h3.nbresult { + margin:0 0 10px 0; + padding:10px; + border:1px solid #e6db55; + font-size:13px; + background:#ffffe0 +} +#search .sortPagiBar {margin-bottom:20px} + + +/* ************************************************************************************************ + PAGE 404 +************************************************************************************************ */ +#pagenotfound #left_column, +#pagenotfound #right_column, +#pagenotfound #footer {display:none} + +#pagenotfound #left_column, +#pagenotfound #right_column, +#pagenotfound #footer {display:none} + +#pagenotfound #center_column {width:940px;} + +#pagenotfound .pagenotfound { + padding:30px 300px 0 0; + height:330px; + font-size:14px; + background:url(../img/bg_404.png) no-repeat 100% 0 +} +#pagenotfound h3 { + font-weight:normal; + font-size:14px +} +#pagenotfound fieldset {border:none} +#pagenotfound fieldset label {color:#333} +#pagenotfound #search_query { + -moz-border-bottom-colors: none; + -moz-border-image: none; + -moz-border-left-colors: none; + -moz-border-right-colors: none; + -moz-border-top-colors: none; + border-bottom: 1px solid #666; + border-left: 1px solid #666; + border-right: 1px solid #fff !important; + border-top: 1px solid #666; + padding: 0 5px; + height: 24px; + width: 200px; + color: #ccc; + background: url(../../../modules/blocksearch/img/bg_search_input.png) repeat-x scroll 0 0 #fff +} +#pagenotfound .button_small { + padding: 4px 7px; + border: medium none; + -moz-border-radius:0; + -webkit-border-radius:0; + border-radius:0; + color: #fff; + text-transform: uppercase; + background: url("../../../modules/blocksearch/img/bg_search_submit.png") repeat-x scroll 0 0 #101010 +} +#pagenotfound .pagenotfound a { + font-weight:bold; + color:#333 +} +#pagenotfound .pagenotfound .icon { + position:relative; + top:3px +} + + +/* ************************************************************************************************ + addons payment cheque +************************************************************************************************ */ +#module-cheque-payment #left_column {display:none} +#module-cheque-payment #center_column{width:757px} + + +/* ************************************************************************************************ + addons payment bankwire +************************************************************************************************ */ +#module-bankwire-payment #left_column {display:none} +#module-bankwire-payment #center_column{width:757px} + + +/* ************************************************************************************************ + addons google checkout +************************************************************************************************ */ +#module-gcheckout-payment #left_column {display:none} +#module-gcheckout-payment #center_column{width:757px} + +/* ************************************************************************************************ + addons paypal +************************************************************************************************ */ +#module-payment-submit #left_column {display:none} +#module-payment-submit #center_column{width:757px} + + +/* ************************************************************************************************ + addons cashondelivery validation +************************************************************************************************ */ +#module-cashondelivery-validation #left_column {display:none} +#module-cashondelivery-validation #center_column{width:757px} + + +/* ************************************************************************************************ + addon RerversoForm +************************************************************************************************ */ +#account-creation_form fieldset.reversoform {padding:10px !important} +#account-creation_form fieldset.reversoform .text label{ + display:block; + padding:0 0 10px 0; + width:100%; + text-align:left; +} +#account-creation_form fieldset.reversoform .infos-sup { + padding:0 !important; + font-size:10px; + font-style:italic; + text-align:right +} +/* ************************************************************************************************ + addon customer privacy +************************************************************************************************ */ +#account-creation_form fieldset.customerprivacy label, fieldset.customerprivacy label{ + padding-bottom:0; + font-size:14px; + text-align:left; + cursor:pointer +} + +/* ************************************************************************************************ + addon referralprogram +************************************************************************************************ */ +#module-referralprogram-referralprogram-program #left_column {display:none} +#module-referralprogram-referralprogram-program #center_column{width:757px} + +#footer .myaccount li.referralprogram img {display:none} + +#module-referralprogram-referralprogram-program .sheets {padding-top:10px} + +#module-referralprogram-referralprogram-program form p.checkbox {font-weight:bold} +#module-referralprogram-referralprogram-program form p.checkbox a {text-decoration:underline} +#module-referralprogram-referralprogram-program form p.submit {text-align:right} +#module-referralprogram-referralprogram-program form p.see_email { + padding-left:10px; + color: #0088cc; + background:url(../img/arrow_right_1.png) no-repeat 0 4px; +} +#module-referralprogram-referralprogram-program form p.see_email a { + color: #0088cc; + text-decoration:underline +} + +/* ************************************************************************************************ + addon loyalty +************************************************************************************************ */ +#module-loyalty-default #left_column {display:none} +#module-loyalty-default #center_column{width:757px} + +#product p#loyalty { + padding:10px 0 0 20px; + border-top:1px solid #ccc; + background:url(../img/icon/info.png) no-repeat 0 8px; + margin-top: 10px; +} + +#footer .myaccount li.loyalty img {display:none} + + +/* ************************************************************************************************ + addon Livezilla +************************************************************************************************ */ +#livezilla_lnk { + margin:10px 0; + text-align: right +} +#livezilla_lnk a { + display:inline-block; + padding:6px 8px 8px 8px; + -moz-border-radius:3px; + -webkit-border-radius:3px; + border-radius:3px; + font:bold 10px Arial,Verdana,sans-serif; + color:#fff; + text-shadow: 0 -1px 0 #000; + background: url(../img/bg_bt_compare.gif) repeat-x scroll 0 0 #000 +} +#livezilla_lnk a:hover {text-decoration:none} + +/* ************************************************************************************************ + addons comments products +************************************************************************************************ */ +form#sendComment fieldset{ + padding:10px; + border:1px solid #ccc; + background:#eee +} +form#sendComment h3 {font-size:14px;} +#new_comment_form p.text { + margin-bottom: 0; + padding-bottom: 0; +} +#sendComment p.text label, +#sendComment p.textarea label { + display: block; + margin: 12px 0 4px; + font-weight: bold; + font-size: 12px; +} +#sendComment p.text input { + padding: 0 5px; + height: 28px; + width: 498px; + border: 1px solid #ccc; + background: url(../img/bg_input.png) repeat-x 0 0 #fff; +} +#sendComment p.textarea textarea { + height:80px; + width:508px; + border:1px solid #ccc; +} +#sendComment p.submit { + padding:0; + text-align:right +} + +#sendComment p.closeform { + float:right; + padding:0; + height:12px; + width:12px; + text-indent:-5000px; + background:url(../img/icon/delete.gif) no-repeat 0 0 +} + +.star { + position: relative; + top:2px; + float: left; + height: 12px; + width: 12px; + overflow: hidden; + text-indent: -999em; + cursor: pointer +} +.star, .star a { background: url(../../../modules/productcomments/img/star.gif) no-repeat 0 0 } +div.star_on a { background-position: 0 -12px } +div.star_hover a, div.star a:hover { background-position: 0 -12px } + + +/* ************************************************************************************************ + xxxxx +************************************************************************************************ */ + + +/* ************************************************************************************************ + guest tracking +************************************************************************************************ */ + +#guest-tracking fieldset p:first-child { + padding-top: 10px; +} +#guest-tracking fieldset p:last-child { + padding-bottom: 10px; +} + + + +/* ************************************************************************************************ + CSS Modules +************************************************************************************************ */ + +/******* IMPORTANT - Internet Explorer can read 31 CSS files max. Some CSS have been put here and erased from their own module folder.************/ + +/*************** Block ADVERTISING ***************/ +.advertising_block { width: 191px; margin-bottom: 1em; text-align: center } + + + +/*************** Block CATEGORIES ***************/ +#categories_block_left li {border-bottom:1px dotted #ccc} + #categories_block_left li.last { border:none;} + #categories_block_left li a { + display:block; + padding:7px 11px 5px 22px; + color:#333; + background:url(../../../modules/blockcategories/img/arrow_right_2.png) no-repeat 10px 10px transparent + } + + #categories_block_left li ul {margin-left:40px} + #categories_block_left li ul li {border:none} + #categories_block_left li ul li a { + padding-left:0; + background:none + } + +#categories_block_left li .OPEN, +#categories_block_left li .CLOSE { + display:block; + float:right; + margin:10px 10px 0; + height:9px; + width:9px; + background:url(../../../modules/blockcategories/img/icon/open-close.png) no-repeat 0 -9px; + cursor:pointer +} +#categories_block_left li .CLOSE {background-position:0 0} + + +/* footer */ +.blockcategories_footer { + padding:15px 10px; +} +.blockcategories_footer .category_footer {float:left;clear:none;} +.blockcategories_footer ul ul {display:none !important} + + + +/*************** Block CMS ***************/ +/* footer */ +#footer .block_various_links {padding:15px 10px;} + +/* Block CMS links */ +.informations_block_left li {border-bottom:1px dotted #eee} +.informations_block_left li.last {border:none;} +.informations_block_left li a { + display:block; + padding:7px 11px 5px 22px; + color:#333; + background:url(../../../modules/blockcms/img/arrow_right_2.png) no-repeat 10px 10px transparent; +} + +tr.subitem > td:first-child + td { + padding-left: 10px; +} + + + +/*************** Block CONTACTINFOS ***************/ + +#block_contact_infos {padding:15px 10px;} +#block_contact_infos li { + padding:0 !important; + line-height: 20px; +} +#block_contact_infos li strong { + font-weight:normal; + font-size:13px; +} +#block_contact_infos li pre {font: 11px/20px Arial,Verdana,sans-serif;} + + + +/*************** Block LINK ***************/ +#links_block_left .block_content li {border-bottom:1px dotted #eee} +#links_block_left .block_contentt li.last {border:none;} +#links_block_left .block_content li a { + display:block; + padding:7px 11px 5px 22px; + color:#333; + background:url(../../../modules/blocklink/img/arrow_right_2.png) no-repeat 10px 10px transparent; +} + + + +/*************** Block MANUFACTURER ***************/ +.blockmanufacturer li {border-bottom:1px dotted #ccc} +.blockmanufacturer li.last { border:none;} + .blockmanufacturer li a { + display:block; + padding:7px 11px 5px 22px; + color:#333; + background:url(../../../modules/blockmanufacturer/img/arrow_right_2.png) no-repeat 10px 10px transparent + } + + +.blockmanufacturer form { + margin-top: 10px; + text-align: center; + width: 200px; +} +.blockmanufacturer p { + padding:0; +} + +/*************** Block LOGO PAYMENT ***************/ + +.paiement_logo_block { width: 191px; text-align: center; margin-bottom: 1.5em } +.paiement_logo_block a { text-decoration: none } +.paiement_logo_block img { margin: 0 0.5em } + + + +/*************** Block RSS ***************/ +#rss_block_left p { + margin:0; + padding:10px; +} + +#rss_block_left li {border-bottom:1px dotted #ccc} +#rss_block_left li.last { border:none;} + #rss_block_left li a { + display:block; + padding:7px 11px 5px 22px; + color:#333; + background:url(../../../modules/blockrss/img/arrow_right_2.png) no-repeat 10px 10px transparent + } + + +/*************** Block SOCIAL ***************/ +#social_block {padding:15px 10px;} +#social_block li {padding-left:22px !important;} +#social_block li.facebook {background:url(../../../modules/blocksocial/img/sprite_pict_social_block.png) no-repeat 0 6px;} +#social_block li.twitter {background:url(../../../modules/blocksocial/img/sprite_pict_social_block.png) no-repeat 0 -26px;} +#social_block li.rss {background:url(../../../modules/blocksocial/img/sprite_pict_social_block.png) no-repeat 0 -56px;} + + +/*************** Block STORE ***************/ +.blockstore img { margin: 10px 0 0 0} +.blockstore p { + padding-bottom:0; + font-weight:bold; + text-align: right +} +.blockstore p.store_image { + padding-bottom:10px; + text-align:center +} + + +/*************** Block SUPPLIER ***************/ +.blocksupplier li {border-bottom:1px dotted #ccc} +.blocksupplier li.last { border:none;} + .blocksupplier li a { + display:block; + padding:7px 11px 5px 22px; + color:#333; + background:url(../../../modules/blocksupplier/img/arrow_right_2.png) no-repeat 10px 10px transparent + } + +.blocksupplier form { + margin-top: 10px; + text-align: center; + width: 200px; +} +.blocksupplier p { + padding:0; +} + +.ie7 #featured-products_block_center .product_image span.new {top:110px;right:0;width:94%} +.ie8 #featured-products_block_center .product_image span.new{top:110px;right:0;width:94%} +.lt-ie6 #featured-products_block_center .product_image span.new {top:110px;right:0;width:94%} diff --git a/themes/default/css/grid_prestashop.css b/themes/default/css/grid_prestashop.css new file mode 100644 index 000000000..fb73ee3d1 --- /dev/null +++ b/themes/default/css/grid_prestashop.css @@ -0,0 +1,138 @@ +/* + Variable Grid System. + Learn more ~ http://www.spry-soft.com/grids/ + Based on 960 Grid System - http://960.gs/ + + Licensed under GPL and MIT. +*/ + +/* Containers +----------------------------------------------------------------------------------------------------*/ +.container_9 { + margin:0 auto; + width: 980px; +} + + +/* Grid >> Global +----------------------------------------------------------------------------------------------------*/ +.grid_1, +.grid_2, +.grid_3, +.grid_4, +.grid_5, +.grid_6, +.grid_7, +.grid_8, +.grid_9 { + display:inline; + float: left; + position: relative; + margin-right: 20px; +} + + +/* Grid >> Children (Alpha ~ First, Omega ~ Last) +----------------------------------------------------------------------------------------------------*/ +.alpha {margin-left: 0;} +.omega {margin-right: 0;} + + +/* Grid >> 9 Columns +----------------------------------------------------------------------------------------------------*/ +.container_9 .grid_1 {width:91px;} +.container_9 .grid_2 {width:202px;} +.container_9 .grid_3 {width:313px;} +.container_9 .grid_4 {width:424px;} +.container_9 .grid_5 {width:535px;} +.container_9 .grid_6 {width:646px;} +.container_9 .grid_7 {width:757px;} +.container_9 .grid_8 {width:868px;} +.container_9 .grid_9 {width:980px;} + + +/* Prefix Extra Space >> 9 Columns +----------------------------------------------------------------------------------------------------*/ +.container_9 .prefix_1 {padding-left:111px;} +.container_9 .prefix_2 {padding-left:222px;} +.container_9 .prefix_3 {padding-left:333px;} +.container_9 .prefix_4 {padding-left:444px;} +.container_9 .prefix_5 {padding-left:555px;} +.container_9 .prefix_6 {padding-left:666px;} +.container_9 .prefix_7 {padding-left:777px;} +.container_9 .prefix_8 {padding-left:888px;} + + +/* Suffix Extra Space >> 9 Columns +----------------------------------------------------------------------------------------------------*/ +.container_9 .suffix_1 {padding-right:111px;} +.container_9 .suffix_2 {padding-right:222px;} +.container_9 .suffix_3 {padding-right:333px;} +.container_9 .suffix_4 {padding-right:444px;} +.container_9 .suffix_5 {padding-right:555px;} +.container_9 .suffix_6 {padding-right:666px;} +.container_9 .suffix_7 {padding-right:777px;} +.container_9 .suffix_8 {padding-right:888px;} + + +/* Push Space >> 9 Columns +----------------------------------------------------------------------------------------------------*/ +.container_9 .push_1 {left:111px;} +.container_9 .push_2 {left:222px;} +.container_9 .push_3 {left:333px;} +.container_9 .push_4 {left:444px;} +.container_9 .push_5 {left:555px;} +.container_9 .push_6 {left:666px;} +.container_9 .push_7 {left:777px;} +.container_9 .push_8 {left:888px;} + + +/* Pull Space >> 9 Columns +----------------------------------------------------------------------------------------------------*/ +.container_9 .pull_1 {left:-111px;} +.container_9 .pull_2 {left:-222px;} +.container_9 .pull_3 {left:-333px;} +.container_9 .pull_4 {left:-444px;} +.container_9 .pull_5 {left:-555px;} +.container_9 .pull_6 {left:-666px;} +.container_9 .pull_7 {left:-777px;} +.container_9 .pull_8 {left:-888px;} + + +/* Clear Floated Elements +----------------------------------------------------------------------------------------------------*/ + +/* http://sonspring.com/journal/clearing-floats */ +.clear { + /*clear: both; + display: block; + overflow: hidden; + visibility: hidden; + width: 0; + height: 0;*/ +} + +/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack + +.clearfix:after { + clear: both; + content: ' '; + display: block; + font-size: 0; + line-height: 0; + visibility: hidden; + width: 0; + height: 0; +} + +.clearfix { display: inline-block; +} + +* html .clearfix { + height: 1%; +} + +.clearfix { + display: block; +} + */ \ No newline at end of file diff --git a/themes/default/css/identity.css b/themes/default/css/identity.css new file mode 100644 index 000000000..52c60feda --- /dev/null +++ b/themes/default/css/identity.css @@ -0,0 +1,71 @@ +#identity #left_column {display:none} +#identity #center_column{width:757px} +#identity h3 { + font-weight:normal; + font-size:13px; +} +#identity p { + padding-bottom:10px; +} +#identity form.std fieldset { + margin-top:0; + padding:10px; + -moz-border-radius:3px; + -webkit-border-radius:3px; + border-radius:3px; + background:#eee; +} +#identity .std p.required {color:#333} +#identity .std p.text label, +#identity .std p.password label, +#identity .std p.select label { + display:inline-block; + padding-right:10px; + width:174px;/* 184 */ + font-weight:bold; + font-size:12px; + text-align:right; +} +#identity .std p.text label sup, +#identity .std p.password label sup, +#identity .std p.select label sup {color:#990000;} +#identity .std p.text input, +#identity .std p.password input { + padding:0 5px; + height:20px; + width:253px;/* 263 */ + border:1px solid #ccc; + background:url(../img/bg_input.png) repeat-x 0 0 #fff; +} +#identity .std p.select select { + border:1px solid #ccc; +} +#identity .std p.radio span { + display:inline-block; + padding-right:10px; + width:174px;/* 184 */ + font-weight:bold; + font-size:12px; + text-align:right; +} +#identity .std p.radio input { + padding:0 5px; + height:auto; + width:auto; + border:none; + background:none; + position: relative; + bottom: -3px; +} +#identity .std p.checkbox input { + position:relative; + top:2px; + left:0; + margin:0 2px 0 187px; +} +#identity .std p.submit {padding:10px 0 20px 187px} +#identity .std p.submit .button {padding:5px 25px} +#identity .std #security_informations { + padding:0 0 0 187px; + font-size:11px; +} \ No newline at end of file diff --git a/themes/default/css/index.php b/themes/default/css/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/css/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/css/maintenance.css b/themes/default/css/maintenance.css new file mode 100644 index 000000000..ce177989e --- /dev/null +++ b/themes/default/css/maintenance.css @@ -0,0 +1,12 @@ +#maintenance { + margin:0 auto; + width:940px; + font:normal 30px Arial, Verdana, sans-serif; + color:#333; +} +#maintenance #message { + margin:0 20px; + padding:50px 310px 0 0; + height:360px; + background:url(../img/bg_maintenance.png) no-repeat 100% 0 #fff +} \ No newline at end of file diff --git a/themes/default/css/my-account.css b/themes/default/css/my-account.css new file mode 100644 index 000000000..3b0aa49c4 --- /dev/null +++ b/themes/default/css/my-account.css @@ -0,0 +1,21 @@ +#my-account #left_column {display:none} +#my-account #center_column {width:757px} +#my-account #center_column h1 {margin-bottom:20px} + +#my-account #center_column .title_block { + font-weight:normal; + font-size:12px; + color:#666 +} + +#my-account .myaccount_lnk_list {list-style-type:none} +#my-account .myaccount_lnk_list li { + font-size:13px; + line-height:36px +} +#my-account .myaccount_lnk_list img.icon, +#my-account p img.icon { + position:relative; + top:6px; + left:0 +} \ No newline at end of file diff --git a/themes/default/css/order-opc.css b/themes/default/css/order-opc.css new file mode 100644 index 000000000..568ded610 --- /dev/null +++ b/themes/default/css/order-opc.css @@ -0,0 +1,93 @@ +#orderopc #left_column {display:none} +#orderopc #center_column{width:757px} +#orderopc #left_column h2 {margin-top:20px} +#opc_account_choice {padding:0 15px;} +#opc_account_choice .opc_float { + float:left; + width:350px +} +#opc_account_choice .opc_float ul {margin:0 0 20px 30px} +#new_account_form fieldset { + padding:0 0 15px 0; + border:1px solid #ccc; + background:#f8f8f8 +} +#new_account_form h3 { + margin:0 0 15px 0; + padding:8px; + font-size:14px; + color:#fff; + text-transform:uppercase; + background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898 +} +#center_column #new_account_form p {margin:0; padding:0 0 10px 0;} +#new_account_form p.required {color:#222;} +#new_account_form p.required sup {color:#990000;} + +#new_account_form p.radio label { + padding-right:10px; + font-size:14px; +} +#new_account_form p.radio span, +#new_account_form p.text label, +#new_account_form p.password label, +#new_account_form p.select label, +#new_account_form p.select span, +#new_account_form p.textarea label { + display:inline-block; + padding:6px 15px; + width:230px;/* 260 */ + font-size:14px; + text-align:right +} +#new_account_form p.checkbox label { + font-size:12px; +} +#new_account_form p.text input, +#new_account_form p.password input, +#new_account_form p.select input { + padding:0 5px; + height:22px; + width:360px;/* 370 */ + border:1px solid #ccc; + font-size: 12px; + color:#666 +} +#new_account_form p.checkbox input { + margin-left:260px; +} +#new_account_form p.select select { + margin-right:10px; + border:1px solid #ccc; + font-size: 12px; + color:#666 +} +#new_account_form p.textarea textarea { + height:80px; + width:370px; + border:1px solid #ccc; + font-size: 12px; + color:#666 +} +#new_account_form span.form_info, +#new_account_form span.inline-infos, #new_account_form p.inline-infos { + display:block; + margin:5px 0 0 265px!important; + color:#666 +} +#new_account_form .id_state, #new_account_form .dni, #new_account_form .postcode { + display: none; +} +#opc_account_errors { + margin: 10px; + margin-bottom: 15px; +} +#center_column #new_account_form p#opc_account_saved { + color: green; + float: right; + margin-right: 20px; + padding: 0; +} +#address_invoice_form { + padding: 0px; +} \ No newline at end of file diff --git a/themes/default/css/product.css b/themes/default/css/product.css new file mode 100644 index 000000000..d695a7dea --- /dev/null +++ b/themes/default/css/product.css @@ -0,0 +1,534 @@ +/* product desc */ +/* primary_block ***************************************************************************** */ +#primary_block { + margin-top:15px; +} + +/* pb-right-column ***************************************************************************** */ +#pb-right-column { + float:left; + width:266px; +} + +#pb-right-column #image-block { + position:relative; +} + +#pb-right-column #image-block img { + border:1px solid #cdcdcd; +} + +#pb-right-column #image-block #view_full_size { + display:block; + cursor:pointer; +} + +#pb-right-column #image-block #view_full_size .span_link { + position:absolute; + bottom:10px; + left:32%; + display:block; + padding:0 12px 0 30px; + line-height:20px; + color:#fff; + text-shadow:0 1px 0 #000; + text-align:center; + text-transform:uppercase; + background-image:url(../img/icon/zoom.png); + background-repeat:no-repeat; + background-position:10px 2px; + background-color:#000; + background-color:rgba(0,0,0,0.5); + border-radius:12px; + -moz-border-radius:12px; + -webkit-border-radius:12px; +} + +#pb-right-column #image-block #view_full_size .span_link img { + position:relative; + top:3px; + left:-3px; + border:none; + padding-right:2px; +} + +/* miniatures */ +#pb-right-column #views_block { + margin-top:10px; + width:266px; +} + +#thumbs_list { + float:left; + overflow:hidden; + margin-left:4px; + width:216px; +} + +#thumbs_list ul#thumbs_list_frame { + list-style-type:none; + padding-left:0; +} + +#thumbs_list li { + float:left; + height:60px; + width:72px; + cursor:pointer; +} + +#thumbs_list li img { + margin:0 6px; + border:1px solid #cdcdcd; +} + +span.view_scroll_spacer { + float:left; + height:16px; + width:21px; +} + +#view_scroll_left,#view_scroll_right { + float:left; + margin-top:20px; + padding:0 4px; + height:18px; + width:9px; + text-indent:-3000px; + background:url(../img/thumbs_left.gif) no-repeat center center transparent; +} + +#view_scroll_right { + margin-left:4px; + background-image:url(../img/thumbs_right.gif); +} + +.resetimg { + padding:10px 0 0; +} + +/* link list */ +#usefull_link_block { + list-style-type:none; + margin-top:20px; +} + +#usefull_link_block li { + padding:2px 0; +} + +#usefull_link_block li.print { + padding-left:20px; + background:url(../img/icon/print.gif) no-repeat 0 0; +} + +#usefull_link_block li.sendtofriend { + padding-left:20px; + background:url(../img/icon/send_friend.gif) no-repeat 0 0; +} + +#usefull_link_block li#left_share_fb { + padding-left:20px; + background:url(../img/icon/picto_fb.png) no-repeat 0 0; +} + +/* pb-left-column ****************************************************************************** */ +#pb-left-column { + float:left; + margin-left:14px; + width:255px; +} + +#pb-left-column h1 { + padding-bottom:5px; + font-size:18px; +} + +#pb-left-column #short_description_block { + color:#666; +} + +#pb-left-column #short_description_block .buttons_bottom_block { + display:none; +} + +/* form */ +#pb-left-column #buy_block { + margin-top:10px; +} + +#buy_block p { + padding-bottom:10px; +} + +#pb-left-column #buy_block label { + display:inline-block; + width:125px; + font-weight:700; + font-size:12px; + text-align:right; +} + +.ie7 #pb-left-column #buy_block label {margin-right:5px;float:left} + +/* color_picker */ +#pb-left-column #color_picker p { + padding-bottom:5px; + font-weight:700; +} + +#attributes fieldset { + padding-bottom:10px; +} + +#attributes fieldset label { + vertical-align:top; +} + +#attributes .attribute_list { + display:inline-block; +} + +.ie7 #attributes .attribute_list { + display:inline; + zoom:1; + float:right +} + +#attributes .attribute_list ul{ + list-style:none +} + +#attributes .attribute_list ul li{ + clear:both +} + +#attributes .attribute_list input.attribute_radio{float: left;margin-left: 3px;} +#attributes .attribute_list span{float: left;margin-bottom: 5px;margin-left: 3px;} + +.ie7 #attributes .attribute_list span{margin-top:1px} + +#attributes .attribute_list #color_to_pick_list { + list-style-type:none; + width:125px; +} + +#attributes .attribute_list #color_to_pick_list li { + float:left; + margin:0 8px 8px 0; + padding:1px; + border:1px solid #ccc; + clear:none +} + +#attributes .attribute_list #color_to_pick_list li.selected { + border:1px solid #000; +} + +#attributes .attribute_list #color_to_pick_list a.color_pick { + display:block; + height:20px; + width:20px; +} + +.product_attributes { + padding:10px 0 0; + border-top:1px solid #ccc; +} + +/* attributes */ +#attributes select { + width:120px; + border:1px solid #cdcdcd; +} + +/* quantity_wanted */ +#quantity_wanted_p input { + width:50px; + border:1px solid #cdcdcd; +} + +/* availability_statut */ +#availability_statut { + margin: 10px 0 0 0; + min-width: 255px; +} + +#availability_statut span#availability_label, +#availability_date_label { + display:inline-block; + width:125px; + font-weight:700; + font-size:12px; + text-align:right; +} + +#availability_statut #availability_value { + background-color:green; + color:#ffffff; + text-shadow:none; + padding:0 10px; + text-transform: uppercase; + font-size:10px; + font-weight: bold; + display:inline-block; +} + +#availability_statut #availability_value.warning_inline { + background-color:#9B0000; +} + +/* prices */ +.content_prices { + margin-top:10px; + padding-top:10px; + border-top:1px solid #ccc; + text-align:right; +} + +#buy_block p.price { + padding:0; +} + +.discount { + display:none; +} + +#buy_block p#old_price { + padding-bottom:15px; + font-size:14px; + text-decoration:line-through; +} + +.our_price_display { + padding-bottom:10px; + font-weight:700; + font-size:24px; + line-height:18px; + color:#9b0000; +} + +#reduction_percent,#reduction_amount { + display:block; + float:right; + margin-left:10px; + padding:0 0 0 10px; + font-weight:700; + font-size:12px; + color:#fff; + background:url(../img/bg_reduction.png) no-repeat 0 0 transparent; +} + +#reduction_percent span,#reduction_amount span { + display:block; + padding:1px 5px 1px 0; + background:url(../img/bg_reduction.png) no-repeat 100% 0 transparent; +} + +/* online_only */ +#buy_block p.online_only { + font-weight:700; + font-size:11px; + color:#900; + text-align:left; + text-transform:uppercase; +} + +/* add_to_cart */ +.content_prices #add_to_cart { + position:relative; + float:right; + padding:0; +} + +.content_prices #add_to_cart .exclusive,.content_prices #add_to_cart .exclusive_disabled { + height: 26px; + padding: 5px 7px 5px 15px; +} + +@media screen and (-webkit-min-device-pixel-ratio:0) { /*hack Chrome and Safari */ + + .content_prices #add_to_cart .exclusive,.content_prices #add_to_cart .exclusive_disabled { + padding:6px 7px 4px 15px; + } + +} + +.ie9 .content_prices #add_to_cart .exclusive, .ie9 .content_prices #add_to_cart .exclusive_disabled, +.ie8 .content_prices #add_to_cart .exclusive, .ie8 .content_prices #add_to_cart .exclusive_disabled, +.ie7 .content_prices #add_to_cart .exclusive, .ie7 .content_prices #add_to_cart .exclusive_disabled { + padding:8px 7px 4px 15px; + line-height:12px; + } + +:first-child+html .content_prices #add_to_cart .exclusive { + padding:4px 3px 4px 11px; +} + +.content_prices #add_to_cart span { + z-index:10; + display:block; + position:absolute; + top:0; + left:-12px; + height:26px; + width:26px; + background:url(../img/icon/pict_add_cart.png) no-repeat 0 0 transparent; +} + +/* */ +.buttons_bottom_block { + clear:both; + padding-top:20px; +} + +.buttons_bottom_block #wishlist_button { + font-weight:700; +} + +/* SEND TO FRIEND (pop-in) ##################################################################### */ +#send_friend_form { +} + +#send_friend_form h2 { + padding:8px 11px; + font-size:12px; + color:#fff; + text-shadow:0 1px 0 #000; + text-transform:uppercase; + background:#383838; +} + +#send_friend_form .product { + margin:20px 10px; +} + +#send_friend_form .product img { + float:left; + margin:0 10px 0 0; + border:1px solid #ccc; +} + +#send_friend_form .product .product_desc { + float:left; + width:380px; +} + +#send_friend_form .product .product_desc p { + padding:0 10px 0 0; + color:#333; +} + +#send_friend_form .product .product_desc p.product_name { + font-size:12px; + color:#000; +} + +#send_friend_form .send_friend_form_content { + margin:0 10px 20px; +} + +#send_friend_form .form_container { + padding:10px 15px; + border:1px solid #ccc; + background:#eee; +} + +#send_friend_form .form_container p.intro_form { + padding-bottom:14px; + font-weight:700; + font-size:13px; + color:#333; +} + +#send_friend_form .form_container p.txt_required { + padding-bottom:0; + color:/* SEND TO FRIEND (pop-in) ##################################################################### */ +#666; +} + +#send_friend_form .form_container .text { + padding-bottom:10px; +} + +#send_friend_form .form_container .text label { + display:inline-block; + padding:6px 15px; + width:180px; +/* 210 */ + font-size:12px; + text-align:right; +} + +#send_friend_form .form_container .text input { + padding:0 5px; + height:22px; + width:260px; + border:1px solid #ccc; + font-size:12px; + color:#666; +} + +#send_friend_form .submit { + margin-top:20px; + padding-bottom:0; + text-align:right; +} + +/* PACK ##################################################################### */ +#blockpack { + margin-top:20px; + padding-top:20px; + border-top:1px dotted #999; +} + +/* PERSONNALISATION ##################################################################### */ +.customization_block { +} + +.customization_block p.infoCustomizable { + margin:10px 0 20px; + padding:0 0 0 20px; + background:url(../img/icon/infos.gif) no-repeat 0 0 transparent; +} + +ul#uploadable_files,ul#text_fields { + list-style-type:none; +} + +.customizableProductsFile,.customizableProductsText { + margin-bottom:20px; + padding-bottom:10px; + border-bottom:1px dotted #ccc; +} + +.customizationUploadLine { + padding-bottom:10px; +} +.customizationUploadBrowse img + a { + position: relative; + top: -51px; +} +.customizationUploadLine label { + display:inline-block; + width:150px; + vertical-align:top; +} + +.customizationUploadLine textarea { + height:50px; + width:300px; + border:1px solid #ccc; +} + +#customizedDatas { + float:right; +} + +.accessories_block div ul li a { + display:inline-block; +} + +.accessories_block div ul li .s_title_block a, .accessories_block div ul li .s_title_block span { + font-weight:bold; +} diff --git a/themes/default/css/product_list.css b/themes/default/css/product_list.css new file mode 100644 index 000000000..e5fb9dec3 --- /dev/null +++ b/themes/default/css/product_list.css @@ -0,0 +1,148 @@ +ul#product_list { + list-style-type: none +} +#product_list li { + margin-bottom: 14px; + padding: 12px 8px; + border: 1px solid #eee; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px +} +#product_list li a { + color: #374853; + text-decoration: none +} +#product_list li .left_block { + float:left; + padding-top:58px; + width:15px +} +#product_list li .left_block .compare label {display:none;} + +#product_list li p.compare input { + vertical-align: text-bottom +} +#product_list li .center_block { + float: left; + padding:0 7px; + width: 342px;/* 356 */ + border-right:1px dotted #ccc +} +#product_list a.product_img_link { + overflow:hidden; + position:relative; + float: left; + display:block; + margin-right: 14px; + border: 1px solid #ccc +} +#product_list a.product_img_link img { + display: block; + vertical-align: bottom +} +#product_list li span.new { + display: block; + position: absolute; + top: 15px; + right:-30px; + padding: 1px 4px; + width: 101px; + font-size:10px; + color: #fff; + text-align: center; + text-transform: uppercase; + -moz-transform: rotate(45deg); + -webkit-transform: rotate(45deg); + -o-transform:rotate(45deg); + background-color: #990000; + transform: rotate(45deg); + -ms-transform: rotate(45deg); /* Newer browsers */ +} + +.ie8 #product_list li span.new{top:111px;right:0;width:94%} +.ie7 #product_list li span.new {top:111px;right:0;width:94%} +#product_list li h3 { + padding:0 0 10px 0; + font-size:13px; + color:#000 +} +#product_list li a { + color: #000; + text-decoration: none; +} +#product_list li p.product_desc { + overflow: hidden; + padding:0; + line-height:16px; +} +#product_list li p.product_desc, +#product_list li p.product_desc a { + color:#666; +} + +#product_list li .right_block { +position:relative; +float: left; +width: 145px; +text-align: right +} +#product_list li .discount, ul#product_list li .on_sale, ul#product_list li .online_only { + display: block; + font-weight: bold; + color: #990000; + text-transform: uppercase +} +#product_list li .discount { + position:absolute; + top:0; + right:0; + display: inline-block; + font-weight: bold; + padding: 1px 5px; + font-size: 10px; + color: #fff; + text-transform: uppercase; + background: none repeat scroll 0 0 #9B0000 +} +#product_list li .online_only { + margin:0 0 10px 0 +} +#product_list li .content_price { + margin:26px 0 15px 0; +} +#product_list li .price { + display: block; + margin-bottom: 15px; + font-weight:bold; + font-size: 18px; + color:#990000 +} +#product_list li span.availability { + color: #488C40 +} +#product_list li span.warning_inline { + color: red +} +#product_list li .ajax_add_to_cart_button { + padding-left: 20px +} +#product_list li .ajax_add_to_cart_button span { + display: block; + position: absolute; + top: -1px; + left: -12px; + height: 26px; + width: 26px; + background: url(../img/icon/pict_add_cart.png) no-repeat 0 0 transparent +} +#product_list li .lnk_view { + display: block; + margin-top:15px; + padding:0 10px; + border:none; + font-weight:bold; + color:#0088CC; + background:url(../img/arrow_right_1.png) no-repeat 100% 4px transparent +} +#product_list li .lnk_view:hover {text-decoration:underline} \ No newline at end of file diff --git a/themes/default/css/restricted-country.css b/themes/default/css/restricted-country.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default/css/rtl.css b/themes/default/css/rtl.css new file mode 100644 index 000000000..a5abec73f --- /dev/null +++ b/themes/default/css/rtl.css @@ -0,0 +1,2 @@ +body { direction: rtl !important; } +#page { text-align: right !important; } \ No newline at end of file diff --git a/themes/default/css/scenes.css b/themes/default/css/scenes.css new file mode 100644 index 000000000..1344aac8d --- /dev/null +++ b/themes/default/css/scenes.css @@ -0,0 +1,148 @@ + +/*TMP*/ +#scenes .cluetip span{ + background:transparent url(../img/icon/cible.gif) no-repeat scroll center center; + color:black; + display:block; + font-size:1.1em; + font-weight:bold; + height:23px; + padding-top:5px; + text-align:center; + width:23px; +} +/*TMP*/ +.thumbs_banner{ + margin:10px auto; + padding:2px 0; + height: 60px !important; + width:100%; + border-top:1px solid #ccc; + border-bottom:1px solid #ccc; +} + +.thumbs_banner .space-keeper{ + width:21px; + float:left; + display:block; + height:100%; +} + +.thumbs_banner .space-keeper a.prev{ + display:none; + width:21px; + text-align:center; + font-size:1.5em; + text-decoration:none; + background:url(../img/icon/serial_scroll_left.gif) no-repeat 0 0 #eee; +} +#scenes_list{ + overflow:hidden; + float:left; + width:478px; +} +#scenes_list ul{ + list-style-type:none; +} + +#scenes_list li{ + float:left; +} + +#scenes_list a{ + display:block; +} + +.thumbs_banner a.next { + float:left; + display:block; + width:21px; + text-align:center; + font-size:1.5em; + text-decoration:none; + background:url(../img/icon/serial_scroll_right.gif) no-repeat 0 0 #ddd; +} + +/* Cluetip design ****************************************************************************** */ +#scenes .screen_scene { + margin:0 auto; +} + +#scenes a.cluetip{ + display:block; + position:absolute; + text-decoration:none; +} + +.cluetip-product_scene { + padding:10px; + border:7px solid #999; + -moz-border-radius:3px; + -webkit-border-radius:3px; + border-radius:3px; + text-align:left; + background:#fff; + opacity:0.95; +} + +.cluetip-product_scene #cluetip-close{ + text-align:right; + float:right; +} + +.cluetip-product_scene img { + float:left; + margin-right:10px; + border:1px solid #ccc +} +.cluetip-product_scene .title_block { + display:inline-block; + margin-bottom:5px; + padding:0 !important; + font-size:12px; +} + +.cluetip-product_scene .clear {margin:0; padding:0} +.cluetip-product_scene .clear a { + /*float:left;*/ + margin-top:2px; +} + +.cluetip-product_scene p.description{ + float:left; + padding:0; + width:140px; + color:#666 +} + +.cluetip-product_scene div.prices{ + float:right; + position:relative; + width:65px; + text-align:right; +} +.cluetip-product_scene .new { + position:absolute; + top:0; + right:0; + display: inline-block; + padding: 1px 5px; + font-weight: bold; + font-size: 10px; + color: #fff; + text-transform: uppercase; + background: none repeat scroll 0 0 #9B0000 +} +.cluetip-product_scene .price{ + padding-top:18px; + font-weight:bold; + font-size:13px; + color:#990000 +} +.cluetip-product_scene .on_sale, .cluetip-product_scene .discount { + display:block; + font-weight:bold; + color:#DA0F00; + text-transform:uppercase; +} +/* END Cluetip design */ diff --git a/themes/default/css/sitemap.css b/themes/default/css/sitemap.css new file mode 100644 index 000000000..ddf8b0f8c --- /dev/null +++ b/themes/default/css/sitemap.css @@ -0,0 +1,38 @@ +#sitemap_content {margin-left: 20px} +#sitemap_content .sitemap_block h3, +#sitemap_content .categTree h3 {margin: 20px 0 0 0} + +#sitemap_content div.sitemap_block { + float: left; + min-height: 120px; + padding: 0; + width: 33% +} +#sitemap_content div.sitemap_block ul {list-style-type:none} +#sitemap_content div.sitemap_block li a { + display: block; + padding: 2px 0 2px 10px; + color: #333; + background: url(../img/arrow_right_2.png) no-repeat 0 4px transparent +} + +#listpage_content {margin: 50px 0 20px 20px;} +#listpage_content div.categTree { + float: left; + width: 33% +} +#listpage_content div.tree_top { + padding: 3px 0 5px 24px; + background: url(../img/sitemap-top.gif) no-repeat -1px -3px transparent +} +#listpage_content ul {list-style-type:none} +#listpage_content ul.tree li { + margin-left: 11px; + padding-left: 20px; + border-left: 1px dotted #999; + background: url(../img/sitemap-horizontal.png) no-repeat left 10px transparent +} +#listpage_content ul.tree li.last { + border: medium none; + background: url(../img/sitemap-last.gif) no-repeat -12px -2px transparent +} \ No newline at end of file diff --git a/themes/default/css/stores.css b/themes/default/css/stores.css new file mode 100644 index 000000000..785a05f1a --- /dev/null +++ b/themes/default/css/stores.css @@ -0,0 +1,43 @@ +#stores #center_colum label { + display:inline-block; + width:150px; + font-weight:bold; + text-align:right +} +input#addressInput { + padding:2px 5px; + width:300px; + border:1px solid #ccc +} +select#radiusSelect { + margin: 0 5px 0 0; + width:50px; + border:1px solid #ccc +} + +#stores_loader { + display: none; + margin-left: 5px +} + +#locationSelect { + visibility: hidden; + width: 400px; + border:1px solid #ccc +} + +#stores #center_column p .button {float:right} + +#map { + margin:15px auto; + height:375px; + width:535px +} + +#stores-table {border-bottom:1px solid #999} +#stores-table tr:nth-child(odd) {background-color: #f3f3f3;} +#stores-table td { + border-top:1px solid #ccc; + border-bottom:none +} +#stores-table td.distance {border-right:1px solid #999} \ No newline at end of file diff --git a/themes/default/discount.tpl b/themes/default/discount.tpl new file mode 100644 index 000000000..0432accb7 --- /dev/null +++ b/themes/default/discount.tpl @@ -0,0 +1,86 @@ +{* +* 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 +* @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 +*} +{capture name=path}{l s='My account'}{$navigationPipe}{l s='My vouchers'}{/capture} +{include file="$tpl_dir./breadcrumb.tpl"} + +

    {l s='My vouchers'}

    + +{if isset($cart_rules) && count($cart_rules) && $nb_cart_rules} + + + + + + + + + + + + + + {foreach from=$cart_rules item=discountDetail name=myLoop} + + + + + + + + + + {/foreach} + +
    {l s='Code'}{l s='Description'}{l s='Quantity'}{l s='Value'}*{l s='Minimum'}{l s='Cumulative'}{l s='Expiration date'}
    {$discountDetail.code}{$discountDetail.name}{$discountDetail.quantity_for_user} + {if $discountDetail.id_discount_type == 1} + {$discountDetail.value|escape:'html':'UTF-8'}% + {elseif $discountDetail.id_discount_type == 2} + {convertPrice price=$discountDetail.value} ({if $discountDetail.reduction_tax == 1}{l s='Tax included'}{else}{l s='Tax excluded'}{/if}) + {elseif $discountDetail.id_discount_type == 3} + {l s='Free shipping'} + {else} + - + {/if} + + {if $discountDetail.minimal == 0} + {l s='None'} + {else} + {convertPrice price=$discountDetail.minimal} + {/if} + + {if $discountDetail.cumulable == 1} + {l s='Yes'} {l s='Yes'} + {else} + {l s='No'} {l s='No'} + {/if} + {dateFormat date=$discountDetail.date_to}
    +{else} +

    {l s='You do not have any vouchers.'}

    +{/if} + + diff --git a/themes/default/errors.tpl b/themes/default/errors.tpl new file mode 100644 index 000000000..1c79cf012 --- /dev/null +++ b/themes/default/errors.tpl @@ -0,0 +1,38 @@ +{* +* 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 +* @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 +*} + +{if isset($errors) && $errors} +
    +

    {if $errors|@count > 1}{l s='There are %d errors' sprintf=$errors|@count}{else}{l s='There is %d error' sprintf=$errors|@count}{/if}

    +
      + {foreach from=$errors key=k item=error} +
    1. {$error}
    2. + {/foreach} +
    + {if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication') && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri} +

    « {l s='Back'}

    + {/if} +
    +{/if} \ No newline at end of file diff --git a/themes/default/footer.tpl b/themes/default/footer.tpl new file mode 100644 index 000000000..01fb10657 --- /dev/null +++ b/themes/default/footer.tpl @@ -0,0 +1,45 @@ +{* +* 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 +* @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 +*} + + {if !$content_only} + + + +
    + {$HOOK_RIGHT_COLUMN} +
    + + + + + + {/if} + + diff --git a/themes/default/guest-tracking.tpl b/themes/default/guest-tracking.tpl new file mode 100644 index 000000000..5f8ffd112 --- /dev/null +++ b/themes/default/guest-tracking.tpl @@ -0,0 +1,114 @@ +{* +* 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 +* @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 +*} + +{capture name=path}{l s='Guest Tracking'}{/capture} +{include file="./breadcrumb.tpl"} + +

    {l s='Guest Tracking'}

    + +{if isset($order_collection)} + {foreach $order_collection as $order} + {assign var=order_state value=$order->getCurrentState()} + {assign var=invoice value=$order->invoice} + {assign var=order_history value=$order->order_history} + {assign var=carrier value=$order->carrier} + {assign var=address_invoice value=$order->address_invoice} + {assign var=address_delivery value=$order->address_delivery} + {assign var=inv_adr_fields value=$order->inv_adr_fields} + {assign var=dlv_adr_fields value=$order->dlv_adr_fields} + {assign var=invoiceAddressFormatedValues value=$order->invoiceAddressFormatedValues} + {assign var=deliveryAddressFormatedValues value=$order->deliveryAddressFormatedValues} + {assign var=currency value=$order->currency} + {assign var=discounts value=$order->discounts} + {assign var=invoiceState value=$order->invoiceState} + {assign var=deliveryState value=$order->deliveryState} + {assign var=products value=$order->products} + {assign var=customizedDatas value=$order->customizedDatas} + {assign var=HOOK_ORDERDETAILDISPLAYED value=$order->hook_orderdetaildisplayed} + {if isset($order->total_old)} + {assign var=total_old value=$order->total_old} + {/if} + {if isset($order->followup)} + {assign var=followup value=$order->followup} + {/if} + +
    +
    + {include file="./order-detail.tpl"} +
    +
    + {/foreach} + +

    {l s='For more advantages...'}

    + + {include file="$tpl_dir./errors.tpl"} + + {if isset($transformSuccess)} +

    {l s='Your guest account has been successfully transformed into a customer account. You can now login as a registered shopper. '} {l s='page.'}

    + {else} +
    +
    +

    {l s='Transform your guest account into a customer account and enjoy:'}

    +
      +
    • {l s='Personalized and secure access'}
    • +
    • {l s='Fast and easy checkout'}
    • +
    • {l s='Easier merchandise return'}
    • +
    +

    + + +

    + + + + + +

    +
    +
    + {/if} +{else} + {include file="$tpl_dir./errors.tpl"} + {if isset($show_login_link) && $show_login_link} +

    {l s='Information'}{l s='Click here to login to your customer account.'}

    + {/if} +
    +
    +

    {l s='To track your order, please enter the following information:'}

    +

    + + + {l s='For example: QIIXJXNUI or QIIXJXNUI#1'} +

    + +

    + + +

    + +

    +
    +
    +{/if} diff --git a/themes/default/history.tpl b/themes/default/history.tpl new file mode 100644 index 000000000..22ccf5448 --- /dev/null +++ b/themes/default/history.tpl @@ -0,0 +1,89 @@ +{* +* 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 +* @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 +*} + +{capture name=path}{l s='My account'}{$navigationPipe}{l s='Order history'}{/capture} +{include file="$tpl_dir./breadcrumb.tpl"} +{include file="$tpl_dir./errors.tpl"} + +

    {l s='Order history'}

    +

    {l s='Here are the orders you\'ve placed since your account was created.'}

    + +{if $slowValidation}

    {l s='If you have just placed an order, it may take a few minutes for it to be validated. Please refresh this page if your order is missing.'}

    {/if} + +
    + {if $orders && count($orders)} + + + + + + + + + + + + + + {foreach from=$orders item=order name=myLoop} + + + + + + + + + + {/foreach} + +
    {l s='Order reference'}{l s='Date'}{l s='Total price'}{l s='Payment: '}{l s='Status'}{l s='Invoice'} 
    {dateFormat date=$order.date_add full=0}{displayPrice price=$order.total_paid currency=$order.id_currency no_utf8=false convert=false}{$order.payment|escape:'html':'UTF-8'}{if isset($order.order_state)}{$order.order_state|escape:'html':'UTF-8'}{/if} + {if (isset($order.invoice) && $order.invoice && isset($order.invoice_number) && $order.invoice_number) && isset($invoiceAllowed) && $invoiceAllowed == true} + {l s='Invoice'} + {l s='PDF'} + {else}-{/if} + + {l s='details'} + {if isset($opc) && $opc} + + {else} + + {/if} + {l s='Reorder'} + +
    + + {else} +

    {l s='You have not placed any orders.'}

    + {/if} +
    + + diff --git a/themes/default/identity.tpl b/themes/default/identity.tpl new file mode 100644 index 000000000..cdd3bf9cd --- /dev/null +++ b/themes/default/identity.tpl @@ -0,0 +1,132 @@ +{* +* 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 +* @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 +*} + +{capture name=path}{l s='My account'}{$navigationPipe}{l s='Your personal information'}{/capture} +{include file="$tpl_dir./breadcrumb.tpl"} + +

    {l s='Your personal information'}

    + +{include file="$tpl_dir./errors.tpl"} + +{if isset($confirmation) && $confirmation} +

    + {l s='Your personal information has been successfully updated.'} + {if isset($pwd_changed)}
    {l s='Your password has been sent to your email:'} {$email}{/if} +

    +{else} +

    {l s='Please be sure to update your personal information if it has changed.'}

    +

    *{l s='Required field'}

    +
    +
    +

    + {l s='Title'} + {foreach from=$genders key=k item=gender} + id}checked="checked"{/if} /> + + {/foreach} +

    +

    + + +

    +

    + + +

    +

    + + +

    +

    + + +

    +

    + + +

    +

    + + +

    +

    + + + {* + {l s='January'} + {l s='February'} + {l s='March'} + {l s='April'} + {l s='May'} + {l s='June'} + {l s='July'} + {l s='August'} + {l s='September'} + {l s='October'} + {l s='November'} + {l s='December'} + *} + + +

    + {if $newsletter} +

    + + +

    +

    + + +

    + {/if} +

    + +

    +

    + {l s='[Insert customer data privacy clause here, if applicable]'} +

    +
    +
    +{/if} + + diff --git a/themes/default/img/address_alias_full_width.gif b/themes/default/img/address_alias_full_width.gif new file mode 100644 index 000000000..60718e51e Binary files /dev/null and b/themes/default/img/address_alias_full_width.gif differ diff --git a/themes/default/img/address_alias_left.gif b/themes/default/img/address_alias_left.gif new file mode 100644 index 000000000..df0d6399d Binary files /dev/null and b/themes/default/img/address_alias_left.gif differ diff --git a/themes/default/img/address_alias_right.gif b/themes/default/img/address_alias_right.gif new file mode 100644 index 000000000..a0c0779cb Binary files /dev/null and b/themes/default/img/address_alias_right.gif differ diff --git a/themes/default/img/ajax-loader.gif b/themes/default/img/ajax-loader.gif new file mode 100644 index 000000000..6f1fb335a Binary files /dev/null and b/themes/default/img/ajax-loader.gif differ diff --git a/themes/default/img/arrow_right_1.png b/themes/default/img/arrow_right_1.png new file mode 100644 index 000000000..7c3d29b62 Binary files /dev/null and b/themes/default/img/arrow_right_1.png differ diff --git a/themes/default/img/arrow_right_2.png b/themes/default/img/arrow_right_2.png new file mode 100644 index 000000000..c970f18ef Binary files /dev/null and b/themes/default/img/arrow_right_2.png differ diff --git a/themes/default/img/arrow_rotate_anticlockwise.png b/themes/default/img/arrow_rotate_anticlockwise.png new file mode 100644 index 000000000..46c75aa85 Binary files /dev/null and b/themes/default/img/arrow_rotate_anticlockwise.png differ diff --git a/themes/default/img/bg_404.png b/themes/default/img/bg_404.png new file mode 100644 index 000000000..dfc910816 Binary files /dev/null and b/themes/default/img/bg_404.png differ diff --git a/themes/default/img/bg_account.jpg b/themes/default/img/bg_account.jpg new file mode 100644 index 000000000..5c1f1ff51 Binary files /dev/null and b/themes/default/img/bg_account.jpg differ diff --git a/themes/default/img/bg_address_title.png b/themes/default/img/bg_address_title.png new file mode 100644 index 000000000..1c79acaae Binary files /dev/null and b/themes/default/img/bg_address_title.png differ diff --git a/themes/default/img/bg_bt.gif b/themes/default/img/bg_bt.gif new file mode 100644 index 000000000..202d52afb Binary files /dev/null and b/themes/default/img/bg_bt.gif differ diff --git a/themes/default/img/bg_bt_2.gif b/themes/default/img/bg_bt_2.gif new file mode 100644 index 000000000..7b477d7c6 Binary files /dev/null and b/themes/default/img/bg_bt_2.gif differ diff --git a/themes/default/img/bg_bt_compare.gif b/themes/default/img/bg_bt_compare.gif new file mode 100644 index 000000000..aa1fe98e9 Binary files /dev/null and b/themes/default/img/bg_bt_compare.gif differ diff --git a/themes/default/img/bg_bt_newsletter_ok.png b/themes/default/img/bg_bt_newsletter_ok.png new file mode 100644 index 000000000..1462a19d2 Binary files /dev/null and b/themes/default/img/bg_bt_newsletter_ok.png differ diff --git a/themes/default/img/bg_cart_voucher_submit.png b/themes/default/img/bg_cart_voucher_submit.png new file mode 100644 index 000000000..413dd4279 Binary files /dev/null and b/themes/default/img/bg_cart_voucher_submit.png differ diff --git a/themes/default/img/bg_discount_name.png b/themes/default/img/bg_discount_name.png new file mode 100644 index 000000000..4cade69d9 Binary files /dev/null and b/themes/default/img/bg_discount_name.png differ diff --git a/themes/default/img/bg_form_h3.png b/themes/default/img/bg_form_h3.png new file mode 100644 index 000000000..e8e3561f1 Binary files /dev/null and b/themes/default/img/bg_form_h3.png differ diff --git a/themes/default/img/bg_input.png b/themes/default/img/bg_input.png new file mode 100644 index 000000000..92db89ad4 Binary files /dev/null and b/themes/default/img/bg_input.png differ diff --git a/themes/default/img/bg_li_idTabs.png b/themes/default/img/bg_li_idTabs.png new file mode 100644 index 000000000..04aa8b832 Binary files /dev/null and b/themes/default/img/bg_li_idTabs.png differ diff --git a/themes/default/img/bg_maintenance.png b/themes/default/img/bg_maintenance.png new file mode 100644 index 000000000..f95c88e1d Binary files /dev/null and b/themes/default/img/bg_maintenance.png differ diff --git a/themes/default/img/bg_reduction.png b/themes/default/img/bg_reduction.png new file mode 100644 index 000000000..2a1cbd914 Binary files /dev/null and b/themes/default/img/bg_reduction.png differ diff --git a/themes/default/img/bg_search_input.png b/themes/default/img/bg_search_input.png new file mode 100644 index 000000000..92db89ad4 Binary files /dev/null and b/themes/default/img/bg_search_input.png differ diff --git a/themes/default/img/bg_search_submit.png b/themes/default/img/bg_search_submit.png new file mode 100644 index 000000000..4a44d039a Binary files /dev/null and b/themes/default/img/bg_search_submit.png differ diff --git a/themes/default/img/bg_table_th.png b/themes/default/img/bg_table_th.png new file mode 100644 index 000000000..9e83c9a42 Binary files /dev/null and b/themes/default/img/bg_table_th.png differ diff --git a/themes/default/img/block_bg.jpg b/themes/default/img/block_bg.jpg new file mode 100644 index 000000000..12d87c9d8 Binary files /dev/null and b/themes/default/img/block_bg.jpg differ diff --git a/themes/default/img/block_bg_myaccount.jpg b/themes/default/img/block_bg_myaccount.jpg new file mode 100644 index 000000000..5ec840993 Binary files /dev/null and b/themes/default/img/block_bg_myaccount.jpg differ diff --git a/themes/default/img/block_category_item_bg.jpg b/themes/default/img/block_category_item_bg.jpg new file mode 100644 index 000000000..cd1d8bfb6 Binary files /dev/null and b/themes/default/img/block_category_item_bg.jpg differ diff --git a/themes/default/img/block_exclusive_bg.jpg b/themes/default/img/block_exclusive_bg.jpg new file mode 100644 index 000000000..0c2ee9f6d Binary files /dev/null and b/themes/default/img/block_exclusive_bg.jpg differ diff --git a/themes/default/img/block_exclusive_footer.jpg b/themes/default/img/block_exclusive_footer.jpg new file mode 100644 index 000000000..d6891ddd5 Binary files /dev/null and b/themes/default/img/block_exclusive_footer.jpg differ diff --git a/themes/default/img/block_footer.gif b/themes/default/img/block_footer.gif new file mode 100644 index 000000000..47c8de4ff Binary files /dev/null and b/themes/default/img/block_footer.gif differ diff --git a/themes/default/img/block_footer.png b/themes/default/img/block_footer.png new file mode 100644 index 000000000..dc055ece1 Binary files /dev/null and b/themes/default/img/block_footer.png differ diff --git a/themes/default/img/block_footer_myaccount.jpg b/themes/default/img/block_footer_myaccount.jpg new file mode 100644 index 000000000..84df35ea9 Binary files /dev/null and b/themes/default/img/block_footer_myaccount.jpg differ diff --git a/themes/default/img/block_footer_page.gif b/themes/default/img/block_footer_page.gif new file mode 100644 index 000000000..f0e8c1aef Binary files /dev/null and b/themes/default/img/block_footer_page.gif differ diff --git a/themes/default/img/block_footer_page_footer.png b/themes/default/img/block_footer_page_footer.png new file mode 100644 index 000000000..349400770 Binary files /dev/null and b/themes/default/img/block_footer_page_footer.png differ diff --git a/themes/default/img/block_header.gif b/themes/default/img/block_header.gif new file mode 100644 index 000000000..98a450a5b Binary files /dev/null and b/themes/default/img/block_header.gif differ diff --git a/themes/default/img/block_header.png b/themes/default/img/block_header.png new file mode 100644 index 000000000..3dbdc2c56 Binary files /dev/null and b/themes/default/img/block_header.png differ diff --git a/themes/default/img/block_header_exclusive.gif b/themes/default/img/block_header_exclusive.gif new file mode 100644 index 000000000..da1bacdd4 Binary files /dev/null and b/themes/default/img/block_header_exclusive.gif differ diff --git a/themes/default/img/block_header_exclusive.png b/themes/default/img/block_header_exclusive.png new file mode 100644 index 000000000..c19ec41e7 Binary files /dev/null and b/themes/default/img/block_header_exclusive.png differ diff --git a/themes/default/img/block_header_exclusive_cart.gif b/themes/default/img/block_header_exclusive_cart.gif new file mode 100644 index 000000000..8315b8c31 Binary files /dev/null and b/themes/default/img/block_header_exclusive_cart.gif differ diff --git a/themes/default/img/block_header_exclusive_cart.png b/themes/default/img/block_header_exclusive_cart.png new file mode 100644 index 000000000..26add9ea2 Binary files /dev/null and b/themes/default/img/block_header_exclusive_cart.png differ diff --git a/themes/default/img/block_header_large.gif b/themes/default/img/block_header_large.gif new file mode 100644 index 000000000..cb40b7427 Binary files /dev/null and b/themes/default/img/block_header_large.gif differ diff --git a/themes/default/img/block_header_large.png b/themes/default/img/block_header_large.png new file mode 100644 index 000000000..b0d5701ea Binary files /dev/null and b/themes/default/img/block_header_large.png differ diff --git a/themes/default/img/block_header_myaccount.jpg b/themes/default/img/block_header_myaccount.jpg new file mode 100644 index 000000000..9af1a82a2 Binary files /dev/null and b/themes/default/img/block_header_myaccount.jpg differ diff --git a/themes/default/img/block_languages_top_p_bg.png b/themes/default/img/block_languages_top_p_bg.png new file mode 100644 index 000000000..8f6d152a5 Binary files /dev/null and b/themes/default/img/block_languages_top_p_bg.png differ diff --git a/themes/default/img/block_myaccount_header_large.gif b/themes/default/img/block_myaccount_header_large.gif new file mode 100644 index 000000000..298636eac Binary files /dev/null and b/themes/default/img/block_myaccount_header_large.gif differ diff --git a/themes/default/img/block_search_bg.jpg b/themes/default/img/block_search_bg.jpg new file mode 100644 index 000000000..b496335c7 Binary files /dev/null and b/themes/default/img/block_search_bg.jpg differ diff --git a/themes/default/img/bullet.gif b/themes/default/img/bullet.gif new file mode 100644 index 000000000..e8aaa9e10 Binary files /dev/null and b/themes/default/img/bullet.gif differ diff --git a/themes/default/img/bullet_alt.jpg b/themes/default/img/bullet_alt.jpg new file mode 100644 index 000000000..99fb424b1 Binary files /dev/null and b/themes/default/img/bullet_alt.jpg differ diff --git a/themes/default/img/bullet_myaccount.gif b/themes/default/img/bullet_myaccount.gif new file mode 100644 index 000000000..e7f9e25e4 Binary files /dev/null and b/themes/default/img/bullet_myaccount.gif differ diff --git a/themes/default/img/bullet_price.gif b/themes/default/img/bullet_price.gif new file mode 100644 index 000000000..b4a0ef353 Binary files /dev/null and b/themes/default/img/bullet_price.gif differ diff --git a/themes/default/img/button-account-large.gif b/themes/default/img/button-account-large.gif new file mode 100644 index 000000000..ffb311741 Binary files /dev/null and b/themes/default/img/button-account-large.gif differ diff --git a/themes/default/img/button-account-mini.gif b/themes/default/img/button-account-mini.gif new file mode 100644 index 000000000..97cc17325 Binary files /dev/null and b/themes/default/img/button-account-mini.gif differ diff --git a/themes/default/img/button-account-small.gif b/themes/default/img/button-account-small.gif new file mode 100644 index 000000000..aa6aa735f Binary files /dev/null and b/themes/default/img/button-account-small.gif differ diff --git a/themes/default/img/button-account.gif b/themes/default/img/button-account.gif new file mode 100644 index 000000000..8b4239486 Binary files /dev/null and b/themes/default/img/button-account.gif differ diff --git a/themes/default/img/button-large.gif b/themes/default/img/button-large.gif new file mode 100644 index 000000000..b1a2bcda0 Binary files /dev/null and b/themes/default/img/button-large.gif differ diff --git a/themes/default/img/button-large.png b/themes/default/img/button-large.png new file mode 100644 index 000000000..cdc6cb673 Binary files /dev/null and b/themes/default/img/button-large.png differ diff --git a/themes/default/img/button-large_exclusive.gif b/themes/default/img/button-large_exclusive.gif new file mode 100644 index 000000000..ba5cc309c Binary files /dev/null and b/themes/default/img/button-large_exclusive.gif differ diff --git a/themes/default/img/button-medium.gif b/themes/default/img/button-medium.gif new file mode 100644 index 000000000..cf429515f Binary files /dev/null and b/themes/default/img/button-medium.gif differ diff --git a/themes/default/img/button-medium.png b/themes/default/img/button-medium.png new file mode 100644 index 000000000..061df6085 Binary files /dev/null and b/themes/default/img/button-medium.png differ diff --git a/themes/default/img/button-medium_exclusive.gif b/themes/default/img/button-medium_exclusive.gif new file mode 100644 index 000000000..ebe67091f Binary files /dev/null and b/themes/default/img/button-medium_exclusive.gif differ diff --git a/themes/default/img/button-medium_exclusive.png b/themes/default/img/button-medium_exclusive.png new file mode 100644 index 000000000..372681e1b Binary files /dev/null and b/themes/default/img/button-medium_exclusive.png differ diff --git a/themes/default/img/button-mini.gif b/themes/default/img/button-mini.gif new file mode 100644 index 000000000..53cc95649 Binary files /dev/null and b/themes/default/img/button-mini.gif differ diff --git a/themes/default/img/button-mini.png b/themes/default/img/button-mini.png new file mode 100644 index 000000000..8035b7f2a Binary files /dev/null and b/themes/default/img/button-mini.png differ diff --git a/themes/default/img/button-mini_exclusive.gif b/themes/default/img/button-mini_exclusive.gif new file mode 100644 index 000000000..e7988886f Binary files /dev/null and b/themes/default/img/button-mini_exclusive.gif differ diff --git a/themes/default/img/button-small.gif b/themes/default/img/button-small.gif new file mode 100644 index 000000000..998f601ca Binary files /dev/null and b/themes/default/img/button-small.gif differ diff --git a/themes/default/img/button-small.png b/themes/default/img/button-small.png new file mode 100644 index 000000000..16f58d0bb Binary files /dev/null and b/themes/default/img/button-small.png differ diff --git a/themes/default/img/button-small_exclusive.gif b/themes/default/img/button-small_exclusive.gif new file mode 100644 index 000000000..c56c23361 Binary files /dev/null and b/themes/default/img/button-small_exclusive.gif differ diff --git a/themes/default/img/flag_new_bg.jpg b/themes/default/img/flag_new_bg.jpg new file mode 100644 index 000000000..7a5e68457 Binary files /dev/null and b/themes/default/img/flag_new_bg.jpg differ diff --git a/themes/default/img/footer_account.gif b/themes/default/img/footer_account.gif new file mode 100644 index 000000000..f8126d010 Binary files /dev/null and b/themes/default/img/footer_account.gif differ diff --git a/themes/default/img/form-input-bg.gif b/themes/default/img/form-input-bg.gif new file mode 100644 index 000000000..5aca1c724 Binary files /dev/null and b/themes/default/img/form-input-bg.gif differ diff --git a/themes/default/img/form_bg.jpg b/themes/default/img/form_bg.jpg new file mode 100644 index 000000000..98085963a Binary files /dev/null and b/themes/default/img/form_bg.jpg differ diff --git a/themes/default/img/header_account.gif b/themes/default/img/header_account.gif new file mode 100644 index 000000000..082590bfc Binary files /dev/null and b/themes/default/img/header_account.gif differ diff --git a/themes/default/img/icon/add.gif b/themes/default/img/icon/add.gif new file mode 100644 index 000000000..df08c0b6b Binary files /dev/null and b/themes/default/img/icon/add.gif differ diff --git a/themes/default/img/icon/addrbook.gif b/themes/default/img/icon/addrbook.gif new file mode 100644 index 000000000..bc332c92c Binary files /dev/null and b/themes/default/img/icon/addrbook.gif differ diff --git a/themes/default/img/icon/available.gif b/themes/default/img/icon/available.gif new file mode 100644 index 000000000..3f93c6a3f Binary files /dev/null and b/themes/default/img/icon/available.gif differ diff --git a/themes/default/img/icon/bg_header_user_info_a.gif b/themes/default/img/icon/bg_header_user_info_a.gif new file mode 100644 index 000000000..5ded482f1 Binary files /dev/null and b/themes/default/img/icon/bg_header_user_info_a.gif differ diff --git a/themes/default/img/icon/cancel.gif b/themes/default/img/icon/cancel.gif new file mode 100644 index 000000000..fc4c2ce83 Binary files /dev/null and b/themes/default/img/icon/cancel.gif differ diff --git a/themes/default/img/icon/cancel_11x13.gif b/themes/default/img/icon/cancel_11x13.gif new file mode 100644 index 000000000..12af567aa Binary files /dev/null and b/themes/default/img/icon/cancel_11x13.gif differ diff --git a/themes/default/img/icon/cancel_16x18.gif b/themes/default/img/icon/cancel_16x18.gif new file mode 100644 index 000000000..64a59b287 Binary files /dev/null and b/themes/default/img/icon/cancel_16x18.gif differ diff --git a/themes/default/img/icon/cart.gif b/themes/default/img/icon/cart.gif new file mode 100644 index 000000000..d9b4976bf Binary files /dev/null and b/themes/default/img/icon/cart.gif differ diff --git a/themes/default/img/icon/cible.gif b/themes/default/img/icon/cible.gif new file mode 100644 index 000000000..d50ec7ccc Binary files /dev/null and b/themes/default/img/icon/cible.gif differ diff --git a/themes/default/img/icon/contact.gif b/themes/default/img/icon/contact.gif new file mode 100644 index 000000000..72f1de6e6 Binary files /dev/null and b/themes/default/img/icon/contact.gif differ diff --git a/themes/default/img/icon/delete.gif b/themes/default/img/icon/delete.gif new file mode 100644 index 000000000..6d186d193 Binary files /dev/null and b/themes/default/img/icon/delete.gif differ diff --git a/themes/default/img/icon/download_product.gif b/themes/default/img/icon/download_product.gif new file mode 100644 index 000000000..f25a6121f Binary files /dev/null and b/themes/default/img/icon/download_product.gif differ diff --git a/themes/default/img/icon/error.gif b/themes/default/img/icon/error.gif new file mode 100644 index 000000000..816705815 Binary files /dev/null and b/themes/default/img/icon/error.gif differ diff --git a/themes/default/img/icon/gift.gif b/themes/default/img/icon/gift.gif new file mode 100644 index 000000000..d1908313f Binary files /dev/null and b/themes/default/img/icon/gift.gif differ diff --git a/themes/default/img/icon/home.gif b/themes/default/img/icon/home.gif new file mode 100644 index 000000000..082621095 Binary files /dev/null and b/themes/default/img/icon/home.gif differ diff --git a/themes/default/img/icon/index.php b/themes/default/img/icon/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default/img/icon/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; \ No newline at end of file diff --git a/themes/default/img/icon/info.png b/themes/default/img/icon/info.png new file mode 100644 index 000000000..733ab319f Binary files /dev/null and b/themes/default/img/icon/info.png differ diff --git a/themes/default/img/icon/infos.gif b/themes/default/img/icon/infos.gif new file mode 100644 index 000000000..12cd1aef9 Binary files /dev/null and b/themes/default/img/icon/infos.gif differ diff --git a/themes/default/img/icon/less.gif b/themes/default/img/icon/less.gif new file mode 100644 index 000000000..52928a267 Binary files /dev/null and b/themes/default/img/icon/less.gif differ diff --git a/themes/default/img/icon/login.gif b/themes/default/img/icon/login.gif new file mode 100644 index 000000000..5ded482f1 Binary files /dev/null and b/themes/default/img/icon/login.gif differ diff --git a/themes/default/img/icon/logo.gif b/themes/default/img/icon/logo.gif new file mode 100644 index 000000000..15471afd4 Binary files /dev/null and b/themes/default/img/icon/logo.gif differ diff --git a/themes/default/img/icon/logout.png b/themes/default/img/icon/logout.png new file mode 100644 index 000000000..9141841c7 Binary files /dev/null and b/themes/default/img/icon/logout.png differ diff --git a/themes/default/img/icon/magnify.gif b/themes/default/img/icon/magnify.gif new file mode 100644 index 000000000..7bf707784 Binary files /dev/null and b/themes/default/img/icon/magnify.gif differ diff --git a/themes/default/img/icon/more.gif b/themes/default/img/icon/more.gif new file mode 100644 index 000000000..072e49dfd Binary files /dev/null and b/themes/default/img/icon/more.gif differ diff --git a/themes/default/img/icon/my-account.gif b/themes/default/img/icon/my-account.gif new file mode 100644 index 000000000..537bb5994 Binary files /dev/null and b/themes/default/img/icon/my-account.gif differ diff --git a/themes/default/img/icon/newsletter.png b/themes/default/img/icon/newsletter.png new file mode 100644 index 000000000..2901122b8 Binary files /dev/null and b/themes/default/img/icon/newsletter.png differ diff --git a/themes/default/img/icon/next.gif b/themes/default/img/icon/next.gif new file mode 100644 index 000000000..a4e084641 Binary files /dev/null and b/themes/default/img/icon/next.gif differ diff --git a/themes/default/img/icon/no.gif b/themes/default/img/icon/no.gif new file mode 100644 index 000000000..3fdeb6365 Binary files /dev/null and b/themes/default/img/icon/no.gif differ diff --git a/themes/default/img/icon/order.gif b/themes/default/img/icon/order.gif new file mode 100644 index 000000000..42bc90940 Binary files /dev/null and b/themes/default/img/icon/order.gif differ diff --git a/themes/default/img/icon/pdf.gif b/themes/default/img/icon/pdf.gif new file mode 100644 index 000000000..d5d9488f3 Binary files /dev/null and b/themes/default/img/icon/pdf.gif differ diff --git a/themes/default/img/icon/pict_add_cart.png b/themes/default/img/icon/pict_add_cart.png new file mode 100644 index 000000000..10f70f8ba Binary files /dev/null and b/themes/default/img/icon/pict_add_cart.png differ diff --git a/themes/default/img/icon/pict_add_wishlist.png b/themes/default/img/icon/pict_add_wishlist.png new file mode 100644 index 000000000..924368eac Binary files /dev/null and b/themes/default/img/icon/pict_add_wishlist.png differ diff --git a/themes/default/img/icon/picto_fb.png b/themes/default/img/icon/picto_fb.png new file mode 100644 index 000000000..30028f594 Binary files /dev/null and b/themes/default/img/icon/picto_fb.png differ diff --git a/themes/default/img/icon/previous.gif b/themes/default/img/icon/previous.gif new file mode 100644 index 000000000..aa59060c9 Binary files /dev/null and b/themes/default/img/icon/previous.gif differ diff --git a/themes/default/img/icon/print.gif b/themes/default/img/icon/print.gif new file mode 100644 index 000000000..20c449b17 Binary files /dev/null and b/themes/default/img/icon/print.gif differ diff --git a/themes/default/img/icon/quantity_down.gif b/themes/default/img/icon/quantity_down.gif new file mode 100644 index 000000000..7a827069a Binary files /dev/null and b/themes/default/img/icon/quantity_down.gif differ diff --git a/themes/default/img/icon/quantity_down_off.gif b/themes/default/img/icon/quantity_down_off.gif new file mode 100644 index 000000000..fe6de305e Binary files /dev/null and b/themes/default/img/icon/quantity_down_off.gif differ diff --git a/themes/default/img/icon/quantity_up.gif b/themes/default/img/icon/quantity_up.gif new file mode 100644 index 000000000..3c2dcce60 Binary files /dev/null and b/themes/default/img/icon/quantity_up.gif differ diff --git a/themes/default/img/icon/recyclable.gif b/themes/default/img/icon/recyclable.gif new file mode 100644 index 000000000..1d5dcd2fd Binary files /dev/null and b/themes/default/img/icon/recyclable.gif differ diff --git a/themes/default/img/icon/return.gif b/themes/default/img/icon/return.gif new file mode 100644 index 000000000..84cb65339 Binary files /dev/null and b/themes/default/img/icon/return.gif differ diff --git a/themes/default/img/icon/search.gif b/themes/default/img/icon/search.gif new file mode 100644 index 000000000..e32a989f1 Binary files /dev/null and b/themes/default/img/icon/search.gif differ diff --git a/themes/default/img/icon/send_friend.gif b/themes/default/img/icon/send_friend.gif new file mode 100644 index 000000000..96ffb0783 Binary files /dev/null and b/themes/default/img/icon/send_friend.gif differ diff --git a/themes/default/img/icon/serial_scroll_left.gif b/themes/default/img/icon/serial_scroll_left.gif new file mode 100644 index 000000000..c3cc9e2d9 Binary files /dev/null and b/themes/default/img/icon/serial_scroll_left.gif differ diff --git a/themes/default/img/icon/serial_scroll_right.gif b/themes/default/img/icon/serial_scroll_right.gif new file mode 100644 index 000000000..653f33778 Binary files /dev/null and b/themes/default/img/icon/serial_scroll_right.gif differ diff --git a/themes/default/img/icon/sitemap.gif b/themes/default/img/icon/sitemap.gif new file mode 100644 index 000000000..594afa56e Binary files /dev/null and b/themes/default/img/icon/sitemap.gif differ diff --git a/themes/default/img/icon/slip.gif b/themes/default/img/icon/slip.gif new file mode 100644 index 000000000..13419123c Binary files /dev/null and b/themes/default/img/icon/slip.gif differ diff --git a/themes/default/img/icon/sort_asc.gif b/themes/default/img/icon/sort_asc.gif new file mode 100644 index 000000000..67345103c Binary files /dev/null and b/themes/default/img/icon/sort_asc.gif differ diff --git a/themes/default/img/icon/sort_asc_disabled.gif b/themes/default/img/icon/sort_asc_disabled.gif new file mode 100644 index 000000000..c86a9a635 Binary files /dev/null and b/themes/default/img/icon/sort_asc_disabled.gif differ diff --git a/themes/default/img/icon/sort_asc_white.gif b/themes/default/img/icon/sort_asc_white.gif new file mode 100644 index 000000000..9768c8638 Binary files /dev/null and b/themes/default/img/icon/sort_asc_white.gif differ diff --git a/themes/default/img/icon/sort_asc_white.png b/themes/default/img/icon/sort_asc_white.png new file mode 100644 index 000000000..d73f00a21 Binary files /dev/null and b/themes/default/img/icon/sort_asc_white.png differ diff --git a/themes/default/img/icon/sort_desc.gif b/themes/default/img/icon/sort_desc.gif new file mode 100644 index 000000000..f806d8534 Binary files /dev/null and b/themes/default/img/icon/sort_desc.gif differ diff --git a/themes/default/img/icon/sort_desc_disabled.gif b/themes/default/img/icon/sort_desc_disabled.gif new file mode 100644 index 000000000..6ddb4ab14 Binary files /dev/null and b/themes/default/img/icon/sort_desc_disabled.gif differ diff --git a/themes/default/img/icon/sort_desc_white.gif b/themes/default/img/icon/sort_desc_white.gif new file mode 100644 index 000000000..8c00b93e4 Binary files /dev/null and b/themes/default/img/icon/sort_desc_white.gif differ diff --git a/themes/default/img/icon/sort_desc_white.png b/themes/default/img/icon/sort_desc_white.png new file mode 100644 index 000000000..12b1a2a95 Binary files /dev/null and b/themes/default/img/icon/sort_desc_white.png differ diff --git a/themes/default/img/icon/star.gif b/themes/default/img/icon/star.gif new file mode 100644 index 000000000..6d647b432 Binary files /dev/null and b/themes/default/img/icon/star.gif differ diff --git a/themes/default/img/icon/unavailable.gif b/themes/default/img/icon/unavailable.gif new file mode 100644 index 000000000..4356d4fd7 Binary files /dev/null and b/themes/default/img/icon/unavailable.gif differ diff --git a/themes/default/img/icon/up.gif b/themes/default/img/icon/up.gif new file mode 100644 index 000000000..67345103c Binary files /dev/null and b/themes/default/img/icon/up.gif differ diff --git a/themes/default/img/icon/update.gif b/themes/default/img/icon/update.gif new file mode 100644 index 000000000..a2c05ee2c Binary files /dev/null and b/themes/default/img/icon/update.gif differ diff --git a/themes/default/img/icon/userinfo.gif b/themes/default/img/icon/userinfo.gif new file mode 100644 index 000000000..646ba2730 Binary files /dev/null and b/themes/default/img/icon/userinfo.gif differ diff --git a/themes/default/img/icon/voucher.gif b/themes/default/img/icon/voucher.gif new file mode 100644 index 000000000..e8ce3b50e Binary files /dev/null and b/themes/default/img/icon/voucher.gif differ diff --git a/themes/default/img/icon/yes.gif b/themes/default/img/icon/yes.gif new file mode 100644 index 000000000..7902938e9 Binary files /dev/null and b/themes/default/img/icon/yes.gif differ diff --git a/themes/default/img/icon/zoom.png b/themes/default/img/icon/zoom.png new file mode 100644 index 000000000..ca1631968 Binary files /dev/null and b/themes/default/img/icon/zoom.png differ diff --git a/themes/default/img/index.php b/themes/default/img/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default/img/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; \ No newline at end of file diff --git a/themes/default/img/jquery/index.php b/themes/default/img/jquery/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default/img/jquery/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; \ No newline at end of file diff --git a/themes/default/img/jquery/macFFBgHack.png b/themes/default/img/jquery/macFFBgHack.png new file mode 100644 index 000000000..c6473b324 Binary files /dev/null and b/themes/default/img/jquery/macFFBgHack.png differ diff --git a/themes/default/img/logo_paiement_mastercard.jpg b/themes/default/img/logo_paiement_mastercard.jpg new file mode 100644 index 000000000..6022d872f Binary files /dev/null and b/themes/default/img/logo_paiement_mastercard.jpg differ diff --git a/themes/default/img/logo_paiement_paypal.jpg b/themes/default/img/logo_paiement_paypal.jpg new file mode 100644 index 000000000..c94c46c0d Binary files /dev/null and b/themes/default/img/logo_paiement_paypal.jpg differ diff --git a/themes/default/img/logo_paiement_visa.jpg b/themes/default/img/logo_paiement_visa.jpg new file mode 100644 index 000000000..be8cc9ed2 Binary files /dev/null and b/themes/default/img/logo_paiement_visa.jpg differ diff --git a/themes/default/img/nav-logout.gif b/themes/default/img/nav-logout.gif new file mode 100644 index 000000000..1d7775de6 Binary files /dev/null and b/themes/default/img/nav-logout.gif differ diff --git a/themes/default/img/onsale_en.gif b/themes/default/img/onsale_en.gif new file mode 100644 index 000000000..48bfa342d Binary files /dev/null and b/themes/default/img/onsale_en.gif differ diff --git a/themes/default/img/onsale_es.gif b/themes/default/img/onsale_es.gif new file mode 100644 index 000000000..787f007f2 Binary files /dev/null and b/themes/default/img/onsale_es.gif differ diff --git a/themes/default/img/onsale_fr.gif b/themes/default/img/onsale_fr.gif new file mode 100644 index 000000000..38cd74237 Binary files /dev/null and b/themes/default/img/onsale_fr.gif differ diff --git a/themes/default/img/pagination-bg-current.gif b/themes/default/img/pagination-bg-current.gif new file mode 100644 index 000000000..210590a20 Binary files /dev/null and b/themes/default/img/pagination-bg-current.gif differ diff --git a/themes/default/img/pagination-next-border.gif b/themes/default/img/pagination-next-border.gif new file mode 100644 index 000000000..275f9ad30 Binary files /dev/null and b/themes/default/img/pagination-next-border.gif differ diff --git a/themes/default/img/pagination-prev-border.gif b/themes/default/img/pagination-prev-border.gif new file mode 100644 index 000000000..903d7afa4 Binary files /dev/null and b/themes/default/img/pagination-prev-border.gif differ diff --git a/themes/default/img/pagination-prevnext-bg.gif b/themes/default/img/pagination-prevnext-bg.gif new file mode 100644 index 000000000..d14448458 Binary files /dev/null and b/themes/default/img/pagination-prevnext-bg.gif differ diff --git a/themes/default/img/pagination_bg.gif b/themes/default/img/pagination_bg.gif new file mode 100644 index 000000000..824748ea4 Binary files /dev/null and b/themes/default/img/pagination_bg.gif differ diff --git a/themes/default/img/pict_cart_block_h4.png b/themes/default/img/pict_cart_block_h4.png new file mode 100644 index 000000000..333b9e8c7 Binary files /dev/null and b/themes/default/img/pict_cart_block_h4.png differ diff --git a/themes/default/img/product-buy-bg.gif b/themes/default/img/product-buy-bg.gif new file mode 100644 index 000000000..626fb3f63 Binary files /dev/null and b/themes/default/img/product-buy-bg.gif differ diff --git a/themes/default/img/product-short-desc-bg.gif b/themes/default/img/product-short-desc-bg.gif new file mode 100644 index 000000000..dda67ed0a Binary files /dev/null and b/themes/default/img/product-short-desc-bg.gif differ diff --git a/themes/default/img/rss.gif b/themes/default/img/rss.gif new file mode 100644 index 000000000..12c1d33b5 Binary files /dev/null and b/themes/default/img/rss.gif differ diff --git a/themes/default/img/sitemap-horizontal.gif b/themes/default/img/sitemap-horizontal.gif new file mode 100644 index 000000000..2cea2f772 Binary files /dev/null and b/themes/default/img/sitemap-horizontal.gif differ diff --git a/themes/default/img/sitemap-horizontal.png b/themes/default/img/sitemap-horizontal.png new file mode 100644 index 000000000..8810d5488 Binary files /dev/null and b/themes/default/img/sitemap-horizontal.png differ diff --git a/themes/default/img/sitemap-last.gif b/themes/default/img/sitemap-last.gif new file mode 100644 index 000000000..ee3a5ef3f Binary files /dev/null and b/themes/default/img/sitemap-last.gif differ diff --git a/themes/default/img/sitemap-top.gif b/themes/default/img/sitemap-top.gif new file mode 100644 index 000000000..98a27e4a0 Binary files /dev/null and b/themes/default/img/sitemap-top.gif differ diff --git a/themes/default/img/sitemap_long.gif b/themes/default/img/sitemap_long.gif new file mode 100644 index 000000000..61e090b6a Binary files /dev/null and b/themes/default/img/sitemap_long.gif differ diff --git a/themes/default/img/step_current.gif b/themes/default/img/step_current.gif new file mode 100644 index 000000000..e3e38c4aa Binary files /dev/null and b/themes/default/img/step_current.gif differ diff --git a/themes/default/img/step_current_span.gif b/themes/default/img/step_current_span.gif new file mode 100644 index 000000000..f6899864c Binary files /dev/null and b/themes/default/img/step_current_span.gif differ diff --git a/themes/default/img/step_done.gif b/themes/default/img/step_done.gif new file mode 100644 index 000000000..37d759dbc Binary files /dev/null and b/themes/default/img/step_done.gif differ diff --git a/themes/default/img/step_end.gif b/themes/default/img/step_end.gif new file mode 100644 index 000000000..25aa3307e Binary files /dev/null and b/themes/default/img/step_end.gif differ diff --git a/themes/default/img/step_end_current.gif b/themes/default/img/step_end_current.gif new file mode 100644 index 000000000..37d759dbc Binary files /dev/null and b/themes/default/img/step_end_current.gif differ diff --git a/themes/default/img/step_standard.gif b/themes/default/img/step_standard.gif new file mode 100644 index 000000000..25aa3307e Binary files /dev/null and b/themes/default/img/step_standard.gif differ diff --git a/themes/default/img/step_start.gif b/themes/default/img/step_start.gif new file mode 100644 index 000000000..e595e199d Binary files /dev/null and b/themes/default/img/step_start.gif differ diff --git a/themes/default/img/tab_bg.jpg b/themes/default/img/tab_bg.jpg new file mode 100644 index 000000000..79f1e23ae Binary files /dev/null and b/themes/default/img/tab_bg.jpg differ diff --git a/themes/default/img/tab_bg_selected.jpg b/themes/default/img/tab_bg_selected.jpg new file mode 100644 index 000000000..18610f21a Binary files /dev/null and b/themes/default/img/tab_bg_selected.jpg differ diff --git a/themes/default/img/tab_bg_selected_short.jpg b/themes/default/img/tab_bg_selected_short.jpg new file mode 100644 index 000000000..914fe292b Binary files /dev/null and b/themes/default/img/tab_bg_selected_short.jpg differ diff --git a/themes/default/img/tab_bg_short.jpg b/themes/default/img/tab_bg_short.jpg new file mode 100644 index 000000000..b15dcddd3 Binary files /dev/null and b/themes/default/img/tab_bg_short.jpg differ diff --git a/themes/default/img/table_footer.gif b/themes/default/img/table_footer.gif new file mode 100644 index 000000000..01f1e34f4 Binary files /dev/null and b/themes/default/img/table_footer.gif differ diff --git a/themes/default/img/table_header.gif b/themes/default/img/table_header.gif new file mode 100644 index 000000000..0c25ee4d7 Binary files /dev/null and b/themes/default/img/table_header.gif differ diff --git a/themes/default/img/thumbs_left.gif b/themes/default/img/thumbs_left.gif new file mode 100644 index 000000000..ceb512b7e Binary files /dev/null and b/themes/default/img/thumbs_left.gif differ diff --git a/themes/default/img/thumbs_right.gif b/themes/default/img/thumbs_right.gif new file mode 100644 index 000000000..2e2c4822d Binary files /dev/null and b/themes/default/img/thumbs_right.gif differ diff --git a/themes/default/img/title_bg.gif b/themes/default/img/title_bg.gif new file mode 100644 index 000000000..44fd38e9a Binary files /dev/null and b/themes/default/img/title_bg.gif differ diff --git a/themes/default/img/title_bg.png b/themes/default/img/title_bg.png new file mode 100644 index 000000000..628588424 Binary files /dev/null and b/themes/default/img/title_bg.png differ diff --git a/themes/default/img/title_bg_large.gif b/themes/default/img/title_bg_large.gif new file mode 100644 index 000000000..d06f6e6ba Binary files /dev/null and b/themes/default/img/title_bg_large.gif differ diff --git a/themes/default/index.php b/themes/default/index.php new file mode 100644 index 000000000..b43480611 --- /dev/null +++ b/themes/default/index.php @@ -0,0 +1,36 @@ + +* @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 +*/ + +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; +?> \ No newline at end of file diff --git a/themes/default/index.tpl b/themes/default/index.tpl new file mode 100644 index 000000000..2e6b90af2 --- /dev/null +++ b/themes/default/index.tpl @@ -0,0 +1,26 @@ +{* +* 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 +* @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 +*} + +{$HOOK_HOME} diff --git a/themes/default/js/cms.js b/themes/default/js/cms.js new file mode 100644 index 000000000..89636955b --- /dev/null +++ b/themes/default/js/cms.js @@ -0,0 +1,48 @@ +/* +* 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 +* @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 +*/ + +function submitPublishCMS(url, redirect, token) +{ + var id_cms = $('#admin-action-cms-id').val(); + + $.ajaxSetup({async: false}); + $.post(url+'/index.php', { + action: 'PublishCMS', + id_cms: id_cms, + status: 1, + redirect: redirect, + ajax: 1, + tab: 'AdminCmsContent', + token: token + }, + function(data) + { + if (data.indexOf('error') === -1) + document.location.href = data; + } + ); + + return true; +} \ No newline at end of file diff --git a/themes/default/js/contact-form.js b/themes/default/js/contact-form.js new file mode 100644 index 000000000..d98305bd7 --- /dev/null +++ b/themes/default/js/contact-form.js @@ -0,0 +1,37 @@ +/* +* 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 +* @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 +*/ + +$(document).ready(function () { + $('select[name=id_order]').change(function () { + showProductSelect($(this).attr('value')); + }); + showProductSelect($('select[name=id_order]').attr('value')); +}); + +function showProductSelect(id_order) +{ + $('.product_select').hide().attr('disabled', 'disabled'); + $('#'+id_order+'_order_products').show().removeAttr('disabled'); +} \ No newline at end of file diff --git a/themes/default/js/history.js b/themes/default/js/history.js new file mode 100644 index 000000000..f5bcc0e7e --- /dev/null +++ b/themes/default/js/history.js @@ -0,0 +1,126 @@ +/* +* 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 +* @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 +*/ + +//show the order-details with ajax +function showOrder(mode, var_content, file) +{ + $.get( + file, + ((mode === 1) ? {'id_order': var_content, 'ajax': true} : {'id_order_return': var_content, 'ajax': true}), + function(data) + { + $('#block-order-detail').fadeOut('slow', function() + { + $(this).html(data); + /* if return is allowed*/ + if ($('#order-detail-content .order_cb').length > 0) + { + //return slip : check or uncheck every checkboxes + $('#order-detail-content th input[type=checkbox]').click(function() + { + $('#order-detail-content td input[type=checkbox]').each(function() + { + this.checked = $('#order-detail-content th input[type=checkbox]').is(':checked'); + updateOrderLineDisplay(this); + }); + }); + //return slip : enable or disable 'global' quantity editing + $('#order-detail-content td input[type=checkbox]').click(function() + { + updateOrderLineDisplay(this); + }); + //return slip : limit quantities + $('#order-detail-content td .order_qte_input').keyup(function() + { + var maxQuantity = parseInt($(this).parent().find('.order_qte_span').text()); + var quantity = parseInt($(this).val()); + if (isNaN($(this).val()) && $(this).val() !== '') + { + $(this).val(maxQuantity); + } + else + { + if (quantity > maxQuantity) + $(this).val(maxQuantity); + else if (quantity < 1) + $(this).val(1); + } + }); + } + //catch the submit event of sendOrderMessage form + $('form#sendOrderMessage').submit(function(){ + return sendOrderMessage(); + }); + $(this).fadeIn('slow', function() { + $.scrollTo(this, 1200); + resizeAddressesBox(); + }); + }); + }); +} + +function updateOrderLineDisplay(domCheckbox) +{ + var lineQuantitySpan = $(domCheckbox).parent().parent().find('.order_qte_span'); + var lineQuantityInput = $(domCheckbox).parent().parent().find('.order_qte_input'); + if($(domCheckbox).is(':checked')) + { + lineQuantitySpan.hide(); + lineQuantityInput.show(); + } + else + { + lineQuantityInput.hide(); + lineQuantityInput.val(lineQuantitySpan.text()); + lineQuantitySpan.show(); + } +} + +//send a message in relation to the order with ajax +function sendOrderMessage() +{ + paramString = "ajax=true"; + $('#sendOrderMessage').find('input, textarea, select').each(function(){ + paramString += '&' + $(this).attr('name') + '=' + encodeURIComponent($(this).val()); + }); + + $.ajax({ + type: "POST", + headers: { "cache-control": "no-cache" }, + url: $('#sendOrderMessage').attr("action") + '?rand=' + new Date().getTime(), + data: paramString, + success: function (msg){ + $('#block-order-detail').fadeOut('slow', function() { + $(this).html(msg); + //catch the submit event of sendOrderMessage form + $('#sendOrderMessage').submit(function(){ + return sendOrderMessage(); + }); + $(this).fadeIn('slow'); + }); + } + }); + return false; +} diff --git a/themes/default/js/index.php b/themes/default/js/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/js/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/js/modules/blocklayered/blocklayered.js b/themes/default/js/modules/blocklayered/blocklayered.js new file mode 100644 index 000000000..9f556a5a8 --- /dev/null +++ b/themes/default/js/modules/blocklayered/blocklayered.js @@ -0,0 +1,618 @@ +/* +* 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 +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registred Trademark & Property of PrestaShop SA +*/ + +var ajaxQueries = new Array(); +var ajaxLoaderOn = 0; +var sliderList = new Array(); +var slidersInit = false; + +$(document).ready(function() +{ + cancelFilter(); + openCloseFilter(); + + // 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) + $('').attr('type', 'hidden').attr('name', $(this).attr('name')).val($(this).attr('rel')).appendTo('#layered_form'); + else + $('input[name='+$(this).attr('name')+'][type=hidden]').remove(); + reloadContent(); + }); + + // Click on checkbox + $('#layered_form input[type=checkbox], #layered_form input[type=radio], #layered_form select').live('change', function() + { + reloadContent(); + }); + + // 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')); + + // IE Hack, setTimeout do not acept the third parameter + var reference = this; + + $(this).attr('timeout_id', window.setTimeout(function(it) { + if (!$(it).attr('id')) + it = reference; + + var filter = $(it).attr('id').replace(/^layered_(.+)_range_.*$/, '$1'); + + var value_min = parseInt($('#layered_'+filter+'_range_min').val()); + if (isNaN(value_min)) + value_min = 0; + $('#layered_'+filter+'_range_min').val(value_min); + + var value_max = parseInt($('#layered_'+filter+'_range_max').val()); + if (isNaN(value_max)) + value_max = 0; + $('#layered_'+filter+'_range_max').val(value_max); + + if (value_max < value_min) { + $('#layered_'+filter+'_range_max').val($(it).val()); + $('#layered_'+filter+'_range_min').val($(it).val()); + } + reloadContent(); + }, 500, this)); + }); + + $('#layered_block_left .radio').live('click', function() { + var name = $(this).attr('name'); + $.each($(this).parent().parent().find('input[type=button]'), function (it, item) { + if ($(item).hasClass('on') && $(item).attr('name') != name) { + $(item).click(); + } + }); + return true; + }); + + // Click on label + $('#layered_block_left label a').live({ + click: function() { + var disable = $(this).parent().parent().find('input').attr('disabled'); + if (disable == '' + || typeof(disable) == 'undefined' + || disable == false) + { + $(this).parent().parent().find('input').click(); + reloadContent(); + } + return false; + } + }); + + 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) + { + layered_hidden_list[$(this).parent().find('ul').attr('id')] = true; + } + else + { + layered_hidden_list[$(this).parent().find('ul').attr('id')] = false; + } + hideFilterValueAction(this); + }); + $('.hide-action').each(function() { + hideFilterValueAction(this); + }); + + // To be sure there is no other events attached to the selectPrductSort, change the ID + var id = 1; + while ($('#selectPrductSort').length) { // Because ids are duplicated + // Unbind event change on #selectPrductSort + $('#selectPrductSort').unbind('change'); + $('#selectPrductSort').attr('onchange', ''); + $('#selectPrductSort').addClass('selectProductSort'); + $('#selectPrductSort').attr('id', 'selectPrductSort'+id); + $('label[for=selectPrductSort]').attr('for', 'selectPrductSort'+id); + id++; + } + + // Since 1.5, event is add to .selectProductSort and not to #selectPrductSort + setTimeout(function() { + $('.selectProductSort').unbind('change'); + }, 100); + + $('.selectProductSort').live('change', function(event) { + $('.selectProductSort').val($(this).val()); + reloadContent(); + }); + + $('.js-nb_item').unbind('change').attr('onchange', ''); + + $('.js-nb_item').live('change', function(event) { + $('.js-nb_item').val($(this).val()); + reloadContent(); + }); + + paginationButton(); + initLayered(); +}); + +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) + { + $(it).parent().find('.hiddable').hide(); + $(it).parent().find('.hide-action.less').hide(); + $(it).parent().find('.hide-action.more').show(); + } + else + { + $(it).parent().find('.hiddable').show(); + $(it).parent().find('.hide-action.less').show(); + $(it).parent().find('.hide-action.more').hide(); + } +} + +function addSlider(type, data, unit, format) +{ + sliderList.push({ + type: type, + data: data, + unit: unit, + format: format + }); +} + +function initSliders() +{ + $(sliderList).each(function(i, slider){ + $('#layered_'+slider['type']+'_slider').slider(slider['data']); + + var from = ''; + var to = ''; + switch (slider['format']) + { + case 1: + case 2: + case 3: + case 4: + from = blocklayeredFormatCurrency($('#layered_'+slider['type']+'_slider').slider('values', 0), slider['format'], slider['unit']); + to = blocklayeredFormatCurrency($('#layered_'+slider['type']+'_slider').slider('values', 1), slider['format'], slider['unit']); + break; + case 5: + from = $('#layered_'+slider['type']+'_slider').slider('values', 0)+slider['unit'] + to = $('#layered_'+slider['type']+'_slider').slider('values', 1)+slider['unit']; + break; + } + $('#layered_'+slider['type']+'_range').html(from+' - '+to); + }); +} + +function initLayered() +{ + initSliders(); + initLocationChange(); + updateProductUrl(); + if (window.location.href.split('#').length == 2 && window.location.href.split('#')[1] != '') + { + var params = window.location.href.split('#')[1]; + reloadContent('&selected_filters='+params); + } +} + +function paginationButton() { + $('div.pagination a').not(':hidden').each(function () { + if ($(this).attr('href').search('&p=') == -1) { + var page = 1; + } + else { + var page = $(this).attr('href').replace(/^.*&p=(\d+).*$/, '$1'); + } + var location = window.location.href.replace(/#.*$/, ''); + $(this).attr('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; + else if ($(this).hasClass('pagination_previous')) + nbPage = parseInt($('div.pagination li.current').children().html())- 1; + + $(this).children().click(function () { + if (nbPage == 0) + p = parseInt($(this).html()) + parseInt(nbPage); + else + p = nbPage; + p = '&p='+ p; + reloadContent(p); + nbPage = 0; + return false; + }); + }); +} + +function cancelFilter() +{ + $('#enabled_filters a').live('click', function(e) + { + if ($(this).attr('rel').search(/_slider$/) > 0) + { + if ($('#'+$(this).attr('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' )]}); + } + else if($('#'+$(this).attr('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')); + } + } + else + { + if ($('option#'+$(this).attr('rel')).length) + { + $('#'+$(this).attr('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(); + } + } + reloadContent(); + e.preventDefault(); + }); +} + +function openCloseFilter() +{ + $('#layered_form span.layered_close a').live('click', function(e) + { + if ($(this).html() == '<') + { + $('#'+$(this).attr('rel')).show(); + $(this).html('v'); + $(this).parent().removeClass('closed'); + } + else + { + $('#'+$(this).attr('rel')).hide(); + $(this).html('<'); + $(this).parent().addClass('closed'); + } + + e.preventDefault(); + }); +} + +function stopAjaxQuery() { + if (typeof(ajaxQueries) == 'undefined') + ajaxQueries = new Array(); + for(i = 0; i < ajaxQueries.length; i++) + ajaxQueries[i].abort(); + ajaxQueries = new Array(); +} + +function reloadContent(params_plus) +{ + stopAjaxQuery(); + + if (!ajaxLoaderOn) + { + $('#product_list').prepend($('#layered_ajax_loader').html()); + $('#product_list').css('opacity', '0.7'); + ajaxLoaderOn = 1; + } + + data = $('#layered_form').serialize(); + $('.layered_slider').each( function () { + 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; + }); + + $(['price', 'weight']).each(function(it, sliderType) + { + if ($('#layered_'+sliderType+'_range_min').length) + { + data += '&layered_'+sliderType+'_slider='+$('#layered_'+sliderType+'_range_min').val()+'_'+$('#layered_'+sliderType+'_range_max').val(); + } + }); + + $('#layered_form .select option').each( function () { + if($(this).attr('id') && $(this).parent().val() == $(this).val()) + { + data += '&'+$(this).attr('id') + '=' + $(this).val(); + } + }); + + if ($('.selectProductSort').length && $('.selectProductSort').val()) + { + if ($('.selectProductSort').val().search(/orderby=/) > 0) + { + // Old ordering working + var splitData = [ + $('.selectProductSort').val().match(/orderby=(\w*)/)[1], + $('.selectProductSort').val().match(/orderway=(\w*)/)[1] + ]; + } + else + { + // New working for default theme 1.4 and theme 1.5 + var splitData = $('.selectProductSort').val().split(':'); + } + data += '&orderby='+splitData[0]+'&orderway='+splitData[1]; + } + if ($('.js-nb_item').length) + { + data += '&n='+$('.js-nb_item').val(); + } + + var slideUp = true; + if (params_plus == undefined) + { + params_plus = ''; + slideUp = false; + } + + // Get nb items per page + var n = ''; + $('div.pagination .js-nb_item').children().each(function(it, option) { + if (option.selected) + n = '&n='+option.value; + }); + + ajaxQuery = $.ajax( + { + type: 'GET', + url: baseDir + 'modules/blocklayered/blocklayered-ajax.php', + data: data+params_plus+n, + dataType: 'json', + cache: false, // @todo see a way to use cache and to add a timestamps parameter to refresh cache each 10 minutes for example + success: function(result) + { + $('#layered_block_left').replaceWith(utf8_decode(result.filtersBlock)); + + $('.category-product-count').html(result.categoryCount); + + if (result.productList) + $('#product_list').replaceWith(utf8_decode(result.productList)); + else + $('#product_list').html(''); + + $('#product_list').css('opacity', '1'); + if ($.browser.msie) // Fix bug with IE8 and aliasing + $('#product_list').css('filter', ''); + + if (result.pagination.search(/[^\s]/) >= 0) { + if ($(result.pagination).find('ul.pagination').length) + { + $('div.pagination').show(); + $('ul.pagination').each(function () { + $(this).replaceWith($(result.pagination).find('ul.pagination')); + }); + } + else if (!$('ul.pagination').length) + { + $('div.pagination').show(); + $('div.pagination').each(function () { + $(this).html($(result.pagination)); + }); + } + else + { + $('ul.pagination').html(''); + $('div.pagination').hide(); + } + } + else + { + $('ul.pagination').html(''); + $('div.pagination').hide(); + } + + paginationButton(); + ajaxLoaderOn = 0; + + // On submiting nb items form, relaod with the good nb of items + $('div.pagination form').submit(function() { + 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); + else + $(option).removeAttr('selected'); + }); + // Reload products and pagination + reloadContent(); + return false; + }); + if (typeof(ajaxCart) != "undefined") + ajaxCart.overrideButtonsInThePage(); + + if (typeof(reloadProductComparison) == 'function') + reloadProductComparison(); + initSliders(); + + // Currente page url + if (typeof(current_friendly_url) == 'undefined') + current_friendly_url = '#'; + + // Get all sliders value + $(['price', 'weight']).each(function(it, sliderType) + { + if ($('#layered_'+sliderType+'_slider').length) + { + // Check if slider is enable & if slider is used + if(typeof($('#layered_'+sliderType+'_slider').slider('values', 0)) != 'object') + { + if ($('#layered_'+sliderType+'_slider').slider('values', 0) != $('#layered_'+sliderType+'_slider').slider('option' , 'min') + || $('#layered_'+sliderType+'_slider').slider('values', 1) != $('#layered_'+sliderType+'_slider').slider('option' , 'max')) + current_friendly_url += '/'+sliderType+'-'+$('#layered_'+sliderType+'_slider').slider('values', 0)+'-'+$('#layered_'+sliderType+'_slider').slider('values', 1) + } + } + else if ($('#layered_'+sliderType+'_range_min').length) + { + current_friendly_url += '/'+sliderType+'-'+$('#layered_'+sliderType+'_range_min').val()+'-'+$('#layered_'+sliderType+'_range_max').val(); + } + }); + if (current_friendly_url == '#') + current_friendly_url = '#/'; + window.location = current_friendly_url; + lockLocationChecking = true; + + if(slideUp) + $.scrollTo('#product_list', 400); + updateProductUrl(); + + $('.hide-action').each(function() { + hideFilterValueAction(this); + }); + } + }); + ajaxQueries.push(ajaxQuery); +} + +function initLocationChange(func, time) +{ + if(!time) time = 500; + var current_friendly_url = getUrlParams(); + setInterval(function() + { + if(getUrlParams() != current_friendly_url && !lockLocationChecking) + { + // Don't reload page if current_friendly_url and real url match + if (current_friendly_url.replace(/^#(\/)?/, '') == getUrlParams().replace(/^#(\/)?/, '')) + return; + + lockLocationChecking = true; + reloadContent('&selected_filters='+getUrlParams().replace(/^#/, '')); + } + else { + lockLocationChecking = false; + current_friendly_url = getUrlParams(); + } + }, time); +} + +function getUrlParams() +{ + var params = current_friendly_url; + if(window.location.href.split('#').length == 2 && window.location.href.split('#')[1] != '') + params = '#'+window.location.href.split('#')[1]; + return params; +} + +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); + }); + } +} + + +/** + * Copy of the php function utf8_decode() + */ +function utf8_decode (utfstr) { + var res = ''; + for (var i = 0; i < utfstr.length;) { + var c = utfstr.charCodeAt(i); + + if (c < 128) + { + res += String.fromCharCode(c); + i++; + } + else if((c > 191) && (c < 224)) + { + var c1 = utfstr.charCodeAt(i+1); + res += String.fromCharCode(((c & 31) << 6) | (c1 & 63)); + i += 2; + } + else + { + var c1 = utfstr.charCodeAt(i+1); + var c2 = utfstr.charCodeAt(i+2); + res += String.fromCharCode(((c & 15) << 12) | ((c1 & 63) << 6) | (c2 & 63)); + i += 3; + } + } + return res; +} + + +/** + * Return a formatted price + * Copy from tools.js + */ +function blocklayeredFormatCurrency(price, currencyFormat, currencySign, currencyBlank) +{ + // if you modified this function, don't forget to modify the PHP function displayPrice (in the Tools.php class) + blank = ''; + price = parseFloat(price.toFixed(6)); + price = ps_round(price, priceDisplayPrecision); + if (currencyBlank > 0) + blank = ' '; + if (currencyFormat == 1) + return currencySign + blank + blocklayeredFormatNumber(price, priceDisplayPrecision, ',', '.'); + if (currencyFormat == 2) + return (blocklayeredFormatNumber(price, priceDisplayPrecision, ' ', ',') + blank + currencySign); + if (currencyFormat == 3) + return (currencySign + blank + blocklayeredFormatNumber(price, priceDisplayPrecision, '.', ',')); + if (currencyFormat == 4) + return (blocklayeredFormatNumber(price, priceDisplayPrecision, ',', '.') + blank + currencySign); + return price; +} + + +/** + * Return a formatted number + * Copy from tools.js + */ +function blocklayeredFormatNumber(value, numberOfDecimal, thousenSeparator, virgule) +{ + value = value.toFixed(numberOfDecimal); + var val_string = value+''; + var tmp = val_string.split('.'); + var abs_val_string = (tmp.length == 2) ? tmp[0] : val_string; + var deci_string = ('0.' + (tmp.length == 2 ? tmp[1] : 0)).substr(2); + var nb = abs_val_string.length; + + for (var i = 1 ; i < 4; i++) + if (value >= Math.pow(10, (3 * i))) + abs_val_string = abs_val_string.substring(0, nb - (3 * i)) + thousenSeparator + abs_val_string.substring(nb - (3 * i)); + + if (parseInt(numberOfDecimal) == 0) + return abs_val_string; + return abs_val_string + virgule + (deci_string > 0 ? deci_string : '00'); +} diff --git a/themes/default/js/modules/index.php b/themes/default/js/modules/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/js/modules/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/js/order-address.js b/themes/default/js/order-address.js new file mode 100644 index 000000000..a9c29a6eb --- /dev/null +++ b/themes/default/js/order-address.js @@ -0,0 +1,134 @@ +/* +* 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 +* @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 +*/ + +$(document).ready(function() +{ + if (typeof(formatedAddressFieldsValuesList) !== 'undefined') + updateAddressesDisplay(true); + resizeAddressesBox(); +}); + +//update the display of the addresses +function updateAddressesDisplay(first_view) +{ + // update content of delivery address + updateAddressDisplay('delivery'); + var txtInvoiceTitle = ""; + try{ + var adrs_titles = getAddressesTitles(); + txtInvoiceTitle = adrs_titles.invoice; + } + catch (e) + {} + // update content of invoice address + //if addresses have to be equals... + if ($('input[type=checkbox]#addressesAreEquals:checked').length === 1 && ($('#multishipping_mode_checkbox:checked').length === 0)) + { + if ($('#multishipping_mode_checkbox:checked').length === 0) { + $('#address_invoice_form:visible').hide('fast'); + } + $('ul#address_invoice').html($('ul#address_delivery').html()); + $('ul#address_invoice li.address_title').html(txtInvoiceTitle); + } + else + { + $('#address_invoice_form:hidden').show('fast'); + if ($('#id_address_invoice').val()) + updateAddressDisplay('invoice'); + else + { + $('ul#address_invoice').html($('ul#address_delivery').html()); + $('ul#address_invoice li.address_title').html(txtInvoiceTitle); + } + } + if(!first_view) + { + if (orderProcess === 'order') + updateAddresses(); + } + return true; +} + +function updateAddressDisplay(addressType) +{ + if (formatedAddressFieldsValuesList.length <= 0) + return false; + + var idAddress = parseInt($('#id_address_' + addressType + '').val()); + buildAddressBlock(idAddress, addressType, $('#address_' + addressType)); + + // change update link + var link = $('ul#address_' + addressType + ' li.address_update a').attr('href'); + var expression = /id_address=\d+/; + if (link) + { + link = link.replace(expression, 'id_address=' + idAddress); + $('ul#address_' + addressType + ' li.address_update a').attr('href', link); + } + resizeAddressesBox(); +} + +function updateAddresses() +{ + var idAddress_delivery = parseInt($('#id_address_delivery').val()); + var idAddress_invoice = $('input[type=checkbox]#addressesAreEquals:checked').length === 1 ? idAddress_delivery : parseInt($('#id_address_invoice').val()); + + if(isNaN(idAddress_delivery) == false && isNaN(idAddress_invoice) == false) + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: { + processAddress: true, + step: 2, + ajax: 'true', + controller: 'order', + 'multi-shipping': $('#id_address_delivery:hidden').length, + id_address_delivery: idAddress_delivery, + id_address_invoice: idAddress_invoice, + token: static_token + }, + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + alert(errors); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + } + }); + resizeAddressesBox(); +} \ No newline at end of file diff --git a/themes/default/js/order-opc.js b/themes/default/js/order-opc.js new file mode 100644 index 000000000..cbfb44f9c --- /dev/null +++ b/themes/default/js/order-opc.js @@ -0,0 +1,868 @@ +/* +* 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 +* @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 +*/ + +function updateCarrierList(json) +{ + var html = json.carrier_block; + + // @todo check with theme 1.4 + //if ($('#HOOK_EXTRACARRIER').length == 0 && json.HOOK_EXTRACARRIER !== null && json.HOOK_EXTRACARRIER != undefined) + // html += json.HOOK_EXTRACARRIER; + + $('#carrier_area').replaceWith(html); + bindInputs(); + /* update hooks for carrier module */ + $('#HOOK_BEFORECARRIER').html(json.HOOK_BEFORECARRIER); +} + +function updatePaymentMethods(json) +{ + $('#HOOK_TOP_PAYMENT').html(json.HOOK_TOP_PAYMENT); + $('#opc_payment_methods-content #HOOK_PAYMENT').html(json.HOOK_PAYMENT); +} + +function updatePaymentMethodsDisplay() +{ + var checked = ''; + if ($('#cgv:checked').length !== 0) + checked = 1; + else + checked = 0; + $('#opc_payment_methods-overlay').fadeIn('slow', function(){ + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=updateTOSStatusAndGetPayments&checked=' + checked + '&token=' + static_token, + success: function(json) + { + updatePaymentMethods(json); + } + }); + $(this).fadeOut('slow'); + }); +} + +function updateAddressSelection() +{ + var idAddress_delivery = ($('#opc_id_address_delivery').length == 1 ? $('#opc_id_address_delivery').val() : $('#id_address_delivery').val()); + var idAddress_invoice = ($('#opc_id_address_invoice').length == 1 ? $('#opc_id_address_invoice').val() : ($('#addressesAreEquals:checked').length == 1 ? idAddress_delivery : ($('#id_address_invoice').length == 1 ? $('#id_address_invoice').val() : idAddress_delivery))); + + $('#opc_account-overlay').fadeIn('slow'); + $('#opc_delivery_methods-overlay').fadeIn('slow'); + $('#opc_payment_methods-overlay').fadeIn('slow'); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'allow_refresh=1&ajax=true&method=updateAddressesSelected&id_address_delivery=' + idAddress_delivery + '&id_address_invoice=' + idAddress_invoice + '&token=' + static_token, + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + alert(errors); + } + else + { + if (jsonData.refresh) + location.reload(); + // Update all product keys with the new address id + $('#cart_summary .address_'+deliveryAddress).each(function() { + $(this) + .removeClass('address_'+deliveryAddress) + .addClass('address_'+idAddress_delivery); + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_'+idAddress_delivery)); + if ($(this).find('.cart_unit span').length > 0 && $(this).find('.cart_unit span').attr('id').length > 0) + $(this).find('.cart_unit span').attr('id', $(this).find('.cart_unit span').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)); + + if ($(this).find('.cart_total span').length > 0 && $(this).find('.cart_total span').attr('id').length > 0) + $(this).find('.cart_total span').attr('id', $(this).find('.cart_total span').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)); + + if ($(this).find('.cart_quantity_input').length > 0 && $(this).find('.cart_quantity_input').attr('name').length > 0) + { + var name = $(this).find('.cart_quantity_input').attr('name')+'_hidden'; + $(this).find('.cart_quantity_input').attr('name', $(this).find('.cart_quantity_input').attr('name').replace(/_\d+$/, '_'+idAddress_delivery)); + if ($(this).find('[name='+name+']').length > 0) + $(this).find('[name='+name+']').attr('name', name.replace(/_\d+_hidden$/, '_'+idAddress_delivery+'_hidden')); + } + + if ($(this).find('.cart_quantity_delete').length > 0 && $(this).find('.cart_quantity_delete').attr('id').length > 0) + { + $(this).find('.cart_quantity_delete') + .attr('id', $(this).find('.cart_quantity_delete').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)) + .attr('href', $(this).find('.cart_quantity_delete').attr('href').replace(/id_address_delivery=\d+&/, 'id_address_delivery='+idAddress_delivery+'&')); + } + + if ($(this).find('.cart_quantity_down').length > 0 && $(this).find('.cart_quantity_down').attr('id').length > 0) + { + $(this).find('.cart_quantity_down') + .attr('id', $(this).find('.cart_quantity_down').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)) + .attr('href', $(this).find('.cart_quantity_down').attr('href').replace(/id_address_delivery=\d+&/, 'id_address_delivery='+idAddress_delivery+'&')); + } + + if ($(this).find('.cart_quantity_up').length > 0 && $(this).find('.cart_quantity_up').attr('id').length > 0) + { + $(this).find('.cart_quantity_up') + .attr('id', $(this).find('.cart_quantity_up').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)) + .attr('href', $(this).find('.cart_quantity_up').attr('href').replace(/id_address_delivery=\d+&/, 'id_address_delivery='+idAddress_delivery+'&')); + } + }); + + // Update global var deliveryAddress + deliveryAddress = idAddress_delivery; + if (window.ajaxCart !== undefined) + { + $('#cart_block_list dd, #cart_block_list dt').each(function(){ + if (typeof($(this).attr('id')) != 'undefined') + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_' + idAddress_delivery)); + }); + } + updateCarrierList(jsonData.carrier_data); + updatePaymentMethods(jsonData); + updateCartSummary(jsonData.summary); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if ($('#gift-price').length == 1) + $('#gift-price').html(jsonData.gift_price); + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); +} + +function getCarrierListAndUpdate() +{ + $('#opc_delivery_methods-overlay').fadeIn('slow'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=getCarrierList&token=' + static_token, + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + alert(errors); + } + else + updateCarrierList(jsonData); + $('#opc_delivery_methods-overlay').fadeOut('slow'); + } + }); +} + +function updateCarrierSelectionAndGift() +{ + var recyclablePackage = 0; + var gift = 0; + var giftMessage = ''; + + var delivery_option_radio = $('.delivery_option_radio'); + var delivery_option_params = '&'; + $.each(delivery_option_radio, function(i) { + if ($(this).prop('checked')) + delivery_option_params += $(delivery_option_radio[i]).attr('name') + '=' + $(delivery_option_radio[i]).val() + '&'; + }); + if (delivery_option_params == '&') + delivery_option_params = '&delivery_option=&'; + + if ($('input#recyclable:checked').length) + recyclablePackage = 1; + if ($('input#gift:checked').length) + { + gift = 1; + giftMessage = encodeURIComponent($('#gift_message').val()); + } + + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=updateCarrierAndGetPayments' + delivery_option_params + 'recyclable=' + recyclablePackage + '&gift=' + gift + '&gift_message=' + giftMessage + '&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + alert(errors); + } + else + { + updateCartSummary(jsonData.summary); + updatePaymentMethods(jsonData); + updateHookShoppingCart(jsonData.summary.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.summary.HOOK_SHOPPING_CART_EXTRA); + updateCarrierList(jsonData.carrier_data); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + refreshDeliveryOptions(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save carrier \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); +} + +function confirmFreeOrder() +{ + if ($('#opc_new_account-overlay').length !== 0) + $('#opc_new_account-overlay').fadeIn('slow'); + else + $('#opc_account-overlay').fadeIn('slow'); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + $('#confirmOrder').attr('disabled', 'disabled'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "html", + data: 'ajax=true&method=makeFreeOrder&token=' + static_token , + success: function(html) + { + $('#confirmOrder').attr('disabled', ''); + var array_split = html.split(':'); + if (array_split[0] == 'freeorder') + { + if (isGuest) + document.location.href = guestTrackingUrl+'?id_order='+encodeURIComponent(array_split[1])+'&email='+encodeURIComponent(array_split[2]); + else + document.location.href = historyUrl; + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to confirm the order \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + } + }); +} + +function saveAddress(type) +{ + if (type !== 'delivery' && type !== 'invoice') + return false; + + var params = 'firstname='+encodeURIComponent($('#firstname'+(type == 'invoice' ? '_invoice' : '')).val())+'&lastname='+encodeURIComponent($('#lastname'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'company='+encodeURIComponent($('#company'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'vat_number='+encodeURIComponent($('#vat_number'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'dni='+encodeURIComponent($('#dni'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'address1='+encodeURIComponent($('#address1'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'address2='+encodeURIComponent($('#address2'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'postcode='+encodeURIComponent($('#postcode'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'city='+encodeURIComponent($('#city'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'id_country='+encodeURIComponent($('#id_country'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + if ($('#id_state'+(type == 'invoice' ? '_invoice' : '')).val()) + params += 'id_state='+encodeURIComponent($('#id_state'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'other='+encodeURIComponent($('#other'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'phone='+encodeURIComponent($('#phone'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'phone_mobile='+encodeURIComponent($('#phone_mobile'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'alias='+encodeURIComponent($('#alias'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; + if (type == 'delivery' && $('#opc_id_address_delivery').val() != undefined && parseInt($('#opc_id_address_delivery').val()) > 0) + params += 'opc_id_address_delivery='+encodeURIComponent($('#opc_id_address_delivery').val())+'&'; + if (type == 'invoice' && $('#opc_id_address_invoice').val() != undefined && parseInt($('#opc_id_address_invoice').val()) > 0) + params += 'opc_id_address_invoice='+encodeURIComponent($('#opc_id_address_invoice').val())+'&'; + // Clean the last & + params = params.substr(0, params.length-1); + + var result = false; + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: addressUrl + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'ajax=true&submitAddress=true&type='+type+'&'+params+'&token=' + static_token, + success: function(jsonData) + { + if (jsonData.hasError) + { + var tmp = ''; + var i = 0; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + { + i = i+1; + tmp += '
  • '+jsonData.errors[error]+'
  • '; + } + tmp += ''; + var errors = ''+txtThereis+' '+i+' '+txtErrors+':
      '+tmp; + $('#opc_account_errors').slideUp('fast', function(){ + $(this).html(errors).slideDown('slow', function(){ + $.scrollTo('#opc_account_errors', 800); + }); + }); + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + result = false; + } + else + { + // update addresses id + $('input#opc_id_address_delivery').val(jsonData.id_address_delivery); + $('input#opc_id_address_invoice').val(jsonData.id_address_invoice); + result = true; + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); + + return result; +} + +function updateNewAccountToAddressBlock() +{ + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow');; + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=getAddressBlockAndCarriersAndPayments&token=' + static_token , + success: function(json) + { + isLogged = 1; + if (json.no_address == 1) + document.location.href = addressUrl; + + $('#opc_new_account').fadeOut('fast', function() { + $('#opc_new_account').html(json.order_opc_adress); + // update block user info + if (json.block_user_info !== '' && $('#header_user').length == 1) + { + var elt = $(json.block_user_info).find('#header_user_info').html(); + $('#header_user_info').fadeOut('nortmal', function() { + $(this).html(elt).fadeIn(); + }); + } + $('#opc_new_account').fadeIn('fast', function() { + //After login, the products are automatically associated to an address + $.each(json.summary.products, function() { + updateAddressId(this.id_product, this.id_product_attribute, '0', this.id_address_delivery); + }); + updateAddressesDisplay(true); + updateCarrierList(json.carrier_data); + updateCarrierSelectionAndGift(); + updatePaymentMethods(json); + if ($('#gift-price').length == 1) + $('#gift-price').html(json.gift_price); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + }); + }); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to send login informations \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); +} + +$(function() { + // GUEST CHECKOUT / NEW ACCOUNT MANAGEMENT + if ((!isLogged) || (isGuest)) + { + if (guestCheckoutEnabled && !isLogged) + { + $('#opc_account_choice').show(); + $('#opc_account_form, #opc_invoice_address').hide(); + + $('#opc_createAccount').click(function() { + $('.is_customer_param').show(); + $('#opc_account_form').slideDown('slow'); + $('#is_new_customer').val('1'); + $('#opc_account_choice, #opc_invoice_address').hide(); + updateState(); + updateNeedIDNumber(); + updateZipCode(); + }); + $('#opc_guestCheckout').click(function() { + $('.is_customer_param').hide(); + $('#opc_account_form').slideDown('slow'); + $('#is_new_customer').val('0'); + $('#opc_account_choice, #opc_invoice_address').hide(); + $('#new_account_title').html(txtInstantCheckout); + $('#submitAccount').prop({id : 'submitGuestAccount', name : 'submitGuestAccount'}); + updateState(); + updateNeedIDNumber(); + updateZipCode(); + }); + } + else if (isGuest) + { + $('.is_customer_param').hide(); + $('#opc_account_form').show('slow'); + $('#is_new_customer').val('0'); + $('#opc_account_choice, #opc_invoice_address').hide(); + $('#new_account_title').html(txtInstantCheckout); + updateState(); + updateNeedIDNumber(); + updateZipCode(); + } + else + { + $('#opc_account_choice').hide(); + $('#is_new_customer').val('1'); + $('.is_customer_param, #opc_account_form').show(); + $('#opc_invoice_address').hide(); + updateState(); + updateNeedIDNumber(); + updateZipCode(); + } + + // LOGIN FORM + $('#openLoginFormBlock').click(function() { + $('#openNewAccountBlock').show(); + $(this).hide(); + $('#login_form_content').slideDown('slow'); + $('#new_account_form_content').slideUp('slow'); + return false; + }); + // LOGIN FORM SENDING + $('#SubmitLogin').click(function() { + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: authenticationUrl + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'SubmitLogin=true&ajax=true&email='+encodeURIComponent($('#login_email').val())+'&passwd='+encodeURIComponent($('#login_passwd').val())+'&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''+txtThereis+' '+jsonData.errors.length+' '+txtErrors+':
        '; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += '
      1. '+jsonData.errors[error]+'
      2. '; + errors += '
      '; + $('#opc_login_errors').html(errors).slideDown('slow'); + } + else + { + // update token + static_token = jsonData.token; + updateNewAccountToAddressBlock(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to send login informations \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + } + }); + return false; + }); + + // INVOICE ADDRESS + $('#invoice_address').click(function() { + bindCheckbox(); + }); + + // VALIDATION / CREATION AJAX + $('#submitAccount').click(function() { + $('#opc_new_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeIn('slow') + + var callingFile = ''; + var params = ''; + + if (parseInt($('#opc_id_customer').val()) == 0) + { + callingFile = authenticationUrl; + params = 'submitAccount=true&'; + } + else + { + callingFile = orderOpcUrl; + params = 'method=editCustomer&'; + } + + $('#opc_account_form input:visible, #opc_account_form input[type=hidden]').each(function() { + if ($(this).is('input[type=checkbox]')) + { + if ($(this).is(':checked')) + params += encodeURIComponent($(this).attr('name'))+'=1&'; + } + else if ($(this).is('input[type=radio]')) + { + if ($(this).is(':checked')) + params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; + } + else + params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; + }); + $('#opc_account_form select:visible').each(function() { + params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; + }); + params += 'customer_lastname='+encodeURIComponent($('#customer_lastname').val())+'&'; + params += 'customer_firstname='+encodeURIComponent($('#customer_firstname').val())+'&'; + params += 'alias='+encodeURIComponent($('#alias').val())+'&'; + params += 'other='+encodeURIComponent($('#other').val())+'&'; + params += 'is_new_customer='+encodeURIComponent($('#is_new_customer').val())+'&'; + // Clean the last & + params = params.substr(0, params.length-1); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: callingFile + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'ajax=true&'+params+'&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var tmp = ''; + var i = 0; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + { + i = i+1; + tmp += '
    1. '+jsonData.errors[error]+'
    2. '; + } + tmp += '
    '; + var errors = ''+txtThereis+' '+i+' '+txtErrors+':
      '+tmp; + $('#opc_account_errors').slideUp('fast', function(){ + $(this).html(errors).slideDown('slow', function(){ + $.scrollTo('#opc_account_errors', 800); + }); + }); + } + else + { + $('#opc_account_errors').slideUp('slow', function(){ + $(this).html(''); + }); + } + + isGuest = parseInt($('#is_new_customer').val()) == 1 ? 0 : 1; + // update addresses id + if(jsonData.id_address_delivery !== undefined && jsonData.id_address_delivery > 0) + $('#opc_id_address_delivery').val(jsonData.id_address_delivery); + if(jsonData.id_address_invoice !== undefined && jsonData.id_address_invoice > 0) + $('#opc_id_address_invoice').val(jsonData.id_address_invoice); + + if (jsonData.id_customer !== undefined && jsonData.id_customer !== 0 && jsonData.isSaved) + { + // update token + static_token = jsonData.token; + + // It's not a new customer + if ($('#opc_id_customer').val() !== '0') + if (!saveAddress('delivery')) + return false; + + // update id_customer + $('#opc_id_customer').val(jsonData.id_customer); + + if ($('#invoice_address:checked').length !== 0) + { + if (!saveAddress('invoice')) + return false; + } + + // update id_customer + $('#opc_id_customer').val(jsonData.id_customer); + + // force to refresh carrier list + if (isGuest) + { + isLogged = 1; + $('#opc_account_saved').fadeIn('slow'); + $('#submitAccount').hide(); + updateAddressSelection(); + } + else + updateNewAccountToAddressBlock(); + } + $('#opc_new_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeIn('slow'); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save account \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_new_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeIn('slow') + } + }); + return false; + }); + } + + bindCheckbox(); + bindInputs(); + + $('#opc_account_form input,select,textarea').change(function() { + if ($(this).is(':visible')) + { + $('#opc_account_saved').fadeOut('slow'); + $('#submitAccount').show(); + } + }); + +}); + +function bindCheckbox() +{ + if ($('#invoice_address:checked').length > 0) + { + $('#opc_invoice_address').slideDown('slow'); + if ($('#company_invoice').val() == '') + $('#vat_number_block_invoice').hide(); + updateState('invoice'); + updateNeedIDNumber('invoice'); + updateZipCode('invoice'); + } + else + $('#opc_invoice_address').slideUp('slow'); +} + +function bindInputs() +{ + // Order message update + $('#message').blur(function() { + $('#opc_delivery_methods-overlay').fadeIn('slow'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'ajax=true&method=updateMessage&message=' + encodeURIComponent($('#message').val()) + '&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
      ').html(jsonData.errors[error]).text() + "\n"; + alert(errors); + } + else + $('#opc_delivery_methods-overlay').fadeOut('slow'); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save message \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_delivery_methods-overlay').fadeOut('slow'); + } + }); + }); + + // Recyclable checkbox + $('#recyclable').click(function() { + updateCarrierSelectionAndGift(); + }); + + // Gift checkbox update + $('#gift').click(function() { + if ($('#gift').is(':checked')) + $('#gift_div').show(); + else + $('#gift_div').hide(); + updateCarrierSelectionAndGift(); + }); + + if ($('#gift').is(':checked')) + $('#gift_div').show(); + else + $('#gift_div').hide(); + + // Gift message update + $('#gift_message').change(function() { + updateCarrierSelectionAndGift(); + }); + + // Term Of Service (TOS) + $('#cgv').click(function() { + updatePaymentMethodsDisplay(); + }); +} + +function multishippingMode(it) +{ + if ($(it).prop('checked')) + { + $('#address_delivery, .address_delivery').hide(); + $('#address_invoice').removeClass('alternate_item').addClass('item'); + $('#multishipping_mode_box').addClass('on'); + $('.addressesAreEquals').hide(); + $('#address_invoice_form').show(); + + $('#link_multishipping_form').click(function() {return false;}); + $('.address_add a').attr('href', addressMultishippingUrl); + + $('#link_multishipping_form').fancybox({ + 'transitionIn': 'elastic', + 'transitionOut': 'elastic', + 'type': 'ajax', + 'beforeClose': function() + { + // Reload the cart + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + data: 'ajax=true&method=cartReload', + dataType : 'html', + cache: false, + success: function(data) { + $('#cart_summary').replaceWith($(data).find('#cart_summary')); + $('.cart_quantity_input').typeWatch({ highlight: true, wait: 600, captureLength: 0, callback: function(val) { updateQty(val, true, this.el); } }); + } + }); + updateCarrierSelectionAndGift(); + }, + 'beforeLoad': function() + { + // Removing all ids on the cart to avoid conflic with the new one on the fancybox + // This action could "break" the cart design, if css rules use ids of the cart + $.each($('#cart_summary *'), function(it, el) { + $(el).attr('id', ''); + }); + }, + 'onComplete': function() + { + $('#fancybox-content .cart_quantity_input').typeWatch({ highlight: true, wait: 600, captureLength: 0, callback: function(val) { updateQty(val, false, this.el);} }); + cleanSelectAddressDelivery(); + $('#fancybox-content').append($('')); + $('#multishipping-close').click(function() { + var newTotalQty = 0; + $('#fancybox-content .cart_quantity_input').each(function(){ + newTotalQty += parseInt($(this).val()); + }); + if (newTotalQty !== totalQty) { + if(!confirm(QtyChanged)) { + return false; + } + } + $.fancybox.close(); + return false; + }); + totalQty = 0; + $('#fancybox-content .cart_quantity_input').each(function(){ + totalQty += parseInt($(this).val()); + }); + } + }); + } + else + { + $('#address_delivery, .address_delivery').show(); + $('#address_invoice').removeClass('item').addClass('alternate_item'); + $('#multishipping_mode_box').removeClass('on'); + $('.addressesAreEquals').show(); + if ($('.addressesAreEquals').find('input:checked').length) + $('#address_invoice_form').hide(); + else + $('#address_invoice_form').show(); + $('.address_add a').attr('href', addressUrl); + + // Disable multi address shipping + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax=true&method=noMultiAddressDelivery' + }); + + // Reload the cart + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax=true&method=cartReload', + dataType : 'html', + success: function(data) { + $('#cart_summary').replaceWith($(data).find('#cart_summary')); + } + }); + } +} + +$(document).ready(function() { + // If the multishipping mode is off assure us the checkbox "I want to specify a delivery address for each products I order." is unchecked. + $('#multishipping_mode_checkbox').attr('checked', false); + // If the multishipping mode is on, check the box "I want to specify a delivery address for each products I order.". + if (typeof(multishipping_mode) !== 'undefined' && multishipping_mode) + { + $('#multishipping_mode_checkbox').click(); + $('.addressesAreEquals').hide().find('input').attr('checked', false); + } + if (typeof(open_multishipping_fancybox) !== 'undefined' && open_multishipping_fancybox) + $('#link_multishipping_form').click(); +}); \ No newline at end of file diff --git a/themes/default/js/products-comparison.js b/themes/default/js/products-comparison.js new file mode 100644 index 000000000..3a9118cff --- /dev/null +++ b/themes/default/js/products-comparison.js @@ -0,0 +1,84 @@ +/* +* 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 +* @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 +*/ + +$('document').ready(function(){ + reloadProductComparison(); +}); + +reloadProductComparison = function() { + $('a.cmp_remove').click(function(){ + + var idProduct = $(this).attr('rel').replace('ajax_id_product_', ''); + + $.ajax({ + url: 'index.php?controller=products-comparison&ajax=1&action=remove&id_product=' + idProduct, + async: false, + cache: false, + success: function(){ + return true; + } + }); + }); + + $('input:checkbox.comparator').click(function(){ + + var idProduct = $(this).attr('value').replace('comparator_item_', ''); + var checkbox = $(this); + + if(checkbox.is(':checked')) +{ + $.ajax({ + url: 'index.php?controller=products-comparison&ajax=1&action=add&id_product=' + idProduct, + async: true, + cache: false, + success: function(data){ + if (data === '0') + { + checkbox.attr('checked', false); + alert(max_item); + } + }, + error: function(){ + checkbox.attr('checked', false); + } + }); + } + else + { + $.ajax({ + url: 'index.php?controller=products-comparison&ajax=1&action=remove&id_product=' + idProduct, + async: true, + cache: false, + success: function(data){ + if (data === '0') + checkbox.attr('checked', true); + }, + error: function(){ + checkbox.attr('checked', true); + } + }); + } + }); +} diff --git a/themes/default/js/scenes.js b/themes/default/js/scenes.js new file mode 100644 index 000000000..525c756e8 --- /dev/null +++ b/themes/default/js/scenes.js @@ -0,0 +1,91 @@ +/* +* 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 +* @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 +*/ + +nb_move_available = null; +current_move = 0; +next_scene_is_at_right = true; + +function loadScene(id_scene){ + $('#scenes').find('.screen_scene:visible').fadeTo(300, 0, function(){ + $(this).hide(); + $('#scenes').find('#screen_scene_' + id_scene).css('opacity', '0').show().fadeTo(500, 1); + }); + return false; +} + +function onSceneMove(){ + if (next_scene_is_at_right) current_move++; + else current_move--; + if (current_move === nb_move_available - 1) $('#scenes .next').fadeOut(); + else $('#scenes .next:hidden').fadeIn().css('display','block'); + if (current_move === 0) $('#scenes .prev').fadeOut().css('display','block'); + else $('#scenes .prev').fadeIn().css('display','block'); + return true; +} + +$(function () { + /* calcul nb of click to see every scenes */ + var ul_width = parseInt($('#scenes_list ul').width()); + var div_width = parseInt($('#scenes_list').width()); + nb_move_available = Math.ceil((ul_width-div_width)/li_width)+1; + if (nb_move_available < 2) + $('#scenes .next').hide(); + + /* set cluetip parameters */ + $('a.cluetip') + .cluetip({ + local:true, + cursor: 'pointer', + attribute:'accesskey', + cluetipClass: 'product_scene', + dropShadow: false, + dropShadowSteps: 0, + showTitle: false, + tracking: true, + sticky: false, + mouseOutClose: true, + closeText: i18n_scene_close, + fx: { + open: 'fadeIn', + openSpeed: 'fast' + } + }) + .css('opacity', 0.8); + + /* set serialscroll parameters */ + $('#scenes_list').serialScroll({ + items:'a', + duration:1000, + lock:false, + axis:'x', + cycle:false, + force:true, + lazy:true, + step:1, + onBefore:onSceneMove + }); + $('#scenes_list').trigger( 'goto', 0); + +}); diff --git a/themes/default/js/stores.js b/themes/default/js/stores.js new file mode 100644 index 000000000..ffd8e64ba --- /dev/null +++ b/themes/default/js/stores.js @@ -0,0 +1,217 @@ +/* +* 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 +* @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 +*/ + +function initMarkers() +{ + searchUrl += '?ajax=1&all=1'; + downloadUrl(searchUrl, function(data) { + var xml = parseXml(data); + var markerNodes = xml.documentElement.getElementsByTagName('marker'); + var bounds = new google.maps.LatLngBounds(); + for (var i = 0; i < markerNodes.length; i++) + { + var name = markerNodes[i].getAttribute('name'); + var address = markerNodes[i].getAttribute('address'); + var addressNoHtml = markerNodes[i].getAttribute('addressNoHtml'); + var other = markerNodes[i].getAttribute('other'); + var id_store = markerNodes[i].getAttribute('id_store'); + var has_store_picture = markerNodes[i].getAttribute('has_store_picture'); + var latlng = new google.maps.LatLng( + parseFloat(markerNodes[i].getAttribute('lat')), + parseFloat(markerNodes[i].getAttribute('lng'))); + createMarker(latlng, name, address, other, id_store, has_store_picture); + bounds.extend(latlng); + } + }); +} + +function searchLocations() +{ + $('#stores_loader').show(); + var address = document.getElementById('addressInput').value; + var geocoder = new google.maps.Geocoder(); + geocoder.geocode({address: address}, function(results, status) { + if (status === google.maps.GeocoderStatus.OK) + searchLocationsNear(results[0].geometry.location); + else + alert(address+' '+translation_6); + $('#stores_loader').hide(); + }); +} + +function clearLocations(n) +{ + infoWindow.close(); + for (var i = 0; i < markers.length; i++) + markers[i].setMap(null); + + markers.length = 0; + + locationSelect.innerHTML = ''; + var option = document.createElement('option'); + option.value = 'none'; + if (!n) + option.innerHTML = translation_1; + else + { + if (n === 1) + option.innerHTML = '1'+' '+translation_2; + else + option.innerHTML = n+' '+translation_3; + } + locationSelect.appendChild(option); + $('#stores-table tr.node').remove(); +} + +function searchLocationsNear(center) +{ + var radius = document.getElementById('radiusSelect').value; + var searchUrl = baseUri+'?controller=stores&ajax=1&latitude=' + center.lat() + '&longitude=' + center.lng() + '&radius=' + radius; + downloadUrl(searchUrl, function(data) { + var xml = parseXml(data); + var markerNodes = xml.documentElement.getElementsByTagName('marker'); + var bounds = new google.maps.LatLngBounds(); + + clearLocations(markerNodes.length); + for (var i = 0; i < markerNodes.length; i++) + { + var name = markerNodes[i].getAttribute('name'); + var address = markerNodes[i].getAttribute('address'); + var addressNoHtml = markerNodes[i].getAttribute('addressNoHtml'); + var other = markerNodes[i].getAttribute('other'); + var distance = parseFloat(markerNodes[i].getAttribute('distance')); + var id_store = parseFloat(markerNodes[i].getAttribute('id_store')); + var phone = markerNodes[i].getAttribute('phone'); + var has_store_picture = markerNodes[i].getAttribute('has_store_picture'); + var latlng = new google.maps.LatLng( + parseFloat(markerNodes[i].getAttribute('lat')), + parseFloat(markerNodes[i].getAttribute('lng'))); + + createOption(name, distance, i); + createMarker(latlng, name, address, other, id_store, has_store_picture); + bounds.extend(latlng); + + $('#stores-table tr:last').after(''+parseInt(i + 1)+''+name+''+(has_store_picture === 1 ? '
      ' : '')+''+address+''+distance+' '+distance_unit+''); + $('#stores-table').show(); + } + + if (markerNodes.length) + { + map.fitBounds(bounds); + var listener = google.maps.event.addListener(map, "idle", function() { + if (map.getZoom() > 13) map.setZoom(13); + google.maps.event.removeListener(listener); + }); + } + locationSelect.style.visibility = 'visible'; + locationSelect.onchange = function() { + var markerNum = locationSelect.options[locationSelect.selectedIndex].value; + google.maps.event.trigger(markers[markerNum], 'click'); + }; + }); +} + +function createMarker(latlng, name, address, other, id_store, has_store_picture) +{ + var html = ''+name+'
      '+address+(has_store_picture === 1 ? '

      ' : '')+other+'
      '+translation_5+'<\/a>'; + var image = new google.maps.MarkerImage(img_ps_dir+logo_store); + var marker = ''; + + if (hasStoreIcon) + marker = new google.maps.Marker({ map: map, icon: image, position: latlng }); + else + marker = new google.maps.Marker({ map: map, position: latlng }); + google.maps.event.addListener(marker, 'click', function() { + infoWindow.setContent(html); + infoWindow.open(map, marker); + }); + markers.push(marker); +} + +function createOption(name, distance, num) +{ + var option = document.createElement('option'); + option.value = num; + option.innerHTML = name+' ('+distance.toFixed(1)+' '+distance_unit+')'; + locationSelect.appendChild(option); +} + +function downloadUrl(url, callback) +{ + var request = window.ActiveXObject ? + new ActiveXObject('Microsoft.XMLHTTP') : + new XMLHttpRequest(); + + request.onreadystatechange = function() { + if (request.readyState === 4) { + request.onreadystatechange = doNothing; + callback(request.responseText, request.status); + } + }; + + request.open('GET', url, true); + request.send(null); +} + +function parseXml(str) +{ + if (window.ActiveXObject) { + var doc = new ActiveXObject('Microsoft.XMLDOM'); + doc.loadXML(str); + return doc; + } + else if (window.DOMParser) { + return (new DOMParser()).parseFromString(str, 'text/xml'); + } +} + +function doNothing() {} + +$(document).ready(function() +{ + map = new google.maps.Map(document.getElementById('map'), { + center: new google.maps.LatLng(defaultLat, defaultLong), + zoom: 10, + mapTypeId: 'roadmap', + mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU} + }); + infoWindow = new google.maps.InfoWindow(); + + locationSelect = document.getElementById('locationSelect'); + locationSelect.onchange = function() { + var markerNum = locationSelect.options[locationSelect.selectedIndex].value; + if (markerNum !== 'none') + google.maps.event.trigger(markers[markerNum], 'click'); + }; + + $('#addressInput').keypress(function(e) { + code = e.keyCode ? e.keyCode : e.which; + if(code.toString() === 13) + searchLocations(); + }); + + + initMarkers(); +}); diff --git a/themes/default/js/tools.js b/themes/default/js/tools.js new file mode 100644 index 000000000..7b670168c --- /dev/null +++ b/themes/default/js/tools.js @@ -0,0 +1,251 @@ +/* +* 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 +* @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 +*/ + +function ps_round(value, precision) +{ + if (typeof(roundMode) === 'undefined') + roundMode = 2; + if (typeof(precision) === 'undefined') + precision = 2; + + method = roundMode; + if (method === 0) + return ceilf(value, precision); + else if (method === 1) + return floorf(value, precision); + precisionFactor = precision === 0 ? 1 : Math.pow(10, precision); + return Math.round(value * precisionFactor) / precisionFactor; +} + +function ceilf(value, precision) +{ + if (typeof(precision) === 'undefined') + precision = 0; + precisionFactor = precision === 0 ? 1 : Math.pow(10, precision); + tmp = value * precisionFactor; + tmp2 = tmp.toString(); + if (tmp2[tmp2.length - 1] === 0) + return value; + return Math.ceil(value * precisionFactor) / precisionFactor; +} + +function floorf(value, precision) +{ + if (typeof(precision) === 'undefined') + precision = 0; + precisionFactor = precision === 0 ? 1 : Math.pow(10, precision); + tmp = value * precisionFactor; + tmp2 = tmp.toString(); + if (tmp2[tmp2.length - 1] === 0) + return value; + return Math.floor(value * precisionFactor) / precisionFactor; +} + +function formatedNumberToFloat(price, currencyFormat, currencySign) +{ + price = price.replace(currencySign, ''); + if (currencyFormat === 1) + return parseFloat(price.replace(',', '').replace(' ', '')); + else if (currencyFormat === 2) + return parseFloat(price.replace(' ', '').replace(',', '.')); + else if (currencyFormat === 3) + return parseFloat(price.replace('.', '').replace(' ', '').replace(',', '.')); + else if (currencyFormat === 4) + return parseFloat(price.replace(',', '').replace(' ', '')); + return price; +} + +//return a formatted price +function formatCurrency(price, currencyFormat, currencySign, currencyBlank) +{ + // if you modified this function, don't forget to modify the PHP function displayPrice (in the Tools.php class) + blank = ''; + price = parseFloat(price.toFixed(6)); + price = ps_round(price, priceDisplayPrecision); + if (currencyBlank > 0) + blank = ' '; + if (currencyFormat == 1) + return currencySign + blank + formatNumber(price, priceDisplayPrecision, ',', '.'); + if (currencyFormat == 2) + return (formatNumber(price, priceDisplayPrecision, ' ', ',') + blank + currencySign); + if (currencyFormat == 3) + return (currencySign + blank + formatNumber(price, priceDisplayPrecision, '.', ',')); + if (currencyFormat == 4) + return (formatNumber(price, priceDisplayPrecision, ',', '.') + blank + currencySign); + if (currencyFormat == 5) + return (currencySign + blank + formatNumber(price, priceDisplayPrecision, '\'', '.')); + return price; +} + +//return a formatted number +function formatNumber(value, numberOfDecimal, thousenSeparator, virgule) +{ + value = value.toFixed(numberOfDecimal); + var val_string = value+''; + var tmp = val_string.split('.'); + var abs_val_string = (tmp.length === 2) ? tmp[0] : val_string; + var deci_string = ('0.' + (tmp.length === 2 ? tmp[1] : 0)).substr(2); + var nb = abs_val_string.length; + + for (var i = 1 ; i < 4; i++) + if (value >= Math.pow(10, (3 * i))) + abs_val_string = abs_val_string.substring(0, nb - (3 * i)) + thousenSeparator + abs_val_string.substring(nb - (3 * i)); + + if (parseInt(numberOfDecimal) === 0) + return abs_val_string; + return abs_val_string + virgule + (deci_string > 0 ? deci_string : '00'); +} + +//change the text of a jQuery element with a sliding effect (velocity could be a number in ms, 'slow' or 'fast', effect1 and effect2 could be slide, fade, hide, show) +function updateTextWithEffect(jQueryElement, text, velocity, effect1, effect2, newClass) +{ + if(jQueryElement.text() !== text) + if(effect1 === 'fade') + jQueryElement.fadeOut(velocity, function(){ + $(this).addClass(newClass); + if(effect2 === 'fade') $(this).text(text).fadeIn(velocity); + else if(effect2 === 'slide') $(this).text(text).slideDown(velocity); + else if(effect2 === 'show') $(this).text(text).show(velocity, function(){}); + }); + else if(effect1 === 'slide') + jQueryElement.slideUp(velocity, function(){ + $(this).addClass(newClass); + if(effect2 === 'fade') $(this).text(text).fadeIn(velocity); + else if(effect2 === 'slide') $(this).text(text).slideDown(velocity); + else if(effect2 === 'show') $(this).text(text).show(velocity); + }); + else if(effect1 === 'hide') + jQueryElement.hide(velocity, function(){ + $(this).addClass(newClass); + if(effect2 === 'fade') $(this).text(text).fadeIn(velocity); + else if(effect2 === 'slide') $(this).text(text).slideDown(velocity); + else if(effect2 === 'show') $(this).text(text).show(velocity); + }); +} + +//show a JS debug +function dbg(value) +{ + var active = false;//true for active + var firefox = true;//true if debug under firefox + + if (active) + if (firefox) + console.log(value); + else + alert(value); +} + +/** +* Function : print_r() +* Arguments: The data - array,hash(associative array),object +* The level - OPTIONAL +* Returns : The textual representation of the array. +* This function was inspired by the print_r function of PHP. +* This will accept some data as the argument and return a +* text that will be a more readable version of the +* array/hash/object that is given. +*/ +function print_r(arr, level) +{ + var dumped_text = ""; + if (!level) + level = 0; + + //The padding given at the beginning of the line. + var level_padding = ""; + for (var j = 0 ; j < level + 1; j++) + level_padding += " "; + + if (typeof(arr) === 'object') + { //Array/Hashes/Objects + for (var item in arr) + { + var value = arr[item]; + if (typeof(value) === 'object') { //If it is an array, + dumped_text += level_padding + "'" + item + "' ...\n"; + dumped_text += dump(value,level+1); + } + else + { + dumped_text += level_padding + "'" + item + "' => \"" + value + "\"\n"; + } + } + } + else + { //Stings/Chars/Numbers etc. + dumped_text = "===>" + arr + "<===("+typeof(arr)+")"; + } + return dumped_text; +} + +//verify if value is in the array +function in_array(value, array) +{ + for (var i in array) + if (array[i] === value) + return true; + return false; +} + +function resizeAddressesBox(nameBox) +{ + maxHeight = 0; + + if (typeof(nameBox) === 'undefined') + nameBox = '.address'; + $(nameBox).each(function() + { + $(this).css('height', 'auto'); + currentHeight = $(this).height(); + if (maxHeight < currentHeight) + maxHeight = currentHeight; + }); + $(nameBox).height(maxHeight); +} + +$(document).ready(function() { + $.fn.checkboxChange = function(fnChecked, fnUnchecked) { + if ($(this).prop('checked') && fnChecked) + fnChecked.call(this); + else if(fnUnchecked) + fnUnchecked.call(this); + + if (!$(this).attr('eventCheckboxChange')) + { + $(this).live('change', function() { $(this).checkboxChange(fnChecked, fnUnchecked); }); + $(this).attr('eventCheckboxChange', true); + } + }; +}); + + +// Use it to simulate target blank link +$(function(){ + $('a.js-new-window').click(function(){ + window.open(this.href); + return false; + }); +}); diff --git a/themes/default/js/tools/index.php b/themes/default/js/tools/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/js/tools/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/js/tools/statesManagement.js b/themes/default/js/tools/statesManagement.js new file mode 100644 index 000000000..ca7e5e22b --- /dev/null +++ b/themes/default/js/tools/statesManagement.js @@ -0,0 +1,63 @@ +$(document).ready(function() +{ + bindStateInputAndUpdate(); +}); + +function bindStateInputAndUpdate() +{ + $('.id_state, .dni, .postcode').css({'display':'none'}); + updateState(); + updateNeedIDNumber(); + updateZipCode(); + + $('select#id_country').change(function(){ + updateState(); + updateNeedIDNumber(); + updateZipCode(); + }); + + if ($('select#id_country_invoice').length !== 0) + { + $('select#id_country_invoice').change(function(){ + updateState('invoice'); + updateNeedIDNumber('invoice'); + updateZipCode('invoice'); + }); + updateState('invoice'); + updateNeedIDNumber('invoice'); + updateZipCode('invoice'); + } +} + +function updateState(suffix) +{ + $('select#id_state'+(suffix !== undefined ? '_'+suffix : '')+' option:not(:first-child)').remove(); + var states = countries[$('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()]; + if(typeof(states) !== 'undefined') + { + $(states).each(function (key, item){ + $('select#id_state'+(suffix !== undefined ? '_'+suffix : '')).append(''); + }); + $('.id_state'+(suffix !== undefined ? '_'+suffix : '')+':hidden').fadeIn('slow');; + } + else + $('.id_state'+(suffix !== undefined ? '_'+suffix : '')).fadeOut('fast'); +} + +function updateNeedIDNumber(suffix) +{ + var idCountry = parseInt($('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()); + if ($.inArray(idCountry, countriesNeedIDNumber) >= 0) + $('.dni'+(suffix !== undefined ? '_'+suffix : '')+':hidden').fadeIn('slow'); + else + $('.dni'+(suffix !== undefined ? '_'+suffix : '')).fadeOut('fast'); +} + +function updateZipCode(suffix) +{ + var idCountry = parseInt($('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()); + if (countriesNeedZipCode[idCountry] !== 0) + $('.postcode'+(suffix !== undefined ? '_'+suffix : '')+':hidden').fadeIn('slow'); + else + $('.postcode'+(suffix !== undefined ? '_'+suffix : '')).fadeOut('fast'); +} diff --git a/themes/default/js/tools/treeManagement.js b/themes/default/js/tools/treeManagement.js new file mode 100644 index 000000000..dc308b578 --- /dev/null +++ b/themes/default/js/tools/treeManagement.js @@ -0,0 +1,57 @@ +//animate the opening of the branch (span.grower jQueryElement) +function openBranch(jQueryElement, noAnimation) { + jQueryElement.addClass('OPEN').removeClass('CLOSE'); + if(noAnimation) + jQueryElement.parent().find('ul:first').show(); + else + jQueryElement.parent().find('ul:first').slideDown(); +} +//animate the closing of the branch (span.grower jQueryElement) +function closeBranch(jQueryElement, noAnimation) { + jQueryElement.addClass('CLOSE').removeClass('OPEN'); + if(noAnimation) + jQueryElement.parent().find('ul:first').hide(); + else + jQueryElement.parent().find('ul:first').slideUp(); +} + +//animate the closing or opening of the branch (ul jQueryElement) +function toggleBranch(jQueryElement, noAnimation) { + if(jQueryElement.hasClass('OPEN')) + closeBranch(jQueryElement, noAnimation); + else + openBranch(jQueryElement, noAnimation); +} + +//when the page is loaded... +$(document).ready(function () { + //to do not execute this script as much as it's called... + if(!$('ul.tree.dhtml').hasClass('dynamized')) + { + //add growers to each ul.tree elements + $('ul.tree.dhtml ul').prev().before(" "); + + //dynamically add the '.last' class on each last item of a branch + $('ul.tree.dhtml ul li:last-child, ul.tree.dhtml li:last-child').addClass('last'); + + //collapse every expanded branch + $('ul.tree.dhtml span.grower.OPEN').addClass('CLOSE').removeClass('OPEN').parent().find('ul:first').hide(); + $('ul.tree.dhtml').show(); + + //open the tree for the selected branch + $('ul.tree.dhtml .selected').parents().each( function() { + if ($(this).is('ul')) + toggleBranch($(this).prev().prev(), true); + }); + toggleBranch( $('ul.tree.dhtml .selected').prev(), true); + + //add a fonction on clicks on growers + $('ul.tree.dhtml span.grower').click(function(){ + toggleBranch($(this)); + }); + //mark this 'ul.tree' elements as already 'dynamized' + $('ul.tree.dhtml').addClass('dynamized'); + + $('ul.tree.dhtml').removeClass('dhtml'); + } +}); diff --git a/themes/default/lang/index.php b/themes/default/lang/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default/lang/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; \ No newline at end of file diff --git a/themes/default/layout.tpl b/themes/default/layout.tpl new file mode 100644 index 000000000..6ea4bc8d0 --- /dev/null +++ b/themes/default/layout.tpl @@ -0,0 +1,29 @@ +{* +* 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 +* @copyright 2007-2013 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if !empty($display_header)}{include file="$tpl_dir./header.tpl" HOOK_HEADER=$HOOK_HEADER}{/if} +{if !empty($template)}{$template}{/if} +{if !empty($display_footer)}{include file="$tpl_dir./footer.tpl"}{/if} +{if !empty($live_edit)}{$live_edit}{/if} \ No newline at end of file diff --git a/themes/default/maintenance.tpl b/themes/default/maintenance.tpl new file mode 100644 index 000000000..2d0bace14 --- /dev/null +++ b/themes/default/maintenance.tpl @@ -0,0 +1,54 @@ +{* +* 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 +* @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 +*} + + + + + {$meta_title|escape:'html':'UTF-8'} + +{if isset($meta_description)} + +{/if} +{if isset($meta_keywords)} + +{/if} + + + + + +
      + +

      logo

      + {$HOOK_MAINTENANCE} +

      + {l s='In order to perform website maintenance, our online store will be temporarily offline.'}

      + {l s='We apologize for the inconvenience and ask that you please try again later.'} +

      + +   +
      + + diff --git a/themes/default/manufacturer-list.tpl b/themes/default/manufacturer-list.tpl new file mode 100644 index 000000000..da3b1a1c5 --- /dev/null +++ b/themes/default/manufacturer-list.tpl @@ -0,0 +1,85 @@ +{* +* 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 +* @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 +*} + +{capture name=path}{l s='Manufacturers:'}{/capture} +{include file="$tpl_dir./breadcrumb.tpl"} + +

      {l s='Manufacturers:'}

      + +{if isset($errors) AND $errors} + {include file="$tpl_dir./errors.tpl"} +{else} +

      {strip} + + {if $nbManufacturers == 0}{l s='There are no manufacturers.'} + {else} + {if $nbManufacturers == 1} + {l s='There is %d manufacturer.' sprintf=$nbManufacturers} + {else} + {l s='There are %d manufacturers.' sprintf=$nbManufacturers} + {/if} + {/if} + {/strip} +

      + + {if $nbManufacturers > 0} +
      + {include file="$tpl_dir./pagination.tpl"} + {/if} +{/if} diff --git a/themes/default/manufacturer.tpl b/themes/default/manufacturer.tpl new file mode 100644 index 000000000..1a7f230a0 --- /dev/null +++ b/themes/default/manufacturer.tpl @@ -0,0 +1,68 @@ +{* +* 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 +* @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 +*} + +{include file="$tpl_dir./breadcrumb.tpl"} + +{include file="$tpl_dir./errors.tpl"} + +{if !isset($errors) OR !sizeof($errors)} +

      {l s='List of products by manufacturer'} {$manufacturer->name|escape:'html':'UTF-8'}

      + {if !empty($manufacturer->description) || !empty($manufacturer->short_description)} +
      + {if !empty($manufacturer->short_description)} +

      {$manufacturer->short_description}

      +
      {$manufacturer->description}
      + {l s='More'} + {else} +

      {$manufacturer->description}

      + {/if} +
      + {/if} + + {if $products} +
      + {include file="$tpl_dir./pagination.tpl"} + +
      + {include file="./product-sort.tpl"} + {include file="./product-compare.tpl"} + {include file="./nbr-product-page.tpl"} +
      +
      + + {include file="./product-list.tpl" products=$products} + +
      +
      + {include file="./product-sort.tpl" paginationId='bottom'} + {include file="./product-compare.tpl" paginationId='bottom'} + {include file="./nbr-product-page.tpl" paginationId='bottom'} +
      + {include file="./pagination.tpl" paginationId='bottom'} +
      + {else} +

      {l s='No products for this manufacturer.'}

      + {/if} +{/if} diff --git a/themes/default/mobile/404.tpl b/themes/default/mobile/404.tpl new file mode 100644 index 000000000..16978f198 --- /dev/null +++ b/themes/default/mobile/404.tpl @@ -0,0 +1,48 @@ +{* +* 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 +* @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 +*} + +{capture assign='page_title'}{l s='This page is not available'}{/capture} +{include file='./page-title.tpl'} + + {* Submit à tester sur téléphone *} + {* ===================================== *} +
      +
      +

      {l s='We\'re sorry, but the Web address you\'ve entered is no longer available.'}

      +

      {l s='To find a product, please type its name in the field below.'}

      +
      +
      + +
      +
      +

      + +

      +
      + {* ===================================== *} +
      diff --git a/themes/default/mobile/address.tpl b/themes/default/mobile/address.tpl new file mode 100644 index 000000000..cc658b9c2 --- /dev/null +++ b/themes/default/mobile/address.tpl @@ -0,0 +1,240 @@ +{* +* 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 +* @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 +*} + +{capture assign='page_title'}{l s='Your address'}{/capture} +{include file='./page-title.tpl'} + +{include file="./errors.tpl"} + + + +
      +
      +

      + {if isset($id_address) && (isset($smarty.post.alias) || isset($address->alias))} + {l s='Modify address'} + {if isset($smarty.post.alias)} + "{$smarty.post.alias}" + {else} + {if isset($address->alias)}"{$address->alias|escape:'html':'UTF-8'}"{/if} + {/if} + {else} + {l s='To add a new address, please fill out the form below.'} + {/if} +

      + +
      +

      {if isset($id_address) && $id_address != 0}{l s='Your address'}{else}{l s='New address'}{/if}

      +
      + + +

      {l s='DNI / NIF / NIE'} *

      +
      + {if $vat_display == 2} +
      + {elseif $vat_display == 1} + + + {include file='./sitemap.tpl'} +
      \ No newline at end of file diff --git a/themes/default/mobile/addresses.tpl b/themes/default/mobile/addresses.tpl new file mode 100644 index 000000000..ee2e26e92 --- /dev/null +++ b/themes/default/mobile/addresses.tpl @@ -0,0 +1,62 @@ +{* +* 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 +* @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 +*} + +{capture assign='page_title'}{l s='My addresses'}{/capture} +{include file='./page-title.tpl'} + +
      + {l s='My account'} +

      {l s='Please configure your default billing and delivery addresses when placing an order. You may also add additional addresses, which can be useful for sending gifts or receiving an order at your office.'}

      +
      + {if isset($multipleAddresses) && $multipleAddresses} +

      {l s='Your addresses are listed below.'}

      +

      {l s='Be sure to update your personal information if it has changed.'}

      + {assign var="adrs_style" value=$addresses_style} +
      + +
      + {else} +

      {l s='No addresses are available.'}

      + {/if} + {l s='Add a new address'} +
      + + {include file='./sitemap.tpl'} +
      diff --git a/themes/default/mobile/authentication-choice.tpl b/themes/default/mobile/authentication-choice.tpl new file mode 100644 index 000000000..2f667c4c4 --- /dev/null +++ b/themes/default/mobile/authentication-choice.tpl @@ -0,0 +1,33 @@ +
      + + + +
      + + +
      + +{* Missing the guest checkout behaviour *} +{* ===================================== *} diff --git a/themes/default/mobile/authentication-create-account.tpl b/themes/default/mobile/authentication-create-account.tpl new file mode 100644 index 000000000..9c4825533 --- /dev/null +++ b/themes/default/mobile/authentication-create-account.tpl @@ -0,0 +1,219 @@ +
      + {$HOOK_CREATE_ACCOUNT_TOP} + + {if $b2b_enable} + + {/if} + {if isset($PS_REGISTRATION_PROCESS_TYPE) && $PS_REGISTRATION_PROCESS_TYPE} + + + {/if} + {$HOOK_CREATE_ACCOUNT_FORM} +

      + + + {if isset($back)}{/if} + + *{l s='Required field'} +

      + +
      \ No newline at end of file diff --git a/themes/default/mobile/authentication.tpl b/themes/default/mobile/authentication.tpl new file mode 100644 index 000000000..f63baec15 --- /dev/null +++ b/themes/default/mobile/authentication.tpl @@ -0,0 +1,79 @@ +{* +* 2007-2011 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 +* @copyright 2007-2011 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture assign='page_title'}{if !isset($email_create)}{l s='Authentication'}{else}{l s='Create an account'}{/if}{/capture} +{include file='./page-title.tpl'} +{include file="./errors.tpl"} + + + +{assign var='stateExist' value=false} +{assign var='postCodeExist' value=false} +{if !isset($email_create)} + {include file="./authentication-choice.tpl"} +{else} + {include file="./authentication-create-account.tpl"} +{/if} \ No newline at end of file diff --git a/themes/default/mobile/best-sales.tpl b/themes/default/mobile/best-sales.tpl new file mode 100644 index 000000000..438676a91 --- /dev/null +++ b/themes/default/mobile/best-sales.tpl @@ -0,0 +1,59 @@ +{* +* 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 +* @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 +*} + +{include file="$tpl_dir./errors.tpl"} + +{if !isset($errors) OR !sizeof($errors)} + {capture assign='page_title'}{l s='Top sellers'}{/capture} + {include file='./page-title.tpl'} + +
      + {if !empty($manufacturer->description) || !empty($manufacturer->short_description)} +
      + {if !empty($manufacturer->short_description)} +

      {$manufacturer->short_description}

      +

      {$manufacturer->description}

      + {l s='More'} + {else} +

      {$manufacturer->description}

      + {/if} +
      + {/if} + + {if $products} +
      + {include file="./category-product-sort.tpl" container_class="container-sort"} +
      +
      + {include file="./pagination.tpl"} + {include file="./category-product-list.tpl" products=$products} + {include file="./pagination.tpl"} + + {else} +

      {l s='No top sellers for the moment.'}

      + {/if} + {include file='./sitemap.tpl'} +
      +{/if} diff --git a/themes/default/mobile/category-cms-tree-branch.tpl b/themes/default/mobile/category-cms-tree-branch.tpl new file mode 100644 index 000000000..46a308d48 --- /dev/null +++ b/themes/default/mobile/category-cms-tree-branch.tpl @@ -0,0 +1,49 @@ +{* +* 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 +* @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 +*} + + +
    1. 0 || isset($node.cms) && $node.cms|@count > 0}data-icon="more"{/if}> + {$node.name|escape:'html':'UTF-8'} + {if isset($node.children) && $node.children|@count > 0} +
        + {foreach from=$node.children item=child name=categoryCmsTreeBranch} + {if isset($child.children) && $child.children|@count > 0 || isset($child.cms) && $child.cms|@count > 0} + {include file="./category-cms-tree-branch.tpl" node=$child} + {/if} + {/foreach} + {if isset($node.cms) && $node.cms|@count > 0} + {foreach from=$node.cms item=cms name=cmsTreeBranch} +
      • {$cms.meta_title|escape:'html':'UTF-8'}
      • + {/foreach} + {/if} +
      + {elseif isset($node.cms) && $node.cms|@count > 0} + + {/if} +
    2. diff --git a/themes/default/mobile/category-product-list.tpl b/themes/default/mobile/category-product-list.tpl new file mode 100644 index 000000000..23d349e67 --- /dev/null +++ b/themes/default/mobile/category-product-list.tpl @@ -0,0 +1,65 @@ +{* +* 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 +* @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 +*} + +{if isset($products)} + +{/if} diff --git a/themes/default/mobile/category-product-sort.tpl b/themes/default/mobile/category-product-sort.tpl new file mode 100644 index 000000000..0b94a2f8e --- /dev/null +++ b/themes/default/mobile/category-product-sort.tpl @@ -0,0 +1,73 @@ +{* +* 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 +* @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 +*} +{if isset($orderby) AND isset($orderway)} + {if !isset($sort_already_display)} + {assign var='sort_already_display' value='true' scope="global"} + + {if isset($smarty.get.id_category) && $smarty.get.id_category} + {assign var='request' value=$link->getPaginationLink('category', $category, false, true)} + {elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer} + {assign var='request' value=$link->getPaginationLink('manufacturer', $manufacturer, false, true)} + {elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier} + {assign var='request' value=$link->getPaginationLink('supplier', $supplier, false, true)} + {else} + {assign var='request' value=$link->getPaginationLink(false, false, false, true)} + {/if} + + + {/if} + +
      +
      + +
      +
      + +{/if} diff --git a/themes/default/mobile/category-tree-branch.tpl b/themes/default/mobile/category-tree-branch.tpl new file mode 100644 index 000000000..6daebffb8 --- /dev/null +++ b/themes/default/mobile/category-tree-branch.tpl @@ -0,0 +1,44 @@ +{* +* 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 +* @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 +*} + +
    3. 0}data-icon="more"{/if}> + {if $node.children|@count > 0} + {$node.name|escape:'html':'UTF-8'} +
        +
      • + + {l s='See products'} + +
      • + {foreach from=$node.children item=child name=categoryTreeBranch} + {include file="$tpl_dir./category-tree-branch.tpl" node=$child} + {/foreach} +
      + {else} + + {$node.name|escape:'html':'UTF-8'} + + {/if} +
    4. diff --git a/themes/default/mobile/category.tpl b/themes/default/mobile/category.tpl new file mode 100644 index 000000000..a3dbb8a3e --- /dev/null +++ b/themes/default/mobile/category.tpl @@ -0,0 +1,65 @@ +{* +* 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 +* @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 +*} + +{if isset($category)} + {if $category->id AND $category->active} +{capture assign='page_title'} + {strip} + {$category->name|escape:'html':'UTF-8'} + {if isset($categoryNameComplement)} + {$categoryNameComplement|escape:'html':'UTF-8'} + {/if} + {/strip} +{/capture} +{include file='./page-title.tpl'} +
      + {if $category->description} +
      + {if !empty($category->short_description)} +

      {$category->short_description}

      +

      {$category->description}

      + {l s='More'} + {else} +

      {$category->description}

      + {/if} +
      +
      + {/if} +
      + {include file="./category-product-sort.tpl" container_class="container-sort"} +

      {include file="$tpl_dir./category-count.tpl"}

      +
      +
      + + {include file="./pagination.tpl"} + {include file="./category-product-list.tpl" products=$products} + {include file="./pagination.tpl"} + + {include file='./sitemap.tpl'} + {elseif $category->id} +

      {l s='This category is currently unavailable.'}

      + {/if} +
      +{/if} diff --git a/themes/default/mobile/cms.tpl b/themes/default/mobile/cms.tpl new file mode 100644 index 000000000..75981afb7 --- /dev/null +++ b/themes/default/mobile/cms.tpl @@ -0,0 +1,65 @@ +{* +* 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 +* @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 +*} + +{capture assign='page_title'} + {if isset($cms) && !isset($category)} + {$cms->meta_title} + {elseif isset($category)} + {$category->name|escape:'html':'UTF-8'} + {/if} +{/capture} +{include file='./page-title.tpl'} +
      +{if isset($cms) && !isset($category)} +
      + {$cms->content} +
      +{elseif isset($category)} +
      + {if isset($sub_category) & !empty($sub_category)} +

      {l s='List of sub categories in %s:' sprintf=$category->name}

      + + {/if} + {if isset($cms_pages) & !empty($cms_pages)} +

      {l s='List of pages in %s:' sprintf=$category->name}

      + + {/if} +
      +{else} + {l s='This page does not exist.'} +{/if} +
      diff --git a/themes/default/mobile/contact-form.tpl b/themes/default/mobile/contact-form.tpl new file mode 100644 index 000000000..15eb57c8e --- /dev/null +++ b/themes/default/mobile/contact-form.tpl @@ -0,0 +1,108 @@ +{* +* 2007-2011 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 +* @copyright 2007-2011 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture assign='page_title'}{l s='Contact'}{/capture} +{include file='./page-title.tpl'} + +
      +

      {l s='For questions about an order or for more information about our products'}.

      + {include file="./errors.tpl"} +
      + {if isset($customerThread.id_contact)} + {foreach from=$contacts item=contact} + {if $contact.id_contact == $customerThread.id_contact} + + + {/if} + {/foreach} + {else} + + +

       

      + {foreach from=$contacts item=contact} + + {/foreach} + {/if} + +
      + {if isset($customerThread.email)} + + {else} + + {/if} +
      + + {if !$PS_CATALOG_MODE} + {if (!isset($customerThread.id_order) || $customerThread.id_order > 0)} +
      + {if !isset($customerThread.id_order) && isset($isLogged) && $isLogged == 1} + + {elseif !isset($customerThread.id_order) && !isset($isLogged)} + + {elseif $customerThread.id_order > 0} + + {/if} +
      + {/if} + {if isset($isLogged) && $isLogged} +
      + + {if !isset($customerThread.id_product)} + {foreach from=$orderedProductList key=id_order item=products name=products} + + {/foreach} + {elseif $customerThread.id_product > 0} + + {/if} +
      + {/if} + {/if} + +
      + +
      + +
      + +
      +
      + + {include file='./sitemap.tpl'} +
      \ No newline at end of file diff --git a/themes/default/mobile/css/global.css b/themes/default/mobile/css/global.css new file mode 100644 index 000000000..6d2a67a82 --- /dev/null +++ b/themes/default/mobile/css/global.css @@ -0,0 +1,1215 @@ +/* ################################################################################################ + GLOBAL +################################################################################################ */ +#hook_mobile_top_site_map { + margin-top:5px; +} + +.center { + text-align:center; +} + +.right { + text-align:right; +} + +.qty-field { + width:50px!important; +} + +.hide { + display:none; +} + +.fl { + float:left; +} + +.clear { + clear:both; +} + +.width-15 { + width:15%; +} + +.width-20 { + width:20%; +} + +.width-40 { + width:40%; +} + +.width-60 { + width:60%; +} + +.width-70 { + width:70%; +} + +.width-100 { + width:100%; +} + +.padding-left-5px { + padding-left:5px; +} + +.margin-bottom-10px { + margin-bottom:10px; +} + +.ui-btn-up-a .ui-btn-text:visited,.ui-btn-hover-a .ui-btn-text:visited,.ui-btn-down-a .ui-btn-text:visited,.ui-btn-hover-a .ui-btn-text:hover,.ui-btn-up-a .ui-btn-text:hover,.ui-btn-down-a .ui-btn-text:hover,.ui-btn-hover-a .ui-btn-text,.ui-btn-down-a .ui-btn-text,.ui-btn-up-a .ui-btn-text { + color:#fff; +} + +.to_delete { + background-color:red; + color:#fff; + font-size:12pt; + text-shadow:none; + padding:5px; +} + +/* JQUERY MOBILE */ +.ui-content { + overflow-y:hidden; + background:none !important; +} + +.ui-page > .ui-content { + padding:15px !important; +} + +section .ui-content { + padding:0!important; +} + +.ui-header .ui-title,.ui-footer .ui-title { + margin:.5em 20px .8em; + font-size:20px; + text-align:left; +} + +.ui-icon-prestashop-pdf { + background:url(../../img/icon/pdf.gif) no-repeat; +} + +.ui-mobile fieldset { + margin-bottom:15px; + border:none; +} + +.ui-field-contain { + padding:0; +} + +.ui-content .ui-listview { + margin:0; +} + +.ui-input-search .ui-input-clear { + right:5px; +} + +label.ui-select { + top:5px; + vertical-align:top; +} + +/*.ui-controlgroup-horizontal .ui-select {margin:-5px 0 0 0}*/ +.required.bold,.required sup { + color:#900; + font-weight:700; +} + +.warning { + margin:10px 0; + padding:10px; + border:1px solid #E6DB55; + font-size:13px; + background:#ffffe0; +} + +.error-box,.error { + margin:10px 0; + padding:10px; + border:1px solid red; + font-size:13px; + background:#ffb6c1; +} + +.error-box ol,.error ol { + margin:0; + padding:0 50px; +} + +.ui-listview p,.ui-listview h3 { + padding:0; +} + +.ui-listview p { + margin-top:-.5em; +} + +.without-margin { + margin:0; +} + +.without-padding { + padding:0; +} + +/* title *************************************************************************************** */ +h1 { + font-size:20px; +} + +h2 { + margin:0 0 .6em; + font-size:18px; +} + +h3 { + padding-bottom:14px; + font-size:16px; +} + +h4 { + font-size:14px; +} + +/* text **************************************************************************************** */ +p { + padding-bottom:10px; + font-size:12px; +} + +.txt-center { + text-align:center; +} + +/* link **************************************************************************************** */ +a,a:active,a:visited { + color:#333; + text-decoration:none; + outline:none; +} + +/* errors box ************************************************************************************* */ +.error-box { + display:block; + background-color:#FFB200; + background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0.0,#ffd573),color-stop(1,#FEEFB3)); + background-image:-o-linear-gradient(top,#ffd573,#FEEFB3); + background-image:-moz-linear-gradient(center top,#ffd573 0%,#FEEFB3 100%); + border:1px solid #9E6014; + opacity:.96; + position:fixed; + top:100px; + font-family:arial,sans-serif; + width:80%; + left:10%; + padding:20px 10px; + -moz-border-radius:.6em; + -webkit-border-radius:.6em; + border-radius:.6em; + color:#9E6014; + z-index:1000; +} + +.error-box ol { + margin:0; + padding:0; +} + +.error-box .close-bt { + position:absolute; + top:5px; + right:10px; +} + +/* form **************************************************************************************** */ +.ui-mobile fieldset { + margin:0 0 15px; +} + +hr { + margin:30px 0 10px; +} + +hr.margin_bottom { + margin:10px 0 30px; +} + +hr.margin_less { + margin:10px 0; +} + +.clearfix:before,.clearfix:after { + content:"."; + display:block; + height:0; + overflow:hidden; +} + +.clearfix:after { + clear:both; +} + +.clearfix { + zoom:1; +} + +.ui-br { + border:none; +} + +/* PAGINATION */ +.pagination { + position:relative; + margin:5px 0; + text-align:center; +} + +ul.pagination_mobile { + float:right; +} + +.pagination_mobile li { + float:left; +} + +.pagination_mobile .disabled,.pagination_mobile .disabled .ui-btn-inner { + background-color:#DDD; + color:#aaa; + cursor:default; +} + +.pagination_mobile .current .ui-btn { + cursor:default; +} + +.pagination_mobile .current .ui-btn-down-c { + color:#fff; +} + +.pagination_mobile .disabled .ui-btn-inner { + border-top:1px solid #ddd; +} + +.pagination_mobile .ui-btn-inner { + padding:.6em 10px; + font-size:80%; +} + +.pagination_mobile .pagination_next .ui-btn-inner { + padding:.6em 35px .6em 10px; +} + +.pagination_mobile .pagination_previous .ui-btn-inner { + padding:.6em 10px .6em 35px; +} + +.pagination ul { + margin:2px 0 0; + padding:0; + list-style-type:none; +} + +.pagination li { + display:inline-block; +} + +/*.pagination li a, + .pagination li.active { + display:inline-block; + padding:2px 10px; + color:#666 !important; + text-decoration:none; + border:1px solid #ccc; + }*/ +.pagination li.active { + color:#888!important; + border:1px solid #eee; +} + +.pagination li a:hover { + color:#333!important; + border:1px solid #333; +} + +.pagination .btnnprevious { + position:absolute; + top:2px; + left:5px; + height:26px; + width:26px; + text-indent:-5000px; + background:#333; +} + +.pagination .btnnext { + position:absolute; + top:2px; + right:5px; + height:26px; + width:26px; + text-indent:-5000px; + background:#333; +} + +/* button */ +.button_next { + float:right; +} + +/* check form */ +.valid { + border:1px solid green; +} + +.invalid { + border:1px solid red; +} + +#account-creation_form p.select .ui-select .ui-icon { + background:none; +} + +/* ################################################################################################ + HEADER +################################################################################################ */ +/*#header { + position:relative; + height:122px; + font-weight:normal !important; + font-size:10pt; + color:#333; + text-shadow:none; + border:0 !important; + background:none !important; +} + #header a { + color:#333; + text-decoration:none; + } + + #logo { + position:absolute; + top:0; + left:0; + z-index:10; + } + + .shoppingbag { + margin:10px 0 2px 0; + padding:2px 5px 4px 5px; + color:#fff; + background:#383838; + } + .shoppingbag a {color:#fff !important;} + .shoppingbag span { + font-size:8pt + } + .quicklink { + margin:5px 0; + padding:0 5px; + } + .login { + margin:25px 0; + padding:0 5px; + font-size:8pt; + }*/ +/* HEADER */ +#header { + padding-bottom:10px; +} + +#header .ui-block-a img { + display:block; + margin:10px; +} + +/* NAVBAR TOP */ +.navbartop { + height:42px; + background:#383838; +} + +.navbarcontent { + height:32px; + background:#ccc; +} + +.navbarcontent h3 { + margin:0; +} + +.navbartop .btnopen { + text-indent:-5000px; +} + +.link_cart { + background:url(../img/img_cart.png) 0 2px no-repeat; + padding:5px 5px 5px 30px; + text-decoration:none; + float:right; +} + +.link_account { + background:url(../img/icon/my-account.png) 0 5px no-repeat; + padding:5px 5px 5px 20px; + text-decoration:none; + float:right; +} + +.input_search { + margin:0 10px 10px 0; + text-align:right; +} + +#block_cart { + margin:10px; +} + +/* ################################################################################################ + CONTENT +################################################################################################ */ +#content { +} + +/* ################################################################################################ + FOOTER +################################################################################################ */ +#footer { + margin-top:20px; +} + +#newsletter { + margin:0 auto; + width:96%; +} + +#newsletter .ui-field-contain label.ui-input-text { + width:auto; +} + +/*#newsletter .ui-btn { + position:relative; + top:8px; +}*/ +h2.site_map { + text-align:center; +} + +#lnk_footer { + margin:0 auto; + padding:2%; + background:#ddd; +} + +#lnk_footer li .ui-btn { + display:inline-block; + text-align:left!important; +} + +#lnk_footer .ui-btn-up-a,#lnk_footer .ui-btn-hover-a { + color:#333; + text-shadow:none!important; + border:none!important; + background:none!important; +} + +#lnk_footer .ui-btn-hover-a { + text-decoration:underline; +} + +#lnk_footer .ui-btn-inner { + padding:2px!important; + border:0; +} + +#footer .ui-field-contain { + text-align:center; +} + +#account_link { + text-align:center; + padding:10px 0; +} + +#account_link .ui-block-a { + width:46%; + padding:0 2%; + text-align:right; +} + +#account_link .ui-block-b { + width:46%; + padding:0 2%; + text-align:left; +} + +#bar_footer { + margin:10px 0 0; +} + +#link_bar_footer { + padding:15px 0; +} + +#link_bar_footer .ui-block-a { + width:46%; + padding:0 2%; +} + +#link_bar_footer .ui-block-b { + width:46%; + padding:0 2%; + text-align:right; +} + +.ui-body-c #footer #account_link .ui-link { + color:#333!important; +} + +.ui-body-c #footer #link_bar_footer .ui-link { + color:#fff!important; +} + +/* ################################################################################################ + HOMEPAGE +################################################################################################ */ +#slider { + margin:0 0 10px; +} + +#highlight { + margin:0 0 10px; +} + +#category { + margin:0 0 10px; +} + +/* ################################################################################################ + CATEGORY +################################################################################################ */ +#category h1 { + text-align:left; +} + +#category .container-sort { + float:right; +} + +#category .container-sort-bottom { + float:left; +} + +#category-list .ui-li-thumb { + float:none; + position:relative; +} + +#category-list .ui-block-a .ui-btn-inner { + border-right:1px solid #ccc; +} + +#category-list .ui-li-heading { + height:45px; + white-space:normal; +} + +#category-list .ui-li-price { + text-align:right; + color:#900; + font-size:12pt; + font-weight:700; +} + +#category-list .ui-li-price-info { + text-align:right; + font-size:7pt; + text-transform:uppercase; +} + +#category-list .ui-li-price-info span { + display:inline-block; +} + +#category-list .ui-li-price-info.discount span { + background-color:#9B0000; + color:#fff; + text-shadow:none; +} + +#category-list .ui-btn-icon-right .ui-icon { + display:none; +} + +.product-list-row { + margin-right:0!important; + margin-left:0!important; +} + +/* ################################################################################################ + CART +################################################################################################ */ +.price_on_accordion_cart { + position:fixed; + right:30px; + padding:4px; + background:red; + border-radius:50%; +} + +.accordeon_cart .test { + margin:0; +} + +.accordeon_cart div.ui-collapsible-content { + margin:0; +} + +.information_details_cart p { + margin-top:10px; +} + +.total_price .ui-bar h3 { + display:block; + text-align:right; +} + +.cart_total_bar h3 { + margin:0 0 10px; +} + +.cart_total_bar .btn-row { + text-align:right; +} + +.cart_total_bar .ui-btn { + margin:10px 0 0; + display:inline-block; +} + +.total_price p { + margin:5px 0; + font-size:12px; + text-align:right; +} + +.cart img.img_product_cart { + margin-top:.7em; + border-radius:0; +} + +.ui-controlgroup.grouped_buttons_card,fieldset.ui-controlgroup.grouped_buttons_card { + margin:0; +} + +.grouped_buttons_card,.display_block_card_product { + text-align:center; + margin-top:10px; +} + +/* ################################################################################################ + PRODUCT +################################################################################################ */ +/* .second_container{ + float: left; + margin-top:0; + margin:0 1%; + padding:0 1%; + width: 96%; + text-align:center + } + .first_container{ + margin:0 1%; + padding:0 1%; + width:96%; + float:left; + text-align:center +}*/ +.category_desc { + margin:0 0 10px; + padding:10px 5px; + border:1px solid #ccc; + box-shadow:1px 1px 2px #ccc; + -moz-border-radius:5px; + -webkit-border-radius:5px; + border-radius:5px; +} + +.category_desc p { + margin:0; + padding:0; +} + +.category_desc .hide_desc { + display:none; +} + +.category_desc .lnk_more { + float:right; +} + +.category_desc .lnk_more .ui-btn-inner { + font-size:80%; + padding:.4em 10px .4em 33px; +} + +#product_title h1 { + width:62%; + margin-left:5%; + float:left; +} + +#product_title span { + width:25%; + margin:14px 3% 10px 5%; + font-size:20px; + font-weight:700; + text-align:right; + float:left; +} + +.product_img_wrapper { + text-align:center; +} + +.product_img_wrapper img { + width:95%; + max-width:none; + max-height:none; + margin:0; +} + +#attributes-1 .ui-select { + float:left; +} + +#select_attributes .ui-select { + float:left; +} + +.product_page { + text-align:center; +} + +.description { + text-align:left; +} + +.quantite { + text-align:left; +} + +.img_product { + margin:0 auto; +} + +.img_product_list { + margin:0 auto; +} + +.view_product { + background:#fff; +} + +.view_product .view_full_size { + text-align:center; +} + +.view_product .thumbs_list_frame { + list-style-type:none; +} + +.view_product .thumbs_list_frame li { + float:left; +} + +.view_product .thumbs_list_frame li img { + margin:0 6px; + border:1px solid #CDCDCD; +} + +.list_view { + text-align:center; +} + +#product_page { + width:100%; +} + +.ui-btn.disabled,.ui-btn.disabled .ui-btn-inner { + background-color:#DDD; + color:#aaa; + cursor:default; +} + +.ui-btn.disabled .ui-btn-inner { + border-top:1px solid #ddd; +} + +.ui-btn.disabled button,.ui-btn.disabled input { + cursor:default; +} + +.ui-btn-hover-c.disabled { + border:1px solid #CCC; +} + +.content_prices .online_only { + font-weight:700; + font-size:10pt; + color:#900; + text-transform:uppercase; + margin:0; + padding:0; +} + +.content_prices .price { + text-align:right; +} + +.content_prices .price .on_sale { + background-color:#F8DC0C; + padding:2px 5px; + font-size:12pt; + border:1px solid #DDA84E; + margin:2px 0; + display:inline-block; +} + +.content_prices .price p { + margin:0; + padding:0; +} + +.content_prices .price .old_price_display { + text-decoration:line-through; + font-size:11pt; +} + +.content_prices .price .old_price .reduction_amount_display,.content_prices .price .old_price .reduction_percent { + background-color:#9B0000; + color:#fff; + text-shadow:none; + padding:0 5px; + margin:0 0 0 5px; + font-weight:700; +} + +.content_prices .price .our_price_display { + color:#900; + font-size:21pt; + font-weight:700; +} + +.content_prices .price .unit-price,.content_prices .price .price-ecotax { + margin:10px 0 0; +} + +#more_info_block ul li { + font-size:9pt; +} + +.accessories_block ul { + list-style-type:none; + margin:0; + padding:0; +} + +.accessories_block li { + background-color:#111; + border-bottom:1px solid #555; + padding:5px; +} + +.accessories_block li.last_item { + border:none; +} + +.accessories_block li .col-left { + word-wrap:break-word; + float:left; +} + +.accessories_block li .col-right { + float:right; + width:100%; + margin:0 0 0 -68px; +} + +.accessories_block li .col-right .inner { + margin:0 0 0 78px; +} + +.accessories_block li .col-right .inner p,.accessories_block li .col-right .inner .s_title_block { + margin:0; + color:#fff; +} + +.accessories_block li .col-right .inner .s_title_block { + font-size:10pt; +} + +.accessories_block li .col-right .inner p { + color:#aaa; +} + +.accessories_block li .price { + text-align:right; + font-size:14pt; + font-weight:700; +} + +.accessories_block li .btn-row { + text-align:right; +} + +/*.third_container{float:left}*/ +/* ################################################################################################ + PRODUCT +################################################################################################ */ +/* ################################################################################################ + 404 +################################################################################################ */ +#not_found { + padding:3%; +} + +.input_search_404 { + text-align:center; +} + +.nbr_result { + position:relative; + top:6px; + font-size:14px; +} + +/* ################################################################################################ + OPC +################################################################################################ */ +h3.bg { + padding:8px; + color:#fff; + background:#666; + text-shadow:0 1px 0 #000!important; +} + +.block { + margin:10px 0; + padding:10px; + border:1px solid #bbb; + background:#dbdbdb; +} + +.block h3 { + margin-top:0; +} + +ul.adress { + list-style-type:none; + margin:0; + padding:0 0 0 10px; +} + +#cart { +} + +#cart h3 { + margin:0; + padding:0; +} + +#cart input { + margin:5px 0; +} + +#cart .ui-li-desc { + margin:0; +} + +#voucher { +} + +#voucher h3 { + margin:0; +} + +#cart_price .ui-btn-up-c { + border:none; + background:none; +} + +.lnk_CGV { + padding:0; +} + +/* ################################################################################################ + LOGIN +################################################################################################ */ +.login_form .submit_button { + float:right; +} + +.login_form .forget_pwd { + margin:5px 0 0; + padding:0; + font-size:.8em; +} + +.login_form .ui-btn { + float:right; +} + +/* ################################################################################################ + CATEGORY +################################################################################################ */ +#category-list li a { + position:relative; +} + +#category-list li .ui-li-desc { + padding:0; + margin:0; +} + +#category-list li .ui-li-price-info span { + padding:2px 5px; +} + +.new { + position:absolute; + top:17px; + right:-22px; + margin:0; + padding:2px 0; + width:100px; + text-align:center; + background-color:rgba(162,29,28,0.9); + -moz-transform:rotate(45deg); + -webkit-transform:rotate(45deg); + -o-transform:rotate(45deg); + color:#fff; + text-shadow:none; + text-transform:uppercase; + font-size:8pt; +} + +#category-list .online_only { + position:absolute; + margin:0; + padding:0; + top:32px; + right:-29px; + margin:0; + padding:2px 0; + width:142px; + text-align:center; + background-color:rgba(0,0,0,0.5); + -moz-transform:rotate(45deg); + -webkit-transform:rotate(45deg); + -o-transform:rotate(45deg); + text-shadow:none; + text-transform:uppercase; + font-size:8pt; + color:#fff; +} + +/* ################################################################################################ + MY ACCOUNT +################################################################################################ */ +#list_myaccount .ui-li-icon { + top:.7em; +} + +.lnk_my-account_home { + display:block; + padding:20px 0 0; +} + +/* ################################################################################################ + LAYERED +################################################################################################ */ +#layered { +} + +#layered h3 { + margin:30px 0 0; +} + +#layered .color-option { + margin-left:0; + margin-right:5px; + padding:0; + height:16px; + display:inline-block; + width:16px; + border:1px solid #666; +} + +/* ################################################################################################ + Manufacturer +################################################################################################ */ +.nbrmanufacturer { + margin:15px 0 10px; + padding:8px 7px; + font-size:12px; + color:#000; + background:none repeat scroll 0 0 #ddd; +} + +/* ################################################################################################ + STORES +################################################################################################ */ +#stores_search_block { + margin-top:20px; + padding-left:10px; +} + +.stores_block { + margin-top:25px; + display:none; +} + +.stores_block .ui-listview span.image { + display:table-cell; + position:absolute; + left:0; + top:0; + vertical-align:middle; + width:80px; + height:80px; +} + +.stores_block .ui-listview span img { + position:relative; + display:inline; + vertical-align:middle; +} + +#full-site-section a { + font-weight:400; + font-size:12px; +} + +#authentication #account-creation_form p.select label { + display:inline; + font-size:16px; + font-weight:400; + line-height:1.4; + margin:0 0 .3em; + padding:0; +} + +#authentication #account-creation_form div.ui-radio label span { + text-align:center; +} \ No newline at end of file diff --git a/themes/default/mobile/css/index.php b/themes/default/mobile/css/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/mobile/css/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/mobile/css/jqm-docs.css b/themes/default/mobile/css/jqm-docs.css new file mode 100644 index 000000000..c7eb1d208 --- /dev/null +++ b/themes/default/mobile/css/jqm-docs.css @@ -0,0 +1,288 @@ +/* jqm docs css + +Beware: lots of last-minute CSS going on in here +cobblers, shoes, +*/ + +body { background: #dddddd; } +.ui-mobile .type-home .ui-content { margin: 0; background:#e5e5e5; } +.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center; margin: 0 auto; } +.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; } +.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; } +.ui-mobile #jqm-version { text-indent: -99999px;width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: -11px; right: 0; } +.ui-mobile .jqm-themeswitcher { margin: 10px 25px 10px 10px; } + +h2 { margin:1.2em 0 .4em 0; } +p code { font-size:1.2em; font-weight:bold; } + +dt { font-weight: bold; margin: 2em 0 .5em; } +dt code, dd code { font-size:1.3em; line-height:150%; } +pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } + +#jqm-homeheader img { width: 235px; } +img { max-width: 100%; } + +.ui-header .jqm-home { top:0.65em; } +nav { margin: 0; } + +p.intro { + font-size: .96em; + line-height: 1.3; + border-top: 1px solid #75ae18; + border-bottom: 0; + background: none; + margin: 1.5em 0; + padding: 1.5em 15px 0; + +} +p.intro strong { + color: #558e08; +} +.footer-docs { + padding: 5px 0; +} +.footer-docs p { + float: left; + margin-left:15px; + font-weight: normal; + font-size: .9em; +} + +.type-interior .content-secondary { + border-right: 0; + border-left: 0; + margin: 10px -15px 0; + background: #fff; + border-top: 1px solid #ccc; +} +.type-home .ui-content { + margin-top: 5px; +} +.type-interior .ui-content { + padding-bottom: 0; +} +.content-secondary .ui-collapsible { + padding: 0 15px 10px; + +} +.content-secondary .ui-collapsible-content { + padding: 0; + background: none; + border-bottom: none; +} +.content-secondary .ui-listview { + margin: 0; +} +/* new API additions */ + +dt { + margin: 35px 0 15px 0; + background-color:#ddd; + font-weight:normal; +} +dt code { + display:inline-block; + font-weight:bold; + color:#56A00E; + padding:3px 7px; + margin-right:10px; + background-color:#fff; +} +dd { + margin-bottom:10px; +} +dd .default { font-weight:bold; } +dd pre { + margin:0 0 0 0; +} +dd code { font-weight: normal; } +dd pre code { + margin:0; + border:none; + font-weight:normal; + font-size:100%; + background-color:transparent; +} +dd h4 { margin:15px 0 0 0; } + +.localnav { + margin:0 0 20px 0; + overflow:hidden; +} +.localnav li { + float:left; +} +.localnav .ui-btn-inner { + padding: .6em 10px; + font-size:80%; +} + + +/* F bar theme - just for the docs overview headers */ +.ui-bar-f { + border: 1px solid #56A00E; + background: #74b042; + color: #fff; + font-weight: bold; + text-shadow: 0 -1px 1px #234403; + background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */ + background-image: -webkit-linear-gradient(top, #74b042, #56A00E); /* Chrome 10+, Saf5.1+ */ + background-image: -moz-linear-gradient(top, #74b042, #56A00E); /* FF3.6 */ + background-image: -ms-linear-gradient(top, #74b042, #56A00E); /* IE10 */ + background-image: -o-linear-gradient(top, #74b042, #56A00E); /* Opera 11.10+ */ + background-image: linear-gradient(top, #74b042, #56A00E); +} +.ui-bar-f, +.ui-bar-f .ui-link-inherit { + color:#fff; +} +.ui-bar-f .ui-link { + color:#fff; + font-weight: bold; +} + + + + +/* docs site layout */ + +@media all and (min-width: 650px){ + + .jqm-home { + position: absolute; + left: 10px; + top: 0; + } + .type-home .ui-content { + margin-top: 5px; + } + .ui-mobile #jqm-homeheader { + max-width: 340px; + } + .ui-mobile .jqm-themeswitcher { + float: right; + } + p.intro { + margin: 2em 0; + } + .type-home .ui-content, + .type-interior .ui-content { + padding: 0; + background: url(../img/px-ccc.gif) 50% 0 repeat-y; + } + .type-interior .ui-content { + background-position: 45%; + overflow: hidden; + } + .content-secondary { + text-align: left; + float: left; + width: 45%; + background: none; + } + .content-secondary, + .type-interior .content-secondary { + margin: 30px 0 20px 2%; + padding: 20px 4% 0 0; + background: none; + border-top: none; + } + .type-index .content-secondary { + padding: 0; + } + .content-secondary .ui-collapsible { + margin: 0; + padding: 0; + } + .content-secondary .ui-collapsible-content { + border: none; + } + .type-index .content-secondary .ui-listview { + margin: 0; + } + + .ui-mobile #jqm-homeheader { + padding: 0; + } + .content-primary { + width: 45%; + float: right; + margin-top: 30px; + margin-right: 1%; + padding-right: 1%; + } + .content-primary ul:first-child { + margin-top: 0; + } + .content-secondary h2 { + position: absolute; + left: -9999px; + } + .type-interior .content-primary { + padding: 1.5em 6% 3em 0; + margin: 0; + } + /* fix up the collapsibles - expanded on desktop */ + .content-secondary .ui-collapsible-heading { + display: none; + } + .content-secondary .ui-collapsible-contain { + margin:0; + } + .content-secondary .ui-collapsible-content { + display: block; + margin: 0; + padding: 0; + } + .type-interior .content-secondary .ui-li-divider { + padding-top: 1em; + padding-bottom: 1em; + } + .type-interior .content-secondary { + margin: 0; + padding: 0; + } + +} +@media all and (min-width: 750px){ + .type-home .ui-content, + .type-interior .ui-content { + background-position: 39%; + } + .content-secondary { + width: 34%; + } + .content-primary { + width: 56%; + padding-right: 1%; + } + .type-interior .ui-content { + background-position: 34%; + } +} + +@media all and (min-width: 1200px){ + .type-home .ui-content{ + background-position: 38.5%; + } + .type-interior .ui-content { + background-position: 30%; + } + .content-secondary { + width: 30%; + padding-right:6%; + margin: 30px 0 20px 5%; + } + .type-interior .content-secondary { + margin: 0; + padding: 0; + } + .content-primary { + width: 50%; + margin-right: 5%; + padding-right: 3%; + } + .type-interior .content-primary { + width: 60%; + } +} \ No newline at end of file diff --git a/themes/default/mobile/css/jquery.mobile-1.3.0.min.css b/themes/default/mobile/css/jquery.mobile-1.3.0.min.css new file mode 100644 index 000000000..647280721 --- /dev/null +++ b/themes/default/mobile/css/jquery.mobile-1.3.0.min.css @@ -0,0 +1,2 @@ +/*! jQuery Mobile vGit Build: SHA1: 3d48d6517f808550ee402a2859feedec13b0a3fe <> Date: Tue Feb 19 15:25:22 2013 -0800 jquerymobile.com | jquery.org/license !*/ +.ui-bar-a{border:1px solid #333;background:#111;color:#fff;font-weight:bold;text-shadow:0 -1px 0 #000;background-image:-webkit-gradient(linear,left top,left bottom,from( #3c3c3c ),to( #111 ));background-image:-webkit-linear-gradient( #3c3c3c,#111 );background-image:-moz-linear-gradient( #3c3c3c,#111 );background-image:-ms-linear-gradient( #3c3c3c,#111 );background-image:-o-linear-gradient( #3c3c3c,#111 );background-image:linear-gradient( #3c3c3c,#111 )}.ui-bar-a,.ui-bar-a input,.ui-bar-a select,.ui-bar-a textarea,.ui-bar-a button{font-family:Helvetica,Arial,sans-serif}.ui-bar-a .ui-link-inherit{color:#fff}.ui-bar-a a.ui-link{color:#7cc4e7;font-weight:bold}.ui-bar-a a.ui-link:visited{color:#2489ce}.ui-bar-a a.ui-link:hover{color:#2489ce}.ui-bar-a a.ui-link:active{color:#2489ce}.ui-body-a,.ui-overlay-a{border:1px solid #444;background:#222;color:#fff;text-shadow:0 1px 0 #111;font-weight:normal;background-image:-webkit-gradient(linear,left top,left bottom,from( #444 ),to( #222 ));background-image:-webkit-linear-gradient( #444,#222 );background-image:-moz-linear-gradient( #444,#222 );background-image:-ms-linear-gradient( #444,#222 );background-image:-o-linear-gradient( #444,#222 );background-image:linear-gradient( #444,#222 )}.ui-overlay-a{background-image:none;border-width:0}.ui-body-a,.ui-body-a input,.ui-body-a select,.ui-body-a textarea,.ui-body-a button{font-family:Helvetica,Arial,sans-serif}.ui-body-a .ui-link-inherit{color:#fff}.ui-body-a .ui-link{color:#2489ce;font-weight:bold}.ui-body-a .ui-link:visited{color:#2489ce}.ui-body-a .ui-link:hover{color:#2489ce}.ui-body-a .ui-link:active{color:#2489ce}.ui-btn-up-a{border:1px solid #111;background:#333;font-weight:bold;color:#fff;text-shadow:0 1px 0 #111;background-image:-webkit-gradient(linear,left top,left bottom,from( #444 ),to( #2d2d2d ));background-image:-webkit-linear-gradient( #444,#2d2d2d );background-image:-moz-linear-gradient( #444,#2d2d2d );background-image:-ms-linear-gradient( #444,#2d2d2d );background-image:-o-linear-gradient( #444,#2d2d2d );background-image:linear-gradient( #444,#2d2d2d )}.ui-btn-up-a:visited,.ui-btn-up-a a.ui-link-inherit{color:#fff}.ui-btn-hover-a{border:1px solid #000;background:#444;font-weight:bold;color:#fff;text-shadow:0 1px 0 #111;background-image:-webkit-gradient(linear,left top,left bottom,from( #555 ),to( #383838 ));background-image:-webkit-linear-gradient( #555,#383838 );background-image:-moz-linear-gradient( #555,#383838 );background-image:-ms-linear-gradient( #555,#383838 );background-image:-o-linear-gradient( #555,#383838 );background-image:linear-gradient( #555,#383838 )}.ui-btn-hover-a:visited,.ui-btn-hover-a:hover,.ui-btn-hover-a a.ui-link-inherit{color:#fff}.ui-btn-down-a{border:1px solid #000;background:#222;font-weight:bold;color:#fff;text-shadow:0 1px 0 #111;background-image:-webkit-gradient(linear,left top,left bottom,from( #202020 ),to( #2c2c2c ));background-image:-webkit-linear-gradient( #202020,#2c2c2c );background-image:-moz-linear-gradient( #202020,#2c2c2c );background-image:-ms-linear-gradient( #202020,#2c2c2c );background-image:-o-linear-gradient( #202020,#2c2c2c );background-image:linear-gradient( #202020,#2c2c2c )}.ui-btn-down-a:visited,.ui-btn-down-a:hover,.ui-btn-down-a a.ui-link-inherit{color:#fff}.ui-btn-up-a,.ui-btn-hover-a,.ui-btn-down-a{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-b{border:1px solid #456f9a;background:#5e87b0;color:#fff;font-weight:bold;text-shadow:0 1px 0 #3e6790;background-image:-webkit-gradient(linear,left top,left bottom,from( #6facd5 ),to( #497bae ));background-image:-webkit-linear-gradient( #6facd5,#497bae );background-image:-moz-linear-gradient( #6facd5,#497bae );background-image:-ms-linear-gradient( #6facd5,#497bae );background-image:-o-linear-gradient( #6facd5,#497bae );background-image:linear-gradient( #6facd5,#497bae )}.ui-bar-b,.ui-bar-b input,.ui-bar-b select,.ui-bar-b textarea,.ui-bar-b button{font-family:Helvetica,Arial,sans-serif}.ui-bar-b .ui-link-inherit{color:#fff}.ui-bar-b a.ui-link{color:#ddf0f8;font-weight:bold}.ui-bar-b a.ui-link:visited{color:#ddf0f8}.ui-bar-b a.ui-link:hover{color:#ddf0f8}.ui-bar-b a.ui-link:active{color:#ddf0f8}.ui-body-b,.ui-overlay-b{border:1px solid #999;background:#f3f3f3;color:#222;text-shadow:0 1px 0 #fff;font-weight:normal;background-image:-webkit-gradient(linear,left top,left bottom,from( #ddd ),to( #ccc ));background-image:-webkit-linear-gradient( #ddd,#ccc );background-image:-moz-linear-gradient( #ddd,#ccc );background-image:-ms-linear-gradient( #ddd,#ccc );background-image:-o-linear-gradient( #ddd,#ccc );background-image:linear-gradient( #ddd,#ccc )}.ui-overlay-b{background-image:none;border-width:0}.ui-body-b,.ui-body-b input,.ui-body-b select,.ui-body-b textarea,.ui-body-b button{font-family:Helvetica,Arial,sans-serif}.ui-body-b .ui-link-inherit{color:#333}.ui-body-b .ui-link{color:#2489ce;font-weight:bold}.ui-body-b .ui-link:visited{color:#2489ce}.ui-body-b .ui-link:hover{color:#2489ce}.ui-body-b .ui-link:active{color:#2489ce}.ui-btn-up-b{border:1px solid #044062;background:#396b9e;font-weight:bold;color:#fff;text-shadow:0 1px 0 #194b7e;background-image:-webkit-gradient(linear,left top,left bottom,from( #5f9cc5 ),to( #396b9e ));background-image:-webkit-linear-gradient( #5f9cc5,#396b9e );background-image:-moz-linear-gradient( #5f9cc5,#396b9e );background-image:-ms-linear-gradient( #5f9cc5,#396b9e );background-image:-o-linear-gradient( #5f9cc5,#396b9e );background-image:linear-gradient( #5f9cc5,#396b9e )}.ui-btn-up-b:visited,.ui-btn-up-b a.ui-link-inherit{color:#fff}.ui-btn-hover-b{border:1px solid #00415e;background:#4b88b6;font-weight:bold;color:#fff;text-shadow:0 1px 0 #194b7e;background-image:-webkit-gradient(linear,left top,left bottom,from( #6facd5 ),to( #4272a4 ));background-image:-webkit-linear-gradient( #6facd5,#4272a4 );background-image:-moz-linear-gradient( #6facd5,#4272a4 );background-image:-ms-linear-gradient( #6facd5,#4272a4 );background-image:-o-linear-gradient( #6facd5,#4272a4 );background-image:linear-gradient( #6facd5,#4272a4 )}.ui-btn-hover-b:visited,.ui-btn-hover-b:hover,.ui-btn-hover-b a.ui-link-inherit{color:#fff}.ui-btn-down-b{border:1px solid #225377;background:#4e89c5;font-weight:bold;color:#fff;text-shadow:0 1px 0 #194b7e;background-image:-webkit-gradient(linear,left top,left bottom,from( #295b8e ),to( #3e79b5 ));background-image:-webkit-linear-gradient( #295b8e,#3e79b5 );background-image:-moz-linear-gradient( #295b8e,#3e79b5 );background-image:-ms-linear-gradient( #295b8e,#3e79b5 );background-image:-o-linear-gradient( #295b8e,#3e79b5 );background-image:linear-gradient( #295b8e,#3e79b5 )}.ui-btn-down-b:visited,.ui-btn-down-b:hover,.ui-btn-down-b a.ui-link-inherit{color:#fff}.ui-btn-up-b,.ui-btn-hover-b,.ui-btn-down-b{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-c{border:1px solid #b3b3b3;background:#eee;color:#3e3e3e;font-weight:bold;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #f0f0f0 ),to( #ddd ));background-image:-webkit-linear-gradient( #f0f0f0,#ddd );background-image:-moz-linear-gradient( #f0f0f0,#ddd );background-image:-ms-linear-gradient( #f0f0f0,#ddd );background-image:-o-linear-gradient( #f0f0f0,#ddd );background-image:linear-gradient( #f0f0f0,#ddd )}.ui-bar-c .ui-link-inherit{color:#3e3e3e}.ui-bar-c a.ui-link{color:#7cc4e7;font-weight:bold}.ui-bar-c a.ui-link:visited{color:#2489ce}.ui-bar-c a.ui-link:hover{color:#2489ce}.ui-bar-c a.ui-link:active{color:#2489ce}.ui-bar-c,.ui-bar-c input,.ui-bar-c select,.ui-bar-c textarea,.ui-bar-c button{font-family:Helvetica,Arial,sans-serif}.ui-body-c,.ui-overlay-c{border:1px solid #aaa;color:#333;text-shadow:0 1px 0 #fff;background:#f9f9f9;background-image:-webkit-gradient(linear,left top,left bottom,from( #f9f9f9 ),to( #eee ));background-image:-webkit-linear-gradient( #f9f9f9,#eee );background-image:-moz-linear-gradient( #f9f9f9,#eee );background-image:-ms-linear-gradient( #f9f9f9,#eee );background-image:-o-linear-gradient( #f9f9f9,#eee );background-image:linear-gradient( #f9f9f9,#eee )}.ui-overlay-c{background-image:none;border-width:0}.ui-body-c,.ui-body-c input,.ui-body-c select,.ui-body-c textarea,.ui-body-c button{font-family:Helvetica,Arial,sans-serif}.ui-body-c .ui-link-inherit{color:#333}.ui-body-c .ui-link{color:#2489ce;font-weight:bold}.ui-body-c .ui-link:visited{color:#2489ce}.ui-body-c .ui-link:hover{color:#2489ce}.ui-body-c .ui-link:active{color:#2489ce}.ui-btn-up-c{border:1px solid #ccc;background:#eee;font-weight:bold;color:#222;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #fff ),to( #f1f1f1 ));background-image:-webkit-linear-gradient( #fff,#f1f1f1 );background-image:-moz-linear-gradient( #fff,#f1f1f1 );background-image:-ms-linear-gradient( #fff,#f1f1f1 );background-image:-o-linear-gradient( #fff,#f1f1f1 );background-image:linear-gradient( #fff,#f1f1f1 )}.ui-btn-up-c:visited,.ui-btn-up-c a.ui-link-inherit{color:#2f3e46}.ui-btn-hover-c{border:1px solid #bbb;background:#dfdfdf;font-weight:bold;color:#222;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #f6f6f6 ),to( #e0e0e0 ));background-image:-webkit-linear-gradient( #f6f6f6,#e0e0e0 );background-image:-moz-linear-gradient( #f6f6f6,#e0e0e0 );background-image:-ms-linear-gradient( #f6f6f6,#e0e0e0 );background-image:-o-linear-gradient( #f6f6f6,#e0e0e0 );background-image:linear-gradient( #f6f6f6,#e0e0e0 )}.ui-btn-hover-c:visited,.ui-btn-hover-c:hover,.ui-btn-hover-c a.ui-link-inherit{color:#2f3e46}.ui-btn-down-c{border:1px solid #bbb;background:#d6d6d6;font-weight:bold;color:#222;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #d0d0d0 ),to( #dfdfdf ));background-image:-webkit-linear-gradient( #d0d0d0,#dfdfdf );background-image:-moz-linear-gradient( #d0d0d0,#dfdfdf );background-image:-ms-linear-gradient( #d0d0d0,#dfdfdf );background-image:-o-linear-gradient( #d0d0d0,#dfdfdf );background-image:linear-gradient( #d0d0d0,#dfdfdf )}.ui-btn-down-c:visited,.ui-btn-down-c:hover,.ui-btn-down-c a.ui-link-inherit{color:#2f3e46}.ui-btn-up-c,.ui-btn-hover-c,.ui-btn-down-c{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-d{border:1px solid #bbb;background:#bbb;color:#333;font-weight:bold;text-shadow:0 1px 0 #eee;background-image:-webkit-gradient(linear,left top,left bottom,from( #ddd ),to( #bbb ));background-image:-webkit-linear-gradient( #ddd,#bbb );background-image:-moz-linear-gradient( #ddd,#bbb );background-image:-ms-linear-gradient( #ddd,#bbb );background-image:-o-linear-gradient( #ddd,#bbb );background-image:linear-gradient( #ddd,#bbb )}.ui-bar-d,.ui-bar-d input,.ui-bar-d select,.ui-bar-d textarea,.ui-bar-d button{font-family:Helvetica,Arial,sans-serif}.ui-bar-d .ui-link-inherit{color:#333}.ui-bar-d a.ui-link{color:#2489ce;font-weight:bold}.ui-bar-d a.ui-link:visited{color:#2489ce}.ui-bar-d a.ui-link:hover{color:#2489ce}.ui-bar-d a.ui-link:active{color:#2489ce}.ui-body-d,.ui-overlay-d{border:1px solid #bbb;color:#333;text-shadow:0 1px 0 #fff;background:#fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #fff ),to( #fff ));background-image:-webkit-linear-gradient( #fff,#fff );background-image:-moz-linear-gradient( #fff,#fff );background-image:-ms-linear-gradient( #fff,#fff );background-image:-o-linear-gradient( #fff,#fff );background-image:linear-gradient( #fff,#fff )}.ui-overlay-d{background-image:none;border-width:0}.ui-body-d,.ui-body-d input,.ui-body-d select,.ui-body-d textarea,.ui-body-d button{font-family:Helvetica,Arial,sans-serif}.ui-body-d .ui-link-inherit{color:#333}.ui-body-d .ui-link{color:#2489ce;font-weight:bold}.ui-body-d .ui-link:visited{color:#2489ce}.ui-body-d .ui-link:hover{color:#2489ce}.ui-body-d .ui-link:active{color:#2489ce}.ui-btn-up-d{border:1px solid #bbb;background:#fff;font-weight:bold;color:#333;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #fafafa ),to( #f6f6f6 ));background-image:-webkit-linear-gradient( #fafafa,#f6f6f6 );background-image:-moz-linear-gradient( #fafafa,#f6f6f6 );background-image:-ms-linear-gradient( #fafafa,#f6f6f6 );background-image:-o-linear-gradient( #fafafa,#f6f6f6 );background-image:linear-gradient( #fafafa,#f6f6f6 )}.ui-btn-up-d:visited,.ui-btn-up-d a.ui-link-inherit{color:#333}.ui-btn-hover-d{border:1px solid #aaa;background:#eee;font-weight:bold;color:#333;cursor:pointer;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #eee ),to( #fff ));background-image:-webkit-linear-gradient( #eee,#fff );background-image:-moz-linear-gradient( #eee,#fff );background-image:-ms-linear-gradient( #eee,#fff );background-image:-o-linear-gradient( #eee,#fff );background-image:linear-gradient( #eee,#fff )}.ui-btn-hover-d:visited,.ui-btn-hover-d:hover,.ui-btn-hover-d a.ui-link-inherit{color:#333}.ui-btn-down-d{border:1px solid #aaa;background:#eee;font-weight:bold;color:#333;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #e5e5e5 ),to( #f2f2f2 ));background-image:-webkit-linear-gradient( #e5e5e5,#f2f2f2 );background-image:-moz-linear-gradient( #e5e5e5,#f2f2f2 );background-image:-ms-linear-gradient( #e5e5e5,#f2f2f2 );background-image:-o-linear-gradient( #e5e5e5,#f2f2f2 );background-image:linear-gradient( #e5e5e5,#f2f2f2 )}.ui-btn-down-d:visited,.ui-btn-down-d:hover,.ui-btn-down-d a.ui-link-inherit{color:#333}.ui-btn-up-d,.ui-btn-hover-d,.ui-btn-down-d{font-family:Helvetica,Arial,sans-serif;text-decoration:none}.ui-bar-e{border:1px solid #f7c942;background:#fadb4e;color:#333;font-weight:bold;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #fceda7 ),to( #fbef7e ));background-image:-webkit-linear-gradient( #fceda7,#fbef7e );background-image:-moz-linear-gradient( #fceda7,#fbef7e );background-image:-ms-linear-gradient( #fceda7,#fbef7e );background-image:-o-linear-gradient( #fceda7,#fbef7e );background-image:linear-gradient( #fceda7,#fbef7e )}.ui-bar-e,.ui-bar-e input,.ui-bar-e select,.ui-bar-e textarea,.ui-bar-e button{font-family:Helvetica,Arial,sans-serif}.ui-bar-e .ui-link-inherit{color:#333}.ui-bar-e a.ui-link{color:#2489ce;font-weight:bold}.ui-bar-e a.ui-link:visited{color:#2489ce}.ui-bar-e a.ui-link:hover{color:#2489ce}.ui-bar-e a.ui-link:active{color:#2489ce}.ui-body-e,.ui-overlay-e{border:1px solid #f7c942;color:#222;text-shadow:0 1px 0 #fff;background:#fff9df;background-image:-webkit-gradient(linear,left top,left bottom,from( #fffadf ),to( #fff3a5 ));background-image:-webkit-linear-gradient( #fffadf,#fff3a5 );background-image:-moz-linear-gradient( #fffadf,#fff3a5 );background-image:-ms-linear-gradient( #fffadf,#fff3a5 );background-image:-o-linear-gradient( #fffadf,#fff3a5 );background-image:linear-gradient( #fffadf,#fff3a5 )}.ui-overlay-e{background-image:none;border-width:0}.ui-body-e,.ui-body-e input,.ui-body-e select,.ui-body-e textarea,.ui-body-e button{font-family:Helvetica,Arial,sans-serif}.ui-body-e .ui-link-inherit{color:#222}.ui-body-e .ui-link{color:#2489ce;font-weight:bold}.ui-body-e .ui-link:visited{color:#2489ce}.ui-body-e .ui-link:hover{color:#2489ce}.ui-body-e .ui-link:active{color:#2489ce}.ui-btn-up-e{border:1px solid #f4c63f;background:#fadb4e;font-weight:bold;color:#222;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #ffefaa ),to( #ffe155 ));background-image:-webkit-linear-gradient( #ffefaa,#ffe155 );background-image:-moz-linear-gradient( #ffefaa,#ffe155 );background-image:-ms-linear-gradient( #ffefaa,#ffe155 );background-image:-o-linear-gradient( #ffefaa,#ffe155 );background-image:linear-gradient( #ffefaa,#ffe155 )}.ui-btn-up-e:visited,.ui-btn-up-e a.ui-link-inherit{color:#222}.ui-btn-hover-e{border:1px solid #f2c43d;background:#fbe26f;font-weight:bold;color:#111;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #fff5ba ),to( #fbdd52 ));background-image:-webkit-linear-gradient( #fff5ba,#fbdd52 );background-image:-moz-linear-gradient( #fff5ba,#fbdd52 );background-image:-ms-linear-gradient( #fff5ba,#fbdd52 );background-image:-o-linear-gradient( #fff5ba,#fbdd52 );background-image:linear-gradient( #fff5ba,#fbdd52 )}.ui-btn-hover-e:visited,.ui-btn-hover-e:hover,.ui-btn-hover-e a.ui-link-inherit{color:#333}.ui-btn-down-e{border:1px solid #f2c43d;background:#fceda7;font-weight:bold;color:#111;text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left top,left bottom,from( #f8d94c ),to( #fadb4e ));background-image:-webkit-linear-gradient( #f8d94c,#fadb4e );background-image:-moz-linear-gradient( #f8d94c,#fadb4e );background-image:-ms-linear-gradient( #f8d94c,#fadb4e );background-image:-o-linear-gradient( #f8d94c,#fadb4e );background-image:linear-gradient( #f8d94c,#fadb4e )}.ui-btn-down-e:visited,.ui-btn-down-e:hover,.ui-btn-down-e a.ui-link-inherit{color:#333}.ui-btn-up-e,.ui-btn-hover-e,.ui-btn-down-e{font-family:Helvetica,Arial,sans-serif;text-decoration:none}a.ui-link-inherit{text-decoration:none!important}.ui-btn-active{border:1px solid #2373a5;background:#5393c5;font-weight:bold;color:#fff;cursor:pointer;text-shadow:0 1px 0 #3373a5;text-decoration:none;background-image:-webkit-gradient(linear,left top,left bottom,from( #5393c5 ),to( #6facd5 ));background-image:-webkit-linear-gradient( #5393c5,#6facd5 );background-image:-moz-linear-gradient( #5393c5,#6facd5 );background-image:-ms-linear-gradient( #5393c5,#6facd5 );background-image:-o-linear-gradient( #5393c5,#6facd5 );background-image:linear-gradient( #5393c5,#6facd5 );font-family:Helvetica,Arial,sans-serif}.ui-btn-active:visited,.ui-btn-active:hover,.ui-btn-active a.ui-link-inherit{color:#fff}.ui-btn-inner{border-top:1px solid #fff;border-color:rgba(255,255,255,.3)}.ui-corner-all{-webkit-border-radius:.6em;border-radius:.6em}.ui-br{border-color:rgb(130,130,130);border-color:rgba(130,130,130,.3);border-style:solid}.ui-disabled{filter:Alpha(Opacity=30);opacity:.3;zoom:1}.ui-disabled,.ui-disabled a{cursor:default!important;pointer-events:none}.ui-icon,.ui-icon-searchfield:after{background-color:#666;background-color:rgba(0,0,0,.4);background-image:url(../img/icons-18-white.png);background-repeat:no-repeat;-webkit-border-radius:9px;border-radius:9px}.ui-icon-alt .ui-icon,.ui-icon-alt .ui-icon-searchfield:after{background-color:#fff;background-color:rgba(255,255,255,.3);background-image:url(../img/icons-18-black.png);background-repeat:no-repeat}.ui-icon-nodisc .ui-icon,.ui-icon-nodisc .ui-icon-searchfield:after,.ui-icon-nodisc .ui-icon-alt .ui-icon,.ui-icon-nodisc .ui-icon-alt .ui-icon-searchfield:after{background-color:transparent}.ui-icon-plus{background-position:-1px -1px}.ui-icon-minus{background-position:-37px -1px}.ui-icon-delete{background-position:-73px -1px}.ui-icon-arrow-r{background-position:-108px -1px}.ui-icon-arrow-l{background-position:-144px -1px}.ui-icon-arrow-u{background-position:-180px -1px}.ui-icon-arrow-d{background-position:-216px -1px}.ui-icon-check{background-position:-252px -1px}.ui-icon-gear{background-position:-288px -1px}.ui-icon-refresh{background-position:-323px -1px}.ui-icon-forward{background-position:-360px -1px}.ui-icon-back{background-position:-396px -1px}.ui-icon-grid{background-position:-432px -1px}.ui-icon-star{background-position:-467px -1px}.ui-icon-alert{background-position:-503px -1px}.ui-icon-info{background-position:-539px -1px}.ui-icon-home{background-position:-575px -1px}.ui-icon-search,.ui-icon-searchfield:after{background-position:-611px -1px}.ui-icon-checkbox-on{background-position:-647px -1px}.ui-icon-checkbox-off{background-position:-683px -1px}.ui-icon-radio-on{background-position:-718px -1px}.ui-icon-radio-off{background-position:-754px -1px}.ui-icon-bars{background-position:-788px -1px}.ui-icon-edit{background-position:-824px -1px}@media only screen and (-webkit-min-device-pixel-ratio:1.3),only screen and (min--moz-device-pixel-ratio:1.3),only screen and (min-resolution:200dpi){.ui-icon-plus,.ui-icon-minus,.ui-icon-delete,.ui-icon-arrow-r,.ui-icon-arrow-l,.ui-icon-arrow-u,.ui-icon-arrow-d,.ui-icon-check,.ui-icon-gear,.ui-icon-refresh,.ui-icon-forward,.ui-icon-back,.ui-icon-grid,.ui-icon-star,.ui-icon-alert,.ui-icon-info,.ui-icon-home,.ui-icon-bars,.ui-icon-edit,.ui-icon-search,.ui-icon-searchfield:after,.ui-icon-checkbox-off,.ui-icon-checkbox-on,.ui-icon-radio-off,.ui-icon-radio-on{background-image:url(../img/icons-36-white.png);-moz-background-size:864px 18px;-o-background-size:864px 18px;-webkit-background-size:864px 18px;background-size:864px 18px}.ui-icon-alt .ui-icon{background-image:url(../img/icons-36-black.png)}.ui-icon-plus{background-position:0 50%}.ui-icon-minus{background-position:-36px 50%}.ui-icon-delete{background-position:-72px 50%}.ui-icon-arrow-r{background-position:-108px 50%}.ui-icon-arrow-l{background-position:-144px 50%}.ui-icon-arrow-u{background-position:-179px 50%}.ui-icon-arrow-d{background-position:-215px 50%}.ui-icon-check{background-position:-252px 50%}.ui-icon-gear{background-position:-287px 50%}.ui-icon-refresh{background-position:-323px 50%}.ui-icon-forward{background-position:-360px 50%}.ui-icon-back{background-position:-395px 50%}.ui-icon-grid{background-position:-431px 50%}.ui-icon-star{background-position:-467px 50%}.ui-icon-alert{background-position:-503px 50%}.ui-icon-info{background-position:-538px 50%}.ui-icon-home{background-position:-575px 50%}.ui-icon-search,.ui-icon-searchfield:after{background-position:-611px 50%}.ui-icon-checkbox-on{background-position:-647px 50%}.ui-icon-checkbox-off{background-position:-683px 50%}.ui-icon-radio-on{background-position:-718px 50%}.ui-icon-radio-off{background-position:-754px 50%}.ui-icon-bars{background-position:-788px 50%}.ui-icon-edit{background-position:-824px 50%}}.ui-checkbox .ui-icon,.ui-selectmenu-list .ui-icon{-webkit-border-radius:3px;border-radius:3px}.ui-icon-checkbox-off,.ui-icon-radio-off{background-color:transparent}.ui-checkbox-on .ui-icon,.ui-radio-on .ui-icon{background-color:#4596ce}.ui-icon-loading{background:url(../img/ajax-loader.gif);background-size:46px 46px}.ui-btn-corner-all{-webkit-border-radius:1em;border-radius:1em}.ui-corner-all,.ui-btn-corner-all{-webkit-background-clip:padding;background-clip:padding-box}.ui-overlay{background:#666;filter:Alpha(Opacity=50);opacity:.5;position:absolute;width:100%;height:100%}.ui-overlay-shadow{-moz-box-shadow:0 0 12px rgba(0,0,0,.6);-webkit-box-shadow:0 0 12px rgba(0,0,0,.6);box-shadow:0 0 12px rgba(0,0,0,.6)}.ui-shadow{-moz-box-shadow:0 1px 3px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.ui-bar-a .ui-shadow,.ui-bar-b .ui-shadow,.ui-bar-c .ui-shadow{-moz-box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);box-shadow:0 1px 0 rgba(255,255,255,.3)}.ui-shadow-inset{-moz-box-shadow:inset 0 1px 4px rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 4px rgba(0,0,0,.2);box-shadow:inset 0 1px 4px rgba(0,0,0,.2)}.ui-icon-shadow{-moz-box-shadow:0 1px 0 rgba(255,255,255,.4);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.4);box-shadow:0 1px 0 rgba(255,255,255,.4)}.ui-btn:focus,.ui-link-inherit:focus{outline:0}.ui-btn.ui-focus{z-index:1}.ui-focus,.ui-btn:focus{-moz-box-shadow:inset 0 0 3px #387bbe,0px 0 9px #387bbe;-webkit-box-shadow:inset 0 0 3px #387bbe,0px 0 9px #387bbe;box-shadow:inset 0 0 3px #387bbe,0px 0 9px #387bbe}.ui-input-text.ui-focus,.ui-input-search.ui-focus{-moz-box-shadow:0 0 12px #387bbe;-webkit-box-shadow:0 0 12px #387bbe;box-shadow:0 0 12px #387bbe}.ui-mobile-nosupport-boxshadow *{-moz-box-shadow:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}.ui-mobile-nosupport-boxshadow .ui-focus,.ui-mobile-nosupport-boxshadow .ui-btn:focus,.ui-mobile-nosupport-boxshadow .ui-link-inherit:focus{outline-width:1px;outline-style:auto}.ui-mobile,.ui-mobile body{height:99.9%}.ui-mobile fieldset,.ui-page{padding:0;margin:0}.ui-mobile a img,.ui-mobile fieldset{border-width:0}.ui-mobile-viewport{margin:0;overflow-x:visible;-webkit-text-size-adjust:100%;-ms-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}body.ui-mobile-viewport,div.ui-mobile-viewport{overflow-x:hidden}.ui-mobile [data-role=page],.ui-mobile [data-role=dialog],.ui-page{top:0;left:0;width:100%;min-height:100%;position:absolute;display:none;border:0}.ui-mobile .ui-page-active{display:block;overflow:visible}.ui-page{outline:none}@media screen and (orientation:portrait){.ui-mobile,.ui-mobile .ui-page{min-height:420px}}@media screen and (orientation:landscape){.ui-mobile,.ui-mobile .ui-page{min-height:300px}}.ui-loading .ui-loader{display:block}.ui-loader{display:none;z-index:9999999;position:fixed;top:50%;left:50%;border:0}.ui-loader-default{background:none;filter:Alpha(Opacity=18);opacity:.18;width:46px;height:46px;margin-left:-23px;margin-top:-23px}.ui-loader-verbose{width:200px;filter:Alpha(Opacity=88);opacity:.88;box-shadow:0 1px 1px -1px #fff;height:auto;margin-left:-110px;margin-top:-43px;padding:10px}.ui-loader-default h1{font-size:0;width:0;height:0;overflow:hidden}.ui-loader-verbose h1{font-size:16px;margin:0;text-align:center}.ui-loader .ui-icon{background-color:#000;display:block;margin:0;width:44px;height:44px;padding:1px;-webkit-border-radius:36px;border-radius:36px}.ui-loader-verbose .ui-icon{margin:0 auto 10px;filter:Alpha(Opacity=75);opacity:.75}.ui-loader-textonly{padding:15px;margin-left:-115px}.ui-loader-textonly .ui-icon{display:none}.ui-loader-fakefix{position:absolute}.ui-mobile-rendering > *{visibility:hidden}.ui-bar,.ui-body{position:relative;padding:.4em 15px;overflow:hidden;display:block;clear:both}.ui-bar{font-size:16px;margin:0}.ui-bar h1,.ui-bar h2,.ui-bar h3,.ui-bar h4,.ui-bar h5,.ui-bar h6{margin:0;padding:0;font-size:16px;display:inline-block}.ui-header,.ui-footer{position:relative;zoom:1}.ui-mobile .ui-header,.ui-mobile .ui-footer{border-left-width:0;border-right-width:0}.ui-header .ui-btn-left,.ui-header .ui-btn-right,.ui-footer .ui-btn-left,.ui-footer .ui-btn-right,.ui-header-fixed.ui-fixed-hidden .ui-btn-left,.ui-header-fixed.ui-fixed-hidden .ui-btn-right{position:absolute;top:3px}.ui-header-fixed .ui-btn-left,.ui-header-fixed .ui-btn-right{top:4px}.ui-header .ui-btn-left,.ui-footer .ui-btn-left{left:5px}.ui-header .ui-btn-right,.ui-footer .ui-btn-right{right:5px}.ui-footer > .ui-btn-icon-notext,.ui-header > .ui-btn-icon-notext,.ui-header-fixed.ui-fixed-hidden > .ui-btn-icon-notext{top:6px}.ui-header-fixed > .ui-btn-icon-notext{top:7px}.ui-header .ui-title,.ui-footer .ui-title{min-height:1.1em;text-align:center;font-size:16px;display:block;margin:.6em 30% .8em;padding:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;outline:0!important}.ui-footer .ui-title{margin:.6em 15px .8em}.ui-content{border-width:0;overflow:visible;overflow-x:hidden;padding:15px}.ui-corner-all > .ui-header:first-child,.ui-corner-all > .ui-content:first-child,.ui-corner-all > .ui-footer:first-child{-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit;-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit}.ui-corner-all > .ui-header:last-child,.ui-corner-all > .ui-content:last-child,.ui-corner-all > .ui-footer:last-child{-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit}.ui-icon{width:18px;height:18px}.ui-nojs{position:absolute;left:-9999px}.ui-hide-label label.ui-input-text,.ui-hide-label label.ui-select,.ui-hide-label label.ui-slider,.ui-hide-label label.ui-submit,.ui-hide-label .ui-controlgroup-label,.ui-hidden-accessible{position:absolute!important;left:-9999px;clip:rect(1px);clip:rect(1px,1px,1px,1px)}.ui-mobile-viewport-transitioning,.ui-mobile-viewport-transitioning .ui-page{width:100%;height:100%;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-page-pre-in{opacity:0}.in{-webkit-animation-fill-mode:both;-webkit-animation-timing-function:ease-out;-webkit-animation-duration:350ms;-moz-animation-fill-mode:both;-moz-animation-timing-function:ease-out;-moz-animation-duration:350ms;animation-fill-mode:both;animation-timing-function:ease-out;animation-duration:350ms}.out{-webkit-animation-fill-mode:both;-webkit-animation-timing-function:ease-in;-webkit-animation-duration:225ms;-moz-animation-fill-mode:both;-moz-animation-timing-function:ease-in;-moz-animation-duration:225ms;animation-fill-mode:both;animation-timing-function:ease-in;animation-duration:225ms}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeout{from{opacity:1}to{opacity:0}}@keyframes fadeout{from{opacity:1}to{opacity:0}}.fade.out{opacity:0;-webkit-animation-duration:125ms;-webkit-animation-name:fadeout;-moz-animation-duration:125ms;-moz-animation-name:fadeout;animation-duration:125ms;animation-name:fadeout}.fade.in{opacity:1;-webkit-animation-duration:225ms;-webkit-animation-name:fadein;-moz-animation-duration:225ms;-moz-animation-name:fadein;animation-duration:225ms;animation-name:fadein}.pop{-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;transform-origin:50% 50%}.pop.in{-webkit-transform:scale(1);-webkit-animation-name:popin;-webkit-animation-duration:350ms;-moz-transform:scale(1);-moz-animation-name:popin;-moz-animation-duration:350ms;transform:scale(1);animation-name:popin;animation-duration:350ms;opacity:1}.pop.out{-webkit-animation-name:fadeout;-webkit-animation-duration:100ms;-moz-animation-name:fadeout;-moz-animation-duration:100ms;animation-name:fadeout;animation-duration:100ms;opacity:0}.pop.in.reverse{-webkit-animation-name:fadein;-moz-animation-name:fadein;animation-name:fadein}.pop.out.reverse{-webkit-transform:scale(.8);-webkit-animation-name:popout;-moz-transform:scale(.8);-moz-animation-name:popout;transform:scale(.8);animation-name:popout}@-webkit-keyframes popin{from{-webkit-transform:scale(.8);opacity:0}to{-webkit-transform:scale(1);opacity:1}}@-moz-keyframes popin{from{-moz-transform:scale(.8);opacity:0}to{-moz-transform:scale(1);opacity:1}}@keyframes popin{from{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes popout{from{-webkit-transform:scale(1);opacity:1}to{-webkit-transform:scale(.8);opacity:0}}@-moz-keyframes popout{from{-moz-transform:scale(1);opacity:1}to{-moz-transform:scale(.8);opacity:0}}@keyframes popout{from{transform:scale(1);opacity:1}to{transform:scale(.8);opacity:0}}@-webkit-keyframes slideinfromright{from{-webkit-transform:translateX(100%)}to{-webkit-transform:translateX(0)}}@-moz-keyframes slideinfromright{from{-moz-transform:translateX(100%)}to{-moz-transform:translateX(0)}}@keyframes slideinfromright{from{transform:translateX(100%)}to{transform:translateX(0)}}@-webkit-keyframes slideinfromleft{from{-webkit-transform:translateX(-100%)}to{-webkit-transform:translateX(0)}}@-moz-keyframes slideinfromleft{from{-moz-transform:translateX(-100%)}to{-moz-transform:translateX(0)}}@keyframes slideinfromleft{from{transform:translateX(-100%)}to{transform:translateX(0)}}@-webkit-keyframes slideouttoleft{from{-webkit-transform:translateX(0)}to{-webkit-transform:translateX(-100%)}}@-moz-keyframes slideouttoleft{from{-moz-transform:translateX(0)}to{-moz-transform:translateX(-100%)}}@keyframes slideouttoleft{from{transform:translateX(0)}to{transform:translateX(-100%)}}@-webkit-keyframes slideouttoright{from{-webkit-transform:translateX(0)}to{-webkit-transform:translateX(100%)}}@-moz-keyframes slideouttoright{from{-moz-transform:translateX(0)}to{-moz-transform:translateX(100%)}}@keyframes slideouttoright{from{transform:translateX(0)}to{transform:translateX(100%)}}.slide.out,.slide.in{-webkit-animation-timing-function:ease-out;-webkit-animation-duration:350ms;-moz-animation-timing-function:ease-out;-moz-animation-duration:350ms;animation-timing-function:ease-out;animation-duration:350ms}.slide.out{-webkit-transform:translateX(-100%);-webkit-animation-name:slideouttoleft;-moz-transform:translateX(-100%);-moz-animation-name:slideouttoleft;transform:translateX(-100%);animation-name:slideouttoleft}.slide.in{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromright;-moz-transform:translateX(0);-moz-animation-name:slideinfromright;transform:translateX(0);animation-name:slideinfromright}.slide.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:slideouttoright;-moz-transform:translateX(100%);-moz-animation-name:slideouttoright;transform:translateX(100%);animation-name:slideouttoright}.slide.in.reverse{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromleft;-moz-transform:translateX(0);-moz-animation-name:slideinfromleft;transform:translateX(0);animation-name:slideinfromleft}.slidefade.out{-webkit-transform:translateX(-100%);-webkit-animation-name:slideouttoleft;-webkit-animation-duration:225ms;-moz-transform:translateX(-100%);-moz-animation-name:slideouttoleft;-moz-animation-duration:225ms;transform:translateX(-100%);animation-name:slideouttoleft;animation-duration:225ms}.slidefade.in{-webkit-transform:translateX(0);-webkit-animation-name:fadein;-webkit-animation-duration:200ms;-moz-transform:translateX(0);-moz-animation-name:fadein;-moz-animation-duration:200ms;transform:translateX(0);animation-name:fadein;animation-duration:200ms}.slidefade.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:slideouttoright;-webkit-animation-duration:200ms;-moz-transform:translateX(100%);-moz-animation-name:slideouttoright;-moz-animation-duration:200ms;transform:translateX(100%);animation-name:slideouttoright;animation-duration:200ms}.slidefade.in.reverse{-webkit-transform:translateX(0);-webkit-animation-name:fadein;-webkit-animation-duration:200ms;-moz-transform:translateX(0);-moz-animation-name:fadein;-moz-animation-duration:200ms;transform:translateX(0);animation-name:fadein;animation-duration:200ms}.slidedown.out{-webkit-animation-name:fadeout;-webkit-animation-duration:100ms;-moz-animation-name:fadeout;-moz-animation-duration:100ms;animation-name:fadeout;animation-duration:100ms}.slidedown.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfromtop;-webkit-animation-duration:250ms;-moz-transform:translateY(0);-moz-animation-name:slideinfromtop;-moz-animation-duration:250ms;transform:translateY(0);animation-name:slideinfromtop;animation-duration:250ms}.slidedown.in.reverse{-webkit-animation-name:fadein;-webkit-animation-duration:150ms;-moz-animation-name:fadein;-moz-animation-duration:150ms;animation-name:fadein;animation-duration:150ms}.slidedown.out.reverse{-webkit-transform:translateY(-100%);-webkit-animation-name:slideouttotop;-webkit-animation-duration:200ms;-moz-transform:translateY(-100%);-moz-animation-name:slideouttotop;-moz-animation-duration:200ms;transform:translateY(-100%);animation-name:slideouttotop;animation-duration:200ms}@-webkit-keyframes slideinfromtop{from{-webkit-transform:translateY(-100%)}to{-webkit-transform:translateY(0)}}@-moz-keyframes slideinfromtop{from{-moz-transform:translateY(-100%)}to{-moz-transform:translateY(0)}}@keyframes slideinfromtop{from{transform:translateY(-100%)}to{transform:translateY(0)}}@-webkit-keyframes slideouttotop{from{-webkit-transform:translateY(0)}to{-webkit-transform:translateY(-100%)}}@-moz-keyframes slideouttotop{from{-moz-transform:translateY(0)}to{-moz-transform:translateY(-100%)}}@keyframes slideouttotop{from{transform:translateY(0)}to{transform:translateY(-100%)}}.slideup.out{-webkit-animation-name:fadeout;-webkit-animation-duration:100ms;-moz-animation-name:fadeout;-moz-animation-duration:100ms;animation-name:fadeout;animation-duration:100ms}.slideup.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfrombottom;-webkit-animation-duration:250ms;-moz-transform:translateY(0);-moz-animation-name:slideinfrombottom;-moz-animation-duration:250ms;transform:translateY(0);animation-name:slideinfrombottom;animation-duration:250ms}.slideup.in.reverse{-webkit-animation-name:fadein;-webkit-animation-duration:150ms;-moz-animation-name:fadein;-moz-animation-duration:150ms;animation-name:fadein;animation-duration:150ms}.slideup.out.reverse{-webkit-transform:translateY(100%);-webkit-animation-name:slideouttobottom;-webkit-animation-duration:200ms;-moz-transform:translateY(100%);-moz-animation-name:slideouttobottom;-moz-animation-duration:200ms;transform:translateY(100%);animation-name:slideouttobottom;animation-duration:200ms}@-webkit-keyframes slideinfrombottom{from{-webkit-transform:translateY(100%)}to{-webkit-transform:translateY(0)}}@-moz-keyframes slideinfrombottom{from{-moz-transform:translateY(100%)}to{-moz-transform:translateY(0)}}@keyframes slideinfrombottom{from{transform:translateY(100%)}to{transform:translateY(0)}}@-webkit-keyframes slideouttobottom{from{-webkit-transform:translateY(0)}to{-webkit-transform:translateY(100%)}}@-moz-keyframes slideouttobottom{from{-moz-transform:translateY(0)}to{-moz-transform:translateY(100%)}}@keyframes slideouttobottom{from{transform:translateY(0)}to{transform:translateY(100%)}}.viewport-flip{-webkit-perspective:1000;-moz-perspective:1000;perspective:1000;position:absolute}.flip{-webkit-backface-visibility:hidden;-webkit-transform:translateX(0);-moz-backface-visibility:hidden;-moz-transform:translateX(0);backface-visibility:hidden;transform:translateX(0)}.flip.out{-webkit-transform:rotateY(-90deg) scale(.9);-webkit-animation-name:flipouttoleft;-webkit-animation-duration:175ms;-moz-transform:rotateY(-90deg) scale(.9);-moz-animation-name:flipouttoleft;-moz-animation-duration:175ms;transform:rotateY(-90deg) scale(.9);animation-name:flipouttoleft;animation-duration:175ms}.flip.in{-webkit-animation-name:flipintoright;-webkit-animation-duration:225ms;-moz-animation-name:flipintoright;-moz-animation-duration:225ms;animation-name:flipintoright;animation-duration:225ms}.flip.out.reverse{-webkit-transform:rotateY(90deg) scale(.9);-webkit-animation-name:flipouttoright;-moz-transform:rotateY(90deg) scale(.9);-moz-animation-name:flipouttoright;transform:rotateY(90deg) scale(.9);animation-name:flipouttoright}.flip.in.reverse{-webkit-animation-name:flipintoleft;-moz-animation-name:flipintoleft;animation-name:flipintoleft}@-webkit-keyframes flipouttoleft{from{-webkit-transform:rotateY(0)}to{-webkit-transform:rotateY(-90deg) scale(.9)}}@-moz-keyframes flipouttoleft{from{-moz-transform:rotateY(0)}to{-moz-transform:rotateY(-90deg) scale(.9)}}@keyframes flipouttoleft{from{transform:rotateY(0)}to{transform:rotateY(-90deg) scale(.9)}}@-webkit-keyframes flipouttoright{from{-webkit-transform:rotateY(0)}to{-webkit-transform:rotateY(90deg) scale(.9)}}@-moz-keyframes flipouttoright{from{-moz-transform:rotateY(0)}to{-moz-transform:rotateY(90deg) scale(.9)}}@keyframes flipouttoright{from{transform:rotateY(0)}to{transform:rotateY(90deg) scale(.9)}}@-webkit-keyframes flipintoleft{from{-webkit-transform:rotateY(-90deg) scale(.9)}to{-webkit-transform:rotateY(0)}}@-moz-keyframes flipintoleft{from{-moz-transform:rotateY(-90deg) scale(.9)}to{-moz-transform:rotateY(0)}}@keyframes flipintoleft{from{transform:rotateY(-90deg) scale(.9)}to{transform:rotateY(0)}}@-webkit-keyframes flipintoright{from{-webkit-transform:rotateY(90deg) scale(.9)}to{-webkit-transform:rotateY(0)}}@-moz-keyframes flipintoright{from{-moz-transform:rotateY(90deg) scale(.9)}to{-moz-transform:rotateY(0)}}@keyframes flipintoright{from{transform:rotateY(90deg) scale(.9)}to{transform:rotateY(0)}}.viewport-turn{-webkit-perspective:200px;-moz-perspective:200px;-ms-perspective:200px;perspective:200px;position:absolute}.turn{-webkit-backface-visibility:hidden;-webkit-transform:translateX(0);-webkit-transform-origin:0;-moz-backface-visibility:hidden;-moz-transform:translateX(0);-moz-transform-origin:0;backface-visibility:hidden;transform:translateX(0);transform-origin:0}.turn.out{-webkit-transform:rotateY(-90deg) scale(.9);-webkit-animation-name:flipouttoleft;-webkit-animation-duration:125ms;-moz-transform:rotateY(-90deg) scale(.9);-moz-animation-name:flipouttoleft;-moz-animation-duration:125ms;transform:rotateY(-90deg) scale(.9);animation-name:flipouttoleft;animation-duration:125ms}.turn.in{-webkit-animation-name:flipintoright;-webkit-animation-duration:250ms;-moz-animation-name:flipintoright;-moz-animation-duration:250ms;animation-name:flipintoright;animation-duration:250ms}.turn.out.reverse{-webkit-transform:rotateY(90deg) scale(.9);-webkit-animation-name:flipouttoright;-moz-transform:rotateY(90deg) scale(.9);-moz-animation-name:flipouttoright;transform:rotateY(90deg) scale(.9);animation-name:flipouttoright}.turn.in.reverse{-webkit-animation-name:flipintoleft;-moz-animation-name:flipintoleft;animation-name:flipintoleft}@-webkit-keyframes flipouttoleft{from{-webkit-transform:rotateY(0)}to{-webkit-transform:rotateY(-90deg) scale(.9)}}@-moz-keyframes flipouttoleft{from{-moz-transform:rotateY(0)}to{-moz-transform:rotateY(-90deg) scale(.9)}}@keyframes flipouttoleft{from{transform:rotateY(0)}to{transform:rotateY(-90deg) scale(.9)}}@-webkit-keyframes flipouttoright{from{-webkit-transform:rotateY(0)}to{-webkit-transform:rotateY(90deg) scale(.9)}}@-moz-keyframes flipouttoright{from{-moz-transform:rotateY(0)}to{-moz-transform:rotateY(90deg) scale(.9)}}@keyframes flipouttoright{from{transform:rotateY(0)}to{transform:rotateY(90deg) scale(.9)}}@-webkit-keyframes flipintoleft{from{-webkit-transform:rotateY(-90deg) scale(.9)}to{-webkit-transform:rotateY(0)}}@-moz-keyframes flipintoleft{from{-moz-transform:rotateY(-90deg) scale(.9)}to{-moz-transform:rotateY(0)}}@keyframes flipintoleft{from{transform:rotateY(-90deg) scale(.9)}to{transform:rotateY(0)}}@-webkit-keyframes flipintoright{from{-webkit-transform:rotateY(90deg) scale(.9)}to{-webkit-transform:rotateY(0)}}@-moz-keyframes flipintoright{from{-moz-transform:rotateY(90deg) scale(.9)}to{-moz-transform:rotateY(0)}}@keyframes flipintoright{from{transform:rotateY(90deg) scale(.9)}to{transform:rotateY(0)}}.flow{-webkit-transform-origin:50% 30%;-webkit-box-shadow:0 0 20px rgba(0,0,0,.4);-moz-transform-origin:50% 30%;-moz-box-shadow:0 0 20px rgba(0,0,0,.4);transform-origin:50% 30%;box-shadow:0 0 20px rgba(0,0,0,.4)}.ui-dialog.flow{-webkit-transform-origin:none;-webkit-box-shadow:none;-moz-transform-origin:none;-moz-box-shadow:none;transform-origin:none;box-shadow:none}.flow.out{-webkit-transform:translateX(-100%) scale(.7);-webkit-animation-name:flowouttoleft;-webkit-animation-timing-function:ease;-webkit-animation-duration:350ms;-moz-transform:translateX(-100%) scale(.7);-moz-animation-name:flowouttoleft;-moz-animation-timing-function:ease;-moz-animation-duration:350ms;transform:translateX(-100%) scale(.7);animation-name:flowouttoleft;animation-timing-function:ease;animation-duration:350ms}.flow.in{-webkit-transform:translateX(0) scale(1);-webkit-animation-name:flowinfromright;-webkit-animation-timing-function:ease;-webkit-animation-duration:350ms;-moz-transform:translateX(0) scale(1);-moz-animation-name:flowinfromright;-moz-animation-timing-function:ease;-moz-animation-duration:350ms;transform:translateX(0) scale(1);animation-name:flowinfromright;animation-timing-function:ease;animation-duration:350ms}.flow.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:flowouttoright;-moz-transform:translateX(100%);-moz-animation-name:flowouttoright;transform:translateX(100%);animation-name:flowouttoright}.flow.in.reverse{-webkit-animation-name:flowinfromleft;-moz-animation-name:flowinfromleft;animation-name:flowinfromleft}@-webkit-keyframes flowouttoleft{0%{-webkit-transform:translateX(0) scale(1)}60%,70%{-webkit-transform:translateX(0) scale(.7)}100%{-webkit-transform:translateX(-100%) scale(.7)}}@-moz-keyframes flowouttoleft{0%{-moz-transform:translateX(0) scale(1)}60%,70%{-moz-transform:translateX(0) scale(.7)}100%{-moz-transform:translateX(-100%) scale(.7)}}@keyframes flowouttoleft{0%{transform:translateX(0) scale(1)}60%,70%{transform:translateX(0) scale(.7)}100%{transform:translateX(-100%) scale(.7)}}@-webkit-keyframes flowouttoright{0%{-webkit-transform:translateX(0) scale(1)}60%,70%{-webkit-transform:translateX(0) scale(.7)}100%{-webkit-transform:translateX(100%) scale(.7)}}@-moz-keyframes flowouttoright{0%{-moz-transform:translateX(0) scale(1)}60%,70%{-moz-transform:translateX(0) scale(.7)}100%{-moz-transform:translateX(100%) scale(.7)}}@keyframes flowouttoright{0%{transform:translateX(0) scale(1)}60%,70%{transform:translateX(0) scale(.7)}100%{transform:translateX(100%) scale(.7)}}@-webkit-keyframes flowinfromleft{0%{-webkit-transform:translateX(-100%) scale(.7)}30%,40%{-webkit-transform:translateX(0) scale(.7)}100%{-webkit-transform:translateX(0) scale(1)}}@-moz-keyframes flowinfromleft{0%{-moz-transform:translateX(-100%) scale(.7)}30%,40%{-moz-transform:translateX(0) scale(.7)}100%{-moz-transform:translateX(0) scale(1)}}@keyframes flowinfromleft{0%{transform:translateX(-100%) scale(.7)}30%,40%{transform:translateX(0) scale(.7)}100%{transform:translateX(0) scale(1)}}@-webkit-keyframes flowinfromright{0%{-webkit-transform:translateX(100%) scale(.7)}30%,40%{-webkit-transform:translateX(0) scale(.7)}100%{-webkit-transform:translateX(0) scale(1)}}@-moz-keyframes flowinfromright{0%{-moz-transform:translateX(100%) scale(.7)}30%,40%{-moz-transform:translateX(0) scale(.7)}100%{-moz-transform:translateX(0) scale(1)}}@keyframes flowinfromright{0%{transform:translateX(100%) scale(.7)}30%,40%{transform:translateX(0) scale(.7)}100%{transform:translateX(0) scale(1)}}.ui-grid-a,.ui-grid-b,.ui-grid-c,.ui-grid-d{overflow:hidden}.ui-block-a,.ui-block-b,.ui-block-c,.ui-block-d,.ui-block-e{margin:0;padding:0;border:0;float:left;min-height:1px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.ui-grid-solo .ui-block-a{display:block;float:none}.ui-grid-a .ui-block-a,.ui-grid-a .ui-block-b{width:49.95%!important}.ui-grid-a >:nth-child(n){width:50%;margin-right:-.5px}.ui-grid-a .ui-block-a{clear:left}.ui-grid-b .ui-block-a,.ui-grid-b .ui-block-b,.ui-grid-b .ui-block-c{width:33.25%}.ui-grid-b >:nth-child(n){width:33.333%;margin-right:-.5px}.ui-grid-b .ui-block-a{clear:left}.ui-grid-c .ui-block-a,.ui-grid-c .ui-block-b,.ui-grid-c .ui-block-c,.ui-grid-c .ui-block-d{width:24.925%}.ui-grid-c >:nth-child(n){width:25%;margin-right:-.5px}.ui-grid-c .ui-block-a{clear:left}.ui-grid-d .ui-block-a,.ui-grid-d .ui-block-b,.ui-grid-d .ui-block-c,.ui-grid-d .ui-block-d,.ui-grid-d .ui-block-e{width:19.925%}.ui-grid-d >:nth-child(n){width:20%}.ui-grid-d .ui-block-a{clear:left}@media all and (max-width:35em){.ui-responsive .ui-block-a,.ui-responsive .ui-block-b,.ui-responsive .ui-block-c,.ui-responsive .ui-block-d,.ui-responsive .ui-block-e{width:100%;float:none}}.ui-header-fixed,.ui-footer-fixed{left:0;right:0;width:100%;position:fixed;z-index:1000}.ui-header-fixed{top:-1px;padding-top:1px}.ui-header-fixed.ui-fixed-hidden{top:0;padding-top:0}.ui-footer-fixed{bottom:-1px;padding-bottom:1px}.ui-footer-fixed.ui-fixed-hidden{bottom:0;padding-bottom:0}.ui-header-fullscreen,.ui-footer-fullscreen{filter:Alpha(Opacity=90);opacity:.9}.ui-page-header-fixed{padding-top:2.6875em}.ui-page-footer-fixed{padding-bottom:2.6875em}.ui-page-header-fullscreen > .ui-content,.ui-page-footer-fullscreen > .ui-content{padding:0}.ui-fixed-hidden{position:absolute}.ui-page-header-fullscreen .ui-fixed-hidden,.ui-page-footer-fullscreen .ui-fixed-hidden{left:-9999px}.ui-header-fixed .ui-btn,.ui-footer-fixed .ui-btn{z-index:10}.ui-android-2x-fixed .ui-li-has-thumb{-webkit-transform:translate3d(0,0,0)}.ui-navbar{max-width:100%}.ui-navbar.ui-mini{margin:0}.ui-navbar ul:before,.ui-navbar ul:after{content:" ";display:table}.ui-navbar ul:after{clear:both}.ui-navbar ul{list-style:none;margin:0;padding:0;position:relative;display:block;border:0;max-width:100%;overflow:visible;zoom:1}.ui-navbar li .ui-btn{display:block;text-align:center;margin:0 -1px 0 0;border-right-width:0}.ui-navbar li .ui-btn-icon-right .ui-icon{right:6px}.ui-navbar li:last-child .ui-btn,.ui-navbar .ui-grid-duo .ui-block-b .ui-btn{margin-right:0;border-right-width:1px}.ui-header .ui-navbar li:last-child .ui-btn,.ui-footer .ui-navbar li:last-child .ui-btn,.ui-header .ui-navbar .ui-grid-duo .ui-block-b .ui-btn,.ui-footer .ui-navbar .ui-grid-duo .ui-block-b .ui-btn{margin-right:-1px;border-right-width:0}.ui-navbar .ui-grid-duo li.ui-block-a:last-child .ui-btn{margin-right:-1px;border-right-width:1px}.ui-header .ui-navbar li .ui-btn,.ui-footer .ui-navbar li .ui-btn{border-top-width:0;border-bottom-width:0}.ui-header .ui-navbar .ui-grid-b li.ui-block-c .ui-btn,.ui-footer .ui-navbar .ui-grid-b li.ui-block-c .ui-btn{margin-right:-5px}.ui-header .ui-navbar .ui-grid-c li.ui-block-d .ui-btn,.ui-footer .ui-navbar .ui-grid-c li.ui-block-d .ui-btn,.ui-header .ui-navbar .ui-grid-d li.ui-block-e .ui-btn,.ui-footer .ui-navbar .ui-grid-d li.ui-block-e .ui-btn{margin-right:-4px}.ui-header .ui-navbar .ui-grid-b li.ui-block-c .ui-btn-icon-right .ui-icon,.ui-footer .ui-navbar .ui-grid-b li.ui-block-c .ui-btn-icon-right .ui-icon,.ui-header .ui-navbar .ui-grid-c li.ui-block-d .ui-btn-icon-right .ui-icon,.ui-footer .ui-navbar .ui-grid-c li.ui-block-d .ui-btn-icon-right .ui-icon,.ui-header .ui-navbar .ui-grid-d li.ui-block-e .ui-btn-icon-right .ui-icon,.ui-footer .ui-navbar .ui-grid-d li.ui-block-e .ui-btn-icon-right .ui-icon{right:8px}.ui-navbar li .ui-btn .ui-btn-inner{padding-top:.7em;padding-bottom:.8em}.ui-navbar li .ui-btn-icon-top .ui-btn-inner{padding-top:30px}.ui-navbar li .ui-btn-icon-bottom .ui-btn-inner{padding-bottom:30px}.ui-btn{display:block;text-align:center;cursor:pointer;position:relative;margin:.5em 0;padding:0}.ui-mini{margin-top:.25em;margin-bottom:.25em}.ui-btn-left,.ui-btn-right,.ui-input-clear,.ui-btn-inline,.ui-grid-a .ui-btn,.ui-grid-b .ui-btn,.ui-grid-c .ui-btn,.ui-grid-d .ui-btn,.ui-grid-e .ui-btn,.ui-grid-solo .ui-btn{margin-right:5px;margin-left:5px}.ui-btn-inner{font-size:16px;padding:.6em 20px;min-width:.75em;display:block;position:relative;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;zoom:1}.ui-btn input,.ui-btn button{z-index:2}.ui-btn-left,.ui-btn-right,.ui-btn-inline{display:inline-block;vertical-align:middle}.ui-mobile .ui-btn-left,.ui-mobile .ui-btn-right,.ui-btn-left > .ui-btn,.ui-btn-right > .ui-btn{margin:0}.ui-btn-block{display:block}.ui-header > .ui-btn,.ui-footer > .ui-btn{display:inline-block;margin:0}.ui-header .ui-btn-block,.ui-footer .ui-btn-block{display:block}.ui-header .ui-btn-inner,.ui-footer .ui-btn-inner,.ui-mini .ui-btn-inner{font-size:12.5px;padding:.55em 11px .5em}.ui-fullsize .ui-btn-inner,.ui-fullsize .ui-btn-inner{font-size:16px;padding:.6em 20px}.ui-btn-icon-notext{width:24px;height:24px}.ui-btn-icon-notext .ui-btn-inner{padding:0;height:100%}.ui-btn-icon-notext .ui-btn-inner .ui-icon{margin:2px 1px 2px 3px;float:left}.ui-btn-text{position:relative;z-index:1;width:100%;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}div.ui-btn-text{width:auto}.ui-btn-icon-notext .ui-btn-text{position:absolute;left:-9999px}.ui-btn-icon-left .ui-btn-inner{padding-left:40px}.ui-btn-icon-right .ui-btn-inner{padding-right:40px}.ui-btn-icon-top .ui-btn-inner{padding-top:40px}.ui-btn-icon-bottom .ui-btn-inner{padding-bottom:40px}.ui-header .ui-btn-icon-left .ui-btn-inner,.ui-footer .ui-btn-icon-left .ui-btn-inner,.ui-mini.ui-btn-icon-left .ui-btn-inner,.ui-mini .ui-btn-icon-left .ui-btn-inner{padding-left:30px}.ui-header .ui-btn-icon-right .ui-btn-inner,.ui-footer .ui-btn-icon-right .ui-btn-inner,.ui-mini.ui-btn-icon-right .ui-btn-inner,.ui-mini .ui-btn-icon-right .ui-btn-inner{padding-right:30px}.ui-header .ui-btn-icon-top .ui-btn-inner,.ui-footer .ui-btn-icon-top .ui-btn-inner{padding:30px 3px .5em 3px}.ui-mini.ui-btn-icon-top .ui-btn-inner,.ui-mini .ui-btn-icon-top .ui-btn-inner{padding-top:30px}.ui-header .ui-btn-icon-bottom .ui-btn-inner,.ui-footer .ui-btn-icon-bottom .ui-btn-inner{padding:.55em 3px 30px 3px}.ui-mini.ui-btn-icon-bottom .ui-btn-inner,.ui-mini .ui-btn-icon-bottom .ui-btn-inner{padding-bottom:30px}.ui-btn-inner,.ui-btn-text{-webkit-border-radius:inherit;border-radius:inherit}.ui-btn-icon-notext .ui-icon{display:block;z-index:0}.ui-btn-icon-left > .ui-btn-inner > .ui-icon,.ui-btn-icon-right > .ui-btn-inner > .ui-icon{position:absolute;top:50%;margin-top:-9px}.ui-btn-icon-top .ui-btn-inner .ui-icon,.ui-btn-icon-bottom .ui-btn-inner .ui-icon{position:absolute;left:50%;margin-left:-9px}.ui-btn-icon-left .ui-icon{left:10px}.ui-btn-icon-right .ui-icon{right:10px}.ui-btn-icon-top .ui-icon{top:10px}.ui-btn-icon-bottom .ui-icon{top:auto;bottom:10px}.ui-header .ui-btn-icon-left .ui-icon,.ui-footer .ui-btn-icon-left .ui-icon,.ui-mini.ui-btn-icon-left .ui-icon,.ui-mini .ui-btn-icon-left .ui-icon{left:5px}.ui-header .ui-btn-icon-right .ui-icon,.ui-footer .ui-btn-icon-right .ui-icon,.ui-mini.ui-btn-icon-right .ui-icon,.ui-mini .ui-btn-icon-right .ui-icon{right:5px}.ui-header .ui-btn-icon-top .ui-icon,.ui-footer .ui-btn-icon-top .ui-icon,.ui-mini.ui-btn-icon-top .ui-icon,.ui-mini .ui-btn-icon-top .ui-icon{top:5px}.ui-header .ui-btn-icon-bottom .ui-icon,.ui-footer .ui-btn-icon-bottom .ui-icon,.ui-mini.ui-btn-icon-bottom .ui-icon,.ui-mini .ui-btn-icon-bottom .ui-icon{bottom:5px}.ui-btn-hidden{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:none;cursor:pointer;background:#fff;background:rgba(255,255,255,0);filter:Alpha(Opacity=0);opacity:.1;font-size:1px;border:none;text-indent:-9999px}.ui-disabled .ui-btn-hidden{display:none}.ui-disabled{z-index:1}.ui-field-contain .ui-btn.ui-submit{margin:0}label.ui-submit{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em;display:block}@media all and (min-width:28em){.ui-field-contain label.ui-submit{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain .ui-btn.ui-submit{width:78%;display:inline-block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.ui-hide-label .ui-btn.ui-submit{width:auto;display:block}}.ui-collapsible-inset{margin:.5em 0}.ui-collapsible-heading{font-size:16px;display:block;margin:0 -15px;padding:0;position:relative}.ui-collapsible-inset .ui-collapsible-heading{margin:0}.ui-collapsible-heading .ui-btn{text-align:left;margin:0;border-left-width:0;border-right-width:0}.ui-collapsible-inset .ui-collapsible-heading .ui-btn{border-right-width:1px;border-left-width:1px}.ui-collapsible-collapsed + .ui-collapsible:not(.ui-collapsible-inset) .ui-collapsible-heading .ui-btn{border-top-width:0}.ui-collapsible-set .ui-collapsible:not(.ui-collapsible-inset) .ui-collapsible-heading .ui-btn{border-top-width:1px}.ui-collapsible-heading .ui-btn-inner{padding-left:12px;padding-right:12px}.ui-collapsible-heading .ui-btn-icon-left .ui-btn-inner{padding-left:40px}.ui-collapsible-heading .ui-btn-icon-right .ui-btn-inner{padding-right:40px}.ui-collapsible-heading .ui-btn-icon-top .ui-btn-inner,.ui-collapsible-heading .ui-btn-icon-bottom .ui-btn-inner{text-align:center}.ui-collapsible-heading .ui-btn-icon-left.ui-mini .ui-btn-inner{padding-left:30px}.ui-collapsible-heading .ui-btn-icon-right.ui-mini .ui-btn-inner{padding-right:30px}.ui-collapsible-heading .ui-btn span.ui-btn{position:absolute;left:6px;top:50%;margin:-12px 0 0 0;width:20px;height:20px;padding:1px 0 1px 2px;text-indent:-9999px}.ui-collapsible-heading .ui-btn span.ui-btn .ui-btn-inner{padding:10px 0}.ui-collapsible-heading .ui-btn span.ui-btn .ui-icon{left:0;margin-top:-10px}.ui-collapsible-heading-status{position:absolute;top:-9999px;left:0}.ui-collapsible-content{display:block;margin:0 -15px;padding:10px 15px;border-left-width:0;border-right-width:0;border-top:none;background-image:none}.ui-collapsible-inset .ui-collapsible-content{margin:0;border-right-width:1px;border-left-width:1px}.ui-collapsible-content-collapsed{display:none}.ui-collapsible-set > .ui-collapsible.ui-corner-all{-webkit-border-radius:0;border-radius:0}.ui-collapsible-heading,.ui-collapsible-heading > .ui-btn{-webkit-border-radius:inherit;border-radius:inherit}.ui-collapsible-set .ui-collapsible.ui-first-child{-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit}.ui-collapsible-content,.ui-collapsible-set .ui-collapsible.ui-last-child{-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit}.ui-collapsible-themed-content:not(.ui-collapsible-collapsed) > .ui-collapsible-heading{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}.ui-collapsible-set{margin:.5em 0}.ui-collapsible-set .ui-collapsible{margin:-1px 0 0}.ui-collapsible-set .ui-collapsible.ui-first-child{margin-top:0}.ui-controlgroup,fieldset.ui-controlgroup{padding:0;margin:.5em 0;zoom:1}.ui-controlgroup.ui-mini,fieldset.ui-controlgroup.ui-mini{margin:.25em 0}.ui-field-contain .ui-controlgroup,.ui-field-contain fieldset.ui-controlgroup{margin:0}.ui-bar .ui-controlgroup{margin:0 5px}.ui-controlgroup-label{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .4em}.ui-controlgroup-controls label.ui-select,.ui-controlgroup-controls label.ui-submit{position:absolute;left:-9999px}.ui-controlgroup li{list-style:none}.ui-controlgroup .ui-btn{margin:0}.ui-controlgroup .ui-btn-icon-notext{width:auto;height:auto;top:auto}.ui-controlgroup .ui-btn-icon-notext .ui-btn-inner{height:20px;padding:.6em 20px .6em 20px}.ui-controlgroup-horizontal .ui-btn-icon-notext .ui-btn-inner{width:18px}.ui-controlgroup.ui-mini .ui-btn-icon-notext .ui-btn-inner,.ui-header .ui-controlgroup .ui-btn-icon-notext .ui-btn-inner,.ui-footer .ui-controlgroup .ui-btn-icon-notext .ui-btn-inner{height:16px;padding:.55em 11px .5em 11px}.ui-controlgroup .ui-btn-icon-notext .ui-btn-inner .ui-icon{position:absolute;top:50%;right:50%;margin:-9px -9px 0 0}.ui-controlgroup-horizontal .ui-btn-inner{text-align:center}.ui-controlgroup-horizontal.ui-mini .ui-btn-inner{height:16px;line-height:16px}.ui-controlgroup .ui-checkbox label,.ui-controlgroup .ui-radio label{font-size:16px}.ui-controlgroup-horizontal .ui-controlgroup-controls:before,.ui-controlgroup-horizontal .ui-controlgroup-controls:after{content:"";display:table}.ui-controlgroup-horizontal .ui-controlgroup-controls:after{clear:both}.ui-controlgroup-horizontal .ui-controlgroup-controls{display:inline-block;vertical-align:middle;zoom:1}.ui-controlgroup-horizontal .ui-controlgroup-controls > .ui-btn,.ui-controlgroup-horizontal .ui-controlgroup-controls li > .ui-btn,.ui-controlgroup-horizontal .ui-checkbox,.ui-controlgroup-horizontal .ui-radio,.ui-controlgroup-horizontal .ui-select{float:left;clear:none;margin:0}.ui-controlgroup-horizontal .ui-select .ui-btn-text{width:auto}.ui-controlgroup-vertical .ui-btn{border-bottom-width:0}.ui-controlgroup-vertical .ui-btn.ui-last-child{border-bottom-width:1px}.ui-controlgroup-horizontal .ui-btn{border-right-width:0}.ui-controlgroup-horizontal .ui-btn.ui-last-child{border-right-width:1px}.ui-controlgroup .ui-btn-corner-all{-webkit-border-radius:0;border-radius:0}.ui-controlgroup .ui-controlgroup-controls,.ui-controlgroup .ui-radio,.ui-controlgroup .ui-checkbox,.ui-controlgroup .ui-select,.ui-controlgroup li{-webkit-border-radius:inherit;border-radius:inherit}.ui-controlgroup-vertical .ui-btn.ui-first-child{-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit;-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit}.ui-controlgroup-vertical .ui-btn.ui-last-child{-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit}.ui-controlgroup-horizontal .ui-btn.ui-first-child{-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit}.ui-controlgroup-horizontal .ui-btn.ui-last-child{-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit}.ui-controlgroup .ui-shadow:not(.ui-focus){-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}@media all and (min-width:28em){.ui-field-contain .ui-controlgroup-label{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain .ui-controlgroup-controls{width:78%;display:inline-block}.ui-field-contain .ui-controlgroup .ui-select{width:100%;display:block}.ui-field-contain .ui-controlgroup-horizontal .ui-select{width:auto}.ui-hide-label .ui-controlgroup-controls{width:100%}}.ui-dialog{background:none!important}.ui-dialog-contain{width:92.5%;max-width:500px;margin:10% auto 15px auto;padding:0;position:relative;top:-15px}.ui-dialog-contain > .ui-header,.ui-dialog-contain > .ui-content,.ui-dialog-contain > .ui-footer{display:block;position:relative;width:auto;margin:0}.ui-dialog-contain > .ui-header{border:none;overflow:hidden;z-index:10;padding:0}.ui-dialog-contain > .ui-content{padding:15px}.ui-dialog-contain > .ui-footer{z-index:10;padding:0 15px}.ui-popup-open .ui-header-fixed,.ui-popup-open .ui-footer-fixed{position:absolute!important}.ui-popup-screen{background-image:url(data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);top:0;left:0;right:0;bottom:1px;position:absolute;filter:Alpha(Opacity=0);opacity:0;z-index:1099}.ui-popup-screen.in{opacity:0.5;filter:Alpha(Opacity=50)}.ui-popup-screen.out{opacity:0;filter:Alpha(Opacity=0)}.ui-popup-container{z-index:1100;display:inline-block;position:absolute;padding:0;outline:0}.ui-popup{position:relative}.ui-popup.ui-content,.ui-popup .ui-content{overflow:visible}.ui-popup > p,.ui-popup > h1,.ui-popup > h2,.ui-popup > h3,.ui-popup > h4,.ui-popup > h5,.ui-popup > h6{margin:.5em 7px}.ui-popup > span{display:block;margin:.5em 7px}.ui-popup .ui-title{font-size:16px;font-weight:bold;margin-top:.5em;margin-bottom:.5em}.ui-popup-container .ui-content > p,.ui-popup-container .ui-content > h1,.ui-popup-container .ui-content > h2,.ui-popup-container .ui-content > h3,.ui-popup-container .ui-content > h4,.ui-popup-container .ui-content > h5,.ui-popup-container .ui-content > h6{margin:.5em 0}.ui-popup-container .ui-content > span{margin:0}.ui-popup-container .ui-content > p:first-child,.ui-popup-container .ui-content > h1:first-child,.ui-popup-container .ui-content > h2:first-child,.ui-popup-container .ui-content > h3:first-child,.ui-popup-container .ui-content > h4:first-child,.ui-popup-container .ui-content > h5:first-child,.ui-popup-container .ui-content > h6:first-child{margin-top:0}.ui-popup-container .ui-content > p:last-child,.ui-popup-container .ui-content > h1:last-child,.ui-popup-container .ui-content > h2:last-child,.ui-popup-container .ui-content > h3:last-child,.ui-popup-container .ui-content > h4:last-child,.ui-popup-container .ui-content > h5:last-child,.ui-popup-container .ui-content > h6:last-child{margin-bottom:0}.ui-popup > img{width:auto;height:auto;max-width:100%;max-height:100%;vertical-align:middle}.ui-popup:not(.ui-content) > img:only-child,.ui-popup:not(.ui-content) > .ui-btn-left:first-child + img:last-child,.ui-popup:not(.ui-content) > .ui-btn-right:first-child + img:last-child{-webkit-border-radius:inherit;border-radius:inherit}.ui-popup iframe{vertical-align:middle}@media all and (min-width:28em){.ui-popup .ui-field-contain label.ui-submit,.ui-popup .ui-field-contain .ui-controlgroup-label,.ui-popup .ui-field-contain label.ui-select,.ui-popup .ui-field-contain label.ui-input-text{font-size:16px;line-height:1.4;display:block;font-weight:normal;margin:0 0 .3em}.ui-popup .ui-field-contain .ui-btn.ui-submit,.ui-popup .ui-field-contain .ui-controlgroup-controls,.ui-popup .ui-field-contain .ui-select,.ui-popup .ui-field-contain input.ui-input-text,.ui-popup .ui-field-contain textarea.ui-input-text,.ui-popup .ui-field-contain .ui-input-search{width:100%;display:block}}.ui-popup > .ui-btn-left,.ui-popup > .ui-btn-right{position:absolute;top:-9px;margin:0;z-index:1101}.ui-popup > .ui-btn-left{left:-9px}.ui-popup > .ui-btn-right{right:-9px}.ui-popup-hidden{top:-99999px;left:-9999px}.ui-checkbox,.ui-radio{position:relative;clear:both;margin:0;z-index:1}.ui-checkbox .ui-btn,.ui-radio .ui-btn{text-align:left;z-index:2}.ui-controlgroup .ui-checkbox .ui-btn,.ui-controlgroup .ui-radio .ui-btn{margin:0}.ui-checkbox .ui-btn-inner,.ui-radio .ui-btn-inner{white-space:normal}.ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner{padding-left:45px}.ui-checkbox .ui-mini.ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-mini.ui-btn-icon-left .ui-btn-inner{padding-left:36px}.ui-checkbox .ui-btn-icon-right .ui-btn-inner,.ui-radio .ui-btn-icon-right .ui-btn-inner{padding-right:45px}.ui-checkbox .ui-mini.ui-btn-icon-right .ui-btn-inner,.ui-radio .ui-mini.ui-btn-icon-right .ui-btn-inner{padding-right:36px}.ui-checkbox .ui-btn-icon-top .ui-btn-inner,.ui-radio .ui-btn-icon-top .ui-btn-inner{padding-right:0;padding-left:0;text-align:center}.ui-checkbox .ui-btn-icon-bottom .ui-btn-inner,.ui-radio .ui-btn-icon-bottom .ui-btn-inner{padding-right:0;padding-left:0;text-align:center}.ui-checkbox .ui-icon,.ui-radio .ui-icon{top:1.1em}.ui-checkbox .ui-btn-icon-left .ui-icon,.ui-radio .ui-btn-icon-left .ui-icon{left:15px}.ui-checkbox .ui-mini.ui-btn-icon-left .ui-icon,.ui-radio .ui-mini.ui-btn-icon-left .ui-icon{left:9px}.ui-checkbox .ui-btn-icon-right .ui-icon,.ui-radio .ui-btn-icon-right .ui-icon{right:15px}.ui-checkbox .ui-mini.ui-btn-icon-right .ui-icon,.ui-radio .ui-mini.ui-btn-icon-right .ui-icon{right:9px}.ui-checkbox .ui-btn-icon-top .ui-icon,.ui-radio .ui-btn-icon-top .ui-icon{top:10px}.ui-checkbox .ui-btn-icon-bottom .ui-icon,.ui-radio .ui-btn-icon-bottom .ui-icon{top:auto;bottom:10px}.ui-checkbox .ui-btn-icon-right .ui-icon,.ui-radio .ui-btn-icon-right .ui-icon{right:15px}.ui-checkbox .ui-mini.ui-btn-icon-right .ui-icon,.ui-radio .ui-mini.ui-btn-icon-right .ui-icon{right:9px}.ui-controlgroup-horizontal .ui-checkbox .ui-icon,.ui-controlgroup-horizontal .ui-radio .ui-icon{display:none}.ui-controlgroup-horizontal .ui-checkbox .ui-btn-inner,.ui-controlgroup-horizontal .ui-radio .ui-btn-inner{padding:.6em 20px}.ui-controlgroup-horizontal .ui-checkbox .ui-mini .ui-btn-inner,.ui-controlgroup-horizontal .ui-radio .ui-mini .ui-btn-inner{padding:.55em 11px .5em}.ui-checkbox input,.ui-radio input{position:absolute;left:20px;top:50%;width:10px;height:10px;margin:-5px 0 0 0;outline:0!important;z-index:1}.ui-field-contain,fieldset.ui-field-contain{padding:.8em 0;margin:0;border-width:0 0 1px 0;overflow:visible}.ui-field-contain:last-child{border-bottom-width:0}.ui-field-contain{max-width:100%}@media all and (min-width:28em){.ui-field-contain,.ui-mobile fieldset.ui-field-contain{border-width:0;padding:0;margin:1em 0}}.ui-select{display:block;position:relative}.ui-select select{position:absolute;left:-9999px;top:-9999px}.ui-select .ui-btn{opacity:1}.ui-field-contain .ui-select .ui-btn{margin:0}.ui-select .ui-btn select{cursor:pointer;-webkit-appearance:none;left:0;top:0;width:100%;min-height:1.5em;min-height:100%;height:3em;max-height:100%;filter:Alpha(Opacity=0);opacity:0;z-index:2}.ui-select .ui-disabled{opacity:.3}.ui-select .ui-disabled select{display:none}@-moz-document url-prefix(){.ui-select .ui-btn select{opacity:0.0001}}.ui-select .ui-btn.ui-select-nativeonly{border-radius:0;border:0}.ui-select .ui-btn.ui-select-nativeonly select{opacity:1;text-indent:0;display:block}.ui-select .ui-disabled.ui-select-nativeonly .ui-btn-inner{opacity:0}.ui-select .ui-btn-icon-right .ui-btn-inner,.ui-select .ui-li-has-count .ui-btn-inner{padding-right:45px}.ui-select .ui-mini.ui-btn-icon-right .ui-btn-inner{padding-right:32px}.ui-select .ui-btn-icon-right.ui-li-has-count .ui-btn-inner{padding-right:80px}.ui-select .ui-mini.ui-btn-icon-right.ui-li-has-count .ui-btn-inner{padding-right:67px}.ui-select .ui-btn-icon-right .ui-icon{right:15px}.ui-select .ui-mini.ui-btn-icon-right .ui-icon{right:7px}.ui-select .ui-btn-icon-right.ui-li-has-count .ui-li-count{right:45px}.ui-select .ui-mini.ui-btn-icon-right.ui-li-has-count .ui-li-count{right:32px}label.ui-select{font-size:16px;line-height:1.4;font-weight:normal;margin:0 0 .3em;display:block}.ui-select .ui-btn-text,.ui-selectmenu .ui-btn-text{display:block;min-height:1em;overflow:hidden!important}.ui-select .ui-btn-text{text-overflow:ellipsis}.ui-selectmenu{padding:6px;min-width:160px}.ui-selectmenu .ui-listview{margin:0}.ui-selectmenu .ui-btn.ui-li-divider{cursor:default}.ui-screen-hidden,.ui-selectmenu-list .ui-li .ui-icon{display:none}.ui-selectmenu-list .ui-li .ui-icon{display:block}.ui-li.ui-selectmenu-placeholder{display:none}.ui-selectmenu .ui-header{margin:0;padding:0}.ui-selectmenu.ui-popup .ui-header{-webkit-border-top-left-radius:0;border-top-left-radius:0;-webkit-border-top-right-radius:0;border-top-right-radius:0}.ui-selectmenu .ui-header .ui-title{margin:0.6em 46px 0.8em}@media all and (min-width:28em){.ui-field-contain label.ui-select{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain .ui-select{width:78%;display:inline-block}.ui-hide-label .ui-select{width:100%}}.ui-selectmenu .ui-header h1:after{content:'.';visibility:hidden}label.ui-input-text{font-size:16px;line-height:1.4;display:block;font-weight:normal;margin:0 0 .3em}input.ui-input-text,textarea.ui-input-text{background-image:none;padding:.4em;margin:.5em 0;min-height:1.4em;line-height:1.4em;font-size:16px;display:block;width:100%;outline:0}input.ui-mini,.ui-mini input,textarea.ui-mini{font-size:14px}div.ui-input-text input.ui-input-text,div.ui-input-text textarea.ui-input-text,.ui-input-search input.ui-input-text{border:none;width:100%;padding:.4em 0;margin:0;display:block;background:transparent none;outline:0!important}.ui-input-search,div.ui-input-text{margin:.5em 0;background-image:none;position:relative}.ui-input-search{padding:0 30px}div.ui-input-text{padding:0 .4em}div.ui-input-has-clear{padding:0 30px 0 .4em}input.ui-input-text.ui-mini,textarea.ui-input-text.ui-mini,.ui-input-search.ui-mini,div.ui-input-text.ui-mini{margin:.25em 0}.ui-field-contain input.ui-input-text,.ui-field-contain textarea.ui-input-text,.ui-field-contain .ui-input-search,.ui-field-contain div.ui-input-text{margin:0}textarea.ui-input-text{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}input.ui-input-text{-webkit-appearance:none}textarea.ui-input-text{height:50px;-webkit-transition:height 200ms linear;-moz-transition:height 200ms linear;-o-transition:height 200ms linear;transition:height 200ms linear}textarea.ui-mini{height:45px}.ui-icon-searchfield:after{position:absolute;left:7px;top:50%;margin-top:-9px;content:"";width:18px;height:18px;opacity:.5}.ui-input-search .ui-input-clear,.ui-input-text .ui-input-clear{position:absolute;right:0;top:50%;margin-top:-13px}.ui-mini .ui-input-clear{margin-top:-14px;right:-3px}.ui-input-search .ui-input-clear-hidden,.ui-input-text .ui-input-clear-hidden{display:none}input::-moz-placeholder,textarea::-moz-placeholder{color:#aaa}input[type=number]::-webkit-outer-spin-button{margin:0}@media all and (min-width:28em){.ui-field-contain label.ui-input-text{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain input.ui-input-text,.ui-field-contain textarea.ui-input-text,.ui-field-contain .ui-input-search,.ui-field-contain div.ui-input-text{width:78%;display:inline-block}.ui-field-contain .ui-input-search,.ui-field-contain div.ui-input-text{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.ui-hide-label input.ui-input-text,.ui-hide-label textarea.ui-input-text,.ui-hide-label .ui-input-search,.ui-hide-label div.ui-input-text,.ui-input-search input.ui-input-text,div.ui-input-text input.ui-input-text{width:100%}}.ui-rangeslider{zoom:1;margin:0}.ui-rangeslider:before,.ui-rangeslider:after{content:"";display:table}.ui-rangeslider:after{clear:both}.ui-rangeslider input.ui-input-text.ui-slider-input{margin:.57143em 0}.ui-rangeslider.ui-mini input.ui-slider-input{margin:.28571em 0}.ui-rangeslider input.ui-slider-input.ui-rangeslider-last{float:right}.ui-rangeslider .ui-rangeslider-sliders{position:relative;overflow:visible;height:30px;margin:.5em 68px}.ui-rangeslider.ui-mini .ui-rangeslider-sliders{margin:.25em 68px}.ui-field-contain .ui-rangeslider input.ui-slider-input,.ui-field-contain .ui-rangeslider.ui-mini input.ui-slider-input,.ui-field-contain .ui-rangeslider .ui-rangeslider-sliders,.ui-field-contain .ui-rangeslider.ui-mini .ui-rangeslider-sliders{margin-top:0;margin-bottom:0}.ui-rangeslider .ui-rangeslider-sliders .ui-slider-track{position:absolute;top:6px;right:0;left:0;margin:0}.ui-rangeslider.ui-mini .ui-rangeslider-sliders .ui-slider-track{top:8px}.ui-rangeslider .ui-slider-track:first-child .ui-slider-bg{display:none}.ui-rangeslider .ui-rangeslider-sliders .ui-slider-track:first-child{background-color:transparent;background:none;border-width:0;height:0}html >body .ui-rangeslider.ui-mini .ui-rangeslider-sliders .ui-slider-track:first-child{height:12px}@media all and (min-width:28em){.ui-field-contain .ui-rangeslider label.ui-slider{float:left}.ui-field-contain .ui-rangeslider input.ui-slider-input{position:relative;z-index:1}.ui-field-contain .ui-rangeslider input.ui-slider-input.ui-rangeslider-first,.ui-field-contain .ui-rangeslider.ui-mini input.ui-slider-input.ui-rangeslider-first{margin-right:17px}.ui-field-contain .ui-rangeslider .ui-rangeslider-sliders,.ui-field-contain .ui-rangeslider.ui-mini .ui-rangeslider-sliders{float:left;width:78%;margin:0 -68px}.ui-field-contain .ui-rangeslider .ui-slider-track,.ui-field-contain .ui-rangeslider.ui-mini .ui-slider-track{right:68px;left:68px}.ui-field-contain.ui-hide-label .ui-rangeslider input.ui-slider-input.ui-rangeslider-first{margin:0}.ui-field-contain.ui-hide-label .ui-rangeslider .ui-rangeslider-sliders,.ui-field-contain.ui-hide-label .ui-rangeslider.ui-mini .ui-rangeslider-sliders{width:auto;float:none;margin:0 68px}.ui-field-contain.ui-hide-label .ui-rangeslider .ui-slider-track,.ui-field-contain.ui-hide-label .ui-rangeslider.ui-mini .ui-slider-track{right:0;left:0}}.ui-listview{margin:0}ol.ui-listview,ol.ui-listview .ui-li-divider{counter-reset:listnumbering}.ui-content .ui-listview,.ui-panel-inner > .ui-listview{margin:-15px}.ui-collapsible-content > .ui-listview{margin:-10px -15px}.ui-content .ui-listview-inset,.ui-panel-inner .ui-listview-inset{margin:1em 0}.ui-collapsible-content .ui-listview-inset{margin:.5em 0}.ui-listview,.ui-li{list-style:none;padding:0}.ui-li,.ui-li.ui-field-contain{display:block;margin:0;position:relative;overflow:visible;text-align:left;border-width:0;border-top-width:1px}.ui-li.ui-btn,.ui-li.ui-field-contain,.ui-li-divider,.ui-li-static{margin:0}.ui-listview-inset .ui-li{border-right-width:1px;border-left-width:1px}.ui-li.ui-last-child,.ui-li.ui-field-contain.ui-last-child{border-bottom-width:1px}.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) > .ui-li.ui-first-child{border-top-width:0}.ui-collapsible-themed-content .ui-listview:not(.ui-listview-inset) > .ui-li.ui-last-child{border-bottom-width:0}.ui-li .ui-btn-text a.ui-link-inherit{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-static{background-image:none}.ui-li-divider{padding:.5em 15px;font-size:14px;font-weight:bold}ol.ui-listview .ui-link-inherit:before,ol.ui-listview .ui-li-static:before,.ui-li-dec{font-size:.8em;display:inline-block;padding-right:.3em;font-weight:normal;counter-increment:listnumbering;content:counter(listnumbering) ". "}ol.ui-listview .ui-li-jsnumbering:before{content:""!important}.ui-listview > .ui-li.ui-first-child,.ui-listview .ui-btn.ui-first-child > .ui-li > .ui-btn-text > .ui-link-inherit{-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit}.ui-listview > .ui-li.ui-last-child,.ui-listview .ui-btn.ui-last-child > .ui-li > .ui-btn-text > .ui-link-inherit,.ui-collapsible-content > .ui-listview:not(.ui-listview-inset),.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) .ui-li.ui-last-child{-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit}.ui-listview > .ui-li.ui-first-child .ui-li-link-alt{-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit}.ui-listview > .ui-li.ui-last-child .ui-li-link-alt{-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit}.ui-listview > .ui-li.ui-first-child .ui-li-thumb:not(.ui-li-icon){-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit}.ui-listview > .ui-li.ui-last-child .ui-li-thumb:not(.ui-li-icon){-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit}.ui-li>.ui-btn-inner{display:block;position:relative;padding:0}.ui-li .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li{padding:.7em 15px;display:block}.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-thumb{min-height:59px;padding-left:100px}.ui-li-has-icon .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-icon{min-height:20px;padding-left:40px}.ui-li-has-count .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-count,.ui-li-divider.ui-li-has-count{padding-right:45px}.ui-li-has-arrow .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-arrow{padding-right:40px}.ui-li-has-arrow.ui-li-has-count .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-arrow.ui-li-has-count{padding-right:75px}.ui-li-heading{font-size:16px;font-weight:bold;display:block;margin:.6em 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-desc{font-size:12px;font-weight:normal;display:block;margin:-.5em 0 .6em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-thumb,.ui-listview .ui-li-icon{position:absolute;left:1px;top:0;max-height:80px;max-width:80px}.ui-listview .ui-li-icon{max-height:16px;max-width:16px;left:10px;top:.9em}.ui-li-thumb,.ui-listview .ui-li-icon,.ui-li-content{float:left;margin-right:10px}.ui-li-aside{float:right;width:50%;text-align:right;margin:.3em 0}@media all and (min-width:480px){.ui-li-aside{width:45%}}.ui-li-divider{cursor:default}.ui-li-has-alt .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-alt{padding-right:53px}.ui-li-has-alt.ui-li-has-count .ui-btn-inner a.ui-link-inherit,.ui-li-static.ui-li-has-alt.ui-li-has-count{padding-right:88px}.ui-li-has-count .ui-li-count{position:absolute;font-size:11px;font-weight:bold;padding:.2em .5em;top:50%;margin-top:-.9em;right:10px}.ui-li-has-count.ui-li-divider .ui-li-count,.ui-li-has-count .ui-link-inherit .ui-li-count{margin-top:-.95em}.ui-li-has-arrow.ui-li-has-count .ui-li-count{right:40px}.ui-li-has-alt.ui-li-has-count .ui-li-count{right:53px}.ui-li-link-alt{position:absolute;width:40px;height:100%;border-width:0;border-left-width:1px;top:0;right:0;margin:0;padding:0;z-index:2}.ui-li-link-alt .ui-btn{overflow:hidden;position:absolute;right:8px;top:50%;margin:-13px 0 0 0;border-bottom-width:1px;z-index:-1}.ui-li-link-alt .ui-btn-inner{padding:0;height:100%;position:absolute;width:100%;top:0;left:0}.ui-li-link-alt .ui-btn .ui-icon{right:50%;margin-right:-9px}.ui-li-link-alt .ui-btn-icon-notext .ui-btn-inner .ui-icon{position:absolute;top:50%;margin-top:-9px}.ui-listview * .ui-btn-inner > .ui-btn > .ui-btn-inner{border-top:0}.ui-listview-filter{border-width:0;overflow:hidden;margin:-15px -15px 15px -15px}.ui-collapsible-content .ui-listview-filter{margin:-10px -15px 10px -15px;border-bottom:inherit}.ui-listview-filter-inset{margin:-15px -5px;background:transparent}.ui-collapsible-content .ui-listview-filter-inset{margin:-5px;border-bottom-width:0}.ui-listview-filter .ui-input-search{margin:5px;width:auto;display:block}.ui-li.ui-screen-hidden{display:none}@media only screen and (min-device-width:768px) and (max-device-width:1024px){.ui-li .ui-btn-text{overflow:visible}}label.ui-slider{font-size:16px;line-height:1.4;font-weight:normal;margin:0;display:block}.ui-field-contain label.ui-slider{margin-bottom:.4em}div.ui-slider{height:30px;margin:.5em 0;zoom:1}div.ui-slider.ui-mini{margin:.25em 0}.ui-field-contain div.ui-slider,.ui-field-contain div.ui-slider.ui-mini{margin:0}div.ui-slider:before,div.ui-slider:after{content:"";display:table}div.ui-slider:after{clear:both}input.ui-input-text.ui-slider-input{display:block;float:left;margin:0;padding:4px;width:40px;height:22px;line-height:22px;font-size:14px;border:none;background-image:none;font-weight:bold;text-align:center;vertical-align:text-bottom;outline:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}.ui-slider-input::-webkit-outer-spin-button,.ui-slider-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.ui-slider-track,.ui-slider-switch{position:relative;overflow:visible;height:15px;margin:0 15px 0 68px;top:6px}.ui-slider-track.ui-mini{height:12px;top:8px}.ui-slider-bg{border:none;height:100%}.ui-slider-track .ui-btn.ui-slider-handle,.ui-slider-switch .ui-btn.ui-slider-handle{position:absolute;z-index:1;top:50%;width:28px;height:28px;margin:-15px 0 0 -15px;outline:0}.ui-slider-track.ui-mini .ui-slider-handle{height:14px;width:14px;margin:-8px 0 0 -7px}.ui-slider-handle .ui-btn-inner{padding:0;height:100%}.ui-slider-track.ui-mini .ui-slider-handle .ui-btn-inner{height:30px;width:30px;padding:0;margin:-9px 0 0 -9px;border-top:none}select.ui-slider-switch{display:none}div.ui-slider-switch{display:inline-block;height:32px;width:5.8em;margin:.5em 0;top:0}div.ui-slider-switch.ui-mini{width:5em;height:29px;margin:.25em 0;top:0}.ui-field-contain .ui-slider-switch,.ui-field-contain .ui-slider-switch.ui-mini{margin:0}.ui-slider-inneroffset{margin:0 16px;position:relative;z-index:1}.ui-slider-switch.ui-mini .ui-slider-inneroffset{margin:0 15px 0 14px}.ui-slider-switch .ui-btn.ui-slider-handle{margin:1px 0 0 -15px}.ui-slider-switch.ui-mini .ui-slider-handle{width:25px;height:25px;margin:1px 0 0 -13px;padding:0}.ui-slider-handle-snapping{-webkit-transition:left 70ms linear;-moz-transition:left 70ms linear}.ui-slider-switch.ui-mini .ui-slider-handle .ui-btn-inner{height:30px;width:30px;padding:0;margin:0;border-top:none}.ui-slider-switch .ui-slider-label{position:absolute;text-align:center;width:100%;overflow:hidden;font-size:16px;top:0;line-height:2;min-height:100%;border-width:0;white-space:nowrap;cursor:pointer}.ui-slider-switch.ui-mini .ui-slider-label{font-size:14px}.ui-slider-switch .ui-slider-label-a{z-index:1;left:0;text-indent:-1.5em}.ui-slider-switch .ui-slider-label-b{z-index:0;right:0;text-indent:1.5em}@media all and (min-width:28em){.ui-field-contain label.ui-slider{vertical-align:top;display:inline-block;width:20%;margin:0 2% 0 0}.ui-field-contain div.ui-slider{display:inline-block;width:78%}.ui-field-contain.ui-hide-label div.ui-slider{display:block;width:auto}.ui-field-contain div.ui-slider-switch,.ui-field-contain.ui-hide-label div.ui-slider-switch{display:inline-block;width:5.8em}.ui-field-contain div.ui-slider-switch.ui-mini{width:5em}}.ui-table{border:0;border-collapse:collapse;padding:0;width:100%}.ui-table th,.ui-table td{line-height:1.5em;text-align:left;padding:.4em .5em;vertical-align:top}.ui-table th .ui-btn,.ui-table td .ui-btn{line-height:normal}.ui-table th{font-weight:bold}.ui-table caption{text-align:left;margin-bottom:1.4em;opacity:.5}.table-stroke thead th{border-bottom:1px solid #d6d6d6;border-bottom:1px solid rgba(0,0,0,.1)}.table-stroke tbody th,.table-stroke tbody td{border-bottom:1px solid #e6e6e6;border-bottom:1px solid rgba(0,0,0,.05)}.table-stripe tbody tr:nth-child(odd) td,.table-stripe tbody tr:nth-child(odd) th{background-color:#eee;background-color:rgba(0,0,0,0.04)}.table-stripe thead th,.table-stripe tbody tr:last-child{border-bottom:1px solid #d6d6d6;border-bottom:1px solid rgba(0,0,0,.1)}.ui-table-columntoggle-btn{float:right;margin-bottom:.8em}.ui-table-columntoggle-popup fieldset{margin:0}@media only all{th.ui-table-priority-6,td.ui-table-priority-6,th.ui-table-priority-5,td.ui-table-priority-5,th.ui-table-priority-4,td.ui-table-priority-4,th.ui-table-priority-3,td.ui-table-priority-3,th.ui-table-priority-2,td.ui-table-priority-2,th.ui-table-priority-1,td.ui-table-priority-1{display:none}}@media screen and (min-width:20em){.ui-table-columntoggle.ui-responsive th.ui-table-priority-1,.ui-table-columntoggle.ui-responsive td.ui-table-priority-1{display:table-cell}}@media screen and (min-width:30em){.ui-table-columntoggle.ui-responsive th.ui-table-priority-2,.ui-table-columntoggle.ui-responsive td.ui-table-priority-2{display:table-cell}}@media screen and (min-width:40em){.ui-table-columntoggle.ui-responsive th.ui-table-priority-3,.ui-table-columntoggle.ui-responsive td.ui-table-priority-3{display:table-cell}}@media screen and (min-width:50em){.ui-table-columntoggle.ui-responsive th.ui-table-priority-4,.ui-table-columntoggle.ui-responsive td.ui-table-priority-4{display:table-cell}}@media screen and (min-width:60em){.ui-table-columntoggle.ui-responsive th.ui-table-priority-5,.ui-table-columntoggle.ui-responsive td.ui-table-priority-5{display:table-cell}}@media screen and (min-width:70em){.ui-table-columntoggle.ui-responsive th.ui-table-priority-6,.ui-table-columntoggle.ui-responsive td.ui-table-priority-6{display:table-cell}}.ui-table-columntoggle th.ui-table-cell-hidden,.ui-table-columntoggle td.ui-table-cell-hidden,.ui-table-columntoggle.ui-responsive th.ui-table-cell-hidden,.ui-table-columntoggle.ui-responsive td.ui-table-cell-hidden{display:none}.ui-table-columntoggle th.ui-table-cell-visible,.ui-table-columntoggle td.ui-table-cell-visible,.ui-table-columntoggle.ui-responsive th.ui-table-cell-visible,.ui-table-columntoggle.ui-responsive td.ui-table-cell-visible{display:table-cell}.ui-table-reflow td .ui-table-cell-label,.ui-table-reflow th .ui-table-cell-label{display:none}@media only all{.ui-table-reflow thead td,.ui-table-reflow thead th{display:none}.ui-table-reflow td,.ui-table-reflow th{text-align:left;display:block}.ui-table-reflow tbody th{margin-top:3em}.ui-table-reflow td .ui-table-cell-label,.ui-table-reflow th .ui-table-cell-label{display:block;padding:.4em;min-width:30%;display:inline-block;margin:-.4em 1em -.4em -.4em}.ui-table-reflow th .ui-table-cell-label-top,.ui-table-reflow td .ui-table-cell-label-top{display:block;padding:.4em 0;margin:.4em 0;text-transform:uppercase;font-size:.9em;font-weight:normal}}@media ( min-width:35em ){.ui-table-reflow.ui-responsive{display:table-row-group}.ui-table-reflow.ui-responsive td,.ui-table-reflow.ui-responsive th,.ui-table-reflow.ui-responsive tbody th,.ui-table-reflow.ui-responsive tbody td,.ui-table-reflow.ui-responsive thead td,.ui-table-reflow.ui-responsive thead th{display:table-cell;margin:0}.ui-table-reflow.ui-responsive td .ui-table-cell-label,.ui-table-reflow.ui-responsive th .ui-table-cell-label{display:none}}@media ( max-width:35em ){.ui-table-reflow.ui-responsive td,.ui-table-reflow.ui-responsive th{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;clear:left}}.ui-panel{width:17em;min-height:100%;border-width:0;position:absolute;top:0;display:block}.ui-panel-closed{width:0;overflow:hidden}.ui-panel-fixed{position:fixed;bottom:-1px;padding-bottom:1px}.ui-panel-display-overlay{z-index:1001}.ui-panel-display-reveal{z-index:0}.ui-panel-display-push{z-index:999}.ui-panel-inner{padding:15px}.ui-panel-content-wrap{position:relative;left:0;min-height:inherit;border:none;z-index:999}.ui-panel-content-wrap-display-overlay,.ui-panel-animate.ui-panel-content-wrap > .ui-header,.ui-panel-content-wrap-closed{position:static}.ui-panel-dismiss{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1002;display:none}.ui-panel-dismiss-open{display:block}.ui-panel-animate{-webkit-transition:-webkit-transform 350ms ease;-moz-transition:-moz-transform 350ms ease;transition:transform 350ms ease}.ui-panel-animate.ui-panel:not(.ui-panel-display-reveal),.ui-panel-animate.ui-panel:not(.ui-panel-display-reveal) > div,.ui-panel-animate.ui-panel-content-wrap,.ui-panel-animate.ui-panel-content-fixed-toolbar{-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0)}.ui-panel-position-left{left:-17em}.ui-panel-animate.ui-panel-position-left.ui-panel-display-overlay,.ui-panel-animate.ui-panel-position-left.ui-panel-display-push{left:0;-webkit-transform:translate3d(-17em,0,0);-moz-transform:translate3d(-17em,0,0);transform:translate3d(-17em,0,0)}.ui-panel-position-left.ui-panel-display-reveal,.ui-panel-position-left.ui-panel-open{left:0}.ui-panel-animate.ui-panel-position-left.ui-panel-open.ui-panel-display-overlay,.ui-panel-animate.ui-panel-position-left.ui-panel-open.ui-panel-display-push{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.ui-panel-position-right{right:-17em}.ui-panel-animate.ui-panel-position-right.ui-panel-display-overlay,.ui-panel-animate.ui-panel-position-right.ui-panel-display-push{right:0;-webkit-transform:translate3d(17em,0,0);-moz-transform:translate3d(17em,0,0);transform:translate3d(17em,0,0)}.ui-panel-position-right.ui-panel-display-reveal,.ui-panel-position-right.ui-panel-open{right:0}.ui-panel-animate.ui-panel-position-right.ui-panel-open.ui-panel-display-overlay,.ui-panel-animate.ui-panel-position-right.ui-panel-open.ui-panel-display-push{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open,.ui-panel-content-wrap-position-left.ui-panel-content-wrap-open,.ui-panel-dismiss-position-left.ui-panel-dismiss-open{left:17em;right:-17em}.ui-panel-animate.ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-reveal,.ui-panel-animate.ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push,.ui-panel-animate.ui-panel-content-wrap-position-left.ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal,.ui-panel-animate.ui-panel-content-wrap-position-left.ui-panel-content-wrap-open.ui-panel-content-wrap-display-push{left:0;right:0;-webkit-transform:translate3d(17em,0,0);-moz-transform:translate3d(17em,0,0);transform:translate3d(17em,0,0)}.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open,.ui-panel-content-wrap-position-right.ui-panel-content-wrap-open,.ui-panel-dismiss-position-right.ui-panel-dismiss-open{left:-17em;right:17em}.ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-reveal,.ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push,.ui-panel-animate.ui-panel-content-wrap-position-right.ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal,.ui-panel-animate.ui-panel-content-wrap-position-right.ui-panel-content-wrap-open.ui-panel-content-wrap-display-push{left:0;right:0;-webkit-transform:translate3d(-17em,0,0);-moz-transform:translate3d(-17em,0,0);transform:translate3d(-17em,0,0)}.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-overlay,.ui-panel-content-wrap-open.ui-panel-content-wrap-display-overlay{left:0}.ui-page-active.ui-page-panel{overflow-x:hidden}.ui-panel-display-reveal{-webkit-box-shadow:inset -5px 0 5px rgba(0,0,0,.15);-moz-box-shadow:inset -5px 0 5px rgba(0,0,0,.15);box-shadow:inset -5px 0 5px rgba(0,0,0,.15)}.ui-panel-position-right.ui-panel-display-reveal{-webkit-box-shadow:inset 5px 0 5px rgba(0,0,0,.15);-moz-box-shadow:inset 5px 0 5px rgba(0,0,0,.15);box-shadow:inset 5px 0 5px rgba(0,0,0,.15)}.ui-panel-position-right.ui-panel-display-overlay{-webkit-box-shadow:-5px 0 5px rgba(0,0,0,.15);-moz-box-shadow:-5px 0 5px rgba(0,0,0,.15);box-shadow:-5px 0 5px rgba(0,0,0,.15)}.ui-panel-position-left.ui-panel-display-overlay{-webkit-box-shadow:5px 0 5px rgba(0,0,0,.15);-moz-box-shadow:5px 0 5px rgba(0,0,0,.15);box-shadow:5px 0 5px rgba(0,0,0,.15)}.ui-panel-display-push.ui-panel-open.ui-panel-position-left{border-right-width:1px;margin-right:-1px}.ui-panel-animate.ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push{margin-left:1px}.ui-panel-display-push.ui-panel-open.ui-panel-position-right{border-left-width:1px;margin-left:-1px}.ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push{margin-right:1px}@media (min-width:55em){.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-left,.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-left,.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-left,.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-left{margin-right:17em}.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-right,.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-right,.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-right,.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-right{margin-left:17em}.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push,.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal{width:auto}.ui-responsive-panel .ui-panel-dismiss-display-push{display:none}} \ No newline at end of file diff --git a/themes/default/mobile/css/maintenance.css b/themes/default/mobile/css/maintenance.css new file mode 100644 index 000000000..c145ce287 --- /dev/null +++ b/themes/default/mobile/css/maintenance.css @@ -0,0 +1,20 @@ +#maintenance { + margin:0 auto; + width:100%; + font:normal 20px Arial, Verdana, sans-serif; + font-weight: bold; + color:#333; +} +#maintenance #store { + text-align:center; +} +#maintenance #message { + margin:20px 20px; + text-align:center; +} +#maintenance #prestashop { + background:url(../img/bg_maintenance.png) no-repeat 100% 0 #fff; + background-position:center bottom; + height:360px; + margin: 60px; +} \ No newline at end of file diff --git a/themes/default/mobile/discount.tpl b/themes/default/mobile/discount.tpl new file mode 100644 index 000000000..f528d718a --- /dev/null +++ b/themes/default/mobile/discount.tpl @@ -0,0 +1,86 @@ +{* +* 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 +* @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 +*} + +{capture assign='page_title'}{l s='My vouchers'}{/capture} +{include file='./page-title.tpl'} + +
      + {l s='My account'} + + {if isset($discount) && count($discount) && $nbDiscounts} + + + + + + + + + + + + + + {foreach from=$discount item=discountDetail name=myLoop} + + + + + + + + + + {/foreach} + +
      {l s='Code'}{l s='Description'}{l s='Quantity'}{l s='Value'}*{l s='Minimum'}{l s='Cumulative'}{l s='Expiration date'}
      {$discountDetail.name}{$discountDetail.description}{$discountDetail.quantity_for_user} + {if $discountDetail.id_discount_type == 1} + {$discountDetail.value|escape:'html':'UTF-8'}% + {elseif $discountDetail.id_discount_type == 2} + {convertPrice price=$discountDetail.value} + {else} + {l s='Free shipping'} + {/if} + + {if $discountDetail.minimal == 0} + {l s='None'} + {else} + {convertPrice price=$discountDetail.minimal} + {/if} + + {if $discountDetail.cumulable == 1} + {l s='Yes'} {l s='Yes'} + {else} + {l s='No'} {l s='No'} + {/if} + {dateFormat date=$discountDetail.date_to}
      +

      + *{l s='Tax included'} +

      + {else} +

      {l s='You do not have any vouchers.'}

      + {/if} + +
      diff --git a/themes/default/mobile/errors.tpl b/themes/default/mobile/errors.tpl new file mode 100644 index 000000000..be26c41ed --- /dev/null +++ b/themes/default/mobile/errors.tpl @@ -0,0 +1,57 @@ +{* +* 2007-2011 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 +* @copyright 2007-2011 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($errors) && $errors} + +{/if} diff --git a/themes/default/mobile/footer.tpl b/themes/default/mobile/footer.tpl new file mode 100644 index 000000000..c725a4d2a --- /dev/null +++ b/themes/default/mobile/footer.tpl @@ -0,0 +1,50 @@ +{* +* 2007-2011 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 +* @copyright 2007-2011 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      + + diff --git a/themes/default/mobile/header.tpl b/themes/default/mobile/header.tpl new file mode 100644 index 000000000..12e5816bb --- /dev/null +++ b/themes/default/mobile/header.tpl @@ -0,0 +1,83 @@ +{* +* 2007-2011 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 +* @copyright 2007-2011 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + {$meta_title|escape:'html':'UTF-8'} + {**} + +{if isset($meta_description) AND $meta_description} + +{/if} +{if isset($meta_keywords) AND $meta_keywords} + +{/if} + + + + + + +{if isset($css_files)} + {foreach from=$css_files key=css_uri item=media} + + {/foreach} +{/if} +{if isset($js_files)} + {foreach from=$js_files item=js_uri} + + {/foreach} +{/if} + {$HOOK_MOBILE_HEADER} + + +
      + diff --git a/themes/default/mobile/history.tpl b/themes/default/mobile/history.tpl new file mode 100644 index 000000000..3aed9623b --- /dev/null +++ b/themes/default/mobile/history.tpl @@ -0,0 +1,63 @@ +{* +* 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 +* @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 +*} + +{capture assign='page_title'}{l s='Order history'}{/capture} +{include file='./page-title.tpl'} +{include file="$tpl_dir./errors.tpl"} +
      + {l s='My account'} + +

      {l s='Here are the orders you\'ve placed since your account was created.'}.

      + + {if $slowValidation}

      {l s='If you have just placed an order, it may take a few minutes for it to be validated. Please refresh this page if your order is missing.'}

      {/if} + +
      + {if $orders && count($orders)} + + {else} +

      {l s='You have not placed any orders.'}

      + {/if} +
      + +
      diff --git a/themes/default/mobile/identity.tpl b/themes/default/mobile/identity.tpl new file mode 100644 index 000000000..fd6bd91a4 --- /dev/null +++ b/themes/default/mobile/identity.tpl @@ -0,0 +1,109 @@ +{* +* 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 +* @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 +*} + +{capture assign='page_title'}{l s='Your personal information'}{/capture} +{include file='./page-title.tpl'} + +
      +{l s='My account'} + +{include file="./errors.tpl"} + +{if isset($confirmation) && $confirmation} +

      + {l s='Your personal information has been successfully updated.'} + {if isset($pwd_changed)}
      {l s='Your password has been sent to your email:'} {$email|escape:'html':'UTF-8'}{/if} +

      +{else} +

      {l s='Please be sure to update your personal information if it has changed.'}

      +

      *{l s='Required field'}

      +
      + +
      + {foreach from=$genders key=k item=gender} + id}checked="checked"{/if} /> + + {/foreach} +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      + + +
      + +
      + + + +
      + {if $newsletter} +
      + + + + +
      + {/if} + +

      + {l s='[Insert customer data privacy clause here, if applicable]'} +

      +
      +{/if} +
      diff --git a/themes/default/mobile/img/ajax-loader.gif b/themes/default/mobile/img/ajax-loader.gif new file mode 100644 index 000000000..fd1a189c2 Binary files /dev/null and b/themes/default/mobile/img/ajax-loader.gif differ diff --git a/themes/default/mobile/img/ajax-loader.png b/themes/default/mobile/img/ajax-loader.png new file mode 100644 index 000000000..13b208ddd Binary files /dev/null and b/themes/default/mobile/img/ajax-loader.png differ diff --git a/themes/default/mobile/img/bg_maintenance.png b/themes/default/mobile/img/bg_maintenance.png new file mode 100644 index 000000000..f95c88e1d Binary files /dev/null and b/themes/default/mobile/img/bg_maintenance.png differ diff --git a/themes/default/mobile/img/icon/addrbook.png b/themes/default/mobile/img/icon/addrbook.png new file mode 100644 index 000000000..b97ef763e Binary files /dev/null and b/themes/default/mobile/img/icon/addrbook.png differ diff --git a/themes/default/mobile/img/icon/favorite.png b/themes/default/mobile/img/icon/favorite.png new file mode 100644 index 000000000..fc648f23e Binary files /dev/null and b/themes/default/mobile/img/icon/favorite.png differ diff --git a/themes/default/mobile/img/icon/gift.png b/themes/default/mobile/img/icon/gift.png new file mode 100644 index 000000000..e50d855cb Binary files /dev/null and b/themes/default/mobile/img/icon/gift.png differ diff --git a/themes/default/mobile/img/icon/home.png b/themes/default/mobile/img/icon/home.png new file mode 100644 index 000000000..f8e824a2e Binary files /dev/null and b/themes/default/mobile/img/icon/home.png differ diff --git a/themes/default/mobile/img/icon/index.php b/themes/default/mobile/img/icon/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/mobile/img/icon/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/mobile/img/icon/my-account.png b/themes/default/mobile/img/icon/my-account.png new file mode 100644 index 000000000..d09cce653 Binary files /dev/null and b/themes/default/mobile/img/icon/my-account.png differ diff --git a/themes/default/mobile/img/icon/order.png b/themes/default/mobile/img/icon/order.png new file mode 100644 index 000000000..a5ff19c1b Binary files /dev/null and b/themes/default/mobile/img/icon/order.png differ diff --git a/themes/default/mobile/img/icon/return.png b/themes/default/mobile/img/icon/return.png new file mode 100644 index 000000000..97c055a8f Binary files /dev/null and b/themes/default/mobile/img/icon/return.png differ diff --git a/themes/default/mobile/img/icon/slip.png b/themes/default/mobile/img/icon/slip.png new file mode 100644 index 000000000..b9cbacdb5 Binary files /dev/null and b/themes/default/mobile/img/icon/slip.png differ diff --git a/themes/default/mobile/img/icon/userinfos.png b/themes/default/mobile/img/icon/userinfos.png new file mode 100644 index 000000000..a9f7a0353 Binary files /dev/null and b/themes/default/mobile/img/icon/userinfos.png differ diff --git a/themes/default/mobile/img/icon/voucher.png b/themes/default/mobile/img/icon/voucher.png new file mode 100644 index 000000000..6ba16dbb3 Binary files /dev/null and b/themes/default/mobile/img/icon/voucher.png differ diff --git a/themes/default/mobile/img/icons-18-black.png b/themes/default/mobile/img/icons-18-black.png new file mode 100644 index 000000000..ce1b758ad Binary files /dev/null and b/themes/default/mobile/img/icons-18-black.png differ diff --git a/themes/default/mobile/img/icons-18-white.png b/themes/default/mobile/img/icons-18-white.png new file mode 100644 index 000000000..1ab012723 Binary files /dev/null and b/themes/default/mobile/img/icons-18-white.png differ diff --git a/themes/default/mobile/img/icons-36-black.png b/themes/default/mobile/img/icons-36-black.png new file mode 100644 index 000000000..1a59d7c37 Binary files /dev/null and b/themes/default/mobile/img/icons-36-black.png differ diff --git a/themes/default/mobile/img/icons-36-white.png b/themes/default/mobile/img/icons-36-white.png new file mode 100644 index 000000000..5647bdc94 Binary files /dev/null and b/themes/default/mobile/img/icons-36-white.png differ diff --git a/themes/default/mobile/img/img_cart.png b/themes/default/mobile/img/img_cart.png new file mode 100644 index 000000000..2d1235c7a Binary files /dev/null and b/themes/default/mobile/img/img_cart.png differ diff --git a/themes/default/mobile/img/index.php b/themes/default/mobile/img/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/mobile/img/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/mobile/img/logo.png b/themes/default/mobile/img/logo.png new file mode 100644 index 000000000..fa425934f Binary files /dev/null and b/themes/default/mobile/img/logo.png differ diff --git a/themes/default/mobile/img/px-ccc.gif b/themes/default/mobile/img/px-ccc.gif new file mode 100644 index 000000000..da70aafb4 Binary files /dev/null and b/themes/default/mobile/img/px-ccc.gif differ diff --git a/themes/default/mobile/img/slider_home.png b/themes/default/mobile/img/slider_home.png new file mode 100644 index 000000000..82ca6df7c Binary files /dev/null and b/themes/default/mobile/img/slider_home.png differ diff --git a/themes/default/mobile/index.php b/themes/default/mobile/index.php new file mode 100644 index 000000000..fd6bae0d3 --- /dev/null +++ b/themes/default/mobile/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; \ No newline at end of file diff --git a/themes/default/mobile/index.tpl b/themes/default/mobile/index.tpl new file mode 100644 index 000000000..77f5d3bea --- /dev/null +++ b/themes/default/mobile/index.tpl @@ -0,0 +1,28 @@ +{* +* 2007-2011 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 +* @copyright 2007-2011 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
      + {hook h="DisplayMobileIndex"} + {include file='./sitemap.tpl'} +
      diff --git a/themes/default/mobile/js/cart.js b/themes/default/mobile/js/cart.js new file mode 100644 index 000000000..8e13ed4ba --- /dev/null +++ b/themes/default/mobile/js/cart.js @@ -0,0 +1,112 @@ +$( '.prestashop-page' ).live( 'pageshow',function(event) +{ + var quantity = new Array(); + + $("[name='cart_product_id[]']").each(function(i){ + quantity[$(this).val()] = parseInt($('[name="product_cart_quantity_'+$(this).val()+'"]').val()); + }); + + $(".display_block_card_product").children().each(function(i){ + $(this).hide(); + }); + + $(".grouped_buttons_card").children().each(function(i){ + $(this).click(function(){ + $(".display_block_card_product").children().each(function(i){ + $(this).hide(); + }); + $("#"+$(this).attr('id')+"sheet").show(); + }); + }); + + $('[name*="product_cart_quantity_"]').change(function() + { + ids = $(this).attr("name").split('_'); + id = ids[3]; + val = parseInt($(this).val()); + + if (quantity[id] < val) + { + CartUpd.ajaxUpdQty(id, val - quantity[id], 1); + quantity[id] = val; + } + else if (quantity[id] > val) + { + CartUpd.ajaxUpdQty(id, quantity[id] - val, 0); + quantity[id] = val; + } + }); + + $('[id*="delete_cart_"]').click(function() + { + ids = $(this).attr("id").split('_'); + CartUpd.deleteProductFromSummary(ids[2]); + }); + +}); + +var CartUpd = (function() +{ + return { + ajaxUpdQty : function(id, qty, op) + { + productAttributeId = $("#cart_product_attribute_id_"+id).val(); + id_address_delivery = $("#cart_product_address_delivery_id_"+id).val(); + customizationId = 0; + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart&ajax=true&add=true&getproductprice&summary&id_product='+id+'&ipa='+productAttributeId+'&id_address_delivery='+id_address_delivery+ ( op == 0 ? '&op=down' : '' ) + ( (customizationId != 0) ? '&id_customization='+customizationId : '') + '&qty='+qty+'&token=' + static_token , + success: function(jsonData) + { + if (!jsonData.hasError) + CartUpd.updData(jsonData); + } + }); + }, + deleteProductFromSummary : function(id) + { + productAttributeId = $("#cart_product_attribute_id_"+id).val(); + id_address_delivery = $("#cart_product_address_delivery_id_"+id).val(); + customizationId = 0; + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart&ajax=true&delete=true&summary=true&id_product='+id+'&ipa='+productAttributeId+'&id_address_delivery='+id_address_delivery+ ( (customizationId != 0) ? '&id_customization='+customizationId : '') + '&token=' + static_token , + success: function(jsonData) + { + if (!jsonData.hasError) + { + if (jsonData.refresh) + location.reload(); + $("#cart_total_products").html(jsonData.summary.total_products_wt); + $("#cart_total_price").html(jsonData.summary.total_price); + $("#element_product_"+id).fadeOut(); + } + } + }); + } + , + updData : function(data) + { + var products = data.summary.products; + + $(products).each(function(i){ + price = this.price_wt * this.quantity; + $("#grouped_buttons_card_"+this.id_product+"_totsheet").html((price).toFixed(2)); + }); + + $("#cart_total_products").html(data.summary.total_products_wt); + $("#cart_total_price").html(data.summary.total_price); + } + } +})(); diff --git a/themes/default/mobile/js/global.js b/themes/default/mobile/js/global.js new file mode 100644 index 000000000..b9660f095 --- /dev/null +++ b/themes/default/mobile/js/global.js @@ -0,0 +1,42 @@ +// Allows to set the same height on ui-block element +// for #category-list items. +$( '.prestashop-page' ).live( 'pageshow',function(event) +{ + if ($('.ui-grid-a.same-height').length) + { + $('.ui-grid-a.same-height .ui-block-a').each(function() + { + if ($(this).height() != $(this).next('.ui-block-b').height()) + { + var height1 = $(this).height(); + var height2 = $(this).next('.ui-block-b').height(); + if (height1 < height2) { + $(this).height(height2).find('.ui-btn-inner.ui-li').height(height2); + if ($(this).find('.ui-bar').length) { + var less_h = [ + parseInt($(this).find('.ui-bar').css('padding-top')), + parseInt($(this).find('.ui-bar').css('padding-bottom')), + parseInt($(this).find('.ui-bar').css('border-top-width')), + parseInt($(this).find('.ui-bar').css('border-bottom-width')) + ]; + $(this).find('.ui-bar').height(height2-less_h[0]-less_h[1]-less_h[2]-less_h[3]); + } + } else { + $(this).next('.ui-block-b').height(height1).find('.ui-btn-inner.ui-li').height(height1); + } + } + }); + } +}); + +$( '.prestashop-page' ).live( 'pageinit',function(event) +{ + if ($('.wrapper_pagination_mobile').length) + { + $('.wrapper_pagination_mobile').find('.disabled').live('click', function(e) + { + e.preventDefault(); + return false; + }); + } +}); \ No newline at end of file diff --git a/themes/default/mobile/js/history.js b/themes/default/mobile/js/history.js new file mode 100644 index 000000000..088deee0d --- /dev/null +++ b/themes/default/mobile/js/history.js @@ -0,0 +1,124 @@ +/* +* 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 +* @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 +*/ + +//show the order-details with ajax +function showOrder(mode, var_content, file) +{ + /*$.get( + file, + ((mode == 1) ? {'id_order': var_content, 'ajax': true} : {'id_order_return': var_content, 'ajax': true}), + function(data) + { + $('#block-order-detail').fadeOut('slow', function() + { + $(this).html(data); + // if return is allowed + if ($('div#order-detail-content table td.order_cb').length > 0) + { + //return slip : check or uncheck every checkboxes + $('form div#order-detail-content th input[type=checkbox]').click(function() + { + $('form div#order-detail-content td input[type=checkbox]').each(function() + { + this.checked = $('form div#order-detail-content th input[type=checkbox]').is(':checked'); + updateOrderLineDisplay(this); + }); + }); + //return slip : enable or disable 'global' quantity editing + $('form div#order-detail-content td input[type=checkbox]').click(function() + { + updateOrderLineDisplay(this); + }); + //return slip : limit quantities + $('form div#order-detail-content td input.order_qte_input').keyup(function() + { + var maxQuantity = parseInt($(this).parent().find('span.order_qte_span').text()); + var quantity = parseInt($(this).val()); + if (isNaN($(this).val()) && $(this).val() != '') + { + $(this).val(maxQuantity); + } + else + { + if (quantity > maxQuantity) + $(this).val(maxQuantity); + else if (quantity < 1) + $(this).val(1); + } + }); + } + //catch the submit event of sendOrderMessage form + $('form#sendOrderMessage').submit(function(){ + return sendOrderMessage(); + }); + $(this).fadeIn('slow'); + $('html, body').animate({scrollTop: $(this).offset().top},'slow'); + // $.scrollTo(this, 1200); + }); + });*/ +} + +function updateOrderLineDisplay(domCheckbox) +{ + var lineQuantitySpan = $(domCheckbox).parent().parent().find('span.order_qte_span'); + var lineQuantityInput = $(domCheckbox).parent().parent().find('input.order_qte_input'); + if($(domCheckbox).is(':checked')) + { + lineQuantitySpan.hide(); + lineQuantityInput.show(); + } + else + { + lineQuantityInput.hide(); + lineQuantityInput.val(lineQuantitySpan.text()); + lineQuantitySpan.show(); + } +} + +//send a message in relation to the order with ajax +function sendOrderMessage () +{ + paramString = "ajax=true"; + $('form#sendOrderMessage').find('input, textarea').each(function(){ + paramString += '&' + $(this).attr('name') + '=' + encodeURI($(this).val()); + }); + $.ajax({ + type: "POST", + headers: { "cache-control": "no-cache" }, + url: baseDir + "index.php?controller=order-detail" + '&rand=' + new Date().getTime(), + data: paramString, + success: function (msg){ + $('#block-order-detail').fadeOut('slow', function() { + $(this).html(msg); + //catch the submit event of sendOrderMessage form + $('form#sendOrderMessage').submit(function(){ + return sendOrderMessage(); + }); + $(this).fadeIn('slow'); + }); + } + }); + return false; +} diff --git a/themes/default/mobile/js/index.php b/themes/default/mobile/js/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default/mobile/js/index.php @@ -0,0 +1,35 @@ + +* @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 +*/ + +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; diff --git a/themes/default/mobile/js/jqm-docs.js b/themes/default/mobile/js/jqm-docs.js new file mode 100644 index 000000000..0e68ddbf1 --- /dev/null +++ b/themes/default/mobile/js/jqm-docs.js @@ -0,0 +1,53 @@ +//set up the theme switcher on the homepage +$('div').live('pagecreate',function(event) +{ + if ( !$(this).is('.ui-dialog')) + { + var appendEl = $(this).find('.ui-footer:last'); + if ( !appendEl.length ) { + appendEl = $(this).find('.ui-content'); + } + if( appendEl.is("[data-position]") ) { + return; + } + /*$('Switch theme') + .buttonMarkup({ + 'icon':'gear', + 'inline': true, + 'shadow': false, + 'theme': 'd' + }) + .appendTo( appendEl ) + .wrap('
      ') + .bind( "vclick", function(){ + $.themeswitcher(); + });*/ + } +}); + +//collapse page navs after use +$(function() +{ + $('body').delegate('.content-secondary .ui-collapsible-content', 'click', function() { + $(this).trigger("collapse") + }); +}); + +function setDefaultTransition() +{ + var winwidth = $( window ).width(), + trans ="slide"; + if( winwidth >= 1000 ){ + trans = "none"; + } + else if( winwidth >= 650 ){ + trans = "fade"; + } + $.mobile.defaultPageTransition = trans; +} + +$(function() +{ + setDefaultTransition(); + $( window ).bind( "throttledresize", setDefaultTransition ); +}); \ No newline at end of file diff --git a/themes/default/mobile/js/jquery.mobile-1.3.0.min.js b/themes/default/mobile/js/jquery.mobile-1.3.0.min.js new file mode 100644 index 000000000..8d12031a3 --- /dev/null +++ b/themes/default/mobile/js/jquery.mobile-1.3.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery Mobile vGit Build: SHA1: 3d48d6517f808550ee402a2859feedec13b0a3fe <> Date: Tue Feb 19 15:25:22 2013 -0800 jquerymobile.com | jquery.org/license !*/ +(function(a,b,c){typeof define=="function"&&define.amd?define(["jquery"],function(d){return c(d,a,b),d.mobile}):c(a.jQuery,a,b)})(this,document,function(a,b,c,d){(function(a){a.mobile={}})(a),function(a,b,d){var e={};a.mobile=a.extend(a.mobile,{version:"1.3.0",ns:"",subPageUrlKey:"ui-page",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",focusClass:"ui-focus",ajaxEnabled:!0,hashListeningEnabled:!0,linkBindingEnabled:!0,defaultPageTransition:"fade",maxTransitionWidth:!1,minScrollBack:250,touchOverflowEnabled:!1,defaultDialogTransition:"pop",pageLoadErrorMessage:"Error Loading Page",pageLoadErrorMessageTheme:"e",phonegapNavigationEnabled:!1,autoInitializePage:!0,pushStateEnabled:!0,ignoreContentEnabled:!1,orientationChangeEnabled:!0,buttonMarkup:{hoverDelay:200},window:a(b),document:a(c),keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},behaviors:{},silentScroll:function(c){a.type(c)!=="number"&&(c=a.mobile.defaultHomeScroll),a.event.special.scrollstart.enabled=!1,setTimeout(function(){b.scrollTo(0,c),a.mobile.document.trigger("silentscroll",{x:0,y:c})},20),setTimeout(function(){a.event.special.scrollstart.enabled=!0},150)},nsNormalizeDict:e,nsNormalize:function(b){if(!b)return;return e[b]||(e[b]=a.camelCase(a.mobile.ns+b))},getInheritedTheme:function(a,b){var c=a[0],d="",e=/ui-(bar|body|overlay)-([a-z])\b/,f,g;while(c){f=c.className||"";if(f&&(g=e.exec(f))&&(d=g[2]))break;c=c.parentNode}return d||b||"a"},closestPageData:function(a){return a.closest(':jqmData(role="page"), :jqmData(role="dialog")').data("mobile-page")},enhanceable:function(a){return this.haveParents(a,"enhance")},hijackable:function(a){return this.haveParents(a,"ajax")},haveParents:function(b,c){if(!a.mobile.ignoreContentEnabled)return b;var d=b.length,e=a(),f,g,h;for(var i=0;i").text(a(this).text()).html()},a.fn.jqmEnhanceable=function(){return a.mobile.enhanceable(this)},a.fn.jqmHijackable=function(){return a.mobile.hijackable(this)};var f=a.find,g=/:jqmData\(([^)]*)\)/g;a.find=function(b,c,d,e){return b=b.replace(g,"[data-"+(a.mobile.ns||"")+"$1]"),f.call(this,b,c,d,e)},a.extend(a.find,f),a.find.matches=function(b,c){return a.find(b,null,null,c)},a.find.matchesSelector=function(b,c){return a.find(c,null,null,[b]).length>0}}(a,this),function(a,b){var c=0,d=Array.prototype.slice,e=a.cleanData;a.cleanData=function(b){for(var c=0,d;(d=b[c])!=null;c++)try{a(d).triggerHandler("remove")}catch(f){}e(b)},a.widget=function(b,c,d){var e,f,g,h,i=b.split(".")[0];b=b.split(".")[1],e=i+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][e.toLowerCase()]=function(b){return!!a.data(b,e)},a[i]=a[i]||{},f=a[i][b],g=a[i][b]=function(a,b){if(!this._createWidget)return new g(a,b);arguments.length&&this._createWidget(a,b)},a.extend(g,f,{version:d.version,_proto:a.extend({},d),_childConstructors:[]}),h=new c,h.options=a.widget.extend({},h.options),a.each(d,function(b,e){a.isFunction(e)&&(d[b]=function(){var a=function(){return c.prototype[b].apply(this,arguments)},d=function(a){return c.prototype[b].apply(this,a)};return function(){var b=this._super,c=this._superApply,f;return this._super=a,this._superApply=d,f=e.apply(this,arguments),this._super=b,this._superApply=c,f}}())}),g.prototype=a.widget.extend(h,{widgetEventPrefix:f?h.widgetEventPrefix:b},d,{constructor:g,namespace:i,widgetName:b,widgetFullName:e}),f?(a.each(f._childConstructors,function(b,c){var d=c.prototype;a.widget(d.namespace+"."+d.widgetName,g,c._proto)}),delete f._childConstructors):c._childConstructors.push(g),a.widget.bridge(b,g)},a.widget.extend=function(c){var e=d.call(arguments,1),f=0,g=e.length,h,i;for(;f",options:{disabled:!1,create:null},_createWidget:function(b,d){d=a(d||this.defaultElement||this)[0],this.element=a(d),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=a.widget.extend({},this.options,this._getCreateOptions(),b),this.bindings=a(),this.hoverable=a(),this.focusable=a(),d!==this&&(a.data(d,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===d&&this.destroy()}}),this.document=a(d.style?d.ownerDocument:d.document||d),this.window=a(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:a.noop,_getCreateEventData:a.noop,_create:a.noop,_init:a.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(a.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:a.noop,widget:function(){return this.element},option:function(c,d){var e=c,f,g,h;if(arguments.length===0)return a.widget.extend({},this.options);if(typeof c=="string"){e={},f=c.split("."),c=f.shift();if(f.length){g=e[c]=a.widget.extend({},this.options[c]);for(h=0;h"+""+"

      "+"
      ",fakeFixLoader:function(){var b=a("."+a.mobile.activeBtnClass).first();this.element.css({top:a.support.scrollTop&&f.scrollTop()+f.height()/2||b.length&&b.offset().top||100})},checkLoaderPosition:function(){var b=this.element.offset(),c=f.scrollTop(),d=a.mobile.getScreenHeight();if(b.topd)this.element.addClass("ui-loader-fakefix"),this.fakeFixLoader(),f.unbind("scroll",this.checkLoaderPosition).bind("scroll",a.proxy(this.fakeFixLoader,this))},resetHtml:function(){this.element.html(a(this.defaultHtml).html())},show:function(b,g,h){var i,j,k,l;this.resetHtml(),a.type(b)==="object"?(l=a.extend({},this.options,b),b=l.theme||a.mobile.loadingMessageTheme):(l=this.options,b=b||a.mobile.loadingMessageTheme||l.theme),j=g||a.mobile.loadingMessage||l.text,e.addClass("ui-loading");if(a.mobile.loadingMessage!==!1||l.html)a.mobile.loadingMessageTextVisible!==d?i=a.mobile.loadingMessageTextVisible:i=l.textVisible,this.element.attr("class",c+" ui-corner-all ui-body-"+b+" ui-loader-"+(i||g||b.text?"verbose":"default")+(l.textonly||h?" ui-loader-textonly":"")),l.html?this.element.html(l.html):this.element.find("h1").text(j),this.element.appendTo(a.mobile.pageContainer),this.checkLoaderPosition(),f.bind("scroll",a.proxy(this.checkLoaderPosition,this))},hide:function(){e.removeClass("ui-loading"),a.mobile.loadingMessage&&this.element.removeClass("ui-loader-fakefix"),a.mobile.window.unbind("scroll",this.fakeFixLoader),a.mobile.window.unbind("scroll",this.checkLoaderPosition)}}),f.bind("pagecontainercreate",function(){a.mobile.loaderWidget=a.mobile.loaderWidget||a(a.mobile.loader.prototype.defaultHtml).loader()})}(a,this),function(a,b,d){function k(a){return a=a||location.href,"#"+a.replace(/^[^#]*#?(.*)$/,"$1")}var e="hashchange",f=c,g,h=a.event.special,i=f.documentMode,j="on"+e in b&&(i===d||i>7);a.fn[e]=function(a){return a?this.bind(e,a):this.trigger(e)},a.fn[e].delay=50,h[e]=a.extend(h[e],{setup:function(){if(j)return!1;a(g.start)},teardown:function(){if(j)return!1;a(g.stop)}}),g=function(){function n(){var c=k(),d=m(h);c!==h?(l(h=c,d),a(b).trigger(e)):d!==h&&(location.href=location.href.replace(/#.*/,"")+d),g=setTimeout(n,a.fn[e].delay)}var c={},g,h=k(),i=function(a){return a},l=i,m=i;return c.start=function(){g||n()},c.stop=function(){g&&clearTimeout(g),g=d},b.attachEvent&&!b.addEventListener&&!j&&function(){var b,d;c.start=function(){b||(d=a.fn[e].src,d=d&&d+k(),b=a('