diff --git a/install-dev/data/xml/theme.xml b/install-dev/data/xml/theme.xml index bba39dd83..d72497b9c 100644 --- a/install-dev/data/xml/theme.xml +++ b/install-dev/data/xml/theme.xml @@ -6,8 +6,8 @@ - default - default + default-bootstrap + default-bootstrap diff --git a/install-dev/models/install.php b/install-dev/models/install.php index 784b30f04..de4202c2d 100644 --- a/install-dev/models/install.php +++ b/install-dev/models/install.php @@ -513,23 +513,19 @@ class InstallModelInstall extends InstallAbstractModel 'blockadvertising', 'blockbestsellers', 'blockcart', + 'blocksocial', 'blockcategories', 'blockcms', 'blockcontact', 'blockcontactinfos', - 'blockcurrencies', - 'blocklanguages', 'blockmanufacturer', 'blockmyaccount', 'blockmyaccountfooter', 'blocknewproducts', 'blocknewsletter', 'blockpaymentlogo', - 'blockpermanentlinks', - 'blockreinsurance', 'blocksearch', 'blocksharefb', - 'blocksocial', 'blockspecials', 'blockstore', 'blocksupplier', diff --git a/themes/default-bootstrap/404.tpl b/themes/default-bootstrap/404.tpl new file mode 100644 index 000000000..1ab38e2fa --- /dev/null +++ b/themes/default-bootstrap/404.tpl @@ -0,0 +1,47 @@ +{* +* 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='pagenotfound'} +
+

{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.'}

+
+
+
+ + + +
+
+
+ + +
\ No newline at end of file diff --git a/themes/default-bootstrap/address.tpl b/themes/default-bootstrap/address.tpl new file mode 100644 index 000000000..5de930f28 --- /dev/null +++ b/themes/default-bootstrap/address.tpl @@ -0,0 +1,245 @@ +{* +* 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='Your addresses'}{/capture} +
+

{l s='Your addresses'}

+ +

+ {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'}"{/if} + {/if} + {else} + {l s='To add a new address, please fill out the form below.'} + {/if} +

+ + {include file="$tpl_dir./errors.tpl"} + +

*{l s='Required field'}

+ +
+
+ +
+ + + {l s='DNI / NIF / NIE'} +
+ {assign var="stateExist" value="false"} + {assign var="postCodeExist" value="false"} + {foreach from=$ordered_adr_fields item=field_name} + {if $field_name eq 'company'} +
+ + +
+ {/if} + {if $field_name eq 'vat_number'} +
+
+
+ + +
+
+
+ {/if} + {if $field_name eq 'firstname'} +
+ + + +
+ + {/if} + {if $field_name eq 'lastname'} +
+ + +
+ {/if} + {if $field_name eq 'address1'} +
+ + +
+ {/if} + {if $field_name eq 'address2'} +
+ + +
+ {/if} + {if $field_name eq 'postcode'} + {assign var="postCodeExist" value="true"} +
+ + +
+ {/if} + {if $field_name eq 'city'} +
+ + +
+ {* + if customer hasn't update his layout address, country has to be verified + but it's deprecated + *} + {/if} + {if $field_name eq 'Country:name' || $field_name eq 'country'} +
+ + +
+ {if $vatnumber_ajax_call} + + {/if} + {/if} + {if $field_name eq 'State:name'} + {assign var="stateExist" value="true"} +
+ + +
+ {/if} + {/foreach} + {if $postCodeExist eq "false"} +
+ + +
+ {/if} + {if $stateExist eq "false"} +
+ + +
+ {/if} +
+ + +
+ {if isset($one_phone_at_least) && $one_phone_at_least} +

{l s='You must register at least one phone number.'}

+ {/if} +
+ + +
+
+ + +
+
+ + +
+
+

+ {if isset($id_address)}{/if} + {if isset($back)}{/if} + {if isset($mod)}{/if} + {if isset($select_address)}{/if} + + +

+
+
diff --git a/themes/default-bootstrap/addresses.tpl b/themes/default-bootstrap/addresses.tpl new file mode 100644 index 000000000..1a70345b9 --- /dev/null +++ b/themes/default-bootstrap/addresses.tpl @@ -0,0 +1,133 @@ +{* +* 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} + +

{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:'htmlall':'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-bootstrap/authentication.tpl b/themes/default-bootstrap/authentication.tpl new file mode 100644 index 000000000..757e96e75 --- /dev/null +++ b/themes/default-bootstrap/authentication.tpl @@ -0,0 +1,637 @@ +{* +* 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} + {if !isset($email_create)}{l s='Authentication'}{else} + {l s='Authentication'} + {$navigationPipe}{l s='Create your account'} + {/if} +{/capture} + + + +

{if !isset($email_create)}{l s='Authentication'}{else}{l s='Create an account'}{/if}

+{if !isset($back) || $back != 'my-account'}{assign var='current_step' value='login'}{include file="$tpl_dir./order-steps.tpl"}{/if} +{include file="$tpl_dir./errors.tpl"} +{assign var='stateExist' value=false} +{assign var="postCodeExist" value=false} +{if !isset($email_create)} + + +
+
+
+ +
+

{l s='Create an account'}

+
+

{l s='Please enter your email address to create an account.'}

+ +
+ + +
+
+ {if isset($back)}{/if} + + +
+
+
+
+
+
+
+
+

{l s='Already registered?'}

+
+
+ + +
+
+ + +
+

{l s='Forgot your password?'}

+

+ {if isset($back)}{/if} + +

+
+
+
+
+
+ {if isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED} +
+
+
+
+

{l s='Instant checkout'}

+ +
+ + +
+
+ +
+ {foreach from=$genders key=k item=gender} +
+ +
+ {/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 isset($newsletter) && $newsletter} +
+ +
+
+ +
+ {/if} +

{l s='Delivery address'}

+ {foreach from=$dlv_all_fields item=field_name} + {if $field_name eq "company"} +
+ + +
+ {elseif $field_name eq "vat_number"} + + {elseif $field_name eq "address1"} +
+ + +
+ {elseif $field_name eq "postcode"} + {assign var='postCodeExist' value=true} +
+ + +
+ {elseif $field_name eq "city"} +
+ + +
+ + {elseif $field_name eq "Country:name" || $field_name eq "country"} +
+ + +
+ {elseif $field_name eq "State:name"} + {assign var='stateExist' value=true} +
+ + +
+ {elseif $field_name eq "phone"} +
+ + +
+ {/if} + {/foreach} + {if $stateExist eq false} +
+ + +
+ {/if} + {if $postCodeExist eq false} +
+ + +
+ {/if} + + + +
+
+ + {$HOOK_CREATE_ACCOUNT_FORM} +
+

+ *{l s='Required field'} + + +

+
+ {/if} +{else} + +
+ {$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'}

+
+
+ +{/if} \ No newline at end of file diff --git a/themes/default-bootstrap/best-sales.tpl b/themes/default-bootstrap/best-sales.tpl new file mode 100644 index 000000000..e82f321bc --- /dev/null +++ b/themes/default-bootstrap/best-sales.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 +*} + +{capture name=path}{l s='Top sellers'}{/capture} + +

{l s='Top sellers'}

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

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

+{/if} diff --git a/themes/default-bootstrap/breadcrumb.tpl b/themes/default-bootstrap/breadcrumb.tpl new file mode 100644 index 000000000..944fe19c1 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/cache/index.php b/themes/default-bootstrap/cache/index.php new file mode 100644 index 000000000..6f5ff3bab --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/category-cms-tree-branch.tpl b/themes/default-bootstrap/category-cms-tree-branch.tpl new file mode 100644 index 000000000..86325965a --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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:'htmlall':'UTF-8'}
    • + {/foreach} + {/if} +
    + {elseif isset($node.cms) && $node.cms|@count > 0} + + {/if} +
  • diff --git a/themes/default-bootstrap/category-count.tpl b/themes/default-bootstrap/category-count.tpl new file mode 100644 index 000000000..2e6b97357 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/category-tree-branch.tpl b/themes/default-bootstrap/category-tree-branch.tpl new file mode 100644 index 000000000..60d14a1fd --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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-bootstrap/category.tpl b/themes/default-bootstrap/category.tpl new file mode 100644 index 000000000..c139644cf --- /dev/null +++ b/themes/default-bootstrap/category.tpl @@ -0,0 +1,139 @@ +{* +* 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($category)} + {if $category->id AND $category->active} + {if $scenes || $category->description || $category->id_image} +
    + {if $scenes} +
    + + {include file="$tpl_dir./scenes.tpl" scenes=$scenes} + {if $category->description} +
    + {if strlen($category->description) > 350} +
    {$category->description|truncate:350}
    + + {l s='More'} + {else} +
    {$category->description}
    + {/if} +
    + {/if} +
    + {else} + +
    id_image}style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html'}) 0 0 no-repeat; min-height:{$categorySize.height}px;" {/if}> + + + + {if $category->description} +
    +

    + {strip} + {$category->name|escape:'htmlall':'UTF-8'} + {if isset($categoryNameComplement)} + {$categoryNameComplement|escape:'htmlall':'UTF-8'} + {/if} + {/strip} +

    + {if strlen($category->description) > 350} +
    {$category->description|truncate:350}
    + + {l s='More'} + {else} +
    {$category->description}
    + {/if} +
    + {/if} + +
    + {/if} +
    + {/if} +

    + {strip} + {$category->name|escape:'htmlall':'UTF-8'} + {if isset($categoryNameComplement)} + {$categoryNameComplement|escape:'htmlall':'UTF-8'} + {/if} + {/strip} + {include file="$tpl_dir./category-count.tpl"} +

    + + + {if isset($subcategories)} + +
    +

    {l s='Subcategories'}

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

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

    + {/if} +{/if} diff --git a/themes/default-bootstrap/cms.tpl b/themes/default-bootstrap/cms.tpl new file mode 100644 index 000000000..863ce4792 --- /dev/null +++ b/themes/default-bootstrap/cms.tpl @@ -0,0 +1,71 @@ +{* +* 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($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:'htmlall':'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-bootstrap/config.xml b/themes/default-bootstrap/config.xml new file mode 100644 index 000000000..98e1ec50a --- /dev/null +++ b/themes/default-bootstrap/config.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/themes/default-bootstrap/contact-form.tpl b/themes/default-bootstrap/contact-form.tpl new file mode 100644 index 000000000..4ae010cbf --- /dev/null +++ b/themes/default-bootstrap/contact-form.tpl @@ -0,0 +1,167 @@ +{* +* 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='Contact'}{/capture} + +

    {l s='Customer service'} - {if isset($customerThread) && $customerThread}{l s='Your reply'}{else}{l s='Contact us'}{/if}

    + +{if isset($confirmation)} +

    {l s='Your message has been successfully sent to our team.'}

    + +{elseif isset($alreadySent)} +

    {l s='Your message has already been sent.'}

    + +{else} +

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

    + {include file="$tpl_dir./errors.tpl"} +
    +
    +

    {l s='send a message'}

    +
    +
    + +
    + + {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|intval > 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} + {if $fileupload == 1} +

    + + + +

    + {/if} +
    +
    +
    + + +
    +
    + +
    + +
    +
    +
    +{/if} +
    +
    +
    +

    Call us now toll free:

    +
      +
    • (800) 2345-6789
    • +
    • (800) 2345-6790
    • +
    + Hours: 9am-9pm PST Mon - Sun +
    +
    +
    +
    +

    Our company

    +
      +
    • Top quality products
    • +
    • Best customer service
    • +
    • 30-days money back guarantee
    • +
    +
    +
    +
    +
    +

    Free Shipping

    +

    Free Shipping on orders over $199

    + This offer is valid on all our store items. +
    +
    +
    diff --git a/themes/default-bootstrap/css/addresses.css b/themes/default-bootstrap/css/addresses.css new file mode 100644 index 000000000..5a475d875 --- /dev/null +++ b/themes/default-bootstrap/css/addresses.css @@ -0,0 +1,21 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/******************************************************* + Addresses Styles +********************************************************/ +#addresses #center_column .page-heading { + margin-bottom: 22px; +} +#addresses #center_column p { + margin-bottom: 13px; +} +#addresses #center_column p.p-indent { + margin-bottom: 27px; +} + +.address li.address_update { + margin-top: 14px; + margin-bottom: 6px; +} +.address li.address_update a { + margin-right: 10px; +} diff --git a/themes/default-bootstrap/css/authentication.css b/themes/default-bootstrap/css/authentication.css new file mode 100644 index 000000000..bba38d7fa --- /dev/null +++ b/themes/default-bootstrap/css/authentication.css @@ -0,0 +1,37 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/********************************************************** + Authentication Styles +**********************************************************/ +#account-creation_form .id_state, #account-creation_form .dni, #account-creation_form .postcode { + display: none; +} + +#create-account_form { + min-height: 297px; +} +#create-account_form p { + margin-bottom: 8px; +} +#create-account_form .form-group { + margin-bottom: 20px; +} + +#login_form { + min-height: 297px; +} +#login_form .form-group { + margin-bottom: 3px; +} +#login_form .form-group.lost_password { + margin: 14px 0 15px 0; +} +#login_form .form-group.lost_password a { + text-decoration: underline; +} +#login_form .form-group.lost_password a:hover { + text-decoration: none; +} + +#login_form .form-control, #create-account_form .form-control { + max-width: 271px; +} diff --git a/themes/default-bootstrap/css/bootstrap_lib/bootstrap.css b/themes/default-bootstrap/css/bootstrap_lib/bootstrap.css new file mode 100644 index 000000000..d516a27e5 --- /dev/null +++ b/themes/default-bootstrap/css/bootstrap_lib/bootstrap.css @@ -0,0 +1,6217 @@ +/* + * Bootstrap v3.0.0 + * + * Copyright 2013 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world by @mdo and @fat. + */ +/* normalize.css v2.1.0 | MIT License | git.io/normalize */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden] { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +mark { + background: #ff0; + color: #000; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +legend { + border: 0; + padding: 0; +} + +button, +input, +select, +textarea { + font-family: inherit; + font-size: 100%; + margin: 0; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; +} + +input[type="search"] { + -webkit-appearance: textfield; + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + text-shadow: none !important; + color: #000 !important; + background: transparent !important; + box-shadow: none !important; + } + + a, + a:visited { + text-decoration: underline; + } + + a[href]:after { + content: " (" attr(href) ")"; + } + + abbr[title]:after { + content: " (" attr(title) ")"; + } + + .ir a:after, + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + + thead { + display: table-header-group; + } + + tr, + img { + page-break-inside: avoid; + } + + img { + max-width: 100% !important; + } + + @page { + margin: 2cm .5cm; +} + + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + + h2, + h3 { + page-break-after: avoid; + } + + .navbar { + display: none; + } + + .table td, + .table th { + background-color: #fff !important; + } + + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + + .label { + border: 1px solid #000; + } + + .table { + border-collapse: collapse !important; + } + + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: Arial, Helvetica, sans-serif; + font-size: 13px; + line-height: 1.42857; + color: #777777; + background-color: white; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input, +select[multiple], +textarea { + background-image: none; +} + +a { + color: #777777; + text-decoration: none; +} +a:hover, a:focus { + color: #515151; + text-decoration: underline; +} +a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + max-width: 100%; + height: auto; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail, .thumbnail { + padding: 4px; + line-height: 1.42857; + background-color: white; + border: 1px solid #dddddd; + border-radius: 0px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + display: inline-block; + max-width: 100%; + height: auto; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 18px; + margin-bottom: 18px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0 0 0 0); + border: 0; +} + +p { + margin: 0 0 9px; +} + +.lead { + margin-bottom: 18px; + font-size: 14.95px; + font-weight: 200; + line-height: 1.4; +} +@media (min-width: 768px) { + .lead { + font-size: 19.5px; + } +} + +small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-warning { + color: white; +} + +.text-danger { + color: white; +} + +.text-success { + color: white; +} + +.text-info { + color: white; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + font-family: Arial, Helvetica, sans-serif; + font-weight: 500; + line-height: 1.1; +} +h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, +.h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 18px; + margin-bottom: 9px; +} + +h4, +h5, +h6 { + margin-top: 9px; + margin-bottom: 9px; +} + +h1, .h1 { + font-size: 33px; +} + +h2, .h2 { + font-size: 27px; +} + +h3, .h3 { + font-size: 23px; +} + +h4, .h4 { + font-size: 17px; +} + +h5, .h5 { + font-size: 13px; +} + +h6, .h6 { + font-size: 12px; +} + +h1 small, .h1 small { + font-size: 23px; +} + +h2 small, .h2 small { + font-size: 17px; +} + +h3 small, .h3 small, +h4 small, .h4 small { + font-size: 13px; +} + +.page-header { + padding-bottom: 8px; + margin: 36px 0 18px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 9px; +} +ul ul, +ul ol, +ol ul, +ol ol { + margin-bottom: 0; +} + +.list-unstyled, .list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-left: 5px; + padding-right: 5px; +} + +dl { + margin-bottom: 18px; +} + +dt, +dd { + line-height: 1.42857; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + clear: left; + text-align: right; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, .dl-horizontal dd:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ + } + .dl-horizontal dd:after { + clear: both; + } +} +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +abbr.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 9px 18px; + margin: 0 0 18px; + border-left: 5px solid #eeeeee; +} +blockquote p { + font-size: 16.25px; + font-weight: 300; + line-height: 1.25; +} +blockquote p:last-child { + margin-bottom: 0; +} +blockquote small { + display: block; + line-height: 1.42857; + color: #999999; +} +blockquote small:before { + content: '\2014 \00A0'; +} +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} +blockquote.pull-right p, +blockquote.pull-right small { + text-align: right; +} +blockquote.pull-right small:before { + content: ''; +} +blockquote.pull-right small:after { + content: '\00A0 \2014'; +} + +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} + +address { + display: block; + margin-bottom: 18px; + font-style: normal; + line-height: 1.42857; +} + +code, +pre { + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + background-color: #f9f2f4; + white-space: nowrap; + border-radius: 0px; +} + +pre { + display: block; + padding: 8.5px; + margin: 0 0 9px; + font-size: 12px; + line-height: 1.42857; + word-break: break-all; + word-wrap: break-word; + color: #333333; + background-color: whitesmoke; + border: 1px solid #cccccc; + border-radius: 0px; +} +pre.prettyprint { + margin-bottom: 18px; +} +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; +} +.container:before, .container:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.container:after { + clear: both; +} + +.row { + margin-left: -15px; + margin-right: -15px; +} +.row:before, .row:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.row:after { + clear: both; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12, +.col-sm-1, +.col-sm-2, +.col-sm-3, +.col-sm-4, +.col-sm-5, +.col-sm-6, +.col-sm-7, +.col-sm-8, +.col-sm-9, +.col-sm-10, +.col-sm-11, +.col-sm-12, +.col-md-1, +.col-md-2, +.col-md-3, +.col-md-4, +.col-md-5, +.col-md-6, +.col-md-7, +.col-md-8, +.col-md-9, +.col-md-10, +.col-md-11, +.col-md-12, +.col-lg-1, +.col-lg-2, +.col-lg-3, +.col-lg-4, +.col-lg-5, +.col-lg-6, +.col-lg-7, +.col-lg-8, +.col-lg-9, +.col-lg-10, +.col-lg-11, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11 { + float: left; +} + +.col-xs-1 { + width: 8.33333%; +} + +.col-xs-2 { + width: 16.66667%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-4 { + width: 33.33333%; +} + +.col-xs-5 { + width: 41.66667%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-7 { + width: 58.33333%; +} + +.col-xs-8 { + width: 66.66667%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-10 { + width: 83.33333%; +} + +.col-xs-11 { + width: 91.66667%; +} + +.col-xs-12 { + width: 100%; +} + +@media (min-width: 768px) { + .container { + max-width: 750px; + } + + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11 { + float: left; + } + + .col-sm-1 { + width: 8.33333%; + } + + .col-sm-2 { + width: 16.66667%; + } + + .col-sm-3 { + width: 25%; + } + + .col-sm-4 { + width: 33.33333%; + } + + .col-sm-5 { + width: 41.66667%; + } + + .col-sm-6 { + width: 50%; + } + + .col-sm-7 { + width: 58.33333%; + } + + .col-sm-8 { + width: 66.66667%; + } + + .col-sm-9 { + width: 75%; + } + + .col-sm-10 { + width: 83.33333%; + } + + .col-sm-11 { + width: 91.66667%; + } + + .col-sm-12 { + width: 100%; + } + + .col-sm-push-1 { + left: 8.33333%; + } + + .col-sm-push-2 { + left: 16.66667%; + } + + .col-sm-push-3 { + left: 25%; + } + + .col-sm-push-4 { + left: 33.33333%; + } + + .col-sm-push-5 { + left: 41.66667%; + } + + .col-sm-push-6 { + left: 50%; + } + + .col-sm-push-7 { + left: 58.33333%; + } + + .col-sm-push-8 { + left: 66.66667%; + } + + .col-sm-push-9 { + left: 75%; + } + + .col-sm-push-10 { + left: 83.33333%; + } + + .col-sm-push-11 { + left: 91.66667%; + } + + .col-sm-pull-1 { + right: 8.33333%; + } + + .col-sm-pull-2 { + right: 16.66667%; + } + + .col-sm-pull-3 { + right: 25%; + } + + .col-sm-pull-4 { + right: 33.33333%; + } + + .col-sm-pull-5 { + right: 41.66667%; + } + + .col-sm-pull-6 { + right: 50%; + } + + .col-sm-pull-7 { + right: 58.33333%; + } + + .col-sm-pull-8 { + right: 66.66667%; + } + + .col-sm-pull-9 { + right: 75%; + } + + .col-sm-pull-10 { + right: 83.33333%; + } + + .col-sm-pull-11 { + right: 91.66667%; + } + + .col-sm-offset-1 { + margin-left: 8.33333%; + } + + .col-sm-offset-2 { + margin-left: 16.66667%; + } + + .col-sm-offset-3 { + margin-left: 25%; + } + + .col-sm-offset-4 { + margin-left: 33.33333%; + } + + .col-sm-offset-5 { + margin-left: 41.66667%; + } + + .col-sm-offset-6 { + margin-left: 50%; + } + + .col-sm-offset-7 { + margin-left: 58.33333%; + } + + .col-sm-offset-8 { + margin-left: 66.66667%; + } + + .col-sm-offset-9 { + margin-left: 75%; + } + + .col-sm-offset-10 { + margin-left: 83.33333%; + } + + .col-sm-offset-11 { + margin-left: 91.66667%; + } +} +@media (min-width: 992px) { + .container { + max-width: 970px; + } + + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11 { + float: left; + } + + .col-md-1 { + width: 8.33333%; + } + + .col-md-2 { + width: 16.66667%; + } + + .col-md-3 { + width: 25%; + } + + .col-md-4 { + width: 33.33333%; + } + + .col-md-5 { + width: 41.66667%; + } + + .col-md-6 { + width: 50%; + } + + .col-md-7 { + width: 58.33333%; + } + + .col-md-8 { + width: 66.66667%; + } + + .col-md-9 { + width: 75%; + } + + .col-md-10 { + width: 83.33333%; + } + + .col-md-11 { + width: 91.66667%; + } + + .col-md-12 { + width: 100%; + } + + .col-md-push-0 { + left: auto; + } + + .col-md-push-1 { + left: 8.33333%; + } + + .col-md-push-2 { + left: 16.66667%; + } + + .col-md-push-3 { + left: 25%; + } + + .col-md-push-4 { + left: 33.33333%; + } + + .col-md-push-5 { + left: 41.66667%; + } + + .col-md-push-6 { + left: 50%; + } + + .col-md-push-7 { + left: 58.33333%; + } + + .col-md-push-8 { + left: 66.66667%; + } + + .col-md-push-9 { + left: 75%; + } + + .col-md-push-10 { + left: 83.33333%; + } + + .col-md-push-11 { + left: 91.66667%; + } + + .col-md-pull-0 { + right: auto; + } + + .col-md-pull-1 { + right: 8.33333%; + } + + .col-md-pull-2 { + right: 16.66667%; + } + + .col-md-pull-3 { + right: 25%; + } + + .col-md-pull-4 { + right: 33.33333%; + } + + .col-md-pull-5 { + right: 41.66667%; + } + + .col-md-pull-6 { + right: 50%; + } + + .col-md-pull-7 { + right: 58.33333%; + } + + .col-md-pull-8 { + right: 66.66667%; + } + + .col-md-pull-9 { + right: 75%; + } + + .col-md-pull-10 { + right: 83.33333%; + } + + .col-md-pull-11 { + right: 91.66667%; + } + + .col-md-offset-0 { + margin-left: 0; + } + + .col-md-offset-1 { + margin-left: 8.33333%; + } + + .col-md-offset-2 { + margin-left: 16.66667%; + } + + .col-md-offset-3 { + margin-left: 25%; + } + + .col-md-offset-4 { + margin-left: 33.33333%; + } + + .col-md-offset-5 { + margin-left: 41.66667%; + } + + .col-md-offset-6 { + margin-left: 50%; + } + + .col-md-offset-7 { + margin-left: 58.33333%; + } + + .col-md-offset-8 { + margin-left: 66.66667%; + } + + .col-md-offset-9 { + margin-left: 75%; + } + + .col-md-offset-10 { + margin-left: 83.33333%; + } + + .col-md-offset-11 { + margin-left: 91.66667%; + } +} +@media (min-width: 1200px) { + .container { + max-width: 1170px; + } + + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11 { + float: left; + } + + .col-lg-1 { + width: 8.33333%; + } + + .col-lg-2 { + width: 16.66667%; + } + + .col-lg-3 { + width: 25%; + } + + .col-lg-4 { + width: 33.33333%; + } + + .col-lg-5 { + width: 41.66667%; + } + + .col-lg-6 { + width: 50%; + } + + .col-lg-7 { + width: 58.33333%; + } + + .col-lg-8 { + width: 66.66667%; + } + + .col-lg-9 { + width: 75%; + } + + .col-lg-10 { + width: 83.33333%; + } + + .col-lg-11 { + width: 91.66667%; + } + + .col-lg-12 { + width: 100%; + } + + .col-lg-push-0 { + left: auto; + } + + .col-lg-push-1 { + left: 8.33333%; + } + + .col-lg-push-2 { + left: 16.66667%; + } + + .col-lg-push-3 { + left: 25%; + } + + .col-lg-push-4 { + left: 33.33333%; + } + + .col-lg-push-5 { + left: 41.66667%; + } + + .col-lg-push-6 { + left: 50%; + } + + .col-lg-push-7 { + left: 58.33333%; + } + + .col-lg-push-8 { + left: 66.66667%; + } + + .col-lg-push-9 { + left: 75%; + } + + .col-lg-push-10 { + left: 83.33333%; + } + + .col-lg-push-11 { + left: 91.66667%; + } + + .col-lg-pull-0 { + right: auto; + } + + .col-lg-pull-1 { + right: 8.33333%; + } + + .col-lg-pull-2 { + right: 16.66667%; + } + + .col-lg-pull-3 { + right: 25%; + } + + .col-lg-pull-4 { + right: 33.33333%; + } + + .col-lg-pull-5 { + right: 41.66667%; + } + + .col-lg-pull-6 { + right: 50%; + } + + .col-lg-pull-7 { + right: 58.33333%; + } + + .col-lg-pull-8 { + right: 66.66667%; + } + + .col-lg-pull-9 { + right: 75%; + } + + .col-lg-pull-10 { + right: 83.33333%; + } + + .col-lg-pull-11 { + right: 91.66667%; + } + + .col-lg-offset-0 { + margin-left: 0; + } + + .col-lg-offset-1 { + margin-left: 8.33333%; + } + + .col-lg-offset-2 { + margin-left: 16.66667%; + } + + .col-lg-offset-3 { + margin-left: 25%; + } + + .col-lg-offset-4 { + margin-left: 33.33333%; + } + + .col-lg-offset-5 { + margin-left: 41.66667%; + } + + .col-lg-offset-6 { + margin-left: 50%; + } + + .col-lg-offset-7 { + margin-left: 58.33333%; + } + + .col-lg-offset-8 { + margin-left: 66.66667%; + } + + .col-lg-offset-9 { + margin-left: 75%; + } + + .col-lg-offset-10 { + margin-left: 83.33333%; + } + + .col-lg-offset-11 { + margin-left: 91.66667%; + } +} +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 18px; +} +.table thead > tr > th, +.table thead > tr > td, +.table tbody > tr > th, +.table tbody > tr > td, +.table tfoot > tr > th, +.table tfoot > tr > td { + padding: 9px 8px 11px 18px; + line-height: 1.42857; + vertical-align: top; + border-top: 1px solid #d6d4d4; +} +.table thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #d6d4d4; +} +.table caption + thead tr:first-child th, .table caption + thead tr:first-child td, +.table colgroup + thead tr:first-child th, +.table colgroup + thead tr:first-child td, +.table thead:first-child tr:first-child th, +.table thead:first-child tr:first-child td { + border-top: 0; +} +.table tbody + tbody { + border-top: 2px solid #d6d4d4; +} +.table .table { + background-color: white; +} + +.table-condensed thead > tr > th, +.table-condensed thead > tr > td, +.table-condensed tbody > tr > th, +.table-condensed tbody > tr > td, +.table-condensed tfoot > tr > th, +.table-condensed tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #d6d4d4; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > th, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > th, +.table-bordered > tfoot > tr > td { + border: 1px solid #d6d4d4; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: whitesmoke; +} + +table col[class*="col-"] { + float: none; + display: table-column; +} + +table td[class*="col-"], +table th[class*="col-"] { + float: none; + display: table-cell; +} + +.table > thead > tr > td.active, +.table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th, +.table > tbody > tr > td.active, +.table > tbody > tr > th.active, +.table > tbody > tr.active > td, +.table > tbody > tr.active > th, +.table > tfoot > tr > td.active, +.table > tfoot > tr > th.active, +.table > tfoot > tr.active > td, +.table > tfoot > tr.active > th { + background-color: whitesmoke; +} + +.table > thead > tr > td.success, +.table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th, +.table > tbody > tr > td.success, +.table > tbody > tr > th.success, +.table > tbody > tr.success > td, +.table > tbody > tr.success > th, +.table > tfoot > tr > td.success, +.table > tfoot > tr > th.success, +.table > tfoot > tr.success > td, +.table > tfoot > tr.success > th { + background-color: #55c65e; + border-color: #48b151; +} + +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td { + background-color: #42c04c; + border-color: #419f49; +} + +.table > thead > tr > td.danger, +.table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th, +.table > tbody > tr > td.danger, +.table > tbody > tr > th.danger, +.table > tbody > tr.danger > td, +.table > tbody > tr.danger > th, +.table > tfoot > tr > td.danger, +.table > tfoot > tr > th.danger, +.table > tfoot > tr.danger > td, +.table > tfoot > tr.danger > th { + background-color: #f3515c; + border-color: #d4323d; +} + +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td { + background-color: #f13946; + border-color: #c32933; +} + +.table > thead > tr > td.warning, +.table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th, +.table > tbody > tr > td.warning, +.table > tbody > tr > th.warning, +.table > tbody > tr.warning > td, +.table > tbody > tr.warning > th, +.table > tfoot > tr > td.warning, +.table > tfoot > tr > th.warning, +.table > tfoot > tr.warning > td, +.table > tfoot > tr.warning > th { + background-color: #fe9126; + border-color: #e4752b; +} + +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td { + background-color: #fe840d; + border-color: #da681c; +} + +@media (max-width: 768px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-y: hidden; + overflow-x: scroll; + border: 1px solid #d6d4d4; + } + .table-responsive > .table { + margin-bottom: 0; + background-color: #fff; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > thead > tr:last-child > th, + .table-responsive > .table-bordered > thead > tr:last-child > td, + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 18px; + font-size: 19.5px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-size: inherit; + font-style: inherit; + font-family: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +.form-control:-moz-placeholder { + color: #999999; +} +.form-control::-moz-placeholder { + color: #999999; +} +.form-control:-ms-input-placeholder { + color: #999999; +} +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control { + display: block; + width: 100%; + height: 32px; + padding: 6px 12px; + font-size: 13px; + line-height: 1.42857; + color: #9c9b9b; + vertical-align: middle; + background-color: white; + border: 1px solid #d6d4d4; + border-radius: 0px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} +.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 18px; + margin-top: 10px; + margin-bottom: 10px; + padding-left: 20px; + vertical-align: middle; +} +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + vertical-align: middle; + font-weight: normal; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], fieldset[disabled] input[type="radio"], +input[type="checkbox"][disabled], fieldset[disabled] +input[type="checkbox"], +.radio[disabled], fieldset[disabled] +.radio, +.radio-inline[disabled], fieldset[disabled] +.radio-inline, +.checkbox[disabled], fieldset[disabled] +.checkbox, +.checkbox-inline[disabled], fieldset[disabled] +.checkbox-inline { + cursor: not-allowed; +} + +.input-sm, .input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm, .input-group-sm > select.form-control, +.input-group-sm > select.input-group-addon, +.input-group-sm > .input-group-btn > select.btn { + height: 30px; + line-height: 30px; +} + +textarea.input-sm, .input-group-sm > textarea.form-control, +.input-group-sm > textarea.input-group-addon, +.input-group-sm > .input-group-btn > textarea.btn { + height: auto; +} + +.input-lg, .input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 44px; + padding: 10px 16px; + font-size: 17px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg, .input-group-lg > select.form-control, +.input-group-lg > select.input-group-addon, +.input-group-lg > .input-group-btn > select.btn { + height: 44px; + line-height: 44px; +} + +textarea.input-lg, .input-group-lg > textarea.form-control, +.input-group-lg > textarea.input-group-addon, +.input-group-lg > .input-group-btn > textarea.btn { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label { + color: white; +} +.has-warning .form-control { + border-color: white; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.has-warning .form-control:focus { + border-color: #e6e6e6; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px white; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px white; +} +.has-warning .input-group-addon { + color: white; + border-color: white; + background-color: #fe9126; +} + +.has-error .help-block, +.has-error .control-label { + color: white; +} +.has-error .form-control { + border-color: white; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.has-error .form-control:focus { + border-color: #e6e6e6; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px white; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px white; +} +.has-error .input-group-addon { + color: white; + border-color: white; + background-color: #f3515c; +} + +.has-success .help-block, +.has-success .control-label { + color: white; +} +.has-success .form-control { + border-color: white; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.has-success .form-control:focus { + border-color: #e6e6e6; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px white; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px white; +} +.has-success .input-group-addon { + color: white; + border-color: white; + background-color: #55c65e; +} + +.form-control-static { + margin-bottom: 0; + padding-top: 7px; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #b7b7b7; +} + +@media (min-width: 768px) { + .form-inline .form-group, .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control, .navbar-form .form-control { + display: inline-block; + } + .form-inline .radio, .navbar-form .radio, + .form-inline .checkbox, + .navbar-form .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; + } + .form-inline .radio input[type="radio"], .navbar-form .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + margin-top: 0; + margin-bottom: 0; + padding-top: 7px; +} +.form-horizontal .form-group { + margin-left: -15px; + margin-right: -15px; +} +.form-horizontal .form-group:before, .form-horizontal .form-group:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.form-horizontal .form-group:after { + clear: both; +} +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 13px; + font-weight: normal; + line-height: 1.42857; + text-align: center; + vertical-align: middle; + cursor: pointer; + border: 1px solid transparent; + border-radius: 0px; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} +.btn:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, .btn:focus { + color: #333333; + text-decoration: none; +} +.btn:active, .btn.active { + outline: 0; + background-image: none; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.btn.disabled, .btn[disabled], fieldset[disabled] .btn { + cursor: not-allowed; + pointer-events: none; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: white; + border-color: #cccccc; +} +.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} +.open .btn-default.dropdown-toggle { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} +.btn-default:active, .btn-default.active { + background-image: none; +} +.open .btn-default.dropdown-toggle { + background-image: none; +} +.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active { + background-color: white; + border-color: #cccccc; +} + +.btn-primary { + color: white; + background-color: #428bca; + border-color: #357ebd; +} +.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active { + color: white; + background-color: #3276b1; + border-color: #285e8e; +} +.open .btn-primary.dropdown-toggle { + color: white; + background-color: #3276b1; + border-color: #285e8e; +} +.btn-primary:active, .btn-primary.active { + background-image: none; +} +.open .btn-primary.dropdown-toggle { + background-image: none; +} +.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-warning { + color: white; + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active { + color: white; + background-color: #ed9c28; + border-color: #d58512; +} +.open .btn-warning.dropdown-toggle { + color: white; + background-color: #ed9c28; + border-color: #d58512; +} +.btn-warning:active, .btn-warning.active { + background-image: none; +} +.open .btn-warning.dropdown-toggle { + background-image: none; +} +.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-danger { + color: white; + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active { + color: white; + background-color: #d2322d; + border-color: #ac2925; +} +.open .btn-danger.dropdown-toggle { + color: white; + background-color: #d2322d; + border-color: #ac2925; +} +.btn-danger:active, .btn-danger.active { + background-image: none; +} +.open .btn-danger.dropdown-toggle { + background-image: none; +} +.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-success { + color: white; + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active { + color: white; + background-color: #47a447; + border-color: #398439; +} +.open .btn-success.dropdown-toggle { + color: white; + background-color: #47a447; + border-color: #398439; +} +.btn-success:active, .btn-success.active { + background-image: none; +} +.open .btn-success.dropdown-toggle { + background-image: none; +} +.btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled]:active, .btn-success[disabled].active, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-info { + color: white; + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active { + color: white; + background-color: #39b3d7; + border-color: #269abc; +} +.open .btn-info.dropdown-toggle { + color: white; + background-color: #39b3d7; + border-color: #269abc; +} +.btn-info:active, .btn-info.active { + background-image: none; +} +.open .btn-info.dropdown-toggle { + background-image: none; +} +.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-link { + color: #777777; + font-weight: normal; + cursor: pointer; + border-radius: 0; +} +.btn-link, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { + border-color: transparent; +} +.btn-link:hover, .btn-link:focus { + color: #515151; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg, .btn-group-lg > .btn { + padding: 10px 16px; + font-size: 17px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm, .btn-group-sm > .btn, +.btn-xs, +.btn-group-xs > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs, .btn-group-xs > .btn { + padding: 1px 5px; +} + +.btn-block { + display: block; + width: 100%; + padding-left: 0; + padding-right: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url("../fonts/glyphicons-halflings-regular.eot"); + src: url("../fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/glyphicons-halflings-regular.woff") format("woff"), url("../fonts/glyphicons-halflings-regular.ttf") format("truetype"), url("../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular") format("svg"); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.glyphicon-briefcase:before { + content: "\1f4bc"; +} + +.glyphicon-calendar:before { + content: "\1f4c5"; +} + +.glyphicon-pushpin:before { + content: "\1f4cc"; +} + +.glyphicon-paperclip:before { + content: "\1f4ce"; +} + +.glyphicon-camera:before { + content: "\1f4f7"; +} + +.glyphicon-lock:before { + content: "\1f512"; +} + +.glyphicon-bell:before { + content: "\1f514"; +} + +.glyphicon-bookmark:before { + content: "\1f516"; +} + +.glyphicon-fire:before { + content: "\1f525"; +} + +.glyphicon-wrench:before { + content: "\1f527"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid black; + border-right: 4px solid transparent; + border-left: 4px solid transparent; + border-bottom: 0 dotted; + content: ""; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + font-size: 13px; + background-color: white; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + height: 1px; + margin: 8px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { + text-decoration: none; + color: white; + background-color: #428bca; +} + +.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { + color: white; + text-decoration: none; + outline: 0; + background-color: #428bca; +} + +.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { + text-decoration: none; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + cursor: not-allowed; +} + +.open > .dropdown-menu { + display: block; +} +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.42857; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + left: 0; + right: 0; + bottom: 0; + top: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0 dotted; + border-bottom: 4px solid black; + content: ""; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} +.btn-default .caret { + border-top-color: #333333; +} +.btn-primary .caret, .btn-success .caret, .btn-warning .caret, .btn-danger .caret, .btn-info .caret { + border-top-color: #fff; +} + +.dropup .btn-default .caret { + border-bottom-color: #333333; +} +.dropup .btn-primary .caret, +.dropup .btn-success .caret, +.dropup .btn-warning .caret, +.dropup .btn-danger .caret, +.dropup .btn-info .caret { + border-bottom-color: #fff; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} +.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, +.btn-group-vertical > .btn:hover, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 2; +} +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, .btn-toolbar:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.btn-toolbar:after { + clear: both; +} +.btn-toolbar .btn-group { + float: left; +} +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group > .btn + .dropdown-toggle { + padding-left: 8px; + padding-right: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg.btn-group > .btn + .dropdown-toggle { + padding-left: 12px; + padding-right: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret, .btn-group-lg > .btn .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret, .dropup .btn-group-lg > .btn .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group { + display: block; + float: none; + width: 100%; + max-width: 100%; +} +.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.btn-group-vertical > .btn-group:after { + clear: both; +} +.btn-group-vertical > .btn-group > .btn { + float: none; +} +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 0px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-bottom-left-radius: 0px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; +} +.btn-group-justified .btn { + float: none; + display: table-cell; + width: 1%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.input-group.col { + float: none; + padding-left: 0; + padding-right: 0; +} +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 13px; + font-weight: normal; + line-height: 1; + text-align: center; + background-color: #eeeeee; + border: 1px solid #d6d4d4; + border-radius: 0px; +} +.input-group-addon.input-sm, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .input-group-addon.btn { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .input-group-addon.btn { + padding: 10px 16px; + font-size: 17px; + border-radius: 6px; +} +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn > .btn { + position: relative; +} +.input-group-btn > .btn + .btn { + margin-left: -4px; +} +.input-group-btn > .btn:hover, .input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + margin-bottom: 0; + padding-left: 0; + list-style: none; +} +.nav:before, .nav:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.nav:after { + clear: both; +} +.nav > li { + position: relative; + display: block; +} +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} +.nav > li > a:hover, .nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} +.nav > li.disabled > a { + color: #999999; +} +.nav > li.disabled > a:hover, .nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + background-color: transparent; + cursor: not-allowed; +} +.nav .open > a, .nav .open > a:hover, .nav .open > a:focus { + background-color: #eeeeee; + border-color: #777777; +} +.nav .nav-divider { + height: 1px; + margin: 8px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.42857; + border: 1px solid transparent; + border-radius: 0px 0px 0 0; +} +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { + color: #555555; + background-color: white; + border: 1px solid #dddddd; + border-bottom-color: transparent; + cursor: default; +} + +.nav-pills > li { + float: left; +} +.nav-pills > li > a { + border-radius: 5px; +} +.nav-pills > li + li { + margin-left: 2px; +} +.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { + color: white; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified, .nav-tabs.nav-justified { + width: 100%; +} +.nav-justified > li, .nav-tabs.nav-justified > li { + float: none; +} +.nav-justified > li > a, .nav-tabs.nav-justified > li > a { + text-align: center; +} +@media (min-width: 768px) { + .nav-justified > li, .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } +} + +.nav-tabs-justified, .nav-tabs.nav-justified { + border-bottom: 0; +} +.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + margin-right: 0; +} +.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a { + border-bottom-color: white; +} + +.tabbable:before, .tabbable:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.tabbable:after { + clear: both; +} + +.tab-content > .tab-pane, +.pill-content > .pill-pane { + display: none; +} + +.tab-content > .active, +.pill-content > .active { + display: block; +} + +.nav .caret { + border-top-color: #777777; + border-bottom-color: #777777; +} + +.nav a:hover .caret { + border-top-color: #515151; + border-bottom-color: #515151; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + z-index: 1000; + min-height: 50px; + margin-bottom: 18px; + border: 1px solid transparent; +} +.navbar:before, .navbar:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.navbar:after { + clear: both; +} +@media (min-width: 768px) { + .navbar { + border-radius: 0px; + } +} + +.navbar-header:before, .navbar-header:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.navbar-header:after { + clear: both; +} +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + overflow-x: visible; + padding-right: 15px; + padding-left: 15px; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} +.navbar-collapse:before, .navbar-collapse:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.navbar-collapse:after { + clear: both; +} +.navbar-collapse.in { + overflow-y: auto; +} +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-collapse .navbar-nav.navbar-left:first-child { + margin-left: -15px; + } + .navbar-collapse .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } + .navbar-collapse .navbar-text:last-child { + margin-right: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + border-width: 0 0 1px; +} +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + border-width: 0 0 1px; +} +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + z-index: 1030; + top: 0; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; +} + +.navbar-brand { + float: left; + padding: 16px 15px; + font-size: 17px; + line-height: 18px; +} +.navbar-brand:hover, .navbar-brand:focus { + text-decoration: none; +} +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + margin-right: 15px; + padding: 9px 10px; + margin-top: 8px; + margin-bottom: 8px; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0px; +} +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 8px -15px; +} +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 18px; +} +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 18px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 16px; + padding-bottom: 16px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + + .navbar-right { + float: right !important; + } +} +.navbar-form { + margin-left: -15px; + margin-right: -15px; + padding: 10px 15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + margin-top: 9px; + margin-bottom: 9px; +} +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} +@media (min-width: 768px) { + .navbar-form { + width: auto; + border: 0; + margin-left: 0; + margin-right: 0; + padding-top: 0; + padding-bottom: 0; + -webkit-box-shadow: none; + box-shadow: none; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + left: auto; + right: 0; +} + +.navbar-btn { + margin-top: 9px; + margin-bottom: 9px; +} + +.navbar-text { + float: left; + margin-top: 16px; + margin-bottom: 16px; +} +@media (min-width: 768px) { + .navbar-text { + margin-left: 15px; + margin-right: 15px; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} +.navbar-default .navbar-brand { + color: #777777; +} +.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} +.navbar-default .navbar-text { + color: #777777; +} +.navbar-default .navbar-nav > li > a { + color: #777777; +} +.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} +.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} +.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} +.navbar-default .navbar-toggle { + border-color: #dddddd; +} +.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e6e6e6; +} +.navbar-default .navbar-nav > .dropdown > a:hover .caret, +.navbar-default .navbar-nav > .dropdown > a:focus .caret { + border-top-color: #333333; + border-bottom-color: #333333; +} +.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { + background-color: #e7e7e7; + color: #555555; +} +.navbar-default .navbar-nav > .open > a .caret, .navbar-default .navbar-nav > .open > a:hover .caret, .navbar-default .navbar-nav > .open > a:focus .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} +.navbar-default .navbar-nav > .dropdown > a .caret { + border-top-color: #777777; + border-bottom-color: #777777; +} +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} +.navbar-default .navbar-link { + color: #777777; +} +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #090909; +} +.navbar-inverse .navbar-brand { + color: #999999; +} +.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { + color: white; + background-color: transparent; +} +.navbar-inverse .navbar-text { + color: #999999; +} +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} +.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { + color: white; + background-color: transparent; +} +.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { + color: white; + background-color: #090909; +} +.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} +.navbar-inverse .navbar-toggle { + border-color: #333333; +} +.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} +.navbar-inverse .navbar-toggle .icon-bar { + background-color: white; +} +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} +.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { + background-color: #090909; + color: white; +} +.navbar-inverse .navbar-nav > .dropdown > a:hover .caret { + border-top-color: white; + border-bottom-color: white; +} +.navbar-inverse .navbar-nav > .dropdown > a .caret { + border-top-color: #999999; + border-bottom-color: #999999; +} +.navbar-inverse .navbar-nav > .open > a .caret, .navbar-inverse .navbar-nav > .open > a:hover .caret, .navbar-inverse .navbar-nav > .open > a:focus .caret { + border-top-color: white; + border-bottom-color: white; +} +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #090909; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: white; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: white; + background-color: #090909; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} +.navbar-inverse .navbar-link { + color: #999999; +} +.navbar-inverse .navbar-link:hover { + color: white; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 18px; + list-style: none; + background-color: #f6f6f6; + border-radius: 0px; +} +.breadcrumb > li { + display: inline-block; +} +.breadcrumb > li + li:before { + content: "/\00a0"; + padding: 0 5px; + color: #333333; +} +.breadcrumb > .active { + color: #333333; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 18px 0; + border-radius: 0px; +} +.pagination > li { + display: inline; +} +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + line-height: 1.42857; + text-decoration: none; + background-color: white; + border: 1px solid #dddddd; + margin-left: -1px; +} +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 0px; + border-top-left-radius: 0px; +} +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-bottom-right-radius: 0px; + border-top-right-radius: 0px; +} +.pagination > li > a:hover, .pagination > li > a:focus, +.pagination > li > span:hover, +.pagination > li > span:focus { + background-color: #eeeeee; +} +.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, +.pagination > .active > span, +.pagination > .active > span:hover, +.pagination > .active > span:focus { + z-index: 2; + color: white; + background-color: #428bca; + border-color: #428bca; + cursor: default; +} +.pagination > .disabled > span, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + background-color: white; + border-color: #dddddd; + cursor: not-allowed; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 17px; +} +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-bottom-right-radius: 6px; + border-top-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-bottom-right-radius: 3px; + border-top-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 18px 0; + list-style: none; + text-align: center; +} +.pager:before, .pager:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.pager:after { + clear: both; +} +.pager li { + display: inline; +} +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: white; + border: 1px solid #dddddd; + border-radius: 15px; +} +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} +.pager .next > a, +.pager .next > span { + float: right; +} +.pager .previous > a, +.pager .previous > span { + float: left; +} +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + background-color: white; + cursor: not-allowed; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: white; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} +.label[href]:hover, .label[href]:focus { + color: white; + text-decoration: none; + cursor: pointer; +} +.label:empty { + display: none; +} + +.label-default { + background-color: #999999; +} +.label-default[href]:hover, .label-default[href]:focus { + background-color: gray; +} + +.label-primary { + background-color: #428bca; +} +.label-primary[href]:hover, .label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} +.label-success[href]:hover, .label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} +.label-info[href]:hover, .label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} +.label-warning[href]:hover, .label-warning[href]:focus { + background-color: #ec971f; +} + +.label-danger { + background-color: #d9534f; +} +.label-danger[href]:hover, .label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + color: white; + line-height: 1; + vertical-align: baseline; + white-space: nowrap; + text-align: center; + background-color: #999999; + border-radius: 10px; +} +.badge:empty { + display: none; +} + +a.badge:hover, a.badge:focus { + color: white; + text-decoration: none; + cursor: pointer; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #777777; + background-color: white; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 19.5px; + font-weight: 200; + line-height: 2.14286; + color: inherit; + background-color: #eeeeee; +} +.jumbotron h1 { + line-height: 1; + color: inherit; +} +.jumbotron p { + line-height: 1.4; +} +.container .jumbotron { + border-radius: 6px; +} +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-left: 60px; + padding-right: 60px; + } + .jumbotron h1 { + font-size: 58.5px; + } +} + +.thumbnail { + display: block; +} +.thumbnail > img { + display: block; + max-width: 100%; + height: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus { + border-color: #777777; +} + +.thumbnail > img { + margin-left: auto; + margin-right: auto; +} + +.thumbnail .caption { + padding: 9px; + color: #777777; +} + +.alert { + padding: 15px; + margin-bottom: 18px; + border: 1px solid transparent; + border-radius: 0px; +} +.alert h4 { + margin-top: 0; + color: inherit; +} +.alert .alert-link { + font-weight: bold; +} +.alert > p, +.alert > ul { + margin-bottom: 0; +} +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + background-color: #55c65e; + border-color: #48b151; + color: white; +} +.alert-success hr { + border-top-color: #419f49; +} +.alert-success .alert-link { + color: #e6e6e6; +} + +.alert-info { + background-color: #5192f3; + border-color: #4b80c3; + color: white; +} +.alert-info hr { + border-top-color: #3d73b7; +} +.alert-info .alert-link { + color: #e6e6e6; +} + +.alert-warning { + background-color: #fe9126; + border-color: #e4752b; + color: white; +} +.alert-warning hr { + border-top-color: #da681c; +} +.alert-warning .alert-link { + color: #e6e6e6; +} + +.alert-danger { + background-color: #f3515c; + border-color: #d4323d; + color: white; +} +.alert-danger hr { + border-top-color: #c32933; +} +.alert-danger .alert-link { + color: #e6e6e6; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + + to { + background-position: 0 0; + } +} + +@-moz-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + + to { + background-position: 0 0; + } +} + +@-o-keyframes progress-bar-stripes { + from { + background-position: 0 0; + } + + to { + background-position: 40px 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + + to { + background-position: 0 0; + } +} + +.progress { + overflow: hidden; + height: 18px; + margin-bottom: 18px; + background-color: whitesmoke; + border-radius: 0px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0%; + height: 100%; + font-size: 12px; + color: white; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -moz-animation: progress-bar-stripes 2s linear infinite; + -ms-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} +.progress-striped .progress-bar-success { + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} +.progress-striped .progress-bar-info { + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} +.progress-striped .progress-bar-warning { + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} +.progress-striped .progress-bar-danger { + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + margin-bottom: 20px; + padding-left: 0; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: white; + border: 1px solid #dddddd; +} +.list-group-item:first-child { + border-top-right-radius: 0px; + border-top-left-radius: 0px; +} +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 0px; + border-bottom-left-radius: 0px; +} +.list-group-item > .badge { + float: right; +} +.list-group-item > .badge + .badge { + margin-right: 5px; +} +.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus { + z-index: 2; + color: white; + background-color: #428bca; + border-color: #428bca; +} +.list-group-item.active .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading { + color: inherit; +} +.list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +a.list-group-item { + color: #555555; +} +a.list-group-item .list-group-item-heading { + color: #333333; +} +a.list-group-item:hover, a.list-group-item:focus { + text-decoration: none; + background-color: whitesmoke; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 18px; + background-color: white; + border: 1px solid transparent; + border-radius: 0px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} +.panel-body:before, .panel-body:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} +.panel > .list-group .list-group-item { + border-width: 1px 0; +} +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table { + margin-bottom: 0; +} +.panel > .panel-body + .table { + border-top: 1px solid #d6d4d4; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: -1px; + border-top-left-radius: -1px; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 15px; +} +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: whitesmoke; + border-top: 1px solid #dddddd; + border-bottom-right-radius: -1px; + border-bottom-left-radius: -1px; +} + +.panel-group .panel { + margin-bottom: 0; + border-radius: 0px; + overflow: hidden; +} +.panel-group .panel + .panel { + margin-top: 5px; +} +.panel-group .panel-heading { + border-bottom: 0; +} +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} +.panel-group .panel-footer { + border-top: 0; +} +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} +.panel-default > .panel-heading { + color: #333333; + background-color: whitesmoke; + border-color: #dddddd; +} +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} +.panel-primary > .panel-heading { + color: white; + background-color: #428bca; + border-color: #428bca; +} +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #48b151; +} +.panel-success > .panel-heading { + color: white; + background-color: #55c65e; + border-color: #48b151; +} +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #48b151; +} +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #48b151; +} + +.panel-warning { + border-color: #e4752b; +} +.panel-warning > .panel-heading { + color: white; + background-color: #fe9126; + border-color: #e4752b; +} +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #e4752b; +} +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #e4752b; +} + +.panel-danger { + border-color: #d4323d; +} +.panel-danger > .panel-heading { + color: white; + background-color: #f3515c; + border-color: #d4323d; +} +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d4323d; +} +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d4323d; +} + +.panel-info { + border-color: #4b80c3; +} +.panel-info > .panel-heading { + color: white; + background-color: #5192f3; + border-color: #4b80c3; +} +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #4b80c3; +} +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #4b80c3; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: whitesmoke; + border: 1px solid #e3e3e3; + border-radius: 0px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 19.5px; + font-weight: bold; + line-height: 1; + color: black; + text-shadow: 0 1px 0 white; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, .close:focus { + color: black; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} +.modal-open .navbar-fixed-top, +.modal-open .navbar-fixed-bottom { + margin-right: 15px; +} + +body.modal-open { + margin-right: 15px; +} + +.modal { + display: none; + overflow: auto; + overflow-y: scroll; + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; +} +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + margin-left: auto; + margin-right: auto; + width: auto; + padding: 10px; + z-index: 1050; +} + +.modal-content { + position: relative; + background-color: white; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; + outline: none; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: black; +} +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + padding: 15px; + border-bottom: 1px solid #e5e5e5; + min-height: 16.42857px; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.42857; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + margin-top: 15px; + padding: 19px 20px 20px; + text-align: right; + border-top: 1px solid #e5e5e5; +} +.modal-footer:before, .modal-footer:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.modal-footer:after { + clear: both; +} +.modal-footer .btn + .btn { + margin-left: 5px; + margin-bottom: 0; +} +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + left: 50%; + right: auto; + width: 600px; + padding-top: 30px; + padding-bottom: 30px; + } + + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} +.tooltip { + position: absolute; + z-index: 1030; + display: block; + visibility: visible; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); +} +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} +.tooltip.top { + margin-top: -3px; + padding: 5px 0; +} +.tooltip.right { + margin-left: 3px; + padding: 0 5px; +} +.tooltip.bottom { + margin-top: 3px; + padding: 5px 0; +} +.tooltip.left { + margin-left: -3px; + padding: 0 5px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: white; + text-align: center; + text-decoration: none; + background-color: black; + border-radius: 0px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: black; +} +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-width: 5px 5px 0; + border-top-color: black; +} +.tooltip.top-right .tooltip-arrow { + bottom: 0; + right: 5px; + border-width: 5px 5px 0; + border-top-color: black; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: black; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: black; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: black; +} +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-width: 0 5px 5px; + border-bottom-color: black; +} +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-width: 0 5px 5px; + border-bottom-color: black; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + background-color: white; + background-clip: padding-box; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + white-space: normal; +} +.popover.top { + margin-top: -10px; +} +.popover.right { + margin-left: 10px; +} +.popover.bottom { + margin-top: 10px; +} +.popover.left { + margin-left: -10px; +} + +.popover-title { + margin: 0; + padding: 8px 14px; + font-size: 13px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, .popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + left: 50%; + margin-left: -11px; + border-bottom-width: 0; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + bottom: -11px; +} +.popover.top .arrow:after { + content: " "; + bottom: 1px; + margin-left: -10px; + border-bottom-width: 0; + border-top-color: white; +} +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-left-width: 0; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); +} +.popover.right .arrow:after { + content: " "; + left: 1px; + bottom: -10px; + border-left-width: 0; + border-right-color: white; +} +.popover.bottom .arrow { + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + top: -11px; +} +.popover.bottom .arrow:after { + content: " "; + top: 1px; + margin-left: -10px; + border-top-width: 0; + border-bottom-color: white; +} +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-right-width: 0; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); +} +.popover.left .arrow:after { + content: " "; + right: 1px; + border-right-width: 0; + border-left-color: white; + bottom: -10px; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + overflow: hidden; + width: 100%; +} +.carousel-inner > .item { + display: none; + position: relative; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + max-width: 100%; + height: auto; + line-height: 1; +} +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} +.carousel-inner > .active { + left: 0; +} +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} +.carousel-inner > .next { + left: 100%; +} +.carousel-inner > .prev { + left: -100%; +} +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} +.carousel-inner > .active.left { + left: -100%; +} +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + left: 0; + bottom: 0; + width: 15%; + opacity: 0.5; + filter: alpha(opacity=50); + font-size: 20px; + color: white; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} +.carousel-control.left { + background-image: -webkit-gradient(linear, 0% top, 100% top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001))); + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0%), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} +.carousel-control.right { + left: auto; + right: 0; + background-image: -webkit-gradient(linear, 0% top, 100% top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5))); + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0%), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} +.carousel-control:hover, .carousel-control:focus { + color: white; + text-decoration: none; + opacity: 0.9; + filter: alpha(opacity=90); +} +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + left: 50%; + z-index: 5; + display: inline-block; +} +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} +.carousel-control .icon-prev:before { + content: '\2039'; +} +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + margin-left: -30%; + padding-left: 0; + list-style: none; + text-align: center; +} +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + border: 1px solid white; + border-radius: 10px; + cursor: pointer; +} +.carousel-indicators .active { + margin: 0; + width: 12px; + height: 12px; + background-color: white; +} + +.carousel-caption { + position: absolute; + left: 15%; + right: 15%; + bottom: 20px; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: white; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + + .carousel-caption { + left: 20%; + right: 20%; + padding-bottom: 30px; + } + + .carousel-indicators { + bottom: 20px; + } +} +.clearfix:before, .clearfix:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ +} +.clearfix:after { + clear: both; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +@media screen and (max-width: 400px) { + @-ms-viewport { + width: 320px; +} +} +.hidden { + display: none !important; + visibility: hidden !important; +} + +.visible-xs { + display: none !important; +} + +tr.visible-xs { + display: none !important; +} + +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + + tr.visible-xs { + display: table-row !important; + } + + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + + tr.visible-xs.visible-sm { + display: table-row !important; + } + + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + + tr.visible-xs.visible-md { + display: table-row !important; + } + + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + + tr.visible-xs.visible-lg { + display: table-row !important; + } + + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} +.visible-sm { + display: none !important; +} + +tr.visible-sm { + display: none !important; +} + +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + + tr.visible-sm.visible-xs { + display: table-row !important; + } + + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + + tr.visible-sm { + display: table-row !important; + } + + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + + tr.visible-sm.visible-md { + display: table-row !important; + } + + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + + tr.visible-sm.visible-lg { + display: table-row !important; + } + + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} +.visible-md { + display: none !important; +} + +tr.visible-md { + display: none !important; +} + +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + + tr.visible-md.visible-xs { + display: table-row !important; + } + + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + + tr.visible-md.visible-sm { + display: table-row !important; + } + + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + + tr.visible-md { + display: table-row !important; + } + + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + + tr.visible-md.visible-lg { + display: table-row !important; + } + + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} +.visible-lg { + display: none !important; +} + +tr.visible-lg { + display: none !important; +} + +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + + tr.visible-lg.visible-xs { + display: table-row !important; + } + + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + + tr.visible-lg.visible-sm { + display: table-row !important; + } + + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + + tr.visible-lg.visible-md { + display: table-row !important; + } + + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + + tr.visible-lg { + display: table-row !important; + } + + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} +.hidden-xs { + display: block !important; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs { + display: none !important; + } + + tr.hidden-xs { + display: none !important; + } + + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm { + display: none !important; + } + + tr.hidden-xs.hidden-sm { + display: none !important; + } + + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md { + display: none !important; + } + + tr.hidden-xs.hidden-md { + display: none !important; + } + + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-xs.hidden-lg { + display: none !important; + } + + tr.hidden-xs.hidden-lg { + display: none !important; + } + + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} +.hidden-sm { + display: block !important; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs { + display: none !important; + } + + tr.hidden-sm.hidden-xs { + display: none !important; + } + + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm { + display: none !important; + } + + tr.hidden-sm { + display: none !important; + } + + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md { + display: none !important; + } + + tr.hidden-sm.hidden-md { + display: none !important; + } + + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-sm.hidden-lg { + display: none !important; + } + + tr.hidden-sm.hidden-lg { + display: none !important; + } + + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} +.hidden-md { + display: block !important; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs { + display: none !important; + } + + tr.hidden-md.hidden-xs { + display: none !important; + } + + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm { + display: none !important; + } + + tr.hidden-md.hidden-sm { + display: none !important; + } + + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md { + display: none !important; + } + + tr.hidden-md { + display: none !important; + } + + th.hidden-md, + td.hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-md.hidden-lg { + display: none !important; + } + + tr.hidden-md.hidden-lg { + display: none !important; + } + + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} +.hidden-lg { + display: block !important; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs { + display: none !important; + } + + tr.hidden-lg.hidden-xs { + display: none !important; + } + + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm { + display: none !important; + } + + tr.hidden-lg.hidden-sm { + display: none !important; + } + + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md { + display: none !important; + } + + tr.hidden-lg.hidden-md { + display: none !important; + } + + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-lg { + display: none !important; + } + + tr.hidden-lg { + display: none !important; + } + + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} +.visible-print { + display: none !important; +} + +tr.visible-print { + display: none !important; +} + +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + + tr.visible-print { + display: table-row !important; + } + + th.visible-print, + td.visible-print { + display: table-cell !important; + } + + .hidden-print { + display: none !important; + } + + tr.hidden-print { + display: none !important; + } + + th.hidden-print, + td.hidden-print { + display: none !important; + } +} diff --git a/themes/default-bootstrap/css/category.css b/themes/default-bootstrap/css/category.css new file mode 100644 index 000000000..727f7ae9c --- /dev/null +++ b/themes/default-bootstrap/css/category.css @@ -0,0 +1,89 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* ************************************************************************************************ + Categories Page Styles +************************************************************************************************ */ +.content_scene_cat { + border-top: 5px solid #333333; + color: #d7d7d7; + line-height: 19px; + margin-bottom: 26px; +} +.content_scene_cat .content_scene_cat_bg { + padding: 18px 0 10px 42px; + background-color: #403d3b; +} +.content_scene_cat h1.category-name { + font: 600 42px/51px "Open Sans", sans-serif; + color: #fff; + margin-bottom: 12px; +} +.content_scene_cat p { + margin-bottom: 0; +} +.content_scene_cat a { + color: #fff; +} +.content_scene_cat a:hover { + text-decoration: underline; +} +.content_scene_cat .content_scene { + color: #777777; +} +.content_scene_cat .content_scene .cat_desc { + padding-top: 20px; +} +.content_scene_cat .content_scene .cat_desc a { + color: #777777; +} +.content_scene_cat .content_scene .cat_desc a:hover { + color: #515151; +} + +/* ************************************************************************************************ + Sub Categories Styles +************************************************************************************************ */ +#subcategories { + border-top: 1px solid #d6d4d4; + padding: 15px 0 13px 0; +} +#subcategories p.subcategory-heading { + font-weight: bold; + color: #333; + margin: 0 0 15px 0; +} +#subcategories ul { + margin-left: -20px; +} +#subcategories ul li { + float: left; + width: 128px; + margin-left: 20px; + text-align: center; +} +#subcategories ul li .subcategory-image { + padding-bottom: 8px; +} +#subcategories ul li .subcategory-image a { + display: block; + padding: 9px; + border: 1px solid #d6d4d4; +} +#subcategories ul li .subcategory-image a img { + max-width: 100%; + vertical-align: top; +} +#subcategories ul li .subcategory-name { + font: 600 18px/22px "Open Sans", sans-serif; + color: #555454; + text-transform: uppercase; +} +#subcategories ul li .subcategory-name:hover { + color: #515151; +} +#subcategories ul li .cat_desc { + display: none; +} +#subcategories ul li:hover .subcategory-image a { + border: 5px solid #333333; + padding: 5px; +} diff --git a/themes/default-bootstrap/css/cms.css b/themes/default-bootstrap/css/cms.css new file mode 100644 index 000000000..d115deba5 --- /dev/null +++ b/themes/default-bootstrap/css/cms.css @@ -0,0 +1,88 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/************************************************************** + CMS Pages Styles +***************************************************************/ +#cms #center_column .cms-block { + padding-bottom: 20px; +} +#cms #center_column h1 { + margin-bottom: 25px; +} +#cms #center_column h3 { + font-size: 16px; + border-bottom: none; + margin: 0 0 0 0; + padding-bottom: 17px; +} +#cms #center_column p { + line-height: 18px; +} +#cms #center_column .list-1 li { + padding: 4px 0 6px 0; + font-weight: bold; + color: #46a74e; + border-top: 1px solid #d6d4d4; +} +#cms #center_column .list-1 li:first-child { + border: none; +} +#cms #center_column .list-1 li em { + font-size: 20px; + line-height: 20px; + padding-right: 15px; + vertical-align: -2px; +} +#cms #center_column img { + margin: 4px 0 17px; + max-width: 100%; + height: auto; +} +#cms #center_column .testimonials { + border: 1px solid; + border-color: #dfdede #d2d0d0 #b0afaf #d2d0d0; + margin: 4px 0 13px 0; + position: relative; +} +#cms #center_column .testimonials .inner { + border: 1px solid #fff; + padding: 19px 18px 11px 18px; + background: #fbfbfb; + background: -moz-linear-gradient(top, #fbfbfb 0%, #fefefe 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fbfbfb), color-stop(100%, #fefefe)); + background: -webkit-linear-gradient(top, #fbfbfb 0%, #fefefe 100%); + background: -o-linear-gradient(top, #fbfbfb 0%, #fefefe 100%); + background: -ms-linear-gradient(top, #fbfbfb 0%, #fefefe 100%); + background: linear-gradient(to bottom, #fbfbfb 0%, #fefefe 100%); +} +#cms #center_column .testimonials .inner span { + text-indent: -5000px; + display: inline-block; + width: 20px; + height: 15px; +} +#cms #center_column .testimonials .inner span.before { + background: url(../img/bl-before-bg.png) no-repeat; + margin-right: 8px; +} +#cms #center_column .testimonials .inner span.after { + background: url(../img/bl-after-bg.png) no-repeat; + margin-left: 8px; +} +#cms #center_column .testimonials:after { + content: "."; + display: block; + text-indent: -5000px; + position: absolute; + bottom: -16px; + left: 21px; + width: 15px; + height: 16px; + background: url(../img/testimon-after.gif) no-repeat; +} +#cms #center_column .testimonials + p { + padding-left: 45px; + margin-bottom: 18px; +} +#cms #center_column p.bottom-indent { + margin-bottom: 18px; +} diff --git a/themes/default-bootstrap/css/comparator.css b/themes/default-bootstrap/css/comparator.css new file mode 100644 index 000000000..a321199b5 --- /dev/null +++ b/themes/default-bootstrap/css/comparator.css @@ -0,0 +1,88 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/******************************************************************** + Compare Page Styles +********************************************************************/ +table#product_comparison tbody tr td.product-block { + vertical-align: top; + padding: 14px 19px 19px; + text-align: center; +} +table#product_comparison tbody tr td.td_empty, table#product_comparison tbody tr td.feature-name, table#product_comparison tbody tr.comparison_header { + background: #fbfbfb; + color: #333; +} +table#product_comparison tbody tr td.comparison_infos { + text-align: center; +} +table#product_comparison tbody tr td.comparison_infos div.center { + margin: 0 auto; + width: 80px; +} +table#product_comparison tbody tr td.td_empty { + vertical-align: bottom; +} +table#product_comparison tbody tr td.td_empty span { + font: 600 18px/22px "Open Sans", sans-serif; + text-transform: uppercase; + color: #555454; +} +table#product_comparison .remove { + text-align: right; + padding-bottom: 15px; +} +table#product_comparison .remove a { + font-size: 23px; + line-height: 23px; + color: #c0c0c0; +} +table#product_comparison .remove a:hover { + color: #515151; +} +table#product_comparison .product-image-block { + display: inline-block; + position: relative; +} +table#product_comparison .product-image-block .product_image { + padding: 9px; + border: 1px solid #d6d4d4; + display: inline-block; + margin: 0 0 8px 0; +} +table#product_comparison .product-image-block .product_image img { + width: 100%; +} +table#product_comparison h5 { + padding-bottom: 8px; + min-height: 54px; +} +table#product_comparison .prices-container { + padding-bottom: 5px; +} +table#product_comparison .comparison_availability_statut { + display: none; + font-weight: bold; + color: #060; +} +table#product_comparison .product_discount { + padding-top: 5px; +} +table#product_comparison .product_discount .reduced-price { + color: #f00; + font-weight: bold; +} +table#product_comparison .product_desc { + padding-bottom: 12px; +} +table#product_comparison .button-container a { + margin-bottom: 10px; +} +table#product_comparison .comparison_unit_price { + font-size: 17px; + font-family: 'Open Sans', sans-serif; + color: #333; + font-style: italic; +} + +.footer_link { + margin-bottom: 20px; +} diff --git a/themes/default-bootstrap/css/contact-form.css b/themes/default-bootstrap/css/contact-form.css new file mode 100644 index 000000000..b0c02aa1f --- /dev/null +++ b/themes/default-bootstrap/css/contact-form.css @@ -0,0 +1,101 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/************************************************************************** + Contact Page Styles +**************************************************************************/ +.contact-title { + margin-top: -5px; + line-height: 23px; + margin-bottom: 27px; +} +.contact-title i { + font-size: 23px; + color: #c0c0c0; + padding-right: 8px; +} + +.contact-form-box { + padding: 23px 0 0 0; + margin-bottom: 30px; + background: url(../img/contact-form.png) repeat-x white; + -webkit-box-shadow: rgba(0, 0, 0, 0) 0px 5px 13px; + -moz-box-shadow: rgba(0, 0, 0, 0) 0px 5px 13px; + box-shadow: rgba(0, 0, 0, 0) 0px 5px 13px; +} +.contact-form-box fieldset { + padding: 0 19px 21px 19px; + background: url(../img/form-contact-shadow.png) center bottom no-repeat; + background-size: contain; +} +.contact-form-box label { + margin-bottom: 6px; +} +.contact-form-box .page-subheading { + padding-left: 0px; + border: none; + margin-bottom: 0; +} +.contact-form-box .col-md-3 { + padding-left: 0; +} +.contact-form-box .col-md-9 { + padding-right: 0; +} +.contact-form-box #desc_contact0 { + display: none; +} +.contact-form-box .form-group { + margin-bottom: 7px; +} +.contact-form-box textarea { + height: 257px; +} +.contact-form-box .submit { + margin-top: 13px; +} +.contact-form-box select.form-control { + max-width: 270px; + width: 100%; +} + +/************************************************************************** + Contact Page Bottom Banners Styles +**************************************************************************/ +.contact-banners .list-1 { + padding: 6px 0 3px 0; +} +.contact-banners .list-1 li { + padding: 0px 0 3px 0; + font: 600 18px/22px "Open Sans", sans-serif; + color: #555454; +} +.contact-banners .list-1 li i { + font-size: 25px; + line-height: 25px; + color: #cdcdcd; + padding-right: 10px; + vertical-align: -3px; +} +.contact-banners .list-2 { + padding: 2px 0 2px 0; +} +.contact-banners .list-2 li { + font-weight: bold; + color: #46a74e; + padding: 0 0 5px 0; +} +.contact-banners .list-2 li i { + font-size: 20px; + line-height: 20px; + padding-right: 10px; + vertical-align: -2px; +} +.contact-banners .box.box-last { + padding-bottom: 49px; +} +.contact-banners .box.box-last p i { + font-size: 29px; + line-height: 29px; + color: #c0c0c0; + vertical-align: -6px; + padding-right: 13px; +} diff --git a/themes/default-bootstrap/css/font-awesome.css b/themes/default-bootstrap/css/font-awesome.css new file mode 100644 index 000000000..a7a9950f3 --- /dev/null +++ b/themes/default-bootstrap/css/font-awesome.css @@ -0,0 +1,1479 @@ +/*! + * Font Awesome 3.2.1 + * the iconic font designed for Bootstrap + * ------------------------------------------------------------------------------ + * The full suite of pictographic icons, examples, and documentation can be + * found at http://fontawesome.io. Stay up to date on Twitter at + * http://twitter.com/fontawesome. + * + * License + * ------------------------------------------------------------------------------ + * - The Font Awesome font is licensed under SIL OFL 1.1 - + * http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under MIT License - + * http://opensource.org/licenses/mit-license.html + * - Font Awesome documentation licensed under CC BY 3.0 - + * http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fontawesome.io" + * + * Author - Dave Gandy + * ------------------------------------------------------------------------------ + * Email: dave@fontawesome.io + * Twitter: http://twitter.com/davegandy + * Work: Lead Product Designer @ Kyruus - http://kyruus.com + */ +/* FONT PATH + * -------------------------- */ +@font-face { + font-family: 'FontAwesome'; + src: url('../../font/fontawesome-webfont.eot?v=3.2.1'); + src: url('../../font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('../../font/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('../../font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('../../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg'); + font-weight: normal; + font-style: normal; +} +/* FONT AWESOME CORE + * -------------------------- */ +[class^="icon-"], +[class*=" icon-"] { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + text-decoration: inherit; + -webkit-font-smoothing: antialiased; + *margin-right: .3em; +} +[class^="icon-"]:before, +[class*=" icon-"]:before { + text-decoration: inherit; + display: inline-block; + speak: none; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: -10%; + font-size: 1.3333333333333333em; +} +/* makes sure icons active on rollover in links */ +a [class^="icon-"], +a [class*=" icon-"] { + display: inline; +} +/* increased font size for icon-large */ +[class^="icon-"].icon-fixed-width, +[class*=" icon-"].icon-fixed-width { + display: inline-block; + width: 1.1428571428571428em; + text-align: right; + padding-right: 0.2857142857142857em; +} +[class^="icon-"].icon-fixed-width.icon-large, +[class*=" icon-"].icon-fixed-width.icon-large { + width: 1.4285714285714286em; +} +.icons-ul { + margin-left: 2.142857142857143em; + list-style-type: none; +} +.icons-ul > li { + position: relative; +} +.icons-ul .icon-li { + position: absolute; + left: -2.142857142857143em; + width: 2.142857142857143em; + text-align: center; + line-height: inherit; +} +[class^="icon-"].hide, +[class*=" icon-"].hide { + display: none; +} +.icon-muted { + color: #eeeeee; +} +.icon-light { + color: #ffffff; +} +.icon-dark { + color: #333333; +} +.icon-border { + border: solid 1px #eeeeee; + padding: .2em .25em .15em; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.icon-2x { + font-size: 2em; +} +.icon-2x.icon-border { + border-width: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.icon-3x { + font-size: 3em; +} +.icon-3x.icon-border { + border-width: 3px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.icon-4x { + font-size: 4em; +} +.icon-4x.icon-border { + border-width: 4px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.icon-5x { + font-size: 5em; +} +.icon-5x.icon-border { + border-width: 5px; + -webkit-border-radius: 7px; + -moz-border-radius: 7px; + border-radius: 7px; +} +.pull-right { + float: right; +} +.pull-left { + float: left; +} +[class^="icon-"].pull-left, +[class*=" icon-"].pull-left { + margin-right: .3em; +} +[class^="icon-"].pull-right, +[class*=" icon-"].pull-right { + margin-left: .3em; +} +/* BOOTSTRAP SPECIFIC CLASSES + * -------------------------- */ +/* Bootstrap 2.0 sprites.less reset */ +[class^="icon-"], +[class*=" icon-"] { + display: inline; + width: auto; + height: auto; + line-height: normal; + vertical-align: baseline; + background-image: none; + background-position: 0% 0%; + background-repeat: repeat; + margin-top: 0; +} +/* more sprites.less reset */ +.icon-white, +.nav-pills > .active > a > [class^="icon-"], +.nav-pills > .active > a > [class*=" icon-"], +.nav-list > .active > a > [class^="icon-"], +.nav-list > .active > a > [class*=" icon-"], +.navbar-inverse .nav > .active > a > [class^="icon-"], +.navbar-inverse .nav > .active > a > [class*=" icon-"], +.dropdown-menu > li > a:hover > [class^="icon-"], +.dropdown-menu > li > a:hover > [class*=" icon-"], +.dropdown-menu > .active > a > [class^="icon-"], +.dropdown-menu > .active > a > [class*=" icon-"], +.dropdown-submenu:hover > a > [class^="icon-"], +.dropdown-submenu:hover > a > [class*=" icon-"] { + background-image: none; +} +/* keeps Bootstrap styles with and without icons the same */ +.btn [class^="icon-"].icon-large, +.nav [class^="icon-"].icon-large, +.btn [class*=" icon-"].icon-large, +.nav [class*=" icon-"].icon-large { + line-height: .9em; +} +.btn [class^="icon-"].icon-spin, +.nav [class^="icon-"].icon-spin, +.btn [class*=" icon-"].icon-spin, +.nav [class*=" icon-"].icon-spin { + display: inline-block; +} +.nav-tabs [class^="icon-"], +.nav-pills [class^="icon-"], +.nav-tabs [class*=" icon-"], +.nav-pills [class*=" icon-"], +.nav-tabs [class^="icon-"].icon-large, +.nav-pills [class^="icon-"].icon-large, +.nav-tabs [class*=" icon-"].icon-large, +.nav-pills [class*=" icon-"].icon-large { + line-height: .9em; +} +.btn [class^="icon-"].pull-left.icon-2x, +.btn [class*=" icon-"].pull-left.icon-2x, +.btn [class^="icon-"].pull-right.icon-2x, +.btn [class*=" icon-"].pull-right.icon-2x { + margin-top: .18em; +} +.btn [class^="icon-"].icon-spin.icon-large, +.btn [class*=" icon-"].icon-spin.icon-large { + line-height: .8em; +} +.btn.btn-small [class^="icon-"].pull-left.icon-2x, +.btn.btn-small [class*=" icon-"].pull-left.icon-2x, +.btn.btn-small [class^="icon-"].pull-right.icon-2x, +.btn.btn-small [class*=" icon-"].pull-right.icon-2x { + margin-top: .25em; +} +.btn.btn-large [class^="icon-"], +.btn.btn-large [class*=" icon-"] { + margin-top: 0; +} +.btn.btn-large [class^="icon-"].pull-left.icon-2x, +.btn.btn-large [class*=" icon-"].pull-left.icon-2x, +.btn.btn-large [class^="icon-"].pull-right.icon-2x, +.btn.btn-large [class*=" icon-"].pull-right.icon-2x { + margin-top: .05em; +} +.btn.btn-large [class^="icon-"].pull-left.icon-2x, +.btn.btn-large [class*=" icon-"].pull-left.icon-2x { + margin-right: .2em; +} +.btn.btn-large [class^="icon-"].pull-right.icon-2x, +.btn.btn-large [class*=" icon-"].pull-right.icon-2x { + margin-left: .2em; +} +/* Fixes alignment in nav lists */ +.nav-list [class^="icon-"], +.nav-list [class*=" icon-"] { + line-height: inherit; +} +/* EXTRAS + * -------------------------- */ +/* Stacked and layered icon */ +.icon-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: -35%; +} +.icon-stack [class^="icon-"], +.icon-stack [class*=" icon-"] { + display: block; + text-align: center; + position: absolute; + width: 100%; + height: 100%; + font-size: 1em; + line-height: inherit; + *line-height: 2em; +} +.icon-stack .icon-stack-base { + font-size: 2em; + *line-height: 1em; +} +/* Animated rotating icon */ +.icon-spin { + display: inline-block; + -moz-animation: spin 2s infinite linear; + -o-animation: spin 2s infinite linear; + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; +} +/* Prevent stack and spinners from being taken inline when inside a link */ +a .icon-stack, +a .icon-spin { + display: inline-block; + text-decoration: none; +} +@-moz-keyframes spin { + 0% { + -moz-transform: rotate(0deg); + } + 100% { + -moz-transform: rotate(359deg); + } +} +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + } +} +@-o-keyframes spin { + 0% { + -o-transform: rotate(0deg); + } + 100% { + -o-transform: rotate(359deg); + } +} +@-ms-keyframes spin { + 0% { + -ms-transform: rotate(0deg); + } + 100% { + -ms-transform: rotate(359deg); + } +} +@keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(359deg); + } +} +/* Icon rotations and mirroring */ +.icon-rotate-90:before { + -webkit-transform: rotate(90deg); + -moz-transform: rotate(90deg); + -ms-transform: rotate(90deg); + -o-transform: rotate(90deg); + transform: rotate(90deg); + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.icon-rotate-180:before { + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + -o-transform: rotate(180deg); + transform: rotate(180deg); + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); +} +.icon-rotate-270:before { + -webkit-transform: rotate(270deg); + -moz-transform: rotate(270deg); + -ms-transform: rotate(270deg); + -o-transform: rotate(270deg); + transform: rotate(270deg); + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); +} +.icon-flip-horizontal:before { + -webkit-transform: scale(-1, 1); + -moz-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + -o-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.icon-flip-vertical:before { + -webkit-transform: scale(1, -1); + -moz-transform: scale(1, -1); + -ms-transform: scale(1, -1); + -o-transform: scale(1, -1); + transform: scale(1, -1); +} +/* ensure rotation occurs inside anchor tags */ +a .icon-rotate-90:before, +a .icon-rotate-180:before, +a .icon-rotate-270:before, +a .icon-flip-horizontal:before, +a .icon-flip-vertical:before { + display: inline-block; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { + content: "\f000"; +} +.icon-music:before { + content: "\f001"; +} +.icon-search:before { + content: "\f002"; +} +.icon-envelope-alt:before { + content: "\f003"; +} +.icon-heart:before { + content: "\f004"; +} +.icon-star:before { + content: "\f005"; +} +.icon-star-empty:before { + content: "\f006"; +} +.icon-user:before { + content: "\f007"; +} +.icon-film:before { + content: "\f008"; +} +.icon-th-large:before { + content: "\f009"; +} +.icon-th:before { + content: "\f00a"; +} +.icon-th-list:before { + content: "\f00b"; +} +.icon-ok:before { + content: "\f00c"; +} +.icon-remove:before { + content: "\f00d"; +} +.icon-zoom-in:before { + content: "\f00e"; +} +.icon-zoom-out:before { + content: "\f010"; +} +.icon-power-off:before, +.icon-off:before { + content: "\f011"; +} +.icon-signal:before { + content: "\f012"; +} +.icon-gear:before, +.icon-cog:before { + content: "\f013"; +} +.icon-trash:before { + content: "\f014"; +} +.icon-home:before { + content: "\f015"; +} +.icon-file-alt:before { + content: "\f016"; +} +.icon-time:before { + content: "\f017"; +} +.icon-road:before { + content: "\f018"; +} +.icon-download-alt:before { + content: "\f019"; +} +.icon-download:before { + content: "\f01a"; +} +.icon-upload:before { + content: "\f01b"; +} +.icon-inbox:before { + content: "\f01c"; +} +.icon-play-circle:before { + content: "\f01d"; +} +.icon-rotate-right:before, +.icon-repeat:before { + content: "\f01e"; +} +.icon-refresh:before { + content: "\f021"; +} +.icon-list-alt:before { + content: "\f022"; +} +.icon-lock:before { + content: "\f023"; +} +.icon-flag:before { + content: "\f024"; +} +.icon-headphones:before { + content: "\f025"; +} +.icon-volume-off:before { + content: "\f026"; +} +.icon-volume-down:before { + content: "\f027"; +} +.icon-volume-up:before { + content: "\f028"; +} +.icon-qrcode:before { + content: "\f029"; +} +.icon-barcode:before { + content: "\f02a"; +} +.icon-tag:before { + content: "\f02b"; +} +.icon-tags:before { + content: "\f02c"; +} +.icon-book:before { + content: "\f02d"; +} +.icon-bookmark:before { + content: "\f02e"; +} +.icon-print:before { + content: "\f02f"; +} +.icon-camera:before { + content: "\f030"; +} +.icon-font:before { + content: "\f031"; +} +.icon-bold:before { + content: "\f032"; +} +.icon-italic:before { + content: "\f033"; +} +.icon-text-height:before { + content: "\f034"; +} +.icon-text-width:before { + content: "\f035"; +} +.icon-align-left:before { + content: "\f036"; +} +.icon-align-center:before { + content: "\f037"; +} +.icon-align-right:before { + content: "\f038"; +} +.icon-align-justify:before { + content: "\f039"; +} +.icon-list:before { + content: "\f03a"; +} +.icon-indent-left:before { + content: "\f03b"; +} +.icon-indent-right:before { + content: "\f03c"; +} +.icon-facetime-video:before { + content: "\f03d"; +} +.icon-picture:before { + content: "\f03e"; +} +.icon-pencil:before { + content: "\f040"; +} +.icon-map-marker:before { + content: "\f041"; +} +.icon-adjust:before { + content: "\f042"; +} +.icon-tint:before { + content: "\f043"; +} +.icon-edit:before { + content: "\f044"; +} +.icon-share:before { + content: "\f045"; +} +.icon-check:before { + content: "\f046"; +} +.icon-move:before { + content: "\f047"; +} +.icon-step-backward:before { + content: "\f048"; +} +.icon-fast-backward:before { + content: "\f049"; +} +.icon-backward:before { + content: "\f04a"; +} +.icon-play:before { + content: "\f04b"; +} +.icon-pause:before { + content: "\f04c"; +} +.icon-stop:before { + content: "\f04d"; +} +.icon-forward:before { + content: "\f04e"; +} +.icon-fast-forward:before { + content: "\f050"; +} +.icon-step-forward:before { + content: "\f051"; +} +.icon-eject:before { + content: "\f052"; +} +.icon-chevron-left:before { + content: "\f053"; +} +.icon-chevron-right:before { + content: "\f054"; +} +.icon-plus-sign:before { + content: "\f055"; +} +.icon-minus-sign:before { + content: "\f056"; +} +.icon-remove-sign:before { + content: "\f057"; +} +.icon-ok-sign:before { + content: "\f058"; +} +.icon-question-sign:before { + content: "\f059"; +} +.icon-info-sign:before { + content: "\f05a"; +} +.icon-screenshot:before { + content: "\f05b"; +} +.icon-remove-circle:before { + content: "\f05c"; +} +.icon-ok-circle:before { + content: "\f05d"; +} +.icon-ban-circle:before { + content: "\f05e"; +} +.icon-arrow-left:before { + content: "\f060"; +} +.icon-arrow-right:before { + content: "\f061"; +} +.icon-arrow-up:before { + content: "\f062"; +} +.icon-arrow-down:before { + content: "\f063"; +} +.icon-mail-forward:before, +.icon-share-alt:before { + content: "\f064"; +} +.icon-resize-full:before { + content: "\f065"; +} +.icon-resize-small:before { + content: "\f066"; +} +.icon-plus:before { + content: "\f067"; +} +.icon-minus:before { + content: "\f068"; +} +.icon-asterisk:before { + content: "\f069"; +} +.icon-exclamation-sign:before { + content: "\f06a"; +} +.icon-gift:before { + content: "\f06b"; +} +.icon-leaf:before { + content: "\f06c"; +} +.icon-fire:before { + content: "\f06d"; +} +.icon-eye-open:before { + content: "\f06e"; +} +.icon-eye-close:before { + content: "\f070"; +} +.icon-warning-sign:before { + content: "\f071"; +} +.icon-plane:before { + content: "\f072"; +} +.icon-calendar:before { + content: "\f073"; +} +.icon-random:before { + content: "\f074"; +} +.icon-comment:before { + content: "\f075"; +} +.icon-magnet:before { + content: "\f076"; +} +.icon-chevron-up:before { + content: "\f077"; +} +.icon-chevron-down:before { + content: "\f078"; +} +.icon-retweet:before { + content: "\f079"; +} +.icon-shopping-cart:before { + content: "\f07a"; +} +.icon-folder-close:before { + content: "\f07b"; +} +.icon-folder-open:before { + content: "\f07c"; +} +.icon-resize-vertical:before { + content: "\f07d"; +} +.icon-resize-horizontal:before { + content: "\f07e"; +} +.icon-bar-chart:before { + content: "\f080"; +} +.icon-twitter-sign:before { + content: "\f081"; +} +.icon-facebook-sign:before { + content: "\f082"; +} +.icon-camera-retro:before { + content: "\f083"; +} +.icon-key:before { + content: "\f084"; +} +.icon-gears:before, +.icon-cogs:before { + content: "\f085"; +} +.icon-comments:before { + content: "\f086"; +} +.icon-thumbs-up-alt:before { + content: "\f087"; +} +.icon-thumbs-down-alt:before { + content: "\f088"; +} +.icon-star-half:before { + content: "\f089"; +} +.icon-heart-empty:before { + content: "\f08a"; +} +.icon-signout:before { + content: "\f08b"; +} +.icon-linkedin-sign:before { + content: "\f08c"; +} +.icon-pushpin:before { + content: "\f08d"; +} +.icon-external-link:before { + content: "\f08e"; +} +.icon-signin:before { + content: "\f090"; +} +.icon-trophy:before { + content: "\f091"; +} +.icon-github-sign:before { + content: "\f092"; +} +.icon-upload-alt:before { + content: "\f093"; +} +.icon-lemon:before { + content: "\f094"; +} +.icon-phone:before { + content: "\f095"; +} +.icon-unchecked:before, +.icon-check-empty:before { + content: "\f096"; +} +.icon-bookmark-empty:before { + content: "\f097"; +} +.icon-phone-sign:before { + content: "\f098"; +} +.icon-twitter:before { + content: "\f099"; +} +.icon-facebook:before { + content: "\f09a"; +} +.icon-github:before { + content: "\f09b"; +} +.icon-unlock:before { + content: "\f09c"; +} +.icon-credit-card:before { + content: "\f09d"; +} +.icon-rss:before { + content: "\f09e"; +} +.icon-hdd:before { + content: "\f0a0"; +} +.icon-bullhorn:before { + content: "\f0a1"; +} +.icon-bell:before { + content: "\f0a2"; +} +.icon-certificate:before { + content: "\f0a3"; +} +.icon-hand-right:before { + content: "\f0a4"; +} +.icon-hand-left:before { + content: "\f0a5"; +} +.icon-hand-up:before { + content: "\f0a6"; +} +.icon-hand-down:before { + content: "\f0a7"; +} +.icon-circle-arrow-left:before { + content: "\f0a8"; +} +.icon-circle-arrow-right:before { + content: "\f0a9"; +} +.icon-circle-arrow-up:before { + content: "\f0aa"; +} +.icon-circle-arrow-down:before { + content: "\f0ab"; +} +.icon-globe:before { + content: "\f0ac"; +} +.icon-wrench:before { + content: "\f0ad"; +} +.icon-tasks:before { + content: "\f0ae"; +} +.icon-filter:before { + content: "\f0b0"; +} +.icon-briefcase:before { + content: "\f0b1"; +} +.icon-fullscreen:before { + content: "\f0b2"; +} +.icon-group:before { + content: "\f0c0"; +} +.icon-link:before { + content: "\f0c1"; +} +.icon-cloud:before { + content: "\f0c2"; +} +.icon-beaker:before { + content: "\f0c3"; +} +.icon-cut:before { + content: "\f0c4"; +} +.icon-copy:before { + content: "\f0c5"; +} +.icon-paperclip:before, +.icon-paper-clip:before { + content: "\f0c6"; +} +.icon-save:before { + content: "\f0c7"; +} +.icon-sign-blank:before { + content: "\f0c8"; +} +.icon-reorder:before { + content: "\f0c9"; +} +.icon-list-ul:before { + content: "\f0ca"; +} +.icon-list-ol:before { + content: "\f0cb"; +} +.icon-strikethrough:before { + content: "\f0cc"; +} +.icon-underline:before { + content: "\f0cd"; +} +.icon-table:before { + content: "\f0ce"; +} +.icon-magic:before { + content: "\f0d0"; +} +.icon-truck:before { + content: "\f0d1"; +} +.icon-pinterest:before { + content: "\f0d2"; +} +.icon-pinterest-sign:before { + content: "\f0d3"; +} +.icon-google-plus-sign:before { + content: "\f0d4"; +} +.icon-google-plus:before { + content: "\f0d5"; +} +.icon-money:before { + content: "\f0d6"; +} +.icon-caret-down:before { + content: "\f0d7"; +} +.icon-caret-up:before { + content: "\f0d8"; +} +.icon-caret-left:before { + content: "\f0d9"; +} +.icon-caret-right:before { + content: "\f0da"; +} +.icon-columns:before { + content: "\f0db"; +} +.icon-sort:before { + content: "\f0dc"; +} +.icon-sort-down:before { + content: "\f0dd"; +} +.icon-sort-up:before { + content: "\f0de"; +} +.icon-envelope:before { + content: "\f0e0"; +} +.icon-linkedin:before { + content: "\f0e1"; +} +.icon-rotate-left:before, +.icon-undo:before { + content: "\f0e2"; +} +.icon-legal:before { + content: "\f0e3"; +} +.icon-dashboard:before { + content: "\f0e4"; +} +.icon-comment-alt:before { + content: "\f0e5"; +} +.icon-comments-alt:before { + content: "\f0e6"; +} +.icon-bolt:before { + content: "\f0e7"; +} +.icon-sitemap:before { + content: "\f0e8"; +} +.icon-umbrella:before { + content: "\f0e9"; +} +.icon-paste:before { + content: "\f0ea"; +} +.icon-lightbulb:before { + content: "\f0eb"; +} +.icon-exchange:before { + content: "\f0ec"; +} +.icon-cloud-download:before { + content: "\f0ed"; +} +.icon-cloud-upload:before { + content: "\f0ee"; +} +.icon-user-md:before { + content: "\f0f0"; +} +.icon-stethoscope:before { + content: "\f0f1"; +} +.icon-suitcase:before { + content: "\f0f2"; +} +.icon-bell-alt:before { + content: "\f0f3"; +} +.icon-coffee:before { + content: "\f0f4"; +} +.icon-food:before { + content: "\f0f5"; +} +.icon-file-text-alt:before { + content: "\f0f6"; +} +.icon-building:before { + content: "\f0f7"; +} +.icon-hospital:before { + content: "\f0f8"; +} +.icon-ambulance:before { + content: "\f0f9"; +} +.icon-medkit:before { + content: "\f0fa"; +} +.icon-fighter-jet:before { + content: "\f0fb"; +} +.icon-beer:before { + content: "\f0fc"; +} +.icon-h-sign:before { + content: "\f0fd"; +} +.icon-plus-sign-alt:before { + content: "\f0fe"; +} +.icon-double-angle-left:before { + content: "\f100"; +} +.icon-double-angle-right:before { + content: "\f101"; +} +.icon-double-angle-up:before { + content: "\f102"; +} +.icon-double-angle-down:before { + content: "\f103"; +} +.icon-angle-left:before { + content: "\f104"; +} +.icon-angle-right:before { + content: "\f105"; +} +.icon-angle-up:before { + content: "\f106"; +} +.icon-angle-down:before { + content: "\f107"; +} +.icon-desktop:before { + content: "\f108"; +} +.icon-laptop:before { + content: "\f109"; +} +.icon-tablet:before { + content: "\f10a"; +} +.icon-mobile-phone:before { + content: "\f10b"; +} +.icon-circle-blank:before { + content: "\f10c"; +} +.icon-quote-left:before { + content: "\f10d"; +} +.icon-quote-right:before { + content: "\f10e"; +} +.icon-spinner:before { + content: "\f110"; +} +.icon-circle:before { + content: "\f111"; +} +.icon-mail-reply:before, +.icon-reply:before { + content: "\f112"; +} +.icon-github-alt:before { + content: "\f113"; +} +.icon-folder-close-alt:before { + content: "\f114"; +} +.icon-folder-open-alt:before { + content: "\f115"; +} +.icon-expand-alt:before { + content: "\f116"; +} +.icon-collapse-alt:before { + content: "\f117"; +} +.icon-smile:before { + content: "\f118"; +} +.icon-frown:before { + content: "\f119"; +} +.icon-meh:before { + content: "\f11a"; +} +.icon-gamepad:before { + content: "\f11b"; +} +.icon-keyboard:before { + content: "\f11c"; +} +.icon-flag-alt:before { + content: "\f11d"; +} +.icon-flag-checkered:before { + content: "\f11e"; +} +.icon-terminal:before { + content: "\f120"; +} +.icon-code:before { + content: "\f121"; +} +.icon-reply-all:before { + content: "\f122"; +} +.icon-mail-reply-all:before { + content: "\f122"; +} +.icon-star-half-full:before, +.icon-star-half-empty:before { + content: "\f123"; +} +.icon-location-arrow:before { + content: "\f124"; +} +.icon-crop:before { + content: "\f125"; +} +.icon-code-fork:before { + content: "\f126"; +} +.icon-unlink:before { + content: "\f127"; +} +.icon-question:before { + content: "\f128"; +} +.icon-info:before { + content: "\f129"; +} +.icon-exclamation:before { + content: "\f12a"; +} +.icon-superscript:before { + content: "\f12b"; +} +.icon-subscript:before { + content: "\f12c"; +} +.icon-eraser:before { + content: "\f12d"; +} +.icon-puzzle-piece:before { + content: "\f12e"; +} +.icon-microphone:before { + content: "\f130"; +} +.icon-microphone-off:before { + content: "\f131"; +} +.icon-shield:before { + content: "\f132"; +} +.icon-calendar-empty:before { + content: "\f133"; +} +.icon-fire-extinguisher:before { + content: "\f134"; +} +.icon-rocket:before { + content: "\f135"; +} +.icon-maxcdn:before { + content: "\f136"; +} +.icon-chevron-sign-left:before { + content: "\f137"; +} +.icon-chevron-sign-right:before { + content: "\f138"; +} +.icon-chevron-sign-up:before { + content: "\f139"; +} +.icon-chevron-sign-down:before { + content: "\f13a"; +} +.icon-html5:before { + content: "\f13b"; +} +.icon-css3:before { + content: "\f13c"; +} +.icon-anchor:before { + content: "\f13d"; +} +.icon-unlock-alt:before { + content: "\f13e"; +} +.icon-bullseye:before { + content: "\f140"; +} +.icon-ellipsis-horizontal:before { + content: "\f141"; +} +.icon-ellipsis-vertical:before { + content: "\f142"; +} +.icon-rss-sign:before { + content: "\f143"; +} +.icon-play-sign:before { + content: "\f144"; +} +.icon-ticket:before { + content: "\f145"; +} +.icon-minus-sign-alt:before { + content: "\f146"; +} +.icon-check-minus:before { + content: "\f147"; +} +.icon-level-up:before { + content: "\f148"; +} +.icon-level-down:before { + content: "\f149"; +} +.icon-check-sign:before { + content: "\f14a"; +} +.icon-edit-sign:before { + content: "\f14b"; +} +.icon-external-link-sign:before { + content: "\f14c"; +} +.icon-share-sign:before { + content: "\f14d"; +} +.icon-compass:before { + content: "\f14e"; +} +.icon-collapse:before { + content: "\f150"; +} +.icon-collapse-top:before { + content: "\f151"; +} +.icon-expand:before { + content: "\f152"; +} +.icon-euro:before, +.icon-eur:before { + content: "\f153"; +} +.icon-gbp:before { + content: "\f154"; +} +.icon-dollar:before, +.icon-usd:before { + content: "\f155"; +} +.icon-rupee:before, +.icon-inr:before { + content: "\f156"; +} +.icon-yen:before, +.icon-jpy:before { + content: "\f157"; +} +.icon-renminbi:before, +.icon-cny:before { + content: "\f158"; +} +.icon-won:before, +.icon-krw:before { + content: "\f159"; +} +.icon-bitcoin:before, +.icon-btc:before { + content: "\f15a"; +} +.icon-file:before { + content: "\f15b"; +} +.icon-file-text:before { + content: "\f15c"; +} +.icon-sort-by-alphabet:before { + content: "\f15d"; +} +.icon-sort-by-alphabet-alt:before { + content: "\f15e"; +} +.icon-sort-by-attributes:before { + content: "\f160"; +} +.icon-sort-by-attributes-alt:before { + content: "\f161"; +} +.icon-sort-by-order:before { + content: "\f162"; +} +.icon-sort-by-order-alt:before { + content: "\f163"; +} +.icon-thumbs-up:before { + content: "\f164"; +} +.icon-thumbs-down:before { + content: "\f165"; +} +.icon-youtube-sign:before { + content: "\f166"; +} +.icon-youtube:before { + content: "\f167"; +} +.icon-xing:before { + content: "\f168"; +} +.icon-xing-sign:before { + content: "\f169"; +} +.icon-youtube-play:before { + content: "\f16a"; +} +.icon-dropbox:before { + content: "\f16b"; +} +.icon-stackexchange:before { + content: "\f16c"; +} +.icon-instagram:before { + content: "\f16d"; +} +.icon-flickr:before { + content: "\f16e"; +} +.icon-adn:before { + content: "\f170"; +} +.icon-bitbucket:before { + content: "\f171"; +} +.icon-bitbucket-sign:before { + content: "\f172"; +} +.icon-tumblr:before { + content: "\f173"; +} +.icon-tumblr-sign:before { + content: "\f174"; +} +.icon-long-arrow-down:before { + content: "\f175"; +} +.icon-long-arrow-up:before { + content: "\f176"; +} +.icon-long-arrow-left:before { + content: "\f177"; +} +.icon-long-arrow-right:before { + content: "\f178"; +} +.icon-apple:before { + content: "\f179"; +} +.icon-windows:before { + content: "\f17a"; +} +.icon-android:before { + content: "\f17b"; +} +.icon-linux:before { + content: "\f17c"; +} +.icon-dribbble:before { + content: "\f17d"; +} +.icon-skype:before { + content: "\f17e"; +} +.icon-foursquare:before { + content: "\f180"; +} +.icon-trello:before { + content: "\f181"; +} +.icon-female:before { + content: "\f182"; +} +.icon-male:before { + content: "\f183"; +} +.icon-gittip:before { + content: "\f184"; +} +.icon-sun:before { + content: "\f185"; +} +.icon-moon:before { + content: "\f186"; +} +.icon-archive:before { + content: "\f187"; +} +.icon-bug:before { + content: "\f188"; +} +.icon-vk:before { + content: "\f189"; +} +.icon-weibo:before { + content: "\f18a"; +} +.icon-renren:before { + content: "\f18b"; +} diff --git a/themes/default-bootstrap/css/global.css b/themes/default-bootstrap/css/global.css new file mode 100644 index 000000000..9c079d41b --- /dev/null +++ b/themes/default-bootstrap/css/global.css @@ -0,0 +1,2673 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* ################################################################################################## + PRESTASHOP SCSS +################################################################################################## */ +/* **************************************************************************** + reset +**************************************************************************** */ +html { + min-height: 100%; +} + +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote, th, td { + margin: 0; + padding: 0; +} + +del, ins { + text-decoration: none; +} + +caption, th { + text-align: left; +} + +q:before, q:after { + content: ''; +} + +abbr, acronym { + border: 0; + font-variant: normal; +} + +sup { + vertical-align: baseline; +} + +sub { + vertical-align: baseline; +} + +legend { + color: #000; +} + +ul, ol { + list-style-type: none; +} + +a { + cursor: pointer; +} +a:hover { + text-decoration: none; +} + +@media only screen and (min-width: 1200px) { + .container { + padding-left: 0; + padding-right: 0; + } +} +body { + min-width: 320px; + height: 100%; + background: #333333; + line-height: 18px; + font-size: 13px; +} + +textarea { + resize: none; +} + +/* ************************************************************************************************ + struture +************************************************************************************************ */ +#header { + z-index: 10; +} + +.columns-container { + background: #fff; +} + +#columns { + z-index: 1; + padding-bottom: 50px; +} + +/* title *************************************************************************************** */ +#center_column .page_product_box h3 { + color: #555454; + text-transform: uppercase; + font-family: "Open Sans", sans-serif; + font-weight: 600; + font-size: 18px; + line-height: 20px; + padding: 14px 20px 17px; + margin: 0 0 20px; + position: relative; + border: 1px solid #d6d4d4; + border-bottom: none; + background: #fbfbfb; +} + +/* text **************************************************************************************** */ +p.info-title { + font-weight: bold; + color: #333; + margin-bottom: 25px; +} + +p.info-account { + margin: -4px 0 24px 0; +} + +.dark { + color: #333; +} + +.main-page-indent { + margin-bottom: 30px; +} + +.alert { + font-weight: bold; +} +.alert ul, .alert ol { + padding-left: 15px; +} +.alert ul li, .alert ol li { + list-style-type: decimal; + font-weight: normal; +} + +.required sup { + color: #f13340; + font-size: 13px; + font-weight: bold; + top: 0; +} + +.unvisible { + display: none; +} + +label { + color: #333; +} + +.close { + opacity: 1; +} +.close:hover { + opacity: 1; +} + +/*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; + 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')*/ +} + +.button.button-small { + font: bold 13px/17px Arial, Helvetica, sans-serif; + color: #fff; + background: #6f6f6f; + border: 1px solid; + border-color: #666666 #5f5f5f #292929 #5f5f5f; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + -ms-border-radius: 0px; + -o-border-radius: 0px; + border-radius: 0px; + padding: 0; + text-shadow: 1px 1px rgba(0, 0, 0, 0); +} +.button.button-small span { + display: block; + padding: 3px 8px 3px 8px; + border: 1px solid; + border-color: #8b8a8a; +} +.button.button-small i { + vertical-align: 0px; + margin-right: 5px; +} +.button.button-small i.right { + margin-right: 0; + margin-left: 5px; +} +.button.button-small:hover { + background: #575757; + border-color: #303030 #303030 #666666 #444444; +} + +.button.button-medium { + font-size: 17px; + line-height: 21px; + color: #fff; + padding: 0; + font-weight: bold; + background: #43b754; + background: -moz-linear-gradient(top, #43b754 0%, #41b757 2%, #41b854 4%, #43b756 6%, #41b354 38%, #44b355 40%, #45af55 66%, #41ae53 74%, #42ac52 91%, #41ae55 94%, #43ab54 96%, #42ac52 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #43b754), color-stop(2%, #41b757), color-stop(4%, #41b854), color-stop(6%, #43b756), color-stop(38%, #41b354), color-stop(40%, #44b355), color-stop(66%, #45af55), color-stop(74%, #41ae53), color-stop(91%, #42ac52), color-stop(94%, #41ae55), color-stop(96%, #43ab54), color-stop(100%, #42ac52)); + background: -webkit-linear-gradient(top, #43b754 0%, #41b757 2%, #41b854 4%, #43b756 6%, #41b354 38%, #44b355 40%, #45af55 66%, #41ae53 74%, #42ac52 91%, #41ae55 94%, #43ab54 96%, #42ac52 100%); + background: -o-linear-gradient(top, #43b754 0%, #41b757 2%, #41b854 4%, #43b756 6%, #41b354 38%, #44b355 40%, #45af55 66%, #41ae53 74%, #42ac52 91%, #41ae55 94%, #43ab54 96%, #42ac52 100%); + background: -ms-linear-gradient(top, #43b754 0%, #41b757 2%, #41b854 4%, #43b756 6%, #41b354 38%, #44b355 40%, #45af55 66%, #41ae53 74%, #42ac52 91%, #41ae55 94%, #43ab54 96%, #42ac52 100%); + background: linear-gradient(to bottom, #43b754 0%, #41b757 2%, #41b854 4%, #43b756 6%, #41b354 38%, #44b355 40%, #45af55 66%, #41ae53 74%, #42ac52 91%, #41ae55 94%, #43ab54 96%, #42ac52 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#43b754', endColorstr='#42ac52',GradientType=0 ); + border: 1px solid; + border-color: #399a49 #247f32 #1a6d27 #399a49; + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; +} +.button.button-medium span { + display: block; + padding: 10px 10px 10px 14px; + border: 1px solid; + border-color: #74d578; +} +.button.button-medium i.left { + font-size: 24px; + vertical-align: -2px; + margin: -4px 10px 0 0; + display: inline-block; +} +.button.button-medium i.right { + margin-right: 0; + margin-left: 9px; +} +.button.button-medium:hover { + background: #3aa04c; + background: -moz-linear-gradient(top, #3aa04c 0%, #3aa04a 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3aa04c), color-stop(100%, #3aa04a)); + background: -webkit-linear-gradient(top, #3aa04c 0%, #3aa04a 100%); + background: -o-linear-gradient(top, #3aa04c 0%, #3aa04a 100%); + background: -ms-linear-gradient(top, #3aa04c 0%, #3aa04a 100%); + background: linear-gradient(to bottom, #3aa04c 0%, #3aa04a 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3aa04c', endColorstr='#3aa04a',GradientType=0 ); + border-color: #196f28 #399a49 #399a49 #258033; +} + +.button.button-medium.exclusive { + border-color: #db8600 #d98305 #c86d26 #d98305; + background: #fdaa02; + background: -moz-linear-gradient(top, #fdaa02 0%, #fe9702 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdaa02), color-stop(100%, #fe9702)); + background: -webkit-linear-gradient(top, #fdaa02 0%, #fe9702 100%); + background: -o-linear-gradient(top, #fdaa02 0%, #fe9702 100%); + background: -ms-linear-gradient(top, #fdaa02 0%, #fe9702 100%); + background: linear-gradient(to bottom, #fdaa02 0%, #fe9702 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdaa02', endColorstr='#fe9702',GradientType=0 ); +} +.button.button-medium.exclusive span { + border-color: #fec133 #febc33 #feb233 #febc33; +} +.button.button-medium.exclusive:hover { + filter: none; + background: #f89609; + border-color: #a6550c #ba6708 #db8600 #ba6708; +} +.button.button-medium.exclusive:hover span { + border-color: #fec133; +} + +.link-button { + font-weight: bold; +} +.link-button i { + margin-right: 5px; +} +.link-button i.large { + font-size: 26px; + line-height: 26px; + vertical-align: -3px; + color: #c0c0c0; +} + +.btn.button-plus, .btn.button-minus { + font-size: 14px; + line-height: 14px; + color: #c0c0c0; + text-shadow: 1px -1px rgba(0, 0, 0, 0); + padding: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; + border: 1px solid; + border-color: #dedcdc #c1bfbf #b5b4b4 #dad8d8; +} +.btn.button-plus span, .btn.button-minus span { + display: block; + border: 1px solid #fff; + vertical-align: middle; + width: 25px; + height: 25px; + text-align: center; + vertical-align: middle; + padding: 4px 0 0 0; + background: #1e5799; + background: white; + background: -moz-linear-gradient(top, white 0%, #fbfbfb 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #fbfbfb)); + background: -webkit-linear-gradient(top, white 0%, #fbfbfb 100%); + background: -o-linear-gradient(top, white 0%, #fbfbfb 100%); + background: -ms-linear-gradient(top, white 0%, #fbfbfb 100%); + background: linear-gradient(to bottom, #ffffff 0%, #fbfbfb 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#fbfbfb',GradientType=0 ); +} +.btn.button-plus:hover, .btn.button-minus:hover { + color: #333333; +} +.btn.button-plus:hover span, .btn.button-minus:hover span { + filter: none; + background: #f6f6f6; +} + +.button.exclusive-medium { + font-size: 17px; + padding: 0; + line-height: 21px; + color: #333333; + font-weight: bold; + border: 1px solid; + border-color: #cacaca #b7b7b7 #9a9a9a #b7b7b7; + text-shadow: 1px 1px white; +} +.button.exclusive-medium span { + border: 1px solid; + border-color: #fff; + display: block; + padding: 9px 10px 11px 10px; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #ededed)); + background: -webkit-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -o-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -ms-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: linear-gradient(to bottom, #f7f7f7 0%, #ededed 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#ededed',GradientType=0 ); +} +.button.exclusive-medium:hover { + border-color: #9e9e9e #c2c2c2 #c8c8c8 #c2c2c2; +} +.button.exclusive-medium:hover span { + background: #e7e7e7; + background: -moz-linear-gradient(top, #e7e7e7 0%, #e7e7e7 0%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e7e7e7), color-stop(0%, #e7e7e7)); + background: -webkit-linear-gradient(top, #e7e7e7 0%, #e7e7e7 0%); + background: -o-linear-gradient(top, #e7e7e7 0%, #e7e7e7 0%); + background: -ms-linear-gradient(top, #e7e7e7 0%, #e7e7e7 0%); + background: linear-gradient(to bottom, #e7e7e7 0%, #e7e7e7 0%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#e7e7e7',GradientType=0 ); +} + +.button.ajax_add_to_cart_button { + font: 700 17px/21px Arial, Helvetica, sans-serif; + color: #fff; + text-shadow: 1px 1px rgba(0, 0, 0, 0); + padding: 0; + border: 1px solid; + border-color: #0079b6 #006fa8 #012740 #006fa8; +} +.button.ajax_add_to_cart_button span { + border: 1px solid; + border-color: #06b2e6; + padding: 10px 14px; + display: block; + background: #009ad0; + background: -moz-linear-gradient(top, #009ad0 0%, #007ab7 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #009ad0), color-stop(100%, #007ab7)); + background: -webkit-linear-gradient(top, #009ad0 0%, #007ab7 100%); + background: -o-linear-gradient(top, #009ad0 0%, #007ab7 100%); + background: -ms-linear-gradient(top, #009ad0 0%, #007ab7 100%); + background: linear-gradient(to bottom, #009ad0 0%, #007ab7 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#009ad0', endColorstr='#007ab7',GradientType=0 ); +} +.button.ajax_add_to_cart_button:hover { + border-color: #01314e #004b74 #0079b6 #004b74; +} +.button.ajax_add_to_cart_button:hover span { + filter: none; + background: #0084bf; +} + +.button.lnk_view { + font: 700 17px/21px Arial, Helvetica, sans-serif; + color: #333333; + text-shadow: 1px 1px white; + padding: 0; + border: 1px solid; + border-color: #cacaca #b7b7b7 #9a9a9a #b7b7b7; +} +.button.lnk_view span { + border: 1px solid; + border-color: #fff; + padding: 10px 14px; + display: block; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #ededed)); + background: -webkit-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -o-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -ms-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: linear-gradient(to bottom, #f7f7f7 0%, #ededed 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#ededed',GradientType=0 ); +} +.button.lnk_view:hover { + border-color: #9e9e9e #9e9e9e #c8c8c8 #9e9e9e; +} +.button.lnk_view:hover span { + filter: none; + background: #e7e7e7; +} +.button.lnk_view i.left { + padding-right: 8px; + color: #777777; +} + +/* form ******************************************************************************************/ +.form-control { + padding: 3px 5px; + height: 27px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.form-control.grey { + background: #fbfbfb; +} + +/* 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: #999999; +} + +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; +} + +.table { + margin-bottom: 30px; +} +.table > thead > tr > th { + background: #fbfbfb; + border-bottom-width: 1px; + color: #333; +} +.table td a.color-myaccount { + color: #777777; + text-decoration: underline; +} +.table td a.color-myaccount:hover { + text-decoration: none; +} +.table tfoot tr { + background: #fbfbfb; +} + +/******************** product elements ****************/ +.product-name { + font-size: 17px; + line-height: 23px; + color: #3a3939; + margin-bottom: 0; +} +.product-name a { + font-size: 17px; + line-height: 23px; + color: #3a3939; +} +.product-name a:hover { + color: #f13340; +} + +.price { + font-size: 13px; + color: #777777; +} + +.price.product-price { + font: 600 21px/26px "Open Sans", sans-serif; + color: #333333; +} + +.old-price { + color: #6f6f6f; + text-decoration: line-through; +} + +.old-price.product-price { + font-size: 17px; +} + +.special-price { + color: #f13340; +} + +.price-percent-reduction { + background: #f13340; + border: 1px solid #d02a2c; + font: 600 21px/26px "Open Sans", sans-serif; + color: #fff; + padding: 0 5px 0 3px; + display: inline-block; +} + +/*************************************************************************************************** + Labels New/Sale +***************************************************************************************************/ +.new-box, .sale-box { + position: absolute; + top: -4px; + overflow: hidden; + height: 74px; + width: 74px; + text-align: center; + z-index: 0; +} + +.new-box { + left: -4px; +} + +.sale-box { + right: -5px; +} + +.new { + font: 700 15px/18px Arial, Helvetica, sans-serif; + color: #fff; + background: #6ad4ff; + text-transform: uppercase; + padding: 9px 0 7px; + text-shadow: 1px 1px rgba(0, 0, 0, 0); + width: 113px; + text-align: center; + display: block; + -webkit-transform: rotate(-45deg); + -moz-transform: rotate(-45deg); + -ms-transform: rotate(-45deg); + -o-transform: rotate(-45deg); + transform: rotate(-45deg); + position: absolute; + left: -33px; + top: 6px; + z-index: 1; +} +.new:before { + position: absolute; + bottom: -3px; + right: 5px; + width: 0px; + height: 0px; + border-style: solid; + border-width: 4px 4px 0px 4px; + border-color: #21a3d8 transparent transparent transparent; + content: "."; + text-indent: -5000px; + -webkit-transform: rotate(225deg); + -moz-transform: rotate(225deg); + -ms-transform: rotate(225deg); + -o-transform: rotate(225deg); + transform: rotate(225deg); +} +.new:after { + position: absolute; + bottom: -3px; + left: 4px; + width: 0px; + height: 0px; + border-style: solid; + border-width: 4px 4px 0px 4px; + border-color: #21a3d8 transparent transparent transparent; + content: "."; + text-indent: -5000px; + -webkit-transform: rotate(145deg); + -moz-transform: rotate(145deg); + -ms-transform: rotate(145deg); + -o-transform: rotate(145deg); + transform: rotate(145deg); +} + +.sale { + font: 700 15px/18px Arial, Helvetica, sans-serif; + color: #fff; + background: #f13340; + text-transform: uppercase; + padding: 9px 0 7px; + text-shadow: 1px 1px rgba(0, 0, 0, 0); + width: 113px; + text-align: center; + display: block; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + position: absolute; + right: -33px; + top: 6px; + z-index: 1; +} +.sale:before { + position: absolute; + bottom: -3px; + right: 4px; + width: 0px; + height: 0px; + border-style: solid; + border-width: 4px 4px 0px 4px; + border-color: #ad2b34 transparent transparent transparent; + content: "."; + text-indent: -5000px; + -webkit-transform: rotate(225deg); + -moz-transform: rotate(225deg); + -ms-transform: rotate(225deg); + -o-transform: rotate(225deg); + transform: rotate(225deg); +} +.sale:after { + position: absolute; + bottom: -3px; + left: 5px; + width: 0px; + height: 0px; + border-style: solid; + border-width: 4px 4px 0px 4px; + border-color: #ad2b34 transparent transparent transparent; + content: "."; + text-indent: -5000px; + -webkit-transform: rotate(136deg); + -moz-transform: rotate(136deg); + -ms-transform: rotate(136deg); + -o-transform: rotate(136deg); + transform: rotate(136deg); +} + +/************************************* BOXES *****************************************************/ +.box { + background: #fbfbfb; + border: 1px solid #d6d4d4; + padding: 14px 18px 13px; + margin: 0 0 30px 0; + line-height: 23px; +} +.box p { + margin-bottom: 0; +} +.box.box-small { + padding: 9px 10px 9px 20px; +} +.box.box-small .dark { + margin-top: 10px; + margin-bottom: 0; + float: left; +} + +/* BLOCK .block ******************************************************************************** */ +/************************************************************************************************** + Homepage Tabs +***************************************************************************************************/ +#home-page-tabs { + border: none; + margin: 0 0 0 -18px; + padding: 10px 0; +} +#home-page-tabs > li { + border-left: 1px solid #d6d4d4; + margin: 0 0px 0 9px; + padding: 0 0px 0 9px; +} +#home-page-tabs > li a { + font: 600 21px/24px "Open Sans", sans-serif; + color: #555454; + text-transform: uppercase; + padding: 1px 10px; + border: none; + outline: none; + margin: 0; +} +#home-page-tabs > li:first-child { + border: none; +} +#home-page-tabs > li.active a, #home-page-tabs > li a:hover { + background: #333333; + color: #fff; + margin: -10px 0; + padding: 10px; +} + +#index .tab-content { + margin-top: 35px; +} + +.block { + margin-bottom: 30px; +} + +.block .title_block, .block h4 { + font: 600 18px/22px "Open Sans", sans-serif; + color: #555454; + background: #f6f6f6; + border-top: 5px solid #333; + text-transform: uppercase; + padding: 14px 0 17px 20px; + margin-bottom: 20px; +} +.block .title_block a, .block h4 a { + color: #555454; +} +.block .title_block a:hover, .block h4 a:hover { + color: #333; +} +.block#contact_block { + background: #333; +} +.block#contact_block .title_block { + border-color: #e4e3e3; + background: #333; + color: #fff; + margin-bottom: 0; + padding-bottom: 9px; +} +.block .list-block { + margin-top: -8px; +} +.block .list-block li { + padding: 5px 0 6px 20px; + border-top: 1px solid #d6d4d4; +} +.block .list-block li a i { + display: none; +} +.block .list-block li a:before { + content: ""; + display: inline; + font-family: 'FontAwesome'; + color: #333; + padding-right: 8px; +} +.block .list-block li a:hover { + color: #333333; + font-weight: bold; +} +.block .list-block li:first-child { + border-top: none; +} +.block .list-block .form-group { + padding-top: 20px; + border-top: 1px solid #d6d4d4; +} +.block .list-block .btn { + margin-top: 12px; +} +.block .products-block li { + padding: 0 0 20px 0; + margin-bottom: 20px; + border-bottom: 1px solid #d6d4d4; +} +.block .products-block li .products-block-image { + float: left; + border: 1px solid #d6d4d4; + margin-right: 19px; +} +.block .products-block li .product-content { + overflow: hidden; +} +.block .products-block li .product-content h5 { + margin: -3px 0 0 0; +} +.block .products-block .product-name { + font-size: 15px; + line-height: 18px; +} +.block .products-block .product-description { + margin-bottom: 14px; +} +.block .products-block .price-percent-reduction { + font: 700 14px/17px Arial, Helvetica, sans-serif; + padding: 1px 6px; +} + +/*************** Block CATEGORIES ***************/ +#categories_block_left .block_content > ul { + border-top: 1px solid #d6d4d4; +} +#categories_block_left li { + position: relative; +} +#categories_block_left li a { + font-weight: bold; + color: #333333; + display: block; + font-size: 13px; + line-height: 30px; + padding: 0 30px 0 19px; + border-bottom: 1px solid #d6d4d4; +} +#categories_block_left li span.grower { + display: block; + background: #f6f6f6; + position: absolute; + right: 0; + top: 0; + cursor: pointer; + text-align: center; + font-family: 'FontAwesome'; + font-size: 14px; +} +#categories_block_left li span.grower.OPEN:before, #categories_block_left li span.grower.CLOSE:before { + content: ""; + display: block; + vertical-align: middle; + width: 30px; + height: 30px; + color: #333; + line-height: 30px; +} +#categories_block_left li span.grower.CLOSE:before { + content: ""; + color: #c0c0c0; +} +#categories_block_left li span.grower:hover + a, #categories_block_left li a:hover, #categories_block_left li a.selected { + background: #f6f6f6; +} +#categories_block_left li li a { + font-weight: normal; + color: #777777; +} +#categories_block_left li li a:before { + content: ""; + font-family: 'FontAwesome'; + line-height: 29px; + padding-right: 8px; +} + +/*************************************************************************************************/ +.page-heading { + font: 600 18px/22px "Open Sans", sans-serif; + color: #555454; + text-transform: uppercase; + padding: 0px 0px 17px 0px; + margin-bottom: 30px; + border-bottom: 1px solid #d6d4d4; +} +.page-heading span.heading-counter { + font: bold 13px/22px Arial, Helvetica, sans-serif; + float: right; + color: #333; + text-transform: none; +} +.page-heading.bottom-indent { + margin-bottom: 16px; +} +.page-heading.product-listing { + border-bottom: none; + margin-bottom: 0; +} + +.page-subheading { + font-family: 'Open Sans',sans-serif; + font-weight: 600; + text-transform: uppercase; + color: #555454; + font-size: 18px; + padding: 0 0 15px; + line-height: normal; + margin-bottom: 12px; + border-bottom: 1px solid #d6d4d4; +} + +/* BLOCK .footer_links (cms pages) ************************************************************* */ +ul.footer_links { + padding: 20px 0 50px 0; + border-top: 1px solid #d6d4d4; +} +ul.footer_links li { + float: left; +} +ul.footer_links li + li { + margin-left: 10px; +} + +/* barre comparaison / tri ********************************************************************* */ +.content_sortPagiBar .sortPagiBar { + border-top: 1px solid #d6d4d4; + border-bottom: 1px solid #d6d4d4; + padding: 19px 0 10px 0; +} +.content_sortPagiBar .sortPagiBar #productsSortForm { + float: left; + margin-right: 20px; + margin-bottom: 10px; +} +.content_sortPagiBar .sortPagiBar #productsSortForm select { + width: 192px; + float: left; +} +.content_sortPagiBar .sortPagiBar #productsSortForm .selector { + float: left; +} +.content_sortPagiBar .sortPagiBar .nbrItemPage { + float: left; +} +.content_sortPagiBar .sortPagiBar .nbrItemPage select { + width: 59px; + float: left; +} +.content_sortPagiBar .sortPagiBar .nbrItemPage .clearfix > span { + padding: 3px 0 0 12px; + display: inline-block; +} +.content_sortPagiBar .sortPagiBar .nbrItemPage #uniform-nb_item { + float: left; +} +.content_sortPagiBar .sortPagiBar label, .content_sortPagiBar .sortPagiBar select { + float: left; +} +.content_sortPagiBar .sortPagiBar label { + padding: 3px 6px 0 0; +} +.content_sortPagiBar .sortPagiBar.instant_search #productsSortForm { + display: none; +} +.content_sortPagiBar .display, .content_sortPagiBar .display_m { + float: right; + margin-top: -4px; +} +.content_sortPagiBar .display li, .content_sortPagiBar .display_m li { + float: left; + padding-left: 12px; + text-align: center; +} +.content_sortPagiBar .display li a, .content_sortPagiBar .display_m li a { + color: #808080; + font-size: 11px; + line-height: 14px; +} +.content_sortPagiBar .display li a i, .content_sortPagiBar .display_m li a i { + display: block; + font-size: 24px; + height: 24px; + line-height: 24px; + margin-bottom: -3px; + color: #e1e0e0; +} +.content_sortPagiBar .display li a:hover i, .content_sortPagiBar .display li.selected i, .content_sortPagiBar .display_m li a:hover i, .content_sortPagiBar .display_m li.selected i { + color: #333333; +} +.content_sortPagiBar .display li.selected a, .content_sortPagiBar .display_m li.selected a { + cursor: default; +} +.content_sortPagiBar .display li.display-title, .content_sortPagiBar .display_m li.display-title { + font-weight: bold; + color: #333333; + padding: 7px 6px 0 0; +} + +/* pagination ********************************************************************************** */ +.top-pagination-content, .bottom-pagination-content { + text-align: center; + padding: 12px 0 12px 0; + position: relative; +} +.top-pagination-content div.pagination, .bottom-pagination-content div.pagination { + margin: 0; + float: right; + width: 530px; + text-align: center; +} +.top-pagination-content div.pagination .showall, .bottom-pagination-content div.pagination .showall { + float: right; + margin: 8px 53px 8px 14px; +} +.top-pagination-content div.pagination .showall .btn span, .bottom-pagination-content div.pagination .showall .btn span { + font-size: 13px; + padding: 3px 5px 4px 5px; + line-height: normal; +} +.top-pagination-content ul.pagination, .bottom-pagination-content ul.pagination { + margin: 8px 0px 8px 0; +} +.top-pagination-content ul.pagination li, .bottom-pagination-content ul.pagination li { + display: inline-block; + float: left; +} +.top-pagination-content ul.pagination li > a, .top-pagination-content ul.pagination li > span, .bottom-pagination-content ul.pagination li > a, .bottom-pagination-content ul.pagination li > span { + margin: 0 1px 0 0px; + padding: 0; + font-weight: bold; + border: 1px solid; + border-color: #dfdede #d2d0d0 #b0afaf #d2d0d0; + display: block; +} +.top-pagination-content ul.pagination li > a span, .top-pagination-content ul.pagination li > span span, .bottom-pagination-content ul.pagination li > a span, .bottom-pagination-content ul.pagination li > span span { + border: 1px solid #fff; + padding: 2px 8px; + display: block; + background: url(../img/pagination-li.gif) 0 0 repeat-x #fbfbfb; +} +.top-pagination-content ul.pagination li > a:hover span, .bottom-pagination-content ul.pagination li > a:hover span { + background: #f6f6f6; +} +.top-pagination-content ul.pagination li.pagination_previous, .top-pagination-content ul.pagination li.pagination_next, .bottom-pagination-content ul.pagination li.pagination_previous, .bottom-pagination-content ul.pagination li.pagination_next { + color: #777676; + font-weight: bold; +} +.top-pagination-content ul.pagination li.pagination_previous > a, .top-pagination-content ul.pagination li.pagination_previous > span, .top-pagination-content ul.pagination li.pagination_next > a, .top-pagination-content ul.pagination li.pagination_next > span, .bottom-pagination-content ul.pagination li.pagination_previous > a, .bottom-pagination-content ul.pagination li.pagination_previous > span, .bottom-pagination-content ul.pagination li.pagination_next > a, .bottom-pagination-content ul.pagination li.pagination_next > span { + border: none; + background: none; + display: block; + padding: 4px 0; +} +.top-pagination-content ul.pagination li.pagination_previous > a span, .top-pagination-content ul.pagination li.pagination_previous > span span, .top-pagination-content ul.pagination li.pagination_next > a span, .top-pagination-content ul.pagination li.pagination_next > span span, .bottom-pagination-content ul.pagination li.pagination_previous > a span, .bottom-pagination-content ul.pagination li.pagination_previous > span span, .bottom-pagination-content ul.pagination li.pagination_next > a span, .bottom-pagination-content ul.pagination li.pagination_next > span span { + border: none; + padding: 0; + background: none; +} +.top-pagination-content ul.pagination li.pagination_previous, .bottom-pagination-content ul.pagination li.pagination_previous { + margin-right: 10px; +} +.top-pagination-content ul.pagination li.pagination_next, .bottom-pagination-content ul.pagination li.pagination_next { + margin-left: 10px; +} +.top-pagination-content ul.pagination li.active > span, .bottom-pagination-content ul.pagination li.active > span { + color: #333333; + border-color: #dfdede #d2d0d0 #b0afaf #d2d0d0; +} +.top-pagination-content ul.pagination li.active > span span, .bottom-pagination-content ul.pagination li.active > span span { + background: #f6f6f6; +} +.top-pagination-content .compare-form, .bottom-pagination-content .compare-form { + float: right; +} +.top-pagination-content .product-count, .bottom-pagination-content .product-count { + position: absolute; + left: 0; + top: 0; + padding: 22px 0 0 0; +} + +.bottom-pagination-content { + border-top: 1px solid #d6d4d4; +} + +/* CART steps *********************************************************************** */ +ul.step { + margin-bottom: 30px; + overflow: hidden; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +ul.step li { + float: left; + width: 20%; + text-align: left; + border: 1px solid; + border-top-color: #cacaca; + border-bottom-color: #9a9a9a; + border-right-color: #b7b7b7; + border-left-width: 0px; +} +ul.step li a, ul.step li span, ul.step li.step_current span, ul.step li.step_current_end span { + display: block; + padding: 13px 10px 14px 13px; + color: #333333; + font-size: 17px; + line-height: 21px; + font-weight: bold; + text-shadow: 1px 1px white; + position: relative; +} +ul.step li a:after, ul.step li span:after, ul.step li.step_current span:after, ul.step li.step_current_end span:after { + content: "."; + position: absolute; + top: 0; + right: -31px; + z-index: 0; + text-indent: -5000px; + display: block; + width: 31px; + height: 52px; + margin-top: -2px; +} +ul.step li a:focus, ul.step li span:focus, ul.step li.step_current span:focus, ul.step li.step_current_end span:focus { + text-decoration: none; + outline: none; +} +ul.step li.first { + border-left-width: 1px; + border-left-color: #b7b7b7; + -moz-border-radius-topleft: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; +} +ul.step li.first span, ul.step li.first a { + -moz-border-radius-topleft: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + z-index: 5; + padding-left: 13px !important; +} +ul.step li.second span, ul.step li.second a { + z-index: 4; +} +ul.step li.third span, ul.step li.third a { + z-index: 3; +} +ul.step li.four span, ul.step li.four a { + z-index: 2; +} +ul.step li.last { + -moz-border-radius-topright: 4px; + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-bottomright: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; +} +ul.step li.last span { + -moz-border-radius-topright: 4px; + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-bottomright: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + z-index: 1; +} +ul.step li.step_current { + font-weight: bold; + background: #42b856; + background: -moz-linear-gradient(top, #42b856 0%, #43ab54 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #42b856), color-stop(100%, #43ab54)); + background: -webkit-linear-gradient(top, #42b856 0%, #43ab54 100%); + background: -o-linear-gradient(top, #42b856 0%, #43ab54 100%); + background: -ms-linear-gradient(top, #42b856 0%, #43ab54 100%); + background: linear-gradient(to bottom, #42b856 0%, #43ab54 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#42b856', endColorstr='#43ab54',GradientType=0 ); + border-color: #399b49 #51ae5c #208931 #369946; +} +ul.step li.step_current span { + color: #fff; + text-shadow: 1px 1px #208931; + border: 1px solid; + border-color: #73ca77 #74c776 #74c175 #74c776; + position: relative; + padding-left: 38px; +} +ul.step li.step_current span:after { + background: url(../img/order-step-a.png) right 0 no-repeat; +} +ul.step li.step_current_end { + font-weight: bold; +} +ul.step li.step_todo span { + display: block; + color: #333; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #ededed)); + background: -webkit-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -o-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -ms-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: linear-gradient(to bottom, #f7f7f7 0%, #ededed 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#ededed',GradientType=0 ); + border: 1px solid; + border-color: #fff; + padding-left: 38px; + position: relative; +} +ul.step li.step_todo span:after { + background: url(../img/order-step-current.png) right 0 no-repeat; +} +ul.step li.step_done { + border-color: #666666 #5f5f5f #292929 #5f5f5f; +} +ul.step li.step_done a { + color: #fff; + text-shadow: 1px 1px rgba(0, 0, 0, 0); + border: 1px solid; + border-color: #8b8a8a; + background: #727171; + background: -moz-linear-gradient(top, #727171 0%, #666666 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #727171), color-stop(100%, #666666)); + background: -webkit-linear-gradient(top, #727171 0%, #666666 100%); + background: -o-linear-gradient(top, #727171 0%, #666666 100%); + background: -ms-linear-gradient(top, #727171 0%, #666666 100%); + background: linear-gradient(to bottom, #727171 0%, #666666 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#727171', endColorstr='#666666',GradientType=0 ); + padding-left: 38px; +} +ul.step li.step_done a:after { + background: url(../img/order-step-done.png) right 0 no-repeat; +} +ul.step li.step_done.step_done_last a:after { + background: url(../img/order-step-done-last.png) right 0 no-repeat; +} +ul.step li#step_end span:after { + display: none; +} + +/* 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 #d6d4d4; + color: #666666; +} + +.listcomment .titlecomment { + display: block; + font-weight: bold; + font-size: 12px; + color: #333333; +} + +.listcomment .txtcomment { + display: block; + padding: 5px 0; + color: #333333; +} + +/* ************************************************************************************************ + HEADER +************************************************************************************************ */ +.banner-top { + background: #000; +} + +.header-container { + background: #fff; +} + +#header { + padding-bottom: 21px; + position: relative; + /* languages/currencies */ +} +#header .header-row { + background: #333333; +} +#header .header-row .shop-phone { + display: block; + padding: 5px 0 10px; +} +#header .header-row .shop-phone i { + font-size: 21px; + line-height: 21px; + color: #fff; + padding-right: 7px; +} +#header .header-row .shop-phone strong { + color: #fff; +} +#header .header-row #header_user_info { + float: right; + border-left: 1px solid #515151; + border-right: 1px solid #515151; +} +#header .header-row #header_user_info a { + color: #fff; + font-weight: bold; + display: block; + padding: 8px 9px 11px 8px; +} +#header .header-row-2 { + position: relative; + z-index: 1; +} +#header #header_logo { + position: absolute; + left: 0; + top: 27px; + z-index: 1; +} +#header #header_right { + position: relative; +} +#header #currencies-block-top, #header #languages-block-top { + float: right; + border-left: 1px solid #515151; + position: relative; +} +#header #currencies-block-top span.firstWord, #header #languages-block-top span.firstWord { + display: none; +} +#header #currencies-block-top div.current, #header #languages-block-top div.current { + font-weight: bold; + padding: 8px 10px 10px 10px; + color: #fff; + text-shadow: 1px 1px rgba(0, 0, 0, 0); +} +#header #currencies-block-top div.current strong, #header #languages-block-top div.current strong { + color: #777777; +} +#header #currencies-block-top div.current:after, #header #languages-block-top div.current:after { + content: ""; + font-family: "FontAwesome"; + font-size: 18px; + line-height: 18px; + color: #686666; + vertical-align: -2px; + padding-left: 12px; +} +#header #currencies-block-top ul, #header #languages-block-top ul { + display: none; + position: absolute; + top: 37px; + left: 0; + width: 166px; + background: #333333; + z-index: 2; +} +#header #currencies-block-top ul li, #header #languages-block-top ul li { + color: #fff; + line-height: 35px; + font-size: 13px; +} +#header #currencies-block-top ul li a, #header #currencies-block-top ul li > span, #header #languages-block-top ul li a, #header #languages-block-top ul li > span { + padding: 0 10px 0 12px; + display: block; + color: #fff; +} +#header #currencies-block-top ul li.selected, #header #currencies-block-top ul li:hover a, #header #languages-block-top ul li.selected, #header #languages-block-top ul li:hover a { + background: #484848; +} +#header #currencies-block-top ul:hover, #header #languages-block-top ul:hover { + display: block; +} +#header #contact-link { + float: right; + border-left: 1px solid #515151; +} +#header #contact-link a { + display: block; + color: #FFF; + font-weight: bold; + padding: 8px 10px 11px 10px; + text-shadow: 1px 1px rgba(0, 0, 0, 0); +} +#header #contact-link a, #header .header-row #header_user_info a, #header #currencies-block-top div.current, #header #languages-block-top div.current { + cursor: pointer; +} +#header #contact-link a:hover, #header .header-row #header_user_info a:hover, #header #currencies-block-top div.current:hover, #header #languages-block-top div.current:hover { + background: #2b2b2b; +} +#header #contact-link a:hover + ul, #header .header-row #header_user_info a:hover + ul, #header #currencies-block-top div.current:hover + ul, #header #languages-block-top div.current:hover + ul { + display: block; +} + +/* ************************************************************************************************ + BREADCRUMB +************************************************************************************************ */ +.breadcrumb { + display: inline-block; + padding: 0 11px 0 0; + border: 1px solid #d6d4d4; + font-weight: bold; + font-size: 12px; + line-height: 24px; + height: 26px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -ms-border-radius: 3px; + -o-border-radius: 3px; + border-radius: 3px; + overflow: hidden; + margin-bottom: 16px; + position: relative; + z-index: 1; +} +.breadcrumb .navigation-pipe { + float: left; + width: 18px; + display: inline-block; + text-indent: -5000px; +} +.breadcrumb .navigation_page { + float: left; +} +.breadcrumb a { + display: inline-block; + float: left; + background: #fff; + padding: 0 8px 0 22px; + margin-left: -20px; + position: relative; + z-index: 2; + color: #333; +} +.breadcrumb a.home { + font-size: 17px; + color: #777777; + width: 38px; + text-align: center; + padding: 0; + margin: 0; + -moz-border-radius-topleft: 3px; + -webkit-border-top-left-radius: 3px; + border-top-left-radius: 3px; + -moz-border-radius-bottomleft: 3px; + -webkit-border-bottom-left-radius: 3px; + border-bottom-left-radius: 3px; + z-index: 99; +} +.breadcrumb a:after { + display: inline-block; + content: "."; + position: absolute; + right: -6px; + top: 0; + width: 24px; + height: 24px; + background: #fff; + border-right: 1px solid #d6d4d4; + border-top: 1px solid #d6d4d4; + border-radius: 2px; + text-indent: -5000px; + z-index: -1; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); +} +.breadcrumb a:hover { + color: #777; +} + +/* ************************************************************************************************ + FOOTER +************************************************************************************************ */ +.footer-container { + padding: 0 0 100px 0; + background: url(../img/footer-bg.gif) repeat-x; +} +.footer-container #footer { + color: #777; + position: relative; +} +.footer-container #footer .footer-block { + margin-top: 45px; +} +.footer-container #footer a { + color: #777; +} +.footer-container #footer a:hover { + color: #fff; +} +.footer-container #footer h4 { + font: 600 18px/22px "Open Sans", sans-serif; + color: #fff; + margin: 0 0 13px 0; +} +.footer-container #footer h4 a { + color: #fff; +} +.footer-container #footer ul li { + padding-bottom: 8px; +} +.footer-container #footer ul li a { + font-weight: bold; + text-shadow: 1px 1px 0px rgba(0, 0, 0, 0); +} +.footer-container #footer #block_contact_infos { + border-left: 1px solid #515151; +} +.footer-container #footer #block_contact_infos > div { + padding: 0 0 0 5px; +} +.footer-container #footer #block_contact_infos > div ul li { + padding: 0 0 7px 4px; + overflow: hidden; + line-height: 30px; +} +.footer-container #footer #block_contact_infos > div ul li > span, .footer-container #footer #block_contact_infos > div ul li > span a { + color: #fff; + font-weight: normal; +} +.footer-container #footer #block_contact_infos > div ul li i { + font-size: 25px; + width: 32px; + text-align: center; + padding-right: 12px; + float: left; + color: #908f8f; +} +.footer-container #footer .blockcategories_footer { + clear: left; +} +.footer-container #footer #social_block { + float: left; + width: 50%; + padding: 23px 30px 0 0; +} +.footer-container #footer #social_block ul { + float: right; +} +.footer-container #footer #social_block ul li { + float: left; + width: 40px; + text-align: center; +} +.footer-container #footer #social_block ul li a { + display: inline-block; + color: #908f8f; + font-size: 28px; +} +.footer-container #footer #social_block ul li a span { + display: none; +} +.footer-container #footer #social_block ul li a:before { + display: inline-block; + font-family: "FontAwesome"; + vertical-align: -5px; +} +.footer-container #footer #social_block ul li a:hover { + color: #fff; +} +.footer-container #footer #social_block ul li.facebook a:before { + content: ""; +} +.footer-container #footer #social_block ul li.twitter a:before { + content: ""; +} +.footer-container #footer #social_block ul li.rss a:before { + content: ""; +} +.footer-container #footer #social_block h4 { + float: right; + margin-bottom: 0; + font-size: 21px; + line-height: 25px; + text-transform: none; + padding: 0 10px 0 0; +} +.footer-container #footer .bottom-footer { + position: absolute; + bottom: -55px; + left: 0; +} +.footer-container #footer .bottom-footer div { + padding: 15px 0 0 0; + border-top: 1px solid #515151; + width: 100%; +} + +/* 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; +} + +/* ************************************************************************************************ + PAIMENT - PAGE ORDER +************************************************************************************************ */ +/* nav bottom ********************************************************************************** */ +.cart_navigation { + margin: 0 0 20px; +} +.cart_navigation .button-medium { + float: right; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; + font-size: 20px; + line-height: 24px; +} +.cart_navigation .button-medium span { + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; + padding: 11px 15px 10px 15px; +} +.cart_navigation .button-medium i.right { + font-size: 25px; + line-height: 25px; + vertical-align: -4px; + margin-left: 6px; +} +.cart_navigation .button-exclusive { + border: none; + background: none; + padding: 0; + font-size: 17px; + font-weight: bold; + color: #333; + margin: 9px 0 0 0; +} +.cart_navigation .button-exclusive i { + color: #777777; + margin-right: 8px; +} +.cart_navigation .button-exclusive:hover, .cart_navigation .button-exclusive:focus, .cart_navigation .button-exclusive:active { + color: #515151; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +/* step 1 - cart ******************************************************************************* */ +.cart_last_product { + display: none; +} + +.cart_quantity .cart_quantity_input { + height: 27px; + line-height: 27px; + padding: 0; + text-align: center; + width: 57px; +} + +.table tbody > tr > td { + vertical-align: middle; +} +.table tbody > tr > td.cart_quantity { + padding: 41px 14px 25px; + width: 88px; +} +.table tbody > tr > td.cart_quantity .cart_quantity_button { + margin-top: 3px; +} +.table tbody > tr > td.cart_quantity .cart_quantity_button a { + float: left; + margin-right: 3px; +} +.table tbody > tr > td.cart_quantity .cart_quantity_button a + a { + margin-right: 0; +} +.table tbody > tr > td.cart_delete, .table tbody > tr > td.price_discount_del { + padding: 5px; +} + +.table tfoot > tr > td { + vertical-align: middle; +} + +.cart_delete a.cart_quantity_delete, +a.price_discount_delete { + font-size: 23px; + color: #333333; +} +.cart_delete a.cart_quantity_delete:hover, +a.price_discount_delete:hover { + color: #c0c0c0; +} + +#cart_summary tbody td.cart_product { + padding: 19px; +} +#cart_summary tbody td.cart_product img { + border: 1px solid #d6d4d4; +} +#cart_summary tbody td.cart_unit .price span { + display: block; +} +#cart_summary tbody td.cart_unit .price span.old-price { + text-decoration: line-through; +} +#cart_summary tfoot td.text-right { + font-weight: bold; + color: #333; +} +#cart_summary tfoot td.price { + text-align: right; +} +#cart_summary tfoot td.total_price_container span { + font: 600 18px/22px "Open Sans", sans-seif; + color: #555454; + text-transform: uppercase; +} +#cart_summary tfoot td#total_price_container { + font: 600 21px/25px "Open Sans", sans-serif; + color: #333333; + background: #fff; +} + +.cart_voucher { + vertical-align: top !important; +} +.cart_voucher h4 { + font: 600 18px/22px "Open Sans", sans-serif; + color: #555454; + text-transform: uppercase; + padding: 7px 0 10px 0; +} +.cart_voucher .title-offers { + color: #333; + font-weight: bold; + margin-bottom: 6px; +} +.cart_voucher fieldset { + margin-bottom: 10px; +} +.cart_voucher fieldset #discount_name { + float: left; + width: 219px; + margin-right: 11px; +} +.cart_voucher #display_cart_vouchers span { + font-weight: bold; + cursor: pointer; + color: #777777; +} +.cart_voucher #display_cart_vouchers span:hover { + color: #515151; +} + +.enable-multishipping { + margin: -13px 0 17px; +} +.enable-multishipping label { + font-weight: normal; +} + +#HOOK_SHOPPING_CART #loyalty i { + font-size: 26px; + line-height: 26px; + color: #cfcccc; +} + +#order_carrier { + clear: both; + margin-top: 20px; + border: 1px solid #999; + background: white; +} + +#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 #999999; +} + +#order_carrier span { + display: block; + padding: 15px; + font-weight: bold; +} + +.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 3 - address ************************************************************************** */ +#multishipping_mode_box { + padding-top: 12px; + padding-bottom: 19px; +} +#multishipping_mode_box .title { + font-weight: bold; + color: #333; + margin-bottom: 15px; +} + +#multishipping_mode_box .description_off { + display: none; +} + +#multishipping_mode_box .description_off div { + margin-bottom: 10px; +} + +#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; +} + +.multishipping-cart .cart_address_delivery.form-control { + width: 198px; +} + +#order .address_add.submit { + margin-bottom: 20px; +} + +#ordermsg { + margin-bottom: 30px; +} + +#id_address_invoice.form-control, #id_address_delivery.form-control { + width: 269px; +} + +.checkbox.addressesAreEquals { + margin: 0 0 25px 0; +} + +/* step 4 - paiement ************************************************************************** */ +#order .delivery_option label, #order-opc .delivery_option label { + display: block; + margin-bottom: 20px; + font-weight: normal; +} +#order .delivery_option label > table, #order-opc .delivery_option label > table { + background: #fff; + margin-bottom: 0; +} +#order .delivery_option label > table.resume, #order-opc .delivery_option label > table.resume { + height: 53px; +} +#order .delivery_option label > table.delivery_option_carrier, #order-opc .delivery_option label > table.delivery_option_carrier { + margin-top: 10px; + width: 100%; + background: #5192f3; + color: white; + border: 1px solid #4b80c3; + font-weight: bold; +} +#order .delivery_option label > table.delivery_option_carrier td, #order-opc .delivery_option label > table.delivery_option_carrier td { + padding: 8px 11px 7px 11px; +} +#order .delivery_option label > table.delivery_option_carrier td i, #order-opc .delivery_option label > table.delivery_option_carrier td i { + font-size: 20px; + margin-right: 7px; + vertical-align: -2px; +} +#order .delivery_option label > table td.delivery_option_radio, #order-opc .delivery_option label > table td.delivery_option_radio { + width: 54px; + padding-left: 0; + padding-right: 0; + text-align: center; +} +#order .delivery_option label > table td.delivery_option_logo, #order-opc .delivery_option label > table td.delivery_option_logo { + width: 97px; + padding-left: 21px; +} +#order .delivery_option label > table td.delivery_option_price, #order-opc .delivery_option label > table td.delivery_option_price { + width: 162px; +} + +.order_carrier_content { + line-height: normal; + padding-bottom: 16px; +} +.order_carrier_content .carrier_title { + font-weight: bold; + color: #333; +} +.order_carrier_content .checkbox input { + margin-top: 2px; +} +.order_carrier_content .delivery_options_address .carrier_title { + margin-bottom: 17px; +} + +#carrierTable { + border: 1px solid #999; + border-bottom: none; + background: white; +} + +#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 #999999; +} + +#carrierTable td { + padding: 15px; + font-weight: bold; + border-right: 1px solid #e9e9e9; +} + +#carrierTable td.carrier_price { + border: none; +} + +p.checkbox.gift { + margin-bottom: 10px; +} + +#gift_div { + display: none; + margin-top: 5px; + margin-bottom: 10px; +} + +a.iframe { + color: #333333; + text-decoration: underline; +} +a.iframe:hover { + text-decoration: none; +} + +/* step 5 - paiement ************************************************************************** */ +p.payment_module { + margin-bottom: 10px; +} +p.payment_module a { + display: block; + border: 1px solid #d6d4d4; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; + font-size: 17px; + line-height: 23px; + color: #333; + font-weight: bold; + padding: 33px 40px 34px 99px; + letter-spacing: -1px; + position: relative; +} +p.payment_module a.bankwire { + background: url(../img/bankwire.png) 15px 12px no-repeat #fbfbfb; +} +p.payment_module a.cheque { + background: url(../img/cheque.png) 15px 15px no-repeat #fbfbfb; +} +p.payment_module a.cheque:after, p.payment_module a.bankwire:after { + display: block; + content: ""; + position: absolute; + right: 20px; + margin-top: -11px; + top: 50%; + font-family: 'FontAwesome'; + font-size: 25px; + height: 22px; + width: 14px; + color: #777777; +} +p.payment_module a:hover { + background-color: #f6f6f6; +} + +.payment_module.box { + margin-top: 20px; +} + +p.cheque-indent { + margin-bottom: 9px; +} + +.cheque-box .form-group { + margin-bottom: 10px; +} +.cheque-box .form-group .form-control { + width: 269px; +} + +.order-confirmation.box { + line-height: 29px; +} +.order-confirmation.box a { + text-decoration: underline; +} +.order-confirmation.box a:hover { + text-decoration: none; +} + +/* ************************************************************************************************ + PAGE ORDER-OPC +************************************************************************************************ */ +.delivery_option_carrier td { + width: 200px; +} + +.delivery_option_carrier td + td { + width: 280px; +} + +.delivery_option_carrier td + td + td { + width: 200px; +} + +.delivery_option_carrier tr td { + padding: 5px; +} + +.delivery_option_carrier.selected { + display: table; +} + +.delivery_option_carrier.not-displayable { + display: none; +} + +/* ************************************************************************************************ + PAGES ADRESSES, IDENTITY +************************************************************************************************ */ +#address .box, #identity .box, #account-creation_form .box, #new_account_form .box, #opc_account_form .box, #authentication .box { + padding-bottom: 20px; + line-height: 20px; +} +#address p.required, #identity p.required, #account-creation_form p.required, #new_account_form p.required, #opc_account_form p.required, #authentication p.required { + color: #f13340; + margin: 9px 0 16px 0; +} +#address p.inline-infos, #identity p.inline-infos, #account-creation_form p.inline-infos, #new_account_form p.inline-infos, #opc_account_form p.inline-infos, #authentication p.inline-infos { + color: #f00; +} +#address .form-group, #identity .form-group, #account-creation_form .form-group, #new_account_form .form-group, #opc_account_form .form-group, #authentication .form-group { + margin-bottom: 4px; +} +#address .form-group .form-control, #identity .form-group .form-control, #account-creation_form .form-group .form-control, #new_account_form .form-group .form-control, #opc_account_form .form-group .form-control, #authentication .form-group .form-control { + width: 271px; +} +#address .form-group#adress_alias, #identity .form-group#adress_alias, #account-creation_form .form-group#adress_alias, #new_account_form .form-group#adress_alias, #opc_account_form .form-group#adress_alias, #authentication .form-group#adress_alias { + margin-bottom: 20px; +} + +#identity #center_column form.std .row, #authentication #center_column form.std .row, #order-opc #center_column form.std .row { + margin-left: -5px; + margin-right: -5px; +} +#identity #center_column form.std .row .col-xs-4, #authentication #center_column form.std .row .col-xs-4, #order-opc #center_column form.std .row .col-xs-4 { + padding-left: 5px; + padding-right: 5px; + width: 94px; +} +#identity #center_column form.std .row .col-xs-4 .form-control, #authentication #center_column form.std .row .col-xs-4 .form-control, #order-opc #center_column form.std .row .col-xs-4 .form-control { + width: 84px; +} +#identity #center_column .footer_links, #authentication #center_column .footer_links, #order-opc #center_column .footer_links { + border: none; + padding-top: 0; +} + +#new_account_form .box { + line-height: 20px; +} +#new_account_form .box .date-select { + padding-bottom: 10px; +} +#new_account_form .box .top-indent { + padding-top: 10px; +} +#new_account_form .box .customerprivacy { + padding-top: 15px; +} + +#authentication fieldset.account_creation { + margin-bottom: 20px; +} + +/************************************************************************************************** + PASSWORD +**************************************************************************************************/ +#password .box p { + margin-bottom: 9px; +} +#password .box .form-group { + margin-bottom: 20px; +} +#password .box .form-group .form-control { + width: 263px; +} +#password .footer_links { + padding-top: 0; + border: none; +} + +/* ************************************************************************************************ + PAGE SEARCH +************************************************************************************************ */ +#instant_search_results a.close { + font-size: 13px; + font-weight: 600; + opacity: 1; + line-height: inherit; + text-transform: none; + font-family: Arial, Helvetica, sans-serif; +} +#instant_search_results a.close:hover { + color: #515151; +} + +/* ************************************************************************************************ + MANUFACTURERS/SUPPLIERS +************************************************************************************************ */ +#manufacturers_list h3, #suppliers_list h3 { + font-size: 17px; + line-height: 23px; +} +#manufacturers_list .description, #suppliers_list .description { + line-height: 18px; +} +#manufacturers_list .product-counter a, #suppliers_list .product-counter a { + font-weight: bold; + color: #333333; +} +#manufacturers_list .product-counter a:hover, #suppliers_list .product-counter a:hover { + color: #515151; +} +#manufacturers_list.list li .mansup-container, #suppliers_list.list li .mansup-container { + border-top: 1px solid #d6d4d4; + padding: 31px 0 30px 0; +} +#manufacturers_list.list li:first-child .mansup-container, #suppliers_list.list li:first-child .mansup-container { + border-top: 0; +} +#manufacturers_list.list li .left-side, #suppliers_list.list li .left-side { + text-align: center; +} +#manufacturers_list.list li h3, #suppliers_list.list li h3 { + margin-top: -5px; + padding-bottom: 8px; +} +#manufacturers_list.list li .middle-side, #suppliers_list.list li .middle-side { + padding-left: 0; +} +#manufacturers_list.list li .right-side-content, #suppliers_list.list li .right-side-content { + border-left: 1px solid #d6d4d4; + padding: 0 0 32px 31px; + min-height: 108px; +} +#manufacturers_list.list li .right-side-content .product-counter, #suppliers_list.list li .right-side-content .product-counter { + position: relative; + top: -6px; + margin-bottom: 12px; +} +#manufacturers_list.grid li, #suppliers_list.grid li { + text-align: center; +} +#manufacturers_list.grid li .product-container, #suppliers_list.grid li .product-container { + padding-top: 40px; + padding-bottom: 20px; + border-bottom: 1px solid #d6d4d4; +} +#manufacturers_list.grid li .product-container .left-side, #suppliers_list.grid li .product-container .left-side { + padding-bottom: 42px; +} +#manufacturers_list.grid li .product-container h3, #suppliers_list.grid li .product-container h3 { + padding-bottom: 10px; +} +#manufacturers_list.grid li .product-container .product-counter, #suppliers_list.grid li .product-container .product-counter { + margin-bottom: 12px; +} +#manufacturers_list.grid li.first-in-line, #suppliers_list.grid li.first-in-line { + clear: left; +} +#manufacturers_list.grid li.last-line .product-container, #suppliers_list.grid li.last-line .product-container { + border-bottom: none; +} + +#manufacturer .description_box, #supplier .description_box { + padding-top: 20px; + padding-bottom: 20px; + border-top: 1px solid #d6d4d4; +} +#manufacturer .description_box .hide_desc, #supplier .description_box .hide_desc { + display: none; +} +#manufacturer .bottom-pagination-content, #manufacturer .top-pagination-content, #supplier .bottom-pagination-content, #supplier .top-pagination-content { + min-height: 69px; +} +#manufacturer .bottom-pagination-content #pagination .showall, #manufacturer .top-pagination-content #pagination .showall, #supplier .bottom-pagination-content #pagination .showall, #supplier .top-pagination-content #pagination .showall { + margin-right: 201px; +} +#manufacturer .top-pagination-content.bottom-line, #supplier .top-pagination-content.bottom-line { + border-bottom: 1px solid #d6d4d4; +} + +/***************************************************************************************************** + DISCOUNT PAGE +******************************************************************************************************/ +table.discount i { + font-size: 20px; + line-height: 20px; + vertical-align: -2px; +} +table.discount i.icon-ok { + color: #46a74e; +} +table.discount i.icon-remove { + color: #f13340; +} + +/***************************************************************************************************** + GUEST TRACKING +******************************************************************************************************/ +#guestTracking .form-control { + width: 271px; +} + +/***************************************************************************************************** + PAGE 404 +******************************************************************************************************/ +#pagenotfound .pagenotfound { + max-width: 824px; + margin: 0 auto; + text-align: center; +} +#pagenotfound .pagenotfound .img-404 { + padding: 8px 0 27px 0; +} +#pagenotfound .pagenotfound .img-404 img { + max-width: 100%; +} +#pagenotfound .pagenotfound h1 { + font: 600 28px/34px "Open Sans", sans-serif; + color: #333333; + text-transform: uppercase; + margin-bottom: 7px; +} +#pagenotfound .pagenotfound p { + font: 600 16px/20px "Open Sans", sanserif; + color: #555454; + text-transform: uppercase; + border-bottom: 1px solid #d6d4d4; + padding-bottom: 19px; + margin-bottom: 20px; +} +#pagenotfound .pagenotfound h3 { + font-weight: bold; + color: #333; + font-size: 13px; + line-height: normal; + margin-bottom: 18px; +} +#pagenotfound .pagenotfound label { + font-weight: normal; +} +#pagenotfound .pagenotfound .form-control { + max-width: 293px; + display: inline-block; + margin-right: 5px; +} +#pagenotfound .pagenotfound .buttons { + padding: 48px 0 20px 0; +} +#pagenotfound .pagenotfound .buttons .button-medium i.left { + font-size: 17px; +} + +/* ************************************************************************************************ + 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 { + cursor: pointer; +} + +/* ************************************************************************************************ + addon referralprogram +************************************************************************************************ */ +.tab-content { + margin-top: 20px; +} + +/* ************************************************************************************************ + 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 black; + background: url(../img/bg_bt_compare.gif) repeat-x scroll 0 0 black; +} + +#livezilla_lnk a:hover { + text-decoration: none; +} + +/* ************************************************************************************************ + addons comments products +************************************************************************************************ */ +form#sendComment fieldset { + padding: 10px; + border: 1px solid #ccc; + background: #eeeeee; +} + +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 white; +} + +#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 -13px; +} + +div.star_hover a, div.star a:hover { + background-position: 0 -13px; +} + +/* ************************************************************************************************ + xxxxx +************************************************************************************************ */ +/* ************************************************************************************************ + 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; +} + +/* footer */ +.blockcategories_footer ul ul { + display: none !important; +} + +/****************************************************************** + Form validate +*******************************************************************/ +.form-group.form-error input, .form-group.form-error textarea { + border: 1px solid #f13340; + color: #f13340; + background: url(../img/icon/form-error.png) 98% 5px no-repeat #fff1f2; +} +.form-group.form-ok input, .form-group.form-ok textarea { + border: 1px solid #46a74e; + color: #35b33f; + background: url(../img/icon/form-ok.png) 98% 5px no-repeat #87f590; +} +.form-group.form-error .form-control, .form-group.form-ok .form-control { + padding-right: 30px; +} + +/********************************************************************* + uniform +*********************************************************************/ +.radio-inline, .checkbox { + padding-left: 0; +} +.radio-inline .checker, .checkbox .checker { + float: left; +} +.radio-inline .checker span, .checkbox .checker span { + top: 3px; +} +.radio-inline div.radio, .checkbox div.radio { + display: inline-block; +} +.radio-inline div.radio span, .checkbox div.radio span { + float: left; + top: 0px; +} diff --git a/themes/default-bootstrap/css/grid_prestashop.css b/themes/default-bootstrap/css/grid_prestashop.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/highdpi.css b/themes/default-bootstrap/css/highdpi.css new file mode 100644 index 000000000..1f777ceb2 --- /dev/null +++ b/themes/default-bootstrap/css/highdpi.css @@ -0,0 +1,17 @@ +@media only screen and (-webkit-min-device-pixel-ratio: 2), +only screen and (min-device-pixel-ratio: 2) { + + + .replace-2x { + font-size: 1px; + } + + .example { + background-image: url(../images/example2x.png); + -webkit-background-size:13px 13px; + -moz-background-size:13px 13px; + -o-background-size:13px 13px; + background-size:13px 13px; + } + +} \ No newline at end of file diff --git a/themes/default-bootstrap/css/history.css b/themes/default-bootstrap/css/history.css new file mode 100644 index 000000000..5e0ff9946 --- /dev/null +++ b/themes/default-bootstrap/css/history.css @@ -0,0 +1,49 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/************************************************************ + History Page Styles +************************************************************/ +#order-detail-content table .return_quantity_buttons { + margin-top: 3px; +} +#order-detail-content table .return_quantity_buttons a { + display: none; + float: left; +} +#order-detail-content table .return_quantity_buttons a + a { + margin-left: 3px; +} +#order-detail-content table .order_qte_input { + display: none; + width: 57px; + height: 27px; + line-height: 27px; + padding: 0; + text-align: center; +} +#order-detail-content table label { + font-weight: 400; +} + +.table td.history_detail a + a { + margin-left: 14px; +} +.table tfoot strong { + color: #333; +} + +.info-order i { + font-size: 20px; +} +.info-order i.icon-gift { + color: #f13340; +} +.info-order i.icon-repeat { + color: #55c65e; +} + +#sendOrderMessage { + margin-bottom: 30px; +} +#sendOrderMessage select.form-control { + width: 263px; +} diff --git a/themes/default-bootstrap/css/identity.css b/themes/default-bootstrap/css/identity.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/index.php b/themes/default-bootstrap/css/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/css/jquery/owl-carousel/owl.carousel.css b/themes/default-bootstrap/css/jquery/owl-carousel/owl.carousel.css new file mode 100644 index 000000000..0e3ec8ea3 --- /dev/null +++ b/themes/default-bootstrap/css/jquery/owl-carousel/owl.carousel.css @@ -0,0 +1,404 @@ +/* + * Core Owl Carousel CSS File + * v1.24 + */ +/* clearfix */ +.owl-carousel .owl-wrapper:after { + content: "."; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} + +/* display none until init */ +.owl-carousel { + display: none; + position: relative; + width: 100%; + -ms-touch-action: pan-y; + overflow: hidden; +} + +.owl-carousel .owl-wrapper { + display: none; + position: relative; + -webkit-transform: translate3d(0px, 0px, 0px); +} + +.owl-carousel .owl-wrapper-outer { + overflow: hidden; + position: relative; + margin: 0 -10px; +} + +.owl-carousel .owl-wrapper-outer.autoHeight { + -webkit-transition: height 500ms ease-in-out; + -moz-transition: height 500ms ease-in-out; + -ms-transition: height 500ms ease-in-out; + -o-transition: height 500ms ease-in-out; + transition: height 500ms ease-in-out; +} + +.owl-carousel .owl-item { + float: left; + width: 200px !important; +} + +.owl-controls .owl-page, +.owl-controls .owl-buttons div { + cursor: pointer; +} + +.owl-controls { + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +/* mouse grab icon */ +.grabbing { + cursor: url(grabbing.png) 8 8, move; +} + +/* fix */ +.owl-carousel .owl-wrapper, +.owl-carousel .owl-item { + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); +} + +/* CSS3 Transitions */ +.owl-origin { + -webkit-perspective: 1200px; + -webkit-perspective-origin-x: 50%; + -webkit-perspective-origin-y: 50%; + -moz-perspective: 1200px; + -moz-perspective-origin-x: 50%; + -moz-perspective-origin-y: 50%; + perspective: 1200px; +} + +/* fade */ +.owl-fade-out { + z-index: 10; + -webkit-animation: fadeOut .7s both ease; + -moz-animation: fadeOut .7s both ease; + animation: fadeOut .7s both ease; +} + +.owl-fade-in { + -webkit-animation: fadeIn .7s both ease; + -moz-animation: fadeIn .7s both ease; + animation: fadeIn .7s both ease; +} + +/* backSlide */ +.owl-backSlide-out { + -webkit-animation: backSlideOut 1s both ease; + -moz-animation: backSlideOut 1s both ease; + animation: backSlideOut 1s both ease; +} + +.owl-backSlide-in { + -webkit-animation: backSlideIn 1s both ease; + -moz-animation: backSlideIn 1s both ease; + animation: backSlideIn 1s both ease; +} + +/* goDown */ +.owl-goDown-out { + -webkit-animation: scaleToFade .7s ease both; + -moz-animation: scaleToFade .7s ease both; + animation: scaleToFade .7s ease both; +} + +.owl-goDown-in { + -webkit-animation: goDown .6s ease both; + -moz-animation: goDown .6s ease both; + animation: goDown .6s ease both; +} + +/* scaleUp */ +.owl-fadeUp-in { + -webkit-animation: scaleUpFrom .5s ease both; + -moz-animation: scaleUpFrom .5s ease both; + animation: scaleUpFrom .5s ease both; +} + +.owl-fadeUp-out { + -webkit-animation: scaleUpTo .5s ease both; + -moz-animation: scaleUpTo .5s ease both; + animation: scaleUpTo .5s ease both; +} + +/* Keyframes */ +/*empty*/ +@-webkit-keyframes empty { + 0% { + opacity: 1; + } +} + +@-moz-keyframes empty { + 0% { + opacity: 1; + } +} + +@keyframes empty { + 0% { + opacity: 1; + } +} + +@-webkit-keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +@-moz-keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +@keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +@-webkit-keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} + +@-moz-keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} + +@keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} + +@-webkit-keyframes backSlideOut { + 25% { + opacity: .5; + -webkit-transform: translateZ(-500px); + } + + 75% { + opacity: .5; + -webkit-transform: translateZ(-500px) translateX(-200%); + } + + 100% { + opacity: .5; + -webkit-transform: translateZ(-500px) translateX(-200%); + } +} + +@-moz-keyframes backSlideOut { + 25% { + opacity: .5; + -moz-transform: translateZ(-500px); + } + + 75% { + opacity: .5; + -moz-transform: translateZ(-500px) translateX(-200%); + } + + 100% { + opacity: .5; + -moz-transform: translateZ(-500px) translateX(-200%); + } +} + +@keyframes backSlideOut { + 25% { + opacity: .5; + transform: translateZ(-500px); + } + + 75% { + opacity: .5; + transform: translateZ(-500px) translateX(-200%); + } + + 100% { + opacity: .5; + transform: translateZ(-500px) translateX(-200%); + } +} + +@-webkit-keyframes backSlideIn { + 0%, 25% { + opacity: .5; + -webkit-transform: translateZ(-500px) translateX(200%); + } + + 75% { + opacity: .5; + -webkit-transform: translateZ(-500px); + } + + 100% { + opacity: 1; + -webkit-transform: translateZ(0) translateX(0); + } +} + +@-moz-keyframes backSlideIn { + 0%, 25% { + opacity: .5; + -moz-transform: translateZ(-500px) translateX(200%); + } + + 75% { + opacity: .5; + -moz-transform: translateZ(-500px); + } + + 100% { + opacity: 1; + -moz-transform: translateZ(0) translateX(0); + } +} + +@keyframes backSlideIn { + 0%, 25% { + opacity: .5; + transform: translateZ(-500px) translateX(200%); + } + + 75% { + opacity: .5; + transform: translateZ(-500px); + } + + 100% { + opacity: 1; + transform: translateZ(0) translateX(0); + } +} + +@-webkit-keyframes scaleToFade { + to { + opacity: 0; + -webkit-transform: scale(0.8); + } +} + +@-moz-keyframes scaleToFade { + to { + opacity: 0; + -moz-transform: scale(0.8); + } +} + +@keyframes scaleToFade { + to { + opacity: 0; + transform: scale(0.8); + } +} + +@-webkit-keyframes goDown { + from { + -webkit-transform: translateY(-100%); + } +} + +@-moz-keyframes goDown { + from { + -moz-transform: translateY(-100%); + } +} + +@keyframes goDown { + from { + transform: translateY(-100%); + } +} + +@-webkit-keyframes scaleUpFrom { + from { + opacity: 0; + -webkit-transform: scale(1.5); + } +} + +@-moz-keyframes scaleUpFrom { + from { + opacity: 0; + -moz-transform: scale(1.5); + } +} + +@keyframes scaleUpFrom { + from { + opacity: 0; + transform: scale(1.5); + } +} + +@-webkit-keyframes scaleUpTo { + to { + opacity: 0; + -webkit-transform: scale(1.5); + } +} + +@-moz-keyframes scaleUpTo { + to { + opacity: 0; + -moz-transform: scale(1.5); + } +} + +@keyframes scaleUpTo { + to { + opacity: 0; + transform: scale(1.5); + } +} diff --git a/themes/default-bootstrap/css/jquery/owl-carousel/owl.theme.css b/themes/default-bootstrap/css/jquery/owl-carousel/owl.theme.css new file mode 100644 index 000000000..038962bec --- /dev/null +++ b/themes/default-bootstrap/css/jquery/owl-carousel/owl.theme.css @@ -0,0 +1,93 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* +* Owl Carousel Owl Demo Theme +* v1.24 +*/ +.owl-theme { + /* Styling Next and Prev buttons */ + /* preloading images */ +} +.owl-theme .owl-controls { + margin-top: 10px; + text-align: center; +} +.owl-theme .owl-controls { + /* Styling Pagination*/ + /* If PaginationNumbers is true */ +} +.owl-theme .owl-controls .owl-buttons div { + margin-top: 38px; + height: 20px; + width: 20px; + line-height: 0; + position: absolute; + top: 40%; + margin-top: -10px; + font-size: 0; + overflow: hidden; +} +.owl-theme .owl-controls .owl-buttons div:before { + padding-left: 2px; + color: #c0c0c0; + font-family: FontAwesome; + font-size: 20px; + line-height: 22px; +} +.owl-theme .owl-controls .owl-buttons div:hover:before { + color: #333; +} +.owl-theme .owl-controls .owl-next { + right: 10px; +} +.owl-theme .owl-controls .owl-next:before { + content: ""; +} +.owl-theme .owl-controls .owl-prev { + left: 10px; +} +.owl-theme .owl-controls .owl-prev:before { + content: ""; +} +.owl-theme .owl-controls .owl-pagination { + display: none; +} +.owl-theme .owl-controls .owl-page { + display: inline-block; + zoom: 1; + *display: inline; + /*IE7 life-saver */ +} +.owl-theme .owl-controls .owl-page span { + display: block; + width: 12px; + height: 12px; + margin: 5px 7px; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); + opacity: 0; + -webkit-border-radius: 20px; + -moz-border-radius: 20px; + -ms-border-radius: 20px; + -o-border-radius: 20px; + border-radius: 20px; + background: #869791; +} +.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span { + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + opacity: 1; +} +.owl-theme .owl-controls .owl-page span.owl-numbers { + height: auto; + width: auto; + color: #FFF; + padding: 2px 10px; + font-size: 12px; + -webkit-border-radius: 30px; + -moz-border-radius: 30px; + -ms-border-radius: 30px; + -o-border-radius: 30px; + border-radius: 30px; +} +.owl-theme .owl-item.loading { + min-height: 150px; + background: url(AjaxLoader.gif) no-repeat center center; +} diff --git a/themes/default-bootstrap/css/jquery/uniform.default.css b/themes/default-bootstrap/css/jquery/uniform.default.css new file mode 100644 index 000000000..ce31683bb --- /dev/null +++ b/themes/default-bootstrap/css/jquery/uniform.default.css @@ -0,0 +1,507 @@ +/* +Uniform Theme: Uniform Default +Version: 1.8 +By: Josh Pyles +License: MIT License +--- +For use with the Uniform plugin: +http://uniformjs.com/ + +*/ +/* General settings */ +div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span { + background-image: url("../../../img/jquery/uniform/sprite.png"); + background-repeat: no-repeat; + -webkit-font-smoothing: antialiased; +} +div.selector, div.checker, div.button, div.radio, div.uploader { + vertical-align: middle; + /* Keeping this as :focus to remove browser styles */ +} +div.selector:focus, div.checker:focus, div.button:focus, div.radio:focus, div.uploader:focus { + outline: 0; +} +div.selector, div.selector *, div.radio, div.radio *, div.checker, div.checker *, div.uploader, div.uploader *, div.button, div.button * { + margin: 0; + padding: 0; +} + +.highContrastDetect { + background: url("../../../img/jquery/uniform/bg-input.png") repeat-x 0 0; + width: 0px; + height: 0px; +} + +/* Input & Textarea */ +input.uniform-input, +select.uniform-multiselect, +textarea.uniform { + padding: 3px; + background: white; + outline: 0; +} + +/* Remove default webkit and possible mozilla .search styles. + * Keeping this as :active to remove browser styles */ +div.checker input, +input[type="search"], +input[type="search"]:active { + -moz-appearance: none; + -webkit-appearance: none; +} + +/* Select */ +div.selector { + background-position: 0 -54px; + line-height: 27px; + height: 27px; + padding: 0 0 0 10px; + position: relative; + overflow: hidden; +} +div.selector span { + text-overflow: ellipsis; + display: block; + overflow: hidden; + white-space: nowrap; + background-position: right 0; + height: 27px; + line-height: 27px; + padding-right: 30px; + cursor: pointer; + width: 100%; + display: block; +} +div.selector.fixedWidth { + width: 190px; +} +div.selector.fixedWidth span { + width: 150px; +} +div.selector select { + opacity: 0; + filter: alpha(opacity=0); + -moz-opacity: 0; + border: none; + background: none; + position: absolute; + height: 27px; + top: 0px; + left: 0px; + width: 100%; +} +div.selector.active span { + background-position: right -27px; +} +div.selector.hover span, div.selector.focus span { + background-position: right -27px; +} +div.selector.hover.active span, div.selector.focus.active span { + background-position: right -27px; +} +div.selector.disabled span, div.selector.disabled.active span { + background-position: right 0; +} + +/* Select1 */ +div.selector1 > div { + background-position: 0 -135px; +} +div.selector1 > div span { + background-position: right -81px; +} +div.selector1 > div.active span { + background-position: right -108px; +} +div.selector1 > div.hover span, div.selector1 > div.focus span { + background-position: right -108px; +} +div.selector1 > div.hover.active span, div.selector1 > div.focus.active span { + background-position: right -108px; +} +div.selector1 > div.disabled, div.selector1 > div.disabled.active { + background-position: 0 -135px; +} +div.selector1 > div.disabled span, div.selector1 > div.disabled.active span { + background-position: right -81px; +} + +/* Select2 */ +div.selector2 > div { + background-position: 0 -216px; +} +div.selector2 > div span { + background-position: right -162px; +} +div.selector2 > div.active span { + background-position: right -189px; +} +div.selector2 > div.hover span, div.selector2 > div.focus span { + background-position: right -189px; +} +div.selector2 > div.hover.active span, div.selector2 > div.focus.active span { + background-position: right -189px; +} +div.selector2 > div.disabled, div.selector2 > div.disabled.active { + background-position: 0 -216px; +} +div.selector2 > div.disabled span, div.selector2 > div.disabled.active span { + background-position: right -162px; +} + +/* Select3 */ +div.selector3 > div { + background-position: 0 -351px; +} +div.selector3 > div span { + background-position: right -297px; +} +div.selector3 > div.active span { + background-position: right -324px; +} +div.selector3 > div.hover span, div.selector3 > div.focus span { + background-position: right -324px; +} +div.selector3 > div.hover.active span, div.selector3 > div.focus.active span { + background-position: right -324px; +} +div.selector3 > div.disabled, div.selector3 > div.disabled.active { + background-position: 0 -351px; +} +div.selector3 > div.disabled span, div.selector3 > div.disabled.active span { + background-position: right -297px; +} + +/* Checkbox */ +div.checker { + position: relative; +} +div.checker, div.checker span, div.checker input { + width: 15px; + height: 15px; +} +div.checker span { + display: -moz-inline-box; + display: inline-block; + *display: inline; + zoom: 1; + text-align: center; + background-position: 0 -257px; +} +div.checker span.checked { + background-position: -15px -257px; +} +div.checker input { + opacity: 0; + filter: alpha(opacity=0); + -moz-opacity: 0; + border: none; + background: none; + display: -moz-inline-box; + display: inline-block; + *display: inline; + zoom: 1; +} +div.checker.active span { + background-position: -15px -257px; +} +div.checker.active span.checked { + background-position: -15px -257px; +} +div.checker.hover span, div.checker.focus span { + background-position: -30px -257px; +} +div.checker.hover span.checked, div.checker.focus span.checked { + background-position: -15px -257px; +} +div.checker.hover.active span, div.checker.focus.active span { + background-position: -15px -257px; +} +div.checker.hover.active span.checked, div.checker.focus.active span.checked { + background-position: -15px -257px; +} +div.checker.disabled, div.checker.disabled.active { + background-position: 0 -257px; +} +div.checker.disabled span.checked, div.checker.disabled.active span.checked { + background-position: 0 -257px; +} + +/* Radio */ +div.radio { + position: relative; + display: inline; +} +div.radio, div.radio span, div.radio input { + width: 13px; + height: 13px; +} +div.radio span { + display: -moz-inline-box; + display: inline-block; + *display: inline; + zoom: 1; + text-align: center; + background-position: 0 -243px; +} +div.radio span.checked { + background-position: -13px -243px; +} +div.radio input { + opacity: 0; + filter: alpha(opacity=0); + -moz-opacity: 0; + border: none; + background: none; + display: -moz-inline-box; + display: inline-block; + *display: inline; + zoom: 1; + text-align: center; +} +div.radio.active span { + background-position: -13px -243px; +} +div.radio.active span.checked { + background-position: -13px -243px; +} +div.radio.hover span, div.radio.focus span { + background-position: -13px -36px -243px; +} +div.radio.hover span.checked, div.radio.focus span.checked { + background-position: -13px -243px; +} +div.radio.hover.active span, div.radio.focus.active span { + background-position: -13px -243px; +} +div.radio.hover.active span.checked, div.radio.focus.active span.checked { + background-position: -13px -243px; +} +div.radio.disabled span, div.radio.disabled.active span { + background-position: 0 -243px; +} +div.radio.disabled span.checked, div.radio.disabled.active span.checked { + background-position: 0 -243px; +} + +/* Uploader */ +div.uploader { + background: none; + height: 27px; + width: 100%; + cursor: pointer; + position: relative; + overflow: hidden; +} +div.uploader span.action { + background-position: 0 -378px; + height: 27px; + line-height: 27px; + width: 94px; + text-align: center; + float: left; + display: inline; + overflow: hidden; + cursor: pointer; +} +div.uploader span.filename { + text-overflow: ellipsis; + display: block; + overflow: hidden; + white-space: nowrap; + float: left; + cursor: default; + height: 27px; + margin: 0px 0 0px 0px; + line-height: 27px; + width: 172px; + padding: 0 10px; +} +div.uploader input { + opacity: 0; + filter: alpha(opacity=0); + -moz-opacity: 0; + border: none; + background: none; + position: absolute; + top: 0; + right: 0; + float: right; + cursor: default; + width: 100%; + height: 100%; +} + +/* Buttons */ +div.button { + background-position: 0 -634px; + height: 30px; + cursor: pointer; + position: relative; + /* Keep buttons barely visible so they can get focus */ +} +div.button a, div.button button, div.button input { + opacity: 0.01; + filter: alpha(opacity=1); + -moz-opacity: 0.01; + display: block; + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; +} +div.button span { + display: -moz-inline-box; + display: inline-block; + *display: inline; + zoom: 1; + line-height: 30px; + text-align: center; + background-position: right -514px; + height: 30px; + margin-left: 13px; + padding: 0; +} +div.button.active { + background-position: 0 -664px; +} +div.button.active span { + background-position: right -544px; + cursor: default; +} +div.button.hover, div.button.focus { + background-position: 0 -694px; +} +div.button.hover span, div.button.focus span { + background-position: right -574px; +} +div.button.disabled, div.button.disabled.active { + background-position: 0 -724px; +} +div.button.disabled span, div.button.disabled.active span { + background-position: right -604px; + cursor: default; +} + +/* INPUT & TEXTAREA */ +/* ************************************************************************************************ + uniform +************************************************************************************************ */ +input.uniform-input, +select.uniform-multiselect, +textarea.uniform { + font-size: 13px; + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; + font-weight: normal; + line-height: 18px; + color: #777; + border: solid 1px #d6d4d4; +} +input.uniform-input.hover, input.uniform-input.focus, +select.uniform-multiselect.hover, +select.uniform-multiselect.focus, +textarea.uniform.hover, +textarea.uniform.focus { + -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); + box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); + border-color: #cbcaca; +} + +/* PRESENTATION */ +/* Buttons */ +div.button span { + font-weight: bold; + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; + font-size: 12px; + letter-spacing: 1px; + text-transform: uppercase; +} +div.button.hover span, div.button.focus span { + color: #555; +} +div.button.disabled span, div.button.disabled.active span { + color: #bbb; +} + +/* Select */ +#compare_shipping .form-group label { + display: block; +} + +div.selector { + font-size: 12px; +} +div.selector span { + color: #666; + text-shadow: 0 1px 0 #fff; +} +div.selector select { + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; + font-size: 12px; +} +div.selector.disabled span, div.selector.disabled.active span { + color: #bbb; +} + +.checker span input { + margin: 0 !important; +} + +.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] { + margin: 0 !important; +} + +.radio-inline, .checkbox-inline { + cursor: default; +} + +/* Checker */ +div.checker { + cursor: pointer; + margin-right: 5px; +} +div.checker span { + position: relative; + top: -2px; +} + +#layered_form div.checker { + display: inline; +} + +/* Radio */ +div.radio { + margin-right: 3px; +} +div.radio span { + position: relative; + top: -2px; +} + +/* Uploader */ +div.uploader span.action { + text-shadow: rgba(0, 0, 0, 0.1) 0px 1px 0px; + font-size: 13px; + font-weight: bold; + color: #fff; +} +div.uploader span.filename { + color: #777; + border: solid 1px #d6d4d4; + font-size: 13px; + background: #fbfbfb; + margin-right: 2px; +} +div.uploader.disabled span.action, div.uploader.disabled.active span.action { + color: #aaa; +} +div.uploader.disabled span.filename, div.uploader.disabled.active span.filename { + border-color: #ddd; + color: #aaa; +} + +input.uniform-input, input.uniform-input:focus { + background-color: #fff; +} diff --git a/themes/default-bootstrap/css/maintenance.css b/themes/default-bootstrap/css/maintenance.css new file mode 100644 index 000000000..4afbeb2e7 --- /dev/null +++ b/themes/default-bootstrap/css/maintenance.css @@ -0,0 +1,33 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/********************************************************************* + Maintenance Page Styles +**********************************************************************/ +#maintenance { + margin: 126px 0 0 0; + padding: 91px 48px 365px 297px; + background: url(../img/bg_maintenance.png) no-repeat; +} +#maintenance .logo { + margin-bottom: 31px; +} +#maintenance h1 { + font: 600 28px/34px "Open Sans", sans-serif; + color: #333; + text-transform: uppercase; + border-bottom: 1px solid #d6d4d4; + padding: 0 0 14px 0; + margin: 0 0 19px 0; +} +#maintenance #message { + font: 600 16px/31px "Open Sans", sans-serif; + padding-left: 18px; + color: #555454; + text-transform: uppercase; +} + +@media only screen and (min-width: 1200px) { + .container { + padding-left: 0; + padding-right: 0; + } +} diff --git a/themes/default-bootstrap/css/modules/blockbestsellers/blockbestsellers.css b/themes/default-bootstrap/css/modules/blockbestsellers/blockbestsellers.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/modules/blockcart/blockcart.css b/themes/default-bootstrap/css/modules/blockcart/blockcart.css new file mode 100644 index 000000000..a029bf17f --- /dev/null +++ b/themes/default-bootstrap/css/modules/blockcart/blockcart.css @@ -0,0 +1,332 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* Special style for block cart*/ +/******************************************************************* + Cart Block Styles +********************************************************************/ +#cart_block #cart_block_list .deleteCustomizableProduct, #cart_block #cart_block_list .remove_link { + position: absolute; + right: 10px; + top: 19px; +} +#cart_block #cart_block_list .remove_link a, #cart_block #cart_block_list .ajax_cart_block_remove_link { + color: #777777; +} +#cart_block #cart_block_list .remove_link a:before, #cart_block #cart_block_list .ajax_cart_block_remove_link:before { + display: inline-block; + content: ""; + font-family: "FontAwesome"; + font-size: 18px; + line-height: 18px; +} +#cart_block #cart_block_list .remove_link a:hover, #cart_block #cart_block_list .ajax_cart_block_remove_link:hover { + color: #515151; +} +#cart_block .cart-images { + float: left; + margin-right: 20px; +} +#cart_block .cart-info { + overflow: hidden; + position: relative; + padding-right: 20px; +} +#cart_block .cart-info .product-name { + padding-bottom: 15px; + margin-top: -4px; +} +#cart_block .cart-info .product-name a { + font-size: 13px; + line-height: 18px; + display: inline-block; +} +#cart_block .cart-info .quantity-formated { + display: inline-block; + color: #9c9b9b; + text-transform: uppercase; +} +#cart_block dt { + font-weight: normal; + overflow: hidden; + padding: 20px 10px 16px 20px; + position: relative; +} +#cart_block dd { + padding: 10px 20px; + position: relative; +} +#cart_block dd li .deleteCustomizableProduct { + top: 12px !important; + right: 15px !important; +} +#cart_block #cart_block_no_products { + margin: 0; + padding: 10px 20px; +} +#cart_block #cart-prices { + border-top: 1px solid #d6d4d4; + font-weight: bold; + padding: 10px 20px 22px 20px; +} +#cart_block #cart-prices .cart-prices-line { + overflow: hidden; + border-bottom: 1px solid #515151; + padding: 7px 0; +} +#cart_block #cart-prices .cart-prices-line.last-line { + border: none; +} +#cart_block #cart-buttons { + overflow: hidden; + padding: 20px 20px 10px 20px; + margin: 0; + background: #f6f6f6; +} +#cart_block #cart-buttons a { + float: left; + margin-bottom: 10px; + margin-right: 10px; +} +#cart_block #cart-buttons a#button_order_cart { + margin-right: 0; +} + +/******************************************************************* + Cart Block(Header) Styles +********************************************************************/ +#header #cart_block { + z-index: 10; + display: none; + position: absolute; + right: 0; + top: 132px; + height: auto; + width: 270px; + background: #484848; + color: #fff; +} +#header #cart_block a { + color: #fff; +} +#header #cart_block a:hover { + color: #9c9b9b; +} +#header #cart_block #cart_block_list .remove_link a, #header #cart_block #cart_block_list .ajax_cart_block_remove_link { + color: #fff; + outline: none; + text-decoration: none; +} +#header #cart_block #cart_block_list .remove_link a:hover, #header #cart_block #cart_block_list .ajax_cart_block_remove_link:hover { + color: #9c9b9b; +} +#header #cart_block .price { + color: #fff; +} +#header #cart_block dt { + background: url(../../../img/cart-shadow.png) repeat-x; +} +#header #cart_block dt.first_item { + background: none; +} +#header #cart_block dd { + background: url(../../../img/cart-shadow.png) repeat-x; +} +#header #cart_block .product-atributes { + padding-bottom: 10px; + font-size: 11px; +} +#header #cart_block .product-atributes a { + color: #9c9b9b; +} +#header #cart_block .product-atributes a:hover { + color: #fff; +} +#header #cart_block #cart-prices { + border: none; + background: url(../../../img/cart-shadow.png) repeat-x #3d3d3d; +} +#header #cart_block #cart-buttons { + background: url(../../../img/cart-shadow.png) repeat-x #333333; +} + +#cart_block #cart_block_summary, #cart_block .title_block span, #header #cart_block h4, #header #cart_block .title_block, #header #cart_block h4 { + display: none; +} + +#cart_block #cart_block_shipping_cost, +#cart_block #cart_block_total { + float: right; +} + +#cart_block table#vouchers { + clear: both; + width: 80%; + margin: 0 auto; + margin-bottom: 10px; +} +#cart_block table#vouchers tr td { + padding: 2px; +} +#cart_block table#vouchers tr td.quantity { + margin-right: 5px; + min-width: 18px; +} +#cart_block table#vouchers tr td.delete { + padding-left: 0; + padding-right: 0; + text-align: right; + width: 15px; +} + +/***************************************************************************** + Layer Cart Css +*****************************************************************************/ +.layer_cart_overlay { + background-color: #000; + display: none; + height: 100%; + left: 0; + position: fixed; + top: 0; + width: 100%; + z-index: 98; + opacity: .20; + -moz-opacity: .20; + filter: alpha(opacity=20); +} + +* html .layer_cart_overlay { + filter: alpha(opacity=20); + position: absolute; + left: 0; + margin-left: -160px; +} + +#layer_cart { + background-color: #fff; + position: absolute; + display: none; + z-index: 99; + width: 84%; + margin-right: 8%; + margin-left: 8%; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +#layer_cart .layer_cart_product { + padding: 30px 30px 30px 30px; +} +#layer_cart .layer_cart_product h2 { + font: 400 23px/29px Arial, Helvetica, sans-serif; + color: #46a74e; + margin-bottom: 22px; + padding-right: 100px; +} +#layer_cart .layer_cart_product h2 i { + font-size: 30px; + line-height: 30px; + float: left; + padding-right: 8px; +} +#layer_cart .layer_cart_product .product-image-container { + max-width: 178px; + border: 1px solid #d6d4d4; + padding: 5px; + float: left; + margin-right: 30px; +} +#layer_cart .layer_cart_product .layer_cart_product_info { + padding: 38px 0 0 0; +} +#layer_cart .layer_cart_product .layer_cart_product_info #layer_cart_product_title { + display: block; + padding-bottom: 8px; +} +#layer_cart .layer_cart_product .layer_cart_product_info > div { + padding-bottom: 7px; +} +#layer_cart .layer_cart_product .layer_cart_product_info > div strong { + padding-right: 3px; +} +#layer_cart .layer_cart_cart { + background: #fafafa; + border-left: 1px solid #d6d4d4; + padding: 21px 30px 90px 30px; + -webkit-border-radius: 0px 4px 4px 0px; + -moz-border-radius: 0px 4px 4px 0px; + -ms-border-radius: 0px 4px 4px 0px; + -o-border-radius: 0px 4px 4px 0px; + border-radius: 0px 4px 4px 0px; + min-height: 318px; + position: relative; +} +#layer_cart .layer_cart_cart h2 { + font: 400 23px/29px Arial, Helvetica, sans-serif; + color: #333; + border-bottom: 1px solid #d6d4d4; + padding-bottom: 13px; + margin-bottom: 17px; +} +#layer_cart .layer_cart_cart .layer_cart_row { + padding: 0 0 7px 0; +} +#layer_cart .layer_cart_cart .button-container { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + padding: 0px 30px 20px 30px; +} +#layer_cart .layer_cart_cart .button-container .btn { + margin-bottom: 10px; +} +#layer_cart .layer_cart_cart .button-container span.exclusive-medium { + margin-right: 5px; +} +#layer_cart .layer_cart_cart .button-container span.exclusive-medium i { + padding-right: 5px; + color: #777777; +} +#layer_cart .layer_cart_cart .cross { + position: absolute; + right: 7px; + top: 8px; + width: 25px; + height: 25px; + cursor: pointer; + color: #333; +} +#layer_cart .layer_cart_cart .cross:before { + content: ""; + display: block; + font-family: "FontAwesome"; + font-size: 25px; + line-height: 25px; +} +#layer_cart .layer_cart_cart .cross:hover { + color: #515151; +} +#layer_cart .continue { + cursor: pointer; +} +#layer_cart p { + padding: 0px; +} + +#blockcart_list { + width: 232px; + overflow: hidden; +} + +#blockcart_list ul { + display: block; + height: 90px; +} + +#blockcart_list li { + list-style-type: none; + float: left; + width: 58px; +} diff --git a/themes/default-bootstrap/css/modules/blockcontact/blockcontact.css b/themes/default-bootstrap/css/modules/blockcontact/blockcontact.css new file mode 100644 index 000000000..bf925481f --- /dev/null +++ b/themes/default-bootstrap/css/modules/blockcontact/blockcontact.css @@ -0,0 +1,21 @@ +/* block CONTACT ******************************************************************************* */ +#contact_block .label { + display: none; +} +#contact_block .block_content { + color: #888888; + padding: 0 20px 20px; +} +#contact_block p { + margin-bottom: 4px; +} +#contact_block p.tel { + font: 400 17px/21px Arial, Helvetica, sans-serif; + color: #fff; + margin-bottom: 6px; +} +#contact_block p.tel i { + font-size: 25px; + vertical-align: -2px; + padding-right: 10px; +} diff --git a/themes/default-bootstrap/css/modules/blocklayered/blocklayered-15.css b/themes/default-bootstrap/css/modules/blocklayered/blocklayered-15.css new file mode 100644 index 000000000..963bd655d --- /dev/null +++ b/themes/default-bootstrap/css/modules/blocklayered/blocklayered-15.css @@ -0,0 +1,241 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +#enabled_filters { + background: #484848; + padding: 16px 20px; + margin-bottom: 16px; +} +#enabled_filters span.layered_subtitle { + color: #fff; + display: block; + padding-bottom: 11px; +} +#enabled_filters li { + padding: 1px 0; + color: #9c9b9b; + cursor: pointer; + position: relative; +} +#enabled_filters li:hover, #enabled_filters li:hover a { + color: #fff; +} +#enabled_filters li a { + position: absolute; + top: 1px; + right: 0; + display: block; + cursor: pointer; + text-indent: 0px; + color: #888888; +} +#enabled_filters li a:before { + content: ""; + display: block; + font-family: "FontAwesome"; + width: 12px; + height: 12px; +} + +#layered_block_left .layered_subtitle_heading { + border-bottom: 1px solid #d6d4d4; + padding: 0 12px 6px 0; + margin-bottom: 8px; + font-weight: bold; + position: relative; + color: #333333; +} +#layered_block_left .layered_subtitle_heading .layered_close { + position: absolute; + right: 0; + top: 4px; + height: 14px; + width: 12px; +} +#layered_block_left .layered_subtitle_heading .layered_close a { + display: block; + height: 14px; + width: 12px; + text-indent: -5000px; + position: relativee; + color: #d3d2d2; + font-size: 12px; + line-height: 14px; +} +#layered_block_left .layered_subtitle_heading .layered_close a:after { + content: ""; + display: block; + text-indent: 0; + height: 14px; + width: 12px; + position: absolute; + top: 0px; + left: 0; + font-family: 'FontAwesome'; + vertical-align: 1px; +} +#layered_block_left .layered_subtitle_heading .layered_close a:hover { + color: #515151; +} +#layered_block_left .layered_subtitle_heading .layered_close.closed a:after { + content: ""; +} + +#layered_block_left label { + font-weight: normal; +} +#layered_block_left .layered_filter_ul { + padding: 0 20px 5px; +} +#layered_block_left .layered_filter_ul li { + padding-bottom: 7px; +} +#layered_block_left .layered_filter_ul li .checker span, #layered_block_left .layered_filter_ul li .radio span { + top: 0; +} +#layered_block_left .layered_filter_ul li label { + margin-bottom: 0; +} +#layered_block_left .layered_filter_ul li label a { + font-weight: normal; +} +#layered_block_left .layered_filter_ul li label a:hover { + color: #333; +} + +#layered_block_left ul li label { + cursor: pointer; + display: inline; +} + +/* Style moved form the template to the css */ +/****************************************************************************** + Color List Style +*******************************************************************************/ +#layered_block_left ul.color-group { + padding-top: 2px; + overflow: hidden; +} +#layered_block_left ul.color-group li { + width: 50%; + float: left; + line-height: 15px; + vertical-align: middle; + padding-bottom: 9px; +} +#layered_block_left ul.color-group li .color-option { + border: 1px solid #d6d4d4; + height: 15px; + margin-left: 0; + margin-right: 4px; + padding: 0; + width: 15px; + -webkit-box-shadow: white 0 0 1px 0px inset, white 0 0 0px 1px inset, white 0 0 0px 1px inset, white 0 0 1px 0px inset; + -moz-box-shadow: white 0 0 1px 0px inset, white 0 0 0px 1px inset, white 0 0 0px 1px inset, white 0 0 1px 0px inset; + box-shadow: white 0 0 1px 0px inset, white 0 0 0px 1px inset, white 0 0 0px 1px inset, white 0 0 1px 0px inset; +} +#layered_block_left ul.color-group li .color-option.on { + border-color: #000; +} +#layered_block_left ul.color-group li .color-option.disable { + opacity: 0.5; + filter: alpha(opacity=50); + -moz-opacity: 0.5; +} + +#layered_block_left .nomargin a { + display: inline; +} + +/************************************************************************************** + Layered Form Selects Styles +***************************************************************************************/ +#layered_form .select { + max-width: 230px; +} + +/************************************************************************************** + Range Slider Styles +***************************************************************************************/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { + background: #fbfbfb; + border-color: #d6d4d4; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + -ms-border-radius: 0px; + -o-border-radius: 0px; + border-radius: 0px; + width: 15px; + height: 15px; +} +.ui-state-default.ui-state-hover, .ui-widget-content .ui-state-default.ui-state-hover, .ui-widget-header .ui-state-default.ui-state-hover { + background: #555454; + border-color: #333; +} + +.ui-slider .ui-slider-range { + background: #959595; + border: none; +} + +.ui-corner-all { + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + -ms-border-radius: 0px; + -o-border-radius: 0px; + border-radius: 0px; + background: #efefef; + border: none; + height: 11px; +} + +.ui-slider-horizontal .ui-slider-handle { + top: -0.14em; +} + +.layered_price_range { + margin-left: 7px; +} + +/************************************************************************************** + Range Input Styles +***************************************************************************************/ +.layered_price_range_unit { + margin-right: 7px; +} + +.layered_slider_container { + margin: 6px 0 6px 7px; +} + +.layered_input_range_min, .layered_input_range_max { + width: 60px; + display: inline; +} + +.layered_list_selected { + font-weight: bold; +} + +.layered_list { + display: block; + cursor: pointer; +} + +.layered_list:hover { + font-weight: bold; +} + +.layered_ajax_loader p { + margin: 20px 0; + text-align: center; +} + +.hide-action { + text-align: center; + text-align: right; + display: block; + cursor: pointer; +} + +.hide-action:hover { + font-weight: bold; +} diff --git a/themes/default-bootstrap/css/modules/blocklayered/blocklayered.css b/themes/default-bootstrap/css/modules/blocklayered/blocklayered.css new file mode 100644 index 000000000..f6d8e5155 --- /dev/null +++ b/themes/default-bootstrap/css/modules/blocklayered/blocklayered.css @@ -0,0 +1,117 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +#layered_block_left ul.layered_filter_ul { + border-top: 1px solid #d6d4d4; +} + +#layered_block_left div.block_content { + padding: 6px; +} + +#layered_block_left ul { + padding-left: 0; + max-height: 120px; + overflow-y: auto; + overflow-x: hidden; + padding-left: 1px; + padding-right: 1px; +} + +#layered_form > div > div { + border-bottom: 1px dotted #CCCCCC; + padding-bottom: 5px; + margin-bottom: 5px; +} + +#layered_block_left .hide-action { + display: block; + text-align: right; + padding-right: 5px; +} + +#layered_block_left .hide-action:hover { + text-decoration: underline; +} + +#layered_block_left ul li { + margin-left: 15px; + padding-left: 2px; + list-style-type: none; +} + +#layered_block_left #enabled_filters, #layered_url_filter_block { + font-size: 10px; + padding-bottom: 5px; +} + +/* Style moved form the template to the css */ +#layered_block_left ul li .disabled { + color: #666; +} + +.product_list .warning { + margin-top: 13px; +} + +#layered_form .select { + width: 165px; +} + +#layered_block_left .color-option.disable { + opacity: 0.5; + filter: alpha(opacity=50); + -moz-opacity: 0.5; +} + +#layered_form .color-option.on { + border: 1px solid red; +} + +#layered_form input[type=radio] { + margin-left: 2px; + vertical-align: middle; +} + +.layered_price_range { + margin-left: 7px; +} + +.layered_price_range_unit { + margin-right: 7px; +} + +.layered_slider_container { + margin: 6px 0 6px 6px; + width: 93%; +} + +.layered_slider { + margin-top: 5px; +} + +.layered_input_range_min { + width: 30px; +} + +.layered_input_range_max { + width: 40px; +} + +.layered_list_selected { + font-weight: bold; +} + +.layered_ajax_loader p { + margin: 20px 0; + text-align: center; +} + +.hide-action { + text-align: center; + text-align: right; + display: block; + cursor: pointer; +} + +.hide-action:hover { + font-weight: bold; +} diff --git a/themes/default-bootstrap/css/modules/blockmyaccountfooter/blockmyaccount.css b/themes/default-bootstrap/css/modules/blockmyaccountfooter/blockmyaccount.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/modules/blocknewproducts/blocknewproducts.css b/themes/default-bootstrap/css/modules/blocknewproducts/blocknewproducts.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/modules/blocknewsletter/blocknewsletter.css b/themes/default-bootstrap/css/modules/blocknewsletter/blocknewsletter.css new file mode 100644 index 000000000..4e4fbdca6 --- /dev/null +++ b/themes/default-bootstrap/css/modules/blocknewsletter/blocknewsletter.css @@ -0,0 +1,84 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* Block newsletter */ +#columns #newsletter_block_left .form-group { + margin-bottom: 0; +} +#columns #newsletter_block_left .form-group .form-control { + max-width: 222px; + display: inline-block; + margin-right: 6px; +} +#columns #newsletter_block_left .success_inline, #columns #newsletter_block_left .warning_inline { + text-align: left; + padding: 1px 0 0 0; + margin-bottom: -19px; +} +#columns #newsletter_block_left .success_inline { + color: #418B19; +} +#columns #newsletter_block_left .warning_inline { + color: #f13340; +} + +/* Block newsletter footer */ +#footer #newsletter_block_left { + overflow: hidden; + width: 50%; + float: left; + padding: 13px 15px 7px 15px; + margin-bottom: 0; +} +#footer #newsletter_block_left h4 { + background: none; + float: left; + padding: 7px 16px 5px 0; + text-transform: none; + font-size: 21px; + line-height: 25px; + border: none; +} +#footer #newsletter_block_left .block_content { + overflow: hidden; +} +#footer #newsletter_block_left .form-group { + margin-bottom: 0; +} +#footer #newsletter_block_left .form-group .form-control { + height: 45px; + max-width: 267px; + background: #3c3c3c; + border-color: #515151; + color: #fff; + padding: 5px 43px 5px 12px; + display: inline-block; +} +#footer #newsletter_block_left .form-group .form-control:focus { + -webkit-box-shadow: black 0px 0px 0px; + -moz-box-shadow: black 0px 0px 0px; + box-shadow: black 0px 0px 0px; +} +#footer #newsletter_block_left .form-group .button-small { + margin-left: -41px; + border: none; + background: none; + text-align: center; + color: #908f8f; +} +#footer #newsletter_block_left .form-group .button-small:before { + content: ""; + font-family: 'FontAwesome'; + font-size: 28px; + line-height: 28px; +} +#footer #newsletter_block_left .form-group .button-small:hover { + color: #fff !important; +} +#footer #newsletter_block_left .form-group .button-small span { + display: none; +} +#footer #newsletter_block_left .warning_inline { + display: inline-block; + color: #f13340; + font-size: 13px; + line-height: 26px; +} diff --git a/themes/default-bootstrap/css/modules/blocksearch/blocksearch.css b/themes/default-bootstrap/css/modules/blocksearch/blocksearch.css new file mode 100644 index 000000000..a6f546620 --- /dev/null +++ b/themes/default-bootstrap/css/modules/blocksearch/blocksearch.css @@ -0,0 +1,69 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* block top search */ +#search_block_top { + position: absolute; + right: 420px; + top: 50px; +} +#search_block_top .btn.button-search { + background: #333; + float: left; + border: none; + color: #fff; + width: 57px; + text-align: center; + padding: 10px 0 11px 0; +} +#search_block_top .btn.button-search span { + display: none; +} +#search_block_top .btn.button-search:before { + content: ""; + display: block; + font-family: "FontAwesome"; + font-size: 17px; +} +#search_block_top .btn.button-search:hover { + color: #6f6f6f; +} +#search_block_top #search_query_top { + padding: 0 13px; + height: 45px; + width: 271px; + background: #fbfbfb; + float: left; + margin-right: 1px; +} + +.ac_results { + background: #fff; + border: 1px solid #d6d4d4; + width: 271px; + margin-top: -1px; +} +.ac_results li { + padding: 0 10px; + font-weight: normal; + color: #686666; + font-size: 13px; + line-height: 22px; +} +.ac_results li.ac_odd { + background: #fff; +} +.ac_results li:hover, .ac_results li.ac_over { + background: #fbfbfb; +} + +form#searchbox label { + color: #333; + margin-bottom: 1px; +} +form#searchbox input#search_query_block { + border: 1px solid #d6d4d4; + height: 18px; + margin-top: 10px; +} +form#searchbox input#search_button { + padding: 1px 4px; +} diff --git a/themes/default-bootstrap/css/modules/blockspecials/blockspecials.css b/themes/default-bootstrap/css/modules/blockspecials/blockspecials.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/modules/blocktags/blocktags.css b/themes/default-bootstrap/css/modules/blocktags/blocktags.css new file mode 100644 index 000000000..6ecdfba8a --- /dev/null +++ b/themes/default-bootstrap/css/modules/blocktags/blocktags.css @@ -0,0 +1,18 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +.tags_block .block_content { + overflow: hidden; +} +.tags_block .block_content a { + display: inline-block; + font-size: 13px; + line-height: 16px; + font-weight: bold; + padding: 4px 9px 5px 9px; + border: 1px solid #d6d4d4; + float: left; + margin: 0 3px 3px 0; +} +.tags_block .block_content a:hover { + color: #333; + background: #f6f6f6; +} diff --git a/themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css b/themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css new file mode 100644 index 000000000..aec239ac7 --- /dev/null +++ b/themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css @@ -0,0 +1,115 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/*** ESSENTIAL STYLES ***/ +.sf-contener { + clear: both; +} + +.sf-menu, .sf-menu * { + margin: 0; + padding: 0; + list-style: none; +} + +.sf-menu { + margin: 50px 0 0; + padding: 0; + width: 100%; + border-bottom: 3px solid #e9e9e9; + background: #f6f6f6; +} + +.sf-menu ul { + position: absolute; + top: -999em; + width: 10em; + /* left offset of submenus need to match (see below) */ + background: #fff; +} + +.sf-menu ul li { + width: 100%; +} + +.sf-menu li:hover { + visibility: inherit; + /* fixes IE7 'sticky bug' */ +} + +.sf-menu li { + position: relative; +} + +.sf-menu > li { + float: left; + border-right: 1px solid #d6d4d4; + margin-bottom: -3px; +} +.sf-menu > li > a { + font: 600 18px/22px "Open Sans", sans-serif; + text-transform: uppercase; + color: #484848; + display: block; + padding: 17px 20px; + border-bottom: 3px solid #e9e9e9; +} +.sf-menu > li.sfHover > a, .sf-menu > li > a:hover, .sf-menu > li.sfHoverForce a { + background: #333; + border-bottom-color: #666666; + color: #fff; +} + +.sf-menu li li a { + display: block; + position: relative; + color: #777777; + font-size: 13px; + line-height: 16px; + font-weight: bold; + padding-bottom: 10px; +} +.sf-menu li li a:before { + content: ""; + display: inline-block; + font-family: "FontAwesome"; + padding-right: 10px; +} +.sf-menu li li a:hover { + color: #333; +} + +.sf-menu li ul { + display: none; + left: 0; + top: 59px; + /* match top ul list item height */ + z-index: 99; + width: 220px; + padding: 25px 30px; + -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; + -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; + box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; +} + +ul.sf-menu li:hover li ul, +ul.sf-menu li.sfHover li ul { + top: -999em; +} + +ul.sf-menu li li:hover ul, +ul.sf-menu li li.sfHover ul { + left: 200px; + /* match ul width */ + top: 0; +} + +ul.sf-menu li li:hover li ul, +ul.sf-menu li li.sfHover li ul { + top: -999em; +} + +ul.sf-menu li li li:hover ul, +ul.sf-menu li li li.sfHover ul { + left: 200px; + /* match ul width */ + top: 0; +} diff --git a/themes/default-bootstrap/css/modules/blockuserinfo/blockuserinfo.css b/themes/default-bootstrap/css/modules/blockuserinfo/blockuserinfo.css new file mode 100644 index 000000000..0b56b452d --- /dev/null +++ b/themes/default-bootstrap/css/modules/blockuserinfo/blockuserinfo.css @@ -0,0 +1,42 @@ +/* block top user information */ +#header_right #header_user { + clear: both; + float: right; + margin-top: 50px; +} +#header_right #header_user #shopping_cart a { + padding: 7px 10px 14px 16px; + background: #333333; + min-width: 270px; + /* 200 */ + display: block; + font-weight: bold; + color: #777777; + text-shadow: 1px 1px rgba(0, 0, 0, 0.2); +} +#header_right #header_user #shopping_cart a b { + color: #fff; + font: 600 18px/22px "Open Sans", sans-serif; + padding-right: 5px; +} +#header_right #header_user #shopping_cart a:before { + content: ""; + font-family: "FontAwesome"; + display: inline-block; + font-size: 23px; + line-height: 23px; + color: #fff; + padding-right: 15px; +} +#header_right #header_user #shopping_cart a:after { + content: ""; + font-family: "FontAwesome"; + display: inline-block; + float: right; + font-size: 18px; + color: #686666; + padding: 6px 0 0 0; +} +#header_right #header_user #shopping_cart .ajax_cart_total { + display: none !important; +} diff --git a/themes/default-bootstrap/css/modules/blockviewed/blockviewed.css b/themes/default-bootstrap/css/modules/blockviewed/blockviewed.css new file mode 100644 index 000000000..04b29fd7f --- /dev/null +++ b/themes/default-bootstrap/css/modules/blockviewed/blockviewed.css @@ -0,0 +1,6 @@ +/* Block Viewed Products */ +#viewed-products_block_left li.last_item { + padding-bottom: 0; + margin-bottom: 0; + border-bottom: none; +} diff --git a/themes/default-bootstrap/css/modules/blockwishlist/blockwishlist.css b/themes/default-bootstrap/css/modules/blockwishlist/blockwishlist.css new file mode 100644 index 000000000..612247285 --- /dev/null +++ b/themes/default-bootstrap/css/modules/blockwishlist/blockwishlist.css @@ -0,0 +1,160 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* module blockwishlist */ +/* lnk on detail product page */ +#primary_block #wishlist_button { + font-weight: bold; +} +#primary_block #wishlist_button:before { + content: ""; + font-family: FontAwesome; + color: #fff; + font-size: 15px; + line-height: 31px; + border-radius: 50px; + -moz-border-radius: 50px; + -webkit-border-radius: 50px; + background: #929292; + width: 30px; + font-weight: normal; + text-align: center; + display: inline-block; + height: 30px; + margin-right: 6px; +} + +/* bt add */ +.add_wishlist_button a { + padding: 5px 7px 5px 18px; +} + +.add_wishlist_button a span { + z-index: 10; + display: block; + position: absolute; + top: -1px; + left: -12px; + height: 26px; + width: 26px; + background: url(img/icon/pict_add_wishlist.png) no-repeat 0 0 transparent; +} + +/* block */ +#wishlist_block #wishlist_block_list { + margin-bottom: 20px; +} +#wishlist_block #wishlist_block_list dl { + font-weight: normal; +} +#wishlist_block #wishlist_block_list dl.products.no-products { + font-weight: bold; + padding-bottom: 15px; + border-bottom: 1px solid #d6d4d4; +} +#wishlist_block #wishlist_block_list dl.products.no-products dt { + padding-top: 0px; + border-top: none; +} +#wishlist_block #wishlist_block_list dl.products { + border-bottom: 1px solid #d6d4d4; +} +#wishlist_block #wishlist_block_list dl.products dt { + padding-top: 20px; + border-top: 1px solid #d6d4d4; +} +#wishlist_block #wishlist_block_list dl.products dd { + padding-bottom: 20px; +} +#wishlist_block #wishlist_block_list dl.products dt.first_item { + padding-top: 0px; + border-top: none; +} +#wishlist_block #wishlist_block_list dl dt { + position: relative; + padding-right: 0px; +} +#wishlist_block #wishlist_block_list dl dd { + margin-left: 24px; +} +#wishlist_block .lnk .form-group { + margin-bottom: 20px; +} +#wishlist_block .lnk .form-group select { + max-width: 192px; +} +#wishlist_block .ajax_cart_block_remove_link { + font-size: 14px; + line-height: 14px; + color: #d3d2d2; + width: 14px; + height: 14px; + float: right; +} +#wishlist_block .ajax_cart_block_remove_link:hover { + color: #515151; +} +#wishlist_block .cart_block_product_name { + width: 85%; + display: inline-block; + font-weight: bold; +} +#wishlist_block .quantity-formated { + float: left; + margin-right: 5px; + width: 15px; +} + +#wishlist_block_list .price { + float: right; +} + +/* page in my account ************************************************************************* */ +#mywishlist td.wishlist_delete a { + font-size: 15px; +} + +/* wishlistLinkTop */ +#module-blockwishlist-mywishlist #block-order-detail #hideSendWishlist { + display: inline-block; +} + +#module-blockwishlist-mywishlist .wishlistLinkTop ul.display_list { + border-bottom: 1px dotted #ccc; + margin-bottom: 20px; +} + +#module-blockwishlist-mywishlist .wishlistLinkTop li { + float: left; +} + +#module-blockwishlist-mywishlist .wishlistLinkTop .display_list li a { + display: inline-block; + padding: 7px 11px 5px 22px; + color: #333; + background: url(img/arrow_right_2.png) no-repeat 10px 10px transparent; +} + +#module-blockwishlist-mywishlist .wishlistLinkTop #hideSendWishlist { + float: right; +} + +#module-blockwishlist-mywishlist .wishlistLinkTop #showBoughtProducts, +#module-blockwishlist-mywishlist .wishlistLinkTop #hideBoughtProductsInfos { + display: none; +} + +/* wlp_bought ****************************************** */ +/* wlp_bought_list */ +ul.wlp_bought_list li .inner-content { + position: relative; +} + +ul.wlp_bought_list li .lnkdel { + position: absolute; + top: 5px; + right: 5px; + display: block; + height: 12px; + width: 12px; + text-indent: -5000px; + background: url(img/icon/delete.gif) no-repeat 0 0; +} diff --git a/themes/default-bootstrap/css/modules/carriercompare/style.css b/themes/default-bootstrap/css/modules/carriercompare/style.css new file mode 100644 index 000000000..1c5fdb753 --- /dev/null +++ b/themes/default-bootstrap/css/modules/carriercompare/style.css @@ -0,0 +1,73 @@ +#compare_shipping .form-group { + line-height: normal; + margin-bottom: 10px; +} +#compare_shipping .form-group label { + margin-bottom: 6px; +} +#compare_shipping .form-group .form-control { + width: 263px; +} +#compare_shipping .form-group.last { + margin-bottom: 20px; +} +#compare_shipping .form-group.last input { + margin-bottom: 3px; +} +#compare_shipping .table { + background: #fff; +} +#compare_shipping .table thead tr th { + background: #fff; + padding: 4px 10px 3px 10px; +} +#compare_shipping .table tbody td { + margin: 0; +} +#compare_shipping .table tbody td.carrier_action { + width: 54px; + padding-left: 0; + padding-right: 0; + text-align: center; +} +#compare_shipping .table tbody td.carrier_action input { + margin: 0; +} + +#availableCarriers .table { + margin-bottom: 20px; +} + +#compare_shipping ul#carriercompare_errors_list { + color: red; +} + +#compare_shipping_form { + padding-bottom: 20px; +} + +#compare_shipping ul#carriercompare_errors_list li { + margin-left: 30px; + text-decoration: none; + list-style: none; +} + +#SE_AjaxDisplay { + text-align: center; + display: none; +} + +#SE_AjaxDisplay img { + width: 15px; +} + +.SE_SubmitRefreshCard button { + float: left; +} +.SE_SubmitRefreshCard button#carriercompare_submit { + margin-right: 10px; +} + +#carriercompare_errors { + display: none; +} diff --git a/themes/default-bootstrap/css/modules/favoriteproducts/favoriteproducts.css b/themes/default-bootstrap/css/modules/favoriteproducts/favoriteproducts.css new file mode 100644 index 000000000..25f9c5840 --- /dev/null +++ b/themes/default-bootstrap/css/modules/favoriteproducts/favoriteproducts.css @@ -0,0 +1,59 @@ +#favoriteproducts_block_account .favoriteproduct { + position: relative; + margin-bottom: 14px; + padding: 12px 8px; + border: 1px solid #eee; + border-radius: 3px 3px 3px 3px; +} + +.favoriteproduct a.product_img_link { + border: 1px solid #CCCCCC; + display: block; + float: left; + margin-right: 14px; + overflow: hidden; + position: relative; +} + +.favoriteproduct p.product_desc { + line-height: 16px; + overflow: hidden; + padding: 0; +} + +.favoriteproduct .remove { + position: absolute; + top: 10px; + right: 10px; +} + +.favoriteproduct .remove .icon { + cursor: pointer; +} + +/* lnk fiche produit */ +#usefull_link_block li#favoriteproducts_block_extra_add { + padding-left: 20px; + background: url(img/add_favorite.gif) no-repeat 0 0; + cursor: pointer; +} + +#usefull_link_block li#favoriteproducts_block_extra_remove { + padding-left: 20px; + background: url(img/del_favorite.gif) no-repeat 0 0; + cursor: pointer; +} + +ul#usefull_link_block li#favoriteproducts_block_extra_added { + padding-left: 20px; + background: url(img/add_favorite.gif) no-repeat 0 0; + cursor: pointer; + display: none; +} + +ul#usefull_link_block li#favoriteproducts_block_extra_removed { + padding-left: 20px; + background: url(img/add_favorite.gif) no-repeat 0 0; + cursor: pointer; + display: none; +} diff --git a/themes/default-bootstrap/css/modules/homefeatured/homefeatured.css b/themes/default-bootstrap/css/modules/homefeatured/homefeatured.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/modules/homeslider/bx_styles.css b/themes/default-bootstrap/css/modules/homeslider/bx_styles.css new file mode 100644 index 000000000..bdefa938f --- /dev/null +++ b/themes/default-bootstrap/css/modules/homeslider/bx_styles.css @@ -0,0 +1,198 @@ +/** + * BxSlider v4.0 - Fully loaded, responsive content slider + * http://bxslider.com + * + * Written by: Steven Wanderski, 2012 + * http://stevenwanderski.com + * (while drinking Belgian ales and listening to jazz) + * + * CEO and founder of bxCreative, LTD + * http://bxcreative.com + */ +/****************************************************************************** + Home Page Slider +*******************************************************************************/ +#homepage-slider { + padding-left: 0; + padding-right: 0; + padding-top: 30px; + margin-bottom: 30px; + max-width: 779px; +} + +/***************************************************************************** + BXSlider Styles +********************************************************************************/ +/** RESET AND LAYOUT +===================================*/ +.bx-wrapper { + position: relative; + padding: 0; + *zoom: 1; +} +.bx-wrapper a { + display: block; +} +.bx-wrapper img { + display: block; + max-width: 100%; + height: auto; +} + +/** THEME +===================================*/ +.bx-wrapper .bx-viewport { + width: 100%; +} + +.bx-wrapper .bx-pager, +.bx-wrapper .bx-controls-auto { + position: absolute; + bottom: -30px; + width: 100%; +} + +/* LOADER */ +.bx-wrapper .bx-loading { + min-height: 50px; + background: url(images/bx_loader.gif) center center no-repeat white; + height: 100%; + width: 100%; + position: absolute; + top: 0; + left: 0; + z-index: 2000; +} + +/* PAGER */ +.bx-wrapper .bx-pager { + text-align: center; + font-size: .85em; + font-family: Arial; + font-weight: bold; + color: #666; + padding-top: 20px; +} + +.bx-wrapper .bx-pager .bx-pager-item, +.bx-wrapper .bx-controls-auto .bx-controls-auto-item { + display: inline-block; + *zoom: 1; + *display: inline; +} + +.bx-wrapper .bx-pager.bx-default-pager a { + background: #666; + text-indent: -9999px; + display: block; + width: 10px; + height: 10px; + margin: 0 5px; + outline: 0; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +.bx-wrapper .bx-pager.bx-default-pager a:hover, +.bx-wrapper .bx-pager.bx-default-pager a.active { + background: #000; +} + +/* DIRECTION CONTROLS (NEXT / PREV) */ +.bx-wrapper .bx-prev { + left: 10px; + background: url(images/controls.png) no-repeat 0 -32px; +} + +.bx-wrapper .bx-next { + right: 10px; + background: url(images/controls.png) no-repeat -43px -32px; +} + +.bx-wrapper .bx-prev:hover { + background-position: 0 0; +} + +.bx-wrapper .bx-next:hover { + background-position: -43px 0; +} + +.bx-wrapper .bx-controls-direction a { + position: absolute; + top: 50%; + margin-top: -16px; + outline: 0; + width: 32px; + height: 32px; + text-indent: -9999px; + z-index: 9999; +} + +.bx-wrapper .bx-controls-direction a.disabled { + display: none; +} + +/* AUTO CONTROLS (START / STOP) */ +.bx-wrapper .bx-controls-auto { + text-align: center; +} + +.bx-wrapper .bx-controls-auto .bx-start { + display: block; + text-indent: -9999px; + width: 10px; + height: 11px; + outline: 0; + background: url(images/controls.png) -86px -11px no-repeat; + margin: 0 3px; +} + +.bx-wrapper .bx-controls-auto .bx-start:hover, +.bx-wrapper .bx-controls-auto .bx-start.active { + background-position: -86px 0; +} + +.bx-wrapper .bx-controls-auto .bx-stop { + display: block; + text-indent: -9999px; + width: 9px; + height: 11px; + outline: 0; + background: url(images/controls.png) -86px -44px no-repeat; + margin: 0 3px; +} + +.bx-wrapper .bx-controls-auto .bx-stop:hover, +.bx-wrapper .bx-controls-auto .bx-stop.active { + background-position: -86px -33px; +} + +/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */ +.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager { + text-align: left; + width: 80%; +} + +.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto { + right: 0; + width: 35px; +} + +/* IMAGE CAPTIONS */ +.bx-wrapper .bx-caption { + position: absolute; + bottom: 0; + left: 0; + background: #666\9; + background: rgba(80, 80, 80, 0.75); + width: 100%; +} + +.bx-wrapper .bx-caption span { + color: #fff; + font-family: Arial; + display: block; + font-size: .85em; + padding: 10px; +} diff --git a/themes/default-bootstrap/css/modules/homeslider/images/bx_loader.gif b/themes/default-bootstrap/css/modules/homeslider/images/bx_loader.gif new file mode 100644 index 000000000..f4ff40eda Binary files /dev/null and b/themes/default-bootstrap/css/modules/homeslider/images/bx_loader.gif differ diff --git a/themes/default-bootstrap/css/modules/homeslider/images/controls.png b/themes/default-bootstrap/css/modules/homeslider/images/controls.png new file mode 100644 index 000000000..28918dde0 Binary files /dev/null and b/themes/default-bootstrap/css/modules/homeslider/images/controls.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/accept.png b/themes/default-bootstrap/css/modules/productcomments/img/accept.png new file mode 100644 index 000000000..89c8129a4 Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/accept.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/bg_bt.gif b/themes/default-bootstrap/css/modules/productcomments/img/bg_bt.gif new file mode 100644 index 000000000..202d52afb Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/bg_bt.gif differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/bg_li.png b/themes/default-bootstrap/css/modules/productcomments/img/bg_li.png new file mode 100644 index 000000000..c970f18ef Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/bg_li.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/comment.png b/themes/default-bootstrap/css/modules/productcomments/img/comment.png new file mode 100644 index 000000000..7bc9233ea Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/comment.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/comments_delete.png b/themes/default-bootstrap/css/modules/productcomments/img/comments_delete.png new file mode 100644 index 000000000..6df7376d0 Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/comments_delete.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/delete.gif b/themes/default-bootstrap/css/modules/productcomments/img/delete.gif new file mode 100644 index 000000000..43c6ca876 Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/delete.gif differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/delete.png b/themes/default-bootstrap/css/modules/productcomments/img/delete.png new file mode 100644 index 000000000..08f249365 Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/delete.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/index.php b/themes/default-bootstrap/css/modules/productcomments/img/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default-bootstrap/css/modules/productcomments/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-bootstrap/css/modules/productcomments/img/note.png b/themes/default-bootstrap/css/modules/productcomments/img/note.png new file mode 100644 index 000000000..244e6ca04 Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/note.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/note_go.png b/themes/default-bootstrap/css/modules/productcomments/img/note_go.png new file mode 100644 index 000000000..49e54fd87 Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/note_go.png differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/star.gif b/themes/default-bootstrap/css/modules/productcomments/img/star.gif new file mode 100644 index 000000000..f7f80c2bf Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/star.gif differ diff --git a/themes/default-bootstrap/css/modules/productcomments/img/star1.gif b/themes/default-bootstrap/css/modules/productcomments/img/star1.gif new file mode 100644 index 000000000..6d647b432 Binary files /dev/null and b/themes/default-bootstrap/css/modules/productcomments/img/star1.gif differ diff --git a/themes/default-bootstrap/css/modules/productcomments/productcomments.css b/themes/default-bootstrap/css/modules/productcomments/productcomments.css new file mode 100644 index 000000000..63f104521 --- /dev/null +++ b/themes/default-bootstrap/css/modules/productcomments/productcomments.css @@ -0,0 +1,311 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +#product_comments_block_extra { + padding: 8px 10px 10px; + font-weight: bold; + line-height: 18px; + border: 1px solid #d6d4d4; + background: #fbfbfb; + margin: 39px 0 22px; +} + +.comments_advices { + padding-top: 2px; +} +.comments_advices li { + display: inline-block; + line-height: 30px; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + .comments_advices li { + display: block; + line-height: 20px; + } +} +.comments_advices a { + text-decoration: none; + color: #777; + position: relative; + margin-right: 8px; + line-height: 30px; + padding: 0; + display: inline-block; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 1199px) { + .comments_advices a { + float: none; + line-height: 20px; + } +} +.comments_advices a:before { + background: #929292; + border-radius: 50px; + -moz-border-radius: 50px; + -webkit-border-radius: 50px; + color: white; + display: inline-block; + font-family: FontAwesome; + font-size: 15px; + font-weight: normal; + height: 30px; + line-height: 30px; + margin-right: 6px; + text-align: center; + width: 30px; + /*max 1199px*/ +} +@media (max-width: 1199px) { + .comments_advices a:before { + display: none; + } +} +.comments_advices a.reviews:before { + content: ""; +} +.comments_advices a.open-comment-form:before { + content: ""; +} +.comments_advices a:hover { + color: #333; +} +.comments_advices a.reviews { + border-right: 1px solid #d6d4d4; + padding-right: 30px; + margin-right: 9px; + /* min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + .comments_advices a.reviews { + margin-right: 0; + padding: 0; + border: none; + } +} + +#product_comments_block_extra .comments_note { + margin-bottom: 5px; +} +#product_comments_block_extra #product_comments_block_extra .comments_note span, +#product_comments_block_extra .star_content { + float: left; + color: #333; +} +#product_comments_block_extra .star_content { + margin-top: 1px; +} +#product_comments_block_extra div.star { + background: url(img/star.gif) no-repeat 0 0; +} +#product_comments_block_extra div.star_on { + background: url(img/star.gif) no-repeat 0 -13px; +} +#product_comments_block_extra .comments_advices { + clear: both; +} + +/* pop-in add grade/advice ********************************************************************* */ +#fancybox-wrap { + width: 585px; +} + +#fancybox-content { + width: 585px; + border-width: 0; +} + +.new_comment_form_content .intro_form { + padding-bottom: 10px; + font-weight: bold; + font-size: 12px; +} + +#new_comment_form { + width: 465px; + overflow: hidden; + color: #333; + text-align: left; + /*max 767px*/ +} +@media (max-width: 767px) { + #new_comment_form { + width: 275px; + } +} +#new_comment_form h2 { + margin-bottom: 10px; +} +#new_comment_form .title { + padding: 10px; + font-size: 13px; + color: #fff; + text-transform: uppercase; + background: #333333; +} +#new_comment_form ul.grade_content { + list-style-type: none; +} +#new_comment_form .grade_content li { + width: 50%; +} +#new_comment_form .product { + padding: 15px; +} +#new_comment_form .product img { + border: 1px solid #d6d4d4; +} +#new_comment_form .product .product_desc { + line-height: 18px; + color: #666666; +} +#new_comment_form .product .product_desc .product_name { + padding: 10px 0 5px; + font-size: 13px; + color: black; +} +#new_comment_form .grade_content { + margin: 0 0 20px 0; +} +#new_comment_form .grade_content span, +#new_comment_form .grade_content span { + display: inline-block; + padding: 0 10px; + width: 150px; + /* 160 */ + font-weight: bold; +} +#new_comment_form .grade_content .cancel { + margin-right: 5px; +} +#new_comment_form .new_comment_form_content { + padding: 15px; + background: #f8f8f8; +} +#new_comment_form label { + display: block; + margin: 12px 0 4px 0; + font-weight: bold; + font-size: 12px; +} +#new_comment_form input, +#new_comment_form textarea { + padding: 0 5px; + height: 28px; + width: 100%; + border: 1px solid #ccc; + background: #fff; +} +#new_comment_form textarea { + height: 80px; +} +#new_comment_form .submit { + margin-top: 20px; + padding: 0; + font-size: 13px; + text-align: right; +} +#new_comment_form #criterions_list { + border-bottom: 1px solid #CCC; + padding-bottom: 15px; + list-style-type: none; +} +#new_comment_form #criterions_list li { + margin-bottom: 10px; +} +#new_comment_form #criterions_list label { + display: inline; + float: left; + margin: 0 10px 0 0; +} +#new_comment_form #criterions_list .star_content { + float: left; +} +#new_comment_form #new_comment_form_footer { + margin-top: 20px; + font-size: 12px; +} + +/* TAB COMMENTS ******************************************************************************** */ +#product_comments_block_tab { + margin: 0 0 20px 0; +} +#product_comments_block_tab div.comment { + margin: 0 0 14px; + padding-top: 14px; + border-top: 1px solid #d6d4d4; +} +#product_comments_block_tab div.comment:first-child { + padding: 0; + border: none; +} +#product_comments_block_tab div.comment div.comment_author { + padding: 0 20px; + line-height: 18px; +} +#product_comments_block_tab div.comment div.comment_author span { + font-weight: bold; +} +#product_comments_block_tab div.comment div.comment_author span, +#product_comments_block_tab div.comment .star_content { + float: left; +} +#product_comments_block_tab div.comment .star_content { + margin: 0 0 0 5px; +} +#product_comments_block_tab div.star, +#product_comments_block_tab div.star_on { + background: url(img/star.gif) no-repeat 0 0 transparent; +} +#product_comments_block_tab div.star_on { + background-position: 0 -13px; +} +#product_comments_block_tab .comment_author_infos { + clear: both; + padding-top: 9px; +} +#product_comments_block_tab .comment_author_infos strong { + display: block; + color: #333; +} +#product_comments_block_tab .comment_author_infos em { + color: #adadad; +} +#product_comments_block_tab div.comment div.comment_details { + overflow: hidden; + border-left: 1px solid #d6d4d4; + /*max 767px */ +} +@media (max-width: 991px) { + #product_comments_block_tab div.comment div.comment_details { + border-left: none; + } +} +#product_comments_block_tab div.comment_details ul { + list-style-type: none; + margin: 0; +} +#product_comments_block_tab div.comment_details li { + padding: 2px 0 2px 12px; + background: url(img/bg_li.png) no-repeat 1px 45% white; +} +#product_comments_block_tab div.comment_details .title_block { + text-transform: capitalize; +} +#product_comments_block_tab a { + text-decoration: none; + font-weight: bold; +} +#product_comments_block_tab span.report_btn { + cursor: pointer; +} +#product_comments_block_tab span.report_btn:hover { + text-decoration: underline; +} + +.fl { + float: left; +} + +.fr { + float: right; +} diff --git a/themes/default-bootstrap/css/modules/productscategory/productscategory.css b/themes/default-bootstrap/css/modules/productscategory/productscategory.css new file mode 100644 index 000000000..20b48ca69 --- /dev/null +++ b/themes/default-bootstrap/css/modules/productscategory/productscategory.css @@ -0,0 +1,50 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +h2.productscategory_h2 { + margin: 40px 0 20px 0; + padding: 10px 0; + border-bottom: 1px solid #ccc; + font-size: 18px; + color: #333333; +} + +#productscategory { + overflow: auto; + margin-left: -10px; +} + +#productscategory_list { + overflow: hidden; +} +#productscategory_list ul { + list-style-type: none; + overflow: hidden; +} +#productscategory_list li a.lnk_img { + display: block; +} + +#productscategory_noscroll { + height: 220px; + width: 100%; + margin-bottom: 30px; +} + +#productscategory_scroll_left, #productscategory_scroll_right { + background: url("img/thumbs_left.gif") no-repeat center; + text-indent: -3000px; + display: block; + width: 9px; + height: 18px; + float: left; + margin-top: 30px; +} + +#productscategory_scroll_right { + background-image: url("img/thumbs_right.gif"); +} + +@media screen and (-webkit-min-device-pixel-ratio: 0) { + #productscategory_list li { + margin: 0 7px; + } +} diff --git a/themes/default-bootstrap/css/modules/stripejs/stripe-prestashop.css b/themes/default-bootstrap/css/modules/stripejs/stripe-prestashop.css new file mode 100644 index 000000000..0a6dbd629 --- /dev/null +++ b/themes/default-bootstrap/css/modules/stripejs/stripe-prestashop.css @@ -0,0 +1,138 @@ +#stripe-payment-form { + line-height: 20px; + padding-bottom: 7px; +} +#stripe-payment-form .form-group { + margin-bottom: 5px; +} +#stripe-payment-form .form-group input.stripe-card-number { + width: 263px; +} +#stripe-payment-form .block-left { + float: left; + width: 188px; +} +#stripe-payment-form .block-left .form-control { + width: 72px; + float: left; + margin-right: 10px; +} +#stripe-payment-form .block-left a { + margin-top: 5px; +} +#stripe-payment-form img.cc-icon { + float: left; + margin-right: 10px; +} +#stripe-payment-form .stripe-card-cvc-info { + display: inline-block; + position: relative; + font-style: italic; + text-decoration: underline; +} +#stripe-payment-form .stripe-card-cvc-info:hover { + text-decoration: none; +} +#stripe-payment-form .stripe-card-expiry-year.form-control, #stripe-payment-form .stripe-card-expiry-month.form-control { + float: left; +} +#stripe-payment-form .stripe-card-expiry-year.form-control { + width: 68px; +} +#stripe-payment-form .stripe-card-expiry-month.form-control { + width: 115px; + margin-right: 10px; +} +#stripe-payment-form .stripe-line { + margin-bottom: 11px; +} +#stripe-payment-form .ckeckbox { + margin-bottom: 11px; +} +#stripe-payment-form .ckeckbox label { + font-weight: normal; +} + +a.stripe-card-cvc-info div.cvc-info { + background-color: #BDE5F8; + border: #00529B solid 1px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + color: #00529B!important; + display: none; + font-style: normal; + padding: 8px; + position: absolute; + right: -320px; + top: -10px; + text-decoration: none; + width: 300px; +} + +a.stripe-card-cvc-info:hover div.cvc-info { + display: block; +} + +div.cvc-info:hover { + cursor: default; +} + +img.disable { + opacity: 0.3; +} + +img.enable { + opacity: 1; +} + +#stripe-payment-form-cc .stripe-submit-button-cc { + margin-left: 5px; +} + +#stripe-payment-form-cc a { + display: inline; + font-size: 11px; + text-decoration: underline; +} + +div.stripe-payment-errors { + margin: 0 0 10px 0; + padding: 10px; + border: 1px solid #900; + font-size: 13px; + background: #FCC; + display: none; +} + +div.stripe-card-deleted { + margin: 0 0 10px 0; + padding: 10px; + border: 1px solid #ade27d; + font-size: 13px; + background: #d3ffab; + display: none; + text-transform: none; +} + +#stripe-translations, #stripe-ajax-loader { + display: none; +} + +#stripe_save_token { + vertical-align: top; +} + +a#stripe_error { + display: none; +} + +#stripe-payment-form input, #stripe-payment-form select { + margin-left: 0; +} + +#stripe-replace-card, #stripe-delete-card { + border: none; + padding: 0; + cursor: pointer; +} diff --git a/themes/default-bootstrap/css/my-account.css b/themes/default-bootstrap/css/my-account.css new file mode 100644 index 000000000..e1052c3c7 --- /dev/null +++ b/themes/default-bootstrap/css/my-account.css @@ -0,0 +1,70 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +#my-account .addresses-lists { + margin-bottom: 30px; +} +#my-account ul.myaccount-link-list li { + overflow: hidden; + padding-bottom: 10px; +} +#my-account ul.myaccount-link-list li a { + display: block; + overflow: hidden; + font: 600 16px/20px "Open Sans", sans-serif; + color: #555454; + text-shadow: 0px 1px white; + text-transform: uppercase; + text-decoration: none; + position: relative; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #ededed)); + background: -webkit-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -o-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: -ms-linear-gradient(top, #f7f7f7 0%, #ededed 100%); + background: linear-gradient(to bottom, #f7f7f7 0%, #ededed 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#ededed',GradientType=0 ); + border: 1px solid; + border-color: #cacaca #b7b7b7 #9a9a9a #b7b7b7; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +#my-account ul.myaccount-link-list li a i { + font-size: 25px; + color: #fd7e01; + position: absolute; + left: 0; + top: 0; + width: 52px; + height: 100%; + padding: 10px 0 0 0; + text-align: center; + border: 1px solid #fff; + -moz-border-radius-topleft: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; +} +#my-account ul.myaccount-link-list li a span { + display: block; + padding: 13px 15px 15px 17px; + overflow: hidden; + border: 1px solid; + border-color: #fff #fff #fff #c8c8c8; + -moz-border-radius-topright: 5px; + -webkit-border-top-right-radius: 5px; + border-top-right-radius: 5px; + -moz-border-radius-bottomright: 5px; + -webkit-border-bottom-right-radius: 5px; + border-bottom-right-radius: 5px; + margin-left: 52px; +} +#my-account ul.myaccount-link-list li a:hover { + filter: none; + background: #e7e7e7; + border-color: #9e9e9e #c2c2c2 #c8c8c8 #c2c2c2; +} diff --git a/themes/default-bootstrap/css/order-opc.css b/themes/default-bootstrap/css/order-opc.css new file mode 100644 index 000000000..b49b62700 --- /dev/null +++ b/themes/default-bootstrap/css/order-opc.css @@ -0,0 +1,80 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/******************************************************** + One-Page Checkout Styles +********************************************************/ +#order-opc { + line-height: 20px; +} +#order-opc .box { + padding-bottom: 20px; +} +#order-opc .cart_navigation { + margin-bottom: 53px; +} +#order-opc .page-heading.step-num { + position: relative; + padding-left: 45px; +} +#order-opc .page-heading.step-num span { + font-weight: bold; + font-size: 42px; + line-height: 51px; + font-style: italic; + color: #333; + position: absolute; + left: 10px; + top: -14px; +} +#order-opc .form-group { + margin-bottom: 2px; +} +#order-opc .form-group .form-control { + width: 271px; +} +#order-opc .lost_password { + display: inline-block; + text-decoration: underline; + margin: 5px 0 14px; +} +#order-opc .lost_password:hover { + text-decoration: none; +} +#order-opc .title_block { + font-weight: bold; + color: #333; + padding: 3px 0 6px; +} +#order-opc .opc-button { + padding: 11px 0 0 0; +} +#order-opc ul.bullet { + line-height: 22px; + margin-bottom: 5px; +} +#order-opc .date-select { + padding-bottom: 10px; +} +#order-opc .opc-add-save { + border-top: 1px solid #d6d4d4; + margin-top: 20px; + padding-top: 20px; +} +#order-opc #message { + margin-bottom: 35px; +} +#order-opc #opc_payment_methods { + margin-bottom: 30px; +} +#order-opc #opc_account { + margin-bottom: 30px; +} +#order-opc .address_delivery.select { + margin-bottom: 15px; +} +#order-opc #address_invoice_form.form-group { + margin-bottom: 30px; +} + +#new_account_form .id_state, #new_account_form .dni, #new_account_form .postcode { + display: none; +} diff --git a/themes/default-bootstrap/css/product.css b/themes/default-bootstrap/css/product.css new file mode 100644 index 000000000..c474ad0b7 --- /dev/null +++ b/themes/default-bootstrap/css/product.css @@ -0,0 +1,1042 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/* product desc */ +/* primary_block ***************************************************************************** */ +#primary_block { + margin-bottom: 40px; +} + +.top-hr { + height: 5px; + background: #c4c4c4; + margin: 2px 0 31px; +} + +.product-image { + border: 1px solid #d6d4d4; + background: white; + padding: 5px; + display: block; + margin-bottom: 14px; +} +.product-image img { + max-width: 100%; + width: 100%; + height: auto; +} + +.product-heading-h5 { + color: #333; + font-weight: bold; + margin: 3px 0 8px; +} + +.box-security .product-heading-h5 { + margin: 3px 0 -8px; + /*max 1199px*/ +} +@media (max-width: 1199px) { + .box-security .product-heading-h5 { + margin-bottom: 8px; + } +} + +.name-product { + margin-bottom: 5px; +} +.name-product a { + font-size: 15px; + line-height: 18px; + color: #3a3939; +} +.name-product a:hover { + color: #999999; +} + +.product-box { + width: 178px; + margin: 0 10px; + float: left; +} + +h3.page-product-heading { + color: #555454; + text-transform: uppercase; + font-family: "Open Sans", sans-serif; + font-weight: 600; + font-size: 18px; + line-height: 20px; + padding: 14px 20px 17px; + margin: 0 0 20px; + position: relative; + border: 1px solid #d6d4d4; + border-bottom: none; + background: #fbfbfb; +} + +.page-product-box { + padding-bottom: 10px; +} + +img { + max-width: 100%; + height: auto; +} + +/* pb-right-column ***************************************************************************** */ +#pb-right-column #image-block { + position: relative; + padding: 5px; + border: 1px solid #dbdbdb; + background: #fff; + /*max 767px*/ +} +@media (max-width: 767px) { + #pb-right-column #image-block { + width: 280px; + margin: 0 auto; + } +} +#pb-right-column #image-block img { + background: #fbfbfb; + width: 100%; +} +#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: 20px; + left: 50%; + margin-left: -68px; + display: block; + padding: 10px 0; + text-align: center; + line-height: 22px; + color: #777676; + width: 136px; + text-align: center; + font-weight: bold; + background: rgba(255, 255, 255, 0); + -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0); + -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0); +} +#pb-right-column #image-block #view_full_size .span_link:after { + font-family: FontAwesome; + color: #c0c0c0; + font-size: 20px; + line-height: 22px; + content: ""; + font-weight: normal; + margin: 0 0 0 4px; +} +#pb-right-column #image-block #view_full_size .span_link:hover:after { + color: #333; +} + +/* miniatures */ +#pb-right-column #views_block { + margin-top: 10px; +} + +@media (max-width: 767px) { + #views_block { + width: 280px; + margin: 0 auto; + } +} +#thumbs_list { + overflow: hidden; + float: left; + width: 392px; + /*min 992px max 1199px*/ + /* min 768px max 991px*/ + /*max 767px*/ +} +@media (min-width: 992px) and (max-width: 1199px) { + #thumbs_list { + width: 290px; + } +} +@media (min-width: 768px) and (max-width: 991px) { + #thumbs_list { + width: 164px; + } +} +@media (max-width: 767px) { + #thumbs_list { + width: 194px; + } +} +#thumbs_list ul#thumbs_list_frame { + list-style-type: none; + padding-left: 0; + overflow: hidden; + height: 100px; +} +#thumbs_list li { + float: left; + height: 90px; + width: 90px; + cursor: pointer; + border: 1px solid #dbdbdb; + margin-right: 9px; + line-height: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + #thumbs_list li { + width: 76px; + height: 76px; + } +} +#thumbs_list li:first-child { + margin-left: 0; + margin-right: 9px; +} +#thumbs_list li.last { + margin-right: 0; +} +#thumbs_list li a { + display: block; + border: 3px solid #fff; + -webkit-transition: all 0s ease; + -moz-transition: all 0s ease; + -o-transition: all 0s ease; + transition: all 0.3s ease; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + background: #fbfbfb; +} +#thumbs_list li a:hover, #thumbs_list li a.shown { + border-color: #dbdbdb; +} +#thumbs_list li img { + border: 2px solid #fff; + width: 82px; + height: 82px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + #thumbs_list li img { + width: 68px; + height: 68px; + } +} + +span.view_scroll_spacer { + float: left; + width: 39px; + padding-left: 12px; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + span.view_scroll_spacer { + padding-left: 6px; + width: 28px; + } +} + +#view_scroll_left, +#view_scroll_right { + margin-top: 38px; + height: 20px; + width: 20px; + line-height: 0; + font-size: 0; + overflow: hidden; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + #view_scroll_left, + #view_scroll_right { + margin-top: 28px; + } +} +#view_scroll_left:before, +#view_scroll_right:before { + padding-left: 2px; + color: #c0c0c0; + font-family: FontAwesome; + font-size: 20px; + line-height: 22px; +} +#view_scroll_left:hover:before, +#view_scroll_right:hover:before { + color: #333; +} + +#view_scroll_right { + float: left; +} +#view_scroll_right:before { + content: ""; +} + +#view_scroll_left:before { + content: ""; + padding-right: 2px; +} + +.resetimg { + padding: 10px 0 0; +} + +/* link list */ +#usefull_link_block { + list-style-type: none; +} +#usefull_link_block li { + float: left; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + #usefull_link_block li { + float: none !important; + } +} +#usefull_link_block li a { + color: #777676; + font-weight: bold; + position: relative; + padding-left: 30px; + line-height: 22px; + display: inline-block; +} +#usefull_link_block li a:before { + font-family: FontAwesome; + color: #333; + font-size: 19px; + line-height: 24px; + position: absolute; + top: -2px; + left: 0; + font-weight: normal; +} +#usefull_link_block li a:hover { + color: #000; +} +#usefull_link_block li.print { + border-left: 1px solid #d6d4d4; + padding-left: 20px; + margin-left: 20px; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + #usefull_link_block li.print { + margin: 8px 0 0; + padding: 0; + border: none; + } +} +#usefull_link_block li.print a:before { + content: ""; +} +#usefull_link_block li.sendtofriend a:before { + content: ""; +} + +/* pb-left-column ****************************************************************************** */ +#pb-left-column { + margin-bottom: 30px; +} + +#product p#loyalty { + padding: 17px 0 15px 35px; + border-top: 1px solid #d6d4d4; + border-bottom: 1px solid #d6d4d4; + margin: 10px 0 -5px; + position: relative; +} +#product p#loyalty b { + color: #333; +} +#product p#loyalty:before { + content: ""; + font-family: FontAwesome; + color: #cfcccc; + font-size: 26px; + line-height: 28px; + position: absolute; + top: 16px; + left: 0; +} + +#pb-left-column h1 { + padding-bottom: 16px; + font-size: 20px; + color: #3a3939; +} + +#pb-left-column #product_reference { + margin-bottom: 6px; +} +#pb-left-column #product_reference span { + font-weight: bold; + color: #333; +} + +#pb-left-column #short_description_block { + color: #666; +} + +#pb-left-column #short_description_block .buttons_bottom_block { + display: none; +} + +#short_description_content p { + line-height: 18px; +} + +#page .rte { + padding: 0 20px 20px; +} + +#page .rte p { + margin-bottom: 0; +} + +/* form */ +#pb-left-column #buy_block { + margin-top: 10px; +} + +/* buy_block */ +#pb-left-column p { + margin-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; +} + +#short_description_block #short_description_content { + padding: 0 0 15px; +} + +/* color_picker */ +#pb-left-column #color_picker p { + padding-bottom: 5px; + font-weight: 700; +} + +#attributes fieldset { + padding-bottom: 3px; +} + +#attributes fieldset label { + vertical-align: top; + display: block; +} + +#attributes .attribute_list { + display: inline-block; +} + +.ie7 #attributes .attribute_list { + display: inline; + zoom: 1; + float: right; +} + +#attributes .attribute_list ul { + list-style: none; + clear: both; +} + +#attributes .attribute_list ul li { + float: left; + margin-right: 10px; +} + +#attributes .attribute_list input.attribute_radio { + float: left; + margin-left: 3px; +} + +#attributes .attribute_list div.radio, +#attributes .attribute_list div.radio span, +#attributes .attribute_list div.radio input { + float: none; + display: inline-block; +} + +.ie7 #attributes .attribute_list span { + margin-top: 1px; +} + +#attributes .attribute_list #color_to_pick_list { + list-style-type: none; +} + +#attributes .attribute_list #color_to_pick_list li { + float: left; + margin: 0 3px 3px 0; + padding: 1px; + border: 1px solid #d6d4d4; + clear: none; +} + +#attributes .attribute_list #color_to_pick_list li.selected { + border: 1px solid #4d4d4d; +} + +#attributes .attribute_list #color_to_pick_list a.color_pick { + display: block; + height: 22px; + width: 22px; +} + +.product_attributes, +.box-cart-bottom { + -webkit-box-shadow: inset 0 6px 6px rgba(0, 0, 0, 0); + -moz-box-shadow: inset 0 6px 6px rgba(0, 0, 0, 0); + box-shadow: inset 0 6px 6px rgba(0, 0, 0, 0); + padding: 19px 19px 17px; +} + +.box-cart-bottom { + padding: 18px 19px 12px; +} + +.box-info-product #add_to_cart { + padding: 0; + border-top: 1px solid #0079b6; + border-right: 1px solid #006fa8; + border-left: 1px solid #006fa8; + border-bottom: 1px solid #012740; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -ms-border-radius: 5px; + -o-border-radius: 5px; + border-radius: 5px; + position: relative; + display: inline-block; +} +.box-info-product #add_to_cart:before { + font-family: FontAwesome; + position: absolute; + top: 0; + left: 0; + bottom: 0; + color: #fff; + font-size: 25px; + line-height: 47px; + text-shadow: 0 1px #015883; + content: ""; + z-index: 10; + width: 51px; + text-align: center; + border-top: 1px solid #06b2e6; + border-right: 1px solid #06b2e6; + border-left: 1px solid #06b2e6; + border-bottom: 1px solid #06b2e6; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #009ad0), color-stop(100%, #007ab7)); + background-image: -webkit-linear-gradient(#009ad0, #007ab7); + background-image: -moz-linear-gradient(#009ad0, #007ab7); + background-image: -o-linear-gradient(#009ad0, #007ab7); + background-image: linear-gradient(#009ad0, #007ab7); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#009ad0', endColorstr='#007ab7',GradientType=0 ); + -webkit-border-radius: 5px 0 0 5px; + -moz-border-radius: 5px 0 0 5px; + -ms-border-radius: 5px 0 0 5px; + -o-border-radius: 5px 0 0 5px; + border-radius: 5px 0 0 5px; + /*max 991px*/ +} +@media (max-width: 991px) { + .box-info-product #add_to_cart:before { + display: none; + } +} +.box-info-product #add_to_cart:after { + background: url(../img/border-1.gif) repeat-y 0 0; + position: absolute; + top: 0; + bottom: 0; + left: 51px; + content: ""; + width: 1px; + z-index: 10; + /* max 991px*/ +} +@media (max-width: 991px) { + .box-info-product #add_to_cart:after { + display: none; + } +} + +.box-info-product .exclusive { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #009ad0), color-stop(100%, #007ab7)); + background-image: -webkit-linear-gradient(#009ad0, #007ab7); + background-image: -moz-linear-gradient(#009ad0, #007ab7); + background-image: -o-linear-gradient(#009ad0, #007ab7); + background-image: linear-gradient(#009ad0, #007ab7); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#009ad0', endColorstr='#007ab7',GradientType=0 ); + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -ms-border-radius: 5px; + -o-border-radius: 5px; + border-radius: 5px; + font-weight: bold; + font-size: 20px; + line-height: 22px; + border-top: 1px solid #06b2e6; + border-right: 1px solid #06b2e6; + border-left: 1px solid #06b2e6; + border-bottom: 1px solid #06b2e6; + text-shadow: 0 1px #015883; + padding: 12px 36px 14px 82px; + text-align: right; + color: #fff; + display: block !important; + /* max 1199px*/ + /*max 991px*/ +} +@media (max-width: 1199px) { + .box-info-product .exclusive { + padding: 12px 22px 14px 70px; + font-size: 14px; + } +} +@media (max-width: 991px) { + .box-info-product .exclusive { + padding: 8px 12px 10px; + text-align: left; + } +} +.box-info-product .exclusive:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #007ab7), color-stop(100%, #009ad0)); + background-image: -webkit-linear-gradient(#007ab7, #009ad0); + background-image: -moz-linear-gradient(#007ab7, #009ad0); + background-image: -o-linear-gradient(#007ab7, #009ad0); + background-image: linear-gradient(#007ab7, #009ad0); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007ab7', endColorstr='#009ad0',GradientType=0 ); + background-position: 0 0; +} + +/* table_data_sheet */ +.table-data-sheet { + border-bottom: 1px solid #d6d4d4; + width: 100%; + margin: 0 0 20px; + background: #fff; +} +.table-data-sheet tr { + border-top: 1px solid #d6d4d4; +} +.table-data-sheet tr.even { + background: #fdfdfd; +} +.table-data-sheet tr td:first-child { + border-right: 1px solid #d6d4d4; + width: 30%; + font-weight: bold; + color: #333; +} +.table-data-sheet tr td { + padding: 10px 20px 11px; +} + +/* table produst-discounts */ +table.table-produst-discounts { + border: none; + border-bottom: 1px solid #d6d4d4; + border-right: 1px solid #d6d4d4; + width: 50%; + margin: 0 0 20px; + background: #fff; +} +table.table-produst-discounts tr th { + background: #fbfbfb; + color: #333; + font-weight: bold; + border: none; + font-weight: bold; +} +table.table-produst-discounts tr td, +table.table-produst-discounts tr th { + border-left: 1px solid #d6d4d4; + width: 33%; + padding: 10px 20px 11px; + border-top: 1px solid #d6d4d4; + border-right: none; + text-shadow: none; + text-transform: none; + font-weight: 13px; + line-height: 18px; + border-bottom: none; +} + +/* accessories */ +.accessories-block .block_description { + display: none; +} +.accessories-block .exclusive span { + font-size: 13px; + line-height: 18px; + padding: 2px 8px 3px; + text-decoration: none; +} +.accessories-block .exclusive span:focus, .accessories-block .exclusive span:active { + text-decoration: none; +} + +/* attributes */ +.box-info-product { + background: #f6f6f6; + border: 1px solid #d2d0d0; + border-top: 1px solid #b0afaf; + border-bottom: 1px solid #b0afaf; +} +.box-info-product p { + margin-bottom: 7px; +} + +/* quantity_wanted */ +#quantity_wanted_p input { + width: 78px; + height: 27px; + padding: 0 6px; + border: 1px solid #d6d4d4; + /*min 768px max 991px*/ +} +@media (min-width: 768px) and (max-width: 991px) { + #quantity_wanted_p input { + width: 100%; + margin-bottom: 4px; + } +} +#quantity_wanted_p button { + margin-top: -2px; +} +#quantity_wanted_p label { + display: block; + margin-bottom: 7px; +} + +/* availability_statut */ +#availability_statut span#availability_label, +#availability_date_label { + display: inline-block; + width: 125px; + font-weight: 700; + font-size: 12px; + text-align: right; +} + +#quantityAvailable { + color: #333333; + font-size: 13px; + line-height: 18px; + font-weight: bold; +} + +#quantityAvailableTxt, +#availability_value, +#last_quantities { + color: #fff; + font-weight: bold; + line-height: 18px; + display: inline-block; + padding: 3px 8px 4px; + background: #46a74e; + border: 1px solid #36943e; + margin-left: 5px; +} + +#last_quantities { + background: #ff7430; + border: 1px solid #ea5e1a; + padding: 4px 8px 3px; +} + +#availability_statut, +#pQuantityAvailable { + display: inline-block; +} + +#pQuantityAvailable span { + font-weight: bold; + color: #333; +} + +#availability_statut #availability_value.warning_inline { + background-color: #fe9126; + border-color: #e4752b; + text-shadow: 1px 1px #e68322; + margin: 0; +} + +/* box-security */ +.box-security { + border-top: 1px solid #dfdede; + padding: 19px 19px 6px; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #fbfbfb)); + background-image: -webkit-linear-gradient(#ffffff, #fbfbfb); + background-image: -moz-linear-gradient(#ffffff, #fbfbfb); + background-image: -o-linear-gradient(#ffffff, #fbfbfb); + background-image: linear-gradient(#ffffff, #fbfbfb); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#fbfbfb',GradientType=0 ); +} + +/* prices */ +.content_prices { + padding: 13px 19px; +} + +#buy_block p.price { + padding: 0; +} + +.discount { + display: none; +} + +#buy_block p#old_price { + padding-bottom: 15px; + font-size: 14px; + text-decoration: line-through; +} + +#old_price { + display: inline-block; + font-family: "Open Sans", sans-serif; + font-size: 17px; + line-height: 23px; + text-decoration: line-through; +} + +.our_price_display { + font-weight: 600; + font-size: 29px; + line-height: 32px; + font-family: "Open Sans", sans-serif; + color: #333; + /*max 991px*/ +} +@media (max-width: 991px) { + .our_price_display { + font-size: 26px; + line-height: 28px; + } +} + +#reduction_percent, +#reduction_amount { + display: inline-block; + margin-right: 10px; + padding: 1px 2px; + font-weight: 600; + font-family: "Open Sans", sans-serif; + font-size: 21px; + line-height: 23px; + color: #fff; + background: #f13340; + border: 1px solid #d02a2c; +} + +#reduction_percent span, #reduction_amount span { + display: block; +} + +/* online_only */ +#pb-left-column p.online_only { + font-weight: bold; + font-size: 13px; + color: #f13340; + text-align: left; +} + +/* 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: 13px; +} + +.buttons_bottom_block #wishlist_button { + font-weight: 700; +} + +/* SEND TO FRIEND (pop-in) ##################################################################### */ +#send_friend_form { + width: 555px; + overflow: hidden; + /*max 767px*/ +} +@media (max-width: 767px) { + #send_friend_form { + width: 280px; + } +} + +#send_friend_form .product img { + margin: 0 0 10px 0; + border: 1px solid #ccc; +} + +#send_friend_form .product .product_desc p { + padding: 0; + color: #333; +} + +#send_friend_form .product .product_desc p.product_name { + font-size: 12px; + color: #000; +} + +#send_friend_form .form_container { + padding: 10px 15px; + border: 1px solid #ccc; + background: #eee; +} + +#send_friend_form .form_container p.intro_form { + padding-bottom: 6px; + font-weight: 700; + font-size: 13px; + color: #333; +} + +#send_friend_form .form_container p.txt_required { + padding-bottom: 0; + color: #666; +} + +#send_friend_form .form_container .text { + padding-bottom: 10px; +} + +#send_friend_form .form_container .text label { + display: block; + padding: 0; + width: 100%; + font-size: 12px; +} + +#send_friend_form .form_container .text input { + padding: 0 5px; + height: 22px; + width: 100%; + 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 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: block; + vertical-align: top; +} + +.customizationUploadLine textarea { + width: 50%; + border: 1px solid #d6d4d4; +} + +#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-bootstrap/css/product_list.css b/themes/default-bootstrap/css/product_list.css new file mode 100644 index 000000000..4ba56dd55 --- /dev/null +++ b/themes/default-bootstrap/css/product_list.css @@ -0,0 +1,263 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/******************************************************* + Product list Styles +********************************************************/ +ul.product_list .availability span { + display: inline-block; + color: #fff; + font-weight: bold; + padding: 3px 8px 4px 8px; + margin-bottom: 20px; +} +ul.product_list .availability span.available-now { + background: #46a74e; + border: 1px solid #36943e; +} +ul.product_list .availability span.out-of-stock { + background: #ff7430; + border: 1px solid #ea5e1a; +} +ul.product_list .color-list-container { + margin-bottom: 12px; +} +ul.product_list .color-list-container ul li { + display: inline-block; + border: 1px solid #d6d4d4; +} +ul.product_list .color-list-container ul li a { + display: block; + width: 23px; + height: 23px; + margin: 1px; +} + +/******************************************************* + Product list(Grid) Styles +********************************************************/ +ul.product_list.grid > li { + margin-bottom: 20px; + text-align: center; +} +ul.product_list.grid > li .product-container { + background: #fff; + padding: 0; + position: relative; +} +ul.product_list.grid > li .product-container .product-image-container { + border: 1px solid #d6d4d4; + padding: 9px; + margin-bottom: 13px; + position: relative; +} +ul.product_list.grid > li .product-container .product-image-container .content_price { + position: absolute; + left: 0; + bottom: -1px; + width: 100%; + background: url(../img/price-container-bg.png); + padding: 9px 0; + display: none; +} +ul.product_list.grid > li .product-container .product-image-container .content_price span { + color: #fff; +} +ul.product_list.grid > li .product-container h5 { + padding: 0 15px 7px 15px; + min-height: 53px; +} +ul.product_list.grid > li .product-container .product-desc { + display: none; +} +ul.product_list.grid > li .product-container .content_price { + padding-bottom: 9px; + line-height: 21px; +} +ul.product_list.grid > li .product-container .old-price, ul.product_list.grid > li .product-container .price, ul.product_list.grid > li .product-container .price-percent-reduction { + display: inline-block; +} +ul.product_list.grid > li .product-container .product-flags { + display: none; +} +ul.product_list.grid > li .product-container .old-price { + margin-right: 5px; +} +ul.product_list.grid > li .product-container .button-container { + display: none; + margin-bottom: 14px; +} +ul.product_list.grid > li .product-container .button-container .ajax_add_to_cart_button, ul.product_list.grid > li .product-container .button-container span.button { + margin-right: 6px; +} +ul.product_list.grid > li .product-container .functional-buttons { + display: none; + background: url(../img/functional-bt-shadow.png) repeat-x; + padding: 11px 0 5px; +} +ul.product_list.grid > li .product-container .functional-buttons div { + width: 50%; + float: left; + padding: 3px 0 4px 0; +} +ul.product_list.grid > li .product-container .functional-buttons div a, ul.product_list.grid > li .product-container .functional-buttons div label { + font-weight: bold; + color: #777676; + cursor: pointer; +} +ul.product_list.grid > li .product-container .functional-buttons div a:hover, ul.product_list.grid > li .product-container .functional-buttons div label:hover { + color: #000; +} +ul.product_list.grid > li .product-container .functional-buttons div.wishlist { + border-right: 1px solid #d6d4d4; +} +ul.product_list.grid > li .product-container .functional-buttons div.compare:before { + content: ""; + display: inline-block; + font-family: 'FontAwesome'; +} +ul.product_list.grid > li .product-container .functional-buttons div.compare.compare.checked:before { + content: ""; +} +ul.product_list.grid > li .product-container:hover { + -webkit-box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px; + -moz-box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px; + box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px; + margin-bottom: -48px; + position: relative; + z-index: 2; +} +ul.product_list.grid > li .product-container:hover .content_price { + display: none; +} +ul.product_list.grid > li .product-container:hover .product-image-container .content_price { + display: block; +} +ul.product_list.grid > li .product-container:hover .button-container, ul.product_list.grid > li .product-container:hover .functional-buttons { + display: block; +} +ul.product_list.grid > li.first-in-line { + clear: left; +} + +/******************************************************* + Product list(List) Styles +********************************************************/ +ul.product_list.list > li .product-container { + border-top: 1px solid #d6d4d4; + padding: 30px 0 30px; +} +ul.product_list.list > li .product-image-container { + position: relative; + border: 1px solid #d6d4d4; + padding: 9px; +} +ul.product_list.list > li .product-image-container .content_price { + display: none !important; +} +ul.product_list.list > li .product-flags { + color: #333333; + margin: -5px 0 10px 0; +} +ul.product_list.list > li .product-flags .discount { + color: #f13340; +} +ul.product_list.list > li h5 { + padding-bottom: 8px; +} +ul.product_list.list > li .product-desc { + margin-bottom: 15px; +} +ul.product_list.list > li .right-block .right-block-content { + border-left: 1px solid #d6d4d4; + padding-left: 30px; + padding-bottom: 16px; +} +ul.product_list.list > li .right-block .right-block-content .content_price { + padding-bottom: 24px; +} +ul.product_list.list > li .right-block .right-block-content .content_price span { + display: inline-block; + margin-top: -4px; +} +ul.product_list.list > li .right-block .right-block-content .content_price span.price-percent-reduction { + margin-left: 8px; +} +ul.product_list.list > li .right-block .right-block-content .button-container { + overflow: hidden; + padding-bottom: 20px; +} +ul.product_list.list > li .right-block .right-block-content .button-container .btn { + float: left; + clear: both; + margin-bottom: 10px; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons a, ul.product_list.list > li .right-block .right-block-content .functional-buttons label { + font-weight: bold; + color: #777676; + cursor: pointer; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons a i, ul.product_list.list > li .right-block .right-block-content .functional-buttons label i { + width: 30px; + height: 30px; + font-size: 15px; + text-align: center; + display: inline-block; + background: #929292; + color: #fff; + padding: 7px 0 0 0; + -webkit-border-radius: 100px; + -moz-border-radius: 100px; + -ms-border-radius: 100px; + -o-border-radius: 100px; + border-radius: 100px; + margin-right: 3px; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons a:hover, ul.product_list.list > li .right-block .right-block-content .functional-buttons label:hover { + color: #333333; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons a:hover i, ul.product_list.list > li .right-block .right-block-content .functional-buttons label:hover i { + background: #333333; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons .compare { + padding-top: 10px; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons .compare label:before { + content: ""; + display: inline-block; + font-family: 'FontAwesome'; + width: 30px; + height: 30px; + font-size: 15px; + text-align: center; + background: #929292; + -webkit-border-radius: 100px; + -moz-border-radius: 100px; + -ms-border-radius: 100px; + -o-border-radius: 100px; + border-radius: 100px; + margin-right: 3px; + padding: 4px 0 0 0; + color: #fff; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons .compare label:hover { + color: #333333; +} +ul.product_list.list > li .right-block .right-block-content .functional-buttons .compare label:hover:before { + background: #333333; +} + +/******************************************************* + Product list(Index page) Styles +********************************************************/ +#index ul.product_list > li { + border-bottom: 1px solid #d6d4d4; + padding-bottom: 35px; + margin-bottom: 50px; +} +#index ul.product_list > li .availability { + display: none; +} +#index ul.product_list > li.last-line { + border: none; + padding-bottom: 0; + margin-bottom: 0; +} diff --git a/themes/default-bootstrap/css/restricted-country.css b/themes/default-bootstrap/css/restricted-country.css new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/css/rtl.css b/themes/default-bootstrap/css/rtl.css new file mode 100644 index 000000000..828352725 --- /dev/null +++ b/themes/default-bootstrap/css/rtl.css @@ -0,0 +1,7 @@ +* { + direction: rtl !important; +} + +#page { + text-align: right !important; +} diff --git a/themes/default-bootstrap/css/scenes.css b/themes/default-bootstrap/css/scenes.css new file mode 100644 index 000000000..aee32aa69 --- /dev/null +++ b/themes/default-bootstrap/css/scenes.css @@ -0,0 +1,159 @@ +/*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 #eeeeee; +} + +#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 #dddddd; +} + +/* 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 #cccccc; +} + +.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: #666666; +} + +.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-bootstrap/css/sitemap.css b/themes/default-bootstrap/css/sitemap.css new file mode 100644 index 000000000..7259cd516 --- /dev/null +++ b/themes/default-bootstrap/css/sitemap.css @@ -0,0 +1,55 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/****************************************************************** + Sitemap Page Styles +*******************************************************************/ +#sitemap .sitemap_block .page-subheading { + margin-bottom: 16px; +} +#sitemap .sitemap_block li { + line-height: 16px; + padding-bottom: 11px; +} +#sitemap .sitemap_block li a:before { + content: ""; + display: inline-block; + font-family: 'FontAwesome'; + padding-right: 10px; +} +#sitemap .sitemap_block li a:hover { + font-weight: bold; +} + +#listpage_content div.tree_top { + padding-left: 27px; + padding-top: 5px; +} +#listpage_content div.tree_top a:before { + content: ""; + display: inline-block; + font-family: "FontAwesome"; + font-size: 20px; + color: #333; +} +#listpage_content div.tree_top a:hover:before { + color: #515151; +} + +ul.tree { + padding-left: 24px; +} +ul.tree li { + margin: 0 0 0 21px; + padding: 5px 0 0 33px; + border-left: 1px solid #d6d4d4; + background: url(../img/sitemap-horizontal.png) no-repeat left 15px transparent; +} +ul.tree li a:hover { + font-weight: bold; +} +ul.tree > li { + margin: 0 0 0 11px; +} +ul.tree li.last { + border: medium none; + background: url(../img/sitemap-last.png) no-repeat 0px -4px transparent; +} diff --git a/themes/default-bootstrap/css/stores.css b/themes/default-bootstrap/css/stores.css new file mode 100644 index 000000000..000d60ef5 --- /dev/null +++ b/themes/default-bootstrap/css/stores.css @@ -0,0 +1,78 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); +/*********************************************************** + Stores Page Styles +************************************************************/ +#stores #map { + width: 100%; + height: 447px; + margin-bottom: 26px; +} +#stores input#addressInput { + display: inline-block; + width: 269px; +} +#stores .address-input { + float: left; + margin-right: 19px; +} +#stores .address-input label { + margin-right: 5px; +} +#stores .radius-input { + float: left; + line-height: 23px; + margin-right: 20px; +} +#stores .radius-input label, #stores .radius-input .selector { + float: left; +} +#stores .radius-input label { + margin-right: 10px; +} +#stores .radius-input #radiusSelect { + width: 78px; +} +#stores .store-content { + padding-bottom: 30px; +} +#stores .store-content-select .selector { + visibility: hidden; + display: none; +} +#stores .store-content-select.active { + padding-top: 30px; + margin-bottom: 30px; + border-top: 1px solid #d6d4d4; +} +#stores .store-content-select.active .selector { + visibility: visible; + display: block; +} +#stores .store-title { + margin-bottom: 16px; +} +#stores label { + font-weight: normal; + color: #777777; +} +#stores #stores_loader { + display: none; + margin-left: 5px; +} +#stores #locationSelect { + width: 356px; + visibility: hidden; +} +#stores #stores-table { + display: none; +} +#stores #stores-table tbody td { + padding: 20px; +} +#stores #stores-table tbody td.num { + background: #fbfbfb; + width: 46px; +} +#stores #stores-table tbody td.name span { + padding-left: 15px; +} diff --git a/themes/default-bootstrap/discount.tpl b/themes/default-bootstrap/discount.tpl new file mode 100644 index 000000000..2cd5d8401 --- /dev/null +++ b/themes/default-bootstrap/discount.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='My account'}{$navigationPipe}{l s='My vouchers'}{/capture} + +

    {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:'htmlall':'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'} + {else} + {l s='No'} + {/if} + {dateFormat date=$discountDetail.date_to}
    +{else} +

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

    +{/if} + + diff --git a/themes/default-bootstrap/errors.tpl b/themes/default-bootstrap/errors.tpl new file mode 100644 index 000000000..94f52f479 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/font/FontAwesome.otf b/themes/default-bootstrap/font/FontAwesome.otf new file mode 100644 index 000000000..70125459f Binary files /dev/null and b/themes/default-bootstrap/font/FontAwesome.otf differ diff --git a/themes/default-bootstrap/font/fontawesome-webfont.eot b/themes/default-bootstrap/font/fontawesome-webfont.eot new file mode 100644 index 000000000..0662cb96b Binary files /dev/null and b/themes/default-bootstrap/font/fontawesome-webfont.eot differ diff --git a/themes/default-bootstrap/font/fontawesome-webfont.svg b/themes/default-bootstrap/font/fontawesome-webfont.svg new file mode 100644 index 000000000..2edb4ec34 --- /dev/null +++ b/themes/default-bootstrap/font/fontawesome-webfont.svg @@ -0,0 +1,399 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/themes/default-bootstrap/font/fontawesome-webfont.ttf b/themes/default-bootstrap/font/fontawesome-webfont.ttf new file mode 100644 index 000000000..d36592469 Binary files /dev/null and b/themes/default-bootstrap/font/fontawesome-webfont.ttf differ diff --git a/themes/default-bootstrap/font/fontawesome-webfont.woff b/themes/default-bootstrap/font/fontawesome-webfont.woff new file mode 100644 index 000000000..b9bd17e15 Binary files /dev/null and b/themes/default-bootstrap/font/fontawesome-webfont.woff differ diff --git a/themes/default-bootstrap/footer.tpl b/themes/default-bootstrap/footer.tpl new file mode 100644 index 000000000..0e4197488 --- /dev/null +++ b/themes/default-bootstrap/footer.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 +*} + + {if !$content_only} + + {if isset($HOOK_RIGHT_COLUMN) && (str_replace(" ","",$HOOK_RIGHT_COLUMN)) !=''}{assign var='RightColumn' value=3}{/if} + {if isset($RightColumn) && $RightColumn !=0} + +
    + {$HOOK_RIGHT_COLUMN} +
    + {/if} + + + + + + + {/if} + + diff --git a/themes/default-bootstrap/guest-tracking.tpl b/themes/default-bootstrap/guest-tracking.tpl new file mode 100644 index 000000000..08dc384ae --- /dev/null +++ b/themes/default-bootstrap/guest-tracking.tpl @@ -0,0 +1,120 @@ +{* +* 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} + +

    {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-bootstrap/header.tpl b/themes/default-bootstrap/header.tpl new file mode 100644 index 000000000..540f2ca13 --- /dev/null +++ b/themes/default-bootstrap/header.tpl @@ -0,0 +1,212 @@ +{* +* 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:'htmlall':'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_HEADER} + + + + {if !$content_only} + {if isset($restricted_country_mode) && $restricted_country_mode} +
    +

    {l s='You cannot place a new order from your country.'} {$geolocation_country}

    +
    + {/if} +
    + + +
    + +
    +
    +
    + {if $page_name !='index' && $page_name !='pagenotfound'} + {include file="$tpl_dir./breadcrumb.tpl"} + {/if} +
    + {assign var='LeftColumn' value=0} + {assign var='RightColumn' value=0} + {if isset($HOOK_LEFT_COLUMN) && (str_replace(" ","",$HOOK_LEFT_COLUMN)) !=''}{assign var='LeftColumn' value=3}{/if} + {if isset($HOOK_RIGHT_COLUMN) && (str_replace(" ","",$HOOK_RIGHT_COLUMN)) !=''}{assign var='RightColumn' value=3}{/if} + + {if isset($LeftColumn) && $LeftColumn !=0} +
    + {$HOOK_LEFT_COLUMN} +
    + {/if} + +
    + {/if} diff --git a/themes/default-bootstrap/history.tpl b/themes/default-bootstrap/history.tpl new file mode 100644 index 000000000..ebd7e02be --- /dev/null +++ b/themes/default-bootstrap/history.tpl @@ -0,0 +1,87 @@ +{* +* 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./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:'htmlall':'UTF-8'}{if isset($order.order_state)}{$order.order_state|escape:'htmlall':'UTF-8'}{/if} + {if (isset($order.invoice) && $order.invoice && isset($order.invoice_number) && $order.invoice_number) && isset($invoiceAllowed) && $invoiceAllowed == true} + {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-bootstrap/identity.tpl b/themes/default-bootstrap/identity.tpl new file mode 100644 index 000000000..a8d8b5e80 --- /dev/null +++ b/themes/default-bootstrap/identity.tpl @@ -0,0 +1,145 @@ +{* +* 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} +
    +

    {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'}

    +
    +
    +
    + +
    + {foreach from=$genders key=k item=gender} +
    + +
    + {/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-bootstrap/img/address_alias_full_width.gif b/themes/default-bootstrap/img/address_alias_full_width.gif new file mode 100644 index 000000000..60718e51e Binary files /dev/null and b/themes/default-bootstrap/img/address_alias_full_width.gif differ diff --git a/themes/default-bootstrap/img/address_alias_left.gif b/themes/default-bootstrap/img/address_alias_left.gif new file mode 100644 index 000000000..df0d6399d Binary files /dev/null and b/themes/default-bootstrap/img/address_alias_left.gif differ diff --git a/themes/default-bootstrap/img/address_alias_right.gif b/themes/default-bootstrap/img/address_alias_right.gif new file mode 100644 index 000000000..a0c0779cb Binary files /dev/null and b/themes/default-bootstrap/img/address_alias_right.gif differ diff --git a/themes/default-bootstrap/img/ajax-loader.gif b/themes/default-bootstrap/img/ajax-loader.gif new file mode 100644 index 000000000..6f1fb335a Binary files /dev/null and b/themes/default-bootstrap/img/ajax-loader.gif differ diff --git a/themes/default-bootstrap/img/arrow_right_1.png b/themes/default-bootstrap/img/arrow_right_1.png new file mode 100644 index 000000000..7c3d29b62 Binary files /dev/null and b/themes/default-bootstrap/img/arrow_right_1.png differ diff --git a/themes/default-bootstrap/img/arrow_right_2.png b/themes/default-bootstrap/img/arrow_right_2.png new file mode 100644 index 000000000..c970f18ef Binary files /dev/null and b/themes/default-bootstrap/img/arrow_right_2.png differ diff --git a/themes/default-bootstrap/img/arrow_rotate_anticlockwise.png b/themes/default-bootstrap/img/arrow_rotate_anticlockwise.png new file mode 100644 index 000000000..46c75aa85 Binary files /dev/null and b/themes/default-bootstrap/img/arrow_rotate_anticlockwise.png differ diff --git a/themes/default-bootstrap/img/bankwire.png b/themes/default-bootstrap/img/bankwire.png new file mode 100644 index 000000000..5293857ee Binary files /dev/null and b/themes/default-bootstrap/img/bankwire.png differ diff --git a/themes/default-bootstrap/img/bg_404.png b/themes/default-bootstrap/img/bg_404.png new file mode 100644 index 000000000..dfc910816 Binary files /dev/null and b/themes/default-bootstrap/img/bg_404.png differ diff --git a/themes/default-bootstrap/img/bg_account.jpg b/themes/default-bootstrap/img/bg_account.jpg new file mode 100644 index 000000000..5c1f1ff51 Binary files /dev/null and b/themes/default-bootstrap/img/bg_account.jpg differ diff --git a/themes/default-bootstrap/img/bg_address_title.png b/themes/default-bootstrap/img/bg_address_title.png new file mode 100644 index 000000000..1c79acaae Binary files /dev/null and b/themes/default-bootstrap/img/bg_address_title.png differ diff --git a/themes/default-bootstrap/img/bg_bt.gif b/themes/default-bootstrap/img/bg_bt.gif new file mode 100644 index 000000000..202d52afb Binary files /dev/null and b/themes/default-bootstrap/img/bg_bt.gif differ diff --git a/themes/default-bootstrap/img/bg_bt_2.gif b/themes/default-bootstrap/img/bg_bt_2.gif new file mode 100644 index 000000000..7b477d7c6 Binary files /dev/null and b/themes/default-bootstrap/img/bg_bt_2.gif differ diff --git a/themes/default-bootstrap/img/bg_bt_compare.gif b/themes/default-bootstrap/img/bg_bt_compare.gif new file mode 100644 index 000000000..aa1fe98e9 Binary files /dev/null and b/themes/default-bootstrap/img/bg_bt_compare.gif differ diff --git a/themes/default-bootstrap/img/bg_bt_newsletter_ok.png b/themes/default-bootstrap/img/bg_bt_newsletter_ok.png new file mode 100644 index 000000000..1462a19d2 Binary files /dev/null and b/themes/default-bootstrap/img/bg_bt_newsletter_ok.png differ diff --git a/themes/default-bootstrap/img/bg_cart_voucher_submit.png b/themes/default-bootstrap/img/bg_cart_voucher_submit.png new file mode 100644 index 000000000..413dd4279 Binary files /dev/null and b/themes/default-bootstrap/img/bg_cart_voucher_submit.png differ diff --git a/themes/default-bootstrap/img/bg_discount_name.png b/themes/default-bootstrap/img/bg_discount_name.png new file mode 100644 index 000000000..4cade69d9 Binary files /dev/null and b/themes/default-bootstrap/img/bg_discount_name.png differ diff --git a/themes/default-bootstrap/img/bg_form_h3.png b/themes/default-bootstrap/img/bg_form_h3.png new file mode 100644 index 000000000..e8e3561f1 Binary files /dev/null and b/themes/default-bootstrap/img/bg_form_h3.png differ diff --git a/themes/default-bootstrap/img/bg_gif.gif b/themes/default-bootstrap/img/bg_gif.gif new file mode 100644 index 000000000..7e2ffe5ec Binary files /dev/null and b/themes/default-bootstrap/img/bg_gif.gif differ diff --git a/themes/default-bootstrap/img/bg_input.png b/themes/default-bootstrap/img/bg_input.png new file mode 100644 index 000000000..92db89ad4 Binary files /dev/null and b/themes/default-bootstrap/img/bg_input.png differ diff --git a/themes/default-bootstrap/img/bg_li_idTabs.png b/themes/default-bootstrap/img/bg_li_idTabs.png new file mode 100644 index 000000000..04aa8b832 Binary files /dev/null and b/themes/default-bootstrap/img/bg_li_idTabs.png differ diff --git a/themes/default-bootstrap/img/bg_maintenance.png b/themes/default-bootstrap/img/bg_maintenance.png new file mode 100644 index 000000000..a5c538801 Binary files /dev/null and b/themes/default-bootstrap/img/bg_maintenance.png differ diff --git a/themes/default-bootstrap/img/bg_reduction.png b/themes/default-bootstrap/img/bg_reduction.png new file mode 100644 index 000000000..2a1cbd914 Binary files /dev/null and b/themes/default-bootstrap/img/bg_reduction.png differ diff --git a/themes/default-bootstrap/img/bg_search_input.png b/themes/default-bootstrap/img/bg_search_input.png new file mode 100644 index 000000000..92db89ad4 Binary files /dev/null and b/themes/default-bootstrap/img/bg_search_input.png differ diff --git a/themes/default-bootstrap/img/bg_search_submit.png b/themes/default-bootstrap/img/bg_search_submit.png new file mode 100644 index 000000000..4a44d039a Binary files /dev/null and b/themes/default-bootstrap/img/bg_search_submit.png differ diff --git a/themes/default-bootstrap/img/bg_table_th.png b/themes/default-bootstrap/img/bg_table_th.png new file mode 100644 index 000000000..9e83c9a42 Binary files /dev/null and b/themes/default-bootstrap/img/bg_table_th.png differ diff --git a/themes/default-bootstrap/img/bl-after-bg.png b/themes/default-bootstrap/img/bl-after-bg.png new file mode 100644 index 000000000..856622792 Binary files /dev/null and b/themes/default-bootstrap/img/bl-after-bg.png differ diff --git a/themes/default-bootstrap/img/bl-before-bg.png b/themes/default-bootstrap/img/bl-before-bg.png new file mode 100644 index 000000000..35edc6713 Binary files /dev/null and b/themes/default-bootstrap/img/bl-before-bg.png differ diff --git a/themes/default-bootstrap/img/block_bg.jpg b/themes/default-bootstrap/img/block_bg.jpg new file mode 100644 index 000000000..12d87c9d8 Binary files /dev/null and b/themes/default-bootstrap/img/block_bg.jpg differ diff --git a/themes/default-bootstrap/img/block_bg_myaccount.jpg b/themes/default-bootstrap/img/block_bg_myaccount.jpg new file mode 100644 index 000000000..5ec840993 Binary files /dev/null and b/themes/default-bootstrap/img/block_bg_myaccount.jpg differ diff --git a/themes/default-bootstrap/img/block_category_item_bg.jpg b/themes/default-bootstrap/img/block_category_item_bg.jpg new file mode 100644 index 000000000..cd1d8bfb6 Binary files /dev/null and b/themes/default-bootstrap/img/block_category_item_bg.jpg differ diff --git a/themes/default-bootstrap/img/block_exclusive_bg.jpg b/themes/default-bootstrap/img/block_exclusive_bg.jpg new file mode 100644 index 000000000..0c2ee9f6d Binary files /dev/null and b/themes/default-bootstrap/img/block_exclusive_bg.jpg differ diff --git a/themes/default-bootstrap/img/block_exclusive_footer.jpg b/themes/default-bootstrap/img/block_exclusive_footer.jpg new file mode 100644 index 000000000..d6891ddd5 Binary files /dev/null and b/themes/default-bootstrap/img/block_exclusive_footer.jpg differ diff --git a/themes/default-bootstrap/img/block_footer.gif b/themes/default-bootstrap/img/block_footer.gif new file mode 100644 index 000000000..47c8de4ff Binary files /dev/null and b/themes/default-bootstrap/img/block_footer.gif differ diff --git a/themes/default-bootstrap/img/block_footer.png b/themes/default-bootstrap/img/block_footer.png new file mode 100644 index 000000000..dc055ece1 Binary files /dev/null and b/themes/default-bootstrap/img/block_footer.png differ diff --git a/themes/default-bootstrap/img/block_footer_myaccount.jpg b/themes/default-bootstrap/img/block_footer_myaccount.jpg new file mode 100644 index 000000000..84df35ea9 Binary files /dev/null and b/themes/default-bootstrap/img/block_footer_myaccount.jpg differ diff --git a/themes/default-bootstrap/img/block_footer_page.gif b/themes/default-bootstrap/img/block_footer_page.gif new file mode 100644 index 000000000..f0e8c1aef Binary files /dev/null and b/themes/default-bootstrap/img/block_footer_page.gif differ diff --git a/themes/default-bootstrap/img/block_footer_page_footer.png b/themes/default-bootstrap/img/block_footer_page_footer.png new file mode 100644 index 000000000..349400770 Binary files /dev/null and b/themes/default-bootstrap/img/block_footer_page_footer.png differ diff --git a/themes/default-bootstrap/img/block_header.gif b/themes/default-bootstrap/img/block_header.gif new file mode 100644 index 000000000..98a450a5b Binary files /dev/null and b/themes/default-bootstrap/img/block_header.gif differ diff --git a/themes/default-bootstrap/img/block_header.png b/themes/default-bootstrap/img/block_header.png new file mode 100644 index 000000000..3dbdc2c56 Binary files /dev/null and b/themes/default-bootstrap/img/block_header.png differ diff --git a/themes/default-bootstrap/img/block_header_exclusive.gif b/themes/default-bootstrap/img/block_header_exclusive.gif new file mode 100644 index 000000000..da1bacdd4 Binary files /dev/null and b/themes/default-bootstrap/img/block_header_exclusive.gif differ diff --git a/themes/default-bootstrap/img/block_header_exclusive.png b/themes/default-bootstrap/img/block_header_exclusive.png new file mode 100644 index 000000000..c19ec41e7 Binary files /dev/null and b/themes/default-bootstrap/img/block_header_exclusive.png differ diff --git a/themes/default-bootstrap/img/block_header_exclusive_cart.gif b/themes/default-bootstrap/img/block_header_exclusive_cart.gif new file mode 100644 index 000000000..8315b8c31 Binary files /dev/null and b/themes/default-bootstrap/img/block_header_exclusive_cart.gif differ diff --git a/themes/default-bootstrap/img/block_header_exclusive_cart.png b/themes/default-bootstrap/img/block_header_exclusive_cart.png new file mode 100644 index 000000000..26add9ea2 Binary files /dev/null and b/themes/default-bootstrap/img/block_header_exclusive_cart.png differ diff --git a/themes/default-bootstrap/img/block_header_large.gif b/themes/default-bootstrap/img/block_header_large.gif new file mode 100644 index 000000000..cb40b7427 Binary files /dev/null and b/themes/default-bootstrap/img/block_header_large.gif differ diff --git a/themes/default-bootstrap/img/block_header_large.png b/themes/default-bootstrap/img/block_header_large.png new file mode 100644 index 000000000..b0d5701ea Binary files /dev/null and b/themes/default-bootstrap/img/block_header_large.png differ diff --git a/themes/default-bootstrap/img/block_header_myaccount.jpg b/themes/default-bootstrap/img/block_header_myaccount.jpg new file mode 100644 index 000000000..9af1a82a2 Binary files /dev/null and b/themes/default-bootstrap/img/block_header_myaccount.jpg differ diff --git a/themes/default-bootstrap/img/block_languages_top_p_bg.png b/themes/default-bootstrap/img/block_languages_top_p_bg.png new file mode 100644 index 000000000..8f6d152a5 Binary files /dev/null and b/themes/default-bootstrap/img/block_languages_top_p_bg.png differ diff --git a/themes/default-bootstrap/img/block_myaccount_header_large.gif b/themes/default-bootstrap/img/block_myaccount_header_large.gif new file mode 100644 index 000000000..298636eac Binary files /dev/null and b/themes/default-bootstrap/img/block_myaccount_header_large.gif differ diff --git a/themes/default-bootstrap/img/block_search_bg.jpg b/themes/default-bootstrap/img/block_search_bg.jpg new file mode 100644 index 000000000..b496335c7 Binary files /dev/null and b/themes/default-bootstrap/img/block_search_bg.jpg differ diff --git a/themes/default-bootstrap/img/border-1.gif b/themes/default-bootstrap/img/border-1.gif new file mode 100644 index 000000000..2716f4b55 Binary files /dev/null and b/themes/default-bootstrap/img/border-1.gif differ diff --git a/themes/default-bootstrap/img/bullet.gif b/themes/default-bootstrap/img/bullet.gif new file mode 100644 index 000000000..e8aaa9e10 Binary files /dev/null and b/themes/default-bootstrap/img/bullet.gif differ diff --git a/themes/default-bootstrap/img/bullet_alt.jpg b/themes/default-bootstrap/img/bullet_alt.jpg new file mode 100644 index 000000000..99fb424b1 Binary files /dev/null and b/themes/default-bootstrap/img/bullet_alt.jpg differ diff --git a/themes/default-bootstrap/img/bullet_myaccount.gif b/themes/default-bootstrap/img/bullet_myaccount.gif new file mode 100644 index 000000000..e7f9e25e4 Binary files /dev/null and b/themes/default-bootstrap/img/bullet_myaccount.gif differ diff --git a/themes/default-bootstrap/img/bullet_price.gif b/themes/default-bootstrap/img/bullet_price.gif new file mode 100644 index 000000000..b4a0ef353 Binary files /dev/null and b/themes/default-bootstrap/img/bullet_price.gif differ diff --git a/themes/default-bootstrap/img/button-account-large.gif b/themes/default-bootstrap/img/button-account-large.gif new file mode 100644 index 000000000..ffb311741 Binary files /dev/null and b/themes/default-bootstrap/img/button-account-large.gif differ diff --git a/themes/default-bootstrap/img/button-account-mini.gif b/themes/default-bootstrap/img/button-account-mini.gif new file mode 100644 index 000000000..97cc17325 Binary files /dev/null and b/themes/default-bootstrap/img/button-account-mini.gif differ diff --git a/themes/default-bootstrap/img/button-account-small.gif b/themes/default-bootstrap/img/button-account-small.gif new file mode 100644 index 000000000..aa6aa735f Binary files /dev/null and b/themes/default-bootstrap/img/button-account-small.gif differ diff --git a/themes/default-bootstrap/img/button-account.gif b/themes/default-bootstrap/img/button-account.gif new file mode 100644 index 000000000..8b4239486 Binary files /dev/null and b/themes/default-bootstrap/img/button-account.gif differ diff --git a/themes/default-bootstrap/img/button-large.gif b/themes/default-bootstrap/img/button-large.gif new file mode 100644 index 000000000..b1a2bcda0 Binary files /dev/null and b/themes/default-bootstrap/img/button-large.gif differ diff --git a/themes/default-bootstrap/img/button-large.png b/themes/default-bootstrap/img/button-large.png new file mode 100644 index 000000000..cdc6cb673 Binary files /dev/null and b/themes/default-bootstrap/img/button-large.png differ diff --git a/themes/default-bootstrap/img/button-large_exclusive.gif b/themes/default-bootstrap/img/button-large_exclusive.gif new file mode 100644 index 000000000..ba5cc309c Binary files /dev/null and b/themes/default-bootstrap/img/button-large_exclusive.gif differ diff --git a/themes/default-bootstrap/img/button-medium.gif b/themes/default-bootstrap/img/button-medium.gif new file mode 100644 index 000000000..cf429515f Binary files /dev/null and b/themes/default-bootstrap/img/button-medium.gif differ diff --git a/themes/default-bootstrap/img/button-medium.png b/themes/default-bootstrap/img/button-medium.png new file mode 100644 index 000000000..061df6085 Binary files /dev/null and b/themes/default-bootstrap/img/button-medium.png differ diff --git a/themes/default-bootstrap/img/button-medium_exclusive.gif b/themes/default-bootstrap/img/button-medium_exclusive.gif new file mode 100644 index 000000000..ebe67091f Binary files /dev/null and b/themes/default-bootstrap/img/button-medium_exclusive.gif differ diff --git a/themes/default-bootstrap/img/button-medium_exclusive.png b/themes/default-bootstrap/img/button-medium_exclusive.png new file mode 100644 index 000000000..372681e1b Binary files /dev/null and b/themes/default-bootstrap/img/button-medium_exclusive.png differ diff --git a/themes/default-bootstrap/img/button-mini.gif b/themes/default-bootstrap/img/button-mini.gif new file mode 100644 index 000000000..53cc95649 Binary files /dev/null and b/themes/default-bootstrap/img/button-mini.gif differ diff --git a/themes/default-bootstrap/img/button-mini.png b/themes/default-bootstrap/img/button-mini.png new file mode 100644 index 000000000..8035b7f2a Binary files /dev/null and b/themes/default-bootstrap/img/button-mini.png differ diff --git a/themes/default-bootstrap/img/button-mini_exclusive.gif b/themes/default-bootstrap/img/button-mini_exclusive.gif new file mode 100644 index 000000000..e7988886f Binary files /dev/null and b/themes/default-bootstrap/img/button-mini_exclusive.gif differ diff --git a/themes/default-bootstrap/img/button-small.gif b/themes/default-bootstrap/img/button-small.gif new file mode 100644 index 000000000..998f601ca Binary files /dev/null and b/themes/default-bootstrap/img/button-small.gif differ diff --git a/themes/default-bootstrap/img/button-small.png b/themes/default-bootstrap/img/button-small.png new file mode 100644 index 000000000..16f58d0bb Binary files /dev/null and b/themes/default-bootstrap/img/button-small.png differ diff --git a/themes/default-bootstrap/img/button-small_exclusive.gif b/themes/default-bootstrap/img/button-small_exclusive.gif new file mode 100644 index 000000000..c56c23361 Binary files /dev/null and b/themes/default-bootstrap/img/button-small_exclusive.gif differ diff --git a/themes/default-bootstrap/img/cart-shadow.png b/themes/default-bootstrap/img/cart-shadow.png new file mode 100644 index 000000000..35123a6f4 Binary files /dev/null and b/themes/default-bootstrap/img/cart-shadow.png differ diff --git a/themes/default-bootstrap/img/cheque.png b/themes/default-bootstrap/img/cheque.png new file mode 100644 index 000000000..cb403e3a6 Binary files /dev/null and b/themes/default-bootstrap/img/cheque.png differ diff --git a/themes/default-bootstrap/img/contact-form.png b/themes/default-bootstrap/img/contact-form.png new file mode 100644 index 000000000..cfc53e181 Binary files /dev/null and b/themes/default-bootstrap/img/contact-form.png differ diff --git a/themes/default-bootstrap/img/flag_new_bg.jpg b/themes/default-bootstrap/img/flag_new_bg.jpg new file mode 100644 index 000000000..7a5e68457 Binary files /dev/null and b/themes/default-bootstrap/img/flag_new_bg.jpg differ diff --git a/themes/default-bootstrap/img/footer-bg.gif b/themes/default-bootstrap/img/footer-bg.gif new file mode 100644 index 000000000..285841cc1 Binary files /dev/null and b/themes/default-bootstrap/img/footer-bg.gif differ diff --git a/themes/default-bootstrap/img/footer_account.gif b/themes/default-bootstrap/img/footer_account.gif new file mode 100644 index 000000000..f8126d010 Binary files /dev/null and b/themes/default-bootstrap/img/footer_account.gif differ diff --git a/themes/default-bootstrap/img/form-contact-shadow.png b/themes/default-bootstrap/img/form-contact-shadow.png new file mode 100644 index 000000000..e671d0861 Binary files /dev/null and b/themes/default-bootstrap/img/form-contact-shadow.png differ diff --git a/themes/default-bootstrap/img/form-input-bg.gif b/themes/default-bootstrap/img/form-input-bg.gif new file mode 100644 index 000000000..5aca1c724 Binary files /dev/null and b/themes/default-bootstrap/img/form-input-bg.gif differ diff --git a/themes/default-bootstrap/img/form_bg.jpg b/themes/default-bootstrap/img/form_bg.jpg new file mode 100644 index 000000000..98085963a Binary files /dev/null and b/themes/default-bootstrap/img/form_bg.jpg differ diff --git a/themes/default-bootstrap/img/functional-bt-shadow.png b/themes/default-bootstrap/img/functional-bt-shadow.png new file mode 100644 index 000000000..1c0e4a04c Binary files /dev/null and b/themes/default-bootstrap/img/functional-bt-shadow.png differ diff --git a/themes/default-bootstrap/img/header-bg.gif b/themes/default-bootstrap/img/header-bg.gif new file mode 100644 index 000000000..36bd2dd56 Binary files /dev/null and b/themes/default-bootstrap/img/header-bg.gif differ diff --git a/themes/default-bootstrap/img/header_account.gif b/themes/default-bootstrap/img/header_account.gif new file mode 100644 index 000000000..082590bfc Binary files /dev/null and b/themes/default-bootstrap/img/header_account.gif differ diff --git a/themes/default-bootstrap/img/icon/add.gif b/themes/default-bootstrap/img/icon/add.gif new file mode 100644 index 000000000..df08c0b6b Binary files /dev/null and b/themes/default-bootstrap/img/icon/add.gif differ diff --git a/themes/default-bootstrap/img/icon/addrbook.gif b/themes/default-bootstrap/img/icon/addrbook.gif new file mode 100644 index 000000000..bc332c92c Binary files /dev/null and b/themes/default-bootstrap/img/icon/addrbook.gif differ diff --git a/themes/default-bootstrap/img/icon/available.gif b/themes/default-bootstrap/img/icon/available.gif new file mode 100644 index 000000000..3f93c6a3f Binary files /dev/null and b/themes/default-bootstrap/img/icon/available.gif differ diff --git a/themes/default-bootstrap/img/icon/bg_header_user_info_a.gif b/themes/default-bootstrap/img/icon/bg_header_user_info_a.gif new file mode 100644 index 000000000..5ded482f1 Binary files /dev/null and b/themes/default-bootstrap/img/icon/bg_header_user_info_a.gif differ diff --git a/themes/default-bootstrap/img/icon/cancel.gif b/themes/default-bootstrap/img/icon/cancel.gif new file mode 100644 index 000000000..fc4c2ce83 Binary files /dev/null and b/themes/default-bootstrap/img/icon/cancel.gif differ diff --git a/themes/default-bootstrap/img/icon/cancel_11x13.gif b/themes/default-bootstrap/img/icon/cancel_11x13.gif new file mode 100644 index 000000000..12af567aa Binary files /dev/null and b/themes/default-bootstrap/img/icon/cancel_11x13.gif differ diff --git a/themes/default-bootstrap/img/icon/cancel_16x18.gif b/themes/default-bootstrap/img/icon/cancel_16x18.gif new file mode 100644 index 000000000..64a59b287 Binary files /dev/null and b/themes/default-bootstrap/img/icon/cancel_16x18.gif differ diff --git a/themes/default-bootstrap/img/icon/cart.gif b/themes/default-bootstrap/img/icon/cart.gif new file mode 100644 index 000000000..d9b4976bf Binary files /dev/null and b/themes/default-bootstrap/img/icon/cart.gif differ diff --git a/themes/default-bootstrap/img/icon/cible.gif b/themes/default-bootstrap/img/icon/cible.gif new file mode 100644 index 000000000..d50ec7ccc Binary files /dev/null and b/themes/default-bootstrap/img/icon/cible.gif differ diff --git a/themes/default-bootstrap/img/icon/contact.gif b/themes/default-bootstrap/img/icon/contact.gif new file mode 100644 index 000000000..72f1de6e6 Binary files /dev/null and b/themes/default-bootstrap/img/icon/contact.gif differ diff --git a/themes/default-bootstrap/img/icon/delete.gif b/themes/default-bootstrap/img/icon/delete.gif new file mode 100644 index 000000000..6d186d193 Binary files /dev/null and b/themes/default-bootstrap/img/icon/delete.gif differ diff --git a/themes/default-bootstrap/img/icon/download_product.gif b/themes/default-bootstrap/img/icon/download_product.gif new file mode 100644 index 000000000..f25a6121f Binary files /dev/null and b/themes/default-bootstrap/img/icon/download_product.gif differ diff --git a/themes/default-bootstrap/img/icon/error.gif b/themes/default-bootstrap/img/icon/error.gif new file mode 100644 index 000000000..816705815 Binary files /dev/null and b/themes/default-bootstrap/img/icon/error.gif differ diff --git a/themes/default-bootstrap/img/icon/form-error.png b/themes/default-bootstrap/img/icon/form-error.png new file mode 100644 index 000000000..4e925d151 Binary files /dev/null and b/themes/default-bootstrap/img/icon/form-error.png differ diff --git a/themes/default-bootstrap/img/icon/form-ok.png b/themes/default-bootstrap/img/icon/form-ok.png new file mode 100644 index 000000000..4b1b1bdec Binary files /dev/null and b/themes/default-bootstrap/img/icon/form-ok.png differ diff --git a/themes/default-bootstrap/img/icon/gift.gif b/themes/default-bootstrap/img/icon/gift.gif new file mode 100644 index 000000000..d1908313f Binary files /dev/null and b/themes/default-bootstrap/img/icon/gift.gif differ diff --git a/themes/default-bootstrap/img/icon/home.gif b/themes/default-bootstrap/img/icon/home.gif new file mode 100644 index 000000000..082621095 Binary files /dev/null and b/themes/default-bootstrap/img/icon/home.gif differ diff --git a/themes/default-bootstrap/img/icon/index.php b/themes/default-bootstrap/img/icon/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/img/icon/info.png b/themes/default-bootstrap/img/icon/info.png new file mode 100644 index 000000000..733ab319f Binary files /dev/null and b/themes/default-bootstrap/img/icon/info.png differ diff --git a/themes/default-bootstrap/img/icon/infos.gif b/themes/default-bootstrap/img/icon/infos.gif new file mode 100644 index 000000000..12cd1aef9 Binary files /dev/null and b/themes/default-bootstrap/img/icon/infos.gif differ diff --git a/themes/default-bootstrap/img/icon/less.gif b/themes/default-bootstrap/img/icon/less.gif new file mode 100644 index 000000000..52928a267 Binary files /dev/null and b/themes/default-bootstrap/img/icon/less.gif differ diff --git a/themes/default-bootstrap/img/icon/login.gif b/themes/default-bootstrap/img/icon/login.gif new file mode 100644 index 000000000..5ded482f1 Binary files /dev/null and b/themes/default-bootstrap/img/icon/login.gif differ diff --git a/themes/default-bootstrap/img/icon/logo.gif b/themes/default-bootstrap/img/icon/logo.gif new file mode 100644 index 000000000..15471afd4 Binary files /dev/null and b/themes/default-bootstrap/img/icon/logo.gif differ diff --git a/themes/default-bootstrap/img/icon/logout.png b/themes/default-bootstrap/img/icon/logout.png new file mode 100644 index 000000000..9141841c7 Binary files /dev/null and b/themes/default-bootstrap/img/icon/logout.png differ diff --git a/themes/default-bootstrap/img/icon/magnify.gif b/themes/default-bootstrap/img/icon/magnify.gif new file mode 100644 index 000000000..7bf707784 Binary files /dev/null and b/themes/default-bootstrap/img/icon/magnify.gif differ diff --git a/themes/default-bootstrap/img/icon/more.gif b/themes/default-bootstrap/img/icon/more.gif new file mode 100644 index 000000000..072e49dfd Binary files /dev/null and b/themes/default-bootstrap/img/icon/more.gif differ diff --git a/themes/default-bootstrap/img/icon/my-account.gif b/themes/default-bootstrap/img/icon/my-account.gif new file mode 100644 index 000000000..537bb5994 Binary files /dev/null and b/themes/default-bootstrap/img/icon/my-account.gif differ diff --git a/themes/default-bootstrap/img/icon/newsletter.png b/themes/default-bootstrap/img/icon/newsletter.png new file mode 100644 index 000000000..2901122b8 Binary files /dev/null and b/themes/default-bootstrap/img/icon/newsletter.png differ diff --git a/themes/default-bootstrap/img/icon/next.gif b/themes/default-bootstrap/img/icon/next.gif new file mode 100644 index 000000000..a4e084641 Binary files /dev/null and b/themes/default-bootstrap/img/icon/next.gif differ diff --git a/themes/default-bootstrap/img/icon/no.gif b/themes/default-bootstrap/img/icon/no.gif new file mode 100644 index 000000000..3fdeb6365 Binary files /dev/null and b/themes/default-bootstrap/img/icon/no.gif differ diff --git a/themes/default-bootstrap/img/icon/order.gif b/themes/default-bootstrap/img/icon/order.gif new file mode 100644 index 000000000..42bc90940 Binary files /dev/null and b/themes/default-bootstrap/img/icon/order.gif differ diff --git a/themes/default-bootstrap/img/icon/pdf.gif b/themes/default-bootstrap/img/icon/pdf.gif new file mode 100644 index 000000000..d5d9488f3 Binary files /dev/null and b/themes/default-bootstrap/img/icon/pdf.gif differ diff --git a/themes/default-bootstrap/img/icon/pict_add_cart.png b/themes/default-bootstrap/img/icon/pict_add_cart.png new file mode 100644 index 000000000..10f70f8ba Binary files /dev/null and b/themes/default-bootstrap/img/icon/pict_add_cart.png differ diff --git a/themes/default-bootstrap/img/icon/pict_add_wishlist.png b/themes/default-bootstrap/img/icon/pict_add_wishlist.png new file mode 100644 index 000000000..924368eac Binary files /dev/null and b/themes/default-bootstrap/img/icon/pict_add_wishlist.png differ diff --git a/themes/default-bootstrap/img/icon/picto_fb.png b/themes/default-bootstrap/img/icon/picto_fb.png new file mode 100644 index 000000000..30028f594 Binary files /dev/null and b/themes/default-bootstrap/img/icon/picto_fb.png differ diff --git a/themes/default-bootstrap/img/icon/previous.gif b/themes/default-bootstrap/img/icon/previous.gif new file mode 100644 index 000000000..aa59060c9 Binary files /dev/null and b/themes/default-bootstrap/img/icon/previous.gif differ diff --git a/themes/default-bootstrap/img/icon/print.gif b/themes/default-bootstrap/img/icon/print.gif new file mode 100644 index 000000000..20c449b17 Binary files /dev/null and b/themes/default-bootstrap/img/icon/print.gif differ diff --git a/themes/default-bootstrap/img/icon/quantity_down.gif b/themes/default-bootstrap/img/icon/quantity_down.gif new file mode 100644 index 000000000..7a827069a Binary files /dev/null and b/themes/default-bootstrap/img/icon/quantity_down.gif differ diff --git a/themes/default-bootstrap/img/icon/quantity_down_off.gif b/themes/default-bootstrap/img/icon/quantity_down_off.gif new file mode 100644 index 000000000..fe6de305e Binary files /dev/null and b/themes/default-bootstrap/img/icon/quantity_down_off.gif differ diff --git a/themes/default-bootstrap/img/icon/quantity_up.gif b/themes/default-bootstrap/img/icon/quantity_up.gif new file mode 100644 index 000000000..3c2dcce60 Binary files /dev/null and b/themes/default-bootstrap/img/icon/quantity_up.gif differ diff --git a/themes/default-bootstrap/img/icon/recyclable.gif b/themes/default-bootstrap/img/icon/recyclable.gif new file mode 100644 index 000000000..1d5dcd2fd Binary files /dev/null and b/themes/default-bootstrap/img/icon/recyclable.gif differ diff --git a/themes/default-bootstrap/img/icon/return.gif b/themes/default-bootstrap/img/icon/return.gif new file mode 100644 index 000000000..84cb65339 Binary files /dev/null and b/themes/default-bootstrap/img/icon/return.gif differ diff --git a/themes/default-bootstrap/img/icon/search.gif b/themes/default-bootstrap/img/icon/search.gif new file mode 100644 index 000000000..e32a989f1 Binary files /dev/null and b/themes/default-bootstrap/img/icon/search.gif differ diff --git a/themes/default-bootstrap/img/icon/send_friend.gif b/themes/default-bootstrap/img/icon/send_friend.gif new file mode 100644 index 000000000..96ffb0783 Binary files /dev/null and b/themes/default-bootstrap/img/icon/send_friend.gif differ diff --git a/themes/default-bootstrap/img/icon/serial_scroll_left.gif b/themes/default-bootstrap/img/icon/serial_scroll_left.gif new file mode 100644 index 000000000..c3cc9e2d9 Binary files /dev/null and b/themes/default-bootstrap/img/icon/serial_scroll_left.gif differ diff --git a/themes/default-bootstrap/img/icon/serial_scroll_right.gif b/themes/default-bootstrap/img/icon/serial_scroll_right.gif new file mode 100644 index 000000000..653f33778 Binary files /dev/null and b/themes/default-bootstrap/img/icon/serial_scroll_right.gif differ diff --git a/themes/default-bootstrap/img/icon/sitemap.gif b/themes/default-bootstrap/img/icon/sitemap.gif new file mode 100644 index 000000000..594afa56e Binary files /dev/null and b/themes/default-bootstrap/img/icon/sitemap.gif differ diff --git a/themes/default-bootstrap/img/icon/slip.gif b/themes/default-bootstrap/img/icon/slip.gif new file mode 100644 index 000000000..13419123c Binary files /dev/null and b/themes/default-bootstrap/img/icon/slip.gif differ diff --git a/themes/default-bootstrap/img/icon/sort_asc.gif b/themes/default-bootstrap/img/icon/sort_asc.gif new file mode 100644 index 000000000..67345103c Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_asc.gif differ diff --git a/themes/default-bootstrap/img/icon/sort_asc_disabled.gif b/themes/default-bootstrap/img/icon/sort_asc_disabled.gif new file mode 100644 index 000000000..c86a9a635 Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_asc_disabled.gif differ diff --git a/themes/default-bootstrap/img/icon/sort_asc_white.gif b/themes/default-bootstrap/img/icon/sort_asc_white.gif new file mode 100644 index 000000000..9768c8638 Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_asc_white.gif differ diff --git a/themes/default-bootstrap/img/icon/sort_asc_white.png b/themes/default-bootstrap/img/icon/sort_asc_white.png new file mode 100644 index 000000000..d73f00a21 Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_asc_white.png differ diff --git a/themes/default-bootstrap/img/icon/sort_desc.gif b/themes/default-bootstrap/img/icon/sort_desc.gif new file mode 100644 index 000000000..f806d8534 Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_desc.gif differ diff --git a/themes/default-bootstrap/img/icon/sort_desc_disabled.gif b/themes/default-bootstrap/img/icon/sort_desc_disabled.gif new file mode 100644 index 000000000..6ddb4ab14 Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_desc_disabled.gif differ diff --git a/themes/default-bootstrap/img/icon/sort_desc_white.gif b/themes/default-bootstrap/img/icon/sort_desc_white.gif new file mode 100644 index 000000000..8c00b93e4 Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_desc_white.gif differ diff --git a/themes/default-bootstrap/img/icon/sort_desc_white.png b/themes/default-bootstrap/img/icon/sort_desc_white.png new file mode 100644 index 000000000..12b1a2a95 Binary files /dev/null and b/themes/default-bootstrap/img/icon/sort_desc_white.png differ diff --git a/themes/default-bootstrap/img/icon/star.gif b/themes/default-bootstrap/img/icon/star.gif new file mode 100644 index 000000000..6d647b432 Binary files /dev/null and b/themes/default-bootstrap/img/icon/star.gif differ diff --git a/themes/default-bootstrap/img/icon/unavailable.gif b/themes/default-bootstrap/img/icon/unavailable.gif new file mode 100644 index 000000000..4356d4fd7 Binary files /dev/null and b/themes/default-bootstrap/img/icon/unavailable.gif differ diff --git a/themes/default-bootstrap/img/icon/up.gif b/themes/default-bootstrap/img/icon/up.gif new file mode 100644 index 000000000..67345103c Binary files /dev/null and b/themes/default-bootstrap/img/icon/up.gif differ diff --git a/themes/default-bootstrap/img/icon/update.gif b/themes/default-bootstrap/img/icon/update.gif new file mode 100644 index 000000000..a2c05ee2c Binary files /dev/null and b/themes/default-bootstrap/img/icon/update.gif differ diff --git a/themes/default-bootstrap/img/icon/userinfo.gif b/themes/default-bootstrap/img/icon/userinfo.gif new file mode 100644 index 000000000..646ba2730 Binary files /dev/null and b/themes/default-bootstrap/img/icon/userinfo.gif differ diff --git a/themes/default-bootstrap/img/icon/voucher.gif b/themes/default-bootstrap/img/icon/voucher.gif new file mode 100644 index 000000000..e8ce3b50e Binary files /dev/null and b/themes/default-bootstrap/img/icon/voucher.gif differ diff --git a/themes/default-bootstrap/img/icon/yes.gif b/themes/default-bootstrap/img/icon/yes.gif new file mode 100644 index 000000000..7902938e9 Binary files /dev/null and b/themes/default-bootstrap/img/icon/yes.gif differ diff --git a/themes/default-bootstrap/img/icon/zoom.png b/themes/default-bootstrap/img/icon/zoom.png new file mode 100644 index 000000000..ca1631968 Binary files /dev/null and b/themes/default-bootstrap/img/icon/zoom.png differ diff --git a/themes/default-bootstrap/img/img-404.jpg b/themes/default-bootstrap/img/img-404.jpg new file mode 100644 index 000000000..9cb8367e7 Binary files /dev/null and b/themes/default-bootstrap/img/img-404.jpg differ diff --git a/themes/default-bootstrap/img/index.php b/themes/default-bootstrap/img/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/img/jquery/index.php b/themes/default-bootstrap/img/jquery/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/img/jquery/macFFBgHack.png b/themes/default-bootstrap/img/jquery/macFFBgHack.png new file mode 100644 index 000000000..c6473b324 Binary files /dev/null and b/themes/default-bootstrap/img/jquery/macFFBgHack.png differ diff --git a/themes/default-bootstrap/img/jquery/uniform/sprite.png b/themes/default-bootstrap/img/jquery/uniform/sprite.png new file mode 100644 index 000000000..f69889954 Binary files /dev/null and b/themes/default-bootstrap/img/jquery/uniform/sprite.png differ diff --git a/themes/default-bootstrap/img/logo_paiement_mastercard.jpg b/themes/default-bootstrap/img/logo_paiement_mastercard.jpg new file mode 100644 index 000000000..6022d872f Binary files /dev/null and b/themes/default-bootstrap/img/logo_paiement_mastercard.jpg differ diff --git a/themes/default-bootstrap/img/logo_paiement_paypal.jpg b/themes/default-bootstrap/img/logo_paiement_paypal.jpg new file mode 100644 index 000000000..c94c46c0d Binary files /dev/null and b/themes/default-bootstrap/img/logo_paiement_paypal.jpg differ diff --git a/themes/default-bootstrap/img/logo_paiement_visa.jpg b/themes/default-bootstrap/img/logo_paiement_visa.jpg new file mode 100644 index 000000000..be8cc9ed2 Binary files /dev/null and b/themes/default-bootstrap/img/logo_paiement_visa.jpg differ diff --git a/themes/default-bootstrap/img/nav-logout.gif b/themes/default-bootstrap/img/nav-logout.gif new file mode 100644 index 000000000..1d7775de6 Binary files /dev/null and b/themes/default-bootstrap/img/nav-logout.gif differ diff --git a/themes/default-bootstrap/img/onsale_en.gif b/themes/default-bootstrap/img/onsale_en.gif new file mode 100644 index 000000000..48bfa342d Binary files /dev/null and b/themes/default-bootstrap/img/onsale_en.gif differ diff --git a/themes/default-bootstrap/img/onsale_es.gif b/themes/default-bootstrap/img/onsale_es.gif new file mode 100644 index 000000000..787f007f2 Binary files /dev/null and b/themes/default-bootstrap/img/onsale_es.gif differ diff --git a/themes/default-bootstrap/img/onsale_fr.gif b/themes/default-bootstrap/img/onsale_fr.gif new file mode 100644 index 000000000..38cd74237 Binary files /dev/null and b/themes/default-bootstrap/img/onsale_fr.gif differ diff --git a/themes/default-bootstrap/img/order-step-a.png b/themes/default-bootstrap/img/order-step-a.png new file mode 100644 index 000000000..f371dc791 Binary files /dev/null and b/themes/default-bootstrap/img/order-step-a.png differ diff --git a/themes/default-bootstrap/img/order-step-current.png b/themes/default-bootstrap/img/order-step-current.png new file mode 100644 index 000000000..a6dfde825 Binary files /dev/null and b/themes/default-bootstrap/img/order-step-current.png differ diff --git a/themes/default-bootstrap/img/order-step-done-last.png b/themes/default-bootstrap/img/order-step-done-last.png new file mode 100644 index 000000000..d3aa612b3 Binary files /dev/null and b/themes/default-bootstrap/img/order-step-done-last.png differ diff --git a/themes/default-bootstrap/img/order-step-done.png b/themes/default-bootstrap/img/order-step-done.png new file mode 100644 index 000000000..f5985fb0a Binary files /dev/null and b/themes/default-bootstrap/img/order-step-done.png differ diff --git a/themes/default-bootstrap/img/pagination-bg-current.gif b/themes/default-bootstrap/img/pagination-bg-current.gif new file mode 100644 index 000000000..210590a20 Binary files /dev/null and b/themes/default-bootstrap/img/pagination-bg-current.gif differ diff --git a/themes/default-bootstrap/img/pagination-li.gif b/themes/default-bootstrap/img/pagination-li.gif new file mode 100644 index 000000000..78ac5ffb1 Binary files /dev/null and b/themes/default-bootstrap/img/pagination-li.gif differ diff --git a/themes/default-bootstrap/img/pagination-next-border.gif b/themes/default-bootstrap/img/pagination-next-border.gif new file mode 100644 index 000000000..275f9ad30 Binary files /dev/null and b/themes/default-bootstrap/img/pagination-next-border.gif differ diff --git a/themes/default-bootstrap/img/pagination-prev-border.gif b/themes/default-bootstrap/img/pagination-prev-border.gif new file mode 100644 index 000000000..903d7afa4 Binary files /dev/null and b/themes/default-bootstrap/img/pagination-prev-border.gif differ diff --git a/themes/default-bootstrap/img/pagination-prevnext-bg.gif b/themes/default-bootstrap/img/pagination-prevnext-bg.gif new file mode 100644 index 000000000..d14448458 Binary files /dev/null and b/themes/default-bootstrap/img/pagination-prevnext-bg.gif differ diff --git a/themes/default-bootstrap/img/pagination_bg.gif b/themes/default-bootstrap/img/pagination_bg.gif new file mode 100644 index 000000000..824748ea4 Binary files /dev/null and b/themes/default-bootstrap/img/pagination_bg.gif differ diff --git a/themes/default-bootstrap/img/payment-logo.png b/themes/default-bootstrap/img/payment-logo.png new file mode 100644 index 000000000..fc09af124 Binary files /dev/null and b/themes/default-bootstrap/img/payment-logo.png differ diff --git a/themes/default-bootstrap/img/pict_cart_block_h4.png b/themes/default-bootstrap/img/pict_cart_block_h4.png new file mode 100644 index 000000000..333b9e8c7 Binary files /dev/null and b/themes/default-bootstrap/img/pict_cart_block_h4.png differ diff --git a/themes/default-bootstrap/img/price-container-bg.png b/themes/default-bootstrap/img/price-container-bg.png new file mode 100644 index 000000000..935a8180a Binary files /dev/null and b/themes/default-bootstrap/img/price-container-bg.png differ diff --git a/themes/default-bootstrap/img/product-buy-bg.gif b/themes/default-bootstrap/img/product-buy-bg.gif new file mode 100644 index 000000000..626fb3f63 Binary files /dev/null and b/themes/default-bootstrap/img/product-buy-bg.gif differ diff --git a/themes/default-bootstrap/img/product-short-desc-bg.gif b/themes/default-bootstrap/img/product-short-desc-bg.gif new file mode 100644 index 000000000..dda67ed0a Binary files /dev/null and b/themes/default-bootstrap/img/product-short-desc-bg.gif differ diff --git a/themes/default-bootstrap/img/rss.gif b/themes/default-bootstrap/img/rss.gif new file mode 100644 index 000000000..12c1d33b5 Binary files /dev/null and b/themes/default-bootstrap/img/rss.gif differ diff --git a/themes/default-bootstrap/img/sitemap-horizontal.png b/themes/default-bootstrap/img/sitemap-horizontal.png new file mode 100644 index 000000000..b99d2bead Binary files /dev/null and b/themes/default-bootstrap/img/sitemap-horizontal.png differ diff --git a/themes/default-bootstrap/img/sitemap-last.png b/themes/default-bootstrap/img/sitemap-last.png new file mode 100644 index 000000000..a55aac3d1 Binary files /dev/null and b/themes/default-bootstrap/img/sitemap-last.png differ diff --git a/themes/default-bootstrap/img/sitemap-top.gif b/themes/default-bootstrap/img/sitemap-top.gif new file mode 100644 index 000000000..98a27e4a0 Binary files /dev/null and b/themes/default-bootstrap/img/sitemap-top.gif differ diff --git a/themes/default-bootstrap/img/sitemap_long.gif b/themes/default-bootstrap/img/sitemap_long.gif new file mode 100644 index 000000000..61e090b6a Binary files /dev/null and b/themes/default-bootstrap/img/sitemap_long.gif differ diff --git a/themes/default-bootstrap/img/step_current.gif b/themes/default-bootstrap/img/step_current.gif new file mode 100644 index 000000000..e3e38c4aa Binary files /dev/null and b/themes/default-bootstrap/img/step_current.gif differ diff --git a/themes/default-bootstrap/img/step_current_span.gif b/themes/default-bootstrap/img/step_current_span.gif new file mode 100644 index 000000000..f6899864c Binary files /dev/null and b/themes/default-bootstrap/img/step_current_span.gif differ diff --git a/themes/default-bootstrap/img/step_done.gif b/themes/default-bootstrap/img/step_done.gif new file mode 100644 index 000000000..37d759dbc Binary files /dev/null and b/themes/default-bootstrap/img/step_done.gif differ diff --git a/themes/default-bootstrap/img/step_end.gif b/themes/default-bootstrap/img/step_end.gif new file mode 100644 index 000000000..25aa3307e Binary files /dev/null and b/themes/default-bootstrap/img/step_end.gif differ diff --git a/themes/default-bootstrap/img/step_end_current.gif b/themes/default-bootstrap/img/step_end_current.gif new file mode 100644 index 000000000..37d759dbc Binary files /dev/null and b/themes/default-bootstrap/img/step_end_current.gif differ diff --git a/themes/default-bootstrap/img/step_standard.gif b/themes/default-bootstrap/img/step_standard.gif new file mode 100644 index 000000000..25aa3307e Binary files /dev/null and b/themes/default-bootstrap/img/step_standard.gif differ diff --git a/themes/default-bootstrap/img/step_start.gif b/themes/default-bootstrap/img/step_start.gif new file mode 100644 index 000000000..e595e199d Binary files /dev/null and b/themes/default-bootstrap/img/step_start.gif differ diff --git a/themes/default-bootstrap/img/tab_bg.jpg b/themes/default-bootstrap/img/tab_bg.jpg new file mode 100644 index 000000000..79f1e23ae Binary files /dev/null and b/themes/default-bootstrap/img/tab_bg.jpg differ diff --git a/themes/default-bootstrap/img/tab_bg_selected.jpg b/themes/default-bootstrap/img/tab_bg_selected.jpg new file mode 100644 index 000000000..18610f21a Binary files /dev/null and b/themes/default-bootstrap/img/tab_bg_selected.jpg differ diff --git a/themes/default-bootstrap/img/tab_bg_selected_short.jpg b/themes/default-bootstrap/img/tab_bg_selected_short.jpg new file mode 100644 index 000000000..914fe292b Binary files /dev/null and b/themes/default-bootstrap/img/tab_bg_selected_short.jpg differ diff --git a/themes/default-bootstrap/img/tab_bg_short.jpg b/themes/default-bootstrap/img/tab_bg_short.jpg new file mode 100644 index 000000000..b15dcddd3 Binary files /dev/null and b/themes/default-bootstrap/img/tab_bg_short.jpg differ diff --git a/themes/default-bootstrap/img/table_footer.gif b/themes/default-bootstrap/img/table_footer.gif new file mode 100644 index 000000000..01f1e34f4 Binary files /dev/null and b/themes/default-bootstrap/img/table_footer.gif differ diff --git a/themes/default-bootstrap/img/table_header.gif b/themes/default-bootstrap/img/table_header.gif new file mode 100644 index 000000000..0c25ee4d7 Binary files /dev/null and b/themes/default-bootstrap/img/table_header.gif differ diff --git a/themes/default-bootstrap/img/tail-1.png b/themes/default-bootstrap/img/tail-1.png new file mode 100644 index 000000000..8378afc41 Binary files /dev/null and b/themes/default-bootstrap/img/tail-1.png differ diff --git a/themes/default-bootstrap/img/testimon-after.gif b/themes/default-bootstrap/img/testimon-after.gif new file mode 100644 index 000000000..7f723a6ee Binary files /dev/null and b/themes/default-bootstrap/img/testimon-after.gif differ diff --git a/themes/default-bootstrap/img/thumbs_left.gif b/themes/default-bootstrap/img/thumbs_left.gif new file mode 100644 index 000000000..ceb512b7e Binary files /dev/null and b/themes/default-bootstrap/img/thumbs_left.gif differ diff --git a/themes/default-bootstrap/img/thumbs_right.gif b/themes/default-bootstrap/img/thumbs_right.gif new file mode 100644 index 000000000..2e2c4822d Binary files /dev/null and b/themes/default-bootstrap/img/thumbs_right.gif differ diff --git a/themes/default-bootstrap/img/title_bg.gif b/themes/default-bootstrap/img/title_bg.gif new file mode 100644 index 000000000..44fd38e9a Binary files /dev/null and b/themes/default-bootstrap/img/title_bg.gif differ diff --git a/themes/default-bootstrap/img/title_bg.png b/themes/default-bootstrap/img/title_bg.png new file mode 100644 index 000000000..628588424 Binary files /dev/null and b/themes/default-bootstrap/img/title_bg.png differ diff --git a/themes/default-bootstrap/img/title_bg_large.gif b/themes/default-bootstrap/img/title_bg_large.gif new file mode 100644 index 000000000..d06f6e6ba Binary files /dev/null and b/themes/default-bootstrap/img/title_bg_large.gif differ diff --git a/themes/default-bootstrap/img/top-banner.gif b/themes/default-bootstrap/img/top-banner.gif new file mode 100644 index 000000000..b1f57c7f6 Binary files /dev/null and b/themes/default-bootstrap/img/top-banner.gif differ diff --git a/themes/default-bootstrap/index.php b/themes/default-bootstrap/index.php new file mode 100644 index 000000000..b43480611 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/index.tpl b/themes/default-bootstrap/index.tpl new file mode 100644 index 000000000..f4d30d06d --- /dev/null +++ b/themes/default-bootstrap/index.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 +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{$HOOK_HOME} +{if isset($HOOK_HOME_TAB_CONTENT)} + {if isset($HOOK_HOME_TAB)} + + {/if} +
    + {$HOOK_HOME_TAB_CONTENT} +
    +{/if} \ No newline at end of file diff --git a/themes/default-bootstrap/js/cart-summary.js b/themes/default-bootstrap/js/cart-summary.js new file mode 100644 index 000000000..cd33fbc24 --- /dev/null +++ b/themes/default-bootstrap/js/cart-summary.js @@ -0,0 +1,874 @@ +/* +* 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() +{ + $('.cart_quantity_up').unbind('click').live('click', function(){upQuantity($(this).attr('id').replace('cart_quantity_up_', '')); return false;}); + $('.cart_quantity_down').unbind('click').live('click', function(){downQuantity($(this).attr('id').replace('cart_quantity_down_', '')); return false;}); + $('.cart_quantity_delete' ).unbind('click').live('click', function(){deleteProductFromSummary($(this).attr('id')); return false;}); + $('.cart_quantity_input').typeWatch({highlight: true, wait: 600, captureLength: 0, callback: function(val) { updateQty(val, true, this.el);}}); + $('.cart_address_delivery').live('change', function(){changeAddressDelivery($(this));}); + cleanSelectAddressDelivery(); +}); + +function cleanSelectAddressDelivery() +{ + if (window.ajaxCart !== undefined) + { + //Removing "Ship to an other address" from the address delivery select option if there is not enought address + $.each($('.cart_address_delivery'), function(it, item) + { + var options = $(item).find('option'); + var address_count = 0; + + var ids = $(item).attr('id').split('_'); + var id_product = ids[3]; + var id_product_attribute = ids[4]; + var id_address_delivery = ids[5]; + + $.each(options, function(i) { + if ($(options[i]).val() > 0 + && ($('#product_' + id_product + '_' + id_product_attribute + '_0_' + $(options[i]).val()).length == 0 // Check the address is not already used for a similare products + || id_address_delivery == $(options[i]).val() + ) + ) + address_count++; + }); + + // Need at least two address to allow skipping products to multiple address + if (address_count < 2) + $($(item).find('option[value=-2]')).remove(); + else if($($(item).find('option[value=-2]')).length == 0) + $(item).append($('')); + }); + } +} + +function changeAddressDelivery(obj) +{ + var ids = obj.attr('id').split('_'); + var id_product = ids[3]; + var id_product_attribute = ids[4]; + var old_id_address_delivery = ids[5]; + var new_id_address_delivery = obj.val(); + + if (new_id_address_delivery == old_id_address_delivery) + return; + + if (new_id_address_delivery > 0) // Change the delivery address + { + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart&ajax=true&changeAddressDelivery=1&summary=1&id_product=' + id_product + + '&id_product_attribute='+id_product_attribute + + '&old_id_address_delivery='+old_id_address_delivery + + '&new_id_address_delivery='+new_id_address_delivery + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (typeof(jsonData.hasErrors) != 'undefined' && jsonData.hasErrors) + { + alert(jsonData.error); + // Reset the old address + $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).val(old_id_address_delivery); + } + else + { + // The product exist + if ($('#product_' + id_product + '_' + id_product_attribute + '_0_' + new_id_address_delivery).length) + { + updateCartSummary(jsonData.summary); + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + + // @todo reverse the remove order + // This effect remove the current line, but it's better to remove the other one, and refresshing this one + $('#product_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery).remove(); + + // @todo improve customization upgrading + $('.product_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery).remove(); + } + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + updateAddressId(id_product, id_product_attribute, old_id_address_delivery, new_id_address_delivery); + cleanSelectAddressDelivery(); + } + } + }); + } + else if (new_id_address_delivery == -1) // Adding a new address + window.location = $($('.address_add a')[0]).attr('href'); + else if (new_id_address_delivery == -2) // Add a new line for this product + { + // This test is will not usefull in the future + if (old_id_address_delivery == 0) + { + alert(txtSelectAnAddressFirst); + return false; + } + + // Get new address to deliver + var id_address_delivery = 0; + var options = $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery + ' option'); + $.each(options, function(i) { + // Check the address is not already used for a similare products + if ($(options[i]).val() > 0 && $(options[i]).val() !== old_id_address_delivery && $('#product_' + id_product + '_' + id_product_attribute + '_0_' + $(options[i]).val()).length == 0) + { + id_address_delivery = $(options[i]).val(); + return false; + } + }); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + context: obj, + data: 'controller=cart' + + '&ajax=true&duplicate=true&summary=true' + + '&id_product='+id_product + + '&id_product_attribute='+id_product_attribute + + '&id_address_delivery='+old_id_address_delivery + + '&new_id_address_delivery='+id_address_delivery + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (jsonData.error) + { + alert(jsonData.reason); + return; + } + + var line = $('#product_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery); + var new_line = line.clone(); + updateAddressId(id_product, id_product_attribute, old_id_address_delivery, id_address_delivery, new_line); + line.after(new_line); + new_line.find('input[name=quantity_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery + '_hidden]') + .val(1); + new_line.find('.cart_quantity_input') + .val(1); + $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).val(old_id_address_delivery); + $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + id_address_delivery).val(id_address_delivery); + + + cleanSelectAddressDelivery(); + + updateCartSummary(jsonData.summary); + if (window.ajaxCart !== undefined) + ajaxCart.updateCart(jsonData); + } + }); + } + return true; +} + +function updateAddressId(id_product, id_product_attribute, old_id_address_delivery, id_address_delivery, line) +{ + if (typeof(line) == 'undefined' || line.length == 0) + line = $('#cart_summary tr[id^=product_' + id_product + '_' + id_product_attribute + '_0_], #cart_summary tr[id^=product_' + id_product + '_' + id_product_attribute + '_nocustom_]'); + + $('.product_customization_for_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).each(function(){ + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_' + id_address_delivery)).removeClass('product_customization_for_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery + ' address_' + old_id_address_delivery).addClass('product_customization_for_' + id_product + '_' + id_product_attribute + '_' + id_address_delivery + ' address_' + id_address_delivery); + $(this).find('input[name^=quantity_]').each(function(){ + if (typeof($(this).attr('name')) != 'undefined') + $(this).attr('name', $(this).attr('name').replace(/_\d+(_hidden|)$/, '_' + id_address_delivery)); + }); + $(this).find('a').each(function(){ + if (typeof($(this).attr('href')) != 'undefined') + $(this).attr('href', $(this).attr('href').replace(/id_address_delivery=\d+/, 'id_address_delivery=' + id_address_delivery)); + }); + }); + + line.attr('id', line.attr('id').replace(/_\d+$/, '_' + id_address_delivery)).removeClass('address_' + old_id_address_delivery).addClass('address_' + id_address_delivery).find('span[id^=cart_quantity_custom_], span[id^=total_product_price_], input[name^=quantity_], .cart_quantity_down, .cart_quantity_up, .cart_quantity_delete').each(function(){ + + if (typeof($(this).attr('name')) != 'undefined') + $(this).attr('name', $(this).attr('name').replace(/_\d+(_hidden|)$/, '_' + id_address_delivery)); + if (typeof($(this).attr('id')) != 'undefined') + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_' + id_address_delivery)); + if (typeof($(this).attr('href')) != 'undefined') + $(this).attr('href', $(this).attr('href').replace(/id_address_delivery=\d+/, 'id_address_delivery=' + id_address_delivery)); + }); + + line.find('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).attr('id', 'select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + id_address_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+$/, '_' + id_address_delivery)); + }); + } +} + +function updateQty(val, cart, el) +{ + var prefix = ""; + + if (typeof(cart) == 'undefined' || cart) + prefix = '#order-detail-content '; + else + prefix = '#fancybox-content '; + + var id = $(el).attr('name'); + + var exp = new RegExp("^[0-9]+$"); + + if (exp.test(val) == true) + { + var hidden = $(prefix + 'input[name=' + id + '_hidden]').val(); + var input = $(prefix + 'input[name=' + id + ']').val(); + var QtyToUp = parseInt(input) - parseInt(hidden); + + if (parseInt(QtyToUp) > 0) + upQuantity(id.replace('quantity_', ''), QtyToUp); + else if(parseInt(QtyToUp) < 0) + downQuantity(id.replace('quantity_', ''), QtyToUp); + } + else + $(prefix + 'input[name=' + id + ']').val($(prefix + 'input[name=' + id + '_hidden]').val()); + + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); +} + +function deleteProductFromSummary(id) +{ + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var id_address_delivery = 0; + var ids = 0; + ids = id.split('_'); + productId = parseInt(ids[0]); + if (typeof(ids[1]) !== 'undefined') + productAttributeId = parseInt(ids[1]); + if (typeof(ids[2]) !== 'undefined' && ids[2] !== 'nocustom') + customizationId = parseInt(ids[2]); + if (typeof(ids[3]) !== 'undefined') + id_address_delivery = parseInt(ids[3]); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart' + + '&ajax=true&delete=true&summary=true' + + '&id_product='+productId + + '&ipa='+productAttributeId + + '&id_address_delivery='+id_address_delivery + + ((customizationId !== 0) ? '&id_customization=' + customizationId : '') + + '&token=' + static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if (error !== 'indexOf') + errors += jsonData.errors[error] + "\n"; + } + else + { + if (jsonData.refresh) + location.reload(); + if (parseInt(jsonData.summary.products.length) == 0) + { + if (typeof(orderProcess) == 'undefined' || orderProcess !== 'order-opc') + document.location.href = document.location.href; // redirection + else + { + $('#center_column').children().each(function() { + if ($(this).attr('id') !== 'emptyCartWarning' && $(this).attr('class') !== 'breadcrumb' && $(this).attr('id') !== 'cart_title') + { + $(this).fadeOut('slow', function () { + $(this).remove(); + }); + } + }); + $('#summary_products_label').remove(); + $('#emptyCartWarning').fadeIn('slow'); + } + } + else + { + $('#product_' + id).fadeOut('slow', function() { + $(this).remove(); + cleanSelectAddressDelivery(); + if (!customizationId) + refreshOddRow(); + }); + var exist = false; + for (i=0;i 0)) + exist = true; + } + // if all customization removed => delete product line + if (!exist && customizationId) + $('#product_' + productId + '_' + productAttributeId + '_0_' + id_address_delivery).fadeOut('slow', function() { + $(this).remove(); + var line = $('#product_' + productId + '_' + productAttributeId + '_nocustom_' + id_address_delivery); + if (line.length > 0) + { + line.find('input[name^=quantity_], .cart_quantity_down, .cart_quantity_up, .cart_quantity_delete').each(function(){ + if (typeof($(this).attr('name')) != 'undefined') + $(this).attr('name', $(this).attr('name').replace(/nocustom/, '0')); + if (typeof($(this).attr('id')) != 'undefined') + $(this).attr('id', $(this).attr('id').replace(/nocustom/, '0')); + }); + line.find('span[id^=total_product_price_]').each(function(){ + $(this).attr('id', $(this).attr('id').replace(/_nocustom/, '')); + }); + line.attr('id', line.attr('id').replace(/nocustom/, '0')); + } + refreshOddRow(); + }); + } + updateCartSummary(jsonData.summary); + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if (typeof(getCarrierListAndUpdate) !== 'undefined' && jsonData.summary.products.length > 0) + getCarrierListAndUpdate(); + if (typeof(updatePaymentMethodsDisplay) !== 'undefined') + updatePaymentMethodsDisplay(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + } + }); +} + +function refreshOddRow() +{ + var odd_class = 'odd'; + var even_class = 'even'; + $.each($('.cart_item'), function(i, it) + { + if (i == 0) // First item + { + if ($(this).hasClass('even')) + { + odd_class = 'even'; + even_class = 'odd'; + } + $(this).addClass('first_item'); + } + if(i % 2) + $(this).removeClass(odd_class).addClass(even_class); + else + $(this).removeClass(even_class).addClass(odd_class); + }); + $('.cart_item:last-child, .customization:last-child').addClass('last_item'); +} + +function upQuantity(id, qty) +{ + if (typeof(qty) == 'undefined' || !qty) + qty = 1; + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var id_address_delivery = 0; + var ids = 0; + ids = id.split('_'); + productId = parseInt(ids[0]); + if (typeof(ids[1]) !== 'undefined') + productAttributeId = parseInt(ids[1]); + if (typeof(ids[2]) !== 'undefined' && ids[2] !== 'nocustom') + customizationId = parseInt(ids[2]); + if (typeof(ids[3]) !== 'undefined') + id_address_delivery = parseInt(ids[3]); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart' + + '&ajax=true' + + '&add=true' + + '&getproductprice=true' + + '&summary=true' + + '&id_product=' + productId + + '&ipa=' + productAttributeId + + '&id_address_delivery=' + id_address_delivery + + ((customizationId !== 0) ? '&id_customization=' + customizationId : '') + + '&qty=' + qty + + '&token=' + static_token + + '&allow_refresh=1', + 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); + $('input[name=quantity_'+ id +']').val($('input[name=quantity_'+ id +'_hidden]').val()); + } + else + { + if (jsonData.refresh) + location.reload(); + updateCartSummary(jsonData.summary); + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + if (customizationId !== 0) + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + if (typeof(updatePaymentMethodsDisplay) !== 'undefined') + updatePaymentMethodsDisplay(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + } + }); +} + +function downQuantity(id, qty) +{ + var val = $('input[name=quantity_' + id + ']').val(); + var newVal = val; + if(typeof(qty) == 'undefined' || !qty) + { + qty = 1; + newVal = val - 1; + } + else if (qty < 0) + qty = -qty; + + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var id_address_delivery = 0; + var ids = 0; + + ids = id.split('_'); + productId = parseInt(ids[0]); + if (typeof(ids[1]) !== 'undefined') + productAttributeId = parseInt(ids[1]); + if (typeof(ids[2]) !== 'undefined' && ids[2] !== 'nocustom') + customizationId = parseInt(ids[2]); + if (typeof(ids[3]) !== 'undefined') + id_address_delivery = parseInt(ids[3]); + + if (newVal > 0 || $('#product_' + id + '_gift').length) + { + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart' + + '&ajax=true' + + '&add=true' + + '&getproductprice=true' + + '&summary=true' + + '&id_product='+productId + + '&ipa='+productAttributeId + + '&id_address_delivery='+id_address_delivery + + '&op=down' + + ((customizationId !== 0) ? '&id_customization='+customizationId : '') + + '&qty='+qty + + '&token='+static_token + + '&allow_refresh=1', + 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); + $('input[name=quantity_' + id + ']').val($('input[name=quantity_' + id + '_hidden]').val()); + } + else + { + if (jsonData.refresh) + location.reload(); + updateCartSummary(jsonData.summary); + if (window.ajaxCart !== undefined) + ajaxCart.updateCart(jsonData); + if (customizationId !== 0) + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + + if (newVal == 0) + $('#product_' + id).hide(); + + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + if (typeof(updatePaymentMethodsDisplay) !== 'undefined') + updatePaymentMethodsDisplay(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + } + }); + + } + else + { + deleteProductFromSummary(id); + } +} + +function updateCartSummary(json) +{ + var i; + var nbrProducts = 0; + var product_list = new Array(); + + if (typeof json == 'undefined') + return; + + $('div.alert-danger').fadeOut(); + + for (i=0;i product_list[i].price) + initial_price_text = '' + initial_price + ''; + + var key_for_blockcart = product_list[i].id_product + '_' + product_list[i].id_product_attribute + '_' + product_list[i].id_address_delivery; + var key_for_blockcart_nocustom = product_list[i].id_product + '_' + product_list[i].id_product_attribute + '_' + ((product_list[i].id_customization && product_list[i].quantity_without_customization != product_list[i].quantity)? 'nocustom' : '0') + '_' + product_list[i].id_address_delivery; + + if (priceDisplayMethod !== 0) + { + $('#product_price_' + key_for_blockcart).html(initial_price_text + current_price); + if (typeof(product_list[i].customizationQuantityTotal) !== 'undefined' && product_list[i].customizationQuantityTotal > 0) + $('#total_product_price_' + key_for_blockcart).html(formatCurrency(product_list[i].total_customization, currencyFormat, currencySign, currencyBlank)); + else + $('#total_product_price_' + key_for_blockcart).html(formatCurrency(product_list[i].total, currencyFormat, currencySign, currencyBlank)); + if (product_list[i].quantity_without_customization != product_list[i].quantity) + $('#total_product_price_' + key_for_blockcart_nocustom).html(formatCurrency(product_list[i].total, currencyFormat, currencySign, currencyBlank)); + } + else + { + $('#product_price_' + key_for_blockcart).html(initial_price_text + current_price); + if (typeof(product_list[i].customizationQuantityTotal) !== 'undefined' && product_list[i].customizationQuantityTotal > 0) + $('#total_product_price_' + key_for_blockcart).html(formatCurrency(product_list[i].total_customization_wt, currencyFormat, currencySign, currencyBlank)); + else + $('#total_product_price_' + key_for_blockcart).html(formatCurrency(product_list[i].total_wt, currencyFormat, currencySign, currencyBlank)); + if (product_list[i].quantity_without_customization != product_list[i].quantity) + $('#total_product_price_' + key_for_blockcart_nocustom).html(formatCurrency(product_list[i].total_wt, currencyFormat, currencySign, currencyBlank)); + } + $('input[name=quantity_' + key_for_blockcart_nocustom + ']').val(product_list[i].id_customization? product_list[i].quantity_without_customization : product_list[i].cart_quantity); + $('input[name=quantity_' + key_for_blockcart_nocustom + '_hidden]').val(product_list[i].id_customization? product_list[i].quantity_without_customization : product_list[i].cart_quantity); + if (typeof(product_list[i].customizationQuantityTotal) !== 'undefined' && product_list[i].customizationQuantityTotal > 0) + $('#cart_quantity_custom_' + key_for_blockcart).html(product_list[i].customizationQuantityTotal); + nbrProducts += parseInt(product_list[i].quantity); + } + + // Update discounts + if (json.discounts.length == 0) + { + $('.cart_discount').each(function(){$(this).remove();}); + $('.cart_total_voucher').remove(); + } + else + { + if ($('.cart_discount').length == 0) + location.reload(); + + if (priceDisplayMethod !== 0) + $('#total_discount').html('-' + formatCurrency(json.total_discounts_tax_exc, currencyFormat, currencySign, currencyBlank)); + else + $('#total_discount').html('-' + formatCurrency(json.total_discounts, currencyFormat, currencySign, currencyBlank)); + + $('.cart_discount').each(function(){ + var idElmt = $(this).attr('id').replace('cart_discount_',''); + var toDelete = true; + + for (i=0;i 0) + { + if (priceDisplayMethod !== 0) + { + $('#cart_block_shipping_cost').html(formatCurrency(json.total_shipping_tax_exc, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_wrapping_cost').html(formatCurrency(json.total_wrapping_tax_exc, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_total').html(formatCurrency(json.total_price_without_tax, currencyFormat, currencySign, currencyBlank)); + } + else + { + $('#cart_block_shipping_cost').html(formatCurrency(json.total_shipping, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_wrapping_cost').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_total').html(formatCurrency(json.total_price, currencyFormat, currencySign, currencyBlank)); + } + } + else + { + if (json.carrier.id == null) + { + $('#cart_block_shipping_cost').hide(); + $('#cart_block_shipping_cost').next().hide(); + } + } + + $('#cart_block_tax_cost').html(formatCurrency(json.total_tax, currencyFormat, currencySign, currencyBlank)); + $('.ajax_cart_quantity').html(nbrProducts); + + // Cart summary + $('#summary_products_quantity').html(nbrProducts + ' ' + (nbrProducts > 1 ? txtProducts : txtProduct)); + if (priceDisplayMethod !== 0) + $('#total_product').html(formatCurrency(json.total_products, currencyFormat, currencySign, currencyBlank)); + else + $('#total_product').html(formatCurrency(json.total_products_wt, currencyFormat, currencySign, currencyBlank)); + $('#total_price').html(formatCurrency(json.total_price, currencyFormat, currencySign, currencyBlank)); + $('#total_price_without_tax').html(formatCurrency(json.total_price_without_tax, currencyFormat, currencySign, currencyBlank)); + $('#total_tax').html(formatCurrency(json.total_tax, currencyFormat, currencySign, currencyBlank)); + + $('.cart_total_delivery').show(); + if (json.total_shipping > 0) + { + if (priceDisplayMethod !== 0) + $('#total_shipping').html(formatCurrency(json.total_shipping_tax_exc, currencyFormat, currencySign, currencyBlank)); + else + $('#total_shipping').html(formatCurrency(json.total_shipping, currencyFormat, currencySign, currencyBlank)); + } + else + { + if (json.carrier.id != null) + $('#total_shipping').html(freeShippingTranslation); + else + $('.cart_total_delivery').hide(); + } + + if (json.free_ship > 0 && !json.is_virtual_cart) + { + $('.cart_free_shipping').fadeIn(); + $('#free_shipping').html(formatCurrency(json.free_ship, currencyFormat, currencySign, currencyBlank)); + } + else + $('.cart_free_shipping').hide(); + + if (json.total_wrapping > 0) + { + $('#total_wrapping').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); + $('#total_wrapping').parent().show(); + } + else + { + $('#total_wrapping').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); + $('#total_wrapping').parent().hide(); + } +} + +function updateCustomizedDatas(json) +{ + for(var i in json) + for(var j in json[i]) + for(var k in json[i][j]) + for(var l in json[i][j][k]) + { + var quantity = json[i][j][k][l]['quantity']; + $('input[name=quantity_' + i + '_' + j + '_' + l + '_' + k + '_hidden]').val(quantity); + $('input[name=quantity_' + i + '_' + j + '_' + l + '_' + k + ']').val(quantity); + } +} + +function updateHookShoppingCart(html) +{ + $('#HOOK_SHOPPING_CART').html(html); +} + +function updateHookShoppingCartExtra(html) +{ + $('#HOOK_SHOPPING_CART_EXTRA').html(html); +} +function refreshDeliveryOptions() +{ + $.each($('.delivery_option_radio'), function() { + if ($(this).prop('checked')) + { + if ($(this).parent().find('.delivery_option_carrier.not-displayable').length == 0) + $(this).parent().find('.delivery_option_carrier').show(); + var carrier_id_list = $(this).val().split(','); + carrier_id_list.pop(); + var it = this; + $(carrier_id_list).each(function() { + $(it).parent().find('input[value="' + this.toString() + '"]').change(); + }); + } + else + $(this).parent().find('.delivery_option_carrier').hide(); + }); +} +$(document).ready(function() { + + refreshDeliveryOptions(); + + $('.delivery_option_radio').live('change', function() { + refreshDeliveryOptions(); + }); + + $('#allow_seperated_package').live('click', function() { + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'controller=cart&ajax=true&allowSeperatedPackage=true&value=' + + ($(this).prop('checked') ? '1' : '0') + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + } + }); + }); + + $('#gift').checkboxChange(function() { $('#gift_div').show('slow'); }, function() { $('#gift_div').hide('slow'); }); + + $('#enable-multishipping').checkboxChange( + function() { + $('.standard-checkout').hide(0); + $('.multishipping-checkout').show(0); + }, + function() { + $('.standard-checkout').show(0); + $('.multishipping-checkout').hide(0); + } + ); +}); + +function updateExtraCarrier(id_delivery_option, id_address) +{ + var url = ""; + + if(typeof(orderOpcUrl) !== 'undefined') + url = orderOpcUrl; + else + url = orderUrl; + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: url + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true' + + '&method=updateExtraCarrier' + + '&id_address='+id_address + + '&id_delivery_option='+id_delivery_option + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + $('#HOOK_EXTRACARRIER_' + id_address).html(jsonData['content']); + } + }); +} \ No newline at end of file diff --git a/themes/default-bootstrap/js/cms.js b/themes/default-bootstrap/js/cms.js new file mode 100644 index 000000000..89636955b --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/js/contact-form.js b/themes/default-bootstrap/js/contact-form.js new file mode 100644 index 000000000..82953a581 --- /dev/null +++ b/themes/default-bootstrap/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').parent('.selector').hide(); + $('#'+id_order+'_order_products').show().removeAttr('disabled').parent('.selector').show(); +} \ No newline at end of file diff --git a/themes/default-bootstrap/js/history.js b/themes/default-bootstrap/js/history.js new file mode 100644 index 000000000..bcf10bd8d --- /dev/null +++ b/themes/default-bootstrap/js/history.js @@ -0,0 +1,147 @@ +/* +* 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); + } + }); + // The button to increment the product return value + $('.return_quantity_down').click(function () { + var $input = $(this).parent().parent().find('input'); + var count = parseInt($input.val()) - 1; + count = count < 1 ? 1 : count; + $input.val(count); + $input.change(); + return false; + }); + // The button to decrement the product return value + $('.return_quantity_up').click(function () { + var maxQuantity = parseInt($(this).parent().parent().find('.order_qte_span').text()); + var $input = $(this).parent().parent().find('input'); + var count = parseInt($input.val()) + 1; + count = count > maxQuantity ? maxQuantity : count; + $input.val(count); + $input.change(); + return false; + }); + } + //catch the submit event of sendOrderMessage form + $('form#sendOrderMessage').submit(function(){ + return sendOrderMessage(); + }); + $(this).fadeIn('slow', function() { + $.scrollTo(this, 1200); + }); + }); + }); +} + +function updateOrderLineDisplay(domCheckbox) +{ + var lineQuantitySpan = $(domCheckbox).parent().parent().find('.order_qte_span'); + var lineQuantityInput = $(domCheckbox).parent().parent().find('.order_qte_input'); + var lineQuantityButtons = $(domCheckbox).parent().parent().find('.return_quantity_up, .return_quantity_down'); + if($(domCheckbox).is(':checked')) + { + lineQuantitySpan.hide(); + lineQuantityInput.show(); + lineQuantityButtons.show(); + } + else + { + lineQuantityInput.hide(); + lineQuantityButtons.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-bootstrap/js/index.php b/themes/default-bootstrap/js/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/js/jquery.fancybox.js b/themes/default-bootstrap/js/jquery.fancybox.js new file mode 100644 index 000000000..73f757843 --- /dev/null +++ b/themes/default-bootstrap/js/jquery.fancybox.js @@ -0,0 +1,46 @@ +/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ +(function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&"string"===f.type(a)},E=function(a){return q(a)&&0
    ',image:'',iframe:'",error:'

    The requested content cannot be loaded.
    Please try again later.

    ',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0, +openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1, +isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k, +c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":q(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&& +k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current|| +b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer= +setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d= +a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),b.trigger("onUpdate")), +b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
    ').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(), +y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");n.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(n.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement; +if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0, +{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1, +mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio= +!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,w(d.padding[a]))});b.trigger("onReady");if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href"); +"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload= +this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href); +f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload, +e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin, +outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("
    ").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('
    ').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case "image":e=a.tpl.image.replace("{href}", +g);break;case "swf":e='',h="",f.each(a.swf,function(a,b){e+='';h+=" "+a+'="'+b+'"'}),e+='"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");a.inner.css("overflow","yes"===k?"scroll": +"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside? +h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(H=h.content,h.autoHeight&&1===H.data("ready"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find("body"),q&&F.css("overflow-x","hidden"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth|| +h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,"w")-z:m);n=l(E(n)?l(n,"w")-z:n);u=l(E(u)?l(u,"h")-t:u);p=l(E(p)?l(p,"h")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),cz||y>r)&&(c>m&&j>u)&&!(19n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&j
    ').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(n.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive? +b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass("fancybox-lock"),n.scrollTop(a).scrollLeft(b));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth), +p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f("*").filter(function(){return"fixed"=== +f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass("fancybox-lock"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d= +b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&""!==f.trim(e)){d=f('
    '+e+"
    ");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),I&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d, +e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):p.undelegate(c,"click.fb-start").delegate(c+ +":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('
    ').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('
    ').appendTo("body");var e=20=== +d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(r).width();J.addClass("fancybox-lock-test");d=f(r).width();J.removeClass("fancybox-lock-test");f("").appendTo("head")})})(window,document,jQuery); \ No newline at end of file diff --git a/themes/default-bootstrap/js/jquery/highdpi.js b/themes/default-bootstrap/js/jquery/highdpi.js new file mode 100644 index 000000000..805133709 --- /dev/null +++ b/themes/default-bootstrap/js/jquery/highdpi.js @@ -0,0 +1,15 @@ +function highdpi_init() { + if(jQuery('.replace-2x').css('font-size') == "1px") { + var els = jQuery("img.replace-2x").get(); + for(var i = 0; i < els.length; i++) { + var src = els[i].src + src = src.replace(".png", "2x.png"); + src = src.replace(".jpg", "2x.jpg"); + src = src.replace(".gif", "2x.gif"); + els[i].src = src; + } + } +} +jQuery(document).ready(function() { + highdpi_init(); +}); \ No newline at end of file diff --git a/themes/default-bootstrap/js/jquery/jquery.lint.js b/themes/default-bootstrap/js/jquery/jquery.lint.js new file mode 100644 index 000000000..6a41d0d91 --- /dev/null +++ b/themes/default-bootstrap/js/jquery/jquery.lint.js @@ -0,0 +1,847 @@ +/** + * jQuery Lint + * --- + * VERSION 1.1 + * --- + * jQuery lint creates a thin blanket over jQuery that'll + * report any potentially erroneous activity to the console. + * --- + * Idea from: + * http://markmail.org/message/wzkosk2s5jklpkv4 + * http://groups.google.com/group/jquery-dev/browse_thread/thread/9a15cca62ceb2444 + * --- + * @author James Padolsey + * @contributors Paul Irish, Zoran Zaric, Hans-Peter Buniat + * --- + * Dual licensed under the MIT and GPL licenses. + * - http://www.opensource.org/licenses/mit-license.php + * - http://www.gnu.org/copyleft/gpl.html + */ + +(function(){ + + var _jQuery = window.jQuery; // Change as needed + + if (!_jQuery) { + return; + } + + var glob = window, + + langs = { + en: { + incorrectCall: '%0(%1) called incorrectly', + specialCheckFailed: '%0(%1) special check failed', + moreInfo: 'More info:', + youPassed: 'You passed: ', + collection: 'Collection:', + availableSigsInclude: 'Available signatures include: ', + errorThrown: 'When I called %0(%1) with your args, an error was thrown!', + repeatSelector: "You've used the same selector more than once.", + info: 'Info', + selector: 'Selector: ', + slowSelector: 'Selector: %0\nSelectors should be as specific as possible, not overqualified and never "class only"', + selectorAdvice: "You should only use the same selector more than once when you know the returned collection will be different. For example, if you've added more elements to the page that may comply with the selector", + noElementsFound: 'No elements were found with the selector: "%0"', + combineCalls: 'Why not combine these calls by passing an object? E.g. \n%0(%1)', + methodTwice: "You've called %0(%1) more than once on the same jQuery object", + triggeredBy: 'Triggered by %0 event', + notBestMethod: 'Insted of accessing the property via %0(%1), use %2 insted', + event: 'Event:', + handler: 'Handler:', + location: 'Location:', + invalidFilters: 'Selector: %0\nYou used invalid filters (aka Pseudo classes):\n%1', + badReadyCall: "Don't use jQuery().ready() - use jQuery(document).ready() instead. The former is likely to be deprecated in the future.", + browser: "Don't use jQuery.browser", + browserSafari: "Don't use jQuery.browser.safari - it's deprecated. If you have to use browser detection, then use jQuery.browser.webkit.", + featureDetection: 'The jQuery team recommends against using jQuery.browser, please try to use feature detection instead (see jQuery.support).', + boxModel: "Don't use jQuery.boxModel.", + boxModelDeprecated: 'Deprecated in jQuery 1.3 (see jQuery.support)' + }, + de: { + incorrectCall: '%0(%1) falsch aufgerufen', + specialCheckFailed: '%0(%1) Spezial-Check fehlgeschlagen', + moreInfo: 'Mehr Informationen:', + youPassed: 'Du hast übergeben: ', + collection: 'Sammlung:', + availableSigsInclude: 'Verfügbare Signaturen enthalten: ', + errorThrown: 'Als ich %0(%1) mit deinen Argumenten aufgerufen habe, wurde ein Fehler geworfen!', + repeatSelector: "Du hast den selben Selektor mehrmals verwendet.", + info: 'Info', + selector: 'Selektor: ', + slowSelector: 'Selektor: %0\nSelektoren sollten so spezifisch wie moeglich sein, nicht ueberqualifiziert und nicht nur anhand einer Klasse selektieren', + selectorAdvice: "Du solltest den selben Selektor nur dann verwenden, wenn du weißt dass sich das Ergebnis ändert. Zum Beispiel, wenn du Elemente zu einer Seite hinzufügst, die den Selektor erfüllen", + noElementsFound: 'Keine Elemente gefunden für den Selektor: "%0"', + combineCalls: 'Warum kombinierst du diese Aufrufen nicht, indem du ein Objekt übergibst? z.B. \n%0(%1)', + methodTwice: "Du hast %0(%1) mehr als ein mal auf dem selben jQuery-Objekt aufgerufen", + triggeredBy: 'Vom %0-Event getriggert', + notBestMethod: 'Verwende %2 anstelle von %0(%1)', + event: 'Event:', + handler: 'Handler:', + location: 'Location:', + invalidFilters: 'Selektor: %0\nDu hast fehlerhafte Filter verwendet (aka Pseudo Klassen):\n%1', + badReadyCall: "Verwende jQuery().ready() nicht - verwende stattdessen jQuery(document).ready(). Ersteres wird wahrscheinlich in der Zukunft deprecated.", + browser: "Verwende jQuery.browser nicht", + browserSafari: "Verwende jQuery.browser.safari nicht - es ist deprecated. Wenn du eine Browser-Erkennung verwenden musst, nimm jQuery.browser.webkit.", + featureDetection: 'Das jQuery-Team empfiehlt jQuery.browser nicht zu verwenden. Verwende lieber Feature-Erkennung (siehe jQuery.support).', + boxModel: "Verwende jQuery.boxModel nicht.", + boxModelDeprecated: 'Deprecated in jQuery 1.3 (siehe jQuery.support)' + } + }, + + // Define console if not defined + // Access it via jQuery.LINT.console + emptyFn = function(){}, + _console = { + + warn: glob.console && console.warn ? + function(){ + console.warn.apply(console, arguments); + } : emptyFn, + + group: glob.console && console.group ? + function(){ + console.group.apply(console, arguments); + } : emptyFn, + + groupEnd: glob.console && console.groupEnd ? + function(){ + console.groupEnd(); + } : emptyFn, + + groupCollapsed: glob.console && console.groupCollapsed ? + function(){ + console.groupCollapsed.apply(console, arguments); + } : emptyFn, + + log: glob.console && console.log ? + function(){ + console.log.apply(console, arguments); + } : emptyFn + + }, + + // Add specific checks + // This is the best place to bring up bad practices + checks = [ + {/* Level 0 */}, + {/* Level 1 */}, + {/* Level 2 */}, + {/* Level 3 */} + ], + + addCheck = function(methodName, level, check) { + + level = Math.min(3, ~~level); + + (checks[level][methodName] || (checks[level][methodName] = [])).push(check); + + return lint; + + }, + + lint = { + version: '1.01', + level: 3, + checks: checks, + special: checks, // Support decrecated API + addCheck: addCheck, + lang: 'en', + langs: langs, + console: _console, + throwErrors: false, + enabledReports: { + // True to report, false to supress + noElementsFound: true, + repeatSelector: true, + browserSniffing: true, + slowSelector: true, + invalidFilters: true + }, + api: {focus:[{added:"1.0"},{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.6"}],"deferred.pipe":[{added:"1.6",arg:[{name:"doneFilter",type:"Function",optional:true},{name:"failFilter",type:"Function",optional:true}]}],"deferred.always":[{added:"1.6",arg:[{name:"alwaysCallbacks",type:"Function"}]}],promise:[{added:"1.6",arg:[{name:"type",type:"String",optional:true,"default":"fx"},{name:"target",type:"Object, Function",optional:true,multiple:true}]}],removeProp:[{added:"1.6",arg:[{name:"propertyName",type:"String"},{name:"value",type:"String, Number, Boolean"}]}],prop:[{added:"1.6",arg:[{name:"propertyName",type:"String"},{name:"function(index, oldPropertyValue)",type:"Function"}]},{added:"1.6",arg:[{name:"map",type:"Map"}]},{added:"1.6",arg:[{name:"propertyName",type:"String"},{name:"value",type:"String, Number, Boolean"}]},{added:"1.6",arg:[{name:"propertyName",type:"String"}]}],"jQuery.ajaxPrefilter":[{added:"1.5",arg:[{name:"dataTypes",optional:true,type:"String"},{name:"handler(options, originalOptions, jqXHR)",type:"Function"}]}],"jQuery.holdReady":[{added:"1.6",arg:[{name:"hold",type:"Boolean"}]}],"jQuery.hasData":[{added:"1.5",arg:[{name:"element",type:"Element"}]}],"jQuery.now":[{added:"1.4.3"}],jquery:[{added:"1.0"}],"deferred.promise":[{added:"1.5",arg:[{name:"target",type:"Object, Function",optional:true,multiple:true}]}],"jQuery.cssHooks":[{added:"1.4.3"}],"jQuery.parseXML":[{added:"1.5",arg:[{name:"data",type:"String"}]}],"jQuery.when":[{added:"1.5",arg:[{name:"deferreds",type:"Deferred"}]}],"deferred.resolveWith":[{added:"1.5",arg:[{name:"context",type:"Object"},{name:"args",type:"Array",optional:true}]}],"deferred.rejectWith":[{added:"1.5",arg:[{name:"context",type:"Object"},{name:"args",type:"Array",optional:true}]}],"deferred.fail":[{added:"1.5",arg:[{name:"failCallbacks",type:"Function"},{name:"failCallbacks",type:"Function",optional:true,multiple:true}]}],"deferred.done":[{added:"1.5",arg:[{name:"doneCallbacks",type:"Function"},{name:"doneCallbacks",type:"Function",optional:true,multiple:true}]}],"deferred.then":[{added:"1.5",arg:[{name:"doneCallbacks",type:"Function"},{name:"failCallbacks",type:"Function"}]}],"deferred.reject":[{added:"1.5",arg:[{name:"args",type:"Object"}]}],"deferred.isRejected":[{added:"1.5"}],"deferred.isResolved":[{added:"1.5"}],"deferred.resolve":[{added:"1.5",arg:[{name:"args",type:"Object"}]}],"jQuery.sub":[{added:"1.5"}],fadeToggle:[{added:"1.4.4",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Function",optional:true}]}],"jQuery.type":[{added:"1.4.3",arg:[{name:"obj",type:"Object"}]}],"jQuery.isWindow":[{added:"1.4.3",arg:[{name:"obj",type:"Object"}]}],toggle:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"},{name:"handler(eventObject)",type:"Function",multiple:true},{name:"handler(eventObject)",optional:true,type:"Function",multiple:true}]},{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.3",arg:[{name:"showOrHide",type:"Boolean"}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],"jQuery.fx.interval":[{added:"1.4.3"}],"event.namespace":[{added:"1.4.3"}],undelegate:[{added:"1.4.3",arg:[{name:"selector",type:"String"},{name:"events",type:"Map"}]},{added:"1.4.2"},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"},{name:"handler",type:"Function"}]},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"}]},{added:"1.6",arg:[{name:"namespace",type:"String"}]}],delegate:[{added:"1.4.3",arg:[{name:"selector",type:"String"},{name:"events",type:"Map"}]},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"},{name:"eventData",type:"Object"},{name:"handler",type:"Function"}]},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"},{name:"handler",type:"Function"}]}],"jQuery.error":[{added:"1.4.1",arg:[{name:"message",type:"String"}]}],"jQuery.parseJSON":[{added:"1.4.1",arg:[{name:"json",type:"String"}]}],"jQuery.proxy":[{added:"1.4",arg:[{name:"context",type:"Object"},{name:"name",type:"String"}]},{added:"1.4",arg:[{name:"function",type:"Function"},{name:"context",type:"Object"}]}],focusout:[{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"handler(eventObject)",type:"Function"}]}],focusin:[{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"handler(eventObject)",type:"Function"}]}],has:[{added:"1.1.4",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"contained",type:"Element"}]},{added:"1.4",arg:[{name:"selector",type:"String"}]}],"jQuery.contains":[{added:"1.4",arg:[{name:"container",type:"Element"},{name:"contained",type:"Element"}]}],"jQuery.noop":[{added:"1.4"}],delay:[{added:"1.4",arg:[{name:"duration",type:"Integer"},{name:"queueName",optional:true,type:"String"}]}],parentsUntil:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],prevUntil:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],nextUntil:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],"event.isImmediatePropagationStopped":[{added:"1.3"}],"event.stopImmediatePropagation":[{added:"1.3"}],"event.isPropagationStopped":[{added:"1.3"}],"event.stopPropagation":[{added:"1.0"}],"event.isDefaultPrevented":[{added:"1.3"}],"event.preventDefault":[{added:"1.0"}],"event.timeStamp":[{added:"1.2.6"}],"event.result":[{added:"1.3"}],"event.which":[{added:"1.1.3"}],"event.pageY":[{added:"1.0.4"}],"event.pageX":[{added:"1.0.4"}],"event.currentTarget":[{added:"1.3"}],"event.relatedTarget":[{added:"1.1.4"}],"event.data":[{added:"1.1"}],"event.target":[{added:"1.0"}],"event.type":[{added:"1.0"}],"jQuery.fx.off":[{added:"1.3"}],each:[{added:"1.0",arg:[{name:"function(index, Element)",type:"Function"}]}],pushStack:[{added:"1.0",arg:[{name:"elements",type:"Array"}]},{added:"1.3",arg:[{name:"elements",type:"Array"},{name:"name",type:"String"},{name:"arguments",type:"Array"}]}],"jQuery.globalEval":[{added:"1.0.4",arg:[{name:"code",type:"String"}]}],"jQuery.isXMLDoc":[{added:"1.1.4",arg:[{name:"node",type:"Element"}]}],"jQuery.removeData":[{added:"1.2.3",arg:[{name:"element",type:"Element"},{name:"name",type:"String",optional:true}]}],"jQuery.data":[{added:"1.2.3",arg:[{name:"element",type:"Element"},{name:"key",type:"String"},{name:"value",type:"*",multiple:true}]},{added:"1.2.3",arg:[{name:"element",type:"Element"},{name:"key",type:"String"}]},{added:"1.4",arg:[{name:"element",type:"Element"}]}],"jQuery.dequeue":[{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",optional:true,type:"String"}]}],"jQuery.queue":[{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",type:"String"},{name:"callback()",type:"Function"}]},{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",type:"String"},{name:"newQueue",type:"Array"}]},{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",optional:true,type:"String"}]}],clearQueue:[{added:"1.4",arg:[{name:"queueName",optional:true,type:"String"}]}],toArray:[{added:"1.4"}],"jQuery.isEmptyObject":[{added:"1.4",arg:[{name:"object",type:"Object"}]}],"jQuery.isPlainObject":[{added:"1.4",arg:[{name:"object",type:"Object"}]}],keydown:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],index:[{added:"1.0",arg:[{name:"element",type:"Element, jQuery"}]},{added:"1.4",arg:[{name:"selector",type:"Selector"}]},{added:"1.4"}],removeData:[{added:"1.2.3",arg:[{name:"name",type:"String",optional:true}]}],data:[{added:"1.2.3",arg:[{name:"key",type:"String"}]},{added:"1.2.3",arg:[{name:"key",type:"String"},{name:"value",type:"*",multiple:true}]},{added:"1.4"},{added:"1.4.3",arg:[{name:"obj",type:"Object"}]}],get:[{added:"1.0",arg:[{name:"index",type:"Number",optional:true}]}],size:[{added:"1.0"}],"jQuery.noConflict":[{added:"1.0",arg:[{name:"removeAll",type:"Boolean",optional:true}]}],selected:[{added:"1.0"}],checked:[{added:"1.0"}],disabled:[{added:"1.0"}],enabled:[{added:"1.0"}],file:[{added:"1.0"}],button:[{added:"1.0"}],reset:[{added:"1.0"}],image:[{added:"1.0"}],submit:[{added:"1.0"},{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],checkbox:[{added:"1.0"}],radio:[{added:"1.0"}],password:[{added:"1.0"}],text:[{added:"1.0",arg:[{name:"textString",type:"String, Number"}]},{added:"1.0"},{added:"1.0"},{added:"1.4",arg:[{name:"function(index, text)",type:"Function"}]}],input:[{added:"1.0"}],"only-child":[{added:"1.1.4"}],"last-child":[{added:"1.1.4"}],"first-child":[{added:"1.1.4"}],"nth-child":[{added:"1.1.4",arg:[{name:"index",type:"Number\/String"}]}],attributeContainsPrefix:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeContainsWord:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeMultiple:[{added:"1.0",arg:[{name:"attributeFilter1",type:"Selector"},{name:"attributeFilter2",type:"Selector"},{name:"attributeFilterN",optional:true,type:"Selector"}]}],attributeContains:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeEndsWith:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeStartsWith:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeNotEqual:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeEquals:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeHas:[{added:"1.0",arg:[{name:"attribute",type:"String"}]}],visible:[{added:"1.0"}],hidden:[{added:"1.0"}],parent:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]},{added:"1.0"}],empty:[{added:"1.0"},{added:"1.0"}],contains:[{added:"1.1.4",arg:[{name:"text",type:"String"}]}],animated:[{added:"1.2"}],header:[{added:"1.2"}],lt:[{added:"1.0",arg:[{name:"index",type:"Number"}]}],gt:[{added:"1.0",arg:[{name:"index",type:"Number"}]}],eq:[{added:"1.0",arg:[{name:"index",type:"Number"}]},{added:"1.1.2",arg:[{name:"index",type:"Integer"}]},{added:"1.4",arg:[{name:"-index",type:"Integer"}]}],odd:[{added:"1.0"}],even:[{added:"1.0"}],not:[{added:"1.0",arg:[{name:"elements",type:"Elements"}]},{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"function(index)",type:"Function"}]}],last:[{added:"1.0"},{added:"1.4"}],first:[{added:"1.0"},{added:"1.4"}],"next siblings":[{added:"1.0",arg:[{name:"prev",type:"Selector"},{name:"siblings",type:"Selector"}]}],"next adjacent":[{added:"1.0",arg:[{name:"prev",type:"Selector"},{name:"next",type:"Selector"}]}],child:[{added:"1.0",arg:[{name:"parent",type:"Selector"},{name:"child",type:"Selector"}]}],descendant:[{added:"1.0",arg:[{name:"ancestor",type:"Selector"},{name:"descendant",type:"Selector"}]}],multiple:[{added:"1.0",arg:[{name:"selector1",type:"Selector"},{name:"selector2",type:"Selector"},{name:"selectorN",optional:true,type:"Selector"}]}],all:[{added:"1.0"}],"class":[{added:"1.0",arg:[{name:"class",type:"String"}]}],element:[{added:"1.0",arg:[{name:"element",type:"String"}]}],id:[{added:"1.0",arg:[{name:"id",type:"String"}]}],scroll:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],resize:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],dequeue:[{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"}]}],queue:[{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"},{name:"callback( next )",type:"Function"}]},{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"},{name:"newQueue",type:"Array"}]},{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"}]}],keyup:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],keypress:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],select:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],change:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],blur:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mousemove:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],hover:[{added:"1.0",arg:[{name:"handlerIn(eventObject)",type:"Function"},{name:"handlerOut(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"handlerInOut(eventObject)",type:"Function"}]}],mouseleave:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseenter:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseout:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseover:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],dblclick:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],click:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseup:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mousedown:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],error:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],unload:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],load:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:"true ",type:"Map, String"},{name:"complete(responseText, textStatus, XMLHttpRequest)",type:"Function",optional:true}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],ready:[{added:"1.0",arg:[{name:"handler",type:"Function"}]}],die:[{added:"1.3",arg:[{name:"eventType",type:"String"},{name:"handler",optional:true,type:"String"}]},{added:"1.4.3",arg:[{name:"eventTypes",type:"Map"}]},{added:"1.4.1"}],"jQuery.browser":[{added:"1.0"}],"jQuery.browser.version":[{added:"1.1.3"}],live:[{added:"1.3",arg:[{name:"eventType",type:"String"},{name:"handler",type:"Function"}]},{added:"1.4.3",arg:[{name:"events",type:"Object"}]},{added:"1.4",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object"},{name:"handler",type:"Function"}]}],triggerHandler:[{added:"1.2",arg:[{name:"eventType",type:"String"},{name:"extraParameters",type:"Array"}]}],trigger:[{added:"1.0",arg:[{name:"eventType",type:"String"},{name:"extraParameters",type:"Object"}]},{added:"1.3",arg:[{name:"event",type:"Event"}]}],ajaxComplete:[{added:"1.0",arg:[{name:"handler(event, XMLHttpRequest, ajaxOptions)",type:"Function"}]}],one:[{added:"1.1",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],serializeArray:[{added:"1.2"}],serialize:[{added:"1.0"}],"jQuery.ajaxSetup":[{added:"1.1",arg:[{name:"options",type:"Options"}]}],ajaxSuccess:[{added:"1.0",arg:[{name:"handler(event, XMLHttpRequest, ajaxOptions)",type:"Function"}]}],ajaxStop:[{added:"1.0",arg:[{name:"handler()",type:"Function"}]}],ajaxStart:[{added:"1.0",arg:[{name:"handler()",type:"Function"}]}],ajaxSend:[{added:"1.0",arg:[{name:"handler(event, jqXHR, ajaxOptions)",type:"Function"}]}],ajaxError:[{added:"1.0",arg:[{name:"handler(event, jqXHR, ajaxSettings, thrownError)",type:"Function"}]}],unbind:[{added:"1.0",arg:[{name:"eventType",type:"String",optional:true},{name:"handler(eventObject)",type:"Function",optional:true}]},{added:"1.0",arg:[{name:"event",type:"Object"}]},{added:"1.4.3",arg:[{name:"eventType",type:"String"},{name:"false",type:"Boolean"}]}],bind:[{added:"1.0",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"events",type:"Object"}]},{added:"1.4.3",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object",optional:true},{name:"false",type:"Boolean"}]}],slice:[{added:"1.1.4",arg:[{name:"start",type:"Integer"},{name:"end",optional:true,type:"Integer"}]}],jQuery:[{added:"1.0",arg:[{name:"html",type:"String"},{name:"ownerDocument",optional:true,type:"document"}]},{added:"1.0",arg:[{name:"callback",type:"Function"}]},{added:"1.0",arg:[{name:"selector",type:"selector"},{name:"context",optional:true,type:"Element, jQuery"}]},{added:"1.0",arg:[{name:"jQuery object",type:"Object"}]},{added:"1.0",arg:[{name:"element",type:"Element"}]},{added:"1.0",arg:[{name:"elementArray",type:"Array"}]},{added:"1.4"},{added:"1.4",arg:[{name:"html",type:"String"},{name:"props",type:"Object"}]}],stop:[{added:"1.2",arg:[{name:"clearQueue",type:"Boolean",optional:true},{name:"jumpToEnd",type:"Boolean",optional:true}]}],end:[{added:"1.0"}],andSelf:[{added:"1.2"}],siblings:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],animate:[{added:"1.0",arg:[{name:"properties",type:"Map"},{name:"options",type:"Map"}]},{added:"1.0",arg:[{name:"properties",type:"Map"},{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"complete",type:"Function",optional:true}]}],prevAll:[{added:"1.2",arg:[{name:"selector",optional:true,type:"Selector"}]}],prev:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],fadeTo:[{added:"1.0",arg:[{name:"duration",type:"String,Number"},{name:"opacity",type:"Number"},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number"},{name:"opacity",type:"Number"},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],fadeOut:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],parents:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],fadeIn:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],offsetParent:[{added:"1.2.6"}],slideToggle:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],"jQuery.post":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:true,type:"Map, String"},{name:"success(data, textStatus, jqXHR)",optional:true,type:"Function"},{name:"dataType",optional:true,type:"String"}]}],slideUp:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],nextAll:[{added:"1.2",arg:[{name:"selector",optional:true,type:"String"}]}],next:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],slideDown:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],find:[{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.6",arg:[{name:"element",type:"Element"}]},{added:"1.6",arg:[{name:"jQuery object",type:"Object"}]}],"jQuery.getScript":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"success(data, textStatus)",optional:true,type:"Function"}]}],contents:[{added:"1.2"}],closest:[{added:"1.3",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"selector",type:"Selector"},{name:"context",optional:true,type:"Element"}]},{added:"1.4",arg:[{name:"selectors",type:"Array"},{name:"context",optional:true,type:"Element"}]},{added:"1.6",arg:[{name:"jQuery object",type:"jQuery"}]},{added:"1.6",arg:[{name:"element",type:"Element"}]}],"jQuery.getJSON":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:true,type:"Map"},{name:"success(data, textStatus, jqXHR)",optional:true,type:"Function"}]}],"jQuery.get":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:true,type:"Map, String"},{name:"success(data, textStatus, jqXHR)",optional:true,type:"Function"},{name:"dataType",optional:true,type:"String"}]}],"jQuery.ajax":[{added:"1.0",arg:[{name:"settings",type:"Map"}]},{added:"1.5",arg:[{name:"url",type:"String"},{name:"settings",type:"Map",optional:true}]}],length:[{added:"1.0"}],children:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],selector:[{added:"1.3"}],add:[{added:"1.0",arg:[{name:"html",type:"HTML"}]},{added:"1.0",arg:[{name:"elements",type:"Elements"}]},{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"selector",type:"Selector"},{name:"context",type:"Element"}]}],context:[{added:"1.3"}],outerWidth:[{added:"1.2.6",arg:[{name:"includeMargin",optional:true,type:"Boolean"}]}],outerHeight:[{added:"1.2.6",arg:[{name:"includeMargin",optional:true,type:"Boolean"}]}],innerWidth:[{added:"1.2.6"}],innerHeight:[{added:"1.2.6"}],"jQuery.param":[{added:"1.2",arg:[{name:"obj",type:"Array, Object"}]},{added:"1.4",arg:[{name:"obj",type:"Array, Object"},{name:"traditional",type:"Boolean"}]}],hide:[{added:"1.0"},{added:"1.0",arg:[{name:"duration",type:"String,Number"},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],width:[{added:"1.0"},{added:"1.0",arg:[{name:"value",type:"String, Number"}]},{added:"1.4.1",arg:[{name:"function(index, width)",type:"Function"}]}],height:[{added:"1.0"},{added:"1.0",arg:[{name:"value",type:"String, Number"}]},{added:"1.4.1",arg:[{name:"function(index, height)",type:"Function"}]}],show:[{added:"1.0"},{added:"1.0",arg:[{name:"duration",type:"String,Number"},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],scrollLeft:[{added:"1.2.6",arg:[{name:"value",type:"Number"}]},{added:"1.2.6"}],"jQuery.trim":[{added:"1.0",arg:[{name:"str",type:"String"}]}],"jQuery.isFunction":[{added:"1.2",arg:[{name:"obj",type:"Object"}]}],"jQuery.isArray":[{added:"1.3",arg:[{name:"obj",type:"Object"}]}],"jQuery.unique":[{added:"1.1.3",arg:[{name:"array",type:"Array"}]}],"jQuery.merge":[{added:"1.0",arg:[{name:"first",type:"Array"},{name:"second",type:"Array"}]}],"jQuery.inArray":[{added:"1.2",arg:[{name:"value",type:"Any"},{name:"array",type:"Array"}]}],"jQuery.map":[{added:"1.0",arg:[{name:"array",type:"Array"},{name:"callback(elementOfArray, indexInArray)",type:"Function"}]},{added:"1.6",arg:[{name:"arrayOrObject",type:"Array,Object"},{name:"callback( value, indexOrKey )",type:"Function"}]}],"jQuery.makeArray":[{added:"1.2",arg:[{name:"obj",type:"Object"}]}],"jQuery.grep":[{added:"1.0",arg:[{name:"array",type:"Array"},{name:"function(elementOfArray, indexInArray)",type:"Function"},{name:"invert",optional:true,type:"Boolean"}]}],"jQuery.extend":[{added:"1.0",arg:[{name:"target",type:"Object, Function",multiple:true},{name:"object1",type:"Object",optional:true},{name:"objectN",optional:true,type:"Object"}]},{added:"1.1.4",arg:[{name:"deep",optional:true,type:"Boolean"},{name:"target",type:"Object, Function",multiple:true},{name:"object1",type:"Object"},{name:"objectN",optional:true,type:"Object"}]}],"jQuery.each":[{added:"1.0",arg:[{name:"collection",type:"Object, Array"},{name:"callback(indexInArray, valueOfElement)",type:"Function"}]}],"jQuery.boxModel":[{added:"1.0"}],scrollTop:[{added:"1.2.6",arg:[{name:"value",type:"Number"}]},{added:"1.2.6"}],"jQuery.support":[{added:"1.3"}],position:[{added:"1.2"}],offset:[{added:"1.2"},{added:"1.4",arg:[{name:"function(index, coords)",type:"Function"}]},{added:"1.4",arg:[{name:"coordinates",type:"Object"}]}],css:[{added:"1.0",arg:[{name:"map",type:"Map"}]},{added:"1.0",arg:[{name:"propertyName",type:"String"},{name:"value",type:"String, Number"}]},{added:"1.0",arg:[{name:"propertyName",type:"String"}]},{added:"1.4",arg:[{name:"propertyName",type:"String"},{name:"function(index, value)",type:"Function"}]}],unwrap:[{added:"1.4"}],detach:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],clone:[{added:"1.0",arg:[{name:"withDataAndEvents",optional:true,type:"Boolean","default":"false"}]},{added:"1.5",arg:[{name:"withDataAndEvents",optional:true,type:"Boolean","default":"false"},{name:"deepWithDataAndEvents",optional:true,type:"Boolean","default":"value of withDataAndEvents"}]}],remove:[{added:"1.0",arg:[{name:"selector",optional:true,type:"String"}]}],replaceAll:[{added:"1.2",arg:[{name:"target",type:"Selector"}]}],replaceWith:[{added:"1.2",arg:[{name:"newContent",type:"String, Element, jQuery"}]},{added:"1.4",arg:[{name:"function",type:"Function"}]}],wrapInner:[{added:"1.2",arg:[{name:"wrappingElement",type:"String"}]},{added:"1.4",arg:[{name:"wrappingFunction",type:"Function"}]}],wrapAll:[{added:"1.2",arg:[{name:"wrappingElement",type:"String, Selector, Element, jQuery"}]}],wrap:[{added:"1.0",arg:[{name:"wrappingElement",type:"String, Selector, Element, jQuery"}]},{added:"1.4",arg:[{name:"function(index)",type:"Function"}]}],insertBefore:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],before:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, Array, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function",type:"Function"}]}],insertAfter:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],after:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, Array, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function(index)",type:"Function"}]}],prependTo:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],prepend:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function(index, html)",type:"Function"}]}],appendTo:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],append:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, Array, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function(index, html)",type:"Function"}]}],val:[{added:"1.0"},{added:"1.0",arg:[{name:"value",type:"String"}]},{added:"1.4",arg:[{name:"function(index, value)",type:"Function"}]}],html:[{added:"1.0"},{added:"1.0",arg:[{name:"htmlString",type:"String, Number"}]},{added:"1.4",arg:[{name:"function(index, oldhtml)",type:"Function"}]}],map:[{added:"1.2",arg:[{name:"callback(index, domElement)",type:"Function"}]}],is:[{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.6",arg:[{name:"element",type:"Element"}]},{added:"1.6",arg:[{name:"function(index)",type:"Function"}]},{added:"1.6",arg:[{name:"jQuery object",type:"Object"}]}],filter:[{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.0",arg:[{name:"function(index)",type:"Function"}]},{added:"1.4",arg:[{name:"jQuery object",type:"Object"}]},{added:"1.4",arg:[{name:"element",type:"Element"}]}],toggleClass:[{added:"1.0",arg:[{name:"className",type:"String"}]},{added:"1.3",arg:[{name:"className",type:"String"},{name:"switch",type:"Boolean"}]},{added:"1.4",arg:[{name:"function(index, class)",type:"Function"},{name:"switch",optional:true,type:"Boolean"}]}],removeClass:[{added:"1.0",arg:[{name:"className",optional:true,type:"String"}]},{added:"1.4",arg:[{name:"function(index, class)",type:"Function"}]}],hasClass:[{added:"1.2",arg:[{name:"className",type:"String"}]}],removeAttr:[{added:"1.0",arg:[{name:"attributeName",type:"String"}]}],attr:[{added:"1.0",arg:[{name:"map",type:"Map"}]},{added:"1.0",arg:[{name:"attributeName",type:"String"},{name:"value",type:"String,Number"}]},{added:"1.0",arg:[{name:"attributeName",type:"String"}]},{added:"1.1",arg:[{name:"attributeName",type:"String"},{name:"function(index, attr)",type:"Function"}]}],addClass:[{added:"1.0",arg:[{name:"className",type:"String"}]},{added:"1.4",arg:[{name:"function(index, currentClass)",type:"Function"}]}]} + }, + + api = lint.api, + + // Only cover certain fns under the jQ namespace + coveredNamespace = /^(getJSON|extend|ajax|get|post|proxy|each|map|queue|ajax|ajaxSetup|removeData|data|pushStack)$/, + + version = _jQuery.fn.jquery, + map = _jQuery.map, + each = _jQuery.each, + extend = _jQuery.extend, + find = _jQuery.find, + rootjQuery = _jQuery.rootjQuery, + + undefined, + + arrSlice = Array.prototype.slice, + slice = function(a,s,e) { + return a.length ? arrSlice.call(a, s || 0, e || a.length) : []; + }, + + compare = function(a,b) { + + // Compare two arrays + + var i = a.length; + + if (a.length !== b.length) { + return false; + } + + while (i--) { + if (a[i] !== b[i]) { + return false; + } + } + + return true; + + }, + + isFunction = function(obj) { + return toString.call(obj) === "[object Function]"; + }, + + isArray = function(obj) { + return toString.call(obj) === "[object Array]"; + }, + + toString = Object.prototype.toString, + + typeToString = function(o) { + + if (!o) { return ""; } + + if (typeof o === 'string') { + return '"' + o.replace(/"/g,'\\"') + '"'; + } + + if (isFunction(o)) { + return 'function(){...}'; + } + + return o.toString(); + }, + + shaveArray = function(arr) { + + arr = slice(arr); + + // Shave "undefined" off the end of args + for (var i = arr.length; i--;) { + if (arr[i] === undefined) { + arr.splice(i, 1); + } else { + break; + } + } + return arr; + }, + + // Type map + types = { + '*': function() { + return true; + }, + selector: function(o) { + return this.string(o); + }, + element: function(o) { + return o && (!!o.nodeName || o === window || !!o.nodeType ); + }, + elements: function(o) { + return this.element(o) || this.jquery(o) || this.array(o); + }, + array: function(o) { + // Just check that it's "array-like" + return o && o.length !== undefined + && typeof o !== 'string' && !isFunction(o); + }, + jquery: function(o) { + return o instanceof _jQuery; + }, + 'jquery object': function(o) { + return o instanceof _jQuery; + }, + object: function(o) { + return toString.call(o) === '[object Object]'; + }, + 'function': function(o) { + return isFunction(o); + }, + notfunction: function(o) { + return !this['function'](o); + }, + callback: function(o) { + return isFunction(o); + }, + string: function(o) { + return typeof o === 'string'; + }, + number: function(o) { + return typeof o === 'number' && !isNaN(o); + }, + integer: function(o) { + return this.number(o) && ~~o === o; + }, + map: function(o) { + return this.object(o); + }, + options: function(o) { + return this.object(o); + }, + 'eventType': function(o) { + return typeof o === 'string'; + }, + 'event': function(o) { + return typeof o === 'event'; + }, + 'null': function(o) { + return o === null; + }, + 'boolean': function(o) { + return typeof o === 'boolean'; + } + }, + + selectorCache = {}, + jQueryMethods = extend({}, _jQuery.fn), + internal = false, + fromInit = false; + + function logLocation() { + + // Attempt to log line number of error + + try { + throw new Error(); + } catch(e) { + if (e.stack) { + lint.console.groupCollapsed(lint.langs[lint.lang].location); + lint.console.log( + e.stack + // Remove everything before the file name and line number + // plus, get rid of errors from jQuery.lint.js & any libs + // from google's CDN (not perfect but should narrow it down) + .replace(/^.+?\n|.+?(jquery\.lint\.js|http:\/\/ajax\.googleapis\.com).+?(\n|$)|.+?(?=@)/g, '') + // Remove duplicates + .replace(/(^|\n)(.+?)\n(?=\2(?:\n|$)|[\s\S]+?\n\2(?:\n|$))/g, '$1') + ); + lint.console.groupEnd(); + } + } + + } + + function isValidArgumentList(args, sig) { + + // Determine if argument list complies with + // signature outlined in API. + var matches = false, + sigArg, + argLength = args.length, + nextIsOptional = false; + + if (version < sig.added) { + // Too new + return false; + } + + if (!sig.arg) { + return 0 === args.length; + } + + if (!sig.arg[0] && (args.length > 1)) { + return false; + } + + for ( + var sigIndex = 0, + argIndex = 0, + fullLength = Math.max(argLength, sig.arg.length || 1); + sigIndex < fullLength || argIndex < argLength; + ++sigIndex + ) { + + sigArg = sigIndex === 0 ? sig.arg[0] || sig.arg : sig.arg[sigIndex]; + if (!sigArg) { + // Too many args + return false; + } + + matches = isValidType(sigArg.type, args[argIndex]); + if (!matches) { + if (sigArg.optional) { + if (args[argIndex] === undefined || args[argIndex] === null) { + ++argIndex; + matches = true; + } + continue; + } else { + // Sig isn't optional + return false; + } + } + + if (sigArg.multiple) { + // If it's multiple, then carry on with the same + // signature, but check that there are remaining + // arguments + + --sigIndex; + if (argIndex + 1 >= argLength) { + break; + } + } + + ++argIndex; + } + + return matches; + + } + + function isValidType(type, arg) { + + // Check that argument is of the right type + // The types are specified within the API data + var split = type.split(/,\s?/g), + i = split.length, + cur; + + while (i--) { + cur = split[i].toLowerCase(); + if (types[cur] && types[cur](arg)) { + return true; + } + } + + return false; + + } + + function runFunction(fn, args, isInternal, thisObj) { + + // Runs a function, while enabling/disabling + // the 'internal' flag as necessary. + + var wasInternal = internal, ret; + + internal = isInternal; + + try { + ret = fn.apply(thisObj, args); + } catch(e) { + internal = wasInternal; + throw e; + } + + internal = wasInternal; + + return ret; + + } + + function registerMethod(name, methodAPI) { + + var obj = /^jQuery\./.test(name) ? _jQuery : _jQuery.fn, + methodName = name.replace(/^jQuery\./, ''); + + obj[methodName] = (function(meth, name){ + return extend(function() { + + var args = slice(arguments), + _internal = internal; + + // Cover functions so that the internal flag + // is disabled before they are called + each(args, function(i, fn){ + if (typeof fn == 'function') { + args[i] = function() { + /*Run it as non-internal*/ + return runFunction(fn, arguments, _internal, this); + }; + } + }); + + return coverMethod.call(this, name, function(){ + + // Run it as internal + return runFunction(meth, args, true, this); + + }, args); + + }, meth); + })(obj[methodName], name); + + if (methodAPI) { + api[name] = methodAPI; + } + + } + + lint.registerMethod = registerMethod; + + function coverMethod(name, meth, args) { + if (name == 'jQuery' && args.length == 3 && typeof(args[2]) == 'object') { + delete args[2]; + } + + args = shaveArray(args); + + var locale = lint.langs[lint.lang], + sigs = api[name], + _console = lint.console, + self = this, + i = 0, + sig, + specialCheckResults = (function(){ + + // Perform special checks for current level and + // all levels below current level. + var lvl = lint.level + 1, + results = [], + check; + + while (lvl--) { + if (checks[lvl] && (check = checks[lvl][name])) { + if (types.array(check)) { + each(check, function(i, chk){ + results.push( + chk.apply(self, args) + ); + }); + } else { + results.push( + check.apply(self, args) + ); + } + } + } + + return results; + + }()), + signatureMatch = false, + sliced = slice(this, 0, 10); + + if (!sigs || !lint.level || internal) { + return meth.apply(this, args); + } + + if (this.length > 10) { + sliced.push('...'); + } + + // Check all arguments passed to method for compliance + // against the corresponding signature. + while ((sig = sigs[i++])) { + if ( isValidArgumentList(args, sig) ) { + signatureMatch = true; + break; + } + } + + if (!signatureMatch) { + // Args !== signature + _console.warn(locale.incorrectCall.replace(/%0/, name).replace(/%1/, args.toString())); + _console.groupCollapsed(locale.moreInfo); + if (this instanceof _jQuery) { + _console.log(locale.collection, sliced); + } + logLocation(); + _console.log(locale.youPassed, args); + _console.group(locale.availableSigsInclude); + each(sigs, function(i, sig){ + if (version < sig.added) { + return; + } + + var sigArgs = sig.arg; + _console.log( + name + '(' + + (sigArgs ? + sigArgs[0] ? + map(sigArgs, function(sig, i){ + return sig ? sig.optional ? '[' + sig.name + ']' : sig.multiple ? sig.name + ',[...]' : sig.name : []; + }).join(', ') : + sigArgs.name + : '') + ')' + ); + }); + _console.groupEnd(); + _console.groupEnd(); + + } + + if (specialCheckResults.length) { + each(specialCheckResults, function(i, checkResult){ + if (checkResult && checkResult !== true) { + if (isFunction(checkResult)) { + checkResult(_console); + } else { + _console.warn(locale.specialCheckFailed.replace(/%0/, name).replace(/%1/, args.toString())); + _console.groupCollapsed(locale.moreInfo); + _console.log(checkResult); + _console.log(locale.collection, sliced); + logLocation(); + _console.groupEnd(); + } + } + }); + } + + if (lint.throwErrors) { + return meth.apply(this, args); + } + + try { + return meth.apply(this, args); + } catch(e) { + + _console.warn( + locale.errorThrown.replace(/%0/, name).replace(/%1/, args.toString()), e + ); + + _console.groupCollapsed(locale.moreInfo); + logLocation(); + _console.log(locale.youPassed, args); + _console.groupEnd(); + + return this; + } + + } + + // "Cover" init constructor + // Reports when no elements found, and when selector + // used more than once to no effect. + _jQuery.fn.init = (function(_init){ + + return function(selector, context, rootjQuery) { + + var locale = lint.langs[lint.lang], + ret = coverMethod.call(this, 'jQuery', function(){ + return runFunction(function(){ + return new _init(selector, context, rootjQuery); + }, [], true, this); + + }, arguments), + _console = lint.console; + + // Deal with situations where no elements are returned + // and for the same selector being used more than once + // to no effect + if (!internal && typeof selector === 'string' && lint.level > 1) { + + if (ret[0]) { + + // Check for identical collection already in cache. + if ( lint.enabledReports.repeatSelector && selectorCache[selector] && compare(selectorCache[selector], ret) ) { + + _console.warn(locale.repeatSelector); + _console.groupCollapsed(locale.info); + logLocation(); + _console.log(locale.selector + '"' + selector + '"'); + _console.log(locale.selectorAdvice); + _console.groupEnd(); + } + } + else { + if (lint.enabledReports.noElementsFound) { + lint.console.warn(lint.langs[lint.lang].noElementsFound.replace(/%0/, selector)); + logLocation(); + } + } + + selectorCache[selector] = ret; + } + + return ret; + }; + })(_jQuery.fn.init); + + for (var i in _jQuery.fn) { + if (i !== 'constructor' && i !== 'init' && isFunction(_jQuery.fn[i])) { + registerMethod(i); + } + } + + for (var i in _jQuery) { + if ( coveredNamespace.test(i) && isFunction(_jQuery[i]) ) { + registerMethod('jQuery.' + i); + } + } + + _jQuery.LINT = lint; + + ///////////////////////// + // Some special checks // + ///////////////////////// + addCheck('jQuery', 2, function(selector, context) { + var locale = lint.langs[lint.lang]; + + // It's a string, and NOT html - must be a selector + if (!internal && typeof selector === 'string' && !/^[^<]*(<[\w\W]+>)[^>]*$/.test(selector)) { + + // Find invalid filters (e.g. :hover, :active etc.) + // suggested by Paul Irish + if (lint.enabledReports.invalidFilters) { + var invalidFilters = []; + + selector.replace(/('|")(?:\\\1|[^\1])+?\1/g, '').replace(/:(\w+)/g, function(m, filter){ + if (!/^(contains|not)$/.test(filter) && !((filter in _jQuery.expr[':']) || (filter in _jQuery.expr.setFilters))) { + invalidFilters.push(m); + } + }); + + if (invalidFilters.length) { + return locale.invalidFilters.replace(/%0/, selector).replace(/%1/, invalidFilters.join('\n')); + } + } + + // Find class only-selectors (poor IE6-8 performance) + if (lint.enabledReports.slowSelector) { + var slowSelectors = []; + var selectors = selector.split(','); + for (i in selectors) { + var tSelector = _jQuery.trim(selectors[i]); + if ((/(^|\w*?\s)\.\w/.test(tSelector) && (typeof context !== "object" || !context.length)) + || /^(.+)#\w/.test(tSelector)) { + slowSelectors.push(tSelector); + } + } + + if (slowSelectors.length) { + return locale.slowSelector.replace(/%0/, slowSelectors.join('\n')); + } + } + } + }); + + addCheck('jQuery', 2, function() { + // Set flag for ready() method, so we can check + // for $().ready() - which should be $(document).ready() + // suggested by Paul Irish + if (!arguments.length) { + this._lint_noArgs = true; + } + }); + + addCheck('ready', 2, function(){ + + // If _lint_noArgs is set then this object + // was instantiated with no args. I.e. $().ready() + if (this._lint_noArgs) { + return lint.langs[lint.lang].badReadyCall; + } + }); + + // check for non-ideal property/attribute access ( e.g. attr('id') - element.id is faster) + each({'attr': {'id': 'elem.id', 'value': 'jQuery.val()'}}, function(method, attributes) { + addCheck(method, 3, function() { + if (typeof arguments !== 'undefined' && typeof attributes === 'object') { + var match = false; + for (m in arguments) { + if (attributes.hasOwnProperty(arguments[m])) { + match = arguments[m]; + } + } + + if (match !== false) { + var args = [].splice.call(arguments,0); + return lint.langs[lint.lang].notBestMethod.replace(/%0/, method) + .replace(/%1/, args.join(', ')) + .replace(/%2/, attributes.match); + } + } + }); + }); + + // Check for calls like css().css().css() + // May as well use css({...}) + each(['css','attr','bind','one'], function(i, methodName){ + + addCheck(methodName, 3, function(){ + + var args = arguments, + hoc = this, + locale = lint.langs[lint.lang], + sliced = slice(hoc, 0, 10), + _console = lint.console; + + if (hoc.length > 10) { + sliced.push('...'); + } + + if (!internal && !types.object(args[0]) && ( + (/^(css|attr)$/.test(methodName) && args[1] !== undefined) || + (/^(bind|one)$/.test(methodName) && version >= '1.4' && /* Data no passed as [1] */!isFunction(args[2])) + ) + ) { + + if (this._lastMethodCalled === methodName) { + + _console.warn(locale.methodTwice.replace(/%0/, methodName).replace(/%1/, args.toString())); + + _console.groupCollapsed(locale.moreInfo); + + _console.log(locale.collection, sliced); + _console.log(args); + _console.log( + locale.combineCalls + .replace(/%0/, methodName) + .replace(/%1/, '{\n' + + map([args, hoc._lastMethodArgs], function(a){ + return ' "' + a[0] + '": ' + typeToString(a[1]); + }).join(',\n') + + '\n}') + ); + + _console.groupEnd(); + + } + + hoc._lastMethodCalled = methodName; + hoc._lastMethodArgs = args; + + setTimeout(function(){ + hoc._lastMethodCalled = null; + hoc._lastMethodArgs = null; + }, 0); + + } + }); + + }); + + each( + ['find', 'children', 'parent', 'parents', + 'next', 'nextAll', 'prev', 'prevAll', + 'first', 'last', 'closest', 'siblings', + 'parentsUntil', 'nextUntil', 'prevUntil'], + function(i, methodName) { + + var pureMethod = jQueryMethods[methodName]; + + addCheck(methodName, 2, function(selector){ + + if ( !internal && lint.enabledReports.noElementsFound && !runFunction(pureMethod, arguments, true, this).length ) { + + if (types['function'](selector)) { + selector = '[FUNCTION]'; + } + + lint.console.warn(lint.langs[lint.lang].noElementsFound.replace(/%0/, selector)); + logLocation(); + + } + + }); + + } + ); + +})(); diff --git a/themes/default-bootstrap/js/jquery/jquery.uniform-modify.js b/themes/default-bootstrap/js/jquery/jquery.uniform-modify.js new file mode 100644 index 000000000..301991aa8 --- /dev/null +++ b/themes/default-bootstrap/js/jquery/jquery.uniform-modify.js @@ -0,0 +1,1078 @@ +/* + +Uniform v2.1.0 +Copyright © 2009 Josh Pyles / Pixelmatrix Design LLC +http://pixelmatrixdesign.com + +Requires jQuery 1.3 or newer + +Much thanks to Thomas Reynolds and Buck Wilson for their help and advice on +this. + +Disabling text selection is made possible by Mathias Bynens + and his noSelect plugin. +, which is embedded. + +Also, thanks to David Kaneda and Eugene Bond for their contributions to the +plugin. + +Tyler Akins has also rewritten chunks of the plugin, helped close many issues, +and ensured version 2 got out the door. + +License: +MIT License - http://www.opensource.org/licenses/mit-license.php + +Enjoy! + +*/ +/*global jQuery, window, document, navigator*/ + +(function ($, undef) { + "use strict"; + + /** + * Use .prop() if jQuery supports it, otherwise fall back to .attr() + * + * @param jQuery $el jQuery'd element on which we're calling attr/prop + * @param ... All other parameters are passed to jQuery's function + * @return The result from jQuery + */ + function attrOrProp($el) { + var args = Array.prototype.slice.call(arguments, 1); + + if ($el.prop) { + // jQuery 1.6+ + return $el.prop.apply($el, args); + } + + // jQuery 1.5 and below + return $el.attr.apply($el, args); + } + + /** + * For backwards compatibility with older jQuery libraries, only bind + * one thing at a time. Also, this function adds our namespace to + * events in one consistent location, shrinking the minified code. + * + * The properties on the events object are the names of the events + * that we are supposed to add to. It can be a space separated list. + * The namespace will be added automatically. + * + * @param jQuery $el + * @param Object options Uniform options for this element + * @param Object events Events to bind, properties are event names + */ + function bindMany($el, options, events) { + var name, namespaced; + + for (name in events) { + if (events.hasOwnProperty(name)) { + namespaced = name.replace(/ |$/g, options.eventNamespace); + $el.bind(namespaced, events[name]); + } + } + } + + /** + * Bind the hover, active, focus, and blur UI updates + * + * @param jQuery $el Original element + * @param jQuery $target Target for the events (our div/span) + * @param Object options Uniform options for the element $target + */ + function bindUi($el, $target, options) { + bindMany($el, options, { + focus: function () { + $target.addClass(options.focusClass); + }, + blur: function () { + $target.removeClass(options.focusClass); + $target.removeClass(options.activeClass); + }, + mouseenter: function () { + $target.addClass(options.hoverClass); + }, + mouseleave: function () { + $target.removeClass(options.hoverClass); + $target.removeClass(options.activeClass); + }, + "mousedown touchbegin": function () { + if (!$el.is(":disabled")) { + $target.addClass(options.activeClass); + } + }, + "mouseup touchend": function () { + $target.removeClass(options.activeClass); + } + }); + } + + /** + * Remove the hover, focus, active classes. + * + * @param jQuery $el Element with classes + * @param Object options Uniform options for the element + */ + function classClearStandard($el, options) { + $el.removeClass(options.hoverClass + " " + options.focusClass + " " + options.activeClass); + } + + /** + * Add or remove a class, depending on if it's "enabled" + * + * @param jQuery $el Element that has the class added/removed + * @param String className Class or classes to add/remove + * @param Boolean enabled True to add the class, false to remove + */ + function classUpdate($el, className, enabled) { + if (enabled) { + $el.addClass(className); + } else { + $el.removeClass(className); + } + } + + /** + * Updating the "checked" property can be a little tricky. This + * changed in jQuery 1.6 and now we can pass booleans to .prop(). + * Prior to that, one either adds an attribute ("checked=checked") or + * removes the attribute. + * + * @param jQuery $tag Our Uniform span/div + * @param jQuery $el Original form element + * @param Object options Uniform options for this element + */ + function classUpdateChecked($tag, $el, options) { + var c = "checked", + isChecked = $el.is(":" + c); + + if ($el.prop) { + // jQuery 1.6+ + $el.prop(c, isChecked); + } else { + // jQuery 1.5 and below + if (isChecked) { + $el.attr(c, c); + } else { + $el.removeAttr(c); + } + } + + classUpdate($tag, options.checkedClass, isChecked); + } + + /** + * Set or remove the "disabled" class for disabled elements, based on + * if the + * + * @param jQuery $tag Our Uniform span/div + * @param jQuery $el Original form element + * @param Object options Uniform options for this element + */ + function classUpdateDisabled($tag, $el, options) { + classUpdate($tag, options.disabledClass, $el.is(":disabled")); + } + + /** + * Wrap an element inside of a container or put the container next + * to the element. See the code for examples of the different methods. + * + * Returns the container that was added to the HTML. + * + * @param jQuery $el Element to wrap + * @param jQuery $container Add this new container around/near $el + * @param String method One of "after", "before" or "wrap" + * @return $container after it has been cloned for adding to $el + */ + function divSpanWrap($el, $container, method) { + switch (method) { + case "after": + // Result: + $el.after($container); + return $el.next(); + case "before": + // Result: + $el.before($container); + return $el.prev(); + case "wrap": + // Result: + $el.wrap($container); + return $el.parent(); + } + + return null; + } + + + /** + * Create a div/span combo for uniforming an element + * + * @param jQuery $el Element to wrap + * @param Object options Options for the element, set by the user + * @param Object divSpanConfig Options for how we wrap the div/span + * @return Object Contains the div and span as properties + */ + function divSpan($el, options, divSpanConfig) { + var $div, $span, id; + + if (!divSpanConfig) { + divSpanConfig = {}; + } + + divSpanConfig = $.extend({ + bind: {}, + divClass: null, + divWrap: "wrap", + spanClass: null, + spanHtml: null, + spanWrap: "wrap" + }, divSpanConfig); + + $div = $('
    '); + $span = $(''); + + // Automatically hide this div/span if the element is hidden. + // Do not hide if the element is hidden because a parent is hidden. + if (options.autoHide && $el.is(':hidden') && $el.css('display') === 'none') { + $div.hide(); + } + + if (divSpanConfig.divClass) { + $div.addClass(divSpanConfig.divClass); + } + + if (options.wrapperClass) { + $div.addClass(options.wrapperClass); + } + + if (divSpanConfig.spanClass) { + $span.addClass(divSpanConfig.spanClass); + } + + id = attrOrProp($el, 'id'); + + if (options.useID && id) { + attrOrProp($div, 'id', options.idPrefix + '-' + id); + } + + if (divSpanConfig.spanHtml) { + $span.html(divSpanConfig.spanHtml); + } + + $div = divSpanWrap($el, $div, divSpanConfig.divWrap); + $span = divSpanWrap($el, $span, divSpanConfig.spanWrap); + classUpdateDisabled($div, $el, options); + return { + div: $div, + span: $span + }; + } + + + /** + * Wrap an element with a span to apply a global wrapper class + * + * @param jQuery $el Element to wrap + * @param object options + * @return jQuery Wrapper element + */ + function wrapWithWrapperClass($el, options) { + var $span; + + if (!options.wrapperClass) { + return null; + } + + $span = $('').addClass(options.wrapperClass); + $span = divSpanWrap($el, $span, "wrap"); + return $span; + } + + + /** + * Test if high contrast mode is enabled. + * + * In high contrast mode, background images can not be set and + * they are always returned as 'none'. + * + * @return boolean True if in high contrast mode + */ + function highContrast() { + var c, $div, el, rgb; + + // High contrast mode deals with white and black + rgb = 'rgb(120,2,153)'; + $div = $('
    '); + $('body').append($div); + el = $div.get(0); + + // $div.css() will get the style definition, not + // the actually displaying style + if (window.getComputedStyle) { + c = window.getComputedStyle(el, '').color; + } else { + c = (el.currentStyle || el.style || {}).color; + } + + $div.remove(); + return c.replace(/ /g, '') !== rgb; + } + + + /** + * Change text into safe HTML + * + * @param String text + * @return String HTML version + */ + function htmlify(text) { + if (!text) { + return ""; + } + + return $('').text(text).html(); + } + + /** + * If not MSIE, return false. + * If it is, return the version number. + * + * @return false|number + */ + function isMsie() { + return navigator.cpuClass && !navigator.product; + } + + /** + * Return true if this version of IE allows styling + * + * @return boolean + */ + function isMsieSevenOrNewer() { + if (typeof window.XMLHttpRequest !== 'undefined') { + return true; + } + + return false; + } + + /** + * Test if the element is a multiselect + * + * @param jQuery $el Element + * @return boolean true/false + */ + function isMultiselect($el) { + var elSize; + + if ($el[0].multiple) { + return true; + } + + elSize = attrOrProp($el, "size"); + + if (!elSize || elSize <= 1) { + return false; + } + + return true; + } + + /** + * Meaningless utility function. Used mostly for improving minification. + * + * @return false + */ + function returnFalse() { + return false; + } + + /** + * noSelect plugin, very slightly modified + * http://mths.be/noselect v1.0.3 + * + * @param jQuery $elem Element that we don't want to select + * @param Object options Uniform options for the element + */ + function noSelect($elem, options) { + var none = 'none'; + bindMany($elem, options, { + 'selectstart dragstart mousedown': returnFalse + }); + + $elem.css({ + MozUserSelect: none, + msUserSelect: none, + webkitUserSelect: none, + userSelect: none + }); + } + + /** + * Updates the filename tag based on the value of the real input + * element. + * + * @param jQuery $el Actual form element + * @param jQuery $filenameTag Span/div to update + * @param Object options Uniform options for this element + */ + function setFilename($el, $filenameTag, options) { + var filename = $el.val(); + + if (filename === "") { + filename = options.fileDefaultHtml; + } else { + filename = filename.split(/[\/\\]+/); + filename = filename[(filename.length - 1)]; + } + + $filenameTag.text(filename); + } + + + /** + * Function from jQuery to swap some CSS values, run a callback, + * then restore the CSS. Modified to pass JSLint and handle undefined + * values with 'use strict'. + * + * @param jQuery $el Element + * @param object newCss CSS values to swap out + * @param Function callback Function to run + */ + function swap($elements, newCss, callback) { + var restore, item; + + restore = []; + + $elements.each(function () { + var name; + + for (name in newCss) { + if (Object.prototype.hasOwnProperty.call(newCss, name)) { + restore.push({ + el: this, + name: name, + old: this.style[name] + }); + + this.style[name] = newCss[name]; + } + } + }); + + callback(); + + while (restore.length) { + item = restore.pop(); + item.el.style[item.name] = item.old; + } + } + + + /** + * The browser doesn't provide sizes of elements that are not visible. + * This will clone an element and add it to the DOM for calculations. + * + * @param jQuery $el + * @param String method + */ + function sizingInvisible($el, callback) { + var targets; + + // We wish to target ourselves and any parents as long as + // they are not visible + targets = $el.parents(); + targets.push($el[0]); + targets = targets.not(':visible'); + swap(targets, { + visibility: "hidden", + display: "block", + position: "absolute" + }, callback); + } + + + /** + * Standard way to unwrap the div/span combination from an element + * + * @param jQuery $el Element that we wish to preserve + * @param Object options Uniform options for the element + * @return Function This generated function will perform the given work + */ + function unwrapUnwrapUnbindFunction($el, options) { + return function () { + $el.unwrap().unwrap().unbind(options.eventNamespace); + }; + } + + var allowStyling = true, // False if IE6 or other unsupported browsers + highContrastTest = false, // Was the high contrast test ran? + uniformHandlers = [ // Objects that take care of "unification" + { + // Buttons + match: function ($el) { + return $el.is("a, button, :submit, :reset, input[type='button']"); + }, + apply: function ($el, options) { + var $div, defaultSpanHtml, ds, getHtml, doingClickEvent; + defaultSpanHtml = options.submitDefaultHtml; + + if ($el.is(":reset")) { + defaultSpanHtml = options.resetDefaultHtml; + } + + if ($el.is("a, button")) { + // Use the HTML inside the tag + getHtml = function () { + return $el.html() || defaultSpanHtml; + }; + } else { + // Use the value property of the element + getHtml = function () { + return htmlify(attrOrProp($el, "value")) || defaultSpanHtml; + }; + } + + ds = divSpan($el, options, { + divClass: options.buttonClass, + spanHtml: getHtml(), + }); + $div = ds.div; + bindUi($el, $div, options); + doingClickEvent = false; + bindMany($div, options, { + "click touchend": function () { + var ev, res, target, href; + + if (doingClickEvent) { + return; + } + + if ($el.is(':disabled')) { + return; + } + + doingClickEvent = true; + + if ($el[0].dispatchEvent) { + ev = document.createEvent("MouseEvents"); + ev.initEvent("click", true, true); + res = $el[0].dispatchEvent(ev); + + if ($el.is('a') && res) { + target = attrOrProp($el, 'target'); + href = attrOrProp($el, 'href'); + + if (!target || target === '_self') { + document.location.href = href; + } else { + window.open(href, target); + } + } + } else { + $el.click(); + } + + doingClickEvent = false; + } + }); + noSelect($div, options); + return { + remove: function () { + // Move $el out + $div.after($el); + + // Remove div and span + $div.remove(); + + // Unbind events + $el.unbind(options.eventNamespace); + return $el; + }, + update: function () { + classClearStandard($div, options); + classUpdateDisabled($div, $el, options); + $el.detach(); + ds.span.html(getHtml()).append($el); + } + }; + } + }, + { + // Checkboxes + match: function ($el) { + return $el.is(":checkbox"); + }, + apply: function ($el, options) { + var ds, $div, $span; + ds = divSpan($el, options, { + divClass: options.checkboxClass + }); + $div = ds.div; + $span = ds.span; + + // Add focus classes, toggling, active, etc. + bindUi($el, $div, options); + bindMany($el, options, { + "click touchend": function () { + classUpdateChecked($span, $el, options); + } + }); + classUpdateChecked($span, $el, options); + return { + remove: unwrapUnwrapUnbindFunction($el, options), + update: function () { + classClearStandard($div, options); + $span.removeClass(options.checkedClass); + classUpdateChecked($span, $el, options); + classUpdateDisabled($div, $el, options); + } + }; + } + }, + { + // File selection / uploads + match: function ($el) { + return $el.is(":file"); + }, + apply: function ($el, options) { + var ds, $div, $filename, $button; + + // The "span" is the button + ds = divSpan($el, options, { + divClass: options.fileClass, + spanClass: options.fileButtonClass, + spanHtml: options.fileButtonHtml, + spanWrap: "after" + }); + $div = ds.div; + $button = ds.span; + $filename = $("").html(options.fileDefaultHtml); + $filename.addClass(options.filenameClass); + $filename = divSpanWrap($el, $filename, "after"); + + // Set the size + if (!attrOrProp($el, "size")) { + attrOrProp($el, "size", $div.width() / 10); + } + + // Actions + function filenameUpdate() { + setFilename($el, $filename, options); + } + + bindUi($el, $div, options); + + // Account for input saved across refreshes + filenameUpdate(); + + // IE7 doesn't fire onChange until blur or second fire. + if (isMsie()) { + // IE considers browser chrome blocking I/O, so it + // suspends tiemouts until after the file has + // been selected. + bindMany($el, options, { + click: function () { + $el.trigger("change"); + setTimeout(filenameUpdate, 0); + } + }); + } else { + // All other browsers behave properly + bindMany($el, options, { + change: filenameUpdate + }); + } + + noSelect($filename, options); + noSelect($button, options); + return { + remove: function () { + // Remove filename and button + $filename.remove(); + $button.remove(); + + // Unwrap parent div, remove events + return $el.unwrap().unbind(options.eventNamespace); + }, + update: function () { + classClearStandard($div, options); + setFilename($el, $filename, options); + classUpdateDisabled($div, $el, options); + } + }; + } + }, + { + // Input fields (text) + match: function ($el) { + if ($el.is("input")) { + var t = (" " + attrOrProp($el, "type") + " ").toLowerCase(), + allowed = " color date datetime datetime-local email month number password search tel text time url week "; + return allowed.indexOf(t) >= 0; + } + + return false; + }, + apply: function ($el, options) { + var elType, $wrapper; + + elType = attrOrProp($el, "type"); + $el.addClass(options.inputClass); + $wrapper = wrapWithWrapperClass($el, options); + bindUi($el, $el, options); + + if (options.inputAddTypeAsClass) { + $el.addClass(elType); + } + + return { + remove: function () { + $el.removeClass(options.inputClass); + + if (options.inputAddTypeAsClass) { + $el.removeClass(elType); + } + + if ($wrapper) { + $el.unwrap(); + } + }, + update: returnFalse + }; + } + }, + { + // Radio buttons + match: function ($el) { + return $el.is(":radio"); + }, + apply: function ($el, options) { + var ds, $div, $span; + ds = divSpan($el, options, { + divClass: options.radioClass + }); + $div = ds.div; + $span = ds.span; + + // Add classes for focus, handle active, checked + bindUi($el, $div, options); + bindMany($el, options, { + "click touchend": function () { + // Find all radios with the same name, then update + // them with $.uniform.update() so the right + // per-element options are used + $.uniform.update($(':radio[name="' + attrOrProp($el, "name") + '"]')); + } + }); + classUpdateChecked($span, $el, options); + return { + remove: unwrapUnwrapUnbindFunction($el, options), + update: function () { + classClearStandard($div, options); + classUpdateChecked($span, $el, options); + classUpdateDisabled($div, $el, options); + } + }; + } + }, + { + // Select lists, but do not style multiselects here + match: function ($el) { + if ($el.is("select") && !isMultiselect($el)) { + return true; + } + + return false; + }, + apply: function ($el, options) { + var ds, $div, $span, origElemWidth, origElemWidthIndent, origElemBorder; + + if (options.selectAutoWidth) { + sizingInvisible($el, function () { + origElemWidth = $el.width(); + origElemWidthIndent = parseInt($el.css('padding-left')) + parseInt($el.css('padding-right')); + origElemBorder = parseInt($el.css('border-left-width')) + parseInt($el.css('border-right-width')); + }); + } + + ds = divSpan($el, options, { + divClass: options.selectClass, + spanHtml: ($el.find(":selected:first") || $el.find("option:first")).html(), + spanWrap: "before" + }); + $div = ds.div; + $span = ds.span; + + if (options.selectAutoWidth) { + // Use the width of the select and adjust the + // span and div accordingly + sizingInvisible($el, function () { + // Force "display: block" - related to bug #287 + swap($([ $span[0], $div[0] ]), { + display: "block" + }, function () { + var spanPad; + spanPad =$span.width(); + $div.width(origElemWidth+origElemWidthIndent+origElemBorder); + $span.width(origElemWidth+origElemBorder); + }); + }); + } else { + // Force the select to fill the size of the div + $div.addClass('fixedWidth'); + } + + // Take care of events + bindUi($el, $div, options); + bindMany($el, options, { + change: function () { + $span.html($el.find(":selected").html()); + $div.removeClass(options.activeClass); + }, + "click touchend": function () { + // IE7 and IE8 may not update the value right + // until after click event - issue #238 + var selHtml = $el.find(":selected").html(); + + if ($span.html() !== selHtml) { + // Change was detected + // Fire the change event on the select tag + $el.trigger('change'); + } + }, + keyup: function () { + $span.html($el.find(":selected").html()); + } + }); + noSelect($span, options); + return { + remove: function () { + // Remove sibling span + $span.remove(); + + // Unwrap parent div + $el.unwrap().unbind(options.eventNamespace); + return $el; + }, + update: function () { + if (options.selectAutoWidth) { + // Easier to remove and reapply formatting + $.uniform.restore($el); + $el.uniform(options); + } else { + classClearStandard($div, options); + + // Reset current selected text + $span.html($el.find(":selected").html()); + classUpdateDisabled($div, $el, options); + } + } + }; + } + }, + { + // Select lists - multiselect lists only + match: function ($el) { + if ($el.is("select") && isMultiselect($el)) { + return true; + } + + return false; + }, + apply: function ($el, options) { + var $wrapper; + + $el.addClass(options.selectMultiClass); + $wrapper = wrapWithWrapperClass($el, options); + bindUi($el, $el, options); + + return { + remove: function () { + $el.removeClass(options.selectMultiClass); + + if ($wrapper) { + $el.unwrap(); + } + }, + update: returnFalse + }; + } + }, + { + // Textareas + match: function ($el) { + return $el.is("textarea"); + }, + apply: function ($el, options) { + var $wrapper; + + $el.addClass(options.textareaClass); + $wrapper = wrapWithWrapperClass($el, options); + bindUi($el, $el, options); + + return { + remove: function () { + $el.removeClass(options.textareaClass); + + if ($wrapper) { + $el.unwrap(); + } + }, + update: returnFalse + }; + } + } + ]; + + // IE6 can't be styled - can't set opacity on select + if (isMsie() && !isMsieSevenOrNewer()) { + allowStyling = false; + } + + $.uniform = { + // Default options that can be overridden globally or when uniformed + // globally: $.uniform.defaults.fileButtonHtml = "Pick A File"; + // on uniform: $('input').uniform({fileButtonHtml: "Pick a File"}); + defaults: { + activeClass: "active", + autoHide: true, + buttonClass: "button", + checkboxClass: "checker", + checkedClass: "checked", + disabledClass: "disabled", + eventNamespace: ".uniform", + fileButtonClass: "action", + fileButtonHtml: "Choose File", + fileClass: "uploader", + fileDefaultHtml: "No file selected", + filenameClass: "filename", + focusClass: "focus", + hoverClass: "hover", + idPrefix: "uniform", + inputAddTypeAsClass: true, + inputClass: "uniform-input", + radioClass: "radio", + resetDefaultHtml: "Reset", + resetSelector: false, // We'll use our own function when you don't specify one + selectAutoWidth: true, + selectClass: "selector", + selectMultiClass: "uniform-multiselect", + submitDefaultHtml: "Submit", // Only text allowed + textareaClass: "uniform", + useID: true, + wrapperClass: null + }, + + // All uniformed elements - DOM objects + elements: [] + }; + + $.fn.uniform = function (options) { + var el = this; + options = $.extend({}, $.uniform.defaults, options); + + // If we are in high contrast mode, do not allow styling + if (!highContrastTest) { + highContrastTest = true; + + if (highContrast()) { + allowStyling = false; + } + } + + // Only uniform on browsers that work + if (!allowStyling) { + return this; + } + + // Code for specifying a reset button + if (options.resetSelector) { + $(options.resetSelector).mouseup(function () { + window.setTimeout(function () { + $.uniform.update(el); + }, 10); + }); + } + + return this.each(function () { + var $el = $(this), i, handler, callbacks; + + // Avoid uniforming elements already uniformed - just update + if ($el.data("uniformed")) { + $.uniform.update($el); + return; + } + + // See if we have any handler for this type of element + for (i = 0; i < uniformHandlers.length; i = i + 1) { + handler = uniformHandlers[i]; + + if (handler.match($el, options)) { + callbacks = handler.apply($el, options); + $el.data("uniformed", callbacks); + + // Store element in our global array + $.uniform.elements.push($el.get(0)); + return; + } + } + + // Could not style this element + }); + }; + + $.uniform.restore = $.fn.uniform.restore = function (elem) { + if (elem === undef) { + elem = $.uniform.elements; + } + + $(elem).each(function () { + var $el = $(this), index, elementData; + elementData = $el.data("uniformed"); + + // Skip elements that are not uniformed + if (!elementData) { + return; + } + + // Unbind events, remove additional markup that was added + elementData.remove(); + + // Remove item from list of uniformed elements + index = $.inArray(this, $.uniform.elements); + + if (index >= 0) { + $.uniform.elements.splice(index, 1); + } + + $el.removeData("uniformed"); + }); + }; + + $.uniform.update = $.fn.uniform.update = function (elem) { + if (elem === undef) { + elem = $.uniform.elements; + } + + $(elem).each(function () { + var $el = $(this), elementData; + elementData = $el.data("uniformed"); + + // Skip elements that are not uniformed + if (!elementData) { + return; + } + + elementData.update($el, elementData.options); + }); + }; +}(jQuery)); + +$(window).load(function () { + $("select.form-control,input[type='checkbox']:not(.comparator), input[type='radio'],input#id_carrier2, input[type='file']").uniform(); + $("#uniform-selectPrductSort1").innerWidth(0); + $("#uniform-selectPrductSort1 span").innerWidth(0); +}); + + diff --git a/themes/default-bootstrap/js/jquery/owl.carousel.js b/themes/default-bootstrap/js/jquery/owl.carousel.js new file mode 100644 index 000000000..08c8358cc --- /dev/null +++ b/themes/default-bootstrap/js/jquery/owl.carousel.js @@ -0,0 +1,1415 @@ +/* + * jQuery OwlCarousel v1.27 + * + * Copyright (c) 2013 Bartosz Wojciechowski + * http://www.owlgraphic.com/owlcarousel/ + * + * Licensed under MIT + * + */ + +if ( typeof Object.create !== "function" ) { + Object.create = function( obj ) { + function F() {}; + F.prototype = obj; + return new F(); + }; +} +(function( $, window, document, undefined ) { + + var Carousel = { + init :function(options, el){ + var base = this; + base.options = $.extend({}, $.fn.owlCarousel.options, options); + base.userOptions = options; + var elem = el; + var $elem = $(el); + base.$elem = $elem; + base.loadContent(); + }, + + loadContent : function(){ + var base = this; + + if (typeof base.options.beforeInit === "function") { + base.options.beforeInit.apply(this,[base.$elem]); + } + + if (typeof base.options.jsonPath === "string") { + var url = base.options.jsonPath; + + function getData(data) { + if (typeof base.options.jsonSuccess === "function") { + base.options.jsonSuccess.apply(this,[data]); + } else { + var content = ""; + for(var i in data["owl"]){ + content += data["owl"][i]["item"]; + } + base.$elem.html(content); + } + base.logIn(); + } + $.getJSON(url,getData); + } else { + base.logIn(); + } + }, + + logIn : function(action){ + var base = this; + + base.$elem.css({opacity: 0}); + base.orignalItems = base.options.items; + base.checkBrowser(); + base.wrapperWidth = 0; + base.checkVisible; + base.setVars(); + }, + + setVars : function(){ + var base = this; + if(base.$elem.children().length === 0){return false} + base.baseClass(); + base.eventTypes(); + base.$userItems = base.$elem.children(); + base.itemsAmount = base.$userItems.length; + base.wrapItems(); + base.$owlItems = base.$elem.find(".owl-item"); + base.$owlWrapper = base.$elem.find(".owl-wrapper"); + base.playDirection = "next"; + base.prevItem = 0;//base.options.startPosition; + base.currentItem = 0; //Starting Position + base.customEvents(); + base.onStartup(); + }, + + onStartup : function(){ + var base = this; + base.updateItems(); + base.calculateAll(); + base.buildControls(); + base.updateControls(); + base.response(); + base.moveEvents(); + base.stopOnHover(); + base.owlStatus(); + + if(base.options.transitionStyle !== false){ + base.transitionTypes(base.options.transitionStyle); + } + if(base.options.autoPlay === true){ + base.options.autoPlay = 5000; + } + base.play(); + + base.$elem.find(".owl-wrapper").css("display","block") + + if(!base.$elem.is(":visible")){ + base.watchVisibility(); + } else { + base.$elem.css("opacity",1); + } + base.onstartup = false; + base.eachMoveUpdate(); + if (typeof base.options.afterInit === "function") { + base.options.afterInit.apply(this,[base.$elem]); + } + }, + + eachMoveUpdate : function(){ + var base = this; + + if(base.options.lazyLoad === true){ + base.lazyLoad(); + } + if(base.options.autoHeight === true){ + base.autoHeight(); + } + if(base.options.addClassActive === true){ + base.addClassActive(); + } + if (typeof base.options.afterAction === "function") { + base.options.afterAction.apply(this,[base.$elem]); + } + }, + + updateVars : function(){ + var base = this; + if(typeof base.options.beforeUpdate === "function") { + base.options.beforeUpdate.apply(this,[base.$elem]); + } + base.watchVisibility(); + base.updateItems(); + base.calculateAll(); + base.updatePosition(); + base.updateControls(); + base.eachMoveUpdate(); + if(typeof base.options.afterUpdate === "function") { + base.options.afterUpdate.apply(this,[base.$elem]); + } + }, + + reload : function(elements){ + var base = this; + setTimeout(function(){ + base.updateVars(); + },0) + }, + + watchVisibility : function(){ + var base = this; + + if(base.$elem.is(":visible") === false){ + base.$elem.css({opacity: 0}); + clearInterval(base.autoPlayInterval); + clearInterval(base.checkVisible); + } else { + return false; + } + base.checkVisible = setInterval(function(){ + if (base.$elem.is(":visible")) { + base.reload(); + base.$elem.animate({opacity: 1},200); + clearInterval(base.checkVisible); + } + }, 500); + }, + + wrapItems : function(){ + var base = this; + base.$userItems.wrapAll("
    ").wrap("
    "); + base.$elem.find(".owl-wrapper").wrap("
    "); + base.wrapperOuter = base.$elem.find(".owl-wrapper-outer"); + base.$elem.css("display","block"); + }, + + + + + + baseClass : function(){ + var base = this; + var hasBaseClass = base.$elem.hasClass(base.options.baseClass); + var hasThemeClass = base.$elem.hasClass(base.options.theme); + base.$elem.data("owl-originalStyles", base.$elem.attr("style")) + .data("owl-originalClasses", base.$elem.attr("class")); + + if(!hasBaseClass){ + base.$elem.addClass(base.options.baseClass); + } + + if(!hasThemeClass){ + base.$elem.addClass(base.options.theme); + } + }, + + updateItems : function(){ + var base = this; + + if(base.options.responsive === false){ + return false; + } + if(base.options.singleItem === true){ + base.options.items = base.orignalItems = 1; + base.options.itemsDesktop = false; + base.options.itemsDesktopSmall = false; + base.options.itemsTablet = false; + base.options.itemsTabletSmall = false; + base.options.itemsMobile = false; + return false; + } + + var width = $(base.options.responsiveBaseWidth).width(); + + if(width > (base.options.itemsDesktop[0] || base.orignalItems) ){ + base.options.items = base.orignalItems + } + + if(width <= base.options.itemsDesktop[0] && base.options.itemsDesktop !== false){ + base.options.items = base.options.itemsDesktop[1]; + } + + if(width <= base.options.itemsDesktopSmall[0] && base.options.itemsDesktopSmall !== false){ + base.options.items = base.options.itemsDesktopSmall[1]; + } + + if(width <= base.options.itemsTablet[0] && base.options.itemsTablet !== false){ + base.options.items = base.options.itemsTablet[1]; + } + + if(width <= base.options.itemsTabletSmall[0] && base.options.itemsTabletSmall !== false){ + base.options.items = base.options.itemsTabletSmall[1]; + } + + if(width <= base.options.itemsMobile[0] && base.options.itemsMobile !== false){ + base.options.items = base.options.itemsMobile[1]; + } + + //if number of items is less than declared + if(base.options.items > base.itemsAmount){ + base.options.items = base.itemsAmount; + } + }, + + response : function(){ + var base = this, + smallDelay; + if(base.options.responsive !== true){ + return false + } + var lastWindowWidth = $(window).width(); + + base.resizer = function(){ + if($(window).width() !== lastWindowWidth){ + if(base.options.autoPlay !== false){ + clearInterval(base.autoPlayInterval); + } + clearTimeout(smallDelay); + smallDelay = setTimeout(function(){ + lastWindowWidth = $(window).width(); + base.updateVars(); + },base.options.responsiveRefreshRate); + } + } + $(window).resize(base.resizer) + }, + + updatePosition : function(){ + var base = this; + + if(base.browser.support3d === true){ + if(base.positionsInArray[base.currentItem] > base.maximumPixels){ + base.transition3d(base.positionsInArray[base.currentItem]); + } else { + base.transition3d(0); + base.currentItem = 0; + } + } else{ + if(base.positionsInArray[base.currentItem] > base.maximumPixels){ + base.css2slide(base.positionsInArray[base.currentItem]); + } else { + base.css2slide(0); + base.currentItem = 0; + } + } + if(base.options.autoPlay !== false){ + base.checkAp(); + } + }, + + appendItemsSizes : function(){ + var base = this; + + var roundPages = 0; + var lastItem = base.itemsAmount - base.options.items; + + base.$owlItems.each(function(index){ + var $this = $(this); + $this + .css({"width": base.itemWidth}) + .data("owl-item",Number(index)); + + if(index % base.options.items === 0 || index === lastItem){ + if(!(index > lastItem)){ + roundPages +=1; + } + } + $this.data("owl-roundPages",roundPages) + }); + }, + + appendWrapperSizes : function(){ + var base = this; + var width = 0; + + var width = base.$owlItems.length * base.itemWidth; + + base.$owlWrapper.css({ + "width": width*2, + "left": 0 + }); + base.appendItemsSizes(); + }, + + calculateAll : function(){ + var base = this; + base.calculateWidth(); + base.appendWrapperSizes(); + base.loops(); + base.max(); + }, + + calculateWidth : function(){ + var base = this; + base.itemWidth = Math.round(base.$elem.width()/base.options.items) + }, + + max : function(){ + var base = this; + base.maximumItem = base.itemsAmount - base.options.items; + var maximum = (base.itemsAmount * base.itemWidth) - base.options.items * base.itemWidth; + maximum = maximum * -1 + base.maximumPixels = maximum; + return maximum; + }, + + min : function(){ + return 0; + }, + + loops : function(){ + var base = this; + + base.positionsInArray = [0]; + var elWidth = 0; + + for(var i = 0; i").toggleClass("clickable", !base.browser.isTouch).appendTo(base.$elem); + } + if(base.options.pagination === true){ + base.buildPagination(); + } + if(base.options.navigation === true){ + base.buildButtons(); + } + }, + + buildButtons : function(){ + var base = this; + var buttonsWrapper = $("
    ") + base.owlControls.append(buttonsWrapper); + + base.buttonPrev = $("
    ",{ + "class" : "owl-prev", + "html" : base.options.navigationText[0] || "" + }); + + base.buttonNext = $("
    ",{ + "class" : "owl-next", + "html" : base.options.navigationText[1] || "" + }); + + buttonsWrapper + .append(base.buttonPrev) + .append(base.buttonNext); + + buttonsWrapper.on("touchend.owlControls mouseup.owlControls", "div[class^=\"owl\"]", function(event){ + event.preventDefault(); + if($(this).hasClass("owl-next")){ + base.next(); + } else{ + base.prev(); + } + }) + }, + + buildPagination : function(){ + var base = this; + + base.paginationWrapper = $("
    "); + base.owlControls.append(base.paginationWrapper); + + base.paginationWrapper.on("touchend.owlControls mouseup.owlControls", ".owl-page", function(event){ + event.preventDefault(); + if(Number($(this).data("owl-page")) !== base.currentItem){ + base.goTo( Number($(this).data("owl-page")), true); + } + }); + }, + + updatePagination : function(){ + var base = this; + if(base.options.pagination === false){ + return false; + } + + base.paginationWrapper.html(""); + + var counter = 0; + var lastPage = base.itemsAmount - base.itemsAmount % base.options.items; + + for(var i = 0; i",{ + "class" : "owl-page" + }); + var paginationButtonInner = $("",{ + "text": base.options.paginationNumbers === true ? counter : "", + "class": base.options.paginationNumbers === true ? "owl-numbers" : "" + }); + paginationButton.append(paginationButtonInner); + + paginationButton.data("owl-page",lastPage === i ? lastItem : i); + paginationButton.data("owl-roundPages",counter); + + base.paginationWrapper.append(paginationButton); + } + } + base.checkPagination(); + }, + checkPagination : function(){ + var base = this; + if(base.options.pagination === false){ + return false; + } + base.paginationWrapper.find(".owl-page").each(function(i,v){ + if($(this).data("owl-roundPages") === $(base.$owlItems[base.currentItem]).data("owl-roundPages") ){ + base.paginationWrapper + .find(".owl-page") + .removeClass("active"); + $(this).addClass("active"); + } + }); + }, + + checkNavigation : function(){ + var base = this; + + if(base.options.navigation === false){ + return false; + } + if(base.options.rewindNav === false){ + if(base.currentItem === 0 && base.maximumItem === 0){ + base.buttonPrev.addClass("disabled"); + base.buttonNext.addClass("disabled"); + } else if(base.currentItem === 0 && base.maximumItem !== 0){ + base.buttonPrev.addClass("disabled"); + base.buttonNext.removeClass("disabled"); + } else if (base.currentItem === base.maximumItem){ + base.buttonPrev.removeClass("disabled"); + base.buttonNext.addClass("disabled"); + } else if(base.currentItem !== 0 && base.currentItem !== base.maximumItem){ + base.buttonPrev.removeClass("disabled"); + base.buttonNext.removeClass("disabled"); + } + } + }, + + updateControls : function(){ + var base = this; + base.updatePagination(); + base.checkNavigation(); + if(base.owlControls){ + if(base.options.items === base.itemsAmount){ + base.owlControls.hide(); + } else { + base.owlControls.show(); + } + } + }, + + destroyControls : function(){ + var base = this; + if(base.owlControls){ + base.owlControls.remove(); + } + }, + + next : function(speed){ + var base = this; + + if(base.isTransition){ + return false; + } + + base.storePrevItem = base.currentItem; + + base.currentItem += base.options.scrollPerPage === true ? base.options.items : 1; + if(base.currentItem > base.maximumItem + (base.options.scrollPerPage == true ? (base.options.items - 1) : 0)){ + if(base.options.rewindNav === true){ + base.currentItem = 0; + speed = "rewind"; + } else { + base.currentItem = base.maximumItem; + return false; + } + } + base.goTo(base.currentItem,speed); + }, + + prev : function(speed){ + var base = this; + + if(base.isTransition){ + return false; + } + + base.storePrevItem = base.currentItem; + + if(base.options.scrollPerPage === true && base.currentItem > 0 && base.currentItem < base.options.items){ + base.currentItem = 0 + } else { + base.currentItem -= base.options.scrollPerPage === true ? base.options.items : 1; + } + if(base.currentItem < 0){ + if(base.options.rewindNav === true){ + base.currentItem = base.maximumItem; + speed = "rewind" + } else { + base.currentItem =0; + return false; + } + } + base.goTo(base.currentItem,speed); + }, + + goTo : function(position,speed,drag){ + var base = this; + + if(base.isTransition){ + return false; + } + base.getPrevItem(); + if(typeof base.options.beforeMove === "function") { + base.options.beforeMove.apply(this,[base.$elem]); + } + if(position >= base.maximumItem){ + position = base.maximumItem; + } + else if( position <= 0 ){ + position = 0; + } + + base.currentItem = base.owl.currentItem = position; + if( base.options.transitionStyle !== false && drag !== "drag" && base.options.items === 1 && base.browser.support3d === true){ + base.swapSpeed(0) + if(base.browser.support3d === true){ + base.transition3d(base.positionsInArray[position]); + } else { + base.css2slide(base.positionsInArray[position],1); + } + base.singleItemTransition(); + base.afterGo(); + return false; + } + var goToPixel = base.positionsInArray[position]; + + if(base.browser.support3d === true){ + base.isCss3Finish = false; + + if(speed === true){ + base.swapSpeed("paginationSpeed"); + setTimeout(function() { + base.isCss3Finish = true; + }, base.options.paginationSpeed); + + } else if(speed === "rewind" ){ + base.swapSpeed(base.options.rewindSpeed); + setTimeout(function() { + base.isCss3Finish = true; + }, base.options.rewindSpeed); + + } else { + base.swapSpeed("slideSpeed"); + setTimeout(function() { + base.isCss3Finish = true; + }, base.options.slideSpeed); + } + base.transition3d(goToPixel); + } else { + if(speed === true){ + base.css2slide(goToPixel, base.options.paginationSpeed); + } else if(speed === "rewind" ){ + base.css2slide(goToPixel, base.options.rewindSpeed); + } else { + base.css2slide(goToPixel, base.options.slideSpeed); + } + } + base.afterGo(); + }, + + getPrevItem : function(){ + var base = this; + base.prevItem = base.owl.prevItem = base.storePrevItem === undefined ? base.currentItem : base.storePrevItem; + base.storePrevItem = undefined; + }, + + jumpTo : function(position){ + var base = this; + base.getPrevItem(); + if(typeof base.options.beforeMove === "function") { + base.options.beforeMove.apply(this,[base.$elem]); + } + if(position >= base.maximumItem || position === -1){ + position = base.maximumItem; + } + else if( position <= 0 ){ + position = 0; + } + base.swapSpeed(0) + if(base.browser.support3d === true){ + base.transition3d(base.positionsInArray[position]); + } else { + base.css2slide(base.positionsInArray[position],1); + } + base.currentItem = base.owl.currentItem = position; + base.afterGo(); + }, + + afterGo : function(){ + var base = this; + base.checkPagination(); + base.checkNavigation(); + base.eachMoveUpdate(); + + if(typeof base.options.afterMove === "function") { + base.options.afterMove.apply(this,[base.$elem]); + } + if(base.options.autoPlay !== false){ + base.checkAp(); + } + }, + + stop : function(){ + var base = this; + base.apStatus = "stop"; + clearInterval(base.autoPlayInterval); + }, + + checkAp : function(){ + var base = this; + if(base.apStatus !== "stop"){ + base.play(); + } + }, + + play : function(){ + var base = this; + base.apStatus = "play"; + if(base.options.autoPlay === false){ + return false; + } + clearInterval(base.autoPlayInterval); + base.autoPlayInterval = setInterval(function(){ + base.next(true); + },base.options.autoPlay); + }, + + swapSpeed : function(action){ + var base = this; + if(action === "slideSpeed"){ + base.$owlWrapper.css(base.addCssSpeed(base.options.slideSpeed)); + } else if(action === "paginationSpeed" ){ + base.$owlWrapper.css(base.addCssSpeed(base.options.paginationSpeed)); + } else if(typeof action !== "string"){ + base.$owlWrapper.css(base.addCssSpeed(action)); + } + }, + + addCssSpeed : function(speed){ + var base = this; + return { + "-webkit-transition": "all "+ speed +"ms ease", + "-moz-transition": "all "+ speed +"ms ease", + "-o-transition": "all "+ speed +"ms ease", + "transition": "all "+ speed +"ms ease" + }; + }, + + removeTransition : function(){ + return { + "-webkit-transition": "", + "-moz-transition": "", + "-o-transition": "", + "transition": "" + }; + }, + + doTranslate : function(pixels){ + return { + "-webkit-transform": "translate3d("+pixels+"px, 0px, 0px)", + "-moz-transform": "translate3d("+pixels+"px, 0px, 0px)", + "-o-transform": "translate3d("+pixels+"px, 0px, 0px)", + "-ms-transform": "translate3d("+pixels+"px, 0px, 0px)", + "transform": "translate3d("+pixels+"px, 0px,0px)" + }; + }, + + transition3d : function(value){ + var base = this; + base.$owlWrapper.css(base.doTranslate(value)); + }, + + css2move : function(value){ + var base = this; + base.$owlWrapper.css({"left" : value}) + }, + + css2slide : function(value,speed){ + var base = this; + + base.isCssFinish = false; + base.$owlWrapper.stop(true,true).animate({ + "left" : value + }, { + duration : speed || base.options.slideSpeed , + complete : function(){ + base.isCssFinish = true; + } + }); + }, + + checkBrowser : function(){ + var base = this; + + //Check 3d support + var translate3D = "translate3d(0px, 0px, 0px)", + tempElem = document.createElement("div"); + + tempElem.style.cssText= " -moz-transform:" + translate3D + + "; -ms-transform:" + translate3D + + "; -o-transform:" + translate3D + + "; -webkit-transform:" + translate3D + + "; transform:" + translate3D; + var regex = /translate3d\(0px, 0px, 0px\)/g, + asSupport = tempElem.style.cssText.match(regex), + support3d = (asSupport !== null && asSupport.length === 1); + + var isTouch = "ontouchstart" in window || navigator.msMaxTouchPoints; + + base.browser = { + "support3d" : support3d, + "isTouch" : isTouch + } + }, + + moveEvents : function(){ + var base = this; + if(base.options.mouseDrag !== false || base.options.touchDrag !== false){ + base.gestures(); + base.disabledEvents(); + } + }, + + eventTypes : function(){ + var base = this; + var types = ["s","e","x"]; + + base.ev_types = {}; + + if(base.options.mouseDrag === true && base.options.touchDrag === true){ + types = [ + "touchstart.owl mousedown.owl", + "touchmove.owl mousemove.owl", + "touchend.owl touchcancel.owl mouseup.owl" + ]; + } else if(base.options.mouseDrag === false && base.options.touchDrag === true){ + types = [ + "touchstart.owl", + "touchmove.owl", + "touchend.owl touchcancel.owl" + ]; + } else if(base.options.mouseDrag === true && base.options.touchDrag === false){ + types = [ + "mousedown.owl", + "mousemove.owl", + "mouseup.owl" + ]; + } + + base.ev_types["start"] = types[0]; + base.ev_types["move"] = types[1]; + base.ev_types["end"] = types[2]; + }, + + disabledEvents : function(){ + var base = this; + base.$elem.on("dragstart.owl", function(event) { event.preventDefault();}); + base.$elem.on("mousedown.disableTextSelect", function(e) { + return $(e.target).is('input, textarea, select, option'); + }); + }, + + gestures : function(){ + var base = this; + + var locals = { + offsetX : 0, + offsetY : 0, + baseElWidth : 0, + relativePos : 0, + position: null, + minSwipe : null, + maxSwipe: null, + sliding : null, + dargging: null, + targetElement : null + } + + base.isCssFinish = true; + + function getTouches(event){ + if(event.touches){ + return { + x : event.touches[0].pageX, + y : event.touches[0].pageY + } + } else { + if(event.pageX !== undefined){ + return { + x : event.pageX, + y : event.pageY + } + } else { + return { + x : event.clientX, + y : event.clientY + } + } + } + } + + function swapEvents(type){ + if(type === "on"){ + $(document).on(base.ev_types["move"], dragMove); + $(document).on(base.ev_types["end"], dragEnd); + } else if(type === "off"){ + $(document).off(base.ev_types["move"]); + $(document).off(base.ev_types["end"]); + } + } + + function dragStart(event) { + var event = event.originalEvent || event || window.event; + + if(base.isCssFinish === false && !base.options.dragBeforeAnimFinish ){ + return false; + } + if(base.isCss3Finish === false && !base.options.dragBeforeAnimFinish ){ + return false; + } + + if(base.options.autoPlay !== false){ + clearInterval(base.autoPlayInterval); + } + + if(base.browser.isTouch !== true && !base.$owlWrapper.hasClass("grabbing")){ + base.$owlWrapper.addClass("grabbing") + } + + base.newPosX = 0; + base.newRelativeX = 0; + + $(this).css(base.removeTransition()); + + var position = $(this).position(); + locals.relativePos = position.left; + + locals.offsetX = getTouches(event).x - position.left; + locals.offsetY = getTouches(event).y - position.top; + + swapEvents("on"); + + locals.sliding = false; + locals.targetElement = event.target || event.srcElement; + } + + function dragMove(event){ + var event = event.originalEvent || event || window.event; + + base.newPosX = getTouches(event).x- locals.offsetX; + base.newPosY = getTouches(event).y - locals.offsetY; + base.newRelativeX = base.newPosX - locals.relativePos; + + if (typeof base.options.startDragging === "function" && locals.dragging !== true && base.newRelativeX !== 0) { + locals.dragging = true; + base.options.startDragging.apply(this); + } + + if(base.newRelativeX > 8 || base.newRelativeX < -8 && base.browser.isTouch === true){ + event.preventDefault ? event.preventDefault() : event.returnValue = false; + locals.sliding = true; + } + + if((base.newPosY > 10 || base.newPosY < -10) && locals.sliding === false){ + $(document).off("touchmove.owl"); + } + + var minSwipe = function(){ + return base.newRelativeX / 5; + } + var maxSwipe = function(){ + return base.maximumPixels + base.newRelativeX / 5; + } + + base.newPosX = Math.max(Math.min( base.newPosX, minSwipe() ), maxSwipe() ); + if(base.browser.support3d === true){ + base.transition3d(base.newPosX); + } else { + base.css2move(base.newPosX); + } + } + + function dragEnd(event){ + var event = event.originalEvent || event || window.event; + event.target = event.target || event.srcElement; + + locals.dragging = false; + + if(base.browser.isTouch !== true){ + base.$owlWrapper.removeClass("grabbing"); + } + + if(base.newRelativeX !== 0){ + var newPosition = base.getNewPosition(); + base.goTo(newPosition,false,"drag"); + if(locals.targetElement === event.target && base.browser.isTouch !== true){ + $(event.target).on("click.disable", function(ev){ + ev.stopImmediatePropagation(); + ev.stopPropagation(); + ev.preventDefault(); + $(event.target).off("click.disable"); + }); + var handlers = $._data(event.target, "events")["click"]; + var owlStopEvent = handlers.pop(); + handlers.splice(0, 0, owlStopEvent); + } + } + swapEvents("off"); + } + base.$elem.on(base.ev_types["start"], ".owl-wrapper", dragStart); + }, + + getNewPosition : function(){ + var base = this, + newPosition; + + var newPosition = base.improveClosest(); + if(newPosition>base.maximumItem){ + base.currentItem = base.maximumItem; + newPosition = base.maximumItem; + } else if( base.newPosX >=0 ){ + newPosition = 0; + base.currentItem = 0; + } + return newPosition; + }, + + improveClosest : function(){ + var base = this; + var array = base.positionsInArray; + var goal = base.newPosX; + var closest = null; + $.each(array, function(i,v){ + if( goal - (base.itemWidth/20) > array[i+1] && goal - (base.itemWidth/20)< v && base.moveDirection() === "left") { + closest = v; + base.currentItem = i; + } + else if (goal + (base.itemWidth/20) < v && goal + (base.itemWidth/20) > array[i+1] && base.moveDirection() === "right"){ + closest = array[i+1]; + base.currentItem = i+1; + } + }); + return base.currentItem; + }, + + moveDirection : function(){ + var base = this, + direction; + if(base.newRelativeX < 0 ){ + direction = "right" + base.playDirection = "next" + } else { + direction = "left" + base.playDirection = "prev" + } + return direction + }, + + customEvents : function(){ + var base = this; + base.$elem.on("owl.next",function(){ + base.next(); + }); + base.$elem.on("owl.prev",function(){ + base.prev(); + }); + base.$elem.on("owl.play",function(event,speed){ + base.options.autoPlay = speed; + base.play(); + base.hoverStatus = "play"; + }); + base.$elem.on("owl.stop",function(){ + base.stop(); + base.hoverStatus = "stop"; + }); + base.$elem.on("owl.goTo",function(event,item){ + base.goTo(item) + }); + base.$elem.on("owl.jumpTo",function(event,item){ + base.jumpTo(item) + }); + }, + + stopOnHover : function(){ + var base = this; + if(base.options.stopOnHover === true && base.browser.isTouch !== true && base.options.autoPlay !== false){ + base.$elem.on("mouseover", function(){ + base.stop(); + }); + base.$elem.on("mouseout", function(){ + if(base.hoverStatus !== "stop"){ + base.play(); + } + }); + } + }, + + lazyLoad : function(){ + var base = this; + + if(base.options.lazyLoad === false){ + return false; + } + for(var i=0; i= base.currentItem; + } else { + follow = true; + } + if(follow && itemNumber < base.currentItem + base.options.items && $lazyImg.length){ + base.lazyPreload($item,$lazyImg); + } + } + }, + + lazyPreload : function($item,$lazyImg){ + var base = this, + iterations = 0; + $lazyImg[0].src = $lazyImg.data("src"); + checkLazyImage(); + + function checkLazyImage(){ + iterations += 1; + if (base.completeImg( $lazyImg.get(0) )) { + showImage(); + } else if(iterations <= 100){//if image loads in less than 10 seconds + setTimeout(checkLazyImage,100); + } else { + showImage(); + } + } + function showImage(){ + $item.data("owl-loaded", "loaded").removeClass("loading"); + $lazyImg.removeAttr("data-src"); + base.options.lazyEffect === "fade" ? $lazyImg.fadeIn(400) : $lazyImg.show(); + } + }, + + autoHeight : function(){ + var base = this; + var $currentimg = $(base.$owlItems[base.currentItem]).find("img"); + + if($currentimg.get(0) !== undefined ){ + var iterations = 0; + checkImage(); + } else { + addHeight(); + } + function checkImage(){ + iterations += 1; + if ( base.completeImg($currentimg.get(0)) ) { + addHeight(); + } else if(iterations <= 100){ //if image loads in less than 10 seconds + setTimeout(checkImage,100); + } else { + base.wrapperOuter.css("height", ""); //Else remove height attribute + } + } + + function addHeight(){ + var $currentItem = $(base.$owlItems[base.currentItem]).height(); + base.wrapperOuter.css("height",$currentItem+"px"); + if(!base.wrapperOuter.hasClass("autoHeight")){ + setTimeout(function(){ + base.wrapperOuter.addClass("autoHeight"); + },0); + } + } + }, + + completeImg : function(img) { + if (!img.complete) { + return false; + } + if (typeof img.naturalWidth !== "undefined" && img.naturalWidth == 0) { + return false; + } + return true; + }, + + addClassActive : function(){ + var base = this; + base.$owlItems.removeClass("active"); + for(var i=base.currentItem; i= base.$userItems.length || position === -1){ + base.$userItems.eq(-1).after(htmlString) + } else { + base.$userItems.eq(position).before(htmlString) + } + + base.setVars(); + }, + + removeItem : function(targetPosition){ + var base = this, + position; + + if(base.$elem.children().length === 0){return false} + + if(targetPosition === undefined || targetPosition === -1){ + position = -1; + } else { + position = targetPosition; + } + + base.unWrap(); + base.$userItems.eq(position).remove(); + base.setVars(); + } + + }; + + $.fn.owlCarousel = function( options ){ + return this.each(function() { + if($(this).data("owl-init") === true){ + return false; + } + $(this).data("owl-init", true); + var carousel = Object.create( Carousel ); + carousel.init( options, this ); + $.data( this, "owlCarousel", carousel ); + }); + }; + + + + + $.fn.owlCarousel.options = { + items : 5, + itemsDesktop : [1199,4], + itemsDesktopSmall : [979,3], + itemsTablet: [768,2], + itemsTabletSmall: false, + itemsMobile : [479,1], + singleItem:false, + + slideSpeed : 200, + paginationSpeed : 800, + rewindSpeed : 1000, + + autoPlay : false, + stopOnHover : false, + + navigation : false, + navigationText : ["prev","next"], + rewindNav : true, + scrollPerPage : false, + + pagination : true, + paginationNumbers: false, + + responsive: true, + responsiveRefreshRate : 200, + responsiveBaseWidth: window, + + baseClass : "owl-carousel", + theme : "owl-theme", + + lazyLoad : false, + lazyFollow : true, + lazyEffect : "fade", + + autoHeight : false, + + jsonPath : false, + jsonSuccess : false, + + dragBeforeAnimFinish : true, + mouseDrag : true, + touchDrag : true, + + addClassActive : false, + transitionStyle : false, + + beforeUpdate : false, + afterUpdate : false, + beforeInit : false, + afterInit : false, + beforeMove: false, + afterMove: false, + afterAction : false, + startDragging : false + + }; +})( jQuery, window, document ); \ No newline at end of file diff --git a/themes/default-bootstrap/js/modules/blockcart/ajax-cart.js b/themes/default-bootstrap/js/modules/blockcart/ajax-cart.js new file mode 100644 index 000000000..fb8dcc0db --- /dev/null +++ b/themes/default-bootstrap/js/modules/blockcart/ajax-cart.js @@ -0,0 +1,829 @@ +/* +* 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 +*/ + +// Retrocompatibility with 1.4 +if (typeof baseUri === "undefined" && typeof baseDir !== "undefined") + baseUri = baseDir; + +//JS Object : update the cart by ajax actions +var ajaxCart = { + nb_total_products: 0, + + //override every button in the page in relation to the cart + overrideButtonsInThePage : function(){ + //for every 'add' buttons... + $('.ajax_add_to_cart_button').unbind('click').click(function(){ + var idProduct = $(this).attr('rel').replace('nofollow', '').replace('ajax_id_product_', ''); + if ($(this).attr('disabled') != 'disabled') + ajaxCart.add(idProduct, null, false, this); + return false; + }); + //for product page 'add' button... + $('#add_to_cart input').unbind('click').click(function(){ + ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null); + return false; + }); + + //for 'delete' buttons in the cart block... + $('#cart_block_list .ajax_cart_block_remove_link').unbind('click').click(function(){ + // Customized product management + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var customizableProductDiv = $($(this).parent().parent()).find("div[id^=deleteCustomizableProduct_]"); + + if (customizableProductDiv && $(customizableProductDiv).length) + { + $(customizableProductDiv).each(function(){ + var ids = $(this).attr('id').split('_'); + if (typeof(ids[1]) != 'undefined') + { + customizationId = parseInt(ids[1]); + productId = parseInt(ids[2]); + if (typeof(ids[3]) != 'undefined') + productAttributeId = parseInt(ids[3]); + return false; + } + }); + } + + // Common product management + if (!customizationId) + { + //retrieve idProduct and idCombination from the displayed product in the block cart + var firstCut = $(this).parent().parent().attr('id').replace('cart_block_product_', ''); + firstCut = firstCut.replace('deleteCustomizableProduct_', ''); + ids = firstCut.split('_'); + productId = parseInt(ids[0]); + if (typeof(ids[1]) != 'undefined') + productAttributeId = parseInt(ids[1]); + } + + var idAddressDelivery = $(this).parent().parent().attr('id').match(/.*_\d+_\d+_(\d+)/)[1]; + + // Removing product from the cart + ajaxCart.remove(productId, productAttributeId, customizationId, idAddressDelivery); + return false; + }); + }, + + // try to expand the cart + expand : function(){ + if ($('#cart_block_list').hasClass('collapsed')) + { + $('#cart_block_summary').slideUp(200, function(){ + $(this).addClass('collapsed').removeClass('expanded'); + $('#cart_block_list').slideDown({ + duration: 450, + complete: function(){$(this).addClass('expanded').removeClass('collapsed');} + }); + }); + // toogle the button expand/collapse button + $('#block_cart_expand').fadeOut('slow', function(){ + $('#block_cart_collapse').fadeIn('fast'); + }); + + // save the expand statut in the user cookie + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax_blockcart_display=expand' + }); + + + } + }, + // Fix display when using back and previous browsers buttons + refresh : function(){ + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'controller=cart&ajax=true&token=' + static_token, + success: function(jsonData) + { + ajaxCart.updateCart(jsonData); + } + }); + }, + + // try to collapse the cart + collapse : function(){ + + if ($('#cart_block_list').hasClass('expanded')) + { + $('#cart_block_list').slideUp('slow', function(){ + $(this).addClass('collapsed').removeClass('expanded'); + $('#cart_block_summary').slideDown(450, function(){ + $(this).addClass('expanded').removeClass('collapsed'); + }); + }); + $('#block_cart_collapse').fadeOut('slow', function(){ + $('#block_cart_expand').fadeIn('fast'); + }); + + // save the expand statut in the user cookie + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax_blockcart_display=collapse' + '&rand=' + new Date().getTime() + }); + } + }, + + // Update the cart information + updateCartInformation : function (jsonData, addedFromProductPage) + { + ajaxCart.updateCart(jsonData); + + //reactive the button when adding has finished + if (addedFromProductPage) + $('#add_to_cart input').removeAttr('disabled').addClass('exclusive').removeClass('exclusive_disabled'); + else + $('.ajax_add_to_cart_button').removeAttr('disabled'); + }, + + // add a product in the cart via ajax + add : function(idProduct, idCombination, addedFromProductPage, callerElement, quantity, whishlist){ + if (addedFromProductPage && !checkCustomizations()) + { + alert(fieldRequired); + return ; + } + emptyCustomizations(); + //disabled the button when adding to not double add if user double click + if (addedFromProductPage) + { + $('#add_to_cart input').attr('disabled', true).removeClass('exclusive').addClass('exclusive_disabled'); + $('.filled').removeClass('filled'); + } + else + $(callerElement).attr('disabled', true); + + if ($('#cart_block_list').hasClass('collapsed')) + this.expand(); + //send the ajax request to the server + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): ''), + success: function(jsonData,textStatus,jqXHR) + { + // add appliance to whishlist module + if (whishlist && !jsonData.errors) + WishlistAddProductCart(whishlist[0], idProduct, idCombination, whishlist[1]); + + // add the picture to the cart + var $element = $(callerElement).parents('.ajax_block_product').find('a.product_image img,a.product_img_link img'); + if (!$element.length) + $element = $('#bigpic'); + var $picture = $element.clone(); + var pictureOffsetOriginal = $element.offset(); + pictureOffsetOriginal.right = $(window).innerWidth() - pictureOffsetOriginal.left - $element.width(); + + if ($picture.length) + { + $picture.css({ + position: 'absolute', + top: pictureOffsetOriginal.top, + right: pictureOffsetOriginal.right + }); + } + + var pictureOffset = $picture.offset(); + var cartBlock = $('#cart_block'); + if (!$('#cart_block')[0] || !$('#cart_block').offset().top || !$('#cart_block').offset().left) + cartBlock = $('#shopping_cart'); + var cartBlockOffset = cartBlock.offset(); + cartBlockOffset.right = $(window).innerWidth() - cartBlockOffset.left - cartBlock.width(); + + // Check if the block cart is activated for the animation + if (cartBlockOffset != undefined && $picture.length) + { + $picture.appendTo('body'); + $picture + .css({ + position: 'absolute', + top: pictureOffsetOriginal.top, + right: pictureOffsetOriginal.right, + zIndex: 4242 + }) + .animate({ + width: $element.attr('width')*0.66, + height: $element.attr('height')*0.66, + opacity: 0.2, + top: cartBlockOffset.top + 30, + right: cartBlockOffset.right + 15 + }, 1000) + .fadeOut(100, function() { + ajaxCart.updateCartInformation(jsonData, addedFromProductPage); + $(this).remove(); + if (!jsonData.hasError) + { + $('.crossseling').html(jsonData.crossSelling) + $(jsonData.products).each(function(){ + if (this.id != undefined && this.id == parseInt(idProduct)) + ajaxCart.updateLayer(this); + }); + } + }); + } + else + ajaxCart.updateCartInformation(jsonData, addedFromProductPage); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) + { + alert("Impossible to add the product to the cart.\n\ntextStatus: '" + textStatus + "'\nerrorThrown: '" + errorThrown + "'\nresponseText:\n" + XMLHttpRequest.responseText); + //reactive the button when adding has finished + if (addedFromProductPage) + $('#add_to_cart input').removeAttr('disabled').addClass('exclusive').removeClass('exclusive_disabled'); + else + $(callerElement).removeAttr('disabled'); + } + }); + }, + + //remove a product from the cart via ajax + remove : function(idProduct, idCombination, customizationId, idAddressDelivery){ + //send the ajax request to the server + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'controller=cart&delete=1&id_product=' + idProduct + '&ipa=' + ((idCombination != null && parseInt(idCombination)) ? idCombination : '') + ((customizationId && customizationId != null) ? '&id_customization=' + customizationId : '') + '&id_address_delivery=' + idAddressDelivery + '&token=' + static_token + '&ajax=true', + success: function(jsonData) { + ajaxCart.updateCart(jsonData); + if ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc') + deleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery); + }, + error: function() {alert('ERROR: unable to delete the product');} + }); + }, + + //hide the products displayed in the page but no more in the json data + hideOldProducts : function(jsonData) { + //delete an eventually removed product of the displayed cart (only if cart is not empty!) + if ($('#cart_block_list dl.products').length > 0) + { + var removedProductId = null; + var removedProductData = null; + var removedProductDomId = null; + //look for a product to delete... + $('#cart_block_list dl.products dt').each(function(){ + //retrieve idProduct and idCombination from the displayed product in the block cart + var domIdProduct = $(this).attr('id'); + var firstCut = domIdProduct.replace('cart_block_product_', ''); + var ids = firstCut.split('_'); + + //try to know if the current product is still in the new list + var stayInTheCart = false; + for (aProduct in jsonData.products) + { + //we've called the variable aProduct because IE6 bug if this variable is called product + //if product has attributes + if (jsonData.products[aProduct]['id'] == ids[0] && (!ids[1] || jsonData.products[aProduct]['idCombination'] == ids[1])) + { + stayInTheCart = true; + // update the product customization display (when the product is still in the cart) + ajaxCart.hideOldProductCustomizations(jsonData.products[aProduct], domIdProduct); + } + } + //remove product if it's no more in the cart + if (!stayInTheCart) + { + removedProductId = $(this).attr('id'); + if (removedProductId != null) + { + var firstCut = removedProductId.replace('cart_block_product_', ''); + var ids = firstCut.split('_'); + + $('#'+removedProductId).addClass('strike').fadeTo('slow', 0, function(){ + $(this).slideUp('slow', function(){ + $(this).remove(); + // If the cart is now empty, show the 'no product in the cart' message and close detail + if($('#cart_block dl.products dt').length == 0) + { + $("#cart_block").stop(true, true).slideUp(200); + $('#cart_block_no_products:hidden').slideDown(450); + $('#cart_block dl.products').remove(); + } + }); + }); + $('#cart_block_combination_of_' + ids[0] + (ids[1] ? '_'+ids[1] : '') + (ids[2] ? '_'+ids[2] : '')).fadeTo('fast', 0, function(){ + $(this).slideUp('fast', function(){ + $(this).remove(); + }); + }); + } + } + }); + } + }, + + hideOldProductCustomizations : function (product, domIdProduct) + { + var customizationList = $('#customization_' + product['id'] + '_' + product['idCombination']); + if(customizationList.length > 0) + { + $(customizationList).find("li").each(function(){ + $(this).find("div").each(function() { + var customizationDiv = $(this).attr('id'); + var tmp = customizationDiv.replace('deleteCustomizableProduct_', ''); + var ids = tmp.split('_'); + if ((parseInt(product.idCombination) == parseInt(ids[2])) && !ajaxCart.doesCustomizationStillExist(product, ids[0])) + $('#' + customizationDiv).parent().addClass('strike').fadeTo('slow', 0, function(){ + $(this).slideUp('slow'); + $(this).remove(); + }); + }); + }); + } + + var removeLinks = $('#' + domIdProduct).find('.ajax_cart_block_remove_link'); + if (!product.hasCustomizedDatas && !removeLinks.length) + $('#' + domIdProduct + ' span.remove_link').html(' '); + if (product.is_gift) + $('#' + domIdProduct + ' span.remove_link').html(''); + }, + + doesCustomizationStillExist : function (product, customizationId) + { + var exists = false; + + $(product.customizedDatas).each(function() { + if (this.customizationId == customizationId) + { + exists = true; + // This return does not mean that we found nothing but simply break the loop + return false; + } + }); + return (exists); + }, + + //refresh display of vouchers (needed for vouchers in % of the total) + refreshVouchers : function (jsonData) { + if (typeof(jsonData.discounts) == 'undefined' || jsonData.discounts.length == 0) + $('#vouchers').hide(); + else + { + $('#vouchers tbody').html(''); + + for (i=0;i 0) + { + var delete_link = ''; + if (jsonData.discounts[i].code.length) + delete_link = ''; + $('#vouchers tbody').append($( + '' + +' 1x' + +' '+jsonData.discounts[i].name+'' + +' -'+jsonData.discounts[i].price+'' + +' ' + delete_link + '' + +'' + )); + } + } + + $('#vouchers').show(); + } + + }, + + // Update product quantity + updateProductQuantity : function (product, quantity) { + + $('#cart_block_product_' + product.id + '_' + (product.idCombination ? product.idCombination : '0')+ '_' + (product.idAddressDelivery ? product.idAddressDelivery : '0') + ' .quantity').fadeTo('fast', 0, function() { + $(this).text(quantity); + $(this).fadeTo('fast', 1, function(){ + $(this).fadeTo('fast', 0, function(){ + $(this).fadeTo('fast', 1, function(){ + $(this).fadeTo('fast', 0, function(){ + $(this).fadeTo('fast', 1); + }); + }); + }); + }); + }); + }, + + + //display the products witch are in json data but not already displayed + displayNewProducts : function(jsonData) { + + //add every new products or update displaying of every updated products + $(jsonData.products).each(function(){ + //fix ie6 bug (one more item 'undefined' in IE6) + if (this.id != undefined) + { + //create a container for listing the products and hide the 'no product in the cart' message (only if the cart was empty) + + if ($('#cart_block dl.products').length == 0) + { + $('#cart_block_no_products').before('
    '); + $('#cart_block_no_products').hide(); + } + //if product is not in the displayed cart, add a new product's line + var domIdProduct = this.id + '_' + (this.idCombination ? this.idCombination : '0') + '_' + (this.idAddressDelivery ? this.idAddressDelivery : '0'); + var domIdProductAttribute = this.id + '_' + (this.idCombination ? this.idCombination : '0'); + if ($('#cart_block_product_'+ domIdProduct).length == 0) + { + var productId = parseInt(this.id); + var productAttributeId = (this.hasAttributes ? parseInt(this.attributes) : 0); + var content = '
    '; + content += '' + this.name +''; + var min = this.name.indexOf(';', 10); + var name = (this.name.length > 12 ? this.name.substring(0, ((min - 10) <= 7) ? min : 10) + '...' : this.name); + content += '
    '; + if (this.hasAttributes) + content += ''; + content += '' + this.quantity + 'x '; + if (typeof(freeProductTranslation) != 'undefined') + content += '' + (parseFloat(this.price_float) > 0 ? this.priceByLine : freeProductTranslation) + '
    '; + + if (typeof(this.is_gift) == 'undefined' || this.is_gift == 0) + content += ' '; + else + content += ''; + content += '
    '; + if (this.hasAttributes) + content += '
    '; + if (this.hasCustomizedDatas) + content += ajaxCart.displayNewCustomizedDatas(this); + if (this.hasAttributes) content += '
    '; + + $('#cart_block dl.products').append(content); + } + //else update the product's line + else + { + var jsonProduct = this; + if($.trim($('#cart_block_product_' + domIdProduct + ' .quantity').html()) != jsonProduct.quantity || $.trim($('#cart_block_product_' + domIdProduct + ' .price').html()) != jsonProduct.priceByLine) + { + // Usual product + if (!this.is_gift) + $('#cart_block_product_' + domIdProduct + ' .price').text(jsonProduct.priceByLine); + else + $('#cart_block_product_' + domIdProduct + ' .price').html(freeProductTranslation); + ajaxCart.updateProductQuantity(jsonProduct, jsonProduct.quantity); + + // Customized product + if (jsonProduct.hasCustomizedDatas) + { + customizationFormatedDatas = ajaxCart.displayNewCustomizedDatas(jsonProduct); + if (!$('#customization_' + domIdProductAttribute).length) + { + if (jsonProduct.hasAttributes) + $('#cart_block_combination_of_' + domIdProduct).append(customizationFormatedDatas); + else + $('#cart_block dl.products').append(customizationFormatedDatas); + } + else + { + $('#customization_' + domIdProductAttribute).html(''); + $('#customization_' + domIdProductAttribute).append(customizationFormatedDatas); + } + } + } + } + $('#cart_block dl.products .unvisible').slideDown(450).removeClass('unvisible'); + + var removeLinks = $('#cart_block_product_' + domIdProduct).find('a.ajax_cart_block_remove_link'); + if (this.hasCustomizedDatas && removeLinks.length) + $(removeLinks).each(function() { + $(this).remove(); + }); + } + }); + }, + + displayNewCustomizedDatas : function(product) + { + var content = ''; + var productId = parseInt(product.id); + var productAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination); + var hasAlreadyCustomizations = $('#customization_' + productId + '_' + productAttributeId).length; + + if (!hasAlreadyCustomizations) + { + if (!product.hasAttributes) + content += '
    '; + if ($('#customization_' + productId + '_' + productAttributeId).val() == undefined) + content += '
      '; + } + + $(product.customizedDatas).each(function() + { + var done = 0; + customizationId = parseInt(this.customizationId); + productAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination); + content += '
    • ' + parseInt(this.quantity) + 'x'; + + // Give to the customized product the first textfield value as name + $(this.datas).each(function(){ + if (this['type'] == CUSTOMIZE_TEXTFIELD) + { + $(this.datas).each(function(){ + if (this['index'] == 0) + { + content += ' ' + this.truncatedValue.replace(/
      /g, ' '); + done = 1; + return false; + } + }) + } + }); + + // If the customized product did not have any textfield, it will have the customizationId as name + if (!done) + content += customizationIdMessage + customizationId; + if (!hasAlreadyCustomizations) content += '
    • '; + // Field cleaning + if (customizationId) + { + $('#uploadable_files li div.customizationUploadBrowse img').remove(); + $('#text_fields input').attr('value', ''); + } + }); + + if (!hasAlreadyCustomizations) + { + content += '
    '; + if (!product.hasAttributes) content += '
    '; + } + return (content); + }, + updateLayer : function(product) { + $('#layer_cart_product_title').text(product.name); + $('#layer_cart_product_attributes').text(''); + if (product.hasAttributes && product.hasAttributes == true) + $('#layer_cart_product_attributes').html(product.attributes); + $('#layer_cart_product_price').text(product.price); + $('#layer_cart_product_quantity').text(product.quantity); + $('.layer_cart_img').prop({'src' : product.image, 'alt' : product.name, 'title' : product.name}); + var h = parseInt($(window).height()); + var s = parseInt($(window).scrollTop()); + var t = $('#layer_cart').outerHeight(true); + if (t < h) + var n = parseInt(((h-t) / 2) + s) + 'px'; + $('.layer_cart_overlay').css('width',$('body').width()); + $('.layer_cart_overlay').css('height',$('body').height()); + $('.layer_cart_overlay').show(); + $('#layer_cart').css({'top': n}).fadeIn('fast'); + crossselling_serialScroll(); + }, + + //genarally update the display of the cart + updateCart : function(jsonData) { + //user errors display + if (jsonData.hasError) + { + var errors = ''; + for (error in jsonData.errors) + //IE6 bug fix + if (error != 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + alert(errors); + } + else + { + ajaxCart.updateCartEverywhere(jsonData); + ajaxCart.hideOldProducts(jsonData); + ajaxCart.displayNewProducts(jsonData); + ajaxCart.refreshVouchers(jsonData); + + //update 'first' and 'last' item classes + $('#cart_block .products dt').removeClass('first_item').removeClass('last_item').removeClass('item'); + $('#cart_block .products dt:first').addClass('first_item'); + $('#cart_block .products dt:not(:first,:last)').addClass('item'); + $('#cart_block .products dt:last').addClass('last_item'); + + //reset the onlick events in relation to the cart block (it allow to bind the onclick event to the new 'delete' buttons added) + ajaxCart.overrideButtonsInThePage(); + } + }, + + //update general cart informations everywhere in the page + updateCartEverywhere : function(jsonData) { + $('.ajax_cart_total').text($.trim(jsonData.productTotal)); + + if (parseFloat(jsonData.shippingCostFloat) > 0 || jsonData.nbTotalProducts < 1) + $('.ajax_cart_shipping_cost').text(jsonData.shippingCost); + else if (typeof(freeShippingTranslation) != 'undefined') + $('.ajax_cart_shipping_cost').html(freeShippingTranslation); + $('.ajax_cart_tax_cost').text(jsonData.taxCost); + $('.cart_block_wrapping_cost').text(jsonData.wrappingCost); + $('.ajax_block_cart_total').text(jsonData.total); + $('.ajax_block_products_total').text(jsonData.productTotal); + $('.ajax_total_price_wt').text(jsonData.total_price_wt); + + if (parseFloat(jsonData.freeShippingFloat) > 0) + { + $('.ajax_cart_free_shipping').html(jsonData.freeShipping); + $('.freeshipping').fadeIn(0); + } + else if (parseFloat(jsonData.freeShippingFloat) == 0) + $('.freeshipping').fadeOut(0); + + this.nb_total_products = jsonData.nbTotalProducts; + + if (parseInt(jsonData.nbTotalProducts) > 0) + { + $('.ajax_cart_no_product').hide(); + $('.ajax_cart_quantity').text(jsonData.nbTotalProducts); + $('.ajax_cart_quantity').fadeIn('slow'); + $('.ajax_cart_total').fadeIn('slow'); + + if (parseInt(jsonData.nbTotalProducts) > 1) + { + $('.ajax_cart_product_txt').each( function () { + $(this).hide(); + }); + + $('.ajax_cart_product_txt_s').each( function () { + $(this).show(); + }); + } + else + { + $('.ajax_cart_product_txt').each( function () { + $(this).show(); + }); + + $('.ajax_cart_product_txt_s').each( function () { + $(this).hide(); + }); + } + } + else + { + $('.ajax_cart_quantity, .ajax_cart_product_txt_s, .ajax_cart_product_txt, .ajax_cart_total').each(function(){ + $(this).hide(); + }); + $('.ajax_cart_no_product').show('slow'); + } + } +}; + +$(document).ready(function() +{ + $('#block_cart_collapse').click(function(){ + ajaxCart.collapse(); + }); + $('#block_cart_expand').click(function(){ + ajaxCart.expand(); + }); + ajaxCart.overrideButtonsInThePage(); + + var cart_qty = 0; + var current_timestamp = parseInt(new Date().getTime() / 1000); + + if (typeof $('.ajax_cart_quantity').html() == 'undefined' || (typeof generated_date != 'undefined' && generated_date != null && (parseInt(generated_date) + 30) < current_timestamp)) + ajaxCart.refresh(); + else + cart_qty = parseInt($('.ajax_cart_quantity').html()); + + /* roll over cart */ + var cart_block = new HoverWatcher('#cart_block'); + var shopping_cart = new HoverWatcher('#shopping_cart'); + + $("#shopping_cart a:first").hover( + function() { + if (ajaxCart.nb_total_products > 0 || cart_qty > 0) + $("#header_right #cart_block").stop(true, true).slideDown(450); + }, + function() { + setTimeout(function() { + if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver()) + $("#header_right #cart_block").stop(true, true).slideUp(450); + }, 200); + } + ); + + $("#header_right #cart_block").hover( + function() { + }, + function() { + setTimeout(function() { + if (!shopping_cart.isHoveringOver()) + $("#header_right #cart_block").stop(true, true).slideUp(450); + }, 200); + } + ); + + $('.delete_voucher').live('click', function() { + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + async: true, + cache: false, + url:$(this).attr('href') + '?rand=' + new Date().getTime() + }); + $(this).parent().parent().remove(); + if ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc') + { + if (typeof(updateAddressSelection) != 'undefined') + updateAddressSelection(); + else + location.reload(); + } + return false; + }); + + $('#cart_navigation input').click(function(){ + $(this).attr('disabled', true).removeClass('exclusive').addClass('exclusive_disabled'); + $(this).closest("form").get(0).submit(); + }); + + $('#layer_cart .cross, #layer_cart .continue, .layer_cart_overlay').click(function(){ + $('.layer_cart_overlay').hide(); $('#layer_cart').fadeOut('fast'); return false; + }); +}); + +function HoverWatcher(selector){ + this.hovering = false; + var self = this; + + this.isHoveringOver = function() { + return self.hovering; + } + + $(selector).hover(function() { + self.hovering = true; + }, function() { + self.hovering = false; + }) +} + +function crossselling_serialScrollFixLock(event, targeted, scrolled, items, position) +{ + serialScrollNbImages = $('#blockcart_list li:visible').length; + serialScrollNbImagesDisplayed = 4; + + var leftArrow = position == 0 ? true : false; + var rightArrow = position + serialScrollNbImagesDisplayed >= serialScrollNbImages ? true : false; + + $('#blockcart_scroll_left').css('cursor', leftArrow ? 'default' : 'pointer').css('display', leftArrow ? 'none' : 'block').fadeTo(0, leftArrow ? 0 : 1); + $('#blockcart_scroll_right').css('cursor', rightArrow ? 'default' : 'pointer').fadeTo(0, rightArrow ? 0 : 1).css('display', rightArrow ? 'none' : 'block'); + return true; +} + +function crossselling_serialScroll() +{ + $('#blockcart_list').serialScroll({ + items:'li:visible', + prev:'#blockcart_scroll_left', + next:'#blockcart_scroll_right', + axis:'x', + offset:0, + start:0, + stop:true, + onBefore:crossselling_serialScrollFixLock, + duration:300, + step: 1, + lazy: true, + lock: false, + force:false + }); + $('#blockcart_list').trigger('goto', 0); +} \ No newline at end of file diff --git a/themes/default-bootstrap/js/modules/blocklayered/blocklayered.js b/themes/default-bootstrap/js/modules/blocklayered/blocklayered.js new file mode 100644 index 000000000..d7ca560ef --- /dev/null +++ b/themes/default-bootstrap/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().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-bootstrap/js/modules/blocktopmenu/js/hoverIntent.js b/themes/default-bootstrap/js/modules/blocktopmenu/js/hoverIntent.js new file mode 100644 index 000000000..91da57b24 --- /dev/null +++ b/themes/default-bootstrap/js/modules/blocktopmenu/js/hoverIntent.js @@ -0,0 +1,84 @@ +(function($){ + /* hoverIntent by Brian Cherne */ + $.fn.hoverIntent = function(f,g) { + // default configuration options + var cfg = { + sensitivity: 7, + interval: 100, + timeout: 0 + }; + // override configuration options with user supplied object + cfg = $.extend(cfg, g ? { over: f, out: g } : f ); + + // instantiate variables + // cX, cY = current X and Y position of mouse, updated by mousemove event + // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval + var cX, cY, pX, pY; + + // A private function for getting mouse position + var track = function(ev) { + cX = ev.pageX; + cY = ev.pageY; + }; + + // A private function for comparing current and previous mouse position + var compare = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + // compare mouse positions to see if they've crossed the threshold + if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { + $(ob).unbind("mousemove",track); + // set hoverIntent state to true (so mouseOut can be called) + ob.hoverIntent_s = 1; + return cfg.over.apply(ob,[ev]); + } else { + // set previous coordinates for next time + pX = cX; pY = cY; + // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) + ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); + } + }; + + // A private function for delaying the mouseOut function + var delay = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + ob.hoverIntent_s = 0; + return cfg.out.apply(ob,[ev]); + }; + + // A private function for handling mouse 'hovering' + var handleHover = function(e) { + // next three lines copied from jQuery.hover, ignore children onMouseOver/onMouseOut + var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget; + while ( p && p != this ) { try { p = p.parentNode; } catch(e) { p = this; } } + if ( p == this ) { return false; } + + // copy objects to be passed into t (required for event object to be passed in IE) + var ev = jQuery.extend({},e); + var ob = this; + + // cancel hoverIntent timer if it exists + if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } + + // else e.type == "onmouseover" + if (e.type == "mouseover") { + // set "previous" X and Y position based on initial entry point + pX = ev.pageX; pY = ev.pageY; + // update "current" X and Y position based on mousemove + $(ob).bind("mousemove",track); + // start polling interval (self-calling timeout) to compare mouse coordinates over time + if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} + + // else e.type == "onmouseout" + } else { + // unbind expensive mousemove event + $(ob).unbind("mousemove",track); + // if hoverIntent state is true, then call the mouseOut function after the specified delay + if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} + } + }; + + // bind the function to the two event listeners + return this.mouseover(handleHover).mouseout(handleHover); + }; + +})(jQuery); \ No newline at end of file diff --git a/themes/default-bootstrap/js/modules/blocktopmenu/js/superfish-modified.js b/themes/default-bootstrap/js/modules/blocktopmenu/js/superfish-modified.js new file mode 100644 index 000000000..d0dfb5090 --- /dev/null +++ b/themes/default-bootstrap/js/modules/blocktopmenu/js/superfish-modified.js @@ -0,0 +1,124 @@ + +/* + * Superfish v1.4.8 - jQuery menu widget + * Copyright (c) 2008 Joel Birch + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt + */ + +;(function($){ + $.fn.superfish = function(op){ + + var sf = $.fn.superfish, + c = sf.c, + $arrow = $([' »'].join('')), + over = function(){ + var $$ = $(this), menu = getMenu($$); + clearTimeout(menu.sfTimer); + $$.showSuperfishUl().siblings().hideSuperfishUl(); + }, + out = function(){ + var $$ = $(this), menu = getMenu($$), o = sf.op; + clearTimeout(menu.sfTimer); + menu.sfTimer=setTimeout(function(){ + o.retainPath=($.inArray($$[0],o.$path)>-1); + $$.hideSuperfishUl(); + if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);} + },o.delay); + }, + getMenu = function($menu){ + var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0]; + sf.op = sf.o[menu.serial]; + return menu; + }, + addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); }; + + return this.each(function() { + var s = this.serial = sf.o.length; + var o = $.extend({},sf.defaults,op); + o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){ + $(this).addClass([o.hoverClass,c.bcClass].join(' ')) + .filter('li:has(ul)').removeClass(o.pathClass); + }); + sf.o[s] = sf.op = o; + + $('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() { + if (o.autoArrows) addArrow( $('>a:first-child',this) ); + }) + .not('.'+c.bcClass) + .hideSuperfishUl(); + + var $a = $('a',this); + $a.each(function(i){ + var $li = $a.eq(i).parents('li'); + $a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);}); + }); + o.onInit.call(this); + + }).each(function() { + menuClasses = [c.menuClass]; + if (sf.op.dropShadows && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass); + $(this).addClass(menuClasses.join(' ')); + }); + }; + + var sf = $.fn.superfish; + sf.o = []; + sf.op = {}; + sf.IE7fix = function(){ + var o = sf.op; + if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined) + this.toggleClass(sf.c.shadowClass+'-off'); + }; + sf.c = { + bcClass : 'sf-breadcrumb', + menuClass : 'sf-js-enabled', + anchorClass : 'sf-with-ul', + arrowClass : 'sf-sub-indicator', + shadowClass : 'sf-shadow' + }; + sf.defaults = { + hoverClass : 'sfHover', + pathClass : 'overideThisToUse', + pathLevels : 1, + delay : 800, + animation : {opacity:'show'}, + speed : 'fast', + autoArrows : false, + dropShadows : false, + disableHI : false, // true disables hoverIntent detection + onInit : function(){}, // callback functions + onBeforeShow: function(){}, + onShow : function(){}, + onHide : function(){} + }; + $.fn.extend({ + hideSuperfishUl : function(){ + var o = sf.op, + not = (o.retainPath===true) ? o.$path : ''; + o.retainPath = false; + var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass) + .find('>ul').hide().css('visibility','hidden'); + o.onHide.call($ul); + return this; + }, + showSuperfishUl : function(){ + var o = sf.op, + sh = sf.c.shadowClass+'-off', + $ul = this.addClass(o.hoverClass) + .find('>ul:hidden').css('visibility','visible'); + sf.IE7fix.call($ul); + o.onBeforeShow.call($ul); + $ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); }); + return this; + } + }); + +})(jQuery); +jQuery(function(){ + jQuery('ul.sf-menu').superfish(); +}); \ No newline at end of file diff --git a/themes/default-bootstrap/js/modules/blockwishlist/js/ajax-wishlist.js b/themes/default-bootstrap/js/modules/blockwishlist/js/ajax-wishlist.js new file mode 100644 index 000000000..1b11ab291 --- /dev/null +++ b/themes/default-bootstrap/js/modules/blockwishlist/js/ajax-wishlist.js @@ -0,0 +1,246 @@ +/* +* 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 +*/ + +/** + * Update WishList Cart by adding, deleting, updating objects + * + * @return void + */ +function WishlistCart(id, action, id_product, id_product_attribute, quantity) +{ + $.ajax({ + type: 'GET', + url: baseDir + 'modules/blockwishlist/cart.php', + async: true, + cache: false, + data: 'action=' + action + '&id_product=' + id_product + '&quantity=' + quantity + '&token=' + static_token + '&id_product_attribute=' + id_product_attribute, + success: function(data) + { + if (action == 'add') + { + if (isLoggedWishlist == true) { + alert ('Adedd to wishlist') + } + else { + alert ('You must be logged in to manage your wishlist.') + } + } + + if($('#' + id).length != 0) + { + $('#' + id).slideUp('normal'); + document.getElementById(id).innerHTML = data; + $('#' + id).slideDown('normal'); + } + } + }); +} + +/** + * Change customer default wishlist + * + * @return void + */ +function WishlistChangeDefault(id, id_wishlist) +{ + $.ajax({ + type: 'GET', + url: baseDir + 'modules/blockwishlist/cart.php', + async: true, + data: 'id_wishlist=' + id_wishlist + '&token=' + static_token, + cache: false, + success: function(data) + { + $('#' + id).slideUp('normal'); + document.getElementById(id).innerHTML = data; + $('#' + id).slideDown('normal'); + } + }); +} + +/** + * Buy Product + * + * @return void + */ +function WishlistBuyProduct(token, id_product, id_product_attribute, id_quantity, button, ajax) +{ + if(ajax) + ajaxCart.add(id_product, id_product_attribute, false, button, 1, [token, id_quantity]); + else + { + $('#' + id_quantity).val(0); + WishlistAddProductCart(token, id_product, id_product_attribute, id_quantity) + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].method='POST'; + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].action=baseUri + '?controller=cart'; + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].elements['token'].value = static_token; + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].submit(); + } + return (true); +} + +function WishlistAddProductCart(token, id_product, id_product_attribute, id_quantity) +{ + if ($('#' + id_quantity).val() <= 0) + return (false); + $.ajax({ + type: 'GET', + url: baseDir + 'modules/blockwishlist/buywishlistproduct.php', + data: 'token=' + token + '&static_token=' + static_token + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute, + async: true, + cache: false, + success: function(data) + { + if (data) + alert(data); + else + { + $('#' + id_quantity).val($('#' + id_quantity).val() - 1); + } + } + }); + return (true); +} + +/** + * Show wishlist managment page + * + * @return void + */ +function WishlistManage(id, id_wishlist) +{ + $.ajax({ + type: 'GET', + async: true, + url: baseDir + 'modules/blockwishlist/managewishlist.php', + data: 'id_wishlist=' + id_wishlist + '&refresh=' + false, + cache: false, + success: function(data) + { + $('#' + id).hide(); + document.getElementById(id).innerHTML = data; + $('#' + id).fadeIn('slow'); + } + }); +} + +/** + * Show wishlist product managment page + * + * @return void + */ +function WishlistProductManage(id, action, id_wishlist, id_product, id_product_attribute, quantity, priority) +{ + $.ajax({ + type: 'GET', + async: true, + url: baseDir + 'modules/blockwishlist/managewishlist.php', + data: 'action=' + action + '&id_wishlist=' + id_wishlist + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute + '&quantity=' + quantity + '&priority=' + priority + '&refresh=' + true, + cache: false, + success: function(data) + { + if (action == 'delete') + $('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast'); + else if (action == 'update') + { + $('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast'); + $('#wlp_' + id_product + '_' + id_product_attribute).fadeIn('fast'); + } + } + }); +} + +/** + * Delete wishlist + * + * @return boolean succeed + */ +function WishlistDelete(id, id_wishlist, msg) +{ + var res = confirm(msg); + if (res == false) + return (false); + $.ajax({ + type: 'GET', + async: true, + url: baseDir + 'modules/blockwishlist/mywishlist.php', + cache: false, + data: 'deleted&id_wishlist=' + id_wishlist, + success: function(data) + { + $('#' + id).fadeOut('slow'); + } + }); +} + +/** + * Hide/Show bought product + * + * @return void + */ +function WishlistVisibility(bought_class, id_button) +{ + if ($('#hide' + id_button).css('display') == 'none') + { + $('.' + bought_class).slideDown('fast'); + $('#show' + id_button).hide(); + $('#hide' + id_button).css('display', 'block'); + } + else + { + $('.' + bought_class).slideUp('fast'); + $('#hide' + id_button).hide(); + $('#show' + id_button).css('display', 'block'); + } +} + +/** + * Send wishlist by email + * + * @return void + */ +function WishlistSend(id, id_wishlist, id_email) +{ + $.post(baseDir + 'modules/blockwishlist/sendwishlist.php', + { token: static_token, + id_wishlist: id_wishlist, + email1: $('#' + id_email + '1').val(), + email2: $('#' + id_email + '2').val(), + email3: $('#' + id_email + '3').val(), + email4: $('#' + id_email + '4').val(), + email5: $('#' + id_email + '5').val(), + email6: $('#' + id_email + '6').val(), + email7: $('#' + id_email + '7').val(), + email8: $('#' + id_email + '8').val(), + email9: $('#' + id_email + '9').val(), + email10: $('#' + id_email + '10').val() }, + function(data) + { + if (data) + alert(data); + else + WishlistVisibility(id, 'hideSendWishlist'); + }); +} diff --git a/themes/default-bootstrap/js/modules/carriercompare/carriercompare.js b/themes/default-bootstrap/js/modules/carriercompare/carriercompare.js new file mode 100644 index 000000000..24ada3d23 --- /dev/null +++ b/themes/default-bootstrap/js/modules/carriercompare/carriercompare.js @@ -0,0 +1,194 @@ +/* +* 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_SE_HandleEvent() +{ + $(document).ready(function() { + $('#id_country').change(function() { + resetAjaxQueries(); + updateStateByIdCountry(); + }); + + if (SE_RefreshMethod == 0) + { + $('#id_state').change(function() { + resetAjaxQueries(); + updateCarriersList(); + }); + + $('#zipcode').bind('keyup',function(e) { + if (e.keyCode == '13') + { + resetAjaxQueries(); + updateCarriersList(); + } + }); + } + + $('#update_carriers_list').click(function() { + updateCarriersList(); + }); + + $('#carriercompare_submit').click(function() { + resetAjaxQueries(); + saveSelection(); + return false; + }); + + updateStateByIdCountry(); + }); +} + +function displayWaitingAjax(type, message) +{ + $('#SE_AjaxDisplay').find('p').html(message); + $('#SE_AjaxDisplay').css('display', type); +} + +function updateStateByIdCountry() +{ + $('#id_state').children().remove(); + $('#availableCarriers').slideUp('fast'); + $('#states').slideUp('fast'); + displayWaitingAjax('block', SE_RefreshStateTS); + + var query = $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + 'modules/carriercompare/ajax.php' + '?rand=' + new Date().getTime(), + data: 'method=getStates&id_country=' + $('#id_country').val(), + dataType: 'json', + success: function(json) { + if (json.length) + { + for (state in json) + { + $('#id_state').append(''); + } + $('#states').slideDown('fast'); + } + if (SE_RefreshMethod == 0) + updateCarriersList(); + displayWaitingAjax('none', ''); + } + }); + ajaxQueries.push(query); +} + +function updateCarriersList() +{ + $('#carriercompare_errors_list').children().remove(); + $('#availableCarriers').slideUp('normal', function(){ + $(this).find(('tbody')).children().remove(); + $('#noCarrier').slideUp('fast'); + displayWaitingAjax('block', SE_RetrievingInfoTS); + + var query = $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + 'modules/carriercompare/ajax.php' + '?rand=' + new Date().getTime(), + data: 'method=getCarriers&id_country=' + $('#id_country').val() + '&id_state=' + $('#id_state').val() + '&zipcode=' + $('#zipcode').val(), + dataType: 'json', + success: function(json) { + if (json.length) + { + for (carrier in json) + { + var html = ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+((json[carrier].delay != null) ? json[carrier].delay : '') +''+ + ''; + + if (json[carrier].price) + { + html += ''+(displayPrice == 1 ? formatCurrency(json[carrier].price_tax_exc, currencyFormat, currencySign, currencyBlank) : formatCurrency(json[carrier].price, currencyFormat, currencySign, currencyBlank))+''; + } + else + { + html += txtFree; + } + html += ''+ + ''; + $('#carriers_list').append(html); + } + displayWaitingAjax('none', ''); + $('#availableCarriers').slideDown(); + } + else + { + displayWaitingAjax('none', ''); + $('#noCarrier').slideDown(); + } + } + }); + ajaxQueries.push(query); + }); +} + +function saveSelection() +{ + $('#carriercompare_errors').slideUp(); + $('#carriercompare_errors_list').children().remove(); + displayWaitingAjax('block', SE_RedirectTS); + + var query = $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + 'modules/carriercompare/ajax.php' + '?rand=' + new Date().getTime(), + data: 'method=saveSelection&' + $('#compare_shipping_form').serialize(), + dataType: 'json', + success: function(json) { + if (json.length) + { + for (error in json) + $('#carriercompare_errors_list').append('
  • '+json[error]+'
  • '); + $('#carriercompare_errors').slideDown(); + displayWaitingAjax('none', ''); + } + else + { + $('.SE_SubmitRefreshCard').fadeOut('fast'); + location.reload(true); + } + } + }); + ajaxQueries.push(query); + return false; +} + +var ajaxQueries = new Array(); +function resetAjaxQueries() +{ + for (i = 0; i < ajaxQueries.length; ++i) + ajaxQueries[i].abort(); + ajaxQueries = new Array(); +} \ No newline at end of file diff --git a/themes/default-bootstrap/js/modules/homefeatured/js/homefeatured.js b/themes/default-bootstrap/js/modules/homefeatured/js/homefeatured.js new file mode 100644 index 000000000..e69de29bb diff --git a/themes/default-bootstrap/js/modules/homeslider/js/homeslider.js b/themes/default-bootstrap/js/modules/homeslider/js/homeslider.js new file mode 100644 index 000000000..41eef5b48 --- /dev/null +++ b/themes/default-bootstrap/js/modules/homeslider/js/homeslider.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 +* @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 +*/ + +$(function(){ + + if (typeof(homeslider_speed) == 'undefined') + homeslider_speed = 500; + if (typeof(homeslider_pause) == 'undefined') + homeslider_pause = 3000; + if (typeof(homeslider_loop) == 'undefined') + homeslider_loop = true; + + $('#homeslider').bxSlider(); +}); \ No newline at end of file diff --git a/themes/default-bootstrap/js/modules/homeslider/js/jquery.bxSlider.min.js b/themes/default-bootstrap/js/modules/homeslider/js/jquery.bxSlider.min.js new file mode 100644 index 000000000..9b7fb4e6e --- /dev/null +++ b/themes/default-bootstrap/js/modules/homeslider/js/jquery.bxSlider.min.js @@ -0,0 +1,10 @@ +/** + * BxSlider v4.1.1 - Fully loaded, responsive content slider + * http://bxslider.com + * + * Copyright 2013, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com + * Written while drinking Belgian ales and listening to jazz + * + * Released under the MIT license - http://opensource.org/licenses/MIT + */ +!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('
    '),o.viewport=r.parent(),o.loader=t('
    '),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:v()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:50,display:"block"})),o.controls.el=t('
    '),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(p()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",B),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&I(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},p=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},v=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e0)if(o.viewport.width()o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('
    '),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.delegate("a","click",q)},C=function(){o.controls.next=t(''+o.settings.nextText+""),o.controls.prev=t(''+o.settings.prevText+""),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('
    '),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('"),o.controls.stop=t('"),o.controls.autoEl=t('
    '),o.controls.autoEl.delegate(".bx-start","click",k),o.controls.autoEl.delegate(".bx-stop","click",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('
    '+e+"
    ")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},q=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},I=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),"horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0)}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},B=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider())};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&I(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",51).fadeIn(o.settings.speed,function(){t(this).css("zIndex",50),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",p()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),I(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",B))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery); \ No newline at end of file diff --git a/themes/default-bootstrap/js/modules/index.php b/themes/default-bootstrap/js/modules/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/js/order-address.js b/themes/default-bootstrap/js/order-address.js new file mode 100644 index 000000000..b8a1e4f06 --- /dev/null +++ b/themes/default-bootstrap/js/order-address.js @@ -0,0 +1,131 @@ +/* +* 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); +}); + +//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); + } +} + +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); + } + }); +} \ No newline at end of file diff --git a/themes/default-bootstrap/js/order-opc.js b/themes/default-bootstrap/js/order-opc.js new file mode 100644 index 000000000..7e16dd46d --- /dev/null +++ b/themes/default-bootstrap/js/order-opc.js @@ -0,0 +1,869 @@ +/* +* 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').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_delivery, .address_delivery').parent().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-bootstrap/js/product.js b/themes/default-bootstrap/js/product.js new file mode 100644 index 000000000..f336069fe --- /dev/null +++ b/themes/default-bootstrap/js/product.js @@ -0,0 +1,728 @@ +/* +* 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 +*/ + + +//global variables +var combinations = []; +var selectedCombination = []; +var globalQuantity = 0; +var colors = []; + +//check if a function exists +function function_exists(function_name) +{ + if (typeof function_name == 'string') + return (typeof window[function_name] == 'function'); + return (function_name instanceof Function); +} + +//execute oosHook js code +function oosHookJsCode() +{ + for (var i = 0; i < oosHookJsCodeFunctions.length; i++) + { + if (function_exists(oosHookJsCodeFunctions[i])) + setTimeout(oosHookJsCodeFunctions[i] + '()', 0); + } +} + +//add a combination of attributes in the global JS sytem +function addCombination(idCombination, arrayOfIdAttributes, quantity, price, ecotax, id_image, reference, unit_price, minimal_quantity, available_date, combination_specific_price) +{ + globalQuantity += quantity; + + var combination = []; + combination['idCombination'] = idCombination; + combination['quantity'] = quantity; + combination['idsAttributes'] = arrayOfIdAttributes; + combination['price'] = price; + combination['ecotax'] = ecotax; + combination['image'] = id_image; + combination['reference'] = reference; + combination['unit_price'] = unit_price; + combination['minimal_quantity'] = minimal_quantity; + combination['available_date'] = []; + combination['available_date'] = available_date; + combination['specific_price'] = []; + combination['specific_price'] = combination_specific_price; + combinations.push(combination); +} + +// search the combinations' case of attributes and update displaying of availability, prices, ecotax, and image +function findCombination(firstTime) +{ + $('#minimal_quantity_wanted_p').fadeOut(); + $('#quantity_wanted').val(1); + //create a temporary 'choice' array containing the choices of the customer + var choice = []; + $('#attributes select, #attributes input[type=hidden], #attributes input[type=radio]:checked').each(function(){ + choice.push($(this).val()); + }); + + //testing every combination to find the conbination's attributes' case of the user + for (var combination = 0; combination < combinations.length; ++combination) + { + //verify if this combinaison is the same that the user's choice + var combinationMatchForm = true; + $.each(combinations[combination]['idsAttributes'], function(key, value) + { + if (!in_array(value, choice)) + combinationMatchForm = false; + }); + + if (combinationMatchForm) + { + if (combinations[combination]['minimal_quantity'] > 1) + { + $('#minimal_quantity_label').html(combinations[combination]['minimal_quantity']); + $('#minimal_quantity_wanted_p').fadeIn(); + $('#quantity_wanted').val(combinations[combination]['minimal_quantity']); + $('#quantity_wanted').bind('keyup', function() {checkMinimalQuantity(combinations[combination]['minimal_quantity']);}); + } + //combination of the user has been found in our specifications of combinations (created in back office) + selectedCombination['unavailable'] = false; + selectedCombination['reference'] = combinations[combination]['reference']; + $('#idCombination').val(combinations[combination]['idCombination']); + + //get the data of product with these attributes + quantityAvailable = combinations[combination]['quantity']; + selectedCombination['price'] = combinations[combination]['price']; + selectedCombination['unit_price'] = combinations[combination]['unit_price']; + selectedCombination['specific_price'] = combinations[combination]['specific_price']; + if (combinations[combination]['ecotax']) + selectedCombination['ecotax'] = combinations[combination]['ecotax']; + else + selectedCombination['ecotax'] = default_eco_tax; + + //show the large image in relation to the selected combination + if (combinations[combination]['image'] && combinations[combination]['image'] != -1) + displayImage($('#thumb_' + combinations[combination]['image']).parent()); + + //show discounts values according to the selected combination + if (combinations[combination]['idCombination'] && combinations[combination]['idCombination'] > 0) + displayDiscounts(combinations[combination]['idCombination']); + + //get available_date for combination product + selectedCombination['available_date'] = combinations[combination]['available_date']; + + //update the display + updateDisplay(); + + if(typeof(firstTime) != 'undefined' && firstTime) + refreshProductImages(0); + else + refreshProductImages(combinations[combination]['idCombination']); + //leave the function because combination has been found + return; + } + } + //this combination doesn't exist (not created in back office) + selectedCombination['unavailable'] = true; + if (typeof(selectedCombination['available_date']) != 'undefined') + delete selectedCombination['available_date']; + updateDisplay(); +} + +//update display of the availability of the product AND the prices of the product +function updateDisplay() +{ + var productPriceDisplay = productPrice; + var productPriceWithoutReductionDisplay = productPriceWithoutReduction; + + if (!selectedCombination['unavailable'] && quantityAvailable > 0 && productAvailableForOrder == 1) + { + //show the choice of quantities + $('#quantity_wanted_p:hidden').show('slow'); + + //show the "add to cart" button ONLY if it was hidden + $('#add_to_cart:hidden').fadeIn(600); + + //hide the hook out of stock + $('#oosHook').hide(); + + $('#availability_date').fadeOut(); + + //availability value management + if (availableNowValue != '') + { + //update the availability statut of the product + $('#availability_value').removeClass('warning_inline'); + $('#availability_value').text(availableNowValue); + if(stock_management == 1) + $('#availability_statut:hidden').show(); + } + else + $('#availability_statut:visible').hide(); + + //'last quantities' message management + if (!allowBuyWhenOutOfStock) + { + if (quantityAvailable <= maxQuantityToAllowDisplayOfLastQuantityMessage) + $('#last_quantities').show('slow'); + else + $('#last_quantities').hide('slow'); + } + + if (quantitiesDisplayAllowed) + { + $('#pQuantityAvailable:hidden').show('slow'); + $('#quantityAvailable').text(quantityAvailable); + + if (quantityAvailable < 2) // we have 1 or less product in stock and need to show "item" instead of "items" + { + $('#quantityAvailableTxt').show(); + $('#quantityAvailableTxtMultiple').hide(); + } + else + { + $('#quantityAvailableTxt').hide(); + $('#quantityAvailableTxtMultiple').show(); + } + } + } + else + { + //show the hook out of stock + if (productAvailableForOrder == 1) + { + $('#oosHook').show(); + if ($('#oosHook').length > 0 && function_exists('oosHookJsCode')) + oosHookJsCode(); + } + + //hide 'last quantities' message if it was previously visible + $('#last_quantities:visible').hide('slow'); + + //hide the quantity of pieces if it was previously visible + $('#pQuantityAvailable:visible').hide('slow'); + + //hide the choice of quantities + if (!allowBuyWhenOutOfStock) + $('#quantity_wanted_p:visible').hide('slow'); + + //display that the product is unavailable with theses attributes + if (!selectedCombination['unavailable']) + $('#availability_value').text(doesntExistNoMore + (globalQuantity > 0 ? ' ' + doesntExistNoMoreBut : '')).addClass('warning_inline'); + else + { + $('#availability_value').text(doesntExist).addClass('warning_inline'); + $('#oosHook').hide(); + } + if(stock_management == 1 && !allowBuyWhenOutOfStock) + $('#availability_statut:hidden').show(); + + if (typeof(selectedCombination['available_date']) != 'undefined' && selectedCombination['available_date']['date'].length != 0) + { + var available_date = selectedCombination['available_date']['date']; + var tab_date = available_date.split('-'); + var time_available = new Date(tab_date[0], tab_date[1], tab_date[2]); + time_available.setMonth(time_available.getMonth()-1); + var now = new Date(); + if (now.getTime() < time_available.getTime() && $('#availability_date_value').text() != selectedCombination['available_date']['date_formatted']) + { + $('#availability_date').fadeOut('normal', function(){ + $('#availability_date_value').text(selectedCombination['available_date']['date_formatted']); + $(this).fadeIn(); + }); + } + else if(now.getTime() < time_available.getTime()) + $('#availability_date').fadeIn(); + } + else + $('#availability_date').fadeOut(); + + //show the 'add to cart' button ONLY IF it's possible to buy when out of stock AND if it was previously invisible + if (allowBuyWhenOutOfStock && !selectedCombination['unavailable'] && productAvailableForOrder == 1) + { + $('#add_to_cart:hidden').fadeIn(600); + + if (availableLaterValue != '') + { + $('#availability_value').text(availableLaterValue); + if(stock_management == 1) + $('#availability_statut:hidden').show('slow'); + } + else + $('#availability_statut:visible').hide('slow'); + } + else + { + $('#add_to_cart:visible').fadeOut(600); + if(stock_management == 1) + $('#availability_statut:hidden').show('slow'); + } + + if (productAvailableForOrder == 0) + $('#availability_statut:visible').hide(); + } + + if (selectedCombination['reference'] || productReference) + { + if (selectedCombination['reference']) + $('#product_reference span').text(selectedCombination['reference']); + else if (productReference) + $('#product_reference span').text(productReference); + $('#product_reference:hidden').show('slow'); + } + else + $('#product_reference:visible').hide('slow'); + + //update display of the the prices in relation to tax, discount, ecotax, and currency criteria + if (!selectedCombination['unavailable'] && productShowPrice == 1) + { + var priceTaxExclWithoutGroupReduction = ''; + + // retrieve price without group_reduction in order to compute the group reduction after + // the specific price discount (done in the JS in order to keep backward compatibility) + priceTaxExclWithoutGroupReduction = ps_round(productPriceTaxExcluded, 6) * (1 / group_reduction); + + var tax = (taxRate / 100) + 1; + var taxExclPrice = priceTaxExclWithoutGroupReduction + (selectedCombination['price'] * currencyRate); + + if (selectedCombination.specific_price && selectedCombination.specific_price['id_product_attribute']) + { + if (selectedCombination.specific_price['price'] && selectedCombination.specific_price['price'] >=0) + var taxExclPrice = (specific_currency ? selectedCombination.specific_price['price'] : selectedCombination.specific_price['price'] * currencyRate); + else + var taxExclPrice = productBasePriceTaxExcluded * currencyRate + (selectedCombination['price'] * currencyRate); + } + else if (product_specific_price.price && product_specific_price.price >= 0) + var taxExclPrice = (specific_currency ? product_specific_price.price : product_specific_price.price * currencyRate) + (selectedCombination['price'] * currencyRate); + + if (!displayPrice && !noTaxForThisProduct) + productPriceDisplay = ps_round(taxExclPrice * tax, 2); // Need to be global => no var + else + productPriceDisplay = ps_round(taxExclPrice, 2); // Need to be global => no var + + productPriceWithoutReductionDisplay = productPriceDisplay * group_reduction; + var reduction = 0; + if (selectedCombination['specific_price'].reduction_price || selectedCombination['specific_price'].reduction_percent) + { + reduction_price = (specific_currency ? selectedCombination['specific_price'].reduction_price : selectedCombination['specific_price'].reduction_price * currencyRate); + reduction = productPriceDisplay * (parseFloat(selectedCombination['specific_price'].reduction_percent) / 100) + reduction_price; + if (reduction_price && (displayPrice || noTaxForThisProduct)) + reduction = ps_round(reduction / tax, 6); + + } + else if (product_specific_price && product_specific_price.reduction && !selectedCombination.specific_price) + { + if (product_specific_price.reduction_type == 'amount') + reduction_price = (specific_currency ? product_specific_price.reduction : product_specific_price.reduction * currencyRate); + else + reduction_price = 0; + + if (product_specific_price.reduction_type == 'percentage') + reduction_percent = productPriceDisplay * parseFloat(product_specific_price.reduction); + + reduction = reduction_price + reduction_percent; + if (reduction_price && (displayPrice || noTaxForThisProduct)) + reduction = ps_round(reduction / tax, 6); + } + + if (selectedCombination.specific_price) + { + if (selectedCombination['specific_price'] && selectedCombination['specific_price'].reduction_type == 'percentage') + { + $('#reduction_amount').hide(); + $('#reduction_percent_display').html('-' + parseFloat(selectedCombination['specific_price'].reduction_percent) + '%'); + $('#reduction_percent').show(); + } else if (selectedCombination['specific_price'].reduction_type == 'amount' && selectedCombination['specific_price'].reduction_price != 0) { + $('#reduction_amount_display').html('-' + formatCurrency(reduction_price, currencyFormat, currencySign, currencyBlank)); + $('#reduction_percent').hide(); + $('#reduction_amount').show(); + } else { + $('#reduction_percent').hide(); + $('#reduction_amount').hide(); + } + } + + if (product_specific_price['reduction_type'] != '' || selectedCombination['specific_price'].reduction_type != '') + $('#discount_reduced_price,#old_price').show(); + else + $('#discount_reduced_price,#old_price').hide(); + if ((product_specific_price['reduction_type'] == 'percentage' && selectedCombination['specific_price'].reduction_type == 'percentage') || selectedCombination['specific_price'].reduction_type == 'percentage') + $('#reduction_percent').show(); + else + $('#reduction_percent').hide(); + if (product_specific_price['price'] || (selectedCombination.specific_price && selectedCombination.specific_price['price'])) + $('#not_impacted_by_discount').show(); + else + $('#not_impacted_by_discount').hide(); + + productPriceDisplay -= reduction; + productPriceDisplay = ps_round(productPriceDisplay * group_reduction, 2); + + var ecotaxAmount = !displayPrice ? ps_round(selectedCombination['ecotax'] * (1 + ecotaxTax_rate / 100), 2) : selectedCombination['ecotax']; + productPriceDisplay += ecotaxAmount; + productPriceWithoutReductionDisplay += ecotaxAmount; + + var our_price = ''; + if (productPriceDisplay > 0) { + our_price = formatCurrency(productPriceDisplay, currencyFormat, currencySign, currencyBlank); + } else { + our_price = formatCurrency(0, currencyFormat, currencySign, currencyBlank); + } + $('#our_price_display').text(our_price); + $('#old_price_display').text(formatCurrency(productPriceWithoutReductionDisplay, currencyFormat, currencySign, currencyBlank)); + + if (productPriceWithoutReductionDisplay > productPriceDisplay) + $('#old_price,#old_price_display,#old_price_display_taxes').show(); + else + $('#old_price,#old_price_display,#old_price_display_taxes').hide(); + // Special feature: "Display product price tax excluded on product page" + var productPricePretaxed = ''; + if (!noTaxForThisProduct) + productPricePretaxed = productPriceDisplay / tax; + else + productPricePretaxed = productPriceDisplay; + $('#pretaxe_price_display').text(formatCurrency(productPricePretaxed, currencyFormat, currencySign, currencyBlank)); + // Unit price + productUnitPriceRatio = parseFloat(productUnitPriceRatio); + if (productUnitPriceRatio > 0 ) + { + newUnitPrice = (productPriceDisplay / parseFloat(productUnitPriceRatio)) + selectedCombination['unit_price']; + $('#unit_price_display').text(formatCurrency(newUnitPrice, currencyFormat, currencySign, currencyBlank)); + } + + // Ecotax + ecotaxAmount = !displayPrice ? ps_round(selectedCombination['ecotax'] * (1 + ecotaxTax_rate / 100), 2) : selectedCombination['ecotax']; + $('#ecotax_price_display').text(formatCurrency(ecotaxAmount, currencyFormat, currencySign, currencyBlank)); + } +} + +//update display of the large image +function displayImage(domAAroundImgThumb, no_animation) +{ + if (typeof(no_animation) == 'undefined') + no_animation = false; + if (domAAroundImgThumb.attr('href')) + { + var newSrc = domAAroundImgThumb.attr('href').replace('thickbox', 'large'); + if ($('#bigpic').attr('src') != newSrc) + { + $('#bigpic').attr('src', newSrc).load(function() { + if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) + $(this).attr('rel', domAAroundImgThumb.attr('href')); + }); + } + $('#views_block li a').removeClass('shown'); + $(domAAroundImgThumb).addClass('shown'); + } +} + +//update display of the discounts table +function displayDiscounts(combination) +{ + $('#quantityDiscount tbody tr').each(function() { + if (($(this).attr('id') != 'quantityDiscount_0') && + ($(this).attr('id') != 'quantityDiscount_' + combination) && + ($(this).attr('id') != 'noQuantityDiscount')) + $(this).fadeOut('slow'); + }); + + if ($('#quantityDiscount_' + combination+',.quantityDiscount_' + combination).length != 0) + { + $('#quantityDiscount_' + combination+',.quantityDiscount_' + combination).show(); + $('#noQuantityDiscount').hide(); + } + else + $('#noQuantityDiscount').show(); +} + +// Serialscroll exclude option bug ? +function serialScrollFixLock(event, targeted, scrolled, items, position) +{ + serialScrollNbImages = $('#thumbs_list li:visible').length; + serialScrollNbImagesDisplayed = 3; + + var leftArrow = position == 0 ? true : false; + var rightArrow = position + serialScrollNbImagesDisplayed >= serialScrollNbImages ? true : false; + + $('#view_scroll_left').css('cursor', leftArrow ? 'default' : 'pointer').css('display', leftArrow ? 'none' : 'block').fadeTo(0, leftArrow ? 0 : 1); + $('#view_scroll_right').css('cursor', rightArrow ? 'default' : 'pointer').fadeTo(0, rightArrow ? 0 : 1).css('display', rightArrow ? 'none' : 'block'); + return true; +} + +// Change the current product images regarding the combination selected +function refreshProductImages(id_product_attribute) +{ + $('#thumbs_list_frame').scrollTo('li:eq(0)', 700, {axis:'x'}); + + id_product_attribute = parseInt(id_product_attribute); + + if (id_product_attribute > 0 && typeof(combinationImages) != 'undefined' && typeof(combinationImages[id_product_attribute]) != 'undefined') + { + $('#thumbs_list li').hide(); + $('#thumbs_list').trigger('goto', 0); + for (var i = 0; i < combinationImages[id_product_attribute].length; i++) + $('#thumbnail_' + parseInt(combinationImages[id_product_attribute][i])).show(); + if (parseInt($('#thumbs_list_frame >li:visible').length) < parseInt($('#thumbs_list_frame >li').length)) + $('#wrapResetImages').show('slow'); + else + $('#wrapResetImages').hide('slow'); + } + else + { + $('#thumbs_list li').show(); + if (parseInt($('#thumbs_list_frame >li').length) == parseInt($('#thumbs_list_frame >li:visible').length)) + $('#wrapResetImages').hide('slow'); + } + + var thumb_width = $('#thumbs_list_frame >li').width() + parseInt($('#thumbs_list_frame >li').css('marginRight')) + 1; + + $('#thumbs_list_frame').width((parseInt((thumb_width) * $('#thumbs_list_frame >li').length)) + 'px'); + $('#thumbs_list').trigger('goto', 0); + serialScrollFixLock('', '', '', '', 0);// SerialScroll Bug on goto 0 ? +} + +//To do after loading HTML +$(document).ready(function() +{ + //init the serialScroll for thumbs + $('#thumbs_list').serialScroll({ + items:'li:visible', + prev:'#view_scroll_left', + next:'#view_scroll_right', + axis:'x', + offset:0, + start:0, + stop:true, + onBefore:serialScrollFixLock, + duration:700, + step: 2, + lazy: true, + lock: false, + force:false, + cycle:false + }); + + $('#thumbs_list').trigger('goto', 1);// SerialScroll Bug on goto 0 ? + $('#thumbs_list').trigger('goto', 0); + + //hover 'other views' images management + $('#views_block li a').hover( + function(){displayImage($(this));}, + function(){} + ); + + //set jqZoom parameters if needed + if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) + { + $('#bigpic').attr('rel', $('#bigpic').attr('src').replace('large', 'thickbox')); + $('img.jqzoom').jqueryzoom({ + xzoom: 200, //zooming div default width(default width value is 200) + yzoom: 200, //zooming div default width(default height value is 200) + offset: 21 //zooming div default offset(default offset value is 10) + //position: "right" //zooming div position(default position value is "right") + }); + } + //add a link on the span 'view full size' and on the big image + $('#view_full_size, #image-block img').click(function(){ + $('#views_block .shown').click(); + }); + + //catch the click on the "more infos" button at the top of the page + $('#short_description_block .button').click(function(){ + $('#more_info_tab_more_info').click(); + $.scrollTo( '#more_info_tabs', 1200 ); + }); + + // Hide the customization submit button and display some message + $('#customizedDatas input').click(function() { + $('#customizedDatas input').hide(); + $('#ajax-loader').fadeIn(); + $('#customizedDatas').append(uploading_in_progress); + }); + + original_url = window.location + ''; + first_url_check = true; + checkUrl(); + initLocationChange(); + + //init the price in relation of the selected attributes + if (typeof productHasAttributes != 'undefined' && productHasAttributes) + findCombination(true); + else if (typeof productHasAttributes != 'undefined' && !productHasAttributes) + refreshProductImages(0); + + $('#resetImages').click(function() { + refreshProductImages(0); + }); + + $('.thickbox').fancybox({ + 'hideOnContentClick': true, + 'transitionIn' : 'elastic', + 'transitionOut' : 'elastic' + }); +}); + +function saveCustomization() +{ + $('#quantityBackup').val($('#quantity_wanted').val()); + customAction = $('#customizationForm').attr('action'); + $('body select[id^="group_"]').each(function() { + customAction = customAction.replace(new RegExp(this.id + '=\\d+'), this.id +'=' + this.value); + }); + $('#customizationForm').attr('action', customAction); + $('#customizationForm').submit(); +} + +function submitPublishProduct(url, redirect, token) +{ + var id_product = $('#admin-action-product-id').val(); + + $.ajaxSetup({async: false}); + $.post(url + '/index.php', { + action:'publishProduct', + id_product: id_product, + status: 1, + redirect: redirect, + ajax: 1, + tab: 'AdminProducts', + token: token + }, + function(data) + { + if (data.indexOf('error') === -1) + document.location.href = data; + } + ); + return true; +} + +function checkMinimalQuantity(minimal_quantity) +{ + if ($('#quantity_wanted').val() < minimal_quantity) + { + $('#quantity_wanted').css('border', '1px solid red'); + $('#minimal_quantity_wanted_p').css('color', 'red'); + } + else + { + $('#quantity_wanted').css('border', '1px solid #BDC2C9'); + $('#minimal_quantity_wanted_p').css('color', '#374853'); + } +} + +function colorPickerClick(elt) +{ + id_attribute = $(elt).attr('id').replace('color_', ''); + $(elt).parent().parent().children().removeClass('selected'); + $(elt).fadeTo('fast', 1, function(){ + $(this).fadeTo('fast', 0, function(){ + $(this).fadeTo('fast', 1, function(){ + $(this).parent().addClass('selected'); + }); + }); + }); + $(elt).parent().parent().parent().children('.color_pick_hidden,#color_pick_hidden').val(id_attribute); + findCombination(false); +} + + +function getProductAttribute() +{ + // get product attribute id + product_attribute_id = $('#idCombination').val(); + product_id = $('#product_page_product_id').val(); + + // get every attributes values + request = ''; + //create a temporary 'tab_attributes' array containing the choices of the customer + var tab_attributes = []; + $('#attributes select, #attributes input[type=hidden], #attributes input[type=radio]:checked').each(function(){ + tab_attributes.push($(this).val()); + }); + + // build new request + for (var i in attributesCombinations) + for (var a in tab_attributes) + if (attributesCombinations[i]['id_attribute'] === tab_attributes[a]) + request += '/'+attributesCombinations[i]['group'] + attribute_anchor_separator + attributesCombinations[i]['attribute']; + request = request.replace(request.substring(0, 1), '#/'); + url = window.location + ''; + + // redirection + if (url.indexOf('#') != -1) + url = url.substring(0, url.indexOf('#')); + + // set ipa to the customization form + $('#customizationForm').attr('action', $('#customizationForm').attr('action') + request); + window.location = url + request; +} + +function initLocationChange(time) +{ + if(!time) time = 500; + setInterval(checkUrl, time); +} + +function checkUrl() +{ + if (original_url != window.location || first_url_check) + { + first_url_check = false; + url = window.location + ''; + // if we need to load a specific combination + if (url.indexOf('#/') != -1) + { + // get the params to fill from a "normal" url + params = url.substring(url.indexOf('#') + 1, url.length); + tabParams = params.split('/'); + tabValues = []; + if (tabParams[0] == '') + tabParams.shift(); + for (var i in tabParams) + tabValues.push(tabParams[i].split(attribute_anchor_separator)); + product_id = $('#product_page_product_id').val(); + // fill html with values + $('.color_pick').removeClass('selected'); + $('.color_pick').parent().parent().children().removeClass('selected'); + count = 0; + for (var z in tabValues) + for (var a in attributesCombinations) + if (attributesCombinations[a]['group'] === decodeURIComponent(tabValues[z][0]) + && attributesCombinations[a]['attribute'] === tabValues[z][1]) + { + count++; + // add class 'selected' to the selected color + $('#color_' + attributesCombinations[a]['id_attribute']).addClass('selected'); + $('#color_' + attributesCombinations[a]['id_attribute']).parent().addClass('selected'); + $('input:radio[value=' + attributesCombinations[a]['id_attribute'] + ']').attr('checked', true); + $('input:hidden[name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']); + $('select[name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']); + } + // find combination + if (count >= 0) + { + findCombination(false); + original_url = url; + } + // no combination found = removing attributes from url + else + window.location = url.substring(0, url.indexOf('#')); + } + } +} diff --git a/themes/default-bootstrap/js/products-comparison.js b/themes/default-bootstrap/js/products-comparison.js new file mode 100644 index 000000000..3a9118cff --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/js/quick-view.js b/themes/default-bootstrap/js/quick-view.js new file mode 100644 index 000000000..ab0c888e8 --- /dev/null +++ b/themes/default-bootstrap/js/quick-view.js @@ -0,0 +1,33 @@ +/* +* 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() { + $('.quick-view').hover(function() { + $.fancybox({ + 'type': 'iframe', + 'href': this.href+'&content_only=1' + }); + }); +}); diff --git a/themes/default-bootstrap/js/scenes.js b/themes/default-bootstrap/js/scenes.js new file mode 100644 index 000000000..525c756e8 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/js/stores.js b/themes/default-bootstrap/js/stores.js new file mode 100644 index 000000000..626a90e9b --- /dev/null +++ b/themes/default-bootstrap/js/stores.js @@ -0,0 +1,218 @@ +/* +* 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); + + $('table#stores-table').find('tbody').append(''+parseInt(i + 1)+''+(has_store_picture == 1 ? '' : '')+''+name+''+address+(phone !== '' ? ''+translation_4+' '+phone : '')+''+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).parent().parent().addClass('active').show(); + 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-bootstrap/js/tools.js b/themes/default-bootstrap/js/tools.js new file mode 100644 index 000000000..ae11f36be --- /dev/null +++ b/themes/default-bootstrap/js/tools.js @@ -0,0 +1,234 @@ +/* +* 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 (formatNumber(price, priceDisplayPrecision, ' ', '.') + blank + currencySign); + 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; +} +$(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-bootstrap/js/tools/bootstrap.min.js b/themes/default-bootstrap/js/tools/bootstrap.min.js new file mode 100644 index 000000000..87b23d418 --- /dev/null +++ b/themes/default-bootstrap/js/tools/bootstrap.min.js @@ -0,0 +1,6 @@ +/** +* bootstrap.js v3.0.0 by @fat and @mdo +* Copyright 2013 Twitter Inc. +* http://www.apache.org/licenses/LICENSE-2.0 +*/ +if(!jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery); \ No newline at end of file diff --git a/themes/default-bootstrap/js/tools/index.php b/themes/default-bootstrap/js/tools/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/js/tools/jquery.total-storage.min.js b/themes/default-bootstrap/js/tools/jquery.total-storage.min.js new file mode 100644 index 000000000..27cbd3993 --- /dev/null +++ b/themes/default-bootstrap/js/tools/jquery.total-storage.min.js @@ -0,0 +1,31 @@ +/* + * TotalStorage + * + * Copyright (c) 2012 Jared Novack & Upstatement (upstatement.com) + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * Total Storage is the conceptual the love child of jStorage by Andris Reinman, + * and Cookie by Klaus Hartl -- though this is not connected to either project. + * + * @name $.totalStorage + * @cat Plugins/Cookie + * @author Jared Novack/jared@upstatement.com + * @version 1.1.2 + * @url http://upstatement.com/blog/2012/01/jquery-local-storage-done-right-and-easy/ + */ +(function($){var ls=window.localStorage;var supported;if(typeof ls=='undefined'||typeof window.JSON=='undefined'){supported=false;}else{supported=true;} +$.totalStorage=function(key,value,options){return $.totalStorage.impl.init(key,value);} +$.totalStorage.setItem=function(key,value){return $.totalStorage.impl.setItem(key,value);} +$.totalStorage.getItem=function(key){return $.totalStorage.impl.getItem(key);} +$.totalStorage.getAll=function(){return $.totalStorage.impl.getAll();} +$.totalStorage.deleteItem=function(key){return $.totalStorage.impl.deleteItem(key);} +$.totalStorage.impl={init:function(key,value){if(typeof value!='undefined'){return this.setItem(key,value);}else{return this.getItem(key);}},setItem:function(key,value){if(!supported){try{$.cookie(key,value);return value;}catch(e){console.log('Local Storage not supported by this browser. Install the cookie plugin on your site to take advantage of the same functionality. You can get it at https://github.com/carhartl/jquery-cookie');}} +var saver=JSON.stringify(value);ls.setItem(key,saver);return this.parseResult(saver);},getItem:function(key){if(!supported){try{return this.parseResult($.cookie(key));}catch(e){return null;}} +return this.parseResult(ls.getItem(key));},deleteItem:function(key){if(!supported){try{$.cookie(key,null);return true;}catch(e){return false;}} +ls.removeItem(key);return true;},getAll:function(){var items=new Array();if(!supported){try{var pairs=document.cookie.split(";");for(var i=0;i'+item.name+''); + }); + $('.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-bootstrap/js/tools/treeManagement.js b/themes/default-bootstrap/js/tools/treeManagement.js new file mode 100644 index 000000000..dc308b578 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/lang/en.php b/themes/default-bootstrap/lang/en.php new file mode 100644 index 000000000..44a53e460 --- /dev/null +++ b/themes/default-bootstrap/lang/en.php @@ -0,0 +1,417 @@ + +* @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-bootstrap/layout.tpl b/themes/default-bootstrap/layout.tpl new file mode 100644 index 000000000..6ea4bc8d0 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/maintenance.tpl b/themes/default-bootstrap/maintenance.tpl new file mode 100644 index 000000000..5b5939345 --- /dev/null +++ b/themes/default-bootstrap/maintenance.tpl @@ -0,0 +1,56 @@ +{* +* 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:'htmlall':'UTF-8'} + +{if isset($meta_description)} + +{/if} +{if isset($meta_keywords)} + +{/if} + + + + + + + +
      +
      + + {$HOOK_MAINTENANCE} +
      +

      {l s='Maintenance mode'}

      + {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-bootstrap/manufacturer-list.tpl b/themes/default-bootstrap/manufacturer-list.tpl new file mode 100644 index 000000000..e78991457 --- /dev/null +++ b/themes/default-bootstrap/manufacturer-list.tpl @@ -0,0 +1,153 @@ +{* +* 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} + +

      + {l s='Manufacturers:'} + {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 isset($errors) AND $errors} + {include file="$tpl_dir./errors.tpl"} +{else} + + {if $nbManufacturers > 0} +
      + +
      + {include file="$tpl_dir./pagination.tpl"} +
      +
      + {assign var='nbItemsPerLine' value=3} + {assign var='nbItemsPerLineTablet' value=2} + {assign var='nbLi' value=$manufacturers|@count} + {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} + {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} + +
      +
      + {include file="$tpl_dir./pagination.tpl"} +
      +
      + + {/if} +{/if} diff --git a/themes/default-bootstrap/manufacturer.tpl b/themes/default-bootstrap/manufacturer.tpl new file mode 100644 index 000000000..49db1edcf --- /dev/null +++ b/themes/default-bootstrap/manufacturer.tpl @@ -0,0 +1,66 @@ +{* +* 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)} +

      {l s='List of products by manufacturer'} {$manufacturer->name|escape:'htmlall':'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="./product-sort.tpl"} + {include file="./nbr-product-page.tpl"} +
      +
      + {include file="./product-compare.tpl"} + {include file="$tpl_dir./pagination.tpl"} +
      +
      + + {include file="./product-list.tpl" products=$products} + +
      +
      + {include file="./product-compare.tpl"} + {include file="./pagination.tpl" paginationId='bottom'} +
      +
      + {else} +

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

      + {/if} +{/if} diff --git a/themes/default-bootstrap/mobile/404.tpl b/themes/default-bootstrap/mobile/404.tpl new file mode 100644 index 000000000..16978f198 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/address.tpl b/themes/default-bootstrap/mobile/address.tpl new file mode 100644 index 000000000..2fa091719 --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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-bootstrap/mobile/addresses.tpl b/themes/default-bootstrap/mobile/addresses.tpl new file mode 100644 index 000000000..c40082ad1 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/authentication-choice.tpl b/themes/default-bootstrap/mobile/authentication-choice.tpl new file mode 100644 index 000000000..2c01fbfd7 --- /dev/null +++ b/themes/default-bootstrap/mobile/authentication-choice.tpl @@ -0,0 +1,33 @@ +
      + + + +
      + + +
      + +{* Missing the guest checkout behaviour *} +{* ===================================== *} diff --git a/themes/default-bootstrap/mobile/authentication-create-account.tpl b/themes/default-bootstrap/mobile/authentication-create-account.tpl new file mode 100644 index 000000000..ade6331bc --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/authentication.tpl b/themes/default-bootstrap/mobile/authentication.tpl new file mode 100644 index 000000000..aa89099ae --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/best-sales.tpl b/themes/default-bootstrap/mobile/best-sales.tpl new file mode 100644 index 000000000..bf9734298 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/category-cms-tree-branch.tpl b/themes/default-bootstrap/mobile/category-cms-tree-branch.tpl new file mode 100644 index 000000000..f7f27809a --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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:'htmlall':'UTF-8'}
      • + {/foreach} + {/if} +
      + {elseif isset($node.cms) && $node.cms|@count > 0} + + {/if} +
    2. diff --git a/themes/default-bootstrap/mobile/category-product-list.tpl b/themes/default-bootstrap/mobile/category-product-list.tpl new file mode 100644 index 000000000..8eff694b1 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/category-product-sort.tpl b/themes/default-bootstrap/mobile/category-product-sort.tpl new file mode 100644 index 000000000..c352cd688 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/category-tree-branch.tpl b/themes/default-bootstrap/mobile/category-tree-branch.tpl new file mode 100644 index 000000000..0c7faddfb --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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:'htmlall':'UTF-8'} + + {/if} +
    4. diff --git a/themes/default-bootstrap/mobile/category.tpl b/themes/default-bootstrap/mobile/category.tpl new file mode 100644 index 000000000..90dc09310 --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'UTF-8'} + {if isset($categoryNameComplement)} + {$categoryNameComplement|escape:'htmlall':'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-bootstrap/mobile/cms.tpl b/themes/default-bootstrap/mobile/cms.tpl new file mode 100644 index 000000000..13e25fc2e --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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-bootstrap/mobile/contact-form.tpl b/themes/default-bootstrap/mobile/contact-form.tpl new file mode 100644 index 000000000..6c435356a --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/css/global.css b/themes/default-bootstrap/mobile/css/global.css new file mode 100644 index 000000000..6d2a67a82 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/css/index.php b/themes/default-bootstrap/mobile/css/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/css/jqm-docs.css b/themes/default-bootstrap/mobile/css/jqm-docs.css new file mode 100644 index 000000000..5d7a4e00c --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/css/jquery.mobile-1.3.0.min.css b/themes/default-bootstrap/mobile/css/jquery.mobile-1.3.0.min.css new file mode 100644 index 000000000..647280721 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/css/maintenance.css b/themes/default-bootstrap/mobile/css/maintenance.css new file mode 100644 index 000000000..c145ce287 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/discount.tpl b/themes/default-bootstrap/mobile/discount.tpl new file mode 100644 index 000000000..af0d47ea8 --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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-bootstrap/mobile/errors.tpl b/themes/default-bootstrap/mobile/errors.tpl new file mode 100644 index 000000000..be26c41ed --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/footer.tpl b/themes/default-bootstrap/mobile/footer.tpl new file mode 100644 index 000000000..c725a4d2a --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/header.tpl b/themes/default-bootstrap/mobile/header.tpl new file mode 100644 index 000000000..ae6fb32d5 --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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-bootstrap/mobile/history.tpl b/themes/default-bootstrap/mobile/history.tpl new file mode 100644 index 000000000..c562b65cc --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/identity.tpl b/themes/default-bootstrap/mobile/identity.tpl new file mode 100644 index 000000000..246db4c25 --- /dev/null +++ b/themes/default-bootstrap/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:'htmlall':'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-bootstrap/mobile/img/ajax-loader.gif b/themes/default-bootstrap/mobile/img/ajax-loader.gif new file mode 100644 index 000000000..fd1a189c2 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/ajax-loader.gif differ diff --git a/themes/default-bootstrap/mobile/img/ajax-loader.png b/themes/default-bootstrap/mobile/img/ajax-loader.png new file mode 100644 index 000000000..13b208ddd Binary files /dev/null and b/themes/default-bootstrap/mobile/img/ajax-loader.png differ diff --git a/themes/default-bootstrap/mobile/img/bg_maintenance.png b/themes/default-bootstrap/mobile/img/bg_maintenance.png new file mode 100644 index 000000000..f95c88e1d Binary files /dev/null and b/themes/default-bootstrap/mobile/img/bg_maintenance.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/addrbook.png b/themes/default-bootstrap/mobile/img/icon/addrbook.png new file mode 100644 index 000000000..b97ef763e Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/addrbook.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/favorite.png b/themes/default-bootstrap/mobile/img/icon/favorite.png new file mode 100644 index 000000000..fc648f23e Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/favorite.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/gift.png b/themes/default-bootstrap/mobile/img/icon/gift.png new file mode 100644 index 000000000..e50d855cb Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/gift.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/home.png b/themes/default-bootstrap/mobile/img/icon/home.png new file mode 100644 index 000000000..f8e824a2e Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/home.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/index.php b/themes/default-bootstrap/mobile/img/icon/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/img/icon/my-account.png b/themes/default-bootstrap/mobile/img/icon/my-account.png new file mode 100644 index 000000000..d09cce653 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/my-account.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/order.png b/themes/default-bootstrap/mobile/img/icon/order.png new file mode 100644 index 000000000..a5ff19c1b Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/order.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/return.png b/themes/default-bootstrap/mobile/img/icon/return.png new file mode 100644 index 000000000..97c055a8f Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/return.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/slip.png b/themes/default-bootstrap/mobile/img/icon/slip.png new file mode 100644 index 000000000..b9cbacdb5 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/slip.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/userinfos.png b/themes/default-bootstrap/mobile/img/icon/userinfos.png new file mode 100644 index 000000000..a9f7a0353 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/userinfos.png differ diff --git a/themes/default-bootstrap/mobile/img/icon/voucher.png b/themes/default-bootstrap/mobile/img/icon/voucher.png new file mode 100644 index 000000000..6ba16dbb3 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icon/voucher.png differ diff --git a/themes/default-bootstrap/mobile/img/icons-18-black.png b/themes/default-bootstrap/mobile/img/icons-18-black.png new file mode 100644 index 000000000..ce1b758ad Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icons-18-black.png differ diff --git a/themes/default-bootstrap/mobile/img/icons-18-white.png b/themes/default-bootstrap/mobile/img/icons-18-white.png new file mode 100644 index 000000000..1ab012723 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icons-18-white.png differ diff --git a/themes/default-bootstrap/mobile/img/icons-36-black.png b/themes/default-bootstrap/mobile/img/icons-36-black.png new file mode 100644 index 000000000..1a59d7c37 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icons-36-black.png differ diff --git a/themes/default-bootstrap/mobile/img/icons-36-white.png b/themes/default-bootstrap/mobile/img/icons-36-white.png new file mode 100644 index 000000000..5647bdc94 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/icons-36-white.png differ diff --git a/themes/default-bootstrap/mobile/img/img_cart.png b/themes/default-bootstrap/mobile/img/img_cart.png new file mode 100644 index 000000000..2d1235c7a Binary files /dev/null and b/themes/default-bootstrap/mobile/img/img_cart.png differ diff --git a/themes/default-bootstrap/mobile/img/index.php b/themes/default-bootstrap/mobile/img/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/img/logo.png b/themes/default-bootstrap/mobile/img/logo.png new file mode 100644 index 000000000..fa425934f Binary files /dev/null and b/themes/default-bootstrap/mobile/img/logo.png differ diff --git a/themes/default-bootstrap/mobile/img/px-ccc.gif b/themes/default-bootstrap/mobile/img/px-ccc.gif new file mode 100644 index 000000000..da70aafb4 Binary files /dev/null and b/themes/default-bootstrap/mobile/img/px-ccc.gif differ diff --git a/themes/default-bootstrap/mobile/img/slider_home.png b/themes/default-bootstrap/mobile/img/slider_home.png new file mode 100644 index 000000000..82ca6df7c Binary files /dev/null and b/themes/default-bootstrap/mobile/img/slider_home.png differ diff --git a/themes/default-bootstrap/mobile/index.php b/themes/default-bootstrap/mobile/index.php new file mode 100644 index 000000000..fd6bae0d3 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/index.tpl b/themes/default-bootstrap/mobile/index.tpl new file mode 100644 index 000000000..77f5d3bea --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/js/cart.js b/themes/default-bootstrap/mobile/js/cart.js new file mode 100644 index 000000000..8075474ed --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/js/global.js b/themes/default-bootstrap/mobile/js/global.js new file mode 100644 index 000000000..b9660f095 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/js/history.js b/themes/default-bootstrap/mobile/js/history.js new file mode 100644 index 000000000..088deee0d --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/js/index.php b/themes/default-bootstrap/mobile/js/index.php new file mode 100644 index 000000000..52b4e5c37 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/js/jqm-docs.js b/themes/default-bootstrap/mobile/js/jqm-docs.js new file mode 100644 index 000000000..0e68ddbf1 --- /dev/null +++ b/themes/default-bootstrap/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-bootstrap/mobile/js/jquery.mobile-1.3.0.min.js b/themes/default-bootstrap/mobile/js/jquery.mobile-1.3.0.min.js new file mode 100644 index 000000000..8d12031a3 --- /dev/null +++ b/themes/default-bootstrap/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('