diff --git a/classes/Context.php b/classes/Context.php index f40f07fe8..bae296667 100644 --- a/classes/Context.php +++ b/classes/Context.php @@ -95,6 +95,59 @@ class ContextCore */ public $smarty; + /** + * @var boolean|string mobile device of the customer + */ + protected $mobile_device; + + /** + * @var boolean|string touch pad device of the customer + */ + protected $touchpad_device; + + public function getMobileDevice() + { + if (is_null($this->mobile_device)) + { + $this->mobile_device = false; + if ($this->checkMobileContext()) + if (preg_match('/(alcatel|amoi|android|avantgo|blackberry|benq|cell|cricket|docomo|elaine|htc|iemobile|iphone|ipaq|ipod|j2me|java|midp|mini|mmp|mobi\s|motorola|nec-|nokia|palm|panasonic|philips|phone|sagem|sharp|sie-|smartphone|sony|symbian|t-mobile|telus|up\.browser|up\.link|vodafone|wap|webos|wireless|xda|zte)/i', $_SERVER['HTTP_USER_AGENT'], $out)) + $this->mobile_device = $out[0]; + } + + return $this->mobile_device; + } + + protected function checkMobileContext() + { + return file_exists(_PS_THEME_MOBILE_DIR_) + && Configuration::get('PS_ALLOW_MOBILE_DEVICE') + && isset($_SERVER['HTTP_USER_AGENT']) + && !Context::getContext()->cookie->no_mobile; + } + + protected function getTouchPadDevice() + { + if (is_null($this->touchpad_device)) + { + $this->touchpad_device = false; + if ($this->checkMobileContext()) + { + if (preg_match('/(xoom|ipad)/i', $_SERVER['HTTP_USER_AGENT'], $out)) + $this->touchpad_device = $out[0]; + if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'android') && !strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mobile')) + $this->touchpad_device = 'android'; + + // for Galaxy tab + if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'android') + && (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'sch-i800') + || strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'gt-p1000'))) + $this->touchpad_device = 'android'; + } + } + return $this->touchpad_device; + } + /** * Get a singleton context * diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php index f655061e9..0c7746f06 100755 --- a/classes/controller/FrontController.php +++ b/classes/controller/FrontController.php @@ -249,6 +249,10 @@ class FrontControllerCore extends Controller CartRule::autoAddToCart($this->context); } + // Check mobile context + if (Tools::isSubmit('no_mobile')) + $this->context->cookie->no_mobile = true; + $locale = strtolower(Configuration::get('PS_LOCALE_LANGUAGE')).'_'.strtoupper(Configuration::get('PS_LOCALE_COUNTRY').'.UTF-8'); setlocale(LC_COLLATE, $locale); setlocale(LC_CTYPE, $locale); @@ -305,6 +309,8 @@ class FrontControllerCore extends Controller $meta_language[] = $lang['iso_code']; $this->context->smarty->assign(array( + // Usefull for layout.tpl + 'mobile_device' => $this->context->getMobileDevice(), 'link' => $link, 'cart' => $cart, 'currency' => $currency, @@ -338,6 +344,12 @@ class FrontControllerCore extends Controller 'request' => $link->getPaginationLink(false, false, false, true) )); + // Add the tpl files directory for mobile + if ($this->context->getMobileDevice() != false) + $this->context->smarty->assign(array( + 'tpl_mobile_uri' => _PS_THEME_MOBILE_DIR_, + )); + // Deprecated $this->context->smarty->assign(array( 'id_currency_cookie' => (int)$currency->id, @@ -361,6 +373,14 @@ class FrontControllerCore extends Controller 'pic_dir' => _THEME_PROD_PIC_DIR_ ); + // Add the images directory for mobile + if ($this->context->getMobileDevice() != false) + $assign_array['img_mobile_dir'] = _THEME_MOBILE_IMG_DIR_; + + // Add the CSS directory for mobile + if ($this->context->getMobileDevice() != false) + $assign_array['css_mobile_dir'] = _THEME_MOBILE_CSS_DIR_; + foreach ($assign_array as $assign_key => $assign_value) if (substr($assign_value, 0, 1) == '/' || $protocol_content == 'https://') $this->context->smarty->assign($assign_key, $protocol_content.Tools::getMediaServer($assign_value).$assign_value); @@ -419,12 +439,25 @@ class FrontControllerCore extends Controller $this->process(); if (!isset($this->context->cart)) $this->context->cart = new Cart(); - $this->context->smarty->assign(array( - 'HOOK_HEADER' => Hook::exec('displayHeader'), - 'HOOK_TOP' => Hook::exec('displayTop'), - 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''), - 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''), - )); + if ($this->context->getMobileDevice() == false) + { + // These hooks aren't used for the mobile theme. + // Needed hooks are called in the tpl files. + if (!isset($this->context->cart)) + $this->context->cart = new Cart(); + $this->context->smarty->assign(array( + 'HOOK_HEADER' => Hook::exec('displayHeader'), + 'HOOK_TOP' => Hook::exec('displayTop'), + 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''), + 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''), + )); + } + else + { + $this->context->smarty->assign(array( + 'HOOK_MOBILE_HEADER' => Hook::exec('displayMobileHeader'), + )); + } } /** @@ -517,7 +550,8 @@ class FrontControllerCore extends Controller 'display_footer' => $this->display_footer, )); - if (Tools::isSubmit('live_edit')) + // Don't use live edit if on mobile device + if ($this->context->getMobileDevice() == false && Tools::isSubmit('live_edit')) $this->context->smarty->assign('live_edit', $this->getLiveEditFooter()); $layout = $this->getLayout(); @@ -572,7 +606,9 @@ class FrontControllerCore extends Controller { header('HTTP/1.1 503 temporarily overloaded'); $this->context->smarty->assign('favicon_url', _PS_IMG_.Configuration::get('PS_FAVICON')); - $this->context->smarty->display(_PS_THEME_DIR_.'maintenance.tpl'); + + $template_dir = ($this->context->getMobileDevice() == true ? _PS_THEME_MOBILE_DIR_ : _PS_THEME_DIR_); + $this->context->smarty->display($template_dir.'maintenance.tpl'); exit; } } @@ -685,8 +721,32 @@ class FrontControllerCore extends Controller return false; } + /** + * Specific medias for mobile device. + */ + public function setMobileMedia() + { + $this->addjquery(); + $this->addJS(_THEME_MOBILE_JS_DIR_.'jquery.mobile-1.1.1.min.js'); + $this->addJS(_THEME_MOBILE_JS_DIR_.'jqm-docs.js'); + $this->addJS(_PS_JS_DIR_.'tools.js'); + $this->addJS(_THEME_MOBILE_JS_DIR_.'global.js'); + $this->addjqueryPlugin('fancybox'); + + $this->addCSS(_THEME_MOBILE_CSS_DIR_.'jquery.mobile-1.1.1.min.css', 'all'); + $this->addCSS(_THEME_MOBILE_CSS_DIR_.'jqm-docs.css', 'all'); + $this->addCSS(_THEME_MOBILE_CSS_DIR_.'global.css', 'all'); + } + public function setMedia() { + // if website is accessed by mobile device + // @see FrontControllerCore::setMobileMedia() + if ($this->context->getMobileDevice() != false) + { + $this->setMobileMedia(); + return true; + } $this->addCSS(_THEME_CSS_DIR_.'global.css', 'all'); $this->addjquery(); $this->addjqueryPlugin('easing'); @@ -960,15 +1020,20 @@ class FrontControllerCore extends Controller /** * This is overrided to manage is behaviour + * if a customer access to the site with mobile device. */ public function setTemplate($default_template) { - $template = $this->getOverrideTemplate(); - - if ($template) - parent::setTemplate($template); - else - parent::setTemplate($default_template); + if ($this->context->getMobileDevice() != false) + $this->setMobileTemplate($default_template); + else + { + $template = $this->getOverrideTemplate(); + if ($template) + parent::setTemplate($template); + else + parent::setTemplate($default_template); + } } /** @@ -1002,6 +1067,12 @@ class FrontControllerCore extends Controller $layout_dir = _PS_THEME_DIR_; $layout_override_dir = _PS_THEME_OVERRIDE_DIR_; + if ($this->context->getMobileDevice() != false) + { + $layout_dir = _PS_THEME_MOBILE_DIR_; + $layout_override_dir = _PS_THEME_MOBILE_OVERRIDE_DIR_; + } + $layout = false; if ($entity) { @@ -1016,4 +1087,47 @@ class FrontControllerCore extends Controller return $layout; } + + /** + * This checks if the template set is available for mobile themes, + * otherwise the front template is choosen. + */ + public function setMobileTemplate($template) + { + // Needed for site map + $blockmanufacturer = Module::getInstanceByName('blockmanufacturer'); + $blocksupplier = Module::getInstanceByName('blocksupplier'); + $this->context->smarty->assign('categoriesTree', Category::getRootCategory()->recurseLiteCategTree(0)); + $this->context->smarty->assign('categoriescmsTree', CMSCategory::getRecurseCategory($this->context->language->id, 1, 1, 1)); + $this->context->smarty->assign('voucherAllowed', (int)Configuration::get('PS_VOUCHERS')); + $this->context->smarty->assign('display_manufacturer_link', (((int)$blockmanufacturer->id) ? true : false)); + $this->context->smarty->assign('display_supplier_link', (((int)$blocksupplier->id) ? true : false)); + $this->context->smarty->assign('PS_DISPLAY_SUPPLIERS', Configuration::get('PS_DISPLAY_SUPPLIERS')); + $this->context->smarty->assign('display_store', Configuration::get('PS_STORES_DISPLAY_SITEMAP')); + $this->context->smarty->assign('conditions', Configuration::get('PS_CONDITIONS')); + $this->context->smarty->assign('id_cgv', Configuration::get('PS_CONDITIONS_CMS_ID')); + $this->context->smarty->assign('PS_SHOP_NAME', Configuration::get('PS_SHOP_NAME')); + + $mobile_template = ''; + $tpl_file = basename($template); + $dirname = dirname($template).(substr(dirname($template), -1, 1) == '/' ? '' : '/'); + + if ($dirname == _PS_THEME_DIR_) + { + if (file_exists(_PS_THEME_MOBILE_DIR_.$tpl_file)) + $template = _PS_THEME_MOBILE_DIR_.$tpl_file; + } + elseif ($dirname == _PS_THEME_MOBILE_DIR_) + { + if (!file_exists(_PS_THEME_MOBILE_DIR_.$tpl_file) && file_exists(_PS_THEME_DIR_.$tpl_file)) + $template = _PS_THEME_DIR_.$tpl_file; + } + $assign = array(); + $assign['tpl_file'] = basename($tpl_file, '.tpl'); + if (isset($this->php_self)) + $assign['controller_name'] = $this->php_self; + + $this->context->smarty->assign($assign); + $this->template = $template; + } } diff --git a/config/defines_uri.inc.php b/config/defines_uri.inc.php index fa226bdc3..918010c0f 100644 --- a/config/defines_uri.inc.php +++ b/config/defines_uri.inc.php @@ -34,6 +34,28 @@ define('_THEME_CSS_DIR_', _THEME_DIR_.'css/'); define('_THEME_JS_DIR_', _THEME_DIR_.'js/'); define('_PS_THEME_OVERRIDE_DIR_', _PS_THEME_DIR_.'override/'); +/* For mobile devices */ +if (file_exists(_PS_THEME_DIR_.'mobile/')) +{ + define('_PS_THEME_MOBILE_DIR_', _PS_THEME_DIR_.'mobile/'); + define('_THEME_MOBILE_DIR_', _THEMES_DIR_._THEME_NAME_.'/mobile/'); + define('_PS_THEME_MOBILE_OVERRIDE_DIR_', _PS_THEME_MOBILE_DIR_.'override/'); +} +else +{ + define('_PS_THEME_MOBILE_DIR_', _PS_ROOT_DIR_.'/themes/default/mobile/'); + define('_THEME_MOBILE_DIR_', __PS_BASE_URI__.'themes/default/mobile/'); +} +define('_THEME_MOBILE_IMG_DIR_', _THEME_MOBILE_DIR_.'img/'); +define('_THEME_MOBILE_CSS_DIR_', _THEME_MOBILE_DIR_.'css/'); +define('_THEME_MOBILE_JS_DIR_', _THEME_MOBILE_DIR_.'js/'); + +/* For touch pad devices */ +define('_PS_THEME_TOUCHPAD_DIR_', _PS_THEME_DIR_.'touchpad/'); +define('_THEME_TOUCHPAD_DIR_', _THEMES_DIR_._THEME_NAME_.'/touchpad/'); +define('_THEME_TOUCHPAD_CSS_DIR_', _THEME_MOBILE_DIR_.'css/'); +define('_THEME_TOUCHPAD_JS_DIR_', _THEME_MOBILE_DIR_.'js/'); + /* Image URLs */ define('_PS_IMG_', __PS_BASE_URI__.'img/'); define('_PS_ADMIN_IMG_', _PS_IMG_.'admin/'); diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index b23e5272f..f588a7ed2 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -160,6 +160,12 @@ class AdminThemesControllerCore extends AdminController 'type' => 'text', 'size' => 20 ), + 'PS_ALLOW_MOBILE_DEVICE' => array( + 'title' => $this->l('Enable mobile theme'), + 'desc' => $this->l('Allows visitors browsing on a mobile device, to have a light version of website'), + 'cast' => 'intval', + 'type' => 'bool', + ) ), 'submit' => array('title' => $this->l('Save'), 'class' => 'button') ), diff --git a/controllers/front/OrderOpcController.php b/controllers/front/OrderOpcController.php index eb1e47aca..086957ba2 100644 --- a/controllers/front/OrderOpcController.php +++ b/controllers/front/OrderOpcController.php @@ -191,7 +191,7 @@ class OrderOpcControllerCore extends ParentOrderController $this->context->cart->id_address_invoice = Tools::isSubmit('same') ? $this->context->cart->id_address_delivery : (int)(Tools::getValue('id_address_invoice')); if (!$this->context->cart->update()) $this->errors[] = Tools::displayError('An error occurred while updating your cart.'); - + // Address has changed, so we check if the cart rules still apply CartRule::autoRemoveFromCart($this->context); CartRule::autoAddToCart($this->context); @@ -271,11 +271,16 @@ class OrderOpcControllerCore extends ParentOrderController { parent::setMedia(); - // Adding CSS style sheet - $this->addCSS(_THEME_CSS_DIR_.'order-opc.css'); - // Adding JS files - $this->addJS(_THEME_JS_DIR_.'order-opc.js'); - $this->addJqueryPlugin('scrollTo'); + if ($this->context->getMobileDevice() == false) + { + // Adding CSS style sheet + $this->addCSS(_THEME_CSS_DIR_.'order-opc.css'); + // Adding JS files + $this->addJS(_THEME_JS_DIR_.'order-opc.js'); + $this->addJqueryPlugin('scrollTo'); + } + else + $this->addJS(_THEME_MOBILE_JS_DIR_.'opc.js'); $this->addJS(_THEME_JS_DIR_.'tools/statesManagement.js'); } diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index 4b5965c9e..28508eeee 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -41,13 +41,25 @@ class ProductControllerCore extends FrontController { parent::setMedia(); - $this->addCSS(_THEME_CSS_DIR_.'product.css'); - $this->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'screen'); - $this->addJqueryPlugin(array('fancybox', 'idTabs', 'scrollTo', 'serialScroll')); - $this->addJS(array( - _THEME_JS_DIR_.'tools.js', - _THEME_JS_DIR_.'product.js' - )); + if ($this->context->getMobileDevice() == false) + { + $this->addCSS(_THEME_CSS_DIR_.'product.css'); + $this->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'screen'); + $this->addJqueryPlugin(array('fancybox', 'idTabs', 'scrollTo', 'serialScroll')); + $this->addJS(array( + _THEME_JS_DIR_.'tools.js', + _THEME_JS_DIR_.'product.js' + )); + } + else + { + $this->addJqueryPlugin(array('scrollTo', 'serialScroll')); + $this->addJS(array( + _THEME_JS_DIR_.'tools.js', + _THEME_MOBILE_JS_DIR_.'product.js', + _THEME_MOBILE_JS_DIR_.'jquery.touch-gallery.js' + )); + } if (Configuration::get('PS_DISPLAY_JQZOOM') == 1) $this->addJqueryPlugin('jqzoom'); diff --git a/modules/blocksearch/blocksearch-top.tpl b/modules/blocksearch/blocksearch-top.tpl index 149df6da9..ed373d4b1 100644 --- a/modules/blocksearch/blocksearch-top.tpl +++ b/modules/blocksearch/blocksearch-top.tpl @@ -23,6 +23,17 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} + +{if isset($hook_mobile)} + +{else}
@@ -38,4 +49,5 @@
{include file="$self/blocksearch-instantsearch.tpl"} +{/if} diff --git a/modules/blocksearch/blocksearch.php b/modules/blocksearch/blocksearch.php index f4eebc68d..e922d3782 100644 --- a/modules/blocksearch/blocksearch.php +++ b/modules/blocksearch/blocksearch.php @@ -46,11 +46,26 @@ class BlockSearch extends Module public function install() { - if (!parent::install() || !$this->registerHook('top') || !$this->registerHook('header')) + if (!parent::install() || !$this->registerHook('top') || !$this->registerHook('header') || !$this->registerHook('displayMobileTopSiteMap')) return false; return true; } + public function hookdisplayMobileTopSiteMap($params) + { + $this->smarty->assign(array('hook_mobile' => true, 'instantsearch' => false)); + return $this->hookTop($params); + } + + /* +public function hookDisplayMobileHeader($params) + { + if (Configuration::get('PS_SEARCH_AJAX')) + $this->context->controller->addJqueryPlugin('autocomplete'); + $this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css'); + } +*/ + public function hookHeader($params) { if (Configuration::get('PS_SEARCH_AJAX')) diff --git a/modules/blockwishlist/my-account.tpl b/modules/blockwishlist/my-account.tpl index a271f280f..8b6c49367 100644 --- a/modules/blockwishlist/my-account.tpl +++ b/modules/blockwishlist/my-account.tpl @@ -27,8 +27,7 @@
  • - {l s='wishlist' mod='blockwishlist'} - {l s='My wishlists' mod='blockwishlist'} + {l s='wishlist' mod='blockwishlist'} {l s='My wishlists' mod='blockwishlist'}
  • \ No newline at end of file diff --git a/modules/favoriteproducts/views/templates/hook/my-account.tpl b/modules/favoriteproducts/views/templates/hook/my-account.tpl index d4a36eb26..490082af0 100644 --- a/modules/favoriteproducts/views/templates/hook/my-account.tpl +++ b/modules/favoriteproducts/views/templates/hook/my-account.tpl @@ -24,9 +24,9 @@ * International Registered Trademark & Property of PrestaShop SA *} -
  • +
  • - {if !$in_footer}{/if} + {if !$in_footer}{l s='My favorite products' mod='favoriteproducts'}{/if} {l s='My favorite products' mod='favoriteproducts'}
  • diff --git a/themes/default/mobile/404.tpl b/themes/default/mobile/404.tpl new file mode 100644 index 000000000..748acd94b --- /dev/null +++ b/themes/default/mobile/404.tpl @@ -0,0 +1,49 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6594 $ +* @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='Page not available'}{/capture} +{include file='./page-title.tpl'} + + {* Submit à tester sur téléphone *} + {* ===================================== *} +
    +
    +

    {l s='We\'re sorry, but the Web address you 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/mobile/address.tpl b/themes/default/mobile/address.tpl new file mode 100644 index 000000000..622e30bc5 --- /dev/null +++ b/themes/default/mobile/address.tpl @@ -0,0 +1,235 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6753 $ +* @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/mobile/addresses.tpl b/themes/default/mobile/addresses.tpl new file mode 100644 index 000000000..15e3e5f8c --- /dev/null +++ b/themes/default/mobile/addresses.tpl @@ -0,0 +1,63 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6664 $ +* @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 the desired billing and delivery addresses to be preselected when placing an order. You may also add additional addresses, useful for sending gifts or receiving your order at the office.'}

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

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

    +

    {l s='Be sure to update them if they have changed.'}

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

    {l s='No addresses available.'}

    + {/if} + {l s='Add new address'} +
    + + {include file='./sitemap.tpl'} +
    \ No newline at end of file diff --git a/themes/default/mobile/authentication-choice.tpl b/themes/default/mobile/authentication-choice.tpl new file mode 100644 index 000000000..ea12d80c1 --- /dev/null +++ b/themes/default/mobile/authentication-choice.tpl @@ -0,0 +1,33 @@ +
    + + + +
    + + +
    + +{* Missing the guest checkout behaviour *} +{* ===================================== *} diff --git a/themes/default/mobile/authentication-create-account.tpl b/themes/default/mobile/authentication-create-account.tpl new file mode 100644 index 000000000..ca6d69ada --- /dev/null +++ b/themes/default/mobile/authentication-create-account.tpl @@ -0,0 +1,212 @@ +
    + {$HOOK_CREATE_ACCOUNT_TOP} + + {if $b2b_enable} + + {/if} + {if isset($PS_REGISTRATION_PROCESS_TYPE) && $PS_REGISTRATION_PROCESS_TYPE} + + + {/if} + {$HOOK_CREATE_ACCOUNT_FORM} +

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

    + +
    \ No newline at end of file diff --git a/themes/default/mobile/authentication.tpl b/themes/default/mobile/authentication.tpl new file mode 100644 index 000000000..2726c63fa --- /dev/null +++ b/themes/default/mobile/authentication.tpl @@ -0,0 +1,81 @@ +{* +* 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 +* @version Release: $Revision: 6594 $ +* @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='Log in'}{else}{l s='Create your account'}{/if}{/capture} +{include file='./page-title.tpl'} +{include file="./errors.tpl"} + + + +{assign var='stateExist' value=false} +{if !isset($email_create)} + {include file="./authentication-choice.tpl"} +{else} + {include file="./authentication-create-account.tpl"} +{/if} diff --git a/themes/default/mobile/best-sales.tpl b/themes/default/mobile/best-sales.tpl new file mode 100644 index 000000000..56bdc4b1e --- /dev/null +++ b/themes/default/mobile/best-sales.tpl @@ -0,0 +1,60 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6594 $ +* @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.'}

    + {/if} + {include file='./sitemap.tpl'} +
    +{/if} \ No newline at end of file diff --git a/themes/default/mobile/category-cms-tree-branch.tpl b/themes/default/mobile/category-cms-tree-branch.tpl new file mode 100644 index 000000000..a3def1f8b --- /dev/null +++ b/themes/default/mobile/category-cms-tree-branch.tpl @@ -0,0 +1,50 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6594 $ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
  • 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} +
  • diff --git a/themes/default/mobile/category-product-list.tpl b/themes/default/mobile/category-product-list.tpl new file mode 100644 index 000000000..a436f79c0 --- /dev/null +++ b/themes/default/mobile/category-product-list.tpl @@ -0,0 +1,66 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 7457 $ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{if isset($products)} + +{/if} diff --git a/themes/default/mobile/category-product-sort.tpl b/themes/default/mobile/category-product-sort.tpl new file mode 100644 index 000000000..cb86327ff --- /dev/null +++ b/themes/default/mobile/category-product-sort.tpl @@ -0,0 +1,72 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6594 $ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($orderby) AND isset($orderway)} + {if !isset($sort_already_display)} + {assign var='sort_already_display' value='true' scope="global"} + + {if isset($smarty.get.id_category) && $smarty.get.id_category} + {assign var='request' value=$link->getPaginationLink('category', $category, false, true)} + {elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer} + {assign var='request' value=$link->getPaginationLink('manufacturer', $manufacturer, false, true)} + {elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier} + {assign var='request' value=$link->getPaginationLink('supplier', $supplier, false, true)} + {else} + {assign var='request' value=$link->getPaginationLink(false, false, false, true)} + {/if} + + + {/if} + +
    +
    + +
    +
    + +{/if} diff --git a/themes/default/mobile/category-tree-branch.tpl b/themes/default/mobile/category-tree-branch.tpl new file mode 100644 index 000000000..d3f580a12 --- /dev/null +++ b/themes/default/mobile/category-tree-branch.tpl @@ -0,0 +1,45 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6594 $ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
  • 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} +
  • diff --git a/themes/default/mobile/category.tpl b/themes/default/mobile/category.tpl new file mode 100644 index 000000000..c8b855f8d --- /dev/null +++ b/themes/default/mobile/category.tpl @@ -0,0 +1,71 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6844 $ +* @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"}

    +
    + + {* layered ? *} + {* ===================================== *} + {*

    Affiner la recherche

    *} + {* ===================================== *} +
    + + {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} \ No newline at end of file diff --git a/themes/default/mobile/cms.tpl b/themes/default/mobile/cms.tpl new file mode 100644 index 000000000..56e1682c0 --- /dev/null +++ b/themes/default/mobile/cms.tpl @@ -0,0 +1,66 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6594 $ +* @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 '}{$category->name}{l s=':'}

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

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

    + + {/if} +
    +{else} + {l s='This page does not exist.'} +{/if} +
    \ No newline at end of file diff --git a/themes/default/mobile/contact-form.tpl b/themes/default/mobile/contact-form.tpl new file mode 100644 index 000000000..89952691c --- /dev/null +++ b/themes/default/mobile/contact-form.tpl @@ -0,0 +1,98 @@ +{* +* 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 +* @version Release: $Revision: 6594 $ +* @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)} + + {elseif $customerThread.id_product > 0} + + {/if} +
    + {/if} + {/if} + +
    + +
    + +
    + +
    +
    + + {include file='./sitemap.tpl'} +
    \ No newline at end of file diff --git a/themes/default/mobile/css/global.css b/themes/default/mobile/css/global.css new file mode 100644 index 000000000..0ce5d5bf3 --- /dev/null +++ b/themes/default/mobile/css/global.css @@ -0,0 +1,907 @@ +/* ################################################################################################ + 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-20{width:20%} +.width-40{width:40%} +.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:white; +} +.to_delete { + background-color:red; + color:white; + font-size:12pt; + text-shadow: none; + padding:5px; +} + +/* JQUERY MOBILE */ +.ui-content {overflow-y: hidden} +section .ui-content {padding:0 !important} + +.ui-header .ui-title, .ui-footer .ui-title { + margin:0.5em 20px 0.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:bold; +} + +.warning { + margin: 10px 0 10px 0; + padding: 10px; + border: 1px solid #E6DB55; + font-size: 13px; + background: lightYellow; +} + +.error-box, +.error { + margin: 10px 0 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:-0.5em; +} +.without-margin {margin: 0;} +.without-padding {padding:0;} + +/* title *************************************************************************************** */ +h1 {font-size:20px} +h2 {margin:0 0 0.6em 0; 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: 0.96; + position: fixed; + top:100px; + font-family: arial, sans-serif; + width:80%; + left:10%; + padding:20px 10px; + -moz-border-radius: 0.6em; + -webkit-border-radius: 0.6em; + border-radius: 0.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 0} + + +hr {margin:30px 0 10px 0} +hr.margin_bottom {margin:10px 0 30px 0} +hr.margin_less {margin:10px 0 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:#DDDDDD; + color:#aaaaaa; + cursor:default; + } + .pagination_mobile .current .ui-btn { + cursor:default; + } + .pagination_mobile .current .ui-btn-down-c { + color:#ffffff; + } + .pagination_mobile .disabled .ui-btn-inner { + border-top:1px solid #dddddd; + } + .pagination_mobile .ui-btn-inner { + padding: 0.6em 10px; + font-size: 80%; + } + .pagination_mobile .pagination_next .ui-btn-inner{ + padding:0.6em 35px 0.6em 10px; + } + .pagination_mobile .pagination_previous .ui-btn-inner{ + padding:0.6em 10px 0.6em 35px; + } + .pagination ul { + margin:2px 0 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} + + +/* ################################################################################################ + 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:#cccccc; +} +.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 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 0;} +#highlight {margin:0 0 10px 0;} + +#category {margin:0 0 10px 0;} + + +/* ################################################################################################ + 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 #cccccc; +} +#category-list .ui-li-heading {height:45px; white-space:normal;} +#category-list .ui-li-price {text-align:right; color:#990000; font-size:12pt; font-weight: bold;} +#category-list .ui-li-price-info {text-align:right; font-size:8pt; 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:#ffffff; text-shadow:none;} +#category-list .ui-btn-icon-right .ui-icon {display:none} +.product-list-row { + margin-right: 0px!important; + margin-left: 0px!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 0; +} +.cart_total_bar .btn-row { + text-align: right; +} +.cart_total_bar .ui-btn { + margin: 10px 0 0 0; + display:inline-block; +} +.total_price p{ + margin:5px 0; + font-size:12px; + text-align:right +} +.cart img.img_product_cart{ + margin-top:0.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 0; + padding:10px 5px; + border:1px solid #cccccc; + box-shadow: 1px 1px 2px #cccccc; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} +.category_desc p{ + margin:0px; + padding:0px; +} +.category_desc .hide_desc { + display:none; +} +.category_desc .lnk_more { + float:right; +} +.category_desc .lnk_more .ui-btn-inner { + font-size:80%; + padding:0.4em 10px 0.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:bold; + 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:#DDDDDD; + color:#aaaaaa; + cursor:default; +} +.ui-btn.disabled .ui-btn-inner { + border-top:1px solid #dddddd; +} +.ui-btn.disabled button, +.ui-btn.disabled input { + cursor:default; +} +.ui-btn-hover-c.disabled { + border:1px solid #CCCCCC; +} + +#availability_statut { + margin: 10px 0 0 0; +} + + #availability_statut #availability_value { + background-color:#9B0000; + color:#ffffff; + text-shadow:none; + padding:0 10px; + text-transform: uppercase; + font-size:10pt; + font-weight: bold; + } +.content_prices { + margin: +} + .content_prices .online_only { + font-weight: bold; + 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:#ffffff; + text-shadow:none; + padding:0 5px; + margin: 0 0 0 5px; + font-weight: bold; + } + .content_prices .price .our_price_display { + color:#990000; + font-size:21pt; + font-weight: bold; + } + .content_prices .price .unit-price, + .content_prices .price .price-ecotax { + margin: 10px 0 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:#111111; + border-bottom:1px solid #555555; + 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 h5 { + margin:0; + color:white; + } + .accessories_block li .col-right .inner h5 { + font-size:10pt; + } + .accessories_block li .col-right .inner p { + color:#aaaaaa; + } + .accessories_block li .price { + text-align:right; + font-size:14pt; + font-weight: bold; + } + .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 0; + padding:0; + font-size:0.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 0 0 0px; + 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:#ffffff; + 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:#ffffff; +} + +/* ################################################################################################ + MY ACCOUNT +################################################################################################ */ +#list_myaccount .ui-li-icon {top: 0.7em} + +.lnk_my-account_home { + display:block; + padding:20px 0 0 0 +} + +/* ################################################################################################ + LAYERED +################################################################################################ */ +#layered {} +#layered h3 {margin:30px 0 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: black; + background: none repeat scroll 0 0 #dddddd; +} + +/* ################################################################################################ + 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: 0px; + top: 0px; + 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: normal; + font-size: 12px; +} diff --git a/themes/default/mobile/css/jqm-docs.css b/themes/default/mobile/css/jqm-docs.css new file mode 100644 index 000000000..338ded554 --- /dev/null +++ b/themes/default/mobile/css/jqm-docs.css @@ -0,0 +1,288 @@ +/* jqm docs css + +Beware: lots of last-minute CSS going on in here +cobblers, shoes, +*/ + +body { background: #dddddd; } +.ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; } +.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; background: url(../images/version.png) top right no-repeat; 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(../images/px-ccc.gif) 50% 0 repeat-y; + } + .type-interior .ui-content { + background-position: 45%; + overflow: hidden; + } + .content-secondary { + text-align: left; + float: left; + width: 45%; + background: none; + } + .content-secondary, + .type-interior .content-secondary { + margin: 30px 0 20px 2%; + padding: 20px 4% 0 0; + background: none; + border-top: none; + } + .type-index .content-secondary { + padding: 0; + } + .content-secondary .ui-collapsible { + margin: 0; + padding: 0; + } + .content-secondary .ui-collapsible-content { + border: none; + } + .type-index .content-secondary .ui-listview { + margin: 0; + } + + .ui-mobile #jqm-homeheader { + padding: 0; + } + .content-primary { + width: 45%; + float: right; + margin-top: 30px; + margin-right: 1%; + padding-right: 1%; + } + .content-primary ul:first-child { + margin-top: 0; + } + .content-secondary h2 { + position: absolute; + left: -9999px; + } + .type-interior .content-primary { + padding: 1.5em 6% 3em 0; + margin: 0; + } + /* fix up the collapsibles - expanded on desktop */ + .content-secondary .ui-collapsible-heading { + display: none; + } + .content-secondary .ui-collapsible-contain { + margin:0; + } + .content-secondary .ui-collapsible-content { + display: block; + margin: 0; + padding: 0; + } + .type-interior .content-secondary .ui-li-divider { + padding-top: 1em; + padding-bottom: 1em; + } + .type-interior .content-secondary { + margin: 0; + padding: 0; + } + +} +@media all and (min-width: 750px){ + .type-home .ui-content, + .type-interior .ui-content { + background-position: 39%; + } + .content-secondary { + width: 34%; + } + .content-primary { + width: 56%; + padding-right: 1%; + } + .type-interior .ui-content { + background-position: 34%; + } +} + +@media all and (min-width: 1200px){ + .type-home .ui-content{ + background-position: 38.5%; + } + .type-interior .ui-content { + background-position: 30%; + } + .content-secondary { + width: 30%; + padding-right:6%; + margin: 30px 0 20px 5%; + } + .type-interior .content-secondary { + margin: 0; + padding: 0; + } + .content-primary { + width: 50%; + margin-right: 5%; + padding-right: 3%; + } + .type-interior .content-primary { + width: 60%; + } +} \ No newline at end of file diff --git a/themes/default/mobile/css/jquery.mobile-1.1.1.min.css b/themes/default/mobile/css/jquery.mobile-1.1.1.min.css new file mode 100644 index 000000000..c4ce6c4a4 --- /dev/null +++ b/themes/default/mobile/css/jquery.mobile-1.1.1.min.css @@ -0,0 +1,2 @@ +/*! jQuery Mobile v1.1.1 1981b3f5ec22675ae47df8f0bdf9622e7780e90e jquerymobile.com | jquery.org/license */ +.ui-bar-a{border:1px solid #333;background:#111;color:#fff;font-weight:bold;text-shadow:0 -1px 1px #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 1px #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 1px #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 1px #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 1px #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 1px #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 1px #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 1px #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-a: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 1px #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 1px #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;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;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:#333}.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 1px #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-tl{-moz-border-radius-topleft:.6em;-webkit-border-top-left-radius:.6em;border-top-left-radius:.6em}.ui-corner-tr{-moz-border-radius-topright:.6em;-webkit-border-top-right-radius:.6em;border-top-right-radius:.6em}.ui-corner-bl{-moz-border-radius-bottomleft:.6em;-webkit-border-bottom-left-radius:.6em;border-bottom-left-radius:.6em}.ui-corner-br{-moz-border-radius-bottomright:.6em;-webkit-border-bottom-right-radius:.6em;border-bottom-right-radius:.6em}.ui-corner-top{-moz-border-radius-topleft:.6em;-webkit-border-top-left-radius:.6em;border-top-left-radius:.6em;-moz-border-radius-topright:.6em;-webkit-border-top-right-radius:.6em;border-top-right-radius:.6em}.ui-corner-bottom{-moz-border-radius-bottomleft:.6em;-webkit-border-bottom-left-radius:.6em;border-bottom-left-radius:.6em;-moz-border-radius-bottomright:.6em;-webkit-border-bottom-right-radius:.6em;border-bottom-right-radius:.6em}.ui-corner-right{-moz-border-radius-topright:.6em;-webkit-border-top-right-radius:.6em;border-top-right-radius:.6em;-moz-border-radius-bottomright:.6em;-webkit-border-bottom-right-radius:.6em;border-bottom-right-radius:.6em}.ui-corner-left{-moz-border-radius-topleft:.6em;-webkit-border-top-left-radius:.6em;border-top-left-radius:.6em;-moz-border-radius-bottomleft:.6em;-webkit-border-bottom-left-radius:.6em;border-bottom-left-radius:.6em}.ui-corner-all{-moz-border-radius:.6em;-webkit-border-radius:.6em;border-radius:.6em}.ui-corner-none{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.ui-br{border-bottom:#828282;border-bottom:rgba(130,130,130,.3);border-bottom-width:1px;border-bottom-style:solid}.ui-disabled{opacity:.3}.ui-disabled,.ui-disabled a{cursor:default!important;pointer-events:none}.ui-disabled .ui-btn-text{-ms-filter:"alpha(opacity=30)";filter:alpha(opacity=30);zoom:1}.ui-icon,.ui-icon-searchfield:after{background:#666;background:rgba(0,0,0,.4);background-image:url(../img/icons-18-white.png);background-repeat:no-repeat;-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px}.ui-icon-alt{background:#fff;background:rgba(255,255,255,.3);background-image:url(../img/icons-18-black.png);background-repeat:no-repeat}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-resolution:240dpi){.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-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:776px 18px;-o-background-size:776px 18px;-webkit-background-size:776px 18px;background-size:776px 18px}.ui-icon-alt{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:-180px 50%}.ui-icon-arrow-d{background-position:-216px 50%}.ui-icon-check{background-position:-252px 50%}.ui-icon-gear{background-position:-288px 50%}.ui-icon-refresh{background-position:-324px 50%}.ui-icon-forward{background-position:-360px 50%}.ui-icon-back{background-position:-396px 50%}.ui-icon-grid{background-position:-432px 50%}.ui-icon-star{background-position:-468px 50%}.ui-icon-alert{background-position:-504px 50%}.ui-icon-info{background-position:-540px 50%}.ui-icon-home{background-position:-576px 50%}.ui-icon-search,.ui-icon-searchfield:after{background-position:-612px 50%}.ui-icon-checkbox-off{background-position:-684px 50%}.ui-icon-checkbox-on{background-position:-648px 50%}.ui-icon-radio-off{background-position:-756px 50%}.ui-icon-radio-on{background-position:-720px 50%}.ui-checkbox .ui-icon{-moz-border-radius:3px;-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-tl{-moz-border-radius-topleft:1em;-webkit-border-top-left-radius:1em;border-top-left-radius:1em}.ui-btn-corner-tr{-moz-border-radius-topright:1em;-webkit-border-top-right-radius:1em;border-top-right-radius:1em}.ui-btn-corner-bl{-moz-border-radius-bottomleft:1em;-webkit-border-bottom-left-radius:1em;border-bottom-left-radius:1em}.ui-btn-corner-br{-moz-border-radius-bottomright:1em;-webkit-border-bottom-right-radius:1em;border-bottom-right-radius:1em}.ui-btn-corner-top{-moz-border-radius-topleft:1em;-webkit-border-top-left-radius:1em;border-top-left-radius:1em;-moz-border-radius-topright:1em;-webkit-border-top-right-radius:1em;border-top-right-radius:1em}.ui-btn-corner-bottom{-moz-border-radius-bottomleft:1em;-webkit-border-bottom-left-radius:1em;border-bottom-left-radius:1em;-moz-border-radius-bottomright:1em;-webkit-border-bottom-right-radius:1em;border-bottom-right-radius:1em}.ui-btn-corner-right{-moz-border-radius-topright:1em;-webkit-border-top-right-radius:1em;border-top-right-radius:1em;-moz-border-radius-bottomright:1em;-webkit-border-bottom-right-radius:1em;border-bottom-right-radius:1em}.ui-btn-corner-left{-moz-border-radius-topleft:1em;-webkit-border-top-left-radius:1em;border-top-left-radius:1em;-moz-border-radius-bottomleft:1em;-webkit-border-bottom-left-radius:1em;border-bottom-left-radius:1em}.ui-btn-corner-all{-moz-border-radius:1em;-webkit-border-radius:1em;border-radius:1em}.ui-corner-tl,.ui-corner-tr,.ui-corner-bl,.ui-corner-br,.ui-corner-top,.ui-corner-bottom,.ui-corner-right,.ui-corner-left,.ui-corner-all,.ui-btn-corner-tl,.ui-btn-corner-tr,.ui-btn-corner-bl,.ui-btn-corner-br,.ui-btn-corner-top,.ui-btn-corner-bottom,.ui-btn-corner-right,.ui-btn-corner-left,.ui-btn-corner-all{-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.ui-overlay{background:#666;opacity:.5;filter:Alpha(Opacity=50);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 4px rgba(0,0,0,.3);-webkit-box-shadow:0 1px 4px rgba(0,0,0,.3);box-shadow:0 1px 4px rgba(0,0,0,.3)}.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:none;-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:0}@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:0;opacity:.18;width:46px;height:46px;margin-left:-23px;margin-top:-23px}.ui-loader-verbose{width:200px;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;-moz-border-radius:36px;border-radius:36px}.ui-loader-verbose .ui-icon{margin:0 auto 10px;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;border-left-width:0;border-right-width:0;zoom:1}.ui-header .ui-btn-left,.ui-header .ui-btn-right,.ui-footer .ui-btn-left,.ui-footer .ui-btn-right{position:absolute;top:3px}.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{top:6px}.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-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 1px 1px 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}.in{-webkit-animation-timing-function:ease-out;-webkit-animation-duration:350ms;-moz-animation-timing-function:ease-out;-moz-animation-duration:350ms}.out{-webkit-animation-timing-function:ease-in;-webkit-animation-duration:225ms;-moz-animation-timing-function:ease-in;-moz-animation-duration:225}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-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}}.fade.out{opacity:0;-webkit-animation-duration:125ms;-webkit-animation-name:fadeout;-moz-animation-duration:125ms;-moz-animation-name:fadeout}.fade.in{opacity:1;-webkit-animation-duration:225ms;-webkit-animation-name:fadein;-moz-animation-duration:225ms;-moz-animation-name:fadein}.pop{-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%}.pop.in{-webkit-transform:scale(1);-moz-transform:scale(1);opacity:1;-webkit-animation-name:popin;-moz-animation-name:popin;-webkit-animation-duration:350ms;-moz-animation-duration:350ms}.pop.out{-webkit-animation-name:fadeout;-moz-animation-name:fadeout;opacity:0;-webkit-animation-duration:100ms;-moz-animation-duration:100ms}.pop.in.reverse{-webkit-animation-name:fadein;-moz-animation-name:fadein}.pop.out.reverse{-webkit-transform:scale(.8);-moz-transform:scale(.8);-webkit-animation-name:popout;-moz-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}}@-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}}@-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)}}@-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)}}@-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%)}}@-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%)}}.slide.out,.slide.in{-webkit-animation-timing-function:ease-out;-webkit-animation-duration:350ms;-moz-animation-timing-function:ease-out;-moz-animation-duration:350ms}.slide.out{-webkit-transform:translateX(-100%);-webkit-animation-name:slideouttoleft;-moz-transform:translateX(-100%);-moz-animation-name:slideouttoleft}.slide.in{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromright;-moz-transform:translateX(0);-moz-animation-name:slideinfromright}.slide.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:slideouttoright;-moz-transform:translateX(100%);-moz-animation-name:slideouttoright}.slide.in.reverse{-webkit-transform:translateX(0);-webkit-animation-name:slideinfromleft;-moz-transform:translateX(0);-moz-animation-name:slideinfromleft}.slidefade.out{-webkit-transform:translateX(-100%);-webkit-animation-name:slideouttoleft;-moz-transform:translateX(-100%);-moz-animation-name:slideouttoleft;-webkit-animation-duration:225ms;-moz-animation-duration:225ms}.slidefade.in{-webkit-transform:translateX(0);-webkit-animation-name:fadein;-moz-transform:translateX(0);-moz-animation-name:fadein;-webkit-animation-duration:200ms;-moz-animation-duration:200ms}.slidefade.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:slideouttoright;-moz-transform:translateX(100%);-moz-animation-name:slideouttoright;-webkit-animation-duration:200ms;-moz-animation-duration:200ms}.slidefade.in.reverse{-webkit-transform:translateX(0);-webkit-animation-name:fadein;-moz-transform:translateX(0);-moz-animation-name:fadein;-webkit-animation-duration:200ms;-moz-animation-duration:200ms}.slidedown.out{-webkit-animation-name:fadeout;-moz-animation-name:fadeout;-webkit-animation-duration:100ms;-moz-animation-duration:100ms}.slidedown.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfromtop;-moz-transform:translateY(0);-moz-animation-name:slideinfromtop;-webkit-animation-duration:250ms;-moz-animation-duration:250ms}.slidedown.in.reverse{-webkit-animation-name:fadein;-moz-animation-name:fadein;-webkit-animation-duration:150ms;-moz-animation-duration:150ms}.slidedown.out.reverse{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);-webkit-animation-name:slideouttotop;-moz-animation-name:slideouttotop;-webkit-animation-duration:200ms;-moz-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)}}@-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%)}}.slideup.out{-webkit-animation-name:fadeout;-moz-animation-name:fadeout;-webkit-animation-duration:100ms;-moz-animation-duration:100ms}.slideup.in{-webkit-transform:translateY(0);-webkit-animation-name:slideinfrombottom;-moz-transform:translateY(0);-moz-animation-name:slideinfrombottom;-webkit-animation-duration:250ms;-moz-animation-duration:250ms}.slideup.in.reverse{-webkit-animation-name:fadein;-moz-animation-name:fadein;-webkit-animation-duration:150ms;-moz-animation-duration:150ms}.slideup.out.reverse{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);-webkit-animation-name:slideouttobottom;-moz-animation-name:slideouttobottom;-webkit-animation-duration:200ms;-moz-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)}}@-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%)}}.viewport-flip{-webkit-perspective:1000;-moz-perspective:1000;position:absolute}.flip{-webkit-backface-visibility:hidden;-webkit-transform:translateX(0);-moz-backface-visibility:hidden;-moz-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}.flip.in{-webkit-animation-name:flipintoright;-webkit-animation-duration:225ms;-moz-animation-name:flipintoright;-moz-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}.flip.in.reverse{-webkit-animation-name:flipintoleft;-moz-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)}}@-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)}}@-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)}}@-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)}}.viewport-turn{-webkit-perspective:1000;-moz-perspective:1000;position:absolute}.turn{-webkit-backface-visibility:hidden;-webkit-transform:translateX(0);-webkit-transform-origin:0 0;-moz-backface-visibility:hidden;-moz-transform:translateX(0);-moz-transform-origin:0 0}.turn.out{-webkit-transform:rotateY(-90deg) scale(.9);-webkit-animation-name:flipouttoleft;-moz-transform:rotateY(-90deg) scale(.9);-moz-animation-name:flipouttoleft;-webkit-animation-duration:125ms;-moz-animation-duration:125ms}.turn.in{-webkit-animation-name:flipintoright;-moz-animation-name:flipintoright;-webkit-animation-duration:250ms;-moz-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}.turn.in.reverse{-webkit-animation-name:flipintoleft;-moz-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)}}@-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)}}@-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)}}@-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)}}.flow{-webkit-transform-origin:50% 30%;-moz-transform-origin:50% 30%;-webkit-box-shadow:0 0 20px rgba(0,0,0,.4);-moz-box-shadow:0 0 20px rgba(0,0,0,.4)}.ui-dialog.flow{-webkit-transform-origin:none;-moz-transform-origin:none;-webkit-box-shadow:none;-moz-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}.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}.flow.out.reverse{-webkit-transform:translateX(100%);-webkit-animation-name:flowouttoright;-moz-transform:translateX(100%);-moz-animation-name:flowouttoright}.flow.in.reverse{-webkit-animation-name:flowinfromleft;-moz-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)}}@-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)}}@-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)}}@-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)}}.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%}.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}.ui-header-fixed,.ui-footer-fixed{left:0;right:0;width:100%;position:fixed;z-index:1000}.ui-page-pre-in{opacity:0}.ui-header-fixed{top:0}.ui-footer-fixed{bottom:0}.ui-header-fullscreen,.ui-footer-fullscreen{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:-99999em}.ui-header-fixed .ui-btn,.ui-footer-fixed .ui-btn{z-index:10}.ui-navbar{max-width:100%}.ui-navbar ul{list-style:none;margin:0;padding:0;position:relative;display:block;border:0;max-width:100%;overflow:hidden}.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-btn.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-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-header .ui-fullsize .ui-btn-inner,.ui-footer .ui-fullsize .ui-btn-inner{font-size:16px;padding:.6em 25px}.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}.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-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;opacity:.1;cursor:pointer;background:#fff;background:rgba(255,255,255,0);filter:Alpha(Opacity=0);font-size:1px;border:0;text-indent:-9999px}.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:450px){.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:60%;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}}.ui-collapsible{margin:.5em 0}.ui-collapsible-heading{font-size:16px;display:block;margin:0 -8px;padding:0;border-width:0 0 1px 0;position:relative}.ui-collapsible-heading .ui-btn{text-align:left;margin:0}.ui-collapsible-heading .ui-btn-inner,.ui-collapsible-heading .ui-btn-icon-left .ui-btn-inner{padding-left:40px}.ui-collapsible-heading .ui-btn-icon-right .ui-btn-inner{padding-left:12px;padding-right:40px}.ui-collapsible-heading .ui-btn-icon-top .ui-btn-inner,.ui-collapsible-heading .ui-btn-icon-bottom .ui-btn-inner{padding-right:40px;text-align:center}.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 -8px;padding:10px 16px;border-top:0;background-image:none;font-weight:normal}.ui-collapsible-content-collapsed{display:none}.ui-collapsible-set{margin:.5em 0}.ui-collapsible-set .ui-collapsible{margin:-1px 0 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{display:block;width:100%}.ui-controlgroup li{list-style:none}.ui-controlgroup-vertical .ui-btn,.ui-controlgroup-vertical .ui-checkbox,.ui-controlgroup-vertical .ui-radio{margin:0;border-bottom-width:0}.ui-controlgroup-vertical .ui-controlgroup-last{border-bottom-width:1px}.ui-controlgroup-controls label.ui-select{position:absolute;left:-9999px}.ui-controlgroup .ui-btn-icon-notext{width:24px;height:24px}.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-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{zoom:1}.ui-controlgroup-horizontal .ui-btn-inner{text-align:center}.ui-controlgroup-horizontal .ui-btn,.ui-controlgroup-horizontal .ui-select,.ui-controlgroup-horizontal .ui-checkbox,.ui-controlgroup-horizontal .ui-radio{float:left;clear:none;margin:0 -1px 0 0}.ui-controlgroup-horizontal .ui-select .ui-btn,.ui-controlgroup-horizontal .ui-checkbox .ui-btn,.ui-controlgroup-horizontal .ui-radio .ui-btn,.ui-controlgroup-horizontal .ui-checkbox:last-child,.ui-controlgroup-horizontal .ui-radio:last-child{margin-right:0}.ui-controlgroup-horizontal .ui-controlgroup-last{margin-right:0}.ui-controlgroup .ui-checkbox label,.ui-controlgroup .ui-radio label{font-size:16px}@media all and (min-width:450px){.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:60%;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}.ui-dialog .ui-header{margin-top:15%;border:0;overflow:hidden}.ui-dialog .ui-header,.ui-dialog .ui-content,.ui-dialog .ui-footer{display:block;position:relative;width:auto}.ui-dialog .ui-header,.ui-dialog .ui-footer{z-index:10;padding:0}.ui-dialog .ui-footer{padding:0 15px}.ui-dialog .ui-content{padding:15px}.ui-dialog{margin-top:-15px}.ui-checkbox,.ui-radio{position:relative;clear:both;margin:0;z-index:1}.ui-checkbox .ui-btn,.ui-radio .ui-btn{margin:.5em 0;text-align:left;z-index:2}.ui-checkbox .ui-btn.ui-mini,.ui-radio .ui-btn.ui-mini{margin:.25em 0}.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-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:450px){.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{overflow:hidden;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%;opacity:0;-ms-filter:"alpha(opacity=0)";filter:alpha(opacity=0);z-index:2}.ui-select .ui-disabled{opacity:.3}@-moz-document url-prefix(){.ui-select .ui-btn select{opacity:.0001}}.ui-select .ui-btn.ui-select-nativeonly{border-radius:0}.ui-select .ui-btn.ui-select-nativeonly select{opacity:1;text-indent: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{position:absolute;padding:0;z-index:1100!important;width:80%;max-width:350px;padding:6px}.ui-selectmenu .ui-listview{margin:0}.ui-selectmenu .ui-btn.ui-li-divider{cursor:default}.ui-selectmenu-hidden{top:-99999px;left:-9999px}.ui-selectmenu-screen{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99}.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 .ui-title{margin:.6em 46px .8em}@media all and (min-width:450px){.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:60%;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;line-height:1.4;font-size:16px;display:block;width:100%;outline:0}input.ui-input-text.ui-mini,textarea.ui-input-text.ui-mini{margin:.25em 0}.ui-field-contain input.ui-input-text,.ui-field-contain textarea.ui-input-text{margin:0}input.ui-input-text,textarea.ui-input-text,.ui-input-search{-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}.ui-input-search{padding:0 30px;margin:.5em 0;background-image:none;position:relative}.ui-input-search.ui-mini{margin:.25em 0}.ui-field-contain .ui-input-search{margin:0}.ui-icon-searchfield:after{position:absolute;left:7px;top:50%;margin-top:-9px;content:"";width:18px;height:18px;opacity:.5}.ui-input-search input.ui-input-text{border:0;width:98%;padding:.4em 0;margin:0;display:block;background:transparent none;outline:0!important}.ui-input-search .ui-input-clear{position:absolute;right:0;top:50%;margin-top:-13px}.ui-mini .ui-input-clear{right:-3px}.ui-input-search .ui-input-clear-hidden{display:none}input.ui-mini,.ui-mini input,textarea.ui-mini{font-size:14px}textarea.ui-mini{height:45px}@media all and (min-width:450px){.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{width:60%;display:inline-block}.ui-hide-label input.ui-input-text,.ui-hide-label textarea.ui-input-text,.ui-hide-label .ui-input-search{width:100%}.ui-input-search input.ui-input-text{width:98%}}.ui-listview{margin:0;counter-reset:listnumbering}.ui-content .ui-listview{margin:-15px}.ui-content .ui-listview-inset{margin:1em 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-text a.ui-link-inherit{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ui-li-divider,.ui-li-static{padding:.5em 15px;font-size:14px;font-weight:bold}.ui-li-divider .ui-btn-text,.ui-li-static .ui-btn-text{font-size:16px}.ui-li-divider .ui-mini .ui-btn-text,.ui-li-static .ui-mini .ui-btn-text{font-size:inherit}.ui-li-divider{counter-reset:listnumbering}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-inset .ui-li{border-right-width:1px;border-left-width:1px}.ui-li:last-child,.ui-li.ui-field-contain:last-child{border-bottom-width:1px}.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:60px;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-listview-filter .ui-input-search{margin:5px;width:auto;display:block}.ui-listview-filter-inset{margin:-15px -5px -15px -5px;background:transparent}.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 0 .3em;display:block}input.ui-slider-input,.ui-field-contain input.ui-slider-input{display:inline-block;width:50px;background-image:none;padding:.4em;margin:.5em 0;line-height:1.4;font-size:16px;outline:0}input.ui-slider-input.ui-mini,.ui-field-contain input.ui-slider-input.ui-mini{width:45px;margin:.25em 0;font-size:14px}.ui-field-contain input.ui-slider-input{margin:0}input.ui-slider-input,.ui-field-contain input.ui-slider-input{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}select.ui-slider-switch{display:none}div.ui-slider{position:relative;display:inline-block;overflow:visible;height:15px;padding:0;margin:0 2% 0 20px;top:4px;width:65%}div.ui-slider-mini{height:12px;margin-left:10px;top:2px}div.ui-slider-bg{border:0;height:100%;padding-right:8px}.ui-controlgroup a.ui-slider-handle,a.ui-slider-handle{position:absolute;z-index:1;top:50%;width:28px;height:28px;margin-top:-15px;margin-left:-15px;outline:0}a.ui-slider-handle .ui-btn-inner{padding:0;height:100%}div.ui-slider-mini a.ui-slider-handle{height:14px;width:14px;margin:-8px 0 0 -7px}div.ui-slider-mini a.ui-slider-handle .ui-btn-inner{height:30px;width:30px;padding:0;margin:-9px 0 0 -9px;border-top:0}@media all and (min-width:450px){.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{width:43%}.ui-field-contain div.ui-slider-switch{width:5.5em}}div.ui-slider-switch{height:32px;margin-left:0;width:5.8em}a.ui-slider-handle-snapping{-webkit-transition:left 70ms linear;-moz-transition:left 70ms linear}div.ui-slider-switch .ui-slider-handle{margin-top:1px}.ui-slider-inneroffset{margin:0 16px;position:relative;z-index:1}div.ui-slider-switch.ui-slider-mini{width:5em;height:29px}div.ui-slider-switch.ui-slider-mini .ui-slider-inneroffset{margin:0 15px 0 14px}div.ui-slider-switch.ui-slider-mini .ui-slider-handle{width:25px;height:25px;margin:1px 0 0 -13px}div.ui-slider-switch.ui-slider-mini a.ui-slider-handle .ui-btn-inner{height:30px;width:30px;padding:0;margin:0}span.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}.ui-slider-mini span.ui-slider-label{font-size:14px}span.ui-slider-label-a{z-index:1;left:0;text-indent:-1.5em}span.ui-slider-label-b{z-index:0;right:0;text-indent:1.5em}.ui-slider-inline{width:120px;display:inline-block} diff --git a/themes/default/mobile/css/maintenance.css b/themes/default/mobile/css/maintenance.css new file mode 100644 index 000000000..c145ce287 --- /dev/null +++ b/themes/default/mobile/css/maintenance.css @@ -0,0 +1,20 @@ +#maintenance { + margin:0 auto; + width:100%; + font:normal 20px Arial, Verdana, sans-serif; + font-weight: bold; + color:#333; +} +#maintenance #store { + text-align:center; +} +#maintenance #message { + margin:20px 20px; + text-align:center; +} +#maintenance #prestashop { + background:url(../img/bg_maintenance.png) no-repeat 100% 0 #fff; + background-position:center bottom; + height:360px; + margin: 60px; +} \ No newline at end of file diff --git a/themes/default/mobile/discount.tpl b/themes/default/mobile/discount.tpl new file mode 100644 index 000000000..3b5fe4f53 --- /dev/null +++ b/themes/default/mobile/discount.tpl @@ -0,0 +1,87 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6599 $ +* @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 possess any vouchers.'}

    + {/if} + +
    \ No newline at end of file diff --git a/themes/default/mobile/errors.tpl b/themes/default/mobile/errors.tpl new file mode 100644 index 000000000..d51c24160 --- /dev/null +++ b/themes/default/mobile/errors.tpl @@ -0,0 +1,58 @@ +{* +* 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 +* @version Release: $Revision: 6594 $ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($errors) && $errors} + +{/if} diff --git a/themes/default/mobile/footer.tpl b/themes/default/mobile/footer.tpl new file mode 100644 index 000000000..9e51eb23e --- /dev/null +++ b/themes/default/mobile/footer.tpl @@ -0,0 +1,51 @@ +{* +* 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 +* @version Release: $Revision: 6594 $ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
    + + diff --git a/themes/default/mobile/header.tpl b/themes/default/mobile/header.tpl new file mode 100644 index 000000000..ac1fde5fa --- /dev/null +++ b/themes/default/mobile/header.tpl @@ -0,0 +1,82 @@ +{* +* 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 +* @version Release: $Revision: 6594 $ +* @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/mobile/history.tpl b/themes/default/mobile/history.tpl new file mode 100644 index 000000000..0ee788cac --- /dev/null +++ b/themes/default/mobile/history.tpl @@ -0,0 +1,64 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6599 $ +* @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 have placed since the creation of your account'}.

    + + {if $slowValidation}

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

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

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

    + {/if} +
    + +
    \ No newline at end of file diff --git a/themes/default/mobile/identity.tpl b/themes/default/mobile/identity.tpl new file mode 100644 index 000000000..9776e0da9 --- /dev/null +++ b/themes/default/mobile/identity.tpl @@ -0,0 +1,110 @@ +{* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6599 $ +* @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 e-mail:'} {$email|escape:'htmlall':'UTF-8'}{/if} +

    +{else} +

    {l s='Please do not hesitate 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 or law here, if applicable]'} +

    +
    +{/if} +
    diff --git a/themes/default/mobile/img/ajax-loader.gif b/themes/default/mobile/img/ajax-loader.gif new file mode 100644 index 000000000..fd1a189c2 Binary files /dev/null and b/themes/default/mobile/img/ajax-loader.gif differ diff --git a/themes/default/mobile/img/ajax-loader.png b/themes/default/mobile/img/ajax-loader.png new file mode 100644 index 000000000..13b208ddd Binary files /dev/null and b/themes/default/mobile/img/ajax-loader.png differ diff --git a/themes/default/mobile/img/bg_maintenance.png b/themes/default/mobile/img/bg_maintenance.png new file mode 100644 index 000000000..f95c88e1d Binary files /dev/null and b/themes/default/mobile/img/bg_maintenance.png differ diff --git a/themes/default/mobile/img/icon/addrbook.png b/themes/default/mobile/img/icon/addrbook.png new file mode 100644 index 000000000..b97ef763e Binary files /dev/null and b/themes/default/mobile/img/icon/addrbook.png differ diff --git a/themes/default/mobile/img/icon/favorite.png b/themes/default/mobile/img/icon/favorite.png new file mode 100644 index 000000000..fc648f23e Binary files /dev/null and b/themes/default/mobile/img/icon/favorite.png differ diff --git a/themes/default/mobile/img/icon/gift.png b/themes/default/mobile/img/icon/gift.png new file mode 100644 index 000000000..e50d855cb Binary files /dev/null and b/themes/default/mobile/img/icon/gift.png differ diff --git a/themes/default/mobile/img/icon/home.png b/themes/default/mobile/img/icon/home.png new file mode 100644 index 000000000..f8e824a2e Binary files /dev/null and b/themes/default/mobile/img/icon/home.png differ diff --git a/themes/default/mobile/img/icon/my-account.png b/themes/default/mobile/img/icon/my-account.png new file mode 100644 index 000000000..d09cce653 Binary files /dev/null and b/themes/default/mobile/img/icon/my-account.png differ diff --git a/themes/default/mobile/img/icon/order.png b/themes/default/mobile/img/icon/order.png new file mode 100644 index 000000000..a5ff19c1b Binary files /dev/null and b/themes/default/mobile/img/icon/order.png differ diff --git a/themes/default/mobile/img/icon/return.png b/themes/default/mobile/img/icon/return.png new file mode 100644 index 000000000..97c055a8f Binary files /dev/null and b/themes/default/mobile/img/icon/return.png differ diff --git a/themes/default/mobile/img/icon/slip.png b/themes/default/mobile/img/icon/slip.png new file mode 100644 index 000000000..b9cbacdb5 Binary files /dev/null and b/themes/default/mobile/img/icon/slip.png differ diff --git a/themes/default/mobile/img/icon/userinfos.png b/themes/default/mobile/img/icon/userinfos.png new file mode 100644 index 000000000..a9f7a0353 Binary files /dev/null and b/themes/default/mobile/img/icon/userinfos.png differ diff --git a/themes/default/mobile/img/icon/voucher.png b/themes/default/mobile/img/icon/voucher.png new file mode 100644 index 000000000..6ba16dbb3 Binary files /dev/null and b/themes/default/mobile/img/icon/voucher.png differ diff --git a/themes/default/mobile/img/icons-18-black.png b/themes/default/mobile/img/icons-18-black.png new file mode 100644 index 000000000..ce1b758ad Binary files /dev/null and b/themes/default/mobile/img/icons-18-black.png differ diff --git a/themes/default/mobile/img/icons-18-white.png b/themes/default/mobile/img/icons-18-white.png new file mode 100644 index 000000000..1ab012723 Binary files /dev/null and b/themes/default/mobile/img/icons-18-white.png differ diff --git a/themes/default/mobile/img/icons-36-black.png b/themes/default/mobile/img/icons-36-black.png new file mode 100644 index 000000000..1a59d7c37 Binary files /dev/null and b/themes/default/mobile/img/icons-36-black.png differ diff --git a/themes/default/mobile/img/icons-36-white.png b/themes/default/mobile/img/icons-36-white.png new file mode 100644 index 000000000..5647bdc94 Binary files /dev/null and b/themes/default/mobile/img/icons-36-white.png differ diff --git a/themes/default/mobile/img/img_cart.png b/themes/default/mobile/img/img_cart.png new file mode 100644 index 000000000..2d1235c7a Binary files /dev/null and b/themes/default/mobile/img/img_cart.png differ diff --git a/themes/default/mobile/img/logo.png b/themes/default/mobile/img/logo.png new file mode 100644 index 000000000..fa425934f Binary files /dev/null and b/themes/default/mobile/img/logo.png differ diff --git a/themes/default/mobile/img/slider_home.png b/themes/default/mobile/img/slider_home.png new file mode 100644 index 000000000..82ca6df7c Binary files /dev/null and b/themes/default/mobile/img/slider_home.png differ diff --git a/themes/default/mobile/index.tpl b/themes/default/mobile/index.tpl new file mode 100644 index 000000000..8694db631 --- /dev/null +++ b/themes/default/mobile/index.tpl @@ -0,0 +1,29 @@ +{* +* 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 +* @version Release: $Revision: 6594 $ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
    + {hook h="DisplayMobileIndex"} + {include file='./sitemap.tpl'} +
    diff --git a/themes/default/mobile/js/cart.js b/themes/default/mobile/js/cart.js new file mode 100644 index 000000000..c4d596919 --- /dev/null +++ b/themes/default/mobile/js/cart.js @@ -0,0 +1,110 @@ +$( '.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: 'GET', + url: baseDir, + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart&ajax=true&add&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: 'GET', + url: baseDir, + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart&ajax=true&delete&summary&id_product='+id+'&ipa='+productAttributeId+'&id_address_delivery='+id_address_delivery+ ( (customizationId != 0) ? '&id_customization='+customizationId : '') + '&token=' + static_token , + success: function(jsonData) + { + if (!jsonData.hasError) + { + if (jsonData.refresh) + location.reload(); + $("#cart_total_products").html(jsonData.summary.total_products_wt); + $("#cart_total_price").html(jsonData.summary.total_price); + $("#element_product_"+id).fadeOut(); + } + } + }); + } + , + updData : function(data) + { + var products = data.summary.products; + + $(products).each(function(i){ + price = this.price_wt * this.quantity; + $("#grouped_buttons_card_"+this.id_product+"_totsheet").html((price).toFixed(2)); + }); + + $("#cart_total_products").html(data.summary.total_products_wt); + $("#cart_total_price").html(data.summary.total_price); + } + } +})(); diff --git a/themes/default/mobile/js/global.js b/themes/default/mobile/js/global.js new file mode 100644 index 000000000..b9660f095 --- /dev/null +++ b/themes/default/mobile/js/global.js @@ -0,0 +1,42 @@ +// Allows to set the same height on ui-block element +// for #category-list items. +$( '.prestashop-page' ).live( 'pageshow',function(event) +{ + if ($('.ui-grid-a.same-height').length) + { + $('.ui-grid-a.same-height .ui-block-a').each(function() + { + if ($(this).height() != $(this).next('.ui-block-b').height()) + { + var height1 = $(this).height(); + var height2 = $(this).next('.ui-block-b').height(); + if (height1 < height2) { + $(this).height(height2).find('.ui-btn-inner.ui-li').height(height2); + if ($(this).find('.ui-bar').length) { + var less_h = [ + parseInt($(this).find('.ui-bar').css('padding-top')), + parseInt($(this).find('.ui-bar').css('padding-bottom')), + parseInt($(this).find('.ui-bar').css('border-top-width')), + parseInt($(this).find('.ui-bar').css('border-bottom-width')) + ]; + $(this).find('.ui-bar').height(height2-less_h[0]-less_h[1]-less_h[2]-less_h[3]); + } + } else { + $(this).next('.ui-block-b').height(height1).find('.ui-btn-inner.ui-li').height(height1); + } + } + }); + } +}); + +$( '.prestashop-page' ).live( 'pageinit',function(event) +{ + if ($('.wrapper_pagination_mobile').length) + { + $('.wrapper_pagination_mobile').find('.disabled').live('click', function(e) + { + e.preventDefault(); + return false; + }); + } +}); \ No newline at end of file diff --git a/themes/default/mobile/js/history.js b/themes/default/mobile/js/history.js new file mode 100644 index 000000000..cfcdd7602 --- /dev/null +++ b/themes/default/mobile/js/history.js @@ -0,0 +1,124 @@ +/* +* 2007-2012 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-2012 PrestaShop SA +* @version Release: $Revision: 6594 $ +* @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", + url: baseDir + "index.php?controller=order-detail", + data: paramString, + success: function (msg){ + $('#block-order-detail').fadeOut('slow', function() { + $(this).html(msg); + //catch the submit event of sendOrderMessage form + $('form#sendOrderMessage').submit(function(){ + return sendOrderMessage(); + }); + $(this).fadeIn('slow'); + }); + } + }); + return false; +} diff --git a/themes/default/mobile/js/jqm-docs.js b/themes/default/mobile/js/jqm-docs.js new file mode 100644 index 000000000..0e68ddbf1 --- /dev/null +++ b/themes/default/mobile/js/jqm-docs.js @@ -0,0 +1,53 @@ +//set up the theme switcher on the homepage +$('div').live('pagecreate',function(event) +{ + if ( !$(this).is('.ui-dialog')) + { + var appendEl = $(this).find('.ui-footer:last'); + if ( !appendEl.length ) { + appendEl = $(this).find('.ui-content'); + } + if( appendEl.is("[data-position]") ) { + return; + } + /*$('Switch theme') + .buttonMarkup({ + 'icon':'gear', + 'inline': true, + 'shadow': false, + 'theme': 'd' + }) + .appendTo( appendEl ) + .wrap('
    ') + .bind( "vclick", function(){ + $.themeswitcher(); + });*/ + } +}); + +//collapse page navs after use +$(function() +{ + $('body').delegate('.content-secondary .ui-collapsible-content', 'click', function() { + $(this).trigger("collapse") + }); +}); + +function setDefaultTransition() +{ + var winwidth = $( window ).width(), + trans ="slide"; + if( winwidth >= 1000 ){ + trans = "none"; + } + else if( winwidth >= 650 ){ + trans = "fade"; + } + $.mobile.defaultPageTransition = trans; +} + +$(function() +{ + setDefaultTransition(); + $( window ).bind( "throttledresize", setDefaultTransition ); +}); \ No newline at end of file diff --git a/themes/default/mobile/js/jquery.mobile-1.1.1.min.js b/themes/default/mobile/js/jquery.mobile-1.1.1.min.js new file mode 100644 index 000000000..70f71928f --- /dev/null +++ b/themes/default/mobile/js/jquery.mobile-1.1.1.min.js @@ -0,0 +1,181 @@ +/*! jQuery Mobile v1.1.1 1981b3f5ec22675ae47df8f0bdf9622e7780e90e jquerymobile.com | jquery.org/license */ +(function(l,t,k){typeof define==="function"&&define.amd?define(["jquery"],function(E){k(E,l,t);return E.mobile}):k(l.jQuery,l,t)})(this,document,function(l,t,k,E){(function(a,c,b,d){function e(a){for(;a&&typeof a.originalEvent!=="undefined";)a=a.originalEvent;return a}function g(b){for(var e={},g,d;b;){g=a.data(b,s);for(d in g)if(g[d])e[d]=e.hasVirtualBinding=true;b=b.parentNode}return e}function f(){y&&(clearTimeout(y),y=0);y=setTimeout(function(){G=y=0;A.length=0;F=false;H=true},a.vmouse.resetTimerDuration)} +function j(b,g,c){var f,h;if(!(h=c&&c[b])){if(c=!c)a:{for(c=g.target;c;){if((h=a.data(c,s))&&(!b||h[b]))break a;c=c.parentNode}c=null}h=c}if(h){f=g;var c=f.type,j,F;f=a.Event(f);f.type=b;h=f.originalEvent;j=a.event.props;c.search(/^(mouse|click)/)>-1&&(j=w);if(h)for(F=j.length;F;)b=j[--F],f[b]=h[b];if(c.search(/mouse(down|up)|click/)>-1&&!f.which)f.which=1;if(c.search(/^touch/)!==-1&&(b=e(h),c=b.touches,b=b.changedTouches,c=c&&c.length?c[0]:b&&b.length?b[0]:d))for(h=0,len=x.length;hh||Math.abs(c.pageY-C)>h;flags=g(b.target);z&&!d&&j("vmousecancel",b,flags);j("vmousemove",b,flags);f()}}function v(a){if(!H){H=true;var b=g(a.target),c;j("vmouseup",a,b);if(!z&&(c=j("vclick",a,b))&&c.isDefaultPrevented())c=e(a).changedTouches[0],A.push({touchID:G,x:c.clientX,y:c.clientY}),F=true;j("vmouseout",a,b);z=false;f()}}function n(b){var b= +a.data(b,s),e;if(b)for(e in b)if(b[e])return true;return false}function k(){}function p(b){var e=b.substr(1);return{setup:function(){n(this)||a.data(this,s,{});a.data(this,s)[b]=true;l[b]=(l[b]||0)+1;l[b]===1&&J.bind(e,h);a(this).bind(e,k);if(M)l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&J.bind("touchstart",q).bind("touchend",v).bind("touchmove",m).bind("scroll",o)},teardown:function(){--l[b];l[b]||J.unbind(e,h);M&&(--l.touchstart,l.touchstart||J.unbind("touchstart",q).unbind("touchmove",m).unbind("touchend", +v).unbind("scroll",o));var g=a(this),c=a.data(this,s);c&&(c[b]=false);g.unbind(e,k);n(this)||g.removeData(s)}}}var s="virtualMouseBindings",u="virtualTouchID",c="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),x="clientX clientY pageX pageY screenX screenY".split(" "),w=a.event.props.concat(a.event.mouseHooks?a.event.mouseHooks.props:[]),l={},y=0,t=0,C=0,z=false,A=[],F=false,H=false,M="addEventListener"in b,J=a(b),N=1,G=0;a.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10, +resetTimerDuration:1500};for(var K=0;K7);a.fn[e]=function(a){return a?this.bind(e,a):this.trigger(e)};a.fn[e].delay=50;j[e]=a.extend(j[e],{setup:function(){if(q)return false;a(f.start)},teardown:function(){if(q)return false;a(f.stop)}});f=function(){function f(){var b=d(),g=s(n);if(b!==n)p(n=b,g),a(c).trigger(e);else if(g!==n)location.href=location.href.replace(/#.*/,"")+g;j=setTimeout(f,a.fn[e].delay)}var h={},j,n=d(),k=function(a){return a},p= +k,s=k;h.start=function(){j||f()};h.stop=function(){j&&clearTimeout(j);j=b};a.browser.msie&&!q&&function(){var b,c;h.start=function(){if(!b)c=(c=a.fn[e].src)&&c+d(),b=a('