Version Notes
Magento Theme - Bluescale 2013 (Web-Experiment.Info)
Download this release
Release Info
Developer | Magento Core Team |
Extension | wp_theme_bluescale_2013 |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- app/code/local/Mage/Catalog/Block/Product/Manufacturer.php +13 -0
- app/code/local/Mage/Catalog/Block/Product/Popular.php +104 -0
- app/code/local/WP/ThemeBluescale/Block/About.php +202 -0
- app/code/local/WP/ThemeBluescale/Helper/Data.php +6 -0
- app/code/local/WP/ThemeBluescale/etc/config.xml +76 -0
- app/code/local/WP/ThemeBluescale/etc/system.xml +58 -0
- app/design/frontend/default/bluescale/etc/widget.xml +166 -0
- app/design/frontend/default/bluescale/layout/local.xml +87 -0
- app/design/frontend/default/bluescale/layout/quickcontact.xml +29 -0
- app/design/frontend/default/bluescale/locale/da_DK/translate.csv +1 -0
- app/design/frontend/default/bluescale/locale/en_US/translate.csv +1 -0
- app/design/frontend/default/bluescale/locale/ru_RU/translate.csv +2 -0
- app/design/frontend/default/bluescale/template/callouts/left_col.phtml +26 -0
- app/design/frontend/default/bluescale/template/callouts/right_col.phtml +26 -0
- app/design/frontend/default/bluescale/template/catalog/navigation/top.phtml +45 -0
- app/design/frontend/default/bluescale/template/catalog/product/compare/sidebar.phtml +58 -0
- app/design/frontend/default/bluescale/template/catalog/product/home_full.phtml +45 -0
- app/design/frontend/default/bluescale/template/catalog/product/home_rating.phtml +37 -0
- app/design/frontend/default/bluescale/template/catalog/product/home_short.phtml +33 -0
- app/design/frontend/default/bluescale/template/catalog/product/list.phtml +139 -0
- app/design/frontend/default/bluescale/template/catalog/product/list/upsell.phtml +52 -0
- app/design/frontend/default/bluescale/template/catalog/product/popular.phtml +36 -0
- app/design/frontend/default/bluescale/template/catalog/product/price.phtml +426 -0
- app/design/frontend/default/bluescale/template/catalog/product/view.phtml +120 -0
- app/design/frontend/default/bluescale/template/checkout/cart/sidebar-top.phtml +50 -0
- app/design/frontend/default/bluescale/template/checkout/cart/sidebar/default.phtml +124 -0
- app/design/frontend/default/bluescale/template/page/html/footer.phtml +33 -0
- app/design/frontend/default/bluescale/template/page/html/head.phtml +45 -0
- app/design/frontend/default/bluescale/template/page/html/header.phtml +54 -0
- app/design/frontend/default/bluescale/template/page/html/topmenu.phtml +42 -0
- app/design/frontend/default/bluescale/template/quickcontact/form.phtml +85 -0
- app/design/frontend/default/bluescale/template/review/helper/summary.phtml +43 -0
- app/design/frontend/default/bluescale/template/review/helper/summary_short.phtml +38 -0
- app/etc/modules/WP_ThemeBluescale.xml +10 -0
- media/template/cards.jpg +0 -0
- media/template/custom_menu_image.gif +0 -0
- media/template/home_image01.jpg +0 -0
- media/template/home_image02.jpg +0 -0
- media/template/home_right_bt.jpg +0 -0
- media/template/home_right_top.jpg +0 -0
- media/template/left_image.jpg +0 -0
- media/template/magento_template.jpg +0 -0
- media/template/magento_theme.jpg +0 -0
- media/template/options.gif +0 -0
- media/template/paypal_small.png +0 -0
- media/template/social_icons/audioboo.png +0 -0
- media/template/social_icons/bebo.png +0 -0
- media/template/social_icons/behance.png +0 -0
- media/template/social_icons/blogger.png +0 -0
- media/template/social_icons/buzz.png +0 -0
- media/template/social_icons/creativecommons.png +0 -0
- media/template/social_icons/dailybooth.png +0 -0
- media/template/social_icons/delicious.png +0 -0
- media/template/social_icons/designfloat.png +0 -0
- media/template/social_icons/deviantart.png +0 -0
- media/template/social_icons/digg.png +0 -0
- media/template/social_icons/dopplr.png +0 -0
- media/template/social_icons/dribbble.png +0 -0
- media/template/social_icons/email.png +0 -0
- media/template/social_icons/ember.png +0 -0
- media/template/social_icons/facebook.png +0 -0
- media/template/social_icons/flickr.png +0 -0
- media/template/social_icons/forrst.png +0 -0
- media/template/social_icons/friendfeed.png +0 -0
- media/template/social_icons/google.png +0 -0
- media/template/social_icons/gowalla.png +0 -0
- media/template/social_icons/grooveshark.png +0 -0
- media/template/social_icons/hyves.png +0 -0
- media/template/social_icons/lastfm.png +0 -0
- media/template/social_icons/linkedin.png +0 -0
- media/template/social_icons/livejournal.png +0 -0
- media/template/social_icons/lockerz.png +0 -0
- media/template/social_icons/megavideo.png +0 -0
- media/template/social_icons/myspace.png +0 -0
- media/template/social_icons/piano.png +0 -0
- media/template/social_icons/playfire.png +0 -0
- media/template/social_icons/playstation.png +0 -0
- media/template/social_icons/reddit.png +0 -0
- media/template/social_icons/rss.png +0 -0
- media/template/social_icons/skype.png +0 -0
- media/template/social_icons/socialvibe.png +0 -0
- media/template/social_icons/soundcloud.png +0 -0
- media/template/social_icons/spotify.png +0 -0
- media/template/social_icons/steam.png +0 -0
- media/template/social_icons/stumbleupon.png +0 -0
- media/template/social_icons/technorati.png +0 -0
- media/template/social_icons/tumblr.png +0 -0
- media/template/social_icons/twitpic.png +0 -0
- media/template/social_icons/twitter.png +0 -0
- media/template/social_icons/typepad.png +0 -0
- media/template/social_icons/vimeo.png +0 -0
- media/template/social_icons/wakoopa.png +0 -0
- media/template/social_icons/wordpress.png +0 -0
- media/template/social_icons/xing.png +0 -0
- media/template/social_icons/yahoo.png +0 -0
- media/template/social_icons/youtube.png +0 -0
- package.xml +18 -0
- skin/frontend/default/bluescale/css/skin.css +2837 -0
- skin/frontend/default/bluescale/css/slider.css +163 -0
- skin/frontend/default/bluescale/css/webandpeople/custommenu/custommenu.css +195 -0
- skin/frontend/default/bluescale/favicon.ico +0 -0
- skin/frontend/default/bluescale/images/add_btn_split.gif +0 -0
- skin/frontend/default/bluescale/images/arr_btn_split.gif +0 -0
- skin/frontend/default/bluescale/images/b_arrow.gif +0 -0
- skin/frontend/default/bluescale/images/bg_blue.gif +0 -0
- skin/frontend/default/bluescale/images/bg_flower.jpg +0 -0
- skin/frontend/default/bluescale/images/bg_grey.gif +0 -0
- skin/frontend/default/bluescale/images/bg_nt.gif +0 -0
- skin/frontend/default/bluescale/images/bg_white.gif +0 -0
- skin/frontend/default/bluescale/images/bkg_nav2.gif +0 -0
- skin/frontend/default/bluescale/images/bkg_rating.gif +0 -0
- skin/frontend/default/bluescale/images/block_head_cart.gif +0 -0
- skin/frontend/default/bluescale/images/block_head_compare.gif +0 -0
- skin/frontend/default/bluescale/images/block_head_popular.gif +0 -0
- skin/frontend/default/bluescale/images/block_head_subscribe.gif +0 -0
- skin/frontend/default/bluescale/images/block_head_wish.gif +0 -0
- skin/frontend/default/bluescale/images/blue_btn_split.gif +0 -0
- skin/frontend/default/bluescale/images/breadcrumbs_sp.gif +0 -0
- skin/frontend/default/bluescale/images/btn_remove.gif +0 -0
- skin/frontend/default/bluescale/images/btn_remove2.gif +0 -0
- skin/frontend/default/bluescale/images/btn_trash.gif +0 -0
- skin/frontend/default/bluescale/images/button-small-split.gif +0 -0
- skin/frontend/default/bluescale/images/comp.gif +0 -0
- skin/frontend/default/bluescale/images/dd.gif +0 -0
- skin/frontend/default/bluescale/images/em_quickshop_preview.png +0 -0
- skin/frontend/default/bluescale/images/email.gif +0 -0
- skin/frontend/default/bluescale/images/footer_links_block_line.gif +0 -0
- skin/frontend/default/bluescale/images/four_banners_menumar.gif +0 -0
- skin/frontend/default/bluescale/images/gift-message-collapse.gif +0 -0
- skin/frontend/default/bluescale/images/gift-message-expand.gif +0 -0
- skin/frontend/default/bluescale/images/gr_arrow.gif +0 -0
- skin/frontend/default/bluescale/images/header_links_sp.gif +0 -0
- skin/frontend/default/bluescale/images/home_bg.png +0 -0
- skin/frontend/default/bluescale/images/i_asc_arrow.gif +0 -0
- skin/frontend/default/bluescale/images/i_desc_arrow.gif +0 -0
- skin/frontend/default/bluescale/images/i_pager-next.gif +0 -0
- skin/frontend/default/bluescale/images/i_pager-prev.gif +0 -0
- skin/frontend/default/bluescale/images/icon_home.gif +0 -0
- skin/frontend/default/bluescale/images/join_bg.gif +0 -0
- skin/frontend/default/bluescale/images/join_us_block_bg.gif +0 -0
- skin/frontend/default/bluescale/images/l_arr_btn_split.gif +0 -0
- skin/frontend/default/bluescale/images/logo.gif +0 -0
- skin/frontend/default/bluescale/images/magnifier_handle.gif +0 -0
- skin/frontend/default/bluescale/images/main_nav_sp.gif +0 -0
- skin/frontend/default/bluescale/images/nav_arrow.gif +0 -0
- skin/frontend/default/bluescale/images/page_bg.gif +0 -0
- skin/frontend/default/bluescale/images/product_view.gif +0 -0
- skin/frontend/default/bluescale/images/r_arr_btn_split.gif +0 -0
- skin/frontend/default/bluescale/images/search_btn.gif +0 -0
- skin/frontend/default/bluescale/images/slider/arr_left.png +0 -0
- skin/frontend/default/bluescale/images/slider/arr_right.png +0 -0
- skin/frontend/default/bluescale/images/slider_btn_zoom_in.gif +0 -0
- skin/frontend/default/bluescale/images/slider_btn_zoom_out.gif +0 -0
- skin/frontend/default/bluescale/images/slider_num.gif +0 -0
- skin/frontend/default/bluescale/images/small_btn_split.gif +0 -0
- skin/frontend/default/bluescale/images/sort_asc_arrow.gif +0 -0
- skin/frontend/default/bluescale/images/sort_desc_arrow.gif +0 -0
- skin/frontend/default/bluescale/images/subscribe_btn.gif +0 -0
- skin/frontend/default/bluescale/images/subscribe_input.gif +0 -0
- skin/frontend/default/bluescale/images/wish.gif +0 -0
- skin/frontend/default/bluescale/js/cycle-fade-effect.js +1258 -0
- skin/frontend/default/bluescale/js/em_quickshop.js +143 -0
- skin/frontend/default/bluescale/js/jquery-1.5.2.min.js +16 -0
- skin/frontend/default/bluescale/js/noconflict.js +1 -0
- skin/frontend/default/bluescale/js/slider.js +16 -0
- skin/frontend/default/bluescale/quickcontact/css/form-contact.css +176 -0
- skin/frontend/default/bluescale/quickcontact/images/bg-form.jpg +0 -0
- skin/frontend/default/bluescale/quickcontact/images/btn_feedback.png +0 -0
- skin/frontend/default/bluescale/quickcontact/images/btn_feedback_hover.png +0 -0
- skin/frontend/default/bluescale/quickcontact/images/close.jpg +0 -0
- skin/frontend/default/bluescale/quickcontact/images/close1.jpg +0 -0
- skin/frontend/default/bluescale/quickcontact/images/opc-ajax-loader.gif +0 -0
- skin/frontend/default/bluescale/quickcontact/images/submit.jpg +0 -0
- skin/frontend/default/bluescale/quickcontact/images/submit1.jpg +0 -0
- skin/frontend/default/bluescale/quickcontact/js/modalwindow.js +53 -0
- skin/frontend/default/bluescale/quickcontact/js/quickContact.js +31 -0
app/code/local/Mage/Catalog/Block/Product/Manufacturer.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mage_Catalog_Block_Product_Manufacturer extends Mage_Core_Block_Template
|
4 |
+
{
|
5 |
+
public function getManufacturersCollection()
|
6 |
+
{
|
7 |
+
$optionCollection = Mage::getResourceModel('eav/entity_attribute_option_collection')
|
8 |
+
->setAttributeFilter(66)
|
9 |
+
->setPositionOrder('asc', true)
|
10 |
+
->load();
|
11 |
+
return $optionCollection;
|
12 |
+
}
|
13 |
+
}
|
app/code/local/Mage/Catalog/Block/Product/Popular.php
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mage_Catalog_Block_Product_Popular extends Mage_Catalog_Block_Product_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* Product Collection
|
7 |
+
*
|
8 |
+
* @var Mage_Eav_Model_Entity_Collection_Abstract
|
9 |
+
*/
|
10 |
+
protected $_productCollection;
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Retrieve loaded category collection
|
14 |
+
*
|
15 |
+
* @return Mage_Eav_Model_Entity_Collection_Abstract
|
16 |
+
*/
|
17 |
+
protected function _getProductCollection()
|
18 |
+
{
|
19 |
+
if (is_null($this->_productCollection)) {
|
20 |
+
$layer = $this->getLayer();
|
21 |
+
|
22 |
+
$origCategory = null;
|
23 |
+
if ($this->getCategoryId()) {
|
24 |
+
$category = Mage::getModel('catalog/category')->load($this->getCategoryId());
|
25 |
+
if ($category->getId()) {
|
26 |
+
$origCategory = $layer->getCurrentCategory();
|
27 |
+
$layer->setCurrentCategory($category);
|
28 |
+
}
|
29 |
+
}
|
30 |
+
$this->_productCollection = $layer->getProductCollection();
|
31 |
+
|
32 |
+
$this->prepareSortableFieldsByCategory($layer->getCurrentCategory());
|
33 |
+
|
34 |
+
if ($sort = $this->getSortBy()) {
|
35 |
+
$this->_productCollection->setOrder($sort);
|
36 |
+
}
|
37 |
+
|
38 |
+
if ($origCategory) {
|
39 |
+
$layer->setCurrentCategory($origCategory);
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
return $this->_productCollection;
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Get catalog layer model
|
48 |
+
*
|
49 |
+
* @return Mage_Catalog_Model_Layer
|
50 |
+
*/
|
51 |
+
public function getLayer()
|
52 |
+
{
|
53 |
+
$layer = Mage::registry('current_layer');
|
54 |
+
if ($layer) {
|
55 |
+
return $layer;
|
56 |
+
}
|
57 |
+
return Mage::getSingleton('catalog/layer');
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Retrieve loaded category collection
|
62 |
+
*
|
63 |
+
* @return Mage_Eav_Model_Entity_Collection_Abstract
|
64 |
+
*/
|
65 |
+
public function getLoadedProductCollection()
|
66 |
+
{
|
67 |
+
return $this->_getProductCollection();
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Retrieve Catalog Config object
|
72 |
+
*
|
73 |
+
* @return Mage_Catalog_Model_Config
|
74 |
+
*/
|
75 |
+
protected function _getConfig()
|
76 |
+
{
|
77 |
+
return Mage::getSingleton('catalog/config');
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Prepare Sort By fields from Category Data
|
82 |
+
*
|
83 |
+
* @param Mage_Catalog_Model_Category $category
|
84 |
+
* @return Mage_Catalog_Block_Product_List
|
85 |
+
*/
|
86 |
+
public function prepareSortableFieldsByCategory($category) {
|
87 |
+
if (!$this->getAvailableOrders()) {
|
88 |
+
$this->setAvailableOrders($category->getAvailableSortByOptions());
|
89 |
+
}
|
90 |
+
$availableOrders = $this->getAvailableOrders();
|
91 |
+
if (!$this->getSortBy()) {
|
92 |
+
if ($categorySortBy = $category->getDefaultSortBy()) {
|
93 |
+
if (!$availableOrders) {
|
94 |
+
$availableOrders = $this->_getConfig()->getAttributeUsedForSortByArray();
|
95 |
+
}
|
96 |
+
if (isset($availableOrders[$categorySortBy])) {
|
97 |
+
$this->setSortBy($categorySortBy);
|
98 |
+
}
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
return $this;
|
103 |
+
}
|
104 |
+
}
|
app/code/local/WP/ThemeBluescale/Block/About.php
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WP_ThemeBluescale_Block_About
|
4 |
+
extends Mage_Adminhtml_Block_Abstract
|
5 |
+
implements Varien_Data_Form_Element_Renderer_Interface
|
6 |
+
{
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Render fieldset html
|
10 |
+
*
|
11 |
+
* @param Varien_Data_Form_Element_Abstract $element
|
12 |
+
* @return string
|
13 |
+
*/
|
14 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
15 |
+
{
|
16 |
+
$default = <<<HTML
|
17 |
+
<div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
|
18 |
+
<p>
|
19 |
+
<b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
|
20 |
+
</p>
|
21 |
+
<p>
|
22 |
+
<strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
|
23 |
+
<a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
|
24 |
+
<strong>MAGENTO HOSTING</strong></strong><br />
|
25 |
+
<a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
|
26 |
+
<strong>WEB DEVELOPMENT</strong><br />
|
27 |
+
<a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
|
28 |
+
<br />
|
29 |
+
</p>
|
30 |
+
<p>
|
31 |
+
Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
|
32 |
+
Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
|
33 |
+
<br />
|
34 |
+
</p>
|
35 |
+
</div>
|
36 |
+
HTML;
|
37 |
+
$default = json_encode($default);
|
38 |
+
$html = '<div id="wp_aboutus_content"></div>
|
39 |
+
|
40 |
+
<script type="text/javascript"> //<![CDATA[
|
41 |
+
|
42 |
+
/* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
|
43 |
+
*
|
44 |
+
* *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
|
45 |
+
* Might as well just call this an iteration.
|
46 |
+
*
|
47 |
+
* This version introduces:
|
48 |
+
* - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
|
49 |
+
* - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
|
50 |
+
* - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
|
51 |
+
* - Will not break if page lacks a <head> element
|
52 |
+
*
|
53 |
+
* See examples in README for usage
|
54 |
+
*
|
55 |
+
* VERSION 1.1.2
|
56 |
+
*
|
57 |
+
* new Ajax.JSONRequest(url, options);
|
58 |
+
* - url (String): JSON-P endpoint url.
|
59 |
+
* - options (Object): Configuration options for the request.
|
60 |
+
*/
|
61 |
+
Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
|
62 |
+
var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
|
63 |
+
return {
|
64 |
+
initialize: function($super, url, options) {
|
65 |
+
$super(options);
|
66 |
+
this.options.url = url;
|
67 |
+
this.options.callbackParamName = this.options.callbackParamName || \'callback\';
|
68 |
+
this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
|
69 |
+
this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
|
70 |
+
|
71 |
+
if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
|
72 |
+
this.options.parameters = this.options.parameters.toQueryParams();
|
73 |
+
}
|
74 |
+
|
75 |
+
if (this.options.invokeImmediately) {
|
76 |
+
this.request();
|
77 |
+
}
|
78 |
+
},
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Ajax.JSONRequest#_cleanup() -> undefined
|
82 |
+
* Cleans up after the request
|
83 |
+
**/
|
84 |
+
_cleanup: function() {
|
85 |
+
if (this.timeout) {
|
86 |
+
clearTimeout(this.timeout);
|
87 |
+
this.timeout = null;
|
88 |
+
}
|
89 |
+
if (this.transport && Object.isElement(this.transport)) {
|
90 |
+
this.transport.remove();
|
91 |
+
this.transport = null;
|
92 |
+
}
|
93 |
+
},
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Ajax.JSONRequest#request() -> undefined
|
97 |
+
* Invokes the JSON-P request lifecycle
|
98 |
+
**/
|
99 |
+
request: function() {
|
100 |
+
|
101 |
+
// Define local vars
|
102 |
+
var response = new Ajax.JSONResponse(this);
|
103 |
+
var key = this.options.callbackParamName,
|
104 |
+
name = \'_prototypeJSONPCallback_\' + (id++),
|
105 |
+
complete = function() {
|
106 |
+
if (Object.isFunction(this.options.onComplete)) {
|
107 |
+
this.options.onComplete.call(this, response);
|
108 |
+
}
|
109 |
+
Ajax.Responders.dispatch(\'onComplete\', this, response);
|
110 |
+
}.bind(this);
|
111 |
+
|
112 |
+
// If the callback parameter is already defined, use that
|
113 |
+
if (this.options.parameters[key] !== undefined) {
|
114 |
+
name = this.options.parameters[key];
|
115 |
+
}
|
116 |
+
// Otherwise, add callback as a parameter
|
117 |
+
else {
|
118 |
+
this.options.parameters[key] = name;
|
119 |
+
}
|
120 |
+
|
121 |
+
// Build request URL
|
122 |
+
this.options.parameters[key] = name;
|
123 |
+
var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
|
124 |
+
|
125 |
+
// Define callback function
|
126 |
+
window[name] = function(json) {
|
127 |
+
this._cleanup(); // Garbage collection
|
128 |
+
window[name] = undefined;
|
129 |
+
|
130 |
+
response.status = 200;
|
131 |
+
response.statusText = "OK";
|
132 |
+
response.setResponseContent(json);
|
133 |
+
|
134 |
+
if (Object.isFunction(this.options.onSuccess)) {
|
135 |
+
this.options.onSuccess.call(this, response);
|
136 |
+
}
|
137 |
+
Ajax.Responders.dispatch(\'onSuccess\', this, response);
|
138 |
+
|
139 |
+
complete();
|
140 |
+
|
141 |
+
}.bind(this);
|
142 |
+
|
143 |
+
this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
|
144 |
+
|
145 |
+
if (Object.isFunction(this.options.onCreate)) {
|
146 |
+
this.options.onCreate.call(this, response);
|
147 |
+
}
|
148 |
+
Ajax.Responders.dispatch(\'onCreate\', this);
|
149 |
+
|
150 |
+
head.appendChild(this.transport);
|
151 |
+
|
152 |
+
this.timeout = setTimeout(function() {
|
153 |
+
this._cleanup();
|
154 |
+
window[name] = Prototype.emptyFunction;
|
155 |
+
if (Object.isFunction(this.options.onFailure)) {
|
156 |
+
response.status = 504;
|
157 |
+
response.statusText = "Gateway Timeout";
|
158 |
+
this.options.onFailure.call(this, response);
|
159 |
+
}
|
160 |
+
complete();
|
161 |
+
}.bind(this), this.options.timeout * 1000);
|
162 |
+
},
|
163 |
+
toString: function() { return "[object Ajax.JSONRequest]"; }
|
164 |
+
};
|
165 |
+
})());
|
166 |
+
|
167 |
+
Ajax.JSONResponse = Class.create({
|
168 |
+
initialize: function(request) {
|
169 |
+
this.request = request;
|
170 |
+
},
|
171 |
+
request: undefined,
|
172 |
+
status: 0,
|
173 |
+
statusText: \'\',
|
174 |
+
responseJSON: undefined,
|
175 |
+
responseText: undefined,
|
176 |
+
setResponseContent: function(json) {
|
177 |
+
this.responseJSON = json;
|
178 |
+
this.responseText = Object.toJSON(json);
|
179 |
+
},
|
180 |
+
getTransport: function() {
|
181 |
+
if (this.request) return this.request.transport;
|
182 |
+
},
|
183 |
+
toString: function() { return "[object Ajax.JSONResponse]"; }
|
184 |
+
});
|
185 |
+
|
186 |
+
window.onload = function(){
|
187 |
+
var html = ' . $default . ';
|
188 |
+
|
189 |
+
new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
|
190 |
+
callbackParamName: "jsoncallback",
|
191 |
+
onComplete: function(response) {
|
192 |
+
if (response.responseJSON && response.responseJSON.html) {
|
193 |
+
html = response.responseJSON.html;
|
194 |
+
}
|
195 |
+
Element.replace(\'wp_aboutus_content\', html);
|
196 |
+
}
|
197 |
+
});
|
198 |
+
};
|
199 |
+
//]]></script>';
|
200 |
+
return $html;
|
201 |
+
}
|
202 |
+
}
|
app/code/local/WP/ThemeBluescale/Helper/Data.php
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WP_ThemeBluescale_Helper_Data extends Mage_Core_Helper_Abstract
|
4 |
+
{
|
5 |
+
|
6 |
+
}
|
app/code/local/WP/ThemeBluescale/etc/config.xml
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_ThemeBluescale>
|
5 |
+
<version>1.0.0</version>
|
6 |
+
</WP_ThemeBluescale>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<helpers>
|
10 |
+
<themebluescale>
|
11 |
+
<class>WP_ThemeBluescale_Helper</class>
|
12 |
+
</themebluescale>
|
13 |
+
</helpers>
|
14 |
+
</global>
|
15 |
+
<adminhtml>
|
16 |
+
<acl>
|
17 |
+
<resources>
|
18 |
+
<all>
|
19 |
+
<title>Allow Everything</title>
|
20 |
+
</all>
|
21 |
+
<admin>
|
22 |
+
<children>
|
23 |
+
<system>
|
24 |
+
<children>
|
25 |
+
<config>
|
26 |
+
<children>
|
27 |
+
<theme_bluescale translate="title" module="themebluescale">
|
28 |
+
<title><![CDATA[Web & People: Theme Bluescale 2013]]></title>
|
29 |
+
<sort_order>1000</sort_order>
|
30 |
+
</theme_bluescale>
|
31 |
+
</children>
|
32 |
+
</config>
|
33 |
+
</children>
|
34 |
+
</system>
|
35 |
+
</children>
|
36 |
+
</admin>
|
37 |
+
</resources>
|
38 |
+
</acl>
|
39 |
+
</adminhtml>
|
40 |
+
<default>
|
41 |
+
<theme_bluescale>
|
42 |
+
<general>
|
43 |
+
<version>1.0.0</version>
|
44 |
+
</general>
|
45 |
+
</theme_bluescale>
|
46 |
+
</default>
|
47 |
+
<adminhtml>
|
48 |
+
<acl>
|
49 |
+
<resources>
|
50 |
+
<admin>
|
51 |
+
<children>
|
52 |
+
<system>
|
53 |
+
<children>
|
54 |
+
<config>
|
55 |
+
<children>
|
56 |
+
<about_webandpeople translate="title" module="themebluescale">
|
57 |
+
<title><![CDATA[Web & People: About Us]]></title>
|
58 |
+
<sort_order>1000</sort_order>
|
59 |
+
</about_webandpeople>
|
60 |
+
</children>
|
61 |
+
</config>
|
62 |
+
</children>
|
63 |
+
</system>
|
64 |
+
</children>
|
65 |
+
</admin>
|
66 |
+
</resources>
|
67 |
+
</acl>
|
68 |
+
</adminhtml>
|
69 |
+
<global>
|
70 |
+
<blocks>
|
71 |
+
<themebluescale>
|
72 |
+
<class>WP_ThemeBluescale_Block</class>
|
73 |
+
</themebluescale>
|
74 |
+
</blocks>
|
75 |
+
</global>
|
76 |
+
</config>
|
app/code/local/WP/ThemeBluescale/etc/system.xml
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<web_and_people translate="label" module="themebluescale">
|
5 |
+
<label>Web-And-People</label>
|
6 |
+
<sort_order>150</sort_order>
|
7 |
+
</web_and_people>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<theme_bluescale translate="label" module="themebluescale">
|
11 |
+
<label>Theme Bluescale 2013</label>
|
12 |
+
<tab>web_and_people</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>100</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>0</show_in_website>
|
17 |
+
<show_in_store>0</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<general translate="label">
|
20 |
+
<label>General</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>10</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>0</show_in_website>
|
25 |
+
<show_in_store>0</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<version translate="label">
|
28 |
+
<label>Theme Release</label>
|
29 |
+
<frontend_type>label</frontend_type>
|
30 |
+
<sort_order>100</sort_order>
|
31 |
+
<show_in_default>1</show_in_default>
|
32 |
+
<show_in_website>0</show_in_website>
|
33 |
+
<show_in_store>0</show_in_store>
|
34 |
+
</version>
|
35 |
+
</fields>
|
36 |
+
</general>
|
37 |
+
</groups>
|
38 |
+
</theme_bluescale>
|
39 |
+
<about_webandpeople translate="label" module="themebluescale">
|
40 |
+
<label>About Us</label>
|
41 |
+
<tab>web_and_people</tab>
|
42 |
+
<frontend_type>text</frontend_type>
|
43 |
+
<sort_order>99</sort_order>
|
44 |
+
<show_in_default>1</show_in_default>
|
45 |
+
<show_in_website>1</show_in_website>
|
46 |
+
<show_in_store>1</show_in_store>
|
47 |
+
<groups>
|
48 |
+
<info>
|
49 |
+
<frontend_model>themebluescale/about</frontend_model>
|
50 |
+
<sort_order>10</sort_order>
|
51 |
+
<show_in_default>1</show_in_default>
|
52 |
+
<show_in_website>1</show_in_website>
|
53 |
+
<show_in_store>1</show_in_store>
|
54 |
+
</info>
|
55 |
+
</groups>
|
56 |
+
</about_webandpeople>
|
57 |
+
</sections>
|
58 |
+
</config>
|
app/design/frontend/default/bluescale/etc/widget.xml
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package default_blank
|
24 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<widgets>
|
29 |
+
<new_products>
|
30 |
+
<parameters>
|
31 |
+
<template>
|
32 |
+
<values>
|
33 |
+
<list_default translate="label">
|
34 |
+
<value>catalog/product/widget/new/column/new_default_list.phtml</value>
|
35 |
+
<label>New Products Images and Names Template</label>
|
36 |
+
</list_default>
|
37 |
+
<list_names translate="label">
|
38 |
+
<value>catalog/product/widget/new/column/new_names_list.phtml</value>
|
39 |
+
<label>New Products Names Only Template</label>
|
40 |
+
</list_names>
|
41 |
+
<list_images translate="label">
|
42 |
+
<value>catalog/product/widget/new/column/new_images_list.phtml</value>
|
43 |
+
<label>New Products Images Only Template</label>
|
44 |
+
</list_images>
|
45 |
+
</values>
|
46 |
+
</template>
|
47 |
+
</parameters>
|
48 |
+
<supported_blocks>
|
49 |
+
<left_column>
|
50 |
+
<block_name>left</block_name>
|
51 |
+
<template>
|
52 |
+
<default>list_default</default>
|
53 |
+
<names_only>list_names</names_only>
|
54 |
+
<images_only>list_images</images_only>
|
55 |
+
</template>
|
56 |
+
</left_column>
|
57 |
+
<main_content>
|
58 |
+
<block_name>content</block_name>
|
59 |
+
<template>
|
60 |
+
<grid>default</grid>
|
61 |
+
<list>list</list>
|
62 |
+
</template>
|
63 |
+
</main_content>
|
64 |
+
<right_column>
|
65 |
+
<block_name>right</block_name>
|
66 |
+
<template>
|
67 |
+
<default>list_default</default>
|
68 |
+
<names_only>list_names</names_only>
|
69 |
+
<images_only>list_images</images_only>
|
70 |
+
</template>
|
71 |
+
</right_column>
|
72 |
+
</supported_blocks>
|
73 |
+
</new_products>
|
74 |
+
|
75 |
+
<recently_viewed>
|
76 |
+
<parameters>
|
77 |
+
<template>
|
78 |
+
<values>
|
79 |
+
<list_default translate="label">
|
80 |
+
<value>reports/widget/viewed/column/viewed_default_list.phtml</value>
|
81 |
+
<label>Viewed Products Images and Names Template</label>
|
82 |
+
</list_default>
|
83 |
+
<list_names translate="label">
|
84 |
+
<value>reports/widget/viewed/column/viewed_names_list.phtml</value>
|
85 |
+
<label>Viewed Products Names Only Template</label>
|
86 |
+
</list_names>
|
87 |
+
<list_images translate="label">
|
88 |
+
<value>reports/widget/viewed/column/viewed_images_list.phtml</value>
|
89 |
+
<label>Viewed Products Images Only Template</label>
|
90 |
+
</list_images>
|
91 |
+
</values>
|
92 |
+
</template>
|
93 |
+
</parameters>
|
94 |
+
<supported_blocks>
|
95 |
+
<left_column>
|
96 |
+
<block_name>left</block_name>
|
97 |
+
<template>
|
98 |
+
<default>list_default</default>
|
99 |
+
<names_only>list_names</names_only>
|
100 |
+
<images_only>list_images</images_only>
|
101 |
+
</template>
|
102 |
+
</left_column>
|
103 |
+
<main_content>
|
104 |
+
<block_name>content</block_name>
|
105 |
+
<template>
|
106 |
+
<grid>default</grid>
|
107 |
+
<list>list</list>
|
108 |
+
</template>
|
109 |
+
</main_content>
|
110 |
+
<right_column>
|
111 |
+
<block_name>right</block_name>
|
112 |
+
<template>
|
113 |
+
<default>list_default</default>
|
114 |
+
<names_only>list_names</names_only>
|
115 |
+
<images_only>list_images</images_only>
|
116 |
+
</template>
|
117 |
+
</right_column>
|
118 |
+
</supported_blocks>
|
119 |
+
</recently_viewed>
|
120 |
+
|
121 |
+
<recently_compared>
|
122 |
+
<parameters>
|
123 |
+
<template>
|
124 |
+
<values>
|
125 |
+
<list_default translate="label">
|
126 |
+
<value>reports/widget/compared/column/compared_default_list.phtml</value>
|
127 |
+
<label>Compared Products Images and Names Template</label>
|
128 |
+
</list_default>
|
129 |
+
<list_names translate="label">
|
130 |
+
<value>reports/widget/compared/column/compared_names_list.phtml</value>
|
131 |
+
<label>Compared Product Names Only Template</label>
|
132 |
+
</list_names>
|
133 |
+
<list_images translate="label">
|
134 |
+
<value>reports/widget/compared/column/compared_images_list.phtml</value>
|
135 |
+
<label>Compared Product Images Only Template</label>
|
136 |
+
</list_images>
|
137 |
+
</values>
|
138 |
+
</template>
|
139 |
+
</parameters>
|
140 |
+
<supported_blocks>
|
141 |
+
<left_column>
|
142 |
+
<block_name>left</block_name>
|
143 |
+
<template>
|
144 |
+
<default>list_default</default>
|
145 |
+
<names_only>list_names</names_only>
|
146 |
+
<images_only>list_images</images_only>
|
147 |
+
</template>
|
148 |
+
</left_column>
|
149 |
+
<main_content>
|
150 |
+
<block_name>content</block_name>
|
151 |
+
<template>
|
152 |
+
<grid>default</grid>
|
153 |
+
<list>list</list>
|
154 |
+
</template>
|
155 |
+
</main_content>
|
156 |
+
<right_column>
|
157 |
+
<block_name>right</block_name>
|
158 |
+
<template>
|
159 |
+
<default>list_default</default>
|
160 |
+
<names_only>list_names</names_only>
|
161 |
+
<images_only>list_images</images_only>
|
162 |
+
</template>
|
163 |
+
</right_column>
|
164 |
+
</supported_blocks>
|
165 |
+
</recently_compared>
|
166 |
+
</widgets>
|
app/design/frontend/default/bluescale/layout/local.xml
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addCss"><stylesheet>css/skin.css</stylesheet></action>
|
6 |
+
</reference>
|
7 |
+
<reference name="header">
|
8 |
+
<remove name="top.links" />
|
9 |
+
<block type="page/template_links" name="top.links.custom" as="topLinksCustom"/>
|
10 |
+
</reference>
|
11 |
+
<!-- Mage_Customer -->
|
12 |
+
<reference name="top.links.custom">
|
13 |
+
<block type="checkout/links" name="checkout_cart_link">
|
14 |
+
<action method="addCartLink"></action>
|
15 |
+
</block>
|
16 |
+
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>130</position></action>
|
17 |
+
<block type="wishlist/links" name="wishlist_link"/>
|
18 |
+
<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
|
19 |
+
</reference>
|
20 |
+
|
21 |
+
<reference name="right">
|
22 |
+
<block type="cms/block" name="cms_right_info_block" before="-">
|
23 |
+
<action method="setBlockId"><block_id>right_info_block</block_id></action>
|
24 |
+
</block>
|
25 |
+
<block type="newsletter/subscribe" name="right.newsletter" template="newsletter/subscribe.phtml"/>
|
26 |
+
|
27 |
+
<remove name="paypal.partner.right.logo"/>
|
28 |
+
<remove name="right.permanent.callout"/>
|
29 |
+
|
30 |
+
</reference>
|
31 |
+
<reference name="left">
|
32 |
+
<block type="cms/block" name="cms_left_info_block" after="left.poll">
|
33 |
+
<action method="setBlockId"><block_id>left_info_block</block_id></action>
|
34 |
+
</block>
|
35 |
+
<remove name="right.newsletter" />
|
36 |
+
|
37 |
+
<remove name="left.permanent.callout" />
|
38 |
+
<remove name="left.newsletter" />
|
39 |
+
</reference>
|
40 |
+
<reference name="header">
|
41 |
+
<block type="cms/block" name="quick-access-links">
|
42 |
+
<action method="setBlockId"><block_id>quick-access-links</block_id></action>
|
43 |
+
</block>
|
44 |
+
<block type="cms/block" name="header_phone_block" before="quick-access-links">
|
45 |
+
<action method="setBlockId"><block_id>header_phone_block</block_id></action>
|
46 |
+
</block>
|
47 |
+
<block type="cms/block" name="search_block_content" before="">
|
48 |
+
<action method="setBlockId"><block_id>search_block_content</block_id></action>
|
49 |
+
</block>
|
50 |
+
<block type="page/switch" name="store_switcher_header" as="store_switcher_header" template="page/switch/stores.phtml"/>
|
51 |
+
<remove name="top.links" />
|
52 |
+
</reference>
|
53 |
+
<reference name="footer">
|
54 |
+
<remove name="store_switcher" />
|
55 |
+
<remove name="copyright.blog.footer" />
|
56 |
+
</reference>
|
57 |
+
|
58 |
+
<!--Begin cart top-bar -->
|
59 |
+
<reference name="left">
|
60 |
+
<action method="unsetChild"><name>cart_sidebar</name></action>
|
61 |
+
</reference>
|
62 |
+
<reference name="right">
|
63 |
+
<action method="unsetChild"><alias>cart_sidebar</alias></action>
|
64 |
+
<action method="insert"><blockName>cart_sidebar</blockName><siblingname></siblingname><after></after></action>
|
65 |
+
</reference>
|
66 |
+
<reference name="header">
|
67 |
+
<block type="checkout/cart_sidebar" name="cart_sidebar_top" template="checkout/cart/sidebar-top.phtml" before="-">
|
68 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
69 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
70 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
71 |
+
</block>
|
72 |
+
</reference>
|
73 |
+
<!--End cart top-bar -->
|
74 |
+
</default>
|
75 |
+
<customer_logged_in>
|
76 |
+
<reference name="top.links.custom">
|
77 |
+
<action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>100</position></action>
|
78 |
+
</reference>
|
79 |
+
</customer_logged_in>
|
80 |
+
|
81 |
+
<customer_logged_out>
|
82 |
+
<reference name="top.links.custom">
|
83 |
+
<action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>100</position></action>
|
84 |
+
<action method="addLink" translate="label title" module="customer"><label>Register</label><url helper="customer/getRegisterUrl"/><title>Register</title><prepare/><urlParams/><position>120</position></action>
|
85 |
+
</reference>
|
86 |
+
</customer_logged_out>
|
87 |
+
</layout>
|
app/design/frontend/default/bluescale/layout/quickcontact.xml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addItem">
|
6 |
+
<type>skin_js</type>
|
7 |
+
<name>js/jquery-1.5.2.min.js</name>
|
8 |
+
</action>
|
9 |
+
<action method="addItem">
|
10 |
+
<type>skin_js</type>
|
11 |
+
<name>js/noconflict.js</name>
|
12 |
+
</action>
|
13 |
+
<action method="addItem">
|
14 |
+
<type>skin_js</type>
|
15 |
+
<name>quickcontact/js/modalwindow.js</name>
|
16 |
+
</action>
|
17 |
+
<action method="addItem">
|
18 |
+
<type>skin_js</type>
|
19 |
+
<name>quickcontact/js/quickContact.js</name>
|
20 |
+
</action>
|
21 |
+
<action method="addCss">
|
22 |
+
<stylesheet>quickcontact/css/form-contact.css</stylesheet>
|
23 |
+
</action>
|
24 |
+
</reference>
|
25 |
+
<reference name="before_body_end">
|
26 |
+
<block type="core/template" name="quickcontact" template="quickcontact/form.phtml"/>
|
27 |
+
</reference>
|
28 |
+
</default>
|
29 |
+
</layout>
|
app/design/frontend/default/bluescale/locale/da_DK/translate.csv
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
"Most Popular","Mest populære"
|
app/design/frontend/default/bluescale/locale/en_US/translate.csv
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
"Most Popular","Most Popular"
|
app/design/frontend/default/bluescale/locale/ru_RU/translate.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
"Most Popular","Популярные"
|
2 |
+
|
app/design/frontend/default/bluescale/template/callouts/left_col.phtml
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
app/design/frontend/default/bluescale/template/callouts/right_col.phtml
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
app/design/frontend/default/bluescale/template/catalog/navigation/top.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Top menu for store
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Navigation
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_menu = ''?>
|
35 |
+
<?php foreach ($this->getStoreCategories() as $_category): ?>
|
36 |
+
<?php $_menu .= $this->drawItem($_category) ?>
|
37 |
+
<?php endforeach ?>
|
38 |
+
<?php if ($_menu): ?>
|
39 |
+
<div class="nav-container">
|
40 |
+
<ul id="nav">
|
41 |
+
<li class="home"><a class="home" href="<?php echo $this->getUrl('') ?>"><span><?php echo $this->__('home'); ?></span></a></li>
|
42 |
+
<?php echo $_menu; ?>
|
43 |
+
</ul>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/catalog/product/compare/sidebar.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
27 |
+
?>
|
28 |
+
<?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
|
29 |
+
<div class="block block-compare">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('Compare Products') ?>
|
32 |
+
<?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
|
33 |
+
<small><?php echo $this->__('(%d)', $this->helper('catalog/product_compare')->getItemCount()) ?></small>
|
34 |
+
<?php endif; ?>
|
35 |
+
</span></strong>
|
36 |
+
</div>
|
37 |
+
<div class="block-content">
|
38 |
+
<?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
|
39 |
+
<ol id="compare-items">
|
40 |
+
<?php foreach($this->helper('catalog/product_compare')->getItemCollection() as $_index=>$_item): ?>
|
41 |
+
<li class="item">
|
42 |
+
<input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
|
43 |
+
<a href="<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');"><?php echo $this->__('Remove This Item') ?></a>
|
44 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></p>
|
45 |
+
</li>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
</ol>
|
48 |
+
<script type="text/javascript">decorateList('compare-items')</script>
|
49 |
+
<div class="actions">
|
50 |
+
<a href="<?php echo $this->helper('catalog/product_compare')->getClearListUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All') ?></a>
|
51 |
+
<button type="button" title="<?php echo $this->__('Compare') ?>" class="button" onclick="popWin('<?php echo $this->helper('catalog/product_compare')->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
|
52 |
+
</div>
|
53 |
+
<?php else: ?>
|
54 |
+
<p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/catalog/product/home_full.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $_productCollection=$this->getLoadedProductCollection() ?>
|
2 |
+
<?php if(!$_productCollection->count()): ?>
|
3 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
4 |
+
<?php else: ?>
|
5 |
+
<div class="category-products">
|
6 |
+
|
7 |
+
<?php // Grid Mode ?>
|
8 |
+
|
9 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
10 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
11 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
12 |
+
<?php if ($i++%$_columnCount==0): ?>
|
13 |
+
<ul class="products-grid full_list">
|
14 |
+
<?php endif ?>
|
15 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
16 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135,135); ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
|
17 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
|
18 |
+
<?php if($_product->getRatingSummary()): ?>
|
19 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
20 |
+
<?php endif; ?>
|
21 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
22 |
+
<div class="actions">
|
23 |
+
<?php if($_product->isSaleable()): ?>
|
24 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
25 |
+
<?php else: ?>
|
26 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
27 |
+
<?php endif; ?>
|
28 |
+
<ul class="add-to-links">
|
29 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
30 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
31 |
+
<?php endif; ?>
|
32 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
33 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
34 |
+
<?php endif; ?>
|
35 |
+
</ul>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
</li>
|
39 |
+
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
40 |
+
</ul>
|
41 |
+
<?php endif ?>
|
42 |
+
<?php endforeach ?>
|
43 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/catalog/product/home_rating.phtml
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $_productCollection=$this->getLoadedProductCollection() ?>
|
2 |
+
<?php if(!$_productCollection->count()): ?>
|
3 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
4 |
+
<?php else: ?>
|
5 |
+
<div class="category-products">
|
6 |
+
|
7 |
+
<?php // Grid Mode ?>
|
8 |
+
|
9 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
10 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
11 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
12 |
+
<?php if ($i++%$_columnCount==0): ?>
|
13 |
+
<ul class="products-grid">
|
14 |
+
<?php endif ?>
|
15 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
16 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135,135); ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
|
17 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
|
18 |
+
<?php if($_product->getRatingSummary()): ?>
|
19 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
20 |
+
<?php endif; ?>
|
21 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
22 |
+
<div class="actions">
|
23 |
+
<?php if($_product->isSaleable()): ?>
|
24 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
25 |
+
<?php else: ?>
|
26 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
27 |
+
<?php endif; ?>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
</li>
|
31 |
+
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
32 |
+
</ul>
|
33 |
+
<?php endif ?>
|
34 |
+
<?php endforeach ?>
|
35 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
36 |
+
</div>
|
37 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/catalog/product/home_short.phtml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $_productCollection=$this->getLoadedProductCollection() ?>
|
2 |
+
<?php if(!$_productCollection->count()): ?>
|
3 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
4 |
+
<?php else: ?>
|
5 |
+
<div class="category-products">
|
6 |
+
|
7 |
+
<?php // Grid Mode ?>
|
8 |
+
|
9 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
10 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
11 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
12 |
+
<?php if ($i++%$_columnCount==0): ?>
|
13 |
+
<ul class="products-grid">
|
14 |
+
<?php endif ?>
|
15 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
16 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135,135); ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
|
17 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
|
18 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
19 |
+
<div class="actions">
|
20 |
+
<?php if($_product->isSaleable()): ?>
|
21 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
22 |
+
<?php else: ?>
|
23 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
24 |
+
<?php endif; ?>
|
25 |
+
</div>
|
26 |
+
</li>
|
27 |
+
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
28 |
+
</ul>
|
29 |
+
<?php endif ?>
|
30 |
+
<?php endforeach ?>
|
31 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
32 |
+
</div>
|
33 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/catalog/product/list.phtml
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$_productCollection=$this->getLoadedProductCollection();
|
36 |
+
$_helper = $this->helper('catalog/output');
|
37 |
+
?>
|
38 |
+
<?php if(!$_productCollection->count()): ?>
|
39 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
40 |
+
<?php else: ?>
|
41 |
+
<?php // List mode ?>
|
42 |
+
<?php if($this->getMode()!='grid'): ?>
|
43 |
+
|
44 |
+
<div class="category-products">
|
45 |
+
<?php echo $this->getToolbarHtml() ?>
|
46 |
+
<?php $_iterator = 0; ?>
|
47 |
+
<ol class="products-list" id="products-list">
|
48 |
+
<?php foreach ($_productCollection as $_product): ?>
|
49 |
+
<li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
|
50 |
+
<?php // Product Image ?>
|
51 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(160); ?>" width="160" height="160" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
|
52 |
+
<?php // Product description ?>
|
53 |
+
<div class="product-shop">
|
54 |
+
<div class="f-fix">
|
55 |
+
<?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
|
56 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
|
57 |
+
<?php if($_product->getRatingSummary()): ?>
|
58 |
+
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
59 |
+
<?php endif; ?>
|
60 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
61 |
+
<?php if($_product->isSaleable()): ?>
|
62 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
63 |
+
<?php else: ?>
|
64 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
65 |
+
<?php endif; ?>
|
66 |
+
<div class="desc std">
|
67 |
+
<?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
|
68 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
|
69 |
+
</div>
|
70 |
+
<ul class="add-to-links">
|
71 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
72 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
73 |
+
<?php endif; ?>
|
74 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
75 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
76 |
+
<?php endif; ?>
|
77 |
+
</ul>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
</li>
|
81 |
+
<?php endforeach; ?>
|
82 |
+
</ol>
|
83 |
+
<script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
|
84 |
+
|
85 |
+
<?php else: ?>
|
86 |
+
|
87 |
+
<?php // Grid Mode ?>
|
88 |
+
|
89 |
+
<div class="category-products">
|
90 |
+
<?php echo $this->getToolbarHtml() ?>
|
91 |
+
|
92 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
93 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
94 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
95 |
+
<?php if ($i++%$_columnCount==0): ?>
|
96 |
+
<ul class="products-grid">
|
97 |
+
<?php endif ?>
|
98 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
99 |
+
|
100 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
|
101 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
|
102 |
+
<div class="short-description">
|
103 |
+
<?php echo $_product->getShortDescription() ?>
|
104 |
+
</div>
|
105 |
+
<?php if($_product->getRatingSummary()): ?>
|
106 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
107 |
+
<?php endif; ?>
|
108 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
109 |
+
<div class="actions">
|
110 |
+
<?php if($_product->isSaleable()): ?>
|
111 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
112 |
+
<?php else: ?>
|
113 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
114 |
+
<?php endif; ?>
|
115 |
+
<ul class="add-to-links">
|
116 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
117 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
118 |
+
<?php endif; ?>
|
119 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
120 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
121 |
+
<?php endif; ?>
|
122 |
+
</ul>
|
123 |
+
</div>
|
124 |
+
|
125 |
+
|
126 |
+
<div class="sp"></div>
|
127 |
+
</li>
|
128 |
+
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
129 |
+
</ul>
|
130 |
+
<?php endif ?>
|
131 |
+
<?php endforeach ?>
|
132 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
133 |
+
<?php endif; ?>
|
134 |
+
|
135 |
+
<div class="toolbar-bottom">
|
136 |
+
<?php echo $this->getToolbarHtml() ?>
|
137 |
+
</div>
|
138 |
+
</div>
|
139 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/catalog/product/list/upsell.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if(count($this->getItemCollection()->getItems())): ?>
|
28 |
+
<div class="box-collateral box-up-sell">
|
29 |
+
<h2><?php echo $this->__('You may also be interested in the following product(s)') ?></h2>
|
30 |
+
<table class="products-grid" id="upsell-product-table">
|
31 |
+
<?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
|
32 |
+
<?php $this->resetItemsIterator() ?>
|
33 |
+
<?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
|
34 |
+
<tr>
|
35 |
+
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
36 |
+
<?php if($_link=$this->getIterableItem()): ?>
|
37 |
+
<td>
|
38 |
+
<a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(135) ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a>
|
39 |
+
<h3 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h3>
|
40 |
+
<?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
|
41 |
+
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
42 |
+
</td>
|
43 |
+
<?php else: ?>
|
44 |
+
<td class="empty"> </td>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php endfor; ?>
|
47 |
+
</tr>
|
48 |
+
<?php endfor; ?>
|
49 |
+
</table>
|
50 |
+
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
51 |
+
</div>
|
52 |
+
<?php endif ?>
|
app/design/frontend/default/bluescale/template/catalog/product/popular.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Product list template
|
4 |
+
*
|
5 |
+
* @see Mage_Catalog_Block_Product_Popular
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
<?php
|
9 |
+
|
10 |
+
$_productCollection=$this->getLoadedProductCollection()
|
11 |
+
|
12 |
+
?>
|
13 |
+
<?php
|
14 |
+
if($_productCollection->count()): ?>
|
15 |
+
<div class="block block-popular">
|
16 |
+
<div class="block-title">
|
17 |
+
<strong><span><?php echo $this->__('Most Popular')?></span></strong>
|
18 |
+
</div>
|
19 |
+
<div class="block-content">
|
20 |
+
<?php $_iterator = 0; ?>
|
21 |
+
<ol class="mini-products-list" id="block-popular">
|
22 |
+
<?php foreach($_productCollection as $_item): ?>
|
23 |
+
<li class="item">
|
24 |
+
<div class="product">
|
25 |
+
<a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
|
26 |
+
<div class="product-details">
|
27 |
+
<p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></p>
|
28 |
+
<?php echo $this->getPriceHtml($_item, true, '-related') ?>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
</li>
|
32 |
+
<?php endforeach ?>
|
33 |
+
</ol>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/catalog/product/price.phtml
ADDED
@@ -0,0 +1,426 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price in different places (products grid, product view page etc)
|
31 |
+
*
|
32 |
+
* @see Mage_Catalog_Block_Product_Abstract
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_coreHelper = $this->helper('core');
|
37 |
+
$_weeeHelper = $this->helper('weee');
|
38 |
+
$_taxHelper = $this->helper('tax');
|
39 |
+
/* @var $_coreHelper Mage_Core_Helper_Data */
|
40 |
+
/* @var $_weeeHelper Mage_Weee_Helper_Data */
|
41 |
+
/* @var $_taxHelper Mage_Tax_Helper_Data */
|
42 |
+
|
43 |
+
$_product = $this->getProduct();
|
44 |
+
$_id = $_product->getId();
|
45 |
+
$_weeeSeparator = '';
|
46 |
+
$_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
|
47 |
+
$_minimalPriceValue = $_product->getMinimalPrice();
|
48 |
+
$_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
|
49 |
+
?>
|
50 |
+
|
51 |
+
<?php if (!$_product->isGrouped()): ?>
|
52 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
|
53 |
+
<?php if ($_weeeHelper->typeOfDisplay($_product, array(1,2,4))): ?>
|
54 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmount($_product); ?>
|
55 |
+
<?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForDisplay($_product); ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
|
58 |
+
<div class="price-box">
|
59 |
+
<?php $_price = $_taxHelper->getPrice($_product, $_product->getPrice()) ?>
|
60 |
+
<?php $_regularPrice = $_taxHelper->getPrice($_product, $_product->getPrice(), $_simplePricesTax) ?>
|
61 |
+
<?php $_finalPrice = $_taxHelper->getPrice($_product, $_product->getFinalPrice()) ?>
|
62 |
+
<?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true) ?>
|
63 |
+
<?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
|
64 |
+
<?php if ($_finalPrice == $_price): ?>
|
65 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
66 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
67 |
+
<span class="price-excluding-tax">
|
68 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
69 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
70 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
71 |
+
</span>
|
72 |
+
</span>
|
73 |
+
<span class="price-including-tax">
|
74 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
75 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
76 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
77 |
+
</span>
|
78 |
+
</span>
|
79 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
80 |
+
<span class="price-excluding-tax">
|
81 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
82 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
83 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
84 |
+
</span>
|
85 |
+
</span>
|
86 |
+
<span class="price-including-tax">
|
87 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
88 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
89 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
90 |
+
</span>
|
91 |
+
<span class="weee">(<small>
|
92 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
93 |
+
<?php echo $_weeeSeparator; ?>
|
94 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
95 |
+
<?php $_weeeSeparator = ' + '; ?>
|
96 |
+
<?php endforeach; ?>
|
97 |
+
</small>)</span>
|
98 |
+
</span>
|
99 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
100 |
+
<span class="price-excluding-tax">
|
101 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
102 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
103 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
104 |
+
</span>
|
105 |
+
</span>
|
106 |
+
<span class="price-including-tax">
|
107 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
108 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
109 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
110 |
+
</span>
|
111 |
+
<span class="weee">(<small>
|
112 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
113 |
+
<?php echo $_weeeSeparator; ?>
|
114 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
115 |
+
<?php $_weeeSeparator = ' + '; ?>
|
116 |
+
<?php endforeach; ?>
|
117 |
+
</small>)</span>
|
118 |
+
</span>
|
119 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
120 |
+
<span class="price-excluding-tax">
|
121 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
122 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
123 |
+
<?php echo $_coreHelper->currency($_price,true,false) ?>
|
124 |
+
</span>
|
125 |
+
</span>
|
126 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
127 |
+
<span class="weee">
|
128 |
+
<small>
|
129 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
130 |
+
</small>
|
131 |
+
</span>
|
132 |
+
<?php endforeach; ?>
|
133 |
+
<span class="price-including-tax">
|
134 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
135 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
136 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
137 |
+
</span>
|
138 |
+
</span>
|
139 |
+
<?php else: ?>
|
140 |
+
<span class="price-excluding-tax">
|
141 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
142 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
143 |
+
<?php echo $_coreHelper->currency($_price,true,false) ?>
|
144 |
+
</span>
|
145 |
+
</span>
|
146 |
+
<span class="price-including-tax">
|
147 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
148 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
149 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
|
150 |
+
</span>
|
151 |
+
</span>
|
152 |
+
<?php endif; ?>
|
153 |
+
<?php else: ?>
|
154 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
155 |
+
<span class="price-label"><?php echo $this->__('Our Price:') ?></span>
|
156 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
157 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
158 |
+
</span>
|
159 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
160 |
+
<span class="price-label"><?php echo $this->__('Our Price:') ?></span>
|
161 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
162 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
163 |
+
</span>
|
164 |
+
<span class="weee">(<small>
|
165 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
166 |
+
<?php echo $_weeeSeparator; ?>
|
167 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
168 |
+
<?php $_weeeSeparator = ' + '; ?>
|
169 |
+
<?php endforeach; ?>
|
170 |
+
</small>)</span>
|
171 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
172 |
+
<span class="price-label"><?php echo $this->__('Our Price:') ?></span>
|
173 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
174 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
175 |
+
</span>
|
176 |
+
<span class="weee">(<small>
|
177 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
178 |
+
<?php echo $_weeeSeparator; ?>
|
179 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
180 |
+
<?php $_weeeSeparator = ' + '; ?>
|
181 |
+
<?php endforeach; ?>
|
182 |
+
</small>)</span>
|
183 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
184 |
+
<span class="price-label"><?php echo $this->__('Our Price:') ?></span>
|
185 |
+
<span class="regular-price"><?php echo $_coreHelper->currency($_price,true,true) ?></span><br />
|
186 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
187 |
+
<span class="weee">
|
188 |
+
<small>
|
189 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
190 |
+
</small>
|
191 |
+
</span>
|
192 |
+
<?php endforeach; ?>
|
193 |
+
<span class="price-label"><?php echo $this->__('Our Price:') ?></span>
|
194 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
195 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
196 |
+
</span>
|
197 |
+
<?php else: ?>
|
198 |
+
<span class="price-label"><?php echo $this->__('Our Price:') ?></span>
|
199 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
200 |
+
<?php echo $_coreHelper->currency($_price,true,true) ?>
|
201 |
+
</span>
|
202 |
+
<?php endif; ?>
|
203 |
+
<?php endif; ?>
|
204 |
+
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
205 |
+
<?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
|
206 |
+
|
207 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
208 |
+
<p class="old-price">
|
209 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
210 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
211 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
212 |
+
</span>
|
213 |
+
</p>
|
214 |
+
|
215 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
216 |
+
<p class="special-price">
|
217 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
218 |
+
<span class="price-excluding-tax">
|
219 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
220 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
221 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
222 |
+
</span>
|
223 |
+
</span>
|
224 |
+
<span class="price-including-tax">
|
225 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
226 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
227 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
228 |
+
</span>
|
229 |
+
</span>
|
230 |
+
</p>
|
231 |
+
<?php else: ?>
|
232 |
+
<p class="special-price">
|
233 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
234 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
235 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
236 |
+
</span>
|
237 |
+
</p>
|
238 |
+
<?php endif; ?>
|
239 |
+
|
240 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
241 |
+
<p class="old-price">
|
242 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
243 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
244 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
245 |
+
</span>
|
246 |
+
</p>
|
247 |
+
|
248 |
+
<p class="special-price">
|
249 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
250 |
+
<span class="price-excluding-tax">
|
251 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
252 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
253 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
254 |
+
</span>
|
255 |
+
</span>
|
256 |
+
<span class="weee">(<small>
|
257 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
258 |
+
<?php echo $_weeeSeparator; ?>
|
259 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
260 |
+
<?php $_weeeSeparator = ' + '; ?>
|
261 |
+
<?php endforeach; ?>
|
262 |
+
</small>)</span>
|
263 |
+
<span class="price-including-tax">
|
264 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
265 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
266 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
267 |
+
</span>
|
268 |
+
</span>
|
269 |
+
</p>
|
270 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
271 |
+
<p class="old-price">
|
272 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
273 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
274 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
275 |
+
</span>
|
276 |
+
</p>
|
277 |
+
|
278 |
+
<p class="special-price">
|
279 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
280 |
+
<span class="price-excluding-tax">
|
281 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
282 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
283 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
284 |
+
</span>
|
285 |
+
</span>
|
286 |
+
<span class="weee">(<small>
|
287 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
288 |
+
<?php echo $_weeeSeparator; ?>
|
289 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
290 |
+
<?php $_weeeSeparator = ' + '; ?>
|
291 |
+
<?php endforeach; ?>
|
292 |
+
</small>)</span>
|
293 |
+
<span class="price-including-tax">
|
294 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
295 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
296 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
297 |
+
</span>
|
298 |
+
</span>
|
299 |
+
</p>
|
300 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
301 |
+
<p class="old-price">
|
302 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
303 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
304 |
+
<?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
|
305 |
+
</span>
|
306 |
+
</p>
|
307 |
+
|
308 |
+
<p class="special-price">
|
309 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
310 |
+
<span class="price-excluding-tax">
|
311 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
312 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
313 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
314 |
+
</span>
|
315 |
+
</span>
|
316 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
317 |
+
<span class="weee">
|
318 |
+
<small>
|
319 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
320 |
+
</small>
|
321 |
+
</span>
|
322 |
+
<?php endforeach; ?>
|
323 |
+
<span class="price-including-tax">
|
324 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
325 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
326 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
327 |
+
</span>
|
328 |
+
</span>
|
329 |
+
</p>
|
330 |
+
<?php else: // excl. ?>
|
331 |
+
<p class="old-price">
|
332 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
333 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
334 |
+
<?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
|
335 |
+
</span>
|
336 |
+
</p>
|
337 |
+
|
338 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
339 |
+
<p class="special-price">
|
340 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
341 |
+
<span class="price-excluding-tax">
|
342 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
343 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
344 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
345 |
+
</span>
|
346 |
+
</span>
|
347 |
+
<span class="price-including-tax">
|
348 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
349 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
350 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
|
351 |
+
</span>
|
352 |
+
</span>
|
353 |
+
</p>
|
354 |
+
<?php else: ?>
|
355 |
+
<p class="special-price">
|
356 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
357 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
358 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
359 |
+
</span>
|
360 |
+
</p>
|
361 |
+
<?php endif; ?>
|
362 |
+
<?php endif; ?>
|
363 |
+
|
364 |
+
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
365 |
+
|
366 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
|
367 |
+
|
368 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
369 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
370 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice+$_weeeTaxAmount; ?>
|
371 |
+
<?php endif; ?>
|
372 |
+
|
373 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
374 |
+
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
|
375 |
+
<?php else:?>
|
376 |
+
<span class="minimal-price-link">
|
377 |
+
<?php endif?>
|
378 |
+
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
379 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
380 |
+
<?php echo $_coreHelper->currency($_minimalPriceDisplayValue,true,false) ?>
|
381 |
+
</span>
|
382 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
383 |
+
</a>
|
384 |
+
<?php else:?>
|
385 |
+
</span>
|
386 |
+
<?php endif?>
|
387 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
388 |
+
</div>
|
389 |
+
|
390 |
+
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
391 |
+
<?php
|
392 |
+
$_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = null);
|
393 |
+
$_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = true);
|
394 |
+
?>
|
395 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
|
396 |
+
<div class="price-box">
|
397 |
+
<p class="minimal-price">
|
398 |
+
<span class="price-label"><?php echo $this->__('Starting at:') ?></span>
|
399 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
400 |
+
<span class="price-excluding-tax">
|
401 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
402 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
403 |
+
<?php echo $_coreHelper->currency($_exclTax, true, false) ?>
|
404 |
+
</span>
|
405 |
+
</span>
|
406 |
+
<span class="price-including-tax">
|
407 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
408 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
409 |
+
<?php echo $_coreHelper->currency($_inclTax, true, false) ?>
|
410 |
+
</span>
|
411 |
+
</span>
|
412 |
+
<?php else: ?>
|
413 |
+
<?php
|
414 |
+
$_showPrice = $_inclTax;
|
415 |
+
if (!$_taxHelper->displayPriceIncludingTax()) {
|
416 |
+
$_showPrice = $_exclTax;
|
417 |
+
}
|
418 |
+
?>
|
419 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
420 |
+
<?php echo $_coreHelper->currency($_showPrice, true, false) ?>
|
421 |
+
</span>
|
422 |
+
<?php endif; ?>
|
423 |
+
</p>
|
424 |
+
</div>
|
425 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
426 |
+
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
app/design/frontend/default/bluescale/template/catalog/product/view.phtml
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product view template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View
|
31 |
+
* @see Mage_Review_Block_Product_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$_helper = $this->helper('catalog/output');
|
36 |
+
$_product = $this->getProduct();
|
37 |
+
?>
|
38 |
+
<script type="text/javascript">
|
39 |
+
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
40 |
+
</script>
|
41 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
42 |
+
<div class="product-view">
|
43 |
+
<div class="product-essential">
|
44 |
+
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
45 |
+
<div class="no-display">
|
46 |
+
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
47 |
+
<input type="hidden" name="related_product" id="related-products-field" value="" />
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<div class="product-shop">
|
51 |
+
<div class="product-name">
|
52 |
+
<h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
|
53 |
+
</div>
|
54 |
+
|
55 |
+
<?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
|
56 |
+
<?php echo $this->getChildHtml('alert_urls') ?>
|
57 |
+
<?php echo $this->getChildHtml('product_type_data') ?>
|
58 |
+
<?php echo $this->getTierPriceHtml() ?>
|
59 |
+
|
60 |
+
<?php if (!$this->hasOptions()):?>
|
61 |
+
<div class="add-to-box">
|
62 |
+
<?php if($_product->isSaleable()): ?>
|
63 |
+
<?php echo $this->getChildHtml('addtocart') ?>
|
64 |
+
<?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
|
65 |
+
<span class="or"><?php echo $this->__('OR') ?></span>
|
66 |
+
<?php endif; ?>
|
67 |
+
<?php endif; ?>
|
68 |
+
<?php echo $this->getChildHtml('addto') ?>
|
69 |
+
<?php if ($this->canEmailToFriend()): ?>
|
70 |
+
<p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><span><?php echo $this->__('Email to a Friend') ?></span></a></p>
|
71 |
+
<?php endif; ?>
|
72 |
+
</div>
|
73 |
+
<?php else:?>
|
74 |
+
<?php echo $this->getChildHtml('addto') ?>
|
75 |
+
<?php endif; ?>
|
76 |
+
|
77 |
+
|
78 |
+
<?php if ($_product->getShortDescription()):?>
|
79 |
+
<div class="short-description">
|
80 |
+
<h2><?php echo $this->__('Quick Overview') ?></h2>
|
81 |
+
<div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
|
82 |
+
</div>
|
83 |
+
<?php endif;?>
|
84 |
+
|
85 |
+
<?php echo $this->getChildHtml('other');?>
|
86 |
+
|
87 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
88 |
+
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
|
89 |
+
<?php endif;?>
|
90 |
+
|
91 |
+
</div>
|
92 |
+
|
93 |
+
<div class="product-img-box">
|
94 |
+
<?php echo $this->getChildHtml('media') ?>
|
95 |
+
</div>
|
96 |
+
|
97 |
+
<div class="clearer"></div>
|
98 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
99 |
+
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
|
100 |
+
<?php endif;?>
|
101 |
+
</form>
|
102 |
+
<script type="text/javascript">
|
103 |
+
//<![CDATA[
|
104 |
+
var productAddToCartForm = new VarienForm('product_addtocart_form');
|
105 |
+
productAddToCartForm.submit = function(){
|
106 |
+
if (this.validator.validate()) {
|
107 |
+
this.form.submit();
|
108 |
+
}
|
109 |
+
}.bind(productAddToCartForm);
|
110 |
+
//]]>
|
111 |
+
</script>
|
112 |
+
</div>
|
113 |
+
|
114 |
+
<div class="product-collateral">
|
115 |
+
<?php echo $this->getChildHtml('description') ?>
|
116 |
+
<?php echo $this->getChildHtml('additional') ?>
|
117 |
+
<?php echo $this->getChildHtml('upsell_products') ?>
|
118 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
119 |
+
</div>
|
120 |
+
</div>
|
app/design/frontend/default/bluescale/template/checkout/cart/sidebar-top.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Shoping cart sidebar
|
29 |
+
*
|
30 |
+
* @see Mage_Checkout_Block_Cart_Sidebar
|
31 |
+
*/
|
32 |
+
|
33 |
+
?>
|
34 |
+
<div class="block-cart-top">
|
35 |
+
<?php $_cartQty = $this->getSummaryCount() ?>
|
36 |
+
<div class="block-content">
|
37 |
+
<div class="actions">
|
38 |
+
<button type="button" title="<?php echo $this->__('Checkout') ?>" class="button-small" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
|
39 |
+
</div>
|
40 |
+
<div class="summary">
|
41 |
+
<?php if ($_cartQty==1): ?>
|
42 |
+
<p class="amount"><?php echo $this->__('1 item') ?>: <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?></p>
|
43 |
+
<?php else:
|
44 |
+
$_cartQty = $_cartQty ? $_cartQty : 0;
|
45 |
+
?>
|
46 |
+
<p class="amount"><?php echo $_cartQty . ' ' . $this->__('items'); ?>: <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?></p>
|
47 |
+
<?php endif ?>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
</div>
|
app/design/frontend/default/bluescale/template/checkout/cart/sidebar/default.phtml
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<li class="item">
|
29 |
+
<a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a>
|
30 |
+
<div class="product-details">
|
31 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a></p>
|
32 |
+
<strong><?php echo $this->getQty() ?></strong> x
|
33 |
+
|
34 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
35 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
36 |
+
<?php echo $this->__('Excl. Tax'); ?>:
|
37 |
+
<?php endif; ?>
|
38 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
39 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
40 |
+
<?php else: ?>
|
41 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
44 |
+
<br />
|
45 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
46 |
+
<small>
|
47 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
48 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</small>
|
51 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
52 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
53 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
54 |
+
<?php endforeach; ?>
|
55 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
56 |
+
<small>
|
57 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
58 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
59 |
+
<?php endforeach; ?>
|
60 |
+
</small>
|
61 |
+
<?php endif; ?>
|
62 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
63 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php endif; ?>
|
66 |
+
<?php endif; ?>
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
71 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
72 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
73 |
+
<br /><?php echo $this->__('Incl. Tax'); ?>:
|
74 |
+
<?php endif; ?>
|
75 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
76 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
77 |
+
<?php else: ?>
|
78 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
79 |
+
<?php endif; ?>
|
80 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
81 |
+
<br />
|
82 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
83 |
+
<small>
|
84 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
85 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
86 |
+
<?php endforeach; ?>
|
87 |
+
</small>
|
88 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
89 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
90 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
91 |
+
<?php endforeach; ?>
|
92 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
93 |
+
<small>
|
94 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
95 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
96 |
+
<?php endforeach; ?>
|
97 |
+
</small>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
100 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
101 |
+
<?php endif; ?>
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php endif; ?>
|
104 |
+
<?php if ($_options = $this->getOptionList()):?>
|
105 |
+
<div class="truncated">
|
106 |
+
<div class="truncated_full_value">
|
107 |
+
<dl class="item-options">
|
108 |
+
<?php foreach ($_options as $_option) : ?>
|
109 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
110 |
+
<dd>
|
111 |
+
<?php if (is_array($_option['value'])): ?>
|
112 |
+
<?php echo nl2br(implode("\n", $_option['value'])) ?>
|
113 |
+
<?php else: ?>
|
114 |
+
<?php echo $_option['value'] ?>
|
115 |
+
<?php endif; ?>
|
116 |
+
</dd>
|
117 |
+
<?php endforeach; ?>
|
118 |
+
</dl>
|
119 |
+
</div>
|
120 |
+
<a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
|
121 |
+
</div>
|
122 |
+
<?php endif; ?>
|
123 |
+
</div>
|
124 |
+
</li>
|
app/design/frontend/default/bluescale/template/page/html/footer.phtml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="footer-container">
|
28 |
+
<div class="footer">
|
29 |
+
<?php echo $this->getChildHtml() ?>
|
30 |
+
<address><?php echo $this->getCopyright() ?></address>
|
31 |
+
<div class="design-by">Premium and Free <a href="http://web-experiment.info/magento_themes_buy.html" title="Magento Themes">Magento Themes</a></div>
|
32 |
+
</div>
|
33 |
+
</div>
|
app/design/frontend/default/bluescale/template/page/html/head.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<title><?php echo $this->getTitle() ?></title>
|
28 |
+
<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
|
29 |
+
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
|
30 |
+
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
|
31 |
+
<meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
|
32 |
+
<meta name="Designer" content="WebAndPeople Magento design - http://webandpeople.com" />
|
33 |
+
<link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
34 |
+
<link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
35 |
+
<script type="text/javascript">
|
36 |
+
//<![CDATA[
|
37 |
+
var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
|
38 |
+
var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
|
39 |
+
var SKIN_URL = '<?php echo $this->helper('core/js')->getJsSkinUrl('') ?>';
|
40 |
+
//]]>
|
41 |
+
</script>
|
42 |
+
<?php echo $this->getCssJsHtml() ?>
|
43 |
+
<?php echo $this->getChildHtml() ?>
|
44 |
+
<?php echo $this->helper('core/js')->getTranslatorScript() ?>
|
45 |
+
<?php echo $this->getIncludes() ?>
|
app/design/frontend/default/bluescale/template/page/html/header.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="header-container">
|
28 |
+
<div class="header">
|
29 |
+
<?php if ($this->getIsHomePage()):?>
|
30 |
+
<h2 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h2>
|
31 |
+
<?php else:?>
|
32 |
+
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
|
33 |
+
<?php endif?>
|
34 |
+
|
35 |
+
<div class="quick-access">
|
36 |
+
<?php echo $this->getChildHtml('cart_sidebar_top'); ?>
|
37 |
+
<?php echo $this->getChildHtml('header_phone_block'); ?>
|
38 |
+
<p class="welcome-msg"><?php echo $this->getWelcome()?></p>
|
39 |
+
<?php echo $this->getChildHtml('topLinksCustom') ?>
|
40 |
+
<div class="switchers">
|
41 |
+
<?php echo $this->getChildHtml('store_switcher_header') ?>
|
42 |
+
<?php echo $this->getChildHtml('store_language') ?>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
<?php echo $this->getChildHtml('topContainer'); ?>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
<?php echo $this->getChildHtml('topMenu') ?>
|
49 |
+
<div class="search-block">
|
50 |
+
<?php echo $this->getChildHtml('topSearch') ?>
|
51 |
+
<div class="search_block_content"><?php echo $this->getChildHtml('search_block_content'); ?></div>
|
52 |
+
<div class="sp"></div>
|
53 |
+
</div>
|
54 |
+
<div class="home_page_header_block"><?php echo $this->getChildHtml('home_page_header_block'); ?></div>
|
app/design/frontend/default/bluescale/template/page/html/topmenu.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Top menu for store
|
30 |
+
*
|
31 |
+
* @see Mage_Page_Block_Html_Topmenu
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_menu = $this->getHtml('level-top') ?>
|
35 |
+
<?php if($_menu): ?>
|
36 |
+
<div class="nav-container">
|
37 |
+
<ul id="nav">
|
38 |
+
<li class="home"><a class="home" href="<?php echo $this->getUrl('') ?>"><span><?php echo $this->__('home'); ?></span></a></li>
|
39 |
+
<?php echo $_menu ?>
|
40 |
+
</ul>
|
41 |
+
</div>
|
42 |
+
<?php endif ?>
|
app/design/frontend/default/bluescale/template/quickcontact/form.phtml
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script>$_SKIN_URL = '<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/default/default/';?>';</script>
|
2 |
+
<style>
|
3 |
+
#mask {
|
4 |
+
position:fixed;
|
5 |
+
left:0;
|
6 |
+
top:0;
|
7 |
+
z-index:9000;
|
8 |
+
background-color:#000;
|
9 |
+
display:none;
|
10 |
+
}
|
11 |
+
|
12 |
+
#modalwindow .window {
|
13 |
+
position:absolute;
|
14 |
+
left:0;
|
15 |
+
top:0;
|
16 |
+
display:none;
|
17 |
+
z-index:9999;
|
18 |
+
}
|
19 |
+
|
20 |
+
#modalwindow .dialog_content {
|
21 |
+
padding:20px;
|
22 |
+
}
|
23 |
+
|
24 |
+
#modalwindow #dialog {
|
25 |
+
background-color: #FFF;
|
26 |
+
min-width:500px;
|
27 |
+
}
|
28 |
+
.docklink{
|
29 |
+
display: block;
|
30 |
+
height: 15px;
|
31 |
+
padding: 16px 43px 84px 0;
|
32 |
+
background:url('<?php echo $this->getSkinUrl('quickcontact/images/btn_feedback.png')?>') no-repeat;
|
33 |
+
}
|
34 |
+
.bo_docklink a:hover{
|
35 |
+
background:url('<?php echo $this->getSkinUrl('quickcontact/images/btn_feedback_hover.png')?>') no-repeat;
|
36 |
+
padding-right: 50px;
|
37 |
+
}
|
38 |
+
</style>
|
39 |
+
<link type="text/css" href="<?php echo $this->getSkinUrl('quickcontact/css/form-contact.css') ?>" rel="stylesheet">
|
40 |
+
|
41 |
+
<?php if(Mage::getStoreConfig('quickcontact/email/dock_link')): ?>
|
42 |
+
<div style="display:none;"><img src="<?php echo $this->getSkinUrl('quickcontact/images/btn_feedback_hover.png')?>"></div>
|
43 |
+
<div style="position:fixed; right:0px; top:200px;" class="bo_docklink"><a class="docklink" href="#dialog" name="modal"></a></div>
|
44 |
+
<?php endif; ?>
|
45 |
+
|
46 |
+
<div id="modalwindow">
|
47 |
+
|
48 |
+
<div id="dialog" class="window">
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
<div class="form-quick-contact">
|
53 |
+
<div style="padding-right:30px;">
|
54 |
+
<div class="title" style="padding-bottom:30px;"><h1 id="quick_contact_title">Contact Us</h1></div>
|
55 |
+
<form action="<?php echo $this->getUrl('quickcontact/index/post'); ?>" method="post" name="contactform" id="contactform">
|
56 |
+
|
57 |
+
<div class="text">
|
58 |
+
<div class="info-txt"> <?php echo Mage::helper('quickcontact')->__('Your Name')?> <span style="color:#ff0000;">*</span></div>
|
59 |
+
<div class="info-txt"> <?php echo Mage::helper('quickcontact')->__('Your Email')?> <span style="color:#ff0000;">*</span></div>
|
60 |
+
<div class="info-txt"> <?php echo Mage::helper('quickcontact')->__('Your Phone')?> </div>
|
61 |
+
</div>
|
62 |
+
|
63 |
+
<div class="input">
|
64 |
+
<input class="input-text textbox" value="<?php if(Mage::helper('customer')->isLoggedIn()) echo Mage::getSingleton('customer/session', array('name'=>'frontend'))->getCustomer()->getName()?>" type="text" name="name" id="name"/>
|
65 |
+
<input class="input-text textbox" value="<?php if(Mage::helper('customer')->isLoggedIn()) echo Mage::getSingleton('customer/session', array('name'=>'frontend'))->getCustomer()->getEmail()?>" type="text" name="email" id="email"/>
|
66 |
+
<input class="input-text textbox" type="text" name="telephone" id="telephone" value=""/>
|
67 |
+
</div>
|
68 |
+
<div style="clear:both"><span></span></div>
|
69 |
+
<div class="text-area">
|
70 |
+
<p class="hm_content"><?php echo Mage::helper('quickcontact')->__('Comment')?> <span style="color:#ff0000;">*</span></p>
|
71 |
+
<textarea name="comment" id="comment" class="input-text" rows="10" cols="64"></textarea>
|
72 |
+
</div>
|
73 |
+
|
74 |
+
<div class="submit">
|
75 |
+
<input id="submit" type="image" src="<?php echo $this->getSkinUrl('quickcontact/images/submit.jpg')?>"> <a href="#" class="close"><img src="<?php echo $this->getSkinUrl('quickcontact/images/close.jpg')?>" /></a> </div>
|
76 |
+
|
77 |
+
</form>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
|
81 |
+
</div>
|
82 |
+
<div id="mask"></div>
|
83 |
+
|
84 |
+
|
85 |
+
</div>
|
app/design/frontend/default/bluescale/template/review/helper/summary.phtml
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($this->getReviewsCount()): ?>
|
28 |
+
<h2><?php echo $this->__('Product Rating'); ?></h2>
|
29 |
+
<div class="ratings">
|
30 |
+
<?php if ($this->getRatingSummary()):?>
|
31 |
+
<div class="rating-box">
|
32 |
+
<div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
|
33 |
+
</div>
|
34 |
+
<?php endif;?>
|
35 |
+
<p class="rating-links">
|
36 |
+
<a href="<?php echo $this->getReviewsUrl() ?>"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a>
|
37 |
+
<span class="separator">|</span>
|
38 |
+
<a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Add Your Review') ?></a>
|
39 |
+
</p>
|
40 |
+
</div>
|
41 |
+
<?php elseif ($this->getDisplayIfEmpty()): ?>
|
42 |
+
<p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
|
43 |
+
<?php endif; ?>
|
app/design/frontend/default/bluescale/template/review/helper/summary_short.phtml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($this->getReviewsCount()): ?>
|
28 |
+
<div class="ratings">
|
29 |
+
<?php if ($this->getRatingSummary()):?>
|
30 |
+
<div class="rating-box">
|
31 |
+
<div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
|
32 |
+
</div>
|
33 |
+
<?php endif;?>
|
34 |
+
<span class="amount"><a href="#" onclick="var t = opener ? opener.window : window; t.location.href='<?php echo $this->getReviewsUrl() ?>';"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a></span>
|
35 |
+
</div>
|
36 |
+
<?php elseif ($this->getDisplayIfEmpty()): ?>
|
37 |
+
<p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
|
38 |
+
<?php endif; ?>
|
app/etc/modules/WP_ThemeBluescale.xml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_ThemeBluescale>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>local</codePool>
|
7 |
+
</WP_ThemeBluescale>
|
8 |
+
</modules>
|
9 |
+
</config>
|
10 |
+
|
media/template/cards.jpg
ADDED
Binary file
|
media/template/custom_menu_image.gif
ADDED
Binary file
|
media/template/home_image01.jpg
ADDED
Binary file
|
media/template/home_image02.jpg
ADDED
Binary file
|
media/template/home_right_bt.jpg
ADDED
Binary file
|
media/template/home_right_top.jpg
ADDED
Binary file
|
media/template/left_image.jpg
ADDED
Binary file
|
media/template/magento_template.jpg
ADDED
Binary file
|
media/template/magento_theme.jpg
ADDED
Binary file
|
media/template/options.gif
ADDED
Binary file
|
media/template/paypal_small.png
ADDED
Binary file
|
media/template/social_icons/audioboo.png
ADDED
Binary file
|
media/template/social_icons/bebo.png
ADDED
Binary file
|
media/template/social_icons/behance.png
ADDED
Binary file
|
media/template/social_icons/blogger.png
ADDED
Binary file
|
media/template/social_icons/buzz.png
ADDED
Binary file
|
media/template/social_icons/creativecommons.png
ADDED
Binary file
|
media/template/social_icons/dailybooth.png
ADDED
Binary file
|
media/template/social_icons/delicious.png
ADDED
Binary file
|
media/template/social_icons/designfloat.png
ADDED
Binary file
|
media/template/social_icons/deviantart.png
ADDED
Binary file
|
media/template/social_icons/digg.png
ADDED
Binary file
|
media/template/social_icons/dopplr.png
ADDED
Binary file
|
media/template/social_icons/dribbble.png
ADDED
Binary file
|
media/template/social_icons/email.png
ADDED
Binary file
|
media/template/social_icons/ember.png
ADDED
Binary file
|
media/template/social_icons/facebook.png
ADDED
Binary file
|
media/template/social_icons/flickr.png
ADDED
Binary file
|
media/template/social_icons/forrst.png
ADDED
Binary file
|
media/template/social_icons/friendfeed.png
ADDED
Binary file
|
media/template/social_icons/google.png
ADDED
Binary file
|
media/template/social_icons/gowalla.png
ADDED
Binary file
|
media/template/social_icons/grooveshark.png
ADDED
Binary file
|
media/template/social_icons/hyves.png
ADDED
Binary file
|
media/template/social_icons/lastfm.png
ADDED
Binary file
|
media/template/social_icons/linkedin.png
ADDED
Binary file
|
media/template/social_icons/livejournal.png
ADDED
Binary file
|
media/template/social_icons/lockerz.png
ADDED
Binary file
|
media/template/social_icons/megavideo.png
ADDED
Binary file
|
media/template/social_icons/myspace.png
ADDED
Binary file
|
media/template/social_icons/piano.png
ADDED
Binary file
|
media/template/social_icons/playfire.png
ADDED
Binary file
|
media/template/social_icons/playstation.png
ADDED
Binary file
|
media/template/social_icons/reddit.png
ADDED
Binary file
|
media/template/social_icons/rss.png
ADDED
Binary file
|
media/template/social_icons/skype.png
ADDED
Binary file
|
media/template/social_icons/socialvibe.png
ADDED
Binary file
|
media/template/social_icons/soundcloud.png
ADDED
Binary file
|
media/template/social_icons/spotify.png
ADDED
Binary file
|
media/template/social_icons/steam.png
ADDED
Binary file
|
media/template/social_icons/stumbleupon.png
ADDED
Binary file
|
media/template/social_icons/technorati.png
ADDED
Binary file
|
media/template/social_icons/tumblr.png
ADDED
Binary file
|
media/template/social_icons/twitpic.png
ADDED
Binary file
|
media/template/social_icons/twitter.png
ADDED
Binary file
|
media/template/social_icons/typepad.png
ADDED
Binary file
|
media/template/social_icons/vimeo.png
ADDED
Binary file
|
media/template/social_icons/wakoopa.png
ADDED
Binary file
|
media/template/social_icons/wordpress.png
ADDED
Binary file
|
media/template/social_icons/xing.png
ADDED
Binary file
|
media/template/social_icons/yahoo.png
ADDED
Binary file
|
media/template/social_icons/youtube.png
ADDED
Binary file
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>wp_theme_bluescale_2013</name>
|
4 |
+
<version>1.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Magento Theme - Bluescale 2013 (Web-Experiment.Info)</summary>
|
10 |
+
<description>Magento Theme - Bluescale 2013 (Web-Experiment.Info)</description>
|
11 |
+
<notes>Magento Theme - Bluescale 2013 (Web-Experiment.Info)</notes>
|
12 |
+
<authors><author><name>WebAndPeople</name><user>auto-converted</user><email>design@webandpeople.com</email></author><author><name>webandpeople</name><user>auto-converted</user><email>ernazar@webandpeople.com</email></author></authors>
|
13 |
+
<date>2013-02-23</date>
|
14 |
+
<time>22:02:45</time>
|
15 |
+
<contents><target name="mageweb"><dir name="app"><dir name="code"><dir name="local"><dir name="Mage"><dir name="Catalog"><dir name="Block"><dir name="Product"><file name="Manufacturer.php" hash="13357297bdfd124e2359fad64204d7d5"/><file name="Popular.php" hash="83adaf7c291ff7c363cdcd9be612fc30"/></dir></dir></dir></dir><dir name="WP"><dir name="ThemeBluescale"><dir name="Block"><file name="About.php" hash="96837c713064da7ee1a47186a53cdac5"/></dir><dir name="Helper"><file name="Data.php" hash="acedb7d4d692ba7e95ce31c611d59e1f"/></dir><dir name="etc"><file name="config.xml" hash="4a430b4d360492148f6916ecd743db64"/><file name="system.xml" hash="105efea76894c7162b7fd0917d3bd490"/></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="bluescale"><dir name="etc"><file name="widget.xml" hash="3b4e988a2ba19946240c8bfad68e30ed"/></dir><dir name="layout"><file name="local.xml" hash="0d4c15fc030b52ea6f1a532b7ebe3ffa"/><file name="quickcontact.xml" hash="4c50583ec73d9385d78d5ee3de532565"/></dir><dir name="locale"><dir name="da_DK"><file name="translate.csv" hash="e8077d2fc03d4301680c3e00bfc18296"/></dir><dir name="en_US"><file name="translate.csv" hash="4eb6e600e7c8e310e18dd8711da69a0f"/></dir><dir name="ru_RU"><file name="translate.csv" hash="bdcf53d8641826099ee8e8757755a8c0"/></dir></dir><dir name="template"><dir name="callouts"><file name="left_col.phtml" hash="891e4d3203d280297849028f4a28def1"/><file name="right_col.phtml" hash="891e4d3203d280297849028f4a28def1"/></dir><dir name="catalog"><dir name="navigation"><file name="top.phtml" hash="b909491c0f7ac8f1cd7d39e3aba045d1"/></dir><dir name="product"><dir name="compare"><file name="sidebar.phtml" hash="7bcfeb324b4fc2c831ebafcd10ab4327"/></dir><dir name="list"><file name="upsell.phtml" hash="13e4a110167fb71070d6da81b363bbc7"/></dir><file name="home_full.phtml" hash="4f3eb3fdce554a69182fe538bdb293df"/><file name="home_rating.phtml" hash="df65e79c20e63da50bbc24681ea09fa8"/><file name="home_short.phtml" hash="39cc46d954a395fdbe240603c952471e"/><file name="list.phtml" hash="ec5f457275ff54e6cd41b26fd568d565"/><file name="popular.phtml" hash="8203829bb5a23ed9474172c101dc67bf"/><file name="price.phtml" hash="be0dae7b56bf5d95f1e6e1b076b68108"/><file name="view.phtml" hash="832d82ed843c29d8274519083d2522de"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="sidebar"><file name="default.phtml" hash="7524aa8c34028aebb50e919461ed5ae2"/></dir><file name="sidebar-top.phtml" hash="b0ad045af0e14d40ec7bb43a984042ce"/></dir></dir><dir name="page"><dir name="html"><file name="footer.phtml" hash="c201e53dedc300ca7cd0fff769a444df"/><file name="head.phtml" hash="2466fe762d3ea24402ec58b4fafad25f"/><file name="header.phtml" hash="6585bc90bd60247897baa01f955562a5"/><file name="topmenu.phtml" hash="db2b3089f5cebc07220f7cd9d2c9ef8a"/></dir></dir><dir name="quickcontact"><file name="form.phtml" hash="0c86a2c502e5bbb3c6d6c5bced112d65"/></dir><dir name="review"><dir name="helper"><file name="summary.phtml" hash="7dd4ea0c0f332d0f51ebfbacbe594d89"/><file name="summary_short.phtml" hash="04d24c9adeb9e284aaa791dcbd732c45"/></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="WP_ThemeBluescale.xml" hash="ea4b55c0c5aceacc521440b1016ea5d4"/></dir></dir></dir><dir name="media"><dir name="template"><dir name="social_icons"><file name="audioboo.png" hash="b0269a1aafef35cfe573003ead4e743e"/><file name="bebo.png" hash="7582629efba772fc28b63af3e78b3986"/><file name="behance.png" hash="af37e0195efa79d9d5323d2b280ec68d"/><file name="blogger.png" hash="cbf8412ea12712d8fabe16dc8189caa8"/><file name="buzz.png" hash="da0268d94fa8c5b84166224742a6ac23"/><file name="creativecommons.png" hash="b39791fdb817c71000ccd2072590c351"/><file name="dailybooth.png" hash="5f293774f5095f3af6a873c367217ade"/><file name="delicious.png" hash="3f12c27192310f670d7ee67611849382"/><file name="designfloat.png" hash="de6d609a4f3ac54d6710da53308ddaed"/><file name="deviantart.png" hash="4328b9e6e203bb57feae09e96d8fca6a"/><file name="digg.png" hash="264d66545914bcdffcd74bcca62fa5f8"/><file name="dopplr.png" hash="759640fd982431895feb15d694f625d4"/><file name="dribbble.png" hash="51b6f984fc1ddd0cf9cb9a1c13eda9ad"/><file name="email.png" hash="1a8d32a2899d8d49dd534cdba9f3ec6e"/><file name="ember.png" hash="bd82b39ab3250ae8c1dd2a97d29fded2"/><file name="facebook.png" hash="af54d0b9af630cf76e40fde1951ab117"/><file name="flickr.png" hash="263ff56d7c91682958c123e08fd2416c"/><file name="forrst.png" hash="82cce3f42947d3392c038461b98339af"/><file name="friendfeed.png" hash="8e24f1e4d51844c8770fb60abc011c8c"/><file name="google.png" hash="41e45f0d155a2dc6f1a6446190187212"/><file name="gowalla.png" hash="e0f26e8a3906f95d9b256314ee0615d2"/><file name="grooveshark.png" hash="9c5ce0b5c3510fe0c44683f3d7d71173"/><file name="hyves.png" hash="55600c89fa4883fe18b007672bfd7dd4"/><file name="lastfm.png" hash="9487a0747c3e06db0df91c0d1c705934"/><file name="linkedin.png" hash="00a9c5440b119a19266d78b2014501fe"/><file name="livejournal.png" hash="06bba108eb12c036b5406d00a0ca56a7"/><file name="lockerz.png" hash="70a0835e621228c5061012728894be94"/><file name="megavideo.png" hash="cacde7684ad8ff47800e4eadbe047f79"/><file name="myspace.png" hash="9be5ee25b4623a0e784cc0c4c8893282"/><file name="piano.png" hash="428f9efa3074462d26140818714779bb"/><file name="playfire.png" hash="150ac6064bfb7fa1fe70c5b3227a23f7"/><file name="playstation.png" hash="653f741a0310d0c466e92124c2a0459b"/><file name="reddit.png" hash="77fb3e028726ce9b3873665e0ba881d4"/><file name="rss.png" hash="dad2a1f21182254fb87220ea3494845e"/><file name="skype.png" hash="b7830cc8c5d836c47d50399b9b87356f"/><file name="socialvibe.png" hash="ac0d3756495e3761881d563e70fce39b"/><file name="soundcloud.png" hash="48954dbaa323f9087aeca0f3a076e423"/><file name="spotify.png" hash="477b17443bec6043814bd91acc554d33"/><file name="steam.png" hash="72f89a084e23326a9d52bce15f8486dd"/><file name="stumbleupon.png" hash="870b95e9efef0cb08edd1c8b73909be4"/><file name="technorati.png" hash="38843b7e8a799ce18d8bb72db3010939"/><file name="tumblr.png" hash="2097391c4527c803a498c17db0855805"/><file name="twitpic.png" hash="a577b676523930c5c6ce62e17705bb36"/><file name="twitter.png" hash="2e7b1690ccf2638a091e1a67043bdfa8"/><file name="typepad.png" hash="1fd645f7e95f68612bc3b3837259f31a"/><file name="vimeo.png" hash="9dc5ec506f53967cd45b7b6db55ef3ff"/><file name="wakoopa.png" hash="8f385e6c7d6aad6ff125c487798b2e5d"/><file name="wordpress.png" hash="d1d2c360f1cb3d64abad09c07d5751c6"/><file name="xing.png" hash="dc69e861d406211d6a7fd3e03af26fe8"/><file name="yahoo.png" hash="1647b539262d371770509c36ebe4b3db"/><file name="youtube.png" hash="127d41875697f6341316c40da3ac7649"/></dir><file name="cards.jpg" hash="dba1cd9769acb58d52a8fd86e01b2889"/><file name="custom_menu_image.gif" hash="ca47e8e7ffe689561b5d7822b2858a35"/><file name="home_image01.jpg" hash="bd6ff2cf3e114c6802e3627d6343d8fa"/><file name="home_image02.jpg" hash="0a87cb029f0b09dff7984676aab2f48d"/><file name="home_right_bt.jpg" hash="a9909e5c31c743e404247f217a2adf46"/><file name="home_right_top.jpg" hash="152cabdc8bd49397ca6c16bd64160ca0"/><file name="left_image.jpg" hash="cf4e4380040c935dfd45484d7921d068"/><file name="magento_template.jpg" hash="0dc918fdf1b46bba49fa71386a3375b5"/><file name="magento_theme.jpg" hash="759ce9a1b1874e1f331fc34527c81f3c"/><file name="options.gif" hash="e2cd0eae790497f81451c064f92cdf4b"/><file name="paypal_small.png" hash="22c3bcdf824c54b38a7941539e9ff2fb"/></dir></dir><dir name="skin"><dir name="frontend"><dir name="default"><dir name="bluescale"><dir name="css"><dir name="webandpeople"><dir name="custommenu"><file name="custommenu.css" hash="3a39b1d489a7b5dc1c6851ae367b2e9d"/></dir></dir><file name="skin.css" hash="72749e7cfa42146c32ef520d7870da44"/><file name="slider.css" hash="66f293e4039d2ce9146ef45e9c870f6d"/></dir><dir name="images"><dir name="slider"><file name="arr_left.png" hash="6f0edfdfb40d0874b27af882f4c273fc"/><file name="arr_right.png" hash="df20252833d9a06a6b14e5fbb830c510"/></dir><file name="add_btn_split.gif" hash="d91a0c8cbcaf5eaa08d66410ac3be961"/><file name="arr_btn_split.gif" hash="f1a165058b4c35393b115a5b092e369c"/><file name="b_arrow.gif" hash="133c97765ef48d6ad218f59e62086d03"/><file name="bg_blue.gif" hash="d05cd12638c4bc6cf5a7ad87dfc0cb9a"/><file name="bg_flower.jpg" hash="2fb08b3ff8ffcb44d4fd7c3612c9a7db"/><file name="bg_grey.gif" hash="7f030f9a93602bd1e74d316627abccc3"/><file name="bg_nt.gif" hash="976ebbfe2b9e78e68c64d16aa5cdd761"/><file name="bg_white.gif" hash="4d500ff8c822278b7efb3877a7d1395f"/><file name="bkg_nav2.gif" hash="2ed84ba9e819cc25a8e0555d41ead564"/><file name="bkg_rating.gif" hash="fbad926ec115746df5296d4a4df082e6"/><file name="block_head_cart.gif" hash="1fa0c5bdb7aca751ce2cc691588a33ef"/><file name="block_head_compare.gif" hash="5c71a2902f4927f53cc804dec5c3ea08"/><file name="block_head_popular.gif" hash="c7e2a0651effe9b322be3a1d3ed91cf4"/><file name="block_head_subscribe.gif" hash="7f67ae4e55c8d37798a3ba1067eeed21"/><file name="block_head_wish.gif" hash="fd0af06ad8dc552e1cb26a0e59f47994"/><file name="blue_btn_split.gif" hash="b6ae8374c5a55c4fea60f02837f5cbfb"/><file name="breadcrumbs_sp.gif" hash="5db1d1eb86a67f1387127ef8d54a8af3"/><file name="btn_remove.gif" hash="4518f67233e7630f8b8de9c704a71332"/><file name="btn_remove2.gif" hash="9220898b4d7d3b6d86a055547cc12d5d"/><file name="btn_trash.gif" hash="cb6018bf8ad4fc696fcc8415da09de4a"/><file name="button-small-split.gif" hash="85252c9e6177e5bb29d769d4d22f7fda"/><file name="comp.gif" hash="de63b2765c3abd87c79998e603975be6"/><file name="dd.gif" hash="0dcec7c85b8b98db084599fc786414ed"/><file name="em_quickshop_preview.png" hash="90a48247f2a7d201b88c8cf5ee9c3074"/><file name="email.gif" hash="c27046848a0446829b7a2b2b12f2b795"/><file name="footer_links_block_line.gif" hash="9ffb2408bcb5570603056ec825ef7a1e"/><file name="four_banners_menumar.gif" hash="133c97765ef48d6ad218f59e62086d03"/><file name="gift-message-collapse.gif" hash="1007e43eb38b6fcd73cf347cc72ca7d1"/><file name="gift-message-expand.gif" hash="b816bc0ecbbc33851068617e699997a8"/><file name="gr_arrow.gif" hash="fc9ac49b22fddc79f74a07debfe0b271"/><file name="header_links_sp.gif" hash="4533d17ac72250da52617cd5c1da0989"/><file name="home_bg.png" hash="e9d20cd6f0a1a4ec96d10bb95149f734"/><file name="i_asc_arrow.gif" hash="04ebfe8ac7ef024eb4cdb8db4c461143"/><file name="i_desc_arrow.gif" hash="25c28fa867732857788fd2cdd45510b5"/><file name="i_pager-next.gif" hash="03d75821653a1d37ef4eedda99b455e5"/><file name="i_pager-prev.gif" hash="d137387fdd2f25a939cd49bab48c1ff6"/><file name="icon_home.gif" hash="4ac5f728eae0ecda04f59d15b7bff1f2"/><file name="join_bg.gif" hash="86becbf1938eef289f94e96c59487b7c"/><file name="join_us_block_bg.gif" hash="dc4a0d9ce90498df287384dd64551261"/><file name="l_arr_btn_split.gif" hash="1130a6a052ad852a4ca3667f277e9730"/><file name="logo.gif" hash="e015fc18fd71952b4c1de9e952b3e754"/><file name="magnifier_handle.gif" hash="57e81833be17e72f080513a066fd73f2"/><file name="main_nav_sp.gif" hash="d72cfb2b5af7398dff6fd0dd80e27707"/><file name="nav_arrow.gif" hash="e5c61c3a6cc91881ecc89ac6faf41f60"/><file name="page_bg.gif" hash="d3d7776040066ae6aae61c33c175a767"/><file name="product_view.gif" hash="14fdb81a972378210eff68c447ddbb26"/><file name="r_arr_btn_split.gif" hash="74a26b54413d012282ed7fec5575be51"/><file name="search_btn.gif" hash="416afba88f46f1fcdc96f17cf7784ccb"/><file name="slider_btn_zoom_in.gif" hash="7008498c3f30bc6ba09deebb23c14ee5"/><file name="slider_btn_zoom_out.gif" hash="e9592ddd14c86cbf47beba003c748570"/><file name="slider_num.gif" hash="47db442971cf8e2ee4a613186f27a67d"/><file name="small_btn_split.gif" hash="673aeec769f52fa3afd7e5ff8a8a0045"/><file name="sort_asc_arrow.gif" hash="146d28ba0becce356c3e1ede269f71b3"/><file name="sort_desc_arrow.gif" hash="a202c44fc5256ac58e62f89cbb105af5"/><file name="subscribe_btn.gif" hash="26d78fe86003042276226bf5a75f8c3b"/><file name="subscribe_input.gif" hash="97c103fcbc128983a1efee044e9dbce8"/><file name="wish.gif" hash="84376b88c97c03fe5aad6b52e7628a1c"/></dir><dir name="js"><file name="cycle-fade-effect.js" hash="517601b123853503ef60cf1237b1472d"/><file name="em_quickshop.js" hash="c9c19ab6ae10607be546999701f60b33"/><file name="jquery-1.5.2.min.js" hash="e85aed5c30d734f1e30646e030d7a817"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="slider.js" hash="963965abd08a38ca97c41b429a409fa9"/></dir><dir name="quickcontact"><dir name="css"><file name="form-contact.css" hash="353e4ae6d1c829b9000756d64caff646"/></dir><dir name="images"><file name="bg-form.jpg" hash="3362a2c545720e6d6d0046428837f113"/><file name="btn_feedback.png" hash="6364db29ada6d49ca0d3688879ec81bb"/><file name="btn_feedback_hover.png" hash="23eb61f6a650b2ed8c6424c2a5af8af0"/><file name="close.jpg" hash="f6f1dfb4751bcd16c443b5aee9440880"/><file name="close1.jpg" hash="2877fee2bb8c694ce0a13c412c3ef185"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="submit.jpg" hash="55589899a7a6aa62dd7be7bc2b67da65"/><file name="submit1.jpg" hash="9dc8e40a7970bedae051539aa41c025a"/></dir><dir name="js"><file name="modalwindow.js" hash="236447a5e630ce62edf7577cc21f355e"/><file name="quickContact.js" hash="a6f651ee5dca309ef2e96c6156a60cf5"/></dir></dir><file name="favicon.ico" hash="72c7f5a0a3f015c4ff693c3aecac6d29"/></dir></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies/>
|
18 |
+
</package>
|
skin/frontend/default/bluescale/css/skin.css
ADDED
@@ -0,0 +1,2837 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Reset ================================================================================= */
|
2 |
+
* {
|
3 |
+
margin:0;
|
4 |
+
padding:0;
|
5 |
+
}
|
6 |
+
body {
|
7 |
+
background: #fff;
|
8 |
+
font: 75% Arial, Helvetica, sans-serif;
|
9 |
+
color: #313131;
|
10 |
+
text-align: center;
|
11 |
+
}
|
12 |
+
a:link, a:visited {
|
13 |
+
color:#007fc2;
|
14 |
+
text-decoration:none;
|
15 |
+
}
|
16 |
+
a:hover {
|
17 |
+
text-decoration:none;
|
18 |
+
color:#0092df;
|
19 |
+
}
|
20 |
+
/* Headings */
|
21 |
+
h1, h2, h3, h4, h5, h6 {
|
22 |
+
line-height: 1.1;
|
23 |
+
}
|
24 |
+
h2, h3, h4, h5, h6 {
|
25 |
+
color: #000;
|
26 |
+
}
|
27 |
+
h1, .page-title h1, .page-title h2, .product-view .product-shop .product-name h1, .postTitle h2 {
|
28 |
+
color: #000;
|
29 |
+
font-size: 30px;
|
30 |
+
line-height: 40px;
|
31 |
+
font-weight: 400;
|
32 |
+
font-family: "Segoe UI", Arial, Sans-Serif;
|
33 |
+
}
|
34 |
+
.col1-layout .page-title,
|
35 |
+
.col2-right-layout .page-title {
|
36 |
+
padding: 0 0 0 0px;
|
37 |
+
margin: 10px 0 15px 0;
|
38 |
+
}
|
39 |
+
.my-account .page-title {
|
40 |
+
padding: 0 0 0 0;
|
41 |
+
margin: 10px 0 15px 0;
|
42 |
+
}
|
43 |
+
.category-title {
|
44 |
+
margin:0 0 5px 0;
|
45 |
+
}
|
46 |
+
h2 {
|
47 |
+
font-size:18px;
|
48 |
+
font-weight:normal;
|
49 |
+
margin-bottom: 15px;
|
50 |
+
}
|
51 |
+
h3 {
|
52 |
+
font-size:12px;
|
53 |
+
font-weight:bold;
|
54 |
+
}
|
55 |
+
h4 {
|
56 |
+
font-size:12px;
|
57 |
+
font-weight:bold;
|
58 |
+
}
|
59 |
+
h5 {
|
60 |
+
font-size:12px;
|
61 |
+
font-weight:bold;
|
62 |
+
}
|
63 |
+
h6 {
|
64 |
+
font-size:11px;
|
65 |
+
font-weight:bold;
|
66 |
+
}
|
67 |
+
p {
|
68 |
+
margin:0 0 10px;
|
69 |
+
}
|
70 |
+
.pic-left {
|
71 |
+
float: left;
|
72 |
+
position: relative;
|
73 |
+
margin: 0px 10px 0px 0px;
|
74 |
+
}
|
75 |
+
.pic-right {
|
76 |
+
float: right;
|
77 |
+
position: relative;
|
78 |
+
margin: 0px 0px 0px 10px;
|
79 |
+
}
|
80 |
+
hr {
|
81 |
+
clear: both;
|
82 |
+
position: relative;
|
83 |
+
border: 1px solid #E4E4E4;
|
84 |
+
}
|
85 |
+
ul.bullet {
|
86 |
+
list-style: none;
|
87 |
+
margin-bottom: 20px;
|
88 |
+
}
|
89 |
+
ul.bullet li {
|
90 |
+
padding-left: 10px;
|
91 |
+
background: url(../images/gr_arrow.gif) no-repeat 0px 5px;
|
92 |
+
margin-bottom: 10px;
|
93 |
+
}
|
94 |
+
.std ul.disc {
|
95 |
+
list-style-type: circle;
|
96 |
+
}
|
97 |
+
/* Layout ================================================================================ */
|
98 |
+
.wrapper {
|
99 |
+
min-width: 980px;
|
100 |
+
}
|
101 |
+
.cms-home .wrapper {
|
102 |
+
background: transparent;
|
103 |
+
}
|
104 |
+
.page {
|
105 |
+
background: #fff url(../images/page_bg.gif) repeat-x 0 0;
|
106 |
+
width: 70%;
|
107 |
+
max-width: 1200px;
|
108 |
+
min-width: 980px;
|
109 |
+
margin-left: auto;
|
110 |
+
margin-right: auto;
|
111 |
+
padding: 0;
|
112 |
+
overflow: hidden;
|
113 |
+
border-right: 5px solid #fff;
|
114 |
+
border-left: 5px solid #fff;
|
115 |
+
}
|
116 |
+
.page-print {
|
117 |
+
background:#fff;
|
118 |
+
}
|
119 |
+
.page-empty {
|
120 |
+
background: #fff;
|
121 |
+
}
|
122 |
+
.page-popup {
|
123 |
+
background: #fff;
|
124 |
+
}
|
125 |
+
.main-container {
|
126 |
+
background:transparent;
|
127 |
+
clear: both;
|
128 |
+
}
|
129 |
+
.main {
|
130 |
+
padding: 10px 0px 10px 0px;
|
131 |
+
width: 100%;
|
132 |
+
background: none;
|
133 |
+
}
|
134 |
+
.wishlist-index-index .main {
|
135 |
+
padding-top: 15px;
|
136 |
+
}
|
137 |
+
|
138 |
+
/* Global Styles ========================================================================= */
|
139 |
+
|
140 |
+
/* Base Columns */
|
141 |
+
.col-left {
|
142 |
+
width: 18%;
|
143 |
+
max-width: 220px;
|
144 |
+
min-width: 176px;
|
145 |
+
padding-left: 1%;
|
146 |
+
padding-right: 1%;
|
147 |
+
float: left;
|
148 |
+
text-align: center;
|
149 |
+
}
|
150 |
+
.col-right {
|
151 |
+
width: 18%;
|
152 |
+
padding-left: 1%;
|
153 |
+
padding-right: 1%;
|
154 |
+
max-width: 220px;
|
155 |
+
min-width: 176px;
|
156 |
+
float: right;
|
157 |
+
text-align: center;
|
158 |
+
}
|
159 |
+
|
160 |
+
/* 1 Column Layout */
|
161 |
+
.col1-layout .col-main {
|
162 |
+
float:none;
|
163 |
+
width:auto;
|
164 |
+
padding-left: 10px;
|
165 |
+
padding-right: 10px;
|
166 |
+
}
|
167 |
+
/* 2 Columns Layout */
|
168 |
+
.col2-left-layout, .col2-right-layout {
|
169 |
+
background: transparent;
|
170 |
+
}
|
171 |
+
.col2-right-layout .col-main {
|
172 |
+
float: left;
|
173 |
+
}
|
174 |
+
.col2-left-layout .col-main {
|
175 |
+
float: right;
|
176 |
+
}
|
177 |
+
.col2-left-layout .col-main,
|
178 |
+
.col2-right-layout .col-main {
|
179 |
+
width: 78%;
|
180 |
+
padding-left: 1%;
|
181 |
+
padding-right: 1%;
|
182 |
+
max-width: 936px;
|
183 |
+
min-width: 764px;
|
184 |
+
}
|
185 |
+
|
186 |
+
/* 3 Columns Layout */
|
187 |
+
.col3-layout .col-wrapper {
|
188 |
+
float: left;
|
189 |
+
width: 80%;
|
190 |
+
padding:0;
|
191 |
+
max-width: 960px;
|
192 |
+
min-width: 784px;
|
193 |
+
}
|
194 |
+
.col3-layout .col-main {
|
195 |
+
width: 76%;
|
196 |
+
padding-left: 0%;
|
197 |
+
padding-right: 0%;
|
198 |
+
min-width: 595px;
|
199 |
+
max-width: 729px;
|
200 |
+
margin-left: 0;
|
201 |
+
}
|
202 |
+
.col3-layout .col-left {
|
203 |
+
width: 22%;
|
204 |
+
padding-left: 1%;
|
205 |
+
padding-right: 1%;
|
206 |
+
max-width: 211px;
|
207 |
+
min-width: 172px;
|
208 |
+
}
|
209 |
+
|
210 |
+
|
211 |
+
/*header*/
|
212 |
+
.header-container {
|
213 |
+
border: 0px;
|
214 |
+
padding: 0px;
|
215 |
+
margin-left: auto;
|
216 |
+
margin-right: auto;
|
217 |
+
background: #fff;
|
218 |
+
border-bottom: 0;
|
219 |
+
border-top: 0;
|
220 |
+
}
|
221 |
+
.header {
|
222 |
+
padding: 0px;
|
223 |
+
text-align: right;
|
224 |
+
width: 100%;
|
225 |
+
position: relative;
|
226 |
+
}
|
227 |
+
.header h2.logo {
|
228 |
+
margin: 0px 0px 0px 0px !important;
|
229 |
+
padding: 0px 0px 0px 0px !important;
|
230 |
+
}
|
231 |
+
.header .logo strong {
|
232 |
+
display: none;
|
233 |
+
}
|
234 |
+
a.logo {
|
235 |
+
margin: 0px 0px 0px 0px !important;
|
236 |
+
padding: 0px 0px 0px 0px !important;
|
237 |
+
}
|
238 |
+
.nav-container {
|
239 |
+
border-radius: 3px 3px 0px 0px;
|
240 |
+
margin: 0px 0 0 0;
|
241 |
+
clear: both;
|
242 |
+
margin-left: auto;
|
243 |
+
margin-right: auto;
|
244 |
+
}
|
245 |
+
#nav {
|
246 |
+
padding: 10px 0px 0px 0px;
|
247 |
+
width: 100%;
|
248 |
+
height: 38px;
|
249 |
+
}
|
250 |
+
#nav li {
|
251 |
+
padding: 2px 15px 2px 15px;
|
252 |
+
text-align: left;
|
253 |
+
background: transparent;
|
254 |
+
border-radius: 3px 3px 3px 3px;
|
255 |
+
}
|
256 |
+
#nav li.parent {
|
257 |
+
border-radius: 3px 3px 0px 0px;
|
258 |
+
}
|
259 |
+
#nav li li, #nav li li li {
|
260 |
+
border-radius: 0px !important;
|
261 |
+
}
|
262 |
+
#nav a {
|
263 |
+
width: 100%;
|
264 |
+
color: #ffffff !important;
|
265 |
+
text-transform: uppercase;
|
266 |
+
text-align: center;
|
267 |
+
padding: 4px 0px 0px 10px;
|
268 |
+
height: 22px;
|
269 |
+
line-height: 25px;
|
270 |
+
font-weight: bold;
|
271 |
+
background: url(../images/main_nav_sp.gif) no-repeat 0% 40%;
|
272 |
+
}
|
273 |
+
#nav a:hover {
|
274 |
+
color: #d0ebf8;
|
275 |
+
}
|
276 |
+
li.home {
|
277 |
+
margin-left: 10px;
|
278 |
+
}
|
279 |
+
a.home {
|
280 |
+
display: block !important;
|
281 |
+
width: 15px !important;
|
282 |
+
padding: 4px 0px 0px 0px !important;
|
283 |
+
background: url(../images/icon_home.gif) no-repeat 0% 40% !important;
|
284 |
+
}
|
285 |
+
a.home span {
|
286 |
+
display: none !important;
|
287 |
+
}
|
288 |
+
/********** < Navigation */
|
289 |
+
|
290 |
+
/* All Levels */ /* Style consistent throughout all nav levels */
|
291 |
+
#nav li {
|
292 |
+
position:relative;
|
293 |
+
text-align:left;
|
294 |
+
}
|
295 |
+
#nav li.over {
|
296 |
+
z-index:998;
|
297 |
+
}
|
298 |
+
#nav a, #nav a:hover {
|
299 |
+
display:block;
|
300 |
+
line-height: 14px;
|
301 |
+
text-decoration:none;
|
302 |
+
}
|
303 |
+
#nav span {
|
304 |
+
display:block;
|
305 |
+
cursor:pointer;
|
306 |
+
white-space:nowrap;
|
307 |
+
}
|
308 |
+
#nav li ul span {
|
309 |
+
white-space:normal;
|
310 |
+
}
|
311 |
+
#nav ul li.parent a {
|
312 |
+
background: #3ea3d9 url(../images/bkg_nav2.gif) no-repeat 100% 50%;
|
313 |
+
}
|
314 |
+
#nav ul li.parent li a {
|
315 |
+
background-image:none;
|
316 |
+
}
|
317 |
+
/* 0 Level */
|
318 |
+
#nav li {
|
319 |
+
float:left;
|
320 |
+
}
|
321 |
+
#nav li.active a {
|
322 |
+
color:#fff;
|
323 |
+
}
|
324 |
+
#nav a {
|
325 |
+
float:left;
|
326 |
+
}
|
327 |
+
#nav li.over a, #nav a:hover {
|
328 |
+
color: #fff !important;
|
329 |
+
}
|
330 |
+
#nav li.over {
|
331 |
+
background: #1974a5;
|
332 |
+
-webkit-transition: all .3s ease-in-out;
|
333 |
+
-moz-transition: all .3s ease-in-out;
|
334 |
+
-ms-transition: all .3s ease-in-out;
|
335 |
+
transition: all .3s ease-in-out;
|
336 |
+
}
|
337 |
+
/* 1st Level */
|
338 |
+
#nav ul li, #nav ul li.active {
|
339 |
+
float:none;
|
340 |
+
margin:0;
|
341 |
+
padding: 0px;
|
342 |
+
background: #1974a5 /*3ea3d9*/ none;
|
343 |
+
}
|
344 |
+
#nav ul li.last {
|
345 |
+
background: #1974a5;
|
346 |
+
padding-bottom:0;
|
347 |
+
}
|
348 |
+
#nav ul a, #nav ul a:hover {
|
349 |
+
float:none;
|
350 |
+
padding: 3px 0px 3px 0px;
|
351 |
+
background:none;
|
352 |
+
text-align: left;
|
353 |
+
text-transform: none !important;
|
354 |
+
}
|
355 |
+
#nav ul li a {
|
356 |
+
font-weight:normal !important;
|
357 |
+
}
|
358 |
+
/* 2nd Level */
|
359 |
+
#nav ul, #nav div {
|
360 |
+
position:absolute;
|
361 |
+
width:15em;
|
362 |
+
top:30px;
|
363 |
+
left:-10000px;
|
364 |
+
border:0;
|
365 |
+
}
|
366 |
+
#nav div ul {
|
367 |
+
position:static;
|
368 |
+
width:auto;
|
369 |
+
border:none;
|
370 |
+
}
|
371 |
+
ul.level1 li a {
|
372 |
+
background: #42abe4 !important;
|
373 |
+
color: #ffffff;
|
374 |
+
}
|
375 |
+
ul.level1 li a:hover {
|
376 |
+
background: #3ea3d9 !important;
|
377 |
+
color: #ffffff;
|
378 |
+
}
|
379 |
+
/* 3rd+ Level */
|
380 |
+
#nav ul ul, #nav ul div {
|
381 |
+
top:5px;
|
382 |
+
}
|
383 |
+
#nav ul li a {
|
384 |
+
background:#3ea3d9;
|
385 |
+
}
|
386 |
+
#nav ul li a:hover {
|
387 |
+
color: #fff;
|
388 |
+
background:#3ea3d9;
|
389 |
+
}
|
390 |
+
#nav ul li a, #nav ul li a:hover {
|
391 |
+
color:#d0ebf8 !important;
|
392 |
+
}
|
393 |
+
#nav ul span, #nav ul li.last li span {
|
394 |
+
}
|
395 |
+
/* Show menu */
|
396 |
+
#nav li ul.shown-sub, #nav li div.shown-sub {
|
397 |
+
left:0;
|
398 |
+
z-index:999;
|
399 |
+
}
|
400 |
+
#nav li .shown-sub ul.shown-sub, #nav li .shown-sub li div.shown-sub {
|
401 |
+
left:150px;
|
402 |
+
}
|
403 |
+
/*search form*/
|
404 |
+
.search-block {
|
405 |
+
min-height: 18px;
|
406 |
+
margin: 0 auto 0px auto;
|
407 |
+
padding: 3px 10px 3px 10px;
|
408 |
+
position: relative;
|
409 |
+
float: none;
|
410 |
+
text-align: left;
|
411 |
+
right: 0;
|
412 |
+
border-radius: 0px 0px 3px 3px;
|
413 |
+
}
|
414 |
+
#search_autocomplete {
|
415 |
+
display: none;
|
416 |
+
}
|
417 |
+
/*
|
418 |
+
#search_autocomplete {
|
419 |
+
background-color: white;
|
420 |
+
border: 1px solid #BFBFBF;
|
421 |
+
padding: 0;
|
422 |
+
margin: 0;
|
423 |
+
}
|
424 |
+
#search_autocomplete li {
|
425 |
+
padding: 3px 5px;
|
426 |
+
cursor: pointer;
|
427 |
+
}
|
428 |
+
*/
|
429 |
+
.search-block p {
|
430 |
+
font-size: 14px;
|
431 |
+
margin-bottom: 5px;
|
432 |
+
}
|
433 |
+
p.imp_notice a:link, p.imp_notice a:visited {
|
434 |
+
color: #000;
|
435 |
+
}
|
436 |
+
p.imp_notice {
|
437 |
+
padding-top: 7px;
|
438 |
+
margin-left: 0px;
|
439 |
+
-webkit-transition: margin 1s ease;
|
440 |
+
-moz-transition: margin 1s ease;
|
441 |
+
-o-transition: margin 1s ease;
|
442 |
+
-ms-transition: margin 1s ease;
|
443 |
+
transition: margin 1s ease;
|
444 |
+
}
|
445 |
+
p.imp_notice:hover {
|
446 |
+
margin-left: 20px;
|
447 |
+
}
|
448 |
+
p.imp_notice strong {
|
449 |
+
padding-right: 7px;
|
450 |
+
font: bold 16px Arial, Helvetica, sans-serif;
|
451 |
+
}
|
452 |
+
.header .form-search {
|
453 |
+
background:none;
|
454 |
+
}
|
455 |
+
.search-block #search_mini_form {
|
456 |
+
float: right;
|
457 |
+
$width: 279px;
|
458 |
+
padding-top: 5px;
|
459 |
+
}
|
460 |
+
.search-block .form-search label {
|
461 |
+
padding-top: 6px;
|
462 |
+
float: left;
|
463 |
+
color: #ffffff;
|
464 |
+
font: bold 12px Tahoma, Arial, Helvetica, sans-serif;
|
465 |
+
}
|
466 |
+
.search-block .form-search input.input-text {
|
467 |
+
width: 193px;
|
468 |
+
height: 20px;
|
469 |
+
background: #fff;
|
470 |
+
border-radius: 3px 0px 0px 3px;
|
471 |
+
margin: 0px 0px 0px 3px !important;
|
472 |
+
padding: 0px 0px 0px 12px;
|
473 |
+
float: left;
|
474 |
+
position: relative;
|
475 |
+
border: 0;
|
476 |
+
color: #919191;
|
477 |
+
font:12px/20px Arial, Helvetica, sans-serif;
|
478 |
+
}
|
479 |
+
.search-block .form-search input.input-text:focus {
|
480 |
+
color: #6f6f6f;
|
481 |
+
}
|
482 |
+
.search-block .form-search button.button {
|
483 |
+
float: right;
|
484 |
+
position: relative;
|
485 |
+
width: 26px;
|
486 |
+
height: 26px !important;
|
487 |
+
display: block;
|
488 |
+
margin: 0;
|
489 |
+
padding: 0;
|
490 |
+
background: url(../images/search_btn.gif) no-repeat 0 0;
|
491 |
+
}
|
492 |
+
.search-block .form-search button.button:hover {
|
493 |
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
|
494 |
+
filter: gray;
|
495 |
+
-webkit-filter: grayscale(100%);
|
496 |
+
}
|
497 |
+
.search-block .form-search button.button span {
|
498 |
+
display: none;
|
499 |
+
}
|
500 |
+
.head_phone_block {
|
501 |
+
text-align: right;
|
502 |
+
color: #7f7f7f;
|
503 |
+
font: bold 11px Arial, Helvetica, sans-serif;
|
504 |
+
margin-right: 10px;
|
505 |
+
float: right;
|
506 |
+
padding-top: 3px;
|
507 |
+
}
|
508 |
+
.head_phone_block .phone {
|
509 |
+
font: normal 18px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
510 |
+
}
|
511 |
+
.head_phone_block small {
|
512 |
+
color: #7f7f7f;
|
513 |
+
font: bold 12px Arial, Helvetica, sans-serif;
|
514 |
+
}
|
515 |
+
div.block-cart-top {
|
516 |
+
float: right;
|
517 |
+
position: relative;
|
518 |
+
background: #fff;
|
519 |
+
border: 0px;
|
520 |
+
padding: 5px 10px 0px 10px;
|
521 |
+
border-radius: 2px;
|
522 |
+
}
|
523 |
+
div.block-cart-top .actions {
|
524 |
+
float: right;
|
525 |
+
}
|
526 |
+
div.block-cart-top .summary {
|
527 |
+
float: right;
|
528 |
+
margin-right: 5px;
|
529 |
+
color: #000;
|
530 |
+
}
|
531 |
+
/* REQUIRED BUTTON STYLES: */
|
532 |
+
div.block-cart-top .actions button.button-small {
|
533 |
+
position: relative;
|
534 |
+
border: 0 !important;
|
535 |
+
cursor: pointer;
|
536 |
+
padding: 0;
|
537 |
+
overflow: visible; /* removes extra side padding in IE */
|
538 |
+
}
|
539 |
+
div.block-cart-top .actions button.button-small::-moz-focus-inner {
|
540 |
+
border: none; /* overrides extra padding in Firefox */
|
541 |
+
}
|
542 |
+
div.block-cart-top .actions button.button-small span {
|
543 |
+
position: relative;
|
544 |
+
display: block;
|
545 |
+
white-space: nowrap;
|
546 |
+
border: 0 !important;
|
547 |
+
background: none !important;
|
548 |
+
height:15px;
|
549 |
+
padding: 0;
|
550 |
+
margin: 0;
|
551 |
+
}
|
552 |
+
div.block-cart-top .actions button.button-small span span {
|
553 |
+
position: relative;
|
554 |
+
display: block;
|
555 |
+
white-space: nowrap;
|
556 |
+
border: 0 !important;
|
557 |
+
}
|
558 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
559 |
+
/* Safari and Google Chrome only - fix margins */
|
560 |
+
div.block-cart-top .actions button.button-small span {
|
561 |
+
margin-top: -1px;
|
562 |
+
}
|
563 |
+
}
|
564 |
+
/* OPTIONAL BUTTON STYLES for applying custom look and feel: */
|
565 |
+
div.block-cart-top .actions button.button-small {
|
566 |
+
padding: 0 6px 0 0;
|
567 |
+
font: bold 10px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
568 |
+
text-align: center;
|
569 |
+
background: transparent url(../images/button-small-split.gif) no-repeat right -22px;
|
570 |
+
height: 15px !important;
|
571 |
+
}
|
572 |
+
div.block-cart-top .actions button.button-small span span {
|
573 |
+
padding: 0px 0 0 7px;
|
574 |
+
height: 15px;
|
575 |
+
background: transparent url(../images/button-small-split.gif) no-repeat left top !important;
|
576 |
+
border: 0 !important;
|
577 |
+
color: #fff;
|
578 |
+
font: bold 10px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
579 |
+
text-transform: none;
|
580 |
+
}
|
581 |
+
div.block-cart-top .actions button.button-small:hover, div.block-cart-top .actions button.buttonHover { /* the redundant class is used to apply the hover state with a script */
|
582 |
+
background-position: right -66px;
|
583 |
+
}
|
584 |
+
div.block-cart-top .actions button.button-small:hover span span, div.block-cart-top .actions button.buttonHover span span {
|
585 |
+
background-position: 0 -44px !important;
|
586 |
+
}
|
587 |
+
/*header links*/
|
588 |
+
.header .quick-access {
|
589 |
+
padding: 10px 0px 5px 0px;
|
590 |
+
margin-top: 0px;
|
591 |
+
min-width: 600px;
|
592 |
+
position: relative;
|
593 |
+
}
|
594 |
+
.header .quick-access .switchers {
|
595 |
+
text-align: right;
|
596 |
+
padding-top: 0px;
|
597 |
+
}
|
598 |
+
.header .quick-access .switchers label {
|
599 |
+
display: none;
|
600 |
+
}
|
601 |
+
.header .switchers {
|
602 |
+
float: right;
|
603 |
+
margin-top: 4px;
|
604 |
+
}
|
605 |
+
div.switchers select {
|
606 |
+
border: 1px solid #ccc;
|
607 |
+
background: #fff;
|
608 |
+
}
|
609 |
+
.header .form-language select {
|
610 |
+
margin-left: 0;
|
611 |
+
}
|
612 |
+
.header .welcome-msg {
|
613 |
+
float: right;
|
614 |
+
text-align: right;
|
615 |
+
color: #555;
|
616 |
+
font-size: 12px;
|
617 |
+
font-weight: bold;
|
618 |
+
margin: 0px 10px 0px 0px;
|
619 |
+
line-height: 32px;
|
620 |
+
}
|
621 |
+
/*IE7 style*/
|
622 |
+
*:first-child+html div.block-cart-top {
|
623 |
+
border: 0;
|
624 |
+
padding-top: 0;
|
625 |
+
}
|
626 |
+
*:first-child+html .head_phone_block {
|
627 |
+
padding-top: 0;
|
628 |
+
}
|
629 |
+
*:first-child+html .header .welcome-msg {
|
630 |
+
line-height: 17px;
|
631 |
+
}
|
632 |
+
*:first-child+html .head_phone_block {
|
633 |
+
padding: 0px !important;
|
634 |
+
margin: 0 !important;
|
635 |
+
}
|
636 |
+
*:first-child+html .head_phone_block .phone {
|
637 |
+
font: normal 14px Arial, Helvetica, sans-serif;
|
638 |
+
}
|
639 |
+
/*end IE7 style*/
|
640 |
+
.header .links {
|
641 |
+
float: right;
|
642 |
+
margin: 0px 0px 0px 0px;
|
643 |
+
text-align: right;
|
644 |
+
clear: both;
|
645 |
+
padding: 5px 0px 0px 0px;
|
646 |
+
width: 100%;
|
647 |
+
}
|
648 |
+
.header .links li {
|
649 |
+
float: right;
|
650 |
+
padding: 0;
|
651 |
+
margin-left: 5px;
|
652 |
+
background: none;
|
653 |
+
}
|
654 |
+
.header .links a:link, .header .links a:visited {
|
655 |
+
display: block;
|
656 |
+
color: #000;
|
657 |
+
text-decoration: none;
|
658 |
+
background: #e1e1e1 url(../images/header_links_sp.gif) no-repeat 5px 7px;
|
659 |
+
padding:2px 10px 2px 15px;
|
660 |
+
text-transform: none;
|
661 |
+
border-radius: 2px;
|
662 |
+
}
|
663 |
+
.header .links a:hover {
|
664 |
+
background: #555 url(../images/header_links_sp.gif) no-repeat 5px 7px;
|
665 |
+
color: #fff;
|
666 |
+
-webkit-transition: all .2s ease-in-out;
|
667 |
+
-moz-transition: all .2s ease-in-out;
|
668 |
+
-ms-transition: all .2s ease-in-out;
|
669 |
+
transition: all .2s ease-in-out;
|
670 |
+
}
|
671 |
+
/*breadvrumbs*/
|
672 |
+
.breadcrumbs {
|
673 |
+
clear: both;
|
674 |
+
margin-bottom: 0px;
|
675 |
+
padding: 0px 0 10px 12px;
|
676 |
+
}
|
677 |
+
.breadcrumbs li {
|
678 |
+
margin-right: 5px;
|
679 |
+
}
|
680 |
+
.breadcrumbs strong {
|
681 |
+
font-weight: normal !important;
|
682 |
+
}
|
683 |
+
.breadcrumbs li strong {
|
684 |
+
color: #555;
|
685 |
+
}
|
686 |
+
.breadcrumbs span {
|
687 |
+
display: none;
|
688 |
+
}
|
689 |
+
.breadcrumbs a:link, .breadcrumbs a:visited {
|
690 |
+
text-decoration: none;
|
691 |
+
padding-right: 14px;
|
692 |
+
background: url(../images/breadcrumbs_sp.gif) no-repeat 100% 61%;
|
693 |
+
}
|
694 |
+
/*------------------Footer-------------------*/
|
695 |
+
.footer-container {
|
696 |
+
border-top: 0;
|
697 |
+
background: transparent;
|
698 |
+
}
|
699 |
+
.footer {
|
700 |
+
width: 100%;
|
701 |
+
margin-left: auto;
|
702 |
+
margin-right: auto;
|
703 |
+
padding: 0;
|
704 |
+
background: transparent;
|
705 |
+
}
|
706 |
+
.footer li {
|
707 |
+
background: none;
|
708 |
+
}
|
709 |
+
.footer ul.links {
|
710 |
+
padding-bottom: 2px;
|
711 |
+
padding-top: 0px;
|
712 |
+
background: #e6e6e6;
|
713 |
+
}
|
714 |
+
.footer address {
|
715 |
+
margin-bottom: 0px;
|
716 |
+
padding-top: 10px;
|
717 |
+
color: #555;
|
718 |
+
background: #e6e6e6 url(../images/footer_links_block_line.gif) repeat-x 0 0;
|
719 |
+
}
|
720 |
+
.footer ul.links {
|
721 |
+
padding-top: 5px;
|
722 |
+
padding-bottom: 5px;
|
723 |
+
}
|
724 |
+
.footer ul.links a:link, .footer ul.links a:visited {
|
725 |
+
color: #000;
|
726 |
+
font-weight: normal;
|
727 |
+
font-size: 13px;
|
728 |
+
}
|
729 |
+
.footer ul.links a:hover {
|
730 |
+
color: #000;
|
731 |
+
text-decoration: none;
|
732 |
+
}
|
733 |
+
.join_us_block {
|
734 |
+
margin-bottom: 13px;
|
735 |
+
padding: 10px 45px 10px 45px;
|
736 |
+
height: 37px;
|
737 |
+
text-align: left;
|
738 |
+
background: #eeeeee;
|
739 |
+
border-radius: 5px;
|
740 |
+
}
|
741 |
+
.share strong {
|
742 |
+
line-height: 32px;
|
743 |
+
font-weight: normal;
|
744 |
+
font-size: 13px;
|
745 |
+
}
|
746 |
+
.join_us_block img {
|
747 |
+
margin-left: 5px;
|
748 |
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
|
749 |
+
filter: gray;
|
750 |
+
-webkit-filter: grayscale(100%);
|
751 |
+
opacity: .7;
|
752 |
+
filter: alpha(opacity=70);
|
753 |
+
}
|
754 |
+
.join_us_block img:hover {
|
755 |
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
|
756 |
+
filter: none;
|
757 |
+
-webkit-filter: none;
|
758 |
+
opacity: 1;
|
759 |
+
filter: alpha(opacity=100);
|
760 |
+
}
|
761 |
+
a.join:link, a.join:visited {
|
762 |
+
display: block;
|
763 |
+
width: 30%;
|
764 |
+
height: 37px;
|
765 |
+
line-height: 37px;
|
766 |
+
background: #fff;
|
767 |
+
border: 1px dashed #c3c3c3;
|
768 |
+
margin: 13px 20px 0px 0px;
|
769 |
+
padding: 0px 0px 0px 0px;
|
770 |
+
float: left;
|
771 |
+
position: relative;
|
772 |
+
text-decoration: none;
|
773 |
+
color: #697073;
|
774 |
+
font-size: 10px;
|
775 |
+
text-align: center;
|
776 |
+
}
|
777 |
+
a.join:hover {
|
778 |
+
text-decoration: none;
|
779 |
+
}
|
780 |
+
a.join strong {
|
781 |
+
font-size: 24px;
|
782 |
+
text-transform: uppercase;
|
783 |
+
font-weight: normal;
|
784 |
+
}
|
785 |
+
.footer .footer_block {
|
786 |
+
margin-left: 0px;
|
787 |
+
padding: 23px 0px 5px 0px;
|
788 |
+
background: #eeeeee;
|
789 |
+
}
|
790 |
+
.footer .footer_block {
|
791 |
+
margin-left: 0px;
|
792 |
+
padding: 15px 20px 5px 43px;
|
793 |
+
border-radius: 5px 5px 0px 0px;
|
794 |
+
}
|
795 |
+
.footer_block .links_block {
|
796 |
+
clear: both;
|
797 |
+
margin-bottom: 10px;
|
798 |
+
}
|
799 |
+
.footer_block .links_block div {
|
800 |
+
float: left;
|
801 |
+
width: 30%;
|
802 |
+
margin-right: 20px;
|
803 |
+
}
|
804 |
+
.footer_block .links_block div.last {
|
805 |
+
margin-right: 0;
|
806 |
+
margin-left: 8px;
|
807 |
+
}
|
808 |
+
.footer_block .links_block div h6 {
|
809 |
+
display: block;
|
810 |
+
padding-left: 4px;
|
811 |
+
text-align: left;
|
812 |
+
color: #1A1A1A;
|
813 |
+
font-size: 1.4em;
|
814 |
+
font-weight: normal;
|
815 |
+
line-height: 1.25em;
|
816 |
+
margin-bottom: .65em;
|
817 |
+
}
|
818 |
+
.footer_block .links_block div ul {
|
819 |
+
display: block;
|
820 |
+
}
|
821 |
+
.footer_block .links_block div ul li {
|
822 |
+
display: block;
|
823 |
+
text-align: left;
|
824 |
+
margin-bottom: 10px;
|
825 |
+
}
|
826 |
+
.footer_block .links_block div ul li a {
|
827 |
+
font-size: 14px;
|
828 |
+
text-decoration: none;
|
829 |
+
}
|
830 |
+
.footer .design-by, .footer .design-by a {
|
831 |
+
padding-bottom: 0px;
|
832 |
+
background: #e6e6e6;
|
833 |
+
color: #b0b0b0;
|
834 |
+
font: normal 10px Arial, Helvetica, sans-serif;
|
835 |
+
}
|
836 |
+
/*-------------------------------------------------------SIDE BARS-----------*/
|
837 |
+
.block {
|
838 |
+
margin-left: auto;
|
839 |
+
margin-right: auto;
|
840 |
+
text-align: left;
|
841 |
+
border: 0;
|
842 |
+
}
|
843 |
+
.block .block-title {
|
844 |
+
border-bottom: 0px;
|
845 |
+
padding: 0px 0px 0px 0px;
|
846 |
+
background: transparent;
|
847 |
+
border-radius: 3px 3px 0px 0px ;
|
848 |
+
box-shadow: inset 0px 0px 0px 3px #fff;
|
849 |
+
}
|
850 |
+
.block-account .block-content li a, .block-account .block-content li.current strong, .block-account .block-content li.current {
|
851 |
+
border: 0 !important;
|
852 |
+
}
|
853 |
+
.block-cart .block-title strong, .block-wishlist .block-title strong, .block-subscribe .block-title strong, .block-compare .block-title strong, .block-reorder .block-title strong, .block-poll .block-title strong, .block-viewed .block-title strong, .block-compared .block-title strong, .block-related .block-title strong, .block-tags .block-title strong, .block-login .block-title strong {
|
854 |
+
color: #333333;
|
855 |
+
}
|
856 |
+
.block .block-title strong {
|
857 |
+
color: #fff;
|
858 |
+
font: bold 11px/15px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
859 |
+
padding: 10px 4px 6px 12px;
|
860 |
+
text-transform: uppercase;
|
861 |
+
border-radius: 3px 3px 0px 0px ;
|
862 |
+
box-shadow: inset 0px 0px 0px 3px #fff;
|
863 |
+
}
|
864 |
+
.block .block-title strong span {
|
865 |
+
padding: 0 0 0 0px;
|
866 |
+
}
|
867 |
+
.block .block-content {
|
868 |
+
color: #333;
|
869 |
+
padding-top: 6px;
|
870 |
+
padding-bottom: 13px;
|
871 |
+
padding-left: 4px;
|
872 |
+
padding-right: 2px;
|
873 |
+
background: transparent;
|
874 |
+
|
875 |
+
}
|
876 |
+
.block-cart .block-content {
|
877 |
+
color: #222;
|
878 |
+
}
|
879 |
+
.block-cart .actions {
|
880 |
+
padding-right: 48px;
|
881 |
+
}
|
882 |
+
.block-payment-options .block-content {
|
883 |
+
padding-left: 9px;
|
884 |
+
}
|
885 |
+
.block-account .block-content {
|
886 |
+
padding: 7px 10px 7px 13px;
|
887 |
+
}
|
888 |
+
.block li.odd {
|
889 |
+
background: transparent;
|
890 |
+
}
|
891 |
+
/*shop by, category*/
|
892 |
+
.block-layered-nav .block-subtitle {
|
893 |
+
display: none;
|
894 |
+
}
|
895 |
+
.block-layered-nav .block-title {
|
896 |
+
text-indent:0em;
|
897 |
+
height: auto;
|
898 |
+
}
|
899 |
+
.block-layered-nav .block-title strong {
|
900 |
+
}
|
901 |
+
.block-layered-nav .block-content {
|
902 |
+
border: 0;
|
903 |
+
padding-top: 0;
|
904 |
+
padding-bottom: 5px;
|
905 |
+
}
|
906 |
+
.block-layered-nav dt {
|
907 |
+
background: none;
|
908 |
+
font: normal 14px Tahoma, Arial, Helvetica, sans-serif;
|
909 |
+
color: #000;
|
910 |
+
padding: 5px 0px 5px 12px;
|
911 |
+
text-transform:upperase;
|
912 |
+
}
|
913 |
+
.block-layered-nav li {
|
914 |
+
padding-bottom: 5px;
|
915 |
+
color: #2f3135;
|
916 |
+
}
|
917 |
+
.block-layered-nav a:link, .block-layered-nav a:visited {
|
918 |
+
font: normal 14px Tahoma, Arial, Helvetica, sans-serif;
|
919 |
+
}
|
920 |
+
.block-layered-nav .currently .label {
|
921 |
+
background:none;
|
922 |
+
font-weight:bold;
|
923 |
+
padding-left:0px;
|
924 |
+
text-transform:none;
|
925 |
+
}
|
926 |
+
.block-layered-nav .currently .label span {
|
927 |
+
font-weight:normal;
|
928 |
+
color: #5d5d5d;
|
929 |
+
}
|
930 |
+
/*block-cart*/
|
931 |
+
.block-cart .block-title strong {
|
932 |
+
background: url(../images/block_head_cart.gif) no-repeat 0 0;
|
933 |
+
}
|
934 |
+
.block-cart .block-title strong span {
|
935 |
+
padding-lefT: 16px;
|
936 |
+
}
|
937 |
+
/*block-subscribe*/
|
938 |
+
.block-subscribe .block-title {
|
939 |
+
background: transparent;
|
940 |
+
}
|
941 |
+
.block-subscribe .block-title strong {
|
942 |
+
display: block;
|
943 |
+
padding: 14px 4px 12px 37px;
|
944 |
+
}
|
945 |
+
.block-subscribe .block-title strong span {
|
946 |
+
font-size: 16px;
|
947 |
+
font-weight: bold;
|
948 |
+
text-transform: uppercase;
|
949 |
+
padding-left: 14px;
|
950 |
+
}
|
951 |
+
.block-subscribe .block-content {
|
952 |
+
padding-top: 0;
|
953 |
+
padding-left: 12px !important;
|
954 |
+
padding-right: 2px;
|
955 |
+
}
|
956 |
+
.form-subscribe-header {
|
957 |
+
margin-bottom: 5px;
|
958 |
+
}
|
959 |
+
.block-subscribe input.input-text {
|
960 |
+
width: 100%;
|
961 |
+
height: 20px;
|
962 |
+
color: #ffffff;
|
963 |
+
background: url(../images/subscribe_input.gif) no-repeat 0 0;
|
964 |
+
border: 0;
|
965 |
+
margin: 0px 0px 0px 0px;
|
966 |
+
padding: 0px 0px 0px 2px;
|
967 |
+
}
|
968 |
+
.block-subscribe input.input-text:focus {
|
969 |
+
background: url(../images/subscribe_input.gif) no-repeat 0 0;
|
970 |
+
}
|
971 |
+
.block-subscribe .input-box {
|
972 |
+
float: left;
|
973 |
+
width: 75%;
|
974 |
+
height: 20px;
|
975 |
+
position: relative;
|
976 |
+
overflow: hidden;
|
977 |
+
margin: 0;
|
978 |
+
padding: 0px 0px 0px 0px;
|
979 |
+
}
|
980 |
+
.block-subscribe .actions {
|
981 |
+
float: left;
|
982 |
+
position: relative;
|
983 |
+
margin: 0px 0px 0px 0px;
|
984 |
+
padding: 0;
|
985 |
+
}
|
986 |
+
.block-subscribe .button {
|
987 |
+
display: block;
|
988 |
+
height: 20px;
|
989 |
+
width: 18px;
|
990 |
+
background: url(../images/subscribe_btn.gif) no-repeat 0 0;
|
991 |
+
margin: 0;
|
992 |
+
$margin: 1px 0px 0px 0px;
|
993 |
+
padding: 0;
|
994 |
+
cursor: pointer;
|
995 |
+
}
|
996 |
+
.block-subscribe .button:hover {
|
997 |
+
background: transparent url(../images/subscribe_btn.gif) no-repeat -18px 0px;
|
998 |
+
cursor: pointer;
|
999 |
+
}
|
1000 |
+
.block-subscribe .button span {
|
1001 |
+
float: left;
|
1002 |
+
position: relative;
|
1003 |
+
display: none;
|
1004 |
+
}
|
1005 |
+
/*compare*/
|
1006 |
+
.block-compare .block-title strong {
|
1007 |
+
display:block;
|
1008 |
+
padding:14px 4px 12px 37px;
|
1009 |
+
}
|
1010 |
+
.block-compare .block-title strong span {
|
1011 |
+
color:#2C85B4;
|
1012 |
+
font-size:14px;
|
1013 |
+
font-weight:bold;
|
1014 |
+
padding-left:2px;
|
1015 |
+
text-transform:uppercase;
|
1016 |
+
}
|
1017 |
+
.block-compare .block-title small {
|
1018 |
+
display: none;
|
1019 |
+
}
|
1020 |
+
/*wishlist*/
|
1021 |
+
.block-wishlist .block-title strong {
|
1022 |
+
display:block;
|
1023 |
+
padding:8px 4px 12px 37px;
|
1024 |
+
}
|
1025 |
+
.block-wishlist .block-title strong span {
|
1026 |
+
color:#2C85B4;
|
1027 |
+
font-size:16px;
|
1028 |
+
font-weight:bold;
|
1029 |
+
padding-left:12px;
|
1030 |
+
text-transform:uppercase;
|
1031 |
+
}
|
1032 |
+
.block-wishlist .block-title small {
|
1033 |
+
display: none;
|
1034 |
+
}
|
1035 |
+
/*popular*/
|
1036 |
+
.block-popular .block-title strong {
|
1037 |
+
display:block;
|
1038 |
+
padding:14px 4px 12px 37px;
|
1039 |
+
}
|
1040 |
+
.block-popular .block-title strong span {
|
1041 |
+
font-size:14px;
|
1042 |
+
font-weight:bold;
|
1043 |
+
padding-left:16px;
|
1044 |
+
text-transform:uppercase;
|
1045 |
+
}
|
1046 |
+
.block-popular .block-title small {
|
1047 |
+
display: none;
|
1048 |
+
}
|
1049 |
+
/*side-bar items*/
|
1050 |
+
.block .block-content li.item {
|
1051 |
+
padding:7px 12px 0px 9px;
|
1052 |
+
}
|
1053 |
+
.block .block-content li.item .product {
|
1054 |
+
padding-bottom: 0px;
|
1055 |
+
border-bottom: 0px solid #c3dfee;
|
1056 |
+
}
|
1057 |
+
.block .block-content li.last .product {
|
1058 |
+
padding-bottom: 0px;
|
1059 |
+
border-bottom: 0;
|
1060 |
+
}
|
1061 |
+
.block .block-content li.item .product-name a:link, .block .block-content li.item .product-name a:visited {
|
1062 |
+
border-radius: 2px;
|
1063 |
+
display: block;
|
1064 |
+
padding: 2px;
|
1065 |
+
}
|
1066 |
+
.block .block-content li.item a:hover {
|
1067 |
+
background: #fff;
|
1068 |
+
}
|
1069 |
+
/*side-bar prices*/
|
1070 |
+
.block .regular-price, .block .regular-price .price, .old-price .price, .special-price .price-label {
|
1071 |
+
color:#000;
|
1072 |
+
}
|
1073 |
+
/*reccently view*/
|
1074 |
+
#recently-viewed-items {
|
1075 |
+
margin: 0px;
|
1076 |
+
}
|
1077 |
+
#recently-viewed-items li {
|
1078 |
+
padding-top: 1px;
|
1079 |
+
padding-bottom: 2px;
|
1080 |
+
}
|
1081 |
+
#recently-viewed-items a:link, #recently-viewed-items a:visited {
|
1082 |
+
text-decoration: none;
|
1083 |
+
}
|
1084 |
+
#recently-viewed-items a:hover {
|
1085 |
+
}
|
1086 |
+
/*most popular, related */
|
1087 |
+
.block-content .old-price .price-label {
|
1088 |
+
display: none;
|
1089 |
+
color: #696969;
|
1090 |
+
font-weight: bold;
|
1091 |
+
}
|
1092 |
+
.block-content .special-price .price-label {
|
1093 |
+
display: none;
|
1094 |
+
}
|
1095 |
+
.crosssell .special-price .price {
|
1096 |
+
font-size:12px !important;
|
1097 |
+
}
|
1098 |
+
.block-content .old-price .price, .block-content .special-price .price, .block .regular-price, .block .regular-price .price, .block .minimal-price .price, .block .price-box .price{
|
1099 |
+
font-weight: normal;
|
1100 |
+
font-size: 11px;
|
1101 |
+
}
|
1102 |
+
.block .block-content ol {
|
1103 |
+
}
|
1104 |
+
.mini-products-list .product-image {
|
1105 |
+
width: 50px;
|
1106 |
+
}
|
1107 |
+
.mini-products-list .product-details {
|
1108 |
+
margin-left: 62px;
|
1109 |
+
}
|
1110 |
+
/*currency block fix*/
|
1111 |
+
.block-currency {
|
1112 |
+
height: auto !important;
|
1113 |
+
padding: 0;
|
1114 |
+
}
|
1115 |
+
.block-currency .block-title {
|
1116 |
+
margin: 0;
|
1117 |
+
}
|
1118 |
+
.block-currency .block-content select {
|
1119 |
+
width: auto !important;
|
1120 |
+
display: block !important;
|
1121 |
+
margin: 0px 0px 0px 0px !important;
|
1122 |
+
}
|
1123 |
+
.block-currency .block-content {
|
1124 |
+
padding-bottom:6px;
|
1125 |
+
padding-top:6px;
|
1126 |
+
padding-left: 10px;
|
1127 |
+
}
|
1128 |
+
.mini-products-list .product-details .price-box {
|
1129 |
+
margin: 0px 0 5px 0;
|
1130 |
+
}
|
1131 |
+
/* Form Elements */
|
1132 |
+
input {
|
1133 |
+
font:12px/15px Arial, Helvetica, sans-serif;
|
1134 |
+
color:#5d5d5d;
|
1135 |
+
font-weight: bold;
|
1136 |
+
}
|
1137 |
+
select, textarea {
|
1138 |
+
font:13px/14px Arial, Helvetica, sans-serif;
|
1139 |
+
color:#000;
|
1140 |
+
font-weight: normal;
|
1141 |
+
}
|
1142 |
+
input.input-text, select, textarea {
|
1143 |
+
background:#f9f9f9;
|
1144 |
+
border:1px solid #dadada;
|
1145 |
+
color: #000;
|
1146 |
+
}
|
1147 |
+
select.multiselect option {
|
1148 |
+
}
|
1149 |
+
.sort-by select {
|
1150 |
+
width: 128px;
|
1151 |
+
}
|
1152 |
+
/* Form */
|
1153 |
+
.form-list label {
|
1154 |
+
}
|
1155 |
+
.form-list label.required em {
|
1156 |
+
font-style:normal;
|
1157 |
+
}
|
1158 |
+
/* REQUIRED BUTTON STYLES: */
|
1159 |
+
button.button {
|
1160 |
+
position: relative;
|
1161 |
+
border: 0 !important;
|
1162 |
+
cursor: pointer;
|
1163 |
+
padding: 0;
|
1164 |
+
overflow: visible; /* removes extra side padding in IE */
|
1165 |
+
}
|
1166 |
+
button.button::-moz-focus-inner {
|
1167 |
+
border: none; /* overrides extra padding in Firefox */
|
1168 |
+
}
|
1169 |
+
button.button span {
|
1170 |
+
position: relative;
|
1171 |
+
display: block;
|
1172 |
+
white-space: nowrap;
|
1173 |
+
border: 0 !important;
|
1174 |
+
background: none !important;
|
1175 |
+
height:21px;
|
1176 |
+
padding: 0;
|
1177 |
+
margin: 0;
|
1178 |
+
}
|
1179 |
+
button.button span span {
|
1180 |
+
position: relative;
|
1181 |
+
display: block;
|
1182 |
+
white-space: nowrap;
|
1183 |
+
border: 0 !important;
|
1184 |
+
}
|
1185 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
1186 |
+
/* Safari and Google Chrome only - fix margins */
|
1187 |
+
button.button span {
|
1188 |
+
margin-top: -1px;
|
1189 |
+
}
|
1190 |
+
}
|
1191 |
+
/* OPTIONAL BUTTON STYLES for applying custom look and feel: */
|
1192 |
+
button.button {
|
1193 |
+
padding: 0 15px 0 0;
|
1194 |
+
font-size: 11px;
|
1195 |
+
text-align: center;
|
1196 |
+
background: transparent url(../images/small_btn_split.gif) no-repeat right -27px;
|
1197 |
+
height: 21px !important;
|
1198 |
+
}
|
1199 |
+
button.button span span {
|
1200 |
+
padding: 1px 0 0 15px;
|
1201 |
+
height: 21px;
|
1202 |
+
background: transparent url(../images/small_btn_split.gif) no-repeat left top !important;
|
1203 |
+
border: 0 !important;
|
1204 |
+
color: #000;
|
1205 |
+
font-size: 11px;
|
1206 |
+
font-weight: normal;
|
1207 |
+
text-transform: none;
|
1208 |
+
}
|
1209 |
+
button.button:hover, button.buttonHover { /* the redundant class is used to apply the hover state with a script */
|
1210 |
+
background-position: right -81px;
|
1211 |
+
}
|
1212 |
+
button.button:hover span span, button.buttonHover span span {
|
1213 |
+
background-position: 0 -54px !important;
|
1214 |
+
}
|
1215 |
+
.products-grid button.button, .products-list button.button, .add-to-cart button.button, .crosssell button.button, .compare-table button.button, .checkout-onepage-index button.button {
|
1216 |
+
padding: 0 11px 0 0;
|
1217 |
+
font-size: 11px;
|
1218 |
+
text-align: center;
|
1219 |
+
background: transparent url(../images/blue_btn_split.gif) no-repeat right -31px;
|
1220 |
+
height: 21px !important;
|
1221 |
+
}
|
1222 |
+
.products-grid button.button span span, .products-list button.button span span, .add-to-cart button.button span span, .crosssell button.button span span, .compare-table button.button span span, .checkout-onepage-index button.button span span {
|
1223 |
+
padding: 1px 0 0 11px;
|
1224 |
+
height: 21px;
|
1225 |
+
background: transparent url(../images/blue_btn_split.gif) no-repeat left top !important;
|
1226 |
+
border: 0 !important;
|
1227 |
+
color: #fff;
|
1228 |
+
text-transform: none;
|
1229 |
+
}
|
1230 |
+
.products-grid button.button:hover, .products-grid button.buttonHover, .products-list button.button:hover, .products-list button.buttonHover, .add-to-cart button.button:hover, .add-to-cart button.buttonHover, .crosssell button.button:hover, .crosssell button.buttonHover, .compare-table button.button:hover, .compare-table button.buttonHover, .checkout-onepage-index button.buttonHover, .checkout-onepage-index button.button:hover { /* the redundant class is used to apply the hover state with a script */
|
1231 |
+
background-position: right -93px;
|
1232 |
+
}
|
1233 |
+
.products-grid button.button:hover span span, .products-grid button.buttonHover span span, .products-list button.button:hover span span, .products-list button.buttonHover span span, .add-to-cart button.button:hover span span, .add-to-cart button.buttonHover span span, .crosssell button.button:hover span span, .crosssell button.buttonHover span span, .compare-table button.button:hover span span, .compare-table button.buttonHover span span, .checkout-onepage-index button.buttonHover span span, .checkout-onepage-index button.button:hover span span {
|
1234 |
+
background-position: 0 -62px !important;
|
1235 |
+
}
|
1236 |
+
.checkout-types button.button span, #checkout-review-submit button.button span {
|
1237 |
+
position: relative;
|
1238 |
+
display: block;
|
1239 |
+
white-space: nowrap;
|
1240 |
+
border: 0 !important;
|
1241 |
+
background: none !important;
|
1242 |
+
height:25px;
|
1243 |
+
font-size: 14px/25px;
|
1244 |
+
padding: 0;
|
1245 |
+
margin: 0;
|
1246 |
+
}
|
1247 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
1248 |
+
/* Safari and Google Chrome only - fix margins */
|
1249 |
+
.checkout-types button.button span {
|
1250 |
+
margin-top: -1px;
|
1251 |
+
}
|
1252 |
+
}
|
1253 |
+
/* OPTIONAL BUTTON STYLES for applying custom look and feel: */
|
1254 |
+
.checkout-types button.button, #checkout-review-submit button.button {
|
1255 |
+
padding: 0 26px 0 0;
|
1256 |
+
font-size: 14px/25px;
|
1257 |
+
text-align: center;
|
1258 |
+
background: transparent url(../images/r_arr_btn_split.gif) no-repeat right -33px;
|
1259 |
+
height: 25px !important;
|
1260 |
+
}
|
1261 |
+
.checkout-types button.button span span, #checkout-review-submit button.button span span {
|
1262 |
+
padding: 3px 0 0 17px;
|
1263 |
+
height: 25px;
|
1264 |
+
background: transparent url(../images/r_arr_btn_split.gif) no-repeat left top !important;
|
1265 |
+
border: 0 !important;
|
1266 |
+
color: #fff;
|
1267 |
+
font: bold 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
1268 |
+
text-transform: none;
|
1269 |
+
}
|
1270 |
+
.checkout-types button.button:hover, button.buttonHover, #checkout-review-submit button.button:hover { /* the redundant class is used to apply the hover state with a script */
|
1271 |
+
background-position: right -99px;
|
1272 |
+
}
|
1273 |
+
.checkout-types button.button:hover span span, button.buttonHover span span, #checkout-review-submit button.button:hover span span {
|
1274 |
+
background-position: 0 -66px !important;
|
1275 |
+
}
|
1276 |
+
/********** btn-continue button ************/
|
1277 |
+
button.btn-continue span {
|
1278 |
+
position: relative;
|
1279 |
+
display: block;
|
1280 |
+
white-space: nowrap;
|
1281 |
+
border: 0 !important;
|
1282 |
+
background: none !important;
|
1283 |
+
height:25px;
|
1284 |
+
font: 14px/25px Tahoma, Helvetica, sans-serif;
|
1285 |
+
padding: 0;
|
1286 |
+
margin: 0;
|
1287 |
+
}
|
1288 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
1289 |
+
/* Safari and Google Chrome only - fix margins */
|
1290 |
+
button.btn-continue span {
|
1291 |
+
margin-top: -1px;
|
1292 |
+
}
|
1293 |
+
}
|
1294 |
+
/* OPTIONAL BUTTON STYLES for applying custom look and feel: */
|
1295 |
+
button.btn-continue {
|
1296 |
+
padding: 0 26px 0 0;
|
1297 |
+
font: 14px/25px Tahoma, Helvetica, sans-serif;
|
1298 |
+
text-align: center;
|
1299 |
+
background: transparent url(../images/l_arr_btn_split.gif) no-repeat right -33px;
|
1300 |
+
height: 25px !important;
|
1301 |
+
}
|
1302 |
+
button.btn-continue span span {
|
1303 |
+
padding: 3px 0 0 26px !important;
|
1304 |
+
height: 25px;
|
1305 |
+
background: transparent url(../images/l_arr_btn_split.gif) no-repeat left top !important;
|
1306 |
+
border: 0 !important;
|
1307 |
+
color: #fff;
|
1308 |
+
font: bold 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
1309 |
+
text-transform: none;
|
1310 |
+
}
|
1311 |
+
button.btn-continue:hover, button.btn-continueHover { /* the redundant class is used to apply the hover state with a script */
|
1312 |
+
background-position: right -99px;
|
1313 |
+
}
|
1314 |
+
button.btn-continue:hover span span, button.btn-continueHover span span {
|
1315 |
+
background-position: 0 -66px !important;
|
1316 |
+
}
|
1317 |
+
/********** leftside cart button ************/
|
1318 |
+
.block-cart .actions button.button span {
|
1319 |
+
position: relative;
|
1320 |
+
display: block;
|
1321 |
+
white-space: nowrap;
|
1322 |
+
border: 0 !important;
|
1323 |
+
background: none !important;
|
1324 |
+
height:20px;
|
1325 |
+
font: 14px/20px Tahoma, Helvetica, sans-serif;
|
1326 |
+
padding: 0;
|
1327 |
+
margin: 0;
|
1328 |
+
}
|
1329 |
+
/* OPTIONAL BUTTON STYLES for applying custom look and feel: */
|
1330 |
+
.block-cart .actions button.button {
|
1331 |
+
font: 14px/20px Tahoma, Helvetica, sans-serif;
|
1332 |
+
text-align: center;
|
1333 |
+
background: transparent url(../images/arr_btn_split.gif) no-repeat right -26px;
|
1334 |
+
height: 20px !important;
|
1335 |
+
}
|
1336 |
+
.block-cart .actions button.button span span {
|
1337 |
+
padding: 3px 0 0 15px;
|
1338 |
+
height: 20px;
|
1339 |
+
background: transparent url(../images/arr_btn_split.gif) no-repeat left top !important;
|
1340 |
+
border: 0 !important;
|
1341 |
+
color: #fff;
|
1342 |
+
font: bold 11px Tahoma, Helvetica, sans-serif;
|
1343 |
+
text-transform: uppercase;
|
1344 |
+
}
|
1345 |
+
.block-cart .actions button.button:hover, .block-cart .actions button.buttonHover { /* the redundant class is used to apply the hover state with a script */
|
1346 |
+
background-position: right -78px;
|
1347 |
+
}
|
1348 |
+
.block-cart .actions button.button:hover span span, .block-cart .actions button.buttonHover span span {
|
1349 |
+
background-position: 0 -52px !important;
|
1350 |
+
}
|
1351 |
+
/********** / leftside cart button ************/
|
1352 |
+
/********** add to cart button ************/
|
1353 |
+
.product-shop .add-to-cart button.button span {
|
1354 |
+
position: relative;
|
1355 |
+
display: block;
|
1356 |
+
white-space: nowrap;
|
1357 |
+
border: 0 !important;
|
1358 |
+
background: none !important;
|
1359 |
+
height:25px;
|
1360 |
+
font: 14px/25px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
1361 |
+
padding: 0;
|
1362 |
+
margin: 0;
|
1363 |
+
}
|
1364 |
+
/* OPTIONAL BUTTON STYLES for applying custom look and feel: */
|
1365 |
+
.product-shop .add-to-cart button.button {
|
1366 |
+
float: none;
|
1367 |
+
$float: left;
|
1368 |
+
display: block;
|
1369 |
+
padding: 0 15px 0 0;
|
1370 |
+
font: 14px/25px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
1371 |
+
text-align: center;
|
1372 |
+
background: transparent url(../images/add_btn_split.gif) no-repeat right -33px;
|
1373 |
+
height: 25px !important;
|
1374 |
+
}
|
1375 |
+
.product-shop .add-to-cart button.button span span {
|
1376 |
+
padding: 3px 0 0 30px;
|
1377 |
+
height: 25px;
|
1378 |
+
background: transparent url(../images/add_btn_split.gif) no-repeat left top !important;
|
1379 |
+
border: 0 !important;
|
1380 |
+
color: #fff;
|
1381 |
+
font: bold 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
1382 |
+
text-transform: none;
|
1383 |
+
}
|
1384 |
+
.product-shop .add-to-cart button.button:hover, .product-shop .add-to-cart button.buttonHover { /* the redundant class is used to apply the hover state with a script */
|
1385 |
+
background-position: right -99px;
|
1386 |
+
}
|
1387 |
+
.product-shop .add-to-cart button.button:hover span span, .product-shop .add-to-cart button.buttonHover span span {
|
1388 |
+
background-position: 0 -66px !important;
|
1389 |
+
}
|
1390 |
+
/********** / add to cart button ************/
|
1391 |
+
.product-view .box-tags .form-add .input-box {
|
1392 |
+
margin-right: 8px;
|
1393 |
+
}
|
1394 |
+
.product-view .box-tags .form-add .input-box input {
|
1395 |
+
height: 14px;
|
1396 |
+
}
|
1397 |
+
/**********************************************************************************************************CATALOG******************/
|
1398 |
+
/*toolbar*/
|
1399 |
+
div.toolbar {
|
1400 |
+
margin-bottom: 10px;
|
1401 |
+
}
|
1402 |
+
div.toolbar div.pager {
|
1403 |
+
padding: 0;
|
1404 |
+
margin-bottom: 2px;
|
1405 |
+
background: none;
|
1406 |
+
}
|
1407 |
+
div.toolbar div.sorter {
|
1408 |
+
padding: 0;
|
1409 |
+
background: none;
|
1410 |
+
}
|
1411 |
+
.toolbar-bottom {
|
1412 |
+
margin-top: 30px;
|
1413 |
+
}
|
1414 |
+
.toolbar-bottom .toolbar .pager {
|
1415 |
+
display: block;
|
1416 |
+
}
|
1417 |
+
div.toolbar-bottom div.sorter {
|
1418 |
+
display: block;
|
1419 |
+
}
|
1420 |
+
div.toolbar-bottom .view-mode {
|
1421 |
+
padding-right: 20px;
|
1422 |
+
}
|
1423 |
+
div.toolbar-bottom .limiter {
|
1424 |
+
float: right;
|
1425 |
+
}
|
1426 |
+
.products-grid {
|
1427 |
+
background: none;
|
1428 |
+
}
|
1429 |
+
.products-grid li.last {
|
1430 |
+
padding-right: 0px !important;
|
1431 |
+
margin-right: 0 !important;
|
1432 |
+
}
|
1433 |
+
|
1434 |
+
/*product image*/
|
1435 |
+
.products-grid .product-image {
|
1436 |
+
background-color: #ffffff;
|
1437 |
+
margin-bottom: 10px;
|
1438 |
+
margin-left: 0px;
|
1439 |
+
}
|
1440 |
+
.products-grid li.first .product-image {
|
1441 |
+
margin-left: 0px;
|
1442 |
+
}
|
1443 |
+
/*produt name*/
|
1444 |
+
.products-list .product-name, .products-list .product-name a {
|
1445 |
+
font-size:13px;
|
1446 |
+
font-weight: bold;
|
1447 |
+
text-transform: none;
|
1448 |
+
text-decoration: none;
|
1449 |
+
margin-bottom: 8px;
|
1450 |
+
}
|
1451 |
+
.products-grid .product-name, .products-grid .product-name a {
|
1452 |
+
font-size:16px;
|
1453 |
+
font-weight: normal;
|
1454 |
+
text-transform: none;
|
1455 |
+
text-decoration: none;
|
1456 |
+
margin-bottom: 15px;
|
1457 |
+
padding: 0px 20px 0px 0px;
|
1458 |
+
}
|
1459 |
+
.products-grid .short-description {
|
1460 |
+
padding: 0px 20px 0px 0px;
|
1461 |
+
}
|
1462 |
+
/*Prices*/
|
1463 |
+
.products-grid .price-box .price-label, .old-price .price-label, .special-price .price-label {
|
1464 |
+
font-size:11px;
|
1465 |
+
color: #000;
|
1466 |
+
}
|
1467 |
+
.old-price .price {
|
1468 |
+
color: #000;
|
1469 |
+
font-size: 11px;
|
1470 |
+
font-weight: normal;
|
1471 |
+
text-decoration: line-through;
|
1472 |
+
}
|
1473 |
+
.special-price .price {
|
1474 |
+
font-size:16px;
|
1475 |
+
font-weight: normal;
|
1476 |
+
color: #fff !important;
|
1477 |
+
background: #fe7f0e;
|
1478 |
+
padding: 0px 3px;
|
1479 |
+
border-radius: 2px;
|
1480 |
+
}
|
1481 |
+
.minimal-price .price, .minimal-price-link .price {
|
1482 |
+
background: #e9e9e9;
|
1483 |
+
padding: 0px 3px;
|
1484 |
+
border-radius: 2px;
|
1485 |
+
}
|
1486 |
+
.regular-price .price, .price-box .price {
|
1487 |
+
color: #000;
|
1488 |
+
font-weight: normal;
|
1489 |
+
font-size:16px;
|
1490 |
+
}
|
1491 |
+
p.old-price {
|
1492 |
+
margin-bottom: 0;
|
1493 |
+
}
|
1494 |
+
.tier-prices-grouped li, .tier-prices-grouped li .price {
|
1495 |
+
color: #fa4100 !important;
|
1496 |
+
}
|
1497 |
+
/*1 column*/
|
1498 |
+
.col1-layout .category-products ul.products-grid {
|
1499 |
+
border: 0;
|
1500 |
+
width: 100%;
|
1501 |
+
margin: 0 0 20px 0;
|
1502 |
+
padding: 0 0 0 0;
|
1503 |
+
background: none;
|
1504 |
+
}
|
1505 |
+
.col1-layout .category-products ul.products-grid li {
|
1506 |
+
padding: 0px 0px 30px 0px;
|
1507 |
+
width: 16%;
|
1508 |
+
margin-right: auto !important;
|
1509 |
+
list-style: none;
|
1510 |
+
}
|
1511 |
+
.col1-layout .category-products ul.products-grid li.last {
|
1512 |
+
margin-right: 0 !important;
|
1513 |
+
}
|
1514 |
+
.col1-layout .category-products ul.full_list li {
|
1515 |
+
padding: 0px 0px 60px 0px;
|
1516 |
+
}
|
1517 |
+
.col1-layout .products-grid .product-image, .col1-layout .products-grid li.first .product-image {
|
1518 |
+
margin-left: auto;
|
1519 |
+
margin-right: auto;
|
1520 |
+
}
|
1521 |
+
/*2 columns left*/
|
1522 |
+
.col2-left-layout .category-products ul.products-grid {
|
1523 |
+
border: 0;
|
1524 |
+
width: 100%;
|
1525 |
+
margin: 0 0 20px 0;
|
1526 |
+
padding: 0 0 0 0;
|
1527 |
+
background: none;
|
1528 |
+
}
|
1529 |
+
.col2-left-layout .category-products ul.products-grid li {
|
1530 |
+
padding: 0px 0px 30px 0px;
|
1531 |
+
width: 19.8%;
|
1532 |
+
margin-right: auto !important;
|
1533 |
+
list-style: none;
|
1534 |
+
}
|
1535 |
+
.col2-left-layout .category-products ul.products-grid li.last {
|
1536 |
+
margin-right: 0 !important;
|
1537 |
+
}
|
1538 |
+
.col2-left-layout .category-products ul.full_list li {
|
1539 |
+
padding: 0px 0px 60px 0px;
|
1540 |
+
}
|
1541 |
+
/*2 columns right*/
|
1542 |
+
.col2-right-layout .category-products ul.products-grid {
|
1543 |
+
border: 0;
|
1544 |
+
width: 100%;
|
1545 |
+
margin: 0 0 20px 0;
|
1546 |
+
padding: 0 0 0 0;
|
1547 |
+
background: none;
|
1548 |
+
}
|
1549 |
+
.col2-right-layout .category-products ul.products-grid li {
|
1550 |
+
padding: 0px 0px 70px 0px;
|
1551 |
+
width: 19.8%;
|
1552 |
+
margin-right: auto !important;
|
1553 |
+
list-style: none;
|
1554 |
+
}
|
1555 |
+
.col2-right-layout .category-products ul.products-grid li.last {
|
1556 |
+
margin-right: 0 !important;
|
1557 |
+
}
|
1558 |
+
.col2-right-layout .category-products ul.full_list li {
|
1559 |
+
padding: 0px 0px 60px 0px;
|
1560 |
+
}
|
1561 |
+
/*3 columns*/
|
1562 |
+
.col3-layout .category-products ul.products-grid {
|
1563 |
+
border: 0;
|
1564 |
+
width: 100%;
|
1565 |
+
margin: 0 0 20px 0;
|
1566 |
+
padding: 0 0 0 0;
|
1567 |
+
background: none;
|
1568 |
+
}
|
1569 |
+
.col3-layout .category-products ul.products-grid li {
|
1570 |
+
padding: 0px 0px 70px 0px;
|
1571 |
+
width: 32.8%;
|
1572 |
+
margin-right: auto !important;
|
1573 |
+
list-style: none;
|
1574 |
+
}
|
1575 |
+
.col3-layout .category-products ul.products-grid li.last {
|
1576 |
+
margin-right: 0 !important;
|
1577 |
+
}
|
1578 |
+
/*home page category full list*/
|
1579 |
+
.category-products ul.full_list li {
|
1580 |
+
padding: 0px 0px 60px 0px;
|
1581 |
+
}
|
1582 |
+
/*add-to-links**IE7 fix*/
|
1583 |
+
*:first-child+html .category-products ul.products-grid .add-to-links {
|
1584 |
+
clear: both;
|
1585 |
+
}
|
1586 |
+
*:first-child+html .category-products ul.products-grid .add-to-links li {
|
1587 |
+
padding: 0px 0px 0px 0px;
|
1588 |
+
float: left;
|
1589 |
+
clear: both;
|
1590 |
+
}
|
1591 |
+
.category-products ul.products-grid .add-to-links li {
|
1592 |
+
display: block;
|
1593 |
+
padding: 0px 0px 0px 0px;
|
1594 |
+
width: 100%;
|
1595 |
+
}
|
1596 |
+
.category-products ul.products-grid ul {
|
1597 |
+
padding-left: 0;
|
1598 |
+
}
|
1599 |
+
.products-grid .add-to-links {
|
1600 |
+
font-size: 10px;
|
1601 |
+
margin: 3px 0 0px 0px;
|
1602 |
+
}
|
1603 |
+
.products-grid .add-to-links a:link, .products-grid .add-to-links a:visited {
|
1604 |
+
text-decoration: none !important;
|
1605 |
+
padding-left: 10px;
|
1606 |
+
background: url(../images/b_arrow.gif) no-repeat 2px 4px;
|
1607 |
+
}
|
1608 |
+
.products-grid .add-to-links a:hover, .products-grid .link-wishlist:hover {
|
1609 |
+
color: #18acfb !important;
|
1610 |
+
}
|
1611 |
+
/*product list*/
|
1612 |
+
.products-list li.item {
|
1613 |
+
border-color: #f1f1f1;
|
1614 |
+
padding-bottom: 20px;
|
1615 |
+
margin-bottom: 20px;
|
1616 |
+
}
|
1617 |
+
.products-list .price-box {
|
1618 |
+
width: 40%;
|
1619 |
+
}
|
1620 |
+
.products-list .product-shop {
|
1621 |
+
margin-left:175px;
|
1622 |
+
}
|
1623 |
+
.products-list .product-shop p, .products-list .desc {
|
1624 |
+
margin-bottom: 0;
|
1625 |
+
}
|
1626 |
+
/***********************************************************************************************PRODUCT******************/
|
1627 |
+
.product-view {
|
1628 |
+
border: 0;
|
1629 |
+
padding: 0px 0 0 0;
|
1630 |
+
}
|
1631 |
+
.product-essential {
|
1632 |
+
padding: 0px 25px 0px 29px;
|
1633 |
+
background: none;
|
1634 |
+
}
|
1635 |
+
.product-view .product-shop {
|
1636 |
+
width: 55%;
|
1637 |
+
}
|
1638 |
+
.product-view .product-img-box {
|
1639 |
+
width: 44%;
|
1640 |
+
}
|
1641 |
+
.product-product .product-shop .product-options {
|
1642 |
+
padding-top: 0;
|
1643 |
+
margin-top: 0;
|
1644 |
+
}
|
1645 |
+
.product-options dt label.required em {
|
1646 |
+
margin-right: 2px;
|
1647 |
+
float: left;
|
1648 |
+
}
|
1649 |
+
.product-product .product-shop .product-options-bottom {
|
1650 |
+
margin-bottom: 20px;
|
1651 |
+
}
|
1652 |
+
.product-product .product-shop .price-box .price-label {
|
1653 |
+
color: #696969;
|
1654 |
+
font-size: 14px;
|
1655 |
+
font-weight: bold;
|
1656 |
+
}
|
1657 |
+
.product-product .product-shop .regular-price {
|
1658 |
+
font-size: 18px;
|
1659 |
+
font-weight: normal !important;
|
1660 |
+
}
|
1661 |
+
.product-options-bottom .add-to-cart label {
|
1662 |
+
font-weight: bold;
|
1663 |
+
}
|
1664 |
+
.product-shop .availability, .product-shop .no-rating, .product-shop .short-description {
|
1665 |
+
}
|
1666 |
+
.crosssell .add-to-links {
|
1667 |
+
display: none;
|
1668 |
+
}
|
1669 |
+
span.or {
|
1670 |
+
display: none;
|
1671 |
+
}
|
1672 |
+
.product-view .product-img-box {
|
1673 |
+
margin-top: 10px;
|
1674 |
+
}
|
1675 |
+
.product-view .product-img-box .product-image {
|
1676 |
+
margin-bottom: 5px;
|
1677 |
+
border: 1px solid #c3c3c3;
|
1678 |
+
}
|
1679 |
+
.product-view .product-img-box .zoom #track {
|
1680 |
+
background:#dadada;
|
1681 |
+
}
|
1682 |
+
.product-view .product-shop .availability {
|
1683 |
+
font-size: 11px;
|
1684 |
+
}
|
1685 |
+
.more-views h2 {
|
1686 |
+
font-family:Arial, Helvetica, sans-serif !important;
|
1687 |
+
font-size: 11px !important;
|
1688 |
+
font-weight: normal !important;
|
1689 |
+
color: #313131 !important;
|
1690 |
+
}
|
1691 |
+
.product-view .product-img-box .more-views li {
|
1692 |
+
margin:0 0 8px 12px;
|
1693 |
+
}
|
1694 |
+
.product-view .product-img-box .more-views li a {
|
1695 |
+
border: 1px solid #c3c3c3;
|
1696 |
+
}
|
1697 |
+
.product-view .product-img-box .more-views li a img {
|
1698 |
+
border: 0;
|
1699 |
+
}
|
1700 |
+
.add-to-cart label {
|
1701 |
+
color: #000;
|
1702 |
+
font-weight: normal;
|
1703 |
+
font-size: 18px;
|
1704 |
+
margin-top: 0px;
|
1705 |
+
}
|
1706 |
+
.add-to-cart .qty {
|
1707 |
+
float: left;
|
1708 |
+
padding: 4px 4px;
|
1709 |
+
background:#fff;
|
1710 |
+
border:1px solid #c3c3c3;
|
1711 |
+
font: normal 14px Arial, Helvetica, sans-serif;
|
1712 |
+
margin-right: 10px;
|
1713 |
+
}
|
1714 |
+
.product-product .product-shop .product-options-bottom .add-to-cart {
|
1715 |
+
float: none;
|
1716 |
+
}
|
1717 |
+
.product-product .product-shop .product-options-bottom .add-to-cart .qty {
|
1718 |
+
float: none;
|
1719 |
+
}
|
1720 |
+
.product-options-bottom .add-to-cart label, .product-options-bottom .add-to-cart .qty {
|
1721 |
+
float: left;
|
1722 |
+
}
|
1723 |
+
.add-to-box .add-to-cart {
|
1724 |
+
float: none;
|
1725 |
+
}
|
1726 |
+
.add-to-box .add-to-links {
|
1727 |
+
float: none;
|
1728 |
+
font-size:12px !important;
|
1729 |
+
line-height:1.25 !important;
|
1730 |
+
margin: 15px 0 0 0 !important;
|
1731 |
+
text-align:left !important;
|
1732 |
+
}
|
1733 |
+
.product-view .product-shop .add-to-links a {
|
1734 |
+
font-weight:normal !important;
|
1735 |
+
font:14px Arial, Helvetica, sans-serif;
|
1736 |
+
}
|
1737 |
+
.product-options-bottom .add-to-links {
|
1738 |
+
display: none;
|
1739 |
+
}
|
1740 |
+
.product-options {
|
1741 |
+
border-radius: 3px 3px 0px 0px;
|
1742 |
+
}
|
1743 |
+
.product-view .product-shop .add-to-links {
|
1744 |
+
text-align: left;
|
1745 |
+
padding: 0px 0px 10px 0px;
|
1746 |
+
float: left;
|
1747 |
+
-webkit-transition: all .3s ease-in-out;
|
1748 |
+
-moz-transition: all .3s ease-in-out;
|
1749 |
+
-ms-transition: all .3s ease-in-out;
|
1750 |
+
transition: all .3s ease-in-out;
|
1751 |
+
}
|
1752 |
+
.product-view .product-shop .add-to-links span.separator {
|
1753 |
+
display:none;
|
1754 |
+
}
|
1755 |
+
.product-view .product-shop .add-to-links li {
|
1756 |
+
float: left;
|
1757 |
+
margin-right: 10px;
|
1758 |
+
}
|
1759 |
+
.product-view .product-shop a.link-wishlist {
|
1760 |
+
background: url(../images/wish.gif) no-repeat 0 3px;
|
1761 |
+
display: block;
|
1762 |
+
padding: 2px 0 2px 23px;
|
1763 |
+
margin: 0 0px 0px 0;
|
1764 |
+
line-height: 15px;
|
1765 |
+
width: auto;
|
1766 |
+
height: auto;
|
1767 |
+
border-radius: 2px;
|
1768 |
+
}
|
1769 |
+
.product-view .product-shop a.link-compare {
|
1770 |
+
background: url(../images/comp.gif) no-repeat 0 3px;
|
1771 |
+
display: block;
|
1772 |
+
padding: 2px 0 2px 23px;
|
1773 |
+
margin: 0 0px 0px 0;
|
1774 |
+
line-height: 15px;
|
1775 |
+
width: auto;
|
1776 |
+
height: auto;
|
1777 |
+
border-radius: 2px;
|
1778 |
+
}
|
1779 |
+
p.email-friend {
|
1780 |
+
float: left;
|
1781 |
+
margin-top: 15px;
|
1782 |
+
}
|
1783 |
+
p.email-friend a {
|
1784 |
+
line-height: 18px;
|
1785 |
+
padding: 2px 0px 2px 23px;
|
1786 |
+
background: url(../images/email.gif) no-repeat 0px 3px;
|
1787 |
+
margin: 0px 0px 0px 0px;
|
1788 |
+
float: left;
|
1789 |
+
position: relative;
|
1790 |
+
font-weight: normal;
|
1791 |
+
font: 14px Arial, Helvetica, sans-serif;
|
1792 |
+
-webkit-transition: all .3s ease-in-out;
|
1793 |
+
-moz-transition: all .3s ease-in-out;
|
1794 |
+
-ms-transition: all .3s ease-in-out;
|
1795 |
+
transition: all .3s ease-in-out;
|
1796 |
+
border-radius: 2px;
|
1797 |
+
}
|
1798 |
+
.product-view .product-shop .add-to-links a:hover {
|
1799 |
+
background-color: #f1f1f1;
|
1800 |
+
}
|
1801 |
+
#product-review-table {
|
1802 |
+
margin-bottom: 10px;
|
1803 |
+
}
|
1804 |
+
.product-view .product-shop .short-description {
|
1805 |
+
line-height: 130%;
|
1806 |
+
clear: both;
|
1807 |
+
}
|
1808 |
+
.product-collateral .box-collateral, .no-rating {
|
1809 |
+
margin-bottom: 15px;
|
1810 |
+
}
|
1811 |
+
.product-view .box-up-sell .products-grid {
|
1812 |
+
width: auto !important;
|
1813 |
+
margin-bottom: 10px;
|
1814 |
+
margin-left: 7px;
|
1815 |
+
}
|
1816 |
+
.product-view .box-up-sell .products-grid td {
|
1817 |
+
padding:15px 5px 12px 0px;
|
1818 |
+
}
|
1819 |
+
.product-img-box img {
|
1820 |
+
border: 1px solid #c3c3c3;
|
1821 |
+
}
|
1822 |
+
.product-img-box .btn-zoom-out, .product-img-box .btn-zoom-in {
|
1823 |
+
border: 0 !important;
|
1824 |
+
}
|
1825 |
+
.more-views {
|
1826 |
+
padding-top: 10px;
|
1827 |
+
}
|
1828 |
+
/*titles on product page*/
|
1829 |
+
.product-view .box-up-sell h2,
|
1830 |
+
.product-essential h2,
|
1831 |
+
.product-view .product-img-box .more-views h2,
|
1832 |
+
.product-collateral h2,
|
1833 |
+
.dedicated-review-box strong {
|
1834 |
+
font:18px Arial, Helvetica, sans-serif;
|
1835 |
+
font-weight: normal;
|
1836 |
+
text-transform: none;
|
1837 |
+
margin: 5px 0px 7px 0px;
|
1838 |
+
color: #000;
|
1839 |
+
}
|
1840 |
+
#product_tabs_description_tabbed_contents {
|
1841 |
+
font-size: 14px;
|
1842 |
+
line-height: 150%;
|
1843 |
+
text-align: left;
|
1844 |
+
}
|
1845 |
+
.dedicated-review-box .ratings-list strong {
|
1846 |
+
font:13px Arial, Helvetica, sans-serif;
|
1847 |
+
}
|
1848 |
+
.dedicated-review-box p {
|
1849 |
+
font-style: italic;
|
1850 |
+
font-size: 14px;
|
1851 |
+
line-height: 150%;
|
1852 |
+
}
|
1853 |
+
table.ratings-list {
|
1854 |
+
margin-bottom: 10px;
|
1855 |
+
}
|
1856 |
+
.product-collateral .form-list input.input-text, .product-collateral .form-list .input-box, .product-collateral .form-list textarea {
|
1857 |
+
width: 80%
|
1858 |
+
}
|
1859 |
+
#product_tabs_upsell_products_tabbed_contents .box-up-sell h2 {
|
1860 |
+
font-size: 14px;
|
1861 |
+
margin:0 0 0px;
|
1862 |
+
}
|
1863 |
+
.back-link a {
|
1864 |
+
font-size: 18px;
|
1865 |
+
}
|
1866 |
+
.back-link a:hover {
|
1867 |
+
}
|
1868 |
+
/*messages*/
|
1869 |
+
.error-msg, .success-msg, .note-msg, .notice-msg {
|
1870 |
+
background: none;
|
1871 |
+
min-height:24px !important;
|
1872 |
+
padding:10px 8px 2px 8px !important;
|
1873 |
+
}
|
1874 |
+
.add-to-box .or {
|
1875 |
+
color:#696969;
|
1876 |
+
font-weight:normal;
|
1877 |
+
}
|
1878 |
+
.product-collateral {
|
1879 |
+
margin-left: 0px;
|
1880 |
+
padding: 0 10px 25px 15px;
|
1881 |
+
background: none;
|
1882 |
+
}
|
1883 |
+
.product-view .box-tags .form-add label {
|
1884 |
+
color: #313131 !important;
|
1885 |
+
font-weight: normal !important;
|
1886 |
+
font-size: 11px;
|
1887 |
+
}
|
1888 |
+
.product-view .box-tags .form-add .input-box {
|
1889 |
+
padding:0;
|
1890 |
+
}
|
1891 |
+
.product-view .box-tags .note {
|
1892 |
+
padding:0;
|
1893 |
+
}
|
1894 |
+
.product-options p.required {
|
1895 |
+
padding-top: 0;
|
1896 |
+
}
|
1897 |
+
.product-options {
|
1898 |
+
padding-bottom: 5px;
|
1899 |
+
}
|
1900 |
+
.ratings {
|
1901 |
+
margin-bottom: 20px;
|
1902 |
+
}
|
1903 |
+
.products-grid .ratings {
|
1904 |
+
margin-bottom: 0px;
|
1905 |
+
}
|
1906 |
+
/****************************************************************************************************CART**********************************/
|
1907 |
+
.cart {
|
1908 |
+
width: 950px;
|
1909 |
+
margin-left: auto;
|
1910 |
+
margin-right: auto;
|
1911 |
+
}
|
1912 |
+
.cart .page-title h1 {
|
1913 |
+
margin-top: 4px;
|
1914 |
+
line-height: 60px;
|
1915 |
+
}
|
1916 |
+
.cart .page-title .checkout-types li {
|
1917 |
+
margin-bottom: 0;
|
1918 |
+
margin-top: 5px;
|
1919 |
+
}
|
1920 |
+
.data-table thead th {
|
1921 |
+
font:11px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
1922 |
+
font-weight: bold;
|
1923 |
+
}
|
1924 |
+
.cart .discount h2, .cart .shipping h2 {
|
1925 |
+
color: #000;
|
1926 |
+
font-weight: normal;
|
1927 |
+
font-size: 15px;
|
1928 |
+
padding:0 0 0 0px;
|
1929 |
+
margin-bottom: 15px;
|
1930 |
+
text-transform:none;
|
1931 |
+
}
|
1932 |
+
.cart .discount input.input-text {
|
1933 |
+
border: 1px solid #c3dfee;
|
1934 |
+
width: 126px;
|
1935 |
+
padding-left: 6px;
|
1936 |
+
color: #5d5d5d;
|
1937 |
+
float: left;
|
1938 |
+
}
|
1939 |
+
.cart-table .product-name {
|
1940 |
+
font-weight: normal;
|
1941 |
+
font-size: 15px;
|
1942 |
+
}
|
1943 |
+
.cart .discount label, .cart .shipping p {
|
1944 |
+
font-size: 11px;
|
1945 |
+
}
|
1946 |
+
#checkout-review-table tfoot tr.last .price {
|
1947 |
+
font-size: 18px;
|
1948 |
+
}
|
1949 |
+
.cart .totals td {
|
1950 |
+
vertical-align: middle;
|
1951 |
+
}
|
1952 |
+
.cart .totals tfoot td strong {
|
1953 |
+
}
|
1954 |
+
.cart .discount .buttons-set/*, .cart .shipping .buttons-set*/ {
|
1955 |
+
margin-top: 0;
|
1956 |
+
margin-left: 8px;
|
1957 |
+
float: left;
|
1958 |
+
clear: none;
|
1959 |
+
}
|
1960 |
+
.discounts {
|
1961 |
+
width: 50%;
|
1962 |
+
float: left;
|
1963 |
+
position: relative;
|
1964 |
+
}
|
1965 |
+
.form-list label {
|
1966 |
+
font-size:16px;
|
1967 |
+
color: #000;
|
1968 |
+
font-weight: normal;
|
1969 |
+
}
|
1970 |
+
.form-list .input-box select {
|
1971 |
+
border: 1px solid #c3c3c3;
|
1972 |
+
}
|
1973 |
+
.checkout-progress li.active {
|
1974 |
+
border-top-color: #313131;
|
1975 |
+
color: #313131;
|
1976 |
+
}
|
1977 |
+
.cart .discount h2, .cart .shipping h2 {
|
1978 |
+
background-image: none;
|
1979 |
+
}
|
1980 |
+
.cart .crosssell h2 {
|
1981 |
+
font-size: 12px;
|
1982 |
+
font-weight: normal;
|
1983 |
+
}
|
1984 |
+
.btn-remove2 {
|
1985 |
+
display: block;
|
1986 |
+
width: 16px;
|
1987 |
+
height: 16px;
|
1988 |
+
font-size: 0;
|
1989 |
+
line-height: 0;
|
1990 |
+
background: url(../images/btn_trash.gif) 0 0 no-repeat;
|
1991 |
+
text-indent: -999em;
|
1992 |
+
overflow: hidden;
|
1993 |
+
-webkit-transition: all .3s ease-in-out;
|
1994 |
+
-moz-transition: all .3s ease-in-out;
|
1995 |
+
-ms-transition: all .3s ease-in-out;
|
1996 |
+
transition: all .3s ease-in-out;
|
1997 |
+
}
|
1998 |
+
.btn-remove2:hover {
|
1999 |
+
opacity: .5;
|
2000 |
+
filter: alpha(opacity=50);
|
2001 |
+
}
|
2002 |
+
/* SMALL BUTTONS */
|
2003 |
+
.cart .discount button.button, .cart .shipping button.button, #shopping-cart-table button.button, .my-wishlist .buttons-set button.button, .block-compare button.button {
|
2004 |
+
position: relative;
|
2005 |
+
border: 0 !important;
|
2006 |
+
cursor: pointer;
|
2007 |
+
padding: 0;
|
2008 |
+
overflow: visible; /* removes extra side padding in IE */
|
2009 |
+
}
|
2010 |
+
.cart .discount button.button::-moz-focus-inner, .cart .shipping button.button::-moz-focus-inner, #shopping-cart-table button.button::-moz-focus-inner, .my-wishlist .buttons-set button.button::-moz-focus-inner, .block-compare button.button::-moz-focus-inner {
|
2011 |
+
border: none; /* overrides extra padding in Firefox */
|
2012 |
+
}
|
2013 |
+
.cart .discount button.button span, .cart .shipping button.button span, #shopping-cart-table button.button span, .my-wishlist .buttons-set button.button span, .block-compare button.button span {
|
2014 |
+
position: relative;
|
2015 |
+
display: block;
|
2016 |
+
white-space: nowrap;
|
2017 |
+
border: 0 !important;
|
2018 |
+
background: none;
|
2019 |
+
padding: 0;
|
2020 |
+
margin: 0;
|
2021 |
+
}
|
2022 |
+
.cart .discount button.button span span, .cart .shipping button.button span span, #shopping-cart-table button.button span span, .my-wishlist .buttons-set button.button span span, .block-compare button.button span span {
|
2023 |
+
position: relative;
|
2024 |
+
display: block;
|
2025 |
+
white-space: nowrap;
|
2026 |
+
border: 0 !important;
|
2027 |
+
}
|
2028 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2029 |
+
.cart .discount button.button span {
|
2030 |
+
margin-top: -1px;
|
2031 |
+
}
|
2032 |
+
}
|
2033 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2034 |
+
.cart .shipping button.button span {
|
2035 |
+
margin-top: -1px;
|
2036 |
+
}
|
2037 |
+
}
|
2038 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2039 |
+
#shopping-cart-table button.button span {
|
2040 |
+
margin-top: -1px;
|
2041 |
+
}
|
2042 |
+
}
|
2043 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2044 |
+
.my-wishlist .buttons-set button.button span {
|
2045 |
+
margin-top: -1px;
|
2046 |
+
}
|
2047 |
+
}
|
2048 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2049 |
+
.block-compare button.button span {
|
2050 |
+
margin-top: -1px;
|
2051 |
+
}
|
2052 |
+
}
|
2053 |
+
/* custom look and feel: */
|
2054 |
+
.cart .discount button.button, .cart .shipping button.button, #shopping-cart-table button.button, .my-wishlist .buttons-set button.button {
|
2055 |
+
padding: 0 15px 0 0;
|
2056 |
+
font: 12px Arial, Helvetica, sans-serif;
|
2057 |
+
}
|
2058 |
+
.cart .discount button.button span span, .cart .shipping button.button span span, #shopping-cart-table button.button span span, .my-wishlist .buttons-set button.button span span {
|
2059 |
+
padding: 0px 0 0 15px;
|
2060 |
+
}
|
2061 |
+
.crosssell-div {
|
2062 |
+
clear: both;
|
2063 |
+
}
|
2064 |
+
.cart .crosssell {
|
2065 |
+
padding: 11px 0 0 0;
|
2066 |
+
}
|
2067 |
+
.cross-sells {
|
2068 |
+
clear: both;
|
2069 |
+
width: 905px;
|
2070 |
+
float: left;
|
2071 |
+
background: url(../images/cross-sells-bg.gif) repeat-y 0 0;
|
2072 |
+
}
|
2073 |
+
.cross-sells h2 {
|
2074 |
+
margin-left: 20px;
|
2075 |
+
font-size: 12px;
|
2076 |
+
}
|
2077 |
+
.crosssell .product-name a {
|
2078 |
+
font-size:12px;
|
2079 |
+
font-weight:normal;
|
2080 |
+
text-transform:none;
|
2081 |
+
font-family: Tahoma;
|
2082 |
+
}
|
2083 |
+
.cross-sells .crosssell {
|
2084 |
+
background: url(../images/cross-sells-top.gif) no-repeat 0 0 !important;
|
2085 |
+
position: relative;
|
2086 |
+
width: 905px;
|
2087 |
+
float: left;
|
2088 |
+
}
|
2089 |
+
.cross-sells .crosssell #crosssell-products-list {
|
2090 |
+
padding: 0px 15px 10px 15px;
|
2091 |
+
background: url(../images/cross-sells-bt.gif) no-repeat 0 100%;
|
2092 |
+
clear: both;
|
2093 |
+
position: relative;
|
2094 |
+
width: 875px;
|
2095 |
+
float: left;
|
2096 |
+
}
|
2097 |
+
.cart .crosssell li.item {
|
2098 |
+
margin: 12px 0;
|
2099 |
+
float: left;
|
2100 |
+
width: 220px;
|
2101 |
+
margin-right: 15px;
|
2102 |
+
}
|
2103 |
+
.cart .crosssell li.last {
|
2104 |
+
}
|
2105 |
+
.cart .crosssell .product-details {
|
2106 |
+
margin-left: 85px;
|
2107 |
+
}
|
2108 |
+
/* Tax Details Row */
|
2109 |
+
tr.tax-total {
|
2110 |
+
cursor:pointer;
|
2111 |
+
}
|
2112 |
+
tr.tax-total td {
|
2113 |
+
}
|
2114 |
+
tr.tax-total .tax-collapse {
|
2115 |
+
float:right;
|
2116 |
+
text-align:right;
|
2117 |
+
padding-left:20px;
|
2118 |
+
background:url(../images/bkg_collapse.gif) 0 5px no-repeat;
|
2119 |
+
cursor:pointer;
|
2120 |
+
}
|
2121 |
+
tr.show-details .tax-collapse {
|
2122 |
+
background-position:0 -52px;
|
2123 |
+
}
|
2124 |
+
/*Data table*/
|
2125 |
+
.data-table {
|
2126 |
+
border: 1px solid #dadada
|
2127 |
+
}
|
2128 |
+
.data-table td .product-name a {
|
2129 |
+
font-size: 15px;
|
2130 |
+
font-weight: normal;
|
2131 |
+
text-decoration: none;
|
2132 |
+
}
|
2133 |
+
.data-table td .product-name a:hover {
|
2134 |
+
color: #041928 !important;
|
2135 |
+
text-decoration: none;
|
2136 |
+
}
|
2137 |
+
.data-table td input.qty {
|
2138 |
+
color: #000;
|
2139 |
+
font-size: 14px;
|
2140 |
+
font-weight: normal;
|
2141 |
+
border: 1px solid #ccc;
|
2142 |
+
background: #fcfcfc;
|
2143 |
+
padding-left: 9px;
|
2144 |
+
}
|
2145 |
+
.data-table td .price {
|
2146 |
+
font-weight: normal !important;
|
2147 |
+
color: #000;
|
2148 |
+
font: 15px Arial, Helvetica, sans-serif;
|
2149 |
+
}
|
2150 |
+
.cart-table td img, .cart .crosssell .product-image {
|
2151 |
+
border: 1px solid #fff;
|
2152 |
+
}
|
2153 |
+
.data-table td.last .price {
|
2154 |
+
color: #000;
|
2155 |
+
}
|
2156 |
+
.data-table tfoot {
|
2157 |
+
border-bottom: 1px solid #fff !important;
|
2158 |
+
}
|
2159 |
+
.data-table tfoot tr td {
|
2160 |
+
border-top: 1px solid #fff !important;
|
2161 |
+
border-right: 0px solid #ffffff !important;
|
2162 |
+
border-bottom: 0px solid #fff !important;
|
2163 |
+
border-left: 0px solid #ffffff !important;
|
2164 |
+
padding: 12px 10px 12px 13px;
|
2165 |
+
background: #fff;
|
2166 |
+
}
|
2167 |
+
.data-table tfoot tr {
|
2168 |
+
background-color: #fff !important;
|
2169 |
+
}
|
2170 |
+
.data-table tfoot tr.first td {
|
2171 |
+
background-image: none
|
2172 |
+
}
|
2173 |
+
.data-table .odd {
|
2174 |
+
background: #F8F8F8;
|
2175 |
+
}
|
2176 |
+
.data-table .even {
|
2177 |
+
background: #EEE;
|
2178 |
+
}
|
2179 |
+
.data-table *, .data-table tbody td {
|
2180 |
+
border-color: #fff !important;
|
2181 |
+
border-width: 0px !important;
|
2182 |
+
}
|
2183 |
+
.data-table td, .data-table tfoot tr td, .data-table thead th {
|
2184 |
+
background: #fff;
|
2185 |
+
}
|
2186 |
+
/*table row hover ffect */
|
2187 |
+
.data-table tr:hover td {
|
2188 |
+
background: #f0f6f9;
|
2189 |
+
-webkit-transition: all .3s ease-in-out;
|
2190 |
+
-moz-transition: all .3s ease-in-out;
|
2191 |
+
-ms-transition: all .3s ease-in-out;
|
2192 |
+
transition: all .3s ease-in-out;
|
2193 |
+
}
|
2194 |
+
tr.odd td, .data-table .odd .td {
|
2195 |
+
background: #f1f1f1;
|
2196 |
+
}
|
2197 |
+
/*******************************************************************************************CHECKOUT, ACCOUNT********************************/
|
2198 |
+
.opc {
|
2199 |
+
margin-bottom: 20px;
|
2200 |
+
padding-left: 10px;
|
2201 |
+
color: #565656;
|
2202 |
+
}
|
2203 |
+
.opc .step-title h2 {
|
2204 |
+
font:12px Tahoma, Arial, Helvetica, sans-serif;
|
2205 |
+
font-weight: normal;
|
2206 |
+
line-height: 25px;
|
2207 |
+
}
|
2208 |
+
.opc .allow .step-title h2 {
|
2209 |
+
color: #000;
|
2210 |
+
}
|
2211 |
+
.opc .step-title .number {
|
2212 |
+
background: #fff;
|
2213 |
+
border: 1px solid #c3c3c3;
|
2214 |
+
color: #000;
|
2215 |
+
border-radius: 50%;
|
2216 |
+
padding: 5px 10px;
|
2217 |
+
}
|
2218 |
+
.opc .allow .step-title .number {
|
2219 |
+
background: #fff;
|
2220 |
+
border: 1px solid #c3c3c3;
|
2221 |
+
color: #000;
|
2222 |
+
}
|
2223 |
+
.opc .active .step-title .number {
|
2224 |
+
background:#999;
|
2225 |
+
border: 0px solid #c3dfee;
|
2226 |
+
color:#000;
|
2227 |
+
}
|
2228 |
+
#opc-login h3 {
|
2229 |
+
font-size: 18px;
|
2230 |
+
font-weight: normal;
|
2231 |
+
border-bottom: 0;
|
2232 |
+
padding-bottom: 10px;
|
2233 |
+
text-transform: none;
|
2234 |
+
}
|
2235 |
+
#opc-login h4 {
|
2236 |
+
font-size: 12px;
|
2237 |
+
font-weight: normal;
|
2238 |
+
margin: 0;
|
2239 |
+
color: #565656;
|
2240 |
+
}
|
2241 |
+
.sp-methods label .price {
|
2242 |
+
font-size: 20px;
|
2243 |
+
}
|
2244 |
+
.sp-methods label {
|
2245 |
+
font-size: 16px;
|
2246 |
+
font-weight: normal;
|
2247 |
+
}
|
2248 |
+
.dashboard .number {
|
2249 |
+
background: #dadada !important;
|
2250 |
+
border: 0 !important;
|
2251 |
+
color: #000 !important;
|
2252 |
+
padding: 7px 10px !important;
|
2253 |
+
margin-right: 10px !important;
|
2254 |
+
border-radius: 50% !important;
|
2255 |
+
}
|
2256 |
+
.dashboard .box-reviews .details {
|
2257 |
+
margin-left: 25px;
|
2258 |
+
padding-top: 3px;
|
2259 |
+
}
|
2260 |
+
.dashboard .box-head h2 {
|
2261 |
+
background-image: none !important;
|
2262 |
+
}
|
2263 |
+
.dashboard .box-info .box-head h2 {
|
2264 |
+
background-image:none;
|
2265 |
+
}
|
2266 |
+
.dashboard .box .box-title h3, .dashboard .box .box-title h4 {
|
2267 |
+
color: #313131;
|
2268 |
+
}
|
2269 |
+
.box-account .box-head h2, .account-login .new-users h2, .account-login .registered-users h2 {
|
2270 |
+
background: none;
|
2271 |
+
font-size:16px;
|
2272 |
+
font-weight: normal;
|
2273 |
+
padding-left:0px;
|
2274 |
+
text-transform:none;
|
2275 |
+
color: #000;
|
2276 |
+
}
|
2277 |
+
.data-table .description {
|
2278 |
+
margin-bottom: 10px;
|
2279 |
+
}
|
2280 |
+
|
2281 |
+
.col1-layout .block-content,
|
2282 |
+
.account-create {
|
2283 |
+
background: #fff;
|
2284 |
+
padding: 20px;
|
2285 |
+
}
|
2286 |
+
.col1-layout .form-alt {
|
2287 |
+
padding-bottom: 20px;
|
2288 |
+
}
|
2289 |
+
.my-account {
|
2290 |
+
margin-right: 20px;
|
2291 |
+
padding: 0px 20px 20px 20px;
|
2292 |
+
background: #fff;
|
2293 |
+
}
|
2294 |
+
.buttons-set {
|
2295 |
+
margin-top: 0;
|
2296 |
+
padding: 0% 40% 1% 0%;
|
2297 |
+
background: #fff;
|
2298 |
+
margin-left: 10px;
|
2299 |
+
border-radius: 0px 0px 3px 3px;
|
2300 |
+
}
|
2301 |
+
.checkout-onepage-success .sub-title {
|
2302 |
+
font-size: 18px;
|
2303 |
+
}
|
2304 |
+
.checkout-onepage-success .buttons-set {
|
2305 |
+
padding: 1% 40% 1% 0%;
|
2306 |
+
background: transparent;
|
2307 |
+
margin-left: 0px;
|
2308 |
+
float: left;
|
2309 |
+
}
|
2310 |
+
.checkout-onepage-index .data-table tfoot tr td {
|
2311 |
+
background: #fcfcfc none !important;
|
2312 |
+
}
|
2313 |
+
#checkout-step-shipping_method {
|
2314 |
+
background: #fff;
|
2315 |
+
}
|
2316 |
+
#checkout-step-payment {
|
2317 |
+
background: #fff;
|
2318 |
+
}
|
2319 |
+
.fieldset {
|
2320 |
+
border: 0;
|
2321 |
+
background: #fff;
|
2322 |
+
padding: 10px 0px 10px 0px;
|
2323 |
+
margin: 10px 0px 0px 10px;
|
2324 |
+
}
|
2325 |
+
.contacts-index-index .fieldset,
|
2326 |
+
.catalogsearch-advanced-index .fieldset,
|
2327 |
+
.customer-account-forgotpassword .fieldset {
|
2328 |
+
padding: 10px 0px 10px 20px;
|
2329 |
+
}
|
2330 |
+
.customer-account-forgotpassword .buttons-set {
|
2331 |
+
padding-left: 20px;
|
2332 |
+
}
|
2333 |
+
|
2334 |
+
.fieldset .legend {
|
2335 |
+
padding: 0px;
|
2336 |
+
color: #555;
|
2337 |
+
font-size: 11px;
|
2338 |
+
border-radius: 2px;
|
2339 |
+
margin: 0px 0px 10px 0px;
|
2340 |
+
float: none;
|
2341 |
+
}
|
2342 |
+
.my-account .box-info {
|
2343 |
+
color: #313131;
|
2344 |
+
}
|
2345 |
+
.title-buttons .button {
|
2346 |
+
margin-top: 5px;
|
2347 |
+
}
|
2348 |
+
.advanced-search-summary strong {
|
2349 |
+
padding-left: 0;
|
2350 |
+
background: none;
|
2351 |
+
}
|
2352 |
+
.block-progress {
|
2353 |
+
margin-top: 50px;
|
2354 |
+
}
|
2355 |
+
.block-progress dt {
|
2356 |
+
font-size:12px;
|
2357 |
+
padding-left:12px;
|
2358 |
+
color: #222;
|
2359 |
+
}
|
2360 |
+
.block-account .block-content li a:hover {
|
2361 |
+
background: #fff;
|
2362 |
+
text-decoration: none;
|
2363 |
+
}
|
2364 |
+
.block-account .block-content li {
|
2365 |
+
margin-bottom: 6px;
|
2366 |
+
font-size: 14px;
|
2367 |
+
}
|
2368 |
+
.block-account .block-content li a, .page-sitemap .links a {
|
2369 |
+
padding: 0px 0 0px 0;
|
2370 |
+
font-size: 14px;
|
2371 |
+
padding: 2px 5px 2px 7px;
|
2372 |
+
color: #000;
|
2373 |
+
font-weight: normal !important;
|
2374 |
+
}
|
2375 |
+
.block-account .block-content li a:hover {
|
2376 |
+
background: url(../images/b_arrow.gif) no-repeat 0% 50%;
|
2377 |
+
}
|
2378 |
+
.block-account .block-content li.current {
|
2379 |
+
padding: 2px 5px 2px 7px;
|
2380 |
+
background: url(../images/b_arrow.gif) no-repeat 0% 50%;
|
2381 |
+
}
|
2382 |
+
/*returns forn*/
|
2383 |
+
.form-alt .input-box {
|
2384 |
+
margin-bottom: 20px;
|
2385 |
+
}
|
2386 |
+
/*Messages*/
|
2387 |
+
.error-msg, .success-msg, .note-msg, .notice-msg {
|
2388 |
+
font-size: 13px !important;
|
2389 |
+
font-weight: normal !important;
|
2390 |
+
}
|
2391 |
+
.validation-failed, .error-msg, .success-msg, .note-msg, .notice-msg {
|
2392 |
+
background:#ffc272;
|
2393 |
+
border: 0 !important;
|
2394 |
+
border-radius: 3px;
|
2395 |
+
border-color: #ffc272;
|
2396 |
+
}
|
2397 |
+
/*************************************************************************HOME PAGE***********************************************************/
|
2398 |
+
|
2399 |
+
h2.ul_title {
|
2400 |
+
margin: 0px 0px 15px 0;
|
2401 |
+
padding: 10px 0px 10px 10px;
|
2402 |
+
font-size: 1.6em;
|
2403 |
+
font-weight: normal;
|
2404 |
+
text-transform: none;
|
2405 |
+
color: #000;
|
2406 |
+
background: #EEE;
|
2407 |
+
border-radius: 2px;
|
2408 |
+
}
|
2409 |
+
.customer_options {
|
2410 |
+
width: 100%;
|
2411 |
+
background: #f0f0f0;
|
2412 |
+
text-align: center;
|
2413 |
+
border-radius: 2px;
|
2414 |
+
border-bottom: 3px solid #dadada;
|
2415 |
+
}
|
2416 |
+
.customer_options a {
|
2417 |
+
-webkit-transition: all .3s ease-in-out;
|
2418 |
+
-moz-transition: all .3s ease-in-out;
|
2419 |
+
-ms-transition: all .3s ease-in-out;
|
2420 |
+
transition: all .3s ease-in-out;
|
2421 |
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
|
2422 |
+
filter: gray;
|
2423 |
+
-webkit-filter: grayscale(100%);
|
2424 |
+
opacity: .7;
|
2425 |
+
filter: alpha(opacity=70);
|
2426 |
+
}
|
2427 |
+
.customer_options a:hover {
|
2428 |
+
opacity: 1;
|
2429 |
+
filter: alpha(opacity=100);
|
2430 |
+
-webkit-filter: grayscale(0%);
|
2431 |
+
}
|
2432 |
+
.menu_image a {
|
2433 |
+
-webkit-transition: all .3s ease-in-out;
|
2434 |
+
-moz-transition: all .3s ease-in-out;
|
2435 |
+
-ms-transition: all .3s ease-in-out;
|
2436 |
+
transition: all .3s ease-in-out;
|
2437 |
+
}
|
2438 |
+
.menu_image a:hover {
|
2439 |
+
filter: saturate(122%);
|
2440 |
+
}
|
2441 |
+
/******************************************************************** HOME PAGE HEADER BLOCK ************************************************/
|
2442 |
+
.home_page_header_block {
|
2443 |
+
padding: 0px 0px 0px 0px;
|
2444 |
+
overflow: hidden;
|
2445 |
+
}
|
2446 |
+
.left_side {
|
2447 |
+
float: left;
|
2448 |
+
position: relative;
|
2449 |
+
width: 70%;
|
2450 |
+
height: 350px;
|
2451 |
+
overflow: hidden;
|
2452 |
+
}
|
2453 |
+
.right_side {
|
2454 |
+
height: 350px;
|
2455 |
+
float: right;
|
2456 |
+
position: relative;
|
2457 |
+
width: 30%;
|
2458 |
+
overflow: hidden;
|
2459 |
+
}
|
2460 |
+
.home_page_header_block * {
|
2461 |
+
-webkit-box-sizing: border-box;
|
2462 |
+
-moz-box-sizing: border-box;
|
2463 |
+
-ms-box-sizing: border-box;
|
2464 |
+
box-sizing: border-box;
|
2465 |
+
}
|
2466 |
+
/*slider hover effect*/
|
2467 |
+
.home_page_header_block .slider-wrap {
|
2468 |
+
overflow: hidden;
|
2469 |
+
float: left;
|
2470 |
+
height: 350px;
|
2471 |
+
width: 840px;
|
2472 |
+
}
|
2473 |
+
.home_page_header_block .slider-wrap .grow {
|
2474 |
+
height: 350px;
|
2475 |
+
margin-top: 0px;
|
2476 |
+
-webkit-transition: margin 1s ease;
|
2477 |
+
-moz-transition: margin 1s ease;
|
2478 |
+
-o-transition: margin 1s ease;
|
2479 |
+
-ms-transition: margin 1s ease;
|
2480 |
+
transition: margin 1s ease;
|
2481 |
+
}
|
2482 |
+
.home_page_header_block .slider-wrap .grow:hover {
|
2483 |
+
margin-top: -100px;
|
2484 |
+
}
|
2485 |
+
.home_page_header_block .right_side img:hover {
|
2486 |
+
-webkit-transition: all .3s ease-in-out;
|
2487 |
+
-moz-transition: all .3s ease-in-out;
|
2488 |
+
-ms-transition: all .3s ease-in-out;
|
2489 |
+
transition: all .3s ease-in-out;
|
2490 |
+
}
|
2491 |
+
/*right top effect*/
|
2492 |
+
.right_side .grow img {
|
2493 |
+
width: 360px;
|
2494 |
+
height: 250px;
|
2495 |
+
-webkit-transition: all .3s ease;
|
2496 |
+
-moz-transition: all .3s ease;
|
2497 |
+
-o-transition: all .3s ease;
|
2498 |
+
-ms-transition: all .3s ease;
|
2499 |
+
transition: all .3s ease;
|
2500 |
+
}
|
2501 |
+
.right_side .grow img:hover {
|
2502 |
+
width: 380px;
|
2503 |
+
height: 270px;
|
2504 |
+
}
|
2505 |
+
/*right bottom effect*/
|
2506 |
+
.home_page_header_block .right_side .pic {
|
2507 |
+
height: 110px;
|
2508 |
+
overflow: hidden;
|
2509 |
+
float: right;
|
2510 |
+
}
|
2511 |
+
.home_page_header_block .right_side .bottom img {
|
2512 |
+
height: 140px;
|
2513 |
+
margin-top: 0px;
|
2514 |
+
-webkit-transition: margin 1s ease;
|
2515 |
+
-moz-transition: margin 1s ease;
|
2516 |
+
-o-transition: margin 1s ease;
|
2517 |
+
-ms-transition: margin 1s ease;
|
2518 |
+
transition: margin 1s ease;
|
2519 |
+
}
|
2520 |
+
.home_page_header_block .right_side .bottom img:hover {
|
2521 |
+
margin-top: -20px;
|
2522 |
+
}
|
2523 |
+
/********************************************************************END HOME PAGE HEADER BLOCK ************************************************/
|
2524 |
+
.block-compare .btn-remove {
|
2525 |
+
background: url("../images/btn_remove.gif") no-repeat scroll 0 0 transparent;
|
2526 |
+
}
|
2527 |
+
/*EM Wuickshop*/
|
2528 |
+
body.quickshop-index-view {
|
2529 |
+
max-width: 980px;
|
2530 |
+
margin-left: auto;
|
2531 |
+
margin-right: auto;
|
2532 |
+
}
|
2533 |
+
body.quickshop-index-view .product-view {
|
2534 |
+
background: #fff;
|
2535 |
+
}
|
2536 |
+
body.quickshop-index-view .product-shop {
|
2537 |
+
text-align: left;
|
2538 |
+
}
|
2539 |
+
body.quickshop-index-view .product-essential, body.quickshop-index-view .product-collateral {
|
2540 |
+
background: none;
|
2541 |
+
}
|
2542 |
+
/*******************************************************TEXT COLORS*********************************************/
|
2543 |
+
|
2544 |
+
/*black*/
|
2545 |
+
.error-msg, .footer .bugs {
|
2546 |
+
color: #000 !important;
|
2547 |
+
}
|
2548 |
+
.success-msg, .note-msg, .notice-msg, .sp-methods label, .product-options dt label, .account-login .content h2 {
|
2549 |
+
color: #000;
|
2550 |
+
}
|
2551 |
+
/*dark grey - separators, lines*/
|
2552 |
+
.products-list .add-to-links .separator {
|
2553 |
+
color: #6a6a6a;
|
2554 |
+
}
|
2555 |
+
/*font normal*/
|
2556 |
+
.link-wishlist, .link-compare, .old-price .price-label, .special-price .price-label {
|
2557 |
+
font-weight: normal;
|
2558 |
+
}
|
2559 |
+
/**********************************************************BACKGOUNDS*****************************************************/
|
2560 |
+
/*background-transparent*/
|
2561 |
+
.toolbar .pager, .product-view .box-up-sell .products-grid td, .block li.even, .cart .crosssell, .cart .discount, .cart .shipping, .cart .totals, .block .actions, .compare-table tbody th, .compare-table tr.add-to-row td, .block-layered-nav .currently li, .block-cart .summary, .block-progress dt, .block-progress dt.complete, .block-progress dd.complete, .order-info-box, .toolbar .sorter, .product-view .box-up-sell .products-grid td.empty, .product-collateral .box-collateral {
|
2562 |
+
background:transparent;
|
2563 |
+
}
|
2564 |
+
/*border-non*/
|
2565 |
+
.toolbar .pager, .product-view .product-img-box .more-views h2, .product-collateral h2, .product-view .box-up-sell .products-grid, .product-view .box-up-sell .products-grid td, .cart .crosssell, .cart .discount, .cart .shipping, .cart .totals, .page-title, #opc-login h3, .box-account .box-head, .pager, .block-cart .summary, .block-cart .actions, .products-grid, .product-view .box-up-sell .products-grid td img, .block-progress dt, .block-progress dt.complete, .block-progress dd.complete, .toolbar .sorter {
|
2566 |
+
border: none;
|
2567 |
+
}
|
2568 |
+
/*background- forms */
|
2569 |
+
.opc .step, .fieldset .legend, .advanced-search-summary, .product-options, .tags-list, .account-login .content {
|
2570 |
+
background:#fff;
|
2571 |
+
}
|
2572 |
+
.opc .step {
|
2573 |
+
background:#fcfcfc;
|
2574 |
+
}
|
2575 |
+
/*background-title*/
|
2576 |
+
.opc .active .step-title, .box-account, .addresses-list li.item, .pager, .account-login .buttons-set, .block-cart .subtotal, .product-options-bottom, .order-info {
|
2577 |
+
background: #e6e6e6;
|
2578 |
+
}
|
2579 |
+
/*background- foocus */
|
2580 |
+
input.input-text:focus, select:focus, textarea:focus {
|
2581 |
+
background:#fff;
|
2582 |
+
}
|
2583 |
+
.opc .step-title, .opc .allow .step-title {
|
2584 |
+
background: #fff;
|
2585 |
+
border-width: 0 1px 1px 1px;
|
2586 |
+
}
|
2587 |
+
.opc .allow .step-title {
|
2588 |
+
border-width: 1px 1px 1px 1px;
|
2589 |
+
}
|
2590 |
+
/*border - forms */
|
2591 |
+
.error-msg, .success-msg, .note-msg, .notice-msg, .opc .step, .opc .active .step-title, .opc .step-title, .buttons-set, .opc .allow .step-title, #opc-review .buttons-set, .box-account, .fieldset, .fieldset .legend, .addresses-list li.item, .advanced-search-summary, .account-login .content, .account-login .buttons-set, .account-login h2, .block-cart .subtotal, .product-options, .product-options-bottom, .order-info, .order-info-box, .tags-list {
|
2592 |
+
border: 0;
|
2593 |
+
}
|
2594 |
+
/*border blue */
|
2595 |
+
.mini-products-list .product-image, .product-view .product-img-box .more-views li a:hover {
|
2596 |
+
border: 1px solid #c3c3c3;
|
2597 |
+
}
|
2598 |
+
.products-grid .product-image, .products-list .product-image {
|
2599 |
+
border:1px solid #fff;
|
2600 |
+
border-radius: 2px;
|
2601 |
+
}
|
2602 |
+
.product-image.hover,
|
2603 |
+
.products-grid .product-image:hover,
|
2604 |
+
.products-list .product-image:hover,
|
2605 |
+
.mini-products-list .product-image:hover {
|
2606 |
+
border: 1px solid #d8d8d8;
|
2607 |
+
-webkit-transition: all .3s ease-in-out;
|
2608 |
+
-moz-transition: all .3s ease-in-out;
|
2609 |
+
-ms-transition: all .3s ease-in-out;
|
2610 |
+
transition: all .3s ease-in-out;
|
2611 |
+
}
|
2612 |
+
.compare-table .product-image img {
|
2613 |
+
border:1px solid #c3c3c3;
|
2614 |
+
}
|
2615 |
+
/*border = background color*/
|
2616 |
+
.block-layered-nav .actions, .product-options dd {
|
2617 |
+
border-color: #c3c3c3;
|
2618 |
+
}
|
2619 |
+
/*Block poll*/
|
2620 |
+
/* REQUIRED BUTTON STYLES: */
|
2621 |
+
.block-poll button.button, .block-compare button.button {
|
2622 |
+
position: relative;
|
2623 |
+
border: 0 !important;
|
2624 |
+
cursor: pointer;
|
2625 |
+
padding: 0;
|
2626 |
+
overflow: visible; /* removes extra side padding in IE */
|
2627 |
+
}
|
2628 |
+
.block-poll button.button::-moz-focus-inner {
|
2629 |
+
border: none; /* overrides extra padding in Firefox */
|
2630 |
+
}
|
2631 |
+
.block-compare button.button::-moz-focus-inner {
|
2632 |
+
border: none; /* overrides extra padding in Firefox */
|
2633 |
+
}
|
2634 |
+
.block-poll button.button span, .block-compare button.button span {
|
2635 |
+
position: relative;
|
2636 |
+
display: block;
|
2637 |
+
white-space: nowrap;
|
2638 |
+
border: 0 !important;
|
2639 |
+
background: none;
|
2640 |
+
padding: 0;
|
2641 |
+
margin: 0;
|
2642 |
+
}
|
2643 |
+
.block-poll button.button span span, .block-compare button.button span span {
|
2644 |
+
position: relative;
|
2645 |
+
display: block;
|
2646 |
+
white-space: nowrap;
|
2647 |
+
border: 0 !important;
|
2648 |
+
}
|
2649 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2650 |
+
/* Safari and Google Chrome only - fix margins */
|
2651 |
+
.block-poll button.button span {
|
2652 |
+
margin-top: -1px;
|
2653 |
+
}
|
2654 |
+
}
|
2655 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2656 |
+
/* Safari and Google Chrome only - fix margins */
|
2657 |
+
.block-compare button.button span {
|
2658 |
+
margin-top: -1px;
|
2659 |
+
}
|
2660 |
+
}
|
2661 |
+
/* OPTIONAL BUTTON STYLES for applying custom look and feel: */
|
2662 |
+
.block-poll button.button, .block-compare button.button {
|
2663 |
+
padding: 0 10px 0 0;
|
2664 |
+
}
|
2665 |
+
.block-poll button.button span span, .block-compare button.button span span {
|
2666 |
+
padding: 2px 0 0 12px;
|
2667 |
+
}
|
2668 |
+
/*Compare*/
|
2669 |
+
.compare-table .btn-remove {
|
2670 |
+
height: 11px;
|
2671 |
+
width: 57px;
|
2672 |
+
margin: 3px 0px 3px 0px;
|
2673 |
+
background: url(../images/btn_remove2.gif) no-repeat 0 0;
|
2674 |
+
}
|
2675 |
+
.compare-table .btn-remove:hover {
|
2676 |
+
background: url(../images/btn_remove2.gif) no-repeat 0 0;
|
2677 |
+
}
|
2678 |
+
.cart .totals .checkout-types li a {
|
2679 |
+
font-size: 13px;
|
2680 |
+
}
|
2681 |
+
.page-popup .link-print {
|
2682 |
+
color: #000000;
|
2683 |
+
}
|
2684 |
+
.link-cart {
|
2685 |
+
color: #575757 !important;
|
2686 |
+
font-weight: 700;
|
2687 |
+
}
|
2688 |
+
.rating-box {
|
2689 |
+
background: url("../images/bkg_rating.gif") repeat-x scroll 0 0 transparent;
|
2690 |
+
}
|
2691 |
+
.rating-box .rating {
|
2692 |
+
background: url("../images/bkg_rating.gif") repeat-x scroll 0 100% transparent;
|
2693 |
+
}
|
2694 |
+
/*easy tabs*/
|
2695 |
+
.tabs {
|
2696 |
+
width: 100%;
|
2697 |
+
margin: 15px 0 0 0 !important;
|
2698 |
+
overflow: hidden;
|
2699 |
+
border-bottom: 0 !important;
|
2700 |
+
}
|
2701 |
+
.tabs li {
|
2702 |
+
border-right: 0;
|
2703 |
+
border-left: 0;
|
2704 |
+
margin-right: 0px;
|
2705 |
+
}
|
2706 |
+
.tabs a {
|
2707 |
+
font-size: 15px;
|
2708 |
+
font-weight: normal;
|
2709 |
+
display:block;
|
2710 |
+
float: left;
|
2711 |
+
text-align: center;
|
2712 |
+
padding: 10px 15px 10px 15px !important;
|
2713 |
+
outline: none;
|
2714 |
+
text-decoration:none;
|
2715 |
+
-webkit-transition: all .3s ease-in-out;
|
2716 |
+
-moz-transition: all .3s ease-in-out;
|
2717 |
+
-ms-transition: all .3s ease-in-out;
|
2718 |
+
transition: all .3s ease-in-out;
|
2719 |
+
background-color: #EEE;
|
2720 |
+
border-left: 1px solid #EEE;
|
2721 |
+
border-right: 1px solid #EEE;
|
2722 |
+
border-top: 1px solid #EEE;
|
2723 |
+
border-bottom: 1px solid #dadada;
|
2724 |
+
display: block;
|
2725 |
+
}
|
2726 |
+
.tabs li.active a, .tabs li.active a:hover {
|
2727 |
+
background: #fff;
|
2728 |
+
font-weight: normal;
|
2729 |
+
color: #000;
|
2730 |
+
border-radius: 3px 3px 0px 0px;
|
2731 |
+
border-left: 1px solid #dadada;
|
2732 |
+
border-right: 1px solid #dadada;
|
2733 |
+
border-top: 1px solid #dadada;
|
2734 |
+
border-bottom: 1px solid #fff;
|
2735 |
+
}
|
2736 |
+
.padder {
|
2737 |
+
width: 100%;
|
2738 |
+
padding: 5px 0px 5px 0px;
|
2739 |
+
border-top: 1px solid #dadada;
|
2740 |
+
margin-top: -1px;
|
2741 |
+
}
|
2742 |
+
#product_tabs_related_tabbed_contents li {
|
2743 |
+
width: 18%;
|
2744 |
+
min-height: 200px;
|
2745 |
+
}
|
2746 |
+
.related-checkbox {
|
2747 |
+
margin-right: 5px;
|
2748 |
+
}
|
2749 |
+
/***************************************************************************** CLEARFIX ****************************************/
|
2750 |
+
.clearfix:after {
|
2751 |
+
content: ".";
|
2752 |
+
display: block;
|
2753 |
+
clear: both;
|
2754 |
+
visibility: hidden;
|
2755 |
+
line-height: 0;
|
2756 |
+
height: 0;
|
2757 |
+
}
|
2758 |
+
.clearfix {
|
2759 |
+
display: inline-block;
|
2760 |
+
}
|
2761 |
+
html[xmlns] .clearfix {
|
2762 |
+
display: block;
|
2763 |
+
}
|
2764 |
+
* html .clearfix {
|
2765 |
+
height: 1%;
|
2766 |
+
}
|
2767 |
+
#overlay {
|
2768 |
+
display: none;
|
2769 |
+
}
|
2770 |
+
/*****************************************************************************COLOR****************************************/
|
2771 |
+
/*bg*/
|
2772 |
+
.nav-container {
|
2773 |
+
background: #1795d8;
|
2774 |
+
}
|
2775 |
+
#nav a:hover {
|
2776 |
+
color: #d0ebf8;
|
2777 |
+
}
|
2778 |
+
.search-block {
|
2779 |
+
background: #83cff4;
|
2780 |
+
}
|
2781 |
+
.block {
|
2782 |
+
background: #f0f6f9; /*subscribe, compare, popular, news title background */
|
2783 |
+
border: 1px solid #c3dfee;
|
2784 |
+
border-radius: 3px;
|
2785 |
+
box-shadow: inset 0px 0px 0px 3px #fff;
|
2786 |
+
}
|
2787 |
+
|
2788 |
+
.block .block-title strong {
|
2789 |
+
background: #1795d8;
|
2790 |
+
}
|
2791 |
+
.block-subscribe .block-title strong {
|
2792 |
+
background: transparent url(../images/block_head_subscribe.gif) no-repeat scroll 0 0;
|
2793 |
+
}
|
2794 |
+
.block-compare .block-title strong {
|
2795 |
+
background:url("../images/block_head_compare.gif") no-repeat scroll 2px 3px transparent;
|
2796 |
+
}
|
2797 |
+
.block-wishlist .block-title strong {
|
2798 |
+
background:url("../images/block_head_wish.gif") no-repeat scroll 2px 3px transparent;
|
2799 |
+
}
|
2800 |
+
.block-popular .block-title strong {
|
2801 |
+
background:url("../images/block_head_popular.gif") no-repeat scroll 0 0 transparent;
|
2802 |
+
}
|
2803 |
+
div.block-cart-top {
|
2804 |
+
border: 2px solid #5bafd9
|
2805 |
+
}
|
2806 |
+
/*text color*/
|
2807 |
+
.minimal-price-link:hover, .minimal-price-link:hover .label, .minimal-price-link:hover .price, .products-list .product-name, .products-list .product-name a, .products-grid .product-name, .products-grid .product-name a {
|
2808 |
+
color:#007fc2;
|
2809 |
+
}
|
2810 |
+
.products-list .product-name a:hover, .products-grid .product-name a:hover, a.join:hover strong, .footer .bugs a:hover {
|
2811 |
+
color: #0092df;
|
2812 |
+
}
|
2813 |
+
.product-view .product-shop .add-to-links a:hover {
|
2814 |
+
color: #0092df !important;
|
2815 |
+
}
|
2816 |
+
.cross-sells h2, .block-account .block-content li a:hover, .block-account .block-content li.current, .block-subscribe .block-title strong span, .block-popular .block-title strong span, a.join strong, .head_phone_block .phone, .footer .bugs a {
|
2817 |
+
color: #348dbc;
|
2818 |
+
}
|
2819 |
+
.block .btn-remove, .block .link-wishlist, .block .link-compare, .block .product-info, .block-progress dt.complete, .link-wishlist, .cart .crosssell .link-wishlist {
|
2820 |
+
color:#348dbc !important;
|
2821 |
+
}
|
2822 |
+
/*demo backgrounds - remove this style*/
|
2823 |
+
.category-fragrances {
|
2824 |
+
background: url(../images/bg_blue.gif) repeat 0 0;
|
2825 |
+
}
|
2826 |
+
.category-bath-body {
|
2827 |
+
background: url(../images/bg_grey.gif) repeat 0 0;
|
2828 |
+
}
|
2829 |
+
.category-shampoo-and-conditioner {
|
2830 |
+
background: url(../images/bg_white.gif) repeat 0 0;
|
2831 |
+
}
|
2832 |
+
.category-makeup-and-skin-care {
|
2833 |
+
background: url(../images/bg_flower.jpg) repeat 50% 0;
|
2834 |
+
}
|
2835 |
+
.category-template-features {
|
2836 |
+
background: #aaaaaa url(../images/bg_nt.gif) repeat-x 0 0;
|
2837 |
+
}
|
skin/frontend/default/bluescale/css/slider.css
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*to remove numbers delete / * * / below */
|
2 |
+
/*
|
3 |
+
.stripNav {
|
4 |
+
display: none;
|
5 |
+
}*/
|
6 |
+
|
7 |
+
/*to remove arrows delete / * * / below */
|
8 |
+
/*.stripNavL, .stripNavR {
|
9 |
+
display: none;
|
10 |
+
}*/
|
11 |
+
|
12 |
+
/********************************************************************/
|
13 |
+
p#cross-links {
|
14 |
+
text-align: center
|
15 |
+
}
|
16 |
+
p#cross-links {
|
17 |
+
border-bottom: 1px solid #ccc;
|
18 |
+
margin-bottom: 30px;
|
19 |
+
padding-bottom: 30px
|
20 |
+
}
|
21 |
+
noscript p, noscript ol {
|
22 |
+
color: #a00;
|
23 |
+
font-size: 13px;
|
24 |
+
line-height: 1.4em;
|
25 |
+
text-align: left
|
26 |
+
}
|
27 |
+
noscript a {
|
28 |
+
}
|
29 |
+
noscript ol {
|
30 |
+
margin-left: 25px;
|
31 |
+
}
|
32 |
+
a:focus {
|
33 |
+
outline:none
|
34 |
+
}
|
35 |
+
img {
|
36 |
+
border: 0
|
37 |
+
}
|
38 |
+
.stripViewer .panelContainer .panel ul {
|
39 |
+
text-align: left;
|
40 |
+
margin: 0;
|
41 |
+
}
|
42 |
+
.slider-wrap {
|
43 |
+
margin: 0px 0px 0px 0px;
|
44 |
+
position: relative;
|
45 |
+
width: 100%;
|
46 |
+
}
|
47 |
+
.csw {
|
48 |
+
width: 100%;
|
49 |
+
height: 350px;
|
50 |
+
background: #fff;
|
51 |
+
overflow: hidden;
|
52 |
+
$display: none;
|
53 |
+
}
|
54 |
+
.csw .loading {
|
55 |
+
margin: 200px 0 300px 0;
|
56 |
+
text-align: center;
|
57 |
+
$display: none;
|
58 |
+
}
|
59 |
+
.stripViewer {
|
60 |
+
position: relative;
|
61 |
+
overflow: hidden;
|
62 |
+
border: 0px solid #000;
|
63 |
+
margin: auto;
|
64 |
+
width: 840px;
|
65 |
+
height: 350px;
|
66 |
+
clear: both;
|
67 |
+
background: #ffffff;
|
68 |
+
}
|
69 |
+
.stripViewer .panelContainer {
|
70 |
+
position: relative;
|
71 |
+
left: 0;
|
72 |
+
top: 0;
|
73 |
+
width: 100%;
|
74 |
+
list-style-type: none;
|
75 |
+
}
|
76 |
+
.stripViewer .panelContainer .panel {
|
77 |
+
float:left;
|
78 |
+
height: 100%;
|
79 |
+
position: relative;
|
80 |
+
width: 840px;
|
81 |
+
}
|
82 |
+
.stripViewer .panelContainer .panel .wrapper {
|
83 |
+
padding: 0px !important;
|
84 |
+
width: 840px !important;
|
85 |
+
min-width: 840px !important;
|
86 |
+
background: #ffffff !important;
|
87 |
+
}
|
88 |
+
.stripViewer .panelContainer .panel .wrapper p {
|
89 |
+
margin: 0 !important;
|
90 |
+
padding: 0 !important;
|
91 |
+
}
|
92 |
+
.stripNav {
|
93 |
+
margin: 0px 0px 0px 0px;
|
94 |
+
position: absolute;
|
95 |
+
bottom: 10px;
|
96 |
+
right: 10px;
|
97 |
+
z-index: 100;
|
98 |
+
}
|
99 |
+
.stripNav ul {
|
100 |
+
list-style: none;
|
101 |
+
}
|
102 |
+
.stripNav ul li {
|
103 |
+
float: right;
|
104 |
+
margin-left: 2px;
|
105 |
+
}
|
106 |
+
.stripNav a {
|
107 |
+
font-size: 0;
|
108 |
+
$font-size: 500px;
|
109 |
+
font-weight: normal;
|
110 |
+
text-align: center;
|
111 |
+
color: transparent;
|
112 |
+
text-decoration: none;
|
113 |
+
display: block;
|
114 |
+
padding: 0;
|
115 |
+
margin-left: 2px !important;
|
116 |
+
width: 8px;
|
117 |
+
height: 8px;
|
118 |
+
line-height: 8px;
|
119 |
+
float: right;
|
120 |
+
background: transparent;
|
121 |
+
border: 2px solid #fff;
|
122 |
+
border-radius: 50%;
|
123 |
+
opacity: .9;
|
124 |
+
filter: alpha(opacity=90);
|
125 |
+
}
|
126 |
+
.stripNav a:hover {
|
127 |
+
opacity: 0.8;
|
128 |
+
}
|
129 |
+
.stripNav a.activeSlide {
|
130 |
+
opacity: 1;
|
131 |
+
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
|
132 |
+
background: #555;
|
133 |
+
}
|
134 |
+
.stripNavL, .stripNavR {
|
135 |
+
position: absolute;
|
136 |
+
top: 120px;
|
137 |
+
text-indent: -9000em;
|
138 |
+
z-index: 120;
|
139 |
+
width: 20px;
|
140 |
+
opacity: 0.7;
|
141 |
+
}
|
142 |
+
.stripNavL a, .stripNavR a {
|
143 |
+
display: block;
|
144 |
+
height: 32px;
|
145 |
+
width: 20px;
|
146 |
+
margin: 0;
|
147 |
+
padding: 0;
|
148 |
+
}
|
149 |
+
.stripNavL:hover, .stripNavR:hover {
|
150 |
+
opacity: 1;
|
151 |
+
}
|
152 |
+
.stripNavL {
|
153 |
+
left: 0px;
|
154 |
+
}
|
155 |
+
.stripNavR {
|
156 |
+
right: 0px;
|
157 |
+
}
|
158 |
+
.stripNavL {
|
159 |
+
background: url(../images/slider/arr_right.png) no-repeat center;
|
160 |
+
}
|
161 |
+
.stripNavR {
|
162 |
+
background: url(../images/slider/arr_left.png) no-repeat center;
|
163 |
+
}
|
skin/frontend/default/bluescale/css/webandpeople/custommenu/custommenu.css
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#custommenu {
|
2 |
+
position: relative;
|
3 |
+
font-size: 12px;
|
4 |
+
padding: 0px 0px 0px 0px;
|
5 |
+
width: 100%;
|
6 |
+
height: 40px;
|
7 |
+
}
|
8 |
+
/*IE7 fix*/
|
9 |
+
*:first-child+html #custommenu {
|
10 |
+
z-index: 998;
|
11 |
+
}
|
12 |
+
div.menu {
|
13 |
+
float: left;
|
14 |
+
padding: 2px 0px 0px 0px;
|
15 |
+
margin: 0px 0px 0px 0px;
|
16 |
+
height: 38px;
|
17 |
+
_width: 0px; /*IE6*/
|
18 |
+
_padding: 0px 0px 0px 0px;
|
19 |
+
_background: none;
|
20 |
+
}
|
21 |
+
div.menu a:link, div.menu a:visited {
|
22 |
+
display: block;
|
23 |
+
height: 38px;
|
24 |
+
padding-left: 15px;
|
25 |
+
padding-right: 15px;
|
26 |
+
}
|
27 |
+
div.menu a span {
|
28 |
+
display: block;
|
29 |
+
height: 28px;
|
30 |
+
padding-right: 0px;
|
31 |
+
padding-top: 10px;
|
32 |
+
}
|
33 |
+
div.menu a span:hover {
|
34 |
+
cursor: pointer;
|
35 |
+
}
|
36 |
+
div.wp-custom-menu-popup {
|
37 |
+
position: absolute;
|
38 |
+
z-index: 1000;
|
39 |
+
display: none;
|
40 |
+
text-align: left;
|
41 |
+
padding: 0px 0px 10px 0px;
|
42 |
+
border-top: 0;
|
43 |
+
width: 100%;
|
44 |
+
}
|
45 |
+
div.menu a, div.wp-custom-menu-popup a {
|
46 |
+
text-decoration: none;
|
47 |
+
display:block;
|
48 |
+
cursor: pointer;
|
49 |
+
_height: 0;
|
50 |
+
height: auto;
|
51 |
+
line-height:13px;
|
52 |
+
}
|
53 |
+
div.level1 {
|
54 |
+
margin-bottom: 5px;
|
55 |
+
}
|
56 |
+
div.level2 {
|
57 |
+
margin-bottom: 5px;
|
58 |
+
}
|
59 |
+
div.level3 {
|
60 |
+
margin-bottom: 5px;
|
61 |
+
padding: 5px;
|
62 |
+
}
|
63 |
+
div.block2 {
|
64 |
+
display: block;
|
65 |
+
padding-top: 10px;
|
66 |
+
padding-left: 10px;
|
67 |
+
}
|
68 |
+
div.block2 p {
|
69 |
+
margin-bottom: 3px;
|
70 |
+
line-height: 120%;
|
71 |
+
color: #000;
|
72 |
+
font-size: 11px;
|
73 |
+
}
|
74 |
+
div.block2 p a {
|
75 |
+
display: inline;
|
76 |
+
}
|
77 |
+
div.block2 a img {
|
78 |
+
opacity: .9;
|
79 |
+
filter: alpha(opacity=90);
|
80 |
+
}
|
81 |
+
div.block2 a:hover img {
|
82 |
+
opacity: 1;
|
83 |
+
filter: alpha(opacity=100);
|
84 |
+
-webkit-transition: all .2s ease-in-out;
|
85 |
+
-moz-transition: all .2s ease-in-out;
|
86 |
+
-ms-transition: all .2s ease-in-out;
|
87 |
+
transition: all .2s ease-in-out;
|
88 |
+
}
|
89 |
+
div.wp-custom-menu-popup hr {
|
90 |
+
margin: 0px 0px 3px 0px;
|
91 |
+
}
|
92 |
+
/*** COLUMN WIDTH ***/
|
93 |
+
div.column {
|
94 |
+
float: left;
|
95 |
+
width: 18%; /* for 5 columns*/
|
96 |
+
padding: 0px 1%;
|
97 |
+
margin: 0px 0px 0px 0px;
|
98 |
+
}
|
99 |
+
/*** end COLUMN WIDTH ***/
|
100 |
+
div.itemSubMenu {
|
101 |
+
margin-left: 0px;
|
102 |
+
}
|
103 |
+
.clearBoth {
|
104 |
+
clear:both;
|
105 |
+
height: 0;
|
106 |
+
overflow: hidden;
|
107 |
+
}
|
108 |
+
a.level1:link, a.level1:visited {
|
109 |
+
margin-top: 10px;
|
110 |
+
margin-bottom: 10px;
|
111 |
+
padding: 5px 10px;
|
112 |
+
border-radius: 2px;
|
113 |
+
}
|
114 |
+
a.level2:link, a.level2:visited {
|
115 |
+
padding: 3px 10px;
|
116 |
+
border-radius: 2px;
|
117 |
+
}
|
118 |
+
div.level1 {
|
119 |
+
margin-bottom: 5px;
|
120 |
+
}
|
121 |
+
/*BG*/
|
122 |
+
#custommenu {
|
123 |
+
border-radius: 7px 7px 0px 0px;
|
124 |
+
}
|
125 |
+
div.wp-custom-menu-popup {
|
126 |
+
background: #f1f1f1;
|
127 |
+
box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.3);
|
128 |
+
padding: 20px 0px 20px 0px;
|
129 |
+
}
|
130 |
+
div.menu a:hover {
|
131 |
+
background: #0069a1;
|
132 |
+
}
|
133 |
+
div.menu a, div.wp-custom-menu-popup a {
|
134 |
+
-webkit-transition: all .2s ease-in-out;
|
135 |
+
-moz-transition: all .2s ease-in-out;
|
136 |
+
-ms-transition: all .2s ease-in-out;
|
137 |
+
transition: all .2s ease-in-out;
|
138 |
+
}
|
139 |
+
div.menu.active a {
|
140 |
+
background: #f1f1f1 !important;
|
141 |
+
color: #000 !important;
|
142 |
+
border-radius: 2px 2px 0px 0px;
|
143 |
+
}
|
144 |
+
div.level3 {
|
145 |
+
background: #fff;
|
146 |
+
}
|
147 |
+
/*FONTS*/
|
148 |
+
div.menu {
|
149 |
+
font-weight: normal;
|
150 |
+
font-size: 14px;
|
151 |
+
text-transform: uppercase;
|
152 |
+
font-family: Tahoma;
|
153 |
+
}
|
154 |
+
a.level1:link, a.level1:visited {
|
155 |
+
text-transform: none;
|
156 |
+
font-weight: normal;
|
157 |
+
font-size: 16px;
|
158 |
+
}
|
159 |
+
a.level2:link, a.level2:visited {
|
160 |
+
font-weight: normal;
|
161 |
+
font-size: 12px;
|
162 |
+
}
|
163 |
+
a.level3:link, a.level3:visited {
|
164 |
+
font-size: 11px;
|
165 |
+
font-weight: normal;
|
166 |
+
line-height: 100%;
|
167 |
+
margin-bottom: 0px;
|
168 |
+
}
|
169 |
+
/*COLOR*/
|
170 |
+
div.menu a:link, div.menu a:visited, div.menu a:hover, div.menu.active a {
|
171 |
+
color: #fff;
|
172 |
+
}
|
173 |
+
div.menu a:hover {
|
174 |
+
color: #fff;
|
175 |
+
}
|
176 |
+
a.level3:link, a.level3:visited {
|
177 |
+
color: #333333;
|
178 |
+
}
|
179 |
+
a.level3:hover {
|
180 |
+
color: #0069a1;
|
181 |
+
}
|
182 |
+
a.level2:link, a.level2:visited {
|
183 |
+
color: #000;
|
184 |
+
}
|
185 |
+
a.level1:link, a.level1:visited {
|
186 |
+
color: #0086b2;/*background: #fff;*/
|
187 |
+
}
|
188 |
+
a.level1:hover, div.wp-custom-menu-popup a.act {
|
189 |
+
color: #fff !important;
|
190 |
+
background: #1795D8;
|
191 |
+
}
|
192 |
+
a.level2:hover {
|
193 |
+
color: #fff;
|
194 |
+
background: #1795D8;
|
195 |
+
}
|
skin/frontend/default/bluescale/favicon.ico
ADDED
Binary file
|
skin/frontend/default/bluescale/images/add_btn_split.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/arr_btn_split.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/b_arrow.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/bg_blue.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/bg_flower.jpg
ADDED
Binary file
|
skin/frontend/default/bluescale/images/bg_grey.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/bg_nt.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/bg_white.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/bkg_nav2.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/bkg_rating.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/block_head_cart.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/block_head_compare.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/block_head_popular.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/block_head_subscribe.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/block_head_wish.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/blue_btn_split.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/breadcrumbs_sp.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/btn_remove.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/btn_remove2.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/btn_trash.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/button-small-split.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/comp.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/dd.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/em_quickshop_preview.png
ADDED
Binary file
|
skin/frontend/default/bluescale/images/email.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/footer_links_block_line.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/four_banners_menumar.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/gift-message-collapse.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/gift-message-expand.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/gr_arrow.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/header_links_sp.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/home_bg.png
ADDED
Binary file
|
skin/frontend/default/bluescale/images/i_asc_arrow.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/i_desc_arrow.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/i_pager-next.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/i_pager-prev.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/icon_home.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/join_bg.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/join_us_block_bg.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/l_arr_btn_split.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/logo.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/magnifier_handle.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/main_nav_sp.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/nav_arrow.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/page_bg.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/product_view.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/r_arr_btn_split.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/search_btn.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/slider/arr_left.png
ADDED
Binary file
|
skin/frontend/default/bluescale/images/slider/arr_right.png
ADDED
Binary file
|
skin/frontend/default/bluescale/images/slider_btn_zoom_in.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/slider_btn_zoom_out.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/slider_num.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/small_btn_split.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/sort_asc_arrow.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/sort_desc_arrow.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/subscribe_btn.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/subscribe_input.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/images/wish.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/js/cycle-fade-effect.js
ADDED
@@ -0,0 +1,1258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* jQuery Cycle Plugin (with Transition Definitions)
|
3 |
+
* Examples and documentation at: http://jquery.malsup.com/cycle/
|
4 |
+
* Copyright (c) 2007-2009 M. Alsup
|
5 |
+
* Version: 2.72 (09-SEP-2009)
|
6 |
+
* Dual licensed under the MIT and GPL licenses:
|
7 |
+
* http://www.opensource.org/licenses/mit-license.php
|
8 |
+
* http://www.gnu.org/licenses/gpl.html
|
9 |
+
* Requires: jQuery v1.2.6 or later
|
10 |
+
*
|
11 |
+
* Originally based on the work of:
|
12 |
+
* 1) Matt Oakes
|
13 |
+
* 2) Torsten Baldes (http://medienfreunde.com/lab/innerfade/)
|
14 |
+
* 3) Benjamin Sterling (http://www.benjaminsterling.com/experiments/jqShuffle/)
|
15 |
+
*/
|
16 |
+
;(function($) {
|
17 |
+
|
18 |
+
var ver = '2.72';
|
19 |
+
|
20 |
+
// if $.support is not defined (pre jQuery 1.3) add what I need
|
21 |
+
if ($.support == undefined) {
|
22 |
+
$.support = {
|
23 |
+
opacity: !($.browser.msie)
|
24 |
+
};
|
25 |
+
}
|
26 |
+
|
27 |
+
function debug(s) {
|
28 |
+
if ($.fn.cycle.debug)
|
29 |
+
log(s);
|
30 |
+
}
|
31 |
+
function log() {
|
32 |
+
if (window.console && window.console.log)
|
33 |
+
window.console.log('[cycle] ' + Array.prototype.join.call(arguments,' '));
|
34 |
+
//$('body').append('<div>'+Array.prototype.join.call(arguments,' ')+'</div>');
|
35 |
+
};
|
36 |
+
|
37 |
+
// the options arg can be...
|
38 |
+
// a number - indicates an immediate transition should occur to the given slide index
|
39 |
+
// a string - 'stop', 'pause', 'resume', or the name of a transition effect (ie, 'fade', 'zoom', etc)
|
40 |
+
// an object - properties to control the slideshow
|
41 |
+
//
|
42 |
+
// the arg2 arg can be...
|
43 |
+
// the name of an fx (only used in conjunction with a numeric value for 'options')
|
44 |
+
// the value true (only used in conjunction with a options == 'resume') and indicates
|
45 |
+
// that the resume should occur immediately (not wait for next timeout)
|
46 |
+
|
47 |
+
$.fn.cycle = function(options, arg2) {
|
48 |
+
var o = { s: this.selector, c: this.context };
|
49 |
+
|
50 |
+
// in 1.3+ we can fix mistakes with the ready state
|
51 |
+
if (this.length === 0 && options != 'stop') {
|
52 |
+
if (!$.isReady && o.s) {
|
53 |
+
log('DOM not ready, queuing slideshow');
|
54 |
+
$(function() {
|
55 |
+
$(o.s,o.c).cycle(options,arg2);
|
56 |
+
});
|
57 |
+
return this;
|
58 |
+
}
|
59 |
+
// is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
|
60 |
+
log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
|
61 |
+
return this;
|
62 |
+
}
|
63 |
+
|
64 |
+
// iterate the matched nodeset
|
65 |
+
return this.each(function() {
|
66 |
+
var opts = handleArguments(this, options, arg2);
|
67 |
+
if (opts === false)
|
68 |
+
return;
|
69 |
+
|
70 |
+
// stop existing slideshow for this container (if there is one)
|
71 |
+
if (this.cycleTimeout)
|
72 |
+
clearTimeout(this.cycleTimeout);
|
73 |
+
this.cycleTimeout = this.cyclePause = 0;
|
74 |
+
|
75 |
+
var $cont = $(this);
|
76 |
+
var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children();
|
77 |
+
var els = $slides.get();
|
78 |
+
if (els.length < 2) {
|
79 |
+
log('terminating; too few slides: ' + els.length);
|
80 |
+
return;
|
81 |
+
}
|
82 |
+
|
83 |
+
var opts2 = buildOptions($cont, $slides, els, opts, o);
|
84 |
+
if (opts2 === false)
|
85 |
+
return;
|
86 |
+
|
87 |
+
var startTime = opts2.continuous ? 10 : getTimeout(opts2.currSlide, opts2.nextSlide, opts2, !opts2.rev);
|
88 |
+
|
89 |
+
// if it's an auto slideshow, kick it off
|
90 |
+
if (startTime) {
|
91 |
+
startTime += (opts2.delay || 0);
|
92 |
+
if (startTime < 10)
|
93 |
+
startTime = 10;
|
94 |
+
debug('first timeout: ' + startTime);
|
95 |
+
this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts2.rev)}, startTime);
|
96 |
+
}
|
97 |
+
});
|
98 |
+
};
|
99 |
+
|
100 |
+
// process the args that were passed to the plugin fn
|
101 |
+
function handleArguments(cont, options, arg2) {
|
102 |
+
if (cont.cycleStop == undefined)
|
103 |
+
cont.cycleStop = 0;
|
104 |
+
if (options === undefined || options === null)
|
105 |
+
options = {};
|
106 |
+
if (options.constructor == String) {
|
107 |
+
switch(options) {
|
108 |
+
case 'stop':
|
109 |
+
cont.cycleStop++; // callbacks look for change
|
110 |
+
if (cont.cycleTimeout)
|
111 |
+
clearTimeout(cont.cycleTimeout);
|
112 |
+
cont.cycleTimeout = 0;
|
113 |
+
$(cont).removeData('cycle.opts');
|
114 |
+
return false;
|
115 |
+
case 'pause':
|
116 |
+
cont.cyclePause = 1;
|
117 |
+
return false;
|
118 |
+
case 'resume':
|
119 |
+
cont.cyclePause = 0;
|
120 |
+
if (arg2 === true) { // resume now!
|
121 |
+
options = $(cont).data('cycle.opts');
|
122 |
+
if (!options) {
|
123 |
+
log('options not found, can not resume');
|
124 |
+
return false;
|
125 |
+
}
|
126 |
+
if (cont.cycleTimeout) {
|
127 |
+
clearTimeout(cont.cycleTimeout);
|
128 |
+
cont.cycleTimeout = 0;
|
129 |
+
}
|
130 |
+
go(options.elements, options, 1, 1);
|
131 |
+
}
|
132 |
+
return false;
|
133 |
+
case 'prev':
|
134 |
+
case 'next':
|
135 |
+
var opts = $(cont).data('cycle.opts');
|
136 |
+
if (!opts) {
|
137 |
+
log('options not found, "prev/next" ignored');
|
138 |
+
return false;
|
139 |
+
}
|
140 |
+
$.fn.cycle[options](opts);
|
141 |
+
return false;
|
142 |
+
default:
|
143 |
+
options = { fx: options };
|
144 |
+
};
|
145 |
+
return options;
|
146 |
+
}
|
147 |
+
else if (options.constructor == Number) {
|
148 |
+
// go to the requested slide
|
149 |
+
var num = options;
|
150 |
+
options = $(cont).data('cycle.opts');
|
151 |
+
if (!options) {
|
152 |
+
log('options not found, can not advance slide');
|
153 |
+
return false;
|
154 |
+
}
|
155 |
+
if (num < 0 || num >= options.elements.length) {
|
156 |
+
log('invalid slide index: ' + num);
|
157 |
+
return false;
|
158 |
+
}
|
159 |
+
options.nextSlide = num;
|
160 |
+
if (cont.cycleTimeout) {
|
161 |
+
clearTimeout(cont.cycleTimeout);
|
162 |
+
cont.cycleTimeout = 0;
|
163 |
+
}
|
164 |
+
if (typeof arg2 == 'string')
|
165 |
+
options.oneTimeFx = arg2;
|
166 |
+
go(options.elements, options, 1, num >= options.currSlide);
|
167 |
+
return false;
|
168 |
+
}
|
169 |
+
return options;
|
170 |
+
};
|
171 |
+
|
172 |
+
function removeFilter(el, opts) {
|
173 |
+
if (!$.support.opacity && opts.cleartype && el.style.filter) {
|
174 |
+
try { el.style.removeAttribute('filter'); }
|
175 |
+
catch(smother) {} // handle old opera versions
|
176 |
+
}
|
177 |
+
};
|
178 |
+
|
179 |
+
// one-time initialization
|
180 |
+
function buildOptions($cont, $slides, els, options, o) {
|
181 |
+
// support metadata plugin (v1.0 and v2.0)
|
182 |
+
var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
|
183 |
+
if (opts.autostop)
|
184 |
+
opts.countdown = opts.autostopCount || els.length;
|
185 |
+
|
186 |
+
var cont = $cont[0];
|
187 |
+
$cont.data('cycle.opts', opts);
|
188 |
+
opts.$cont = $cont;
|
189 |
+
opts.stopCount = cont.cycleStop;
|
190 |
+
opts.elements = els;
|
191 |
+
opts.before = opts.before ? [opts.before] : [];
|
192 |
+
opts.after = opts.after ? [opts.after] : [];
|
193 |
+
opts.after.unshift(function(){ opts.busy=0; });
|
194 |
+
|
195 |
+
// push some after callbacks
|
196 |
+
if (!$.support.opacity && opts.cleartype)
|
197 |
+
opts.after.push(function() { removeFilter(this, opts); });
|
198 |
+
if (opts.continuous)
|
199 |
+
opts.after.push(function() { go(els,opts,0,!opts.rev); });
|
200 |
+
|
201 |
+
saveOriginalOpts(opts);
|
202 |
+
|
203 |
+
// clearType corrections
|
204 |
+
if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
|
205 |
+
clearTypeFix($slides);
|
206 |
+
|
207 |
+
// container requires non-static position so that slides can be position within
|
208 |
+
if ($cont.css('position') == 'static')
|
209 |
+
$cont.css('position', 'relative');
|
210 |
+
if (opts.width)
|
211 |
+
$cont.width(opts.width);
|
212 |
+
if (opts.height && opts.height != 'auto')
|
213 |
+
$cont.height(opts.height);
|
214 |
+
|
215 |
+
if (opts.startingSlide)
|
216 |
+
opts.startingSlide = parseInt(opts.startingSlide);
|
217 |
+
|
218 |
+
// if random, mix up the slide array
|
219 |
+
if (opts.random) {
|
220 |
+
opts.randomMap = [];
|
221 |
+
for (var i = 0; i < els.length; i++)
|
222 |
+
opts.randomMap.push(i);
|
223 |
+
opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
|
224 |
+
opts.randomIndex = 0;
|
225 |
+
opts.startingSlide = opts.randomMap[0];
|
226 |
+
}
|
227 |
+
else if (opts.startingSlide >= els.length)
|
228 |
+
opts.startingSlide = 0; // catch bogus input
|
229 |
+
opts.currSlide = opts.startingSlide = opts.startingSlide || 0;
|
230 |
+
var first = opts.startingSlide;
|
231 |
+
|
232 |
+
// set position and zIndex on all the slides
|
233 |
+
$slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) {
|
234 |
+
var z = first ? i >= first ? els.length - (i-first) : first-i : els.length-i;
|
235 |
+
$(this).css('z-index', z)
|
236 |
+
});
|
237 |
+
|
238 |
+
// make sure first slide is visible
|
239 |
+
$(els[first]).css('opacity',1).show(); // opacity bit needed to handle restart use case
|
240 |
+
removeFilter(els[first], opts);
|
241 |
+
|
242 |
+
// stretch slides
|
243 |
+
if (opts.fit && opts.width)
|
244 |
+
$slides.width(opts.width);
|
245 |
+
if (opts.fit && opts.height && opts.height != 'auto')
|
246 |
+
$slides.height(opts.height);
|
247 |
+
|
248 |
+
// stretch container
|
249 |
+
var reshape = opts.containerResize && !$cont.innerHeight();
|
250 |
+
if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9
|
251 |
+
var maxw = 0, maxh = 0;
|
252 |
+
for(var j=0; j < els.length; j++) {
|
253 |
+
var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight();
|
254 |
+
if (!w) w = e.offsetWidth;
|
255 |
+
if (!h) h = e.offsetHeight;
|
256 |
+
maxw = w > maxw ? w : maxw;
|
257 |
+
maxh = h > maxh ? h : maxh;
|
258 |
+
}
|
259 |
+
if (maxw > 0 && maxh > 0)
|
260 |
+
$cont.css({width:maxw+'px',height:maxh+'px'});
|
261 |
+
}
|
262 |
+
|
263 |
+
if (opts.pause)
|
264 |
+
$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});
|
265 |
+
|
266 |
+
if (supportMultiTransitions(opts) === false)
|
267 |
+
return false;
|
268 |
+
|
269 |
+
// apparently a lot of people use image slideshows without height/width attributes on the images.
|
270 |
+
// Cycle 2.50+ requires the sizing info for every slide; this block tries to deal with that.
|
271 |
+
var requeue = false;
|
272 |
+
options.requeueAttempts = options.requeueAttempts || 0;
|
273 |
+
$slides.each(function() {
|
274 |
+
// try to get height/width of each slide
|
275 |
+
var $el = $(this);
|
276 |
+
this.cycleH = (opts.fit && opts.height) ? opts.height : $el.height();
|
277 |
+
this.cycleW = (opts.fit && opts.width) ? opts.width : $el.width();
|
278 |
+
|
279 |
+
if ( $el.is('img') ) {
|
280 |
+
// sigh.. sniffing, hacking, shrugging... this crappy hack tries to account for what browsers do when
|
281 |
+
// an image is being downloaded and the markup did not include sizing info (height/width attributes);
|
282 |
+
// there seems to be some "default" sizes used in this situation
|
283 |
+
var loadingIE = ($.browser.msie && this.cycleW == 28 && this.cycleH == 30 && !this.complete);
|
284 |
+
var loadingFF = ($.browser.mozilla && this.cycleW == 34 && this.cycleH == 19 && !this.complete);
|
285 |
+
var loadingOp = ($.browser.opera && ((this.cycleW == 42 && this.cycleH == 19) || (this.cycleW == 37 && this.cycleH == 17)) && !this.complete);
|
286 |
+
var loadingOther = (this.cycleH == 0 && this.cycleW == 0 && !this.complete);
|
287 |
+
// don't requeue for images that are still loading but have a valid size
|
288 |
+
if (loadingIE || loadingFF || loadingOp || loadingOther) {
|
289 |
+
if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { // track retry count so we don't loop forever
|
290 |
+
log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ', this.src, this.cycleW, this.cycleH);
|
291 |
+
setTimeout(function() {$(o.s,o.c).cycle(options)}, opts.requeueTimeout);
|
292 |
+
requeue = true;
|
293 |
+
return false; // break each loop
|
294 |
+
}
|
295 |
+
else {
|
296 |
+
log('could not determine size of image: '+this.src, this.cycleW, this.cycleH);
|
297 |
+
}
|
298 |
+
}
|
299 |
+
}
|
300 |
+
return true;
|
301 |
+
});
|
302 |
+
|
303 |
+
if (requeue)
|
304 |
+
return false;
|
305 |
+
|
306 |
+
opts.cssBefore = opts.cssBefore || {};
|
307 |
+
opts.animIn = opts.animIn || {};
|
308 |
+
opts.animOut = opts.animOut || {};
|
309 |
+
|
310 |
+
$slides.not(':eq('+first+')').css(opts.cssBefore);
|
311 |
+
if (opts.cssFirst)
|
312 |
+
$($slides[first]).css(opts.cssFirst);
|
313 |
+
|
314 |
+
if (opts.timeout) {
|
315 |
+
opts.timeout = parseInt(opts.timeout);
|
316 |
+
// ensure that timeout and speed settings are sane
|
317 |
+
if (opts.speed.constructor == String)
|
318 |
+
opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed);
|
319 |
+
if (!opts.sync)
|
320 |
+
opts.speed = opts.speed / 2;
|
321 |
+
while((opts.timeout - opts.speed) < 250) // sanitize timeout
|
322 |
+
opts.timeout += opts.speed;
|
323 |
+
}
|
324 |
+
if (opts.easing)
|
325 |
+
opts.easeIn = opts.easeOut = opts.easing;
|
326 |
+
if (!opts.speedIn)
|
327 |
+
opts.speedIn = opts.speed;
|
328 |
+
if (!opts.speedOut)
|
329 |
+
opts.speedOut = opts.speed;
|
330 |
+
|
331 |
+
opts.slideCount = els.length;
|
332 |
+
opts.currSlide = opts.lastSlide = first;
|
333 |
+
if (opts.random) {
|
334 |
+
opts.nextSlide = opts.currSlide;
|
335 |
+
if (++opts.randomIndex == els.length)
|
336 |
+
opts.randomIndex = 0;
|
337 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
338 |
+
}
|
339 |
+
else
|
340 |
+
opts.nextSlide = opts.startingSlide >= (els.length-1) ? 0 : opts.startingSlide+1;
|
341 |
+
|
342 |
+
// run transition init fn
|
343 |
+
if (!opts.multiFx) {
|
344 |
+
var init = $.fn.cycle.transitions[opts.fx];
|
345 |
+
if ($.isFunction(init))
|
346 |
+
init($cont, $slides, opts);
|
347 |
+
else if (opts.fx != 'custom' && !opts.multiFx) {
|
348 |
+
log('unknown transition: ' + opts.fx,'; slideshow terminating');
|
349 |
+
return false;
|
350 |
+
}
|
351 |
+
}
|
352 |
+
|
353 |
+
// fire artificial events
|
354 |
+
var e0 = $slides[first];
|
355 |
+
if (opts.before.length)
|
356 |
+
opts.before[0].apply(e0, [e0, e0, opts, true]);
|
357 |
+
if (opts.after.length > 1)
|
358 |
+
opts.after[1].apply(e0, [e0, e0, opts, true]);
|
359 |
+
|
360 |
+
if (opts.next)
|
361 |
+
$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?-1:1)});
|
362 |
+
if (opts.prev)
|
363 |
+
$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?1:-1)});
|
364 |
+
if (opts.pager)
|
365 |
+
buildPager(els,opts);
|
366 |
+
|
367 |
+
exposeAddSlide(opts, els);
|
368 |
+
|
369 |
+
return opts;
|
370 |
+
};
|
371 |
+
|
372 |
+
// save off original opts so we can restore after clearing state
|
373 |
+
function saveOriginalOpts(opts) {
|
374 |
+
opts.original = { before: [], after: [] };
|
375 |
+
opts.original.cssBefore = $.extend({}, opts.cssBefore);
|
376 |
+
opts.original.cssAfter = $.extend({}, opts.cssAfter);
|
377 |
+
opts.original.animIn = $.extend({}, opts.animIn);
|
378 |
+
opts.original.animOut = $.extend({}, opts.animOut);
|
379 |
+
$.each(opts.before, function() { opts.original.before.push(this); });
|
380 |
+
$.each(opts.after, function() { opts.original.after.push(this); });
|
381 |
+
};
|
382 |
+
|
383 |
+
function supportMultiTransitions(opts) {
|
384 |
+
var i, tx, txs = $.fn.cycle.transitions;
|
385 |
+
// look for multiple effects
|
386 |
+
if (opts.fx.indexOf(',') > 0) {
|
387 |
+
opts.multiFx = true;
|
388 |
+
opts.fxs = opts.fx.replace(/\s*/g,'').split(',');
|
389 |
+
// discard any bogus effect names
|
390 |
+
for (i=0; i < opts.fxs.length; i++) {
|
391 |
+
var fx = opts.fxs[i];
|
392 |
+
tx = txs[fx];
|
393 |
+
if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) {
|
394 |
+
log('discarding unknown transition: ',fx);
|
395 |
+
opts.fxs.splice(i,1);
|
396 |
+
i--;
|
397 |
+
}
|
398 |
+
}
|
399 |
+
// if we have an empty list then we threw everything away!
|
400 |
+
if (!opts.fxs.length) {
|
401 |
+
log('No valid transitions named; slideshow terminating.');
|
402 |
+
return false;
|
403 |
+
}
|
404 |
+
}
|
405 |
+
else if (opts.fx == 'all') { // auto-gen the list of transitions
|
406 |
+
opts.multiFx = true;
|
407 |
+
opts.fxs = [];
|
408 |
+
for (p in txs) {
|
409 |
+
tx = txs[p];
|
410 |
+
if (txs.hasOwnProperty(p) && $.isFunction(tx))
|
411 |
+
opts.fxs.push(p);
|
412 |
+
}
|
413 |
+
}
|
414 |
+
if (opts.multiFx && opts.randomizeEffects) {
|
415 |
+
// munge the fxs array to make effect selection random
|
416 |
+
var r1 = Math.floor(Math.random() * 20) + 30;
|
417 |
+
for (i = 0; i < r1; i++) {
|
418 |
+
var r2 = Math.floor(Math.random() * opts.fxs.length);
|
419 |
+
opts.fxs.push(opts.fxs.splice(r2,1)[0]);
|
420 |
+
}
|
421 |
+
debug('randomized fx sequence: ',opts.fxs);
|
422 |
+
}
|
423 |
+
return true;
|
424 |
+
};
|
425 |
+
|
426 |
+
// provide a mechanism for adding slides after the slideshow has started
|
427 |
+
function exposeAddSlide(opts, els) {
|
428 |
+
opts.addSlide = function(newSlide, prepend) {
|
429 |
+
var $s = $(newSlide), s = $s[0];
|
430 |
+
if (!opts.autostopCount)
|
431 |
+
opts.countdown++;
|
432 |
+
els[prepend?'unshift':'push'](s);
|
433 |
+
if (opts.els)
|
434 |
+
opts.els[prepend?'unshift':'push'](s); // shuffle needs this
|
435 |
+
opts.slideCount = els.length;
|
436 |
+
|
437 |
+
$s.css('position','absolute');
|
438 |
+
$s[prepend?'prependTo':'appendTo'](opts.$cont);
|
439 |
+
|
440 |
+
if (prepend) {
|
441 |
+
opts.currSlide++;
|
442 |
+
opts.nextSlide++;
|
443 |
+
}
|
444 |
+
|
445 |
+
if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
|
446 |
+
clearTypeFix($s);
|
447 |
+
|
448 |
+
if (opts.fit && opts.width)
|
449 |
+
$s.width(opts.width);
|
450 |
+
if (opts.fit && opts.height && opts.height != 'auto')
|
451 |
+
$slides.height(opts.height);
|
452 |
+
s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height();
|
453 |
+
s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width();
|
454 |
+
|
455 |
+
$s.css(opts.cssBefore);
|
456 |
+
|
457 |
+
if (opts.pager)
|
458 |
+
$.fn.cycle.createPagerAnchor(els.length-1, s, $(opts.pager), els, opts);
|
459 |
+
|
460 |
+
if ($.isFunction(opts.onAddSlide))
|
461 |
+
opts.onAddSlide($s);
|
462 |
+
else
|
463 |
+
$s.hide(); // default behavior
|
464 |
+
};
|
465 |
+
}
|
466 |
+
|
467 |
+
// reset internal state; we do this on every pass in order to support multiple effects
|
468 |
+
$.fn.cycle.resetState = function(opts, fx) {
|
469 |
+
fx = fx || opts.fx;
|
470 |
+
opts.before = []; opts.after = [];
|
471 |
+
opts.cssBefore = $.extend({}, opts.original.cssBefore);
|
472 |
+
opts.cssAfter = $.extend({}, opts.original.cssAfter);
|
473 |
+
opts.animIn = $.extend({}, opts.original.animIn);
|
474 |
+
opts.animOut = $.extend({}, opts.original.animOut);
|
475 |
+
opts.fxFn = null;
|
476 |
+
$.each(opts.original.before, function() { opts.before.push(this); });
|
477 |
+
$.each(opts.original.after, function() { opts.after.push(this); });
|
478 |
+
|
479 |
+
// re-init
|
480 |
+
var init = $.fn.cycle.transitions[fx];
|
481 |
+
if ($.isFunction(init))
|
482 |
+
init(opts.$cont, $(opts.elements), opts);
|
483 |
+
};
|
484 |
+
|
485 |
+
// this is the main engine fn, it handles the timeouts, callbacks and slide index mgmt
|
486 |
+
function go(els, opts, manual, fwd) {
|
487 |
+
// opts.busy is true if we're in the middle of an animation
|
488 |
+
if (manual && opts.busy && opts.manualTrump) {
|
489 |
+
// let manual transitions requests trump active ones
|
490 |
+
$(els).stop(true,true);
|
491 |
+
opts.busy = false;
|
492 |
+
}
|
493 |
+
// don't begin another timeout-based transition if there is one active
|
494 |
+
if (opts.busy)
|
495 |
+
return;
|
496 |
+
|
497 |
+
var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide];
|
498 |
+
|
499 |
+
// stop cycling if we have an outstanding stop request
|
500 |
+
if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual)
|
501 |
+
return;
|
502 |
+
|
503 |
+
// check to see if we should stop cycling based on autostop options
|
504 |
+
if (!manual && !p.cyclePause &&
|
505 |
+
((opts.autostop && (--opts.countdown <= 0)) ||
|
506 |
+
(opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) {
|
507 |
+
if (opts.end)
|
508 |
+
opts.end(opts);
|
509 |
+
return;
|
510 |
+
}
|
511 |
+
|
512 |
+
// if slideshow is paused, only transition on a manual trigger
|
513 |
+
if (manual || !p.cyclePause) {
|
514 |
+
var fx = opts.fx;
|
515 |
+
// keep trying to get the slide size if we don't have it yet
|
516 |
+
curr.cycleH = curr.cycleH || $(curr).height();
|
517 |
+
curr.cycleW = curr.cycleW || $(curr).width();
|
518 |
+
next.cycleH = next.cycleH || $(next).height();
|
519 |
+
next.cycleW = next.cycleW || $(next).width();
|
520 |
+
|
521 |
+
// support multiple transition types
|
522 |
+
if (opts.multiFx) {
|
523 |
+
if (opts.lastFx == undefined || ++opts.lastFx >= opts.fxs.length)
|
524 |
+
opts.lastFx = 0;
|
525 |
+
fx = opts.fxs[opts.lastFx];
|
526 |
+
opts.currFx = fx;
|
527 |
+
}
|
528 |
+
|
529 |
+
// one-time fx overrides apply to: $('div').cycle(3,'zoom');
|
530 |
+
if (opts.oneTimeFx) {
|
531 |
+
fx = opts.oneTimeFx;
|
532 |
+
opts.oneTimeFx = null;
|
533 |
+
}
|
534 |
+
|
535 |
+
$.fn.cycle.resetState(opts, fx);
|
536 |
+
|
537 |
+
// run the before callbacks
|
538 |
+
if (opts.before.length)
|
539 |
+
$.each(opts.before, function(i,o) {
|
540 |
+
if (p.cycleStop != opts.stopCount) return;
|
541 |
+
o.apply(next, [curr, next, opts, fwd]);
|
542 |
+
});
|
543 |
+
|
544 |
+
// stage the after callacks
|
545 |
+
var after = function() {
|
546 |
+
$.each(opts.after, function(i,o) {
|
547 |
+
if (p.cycleStop != opts.stopCount) return;
|
548 |
+
o.apply(next, [curr, next, opts, fwd]);
|
549 |
+
});
|
550 |
+
};
|
551 |
+
|
552 |
+
if (opts.nextSlide != opts.currSlide) {
|
553 |
+
// get ready to perform the transition
|
554 |
+
opts.busy = 1;
|
555 |
+
if (opts.fxFn) // fx function provided?
|
556 |
+
opts.fxFn(curr, next, opts, after, fwd);
|
557 |
+
else if ($.isFunction($.fn.cycle[opts.fx])) // fx plugin ?
|
558 |
+
$.fn.cycle[opts.fx](curr, next, opts, after);
|
559 |
+
else
|
560 |
+
$.fn.cycle.custom(curr, next, opts, after, manual && opts.fastOnEvent);
|
561 |
+
}
|
562 |
+
|
563 |
+
// calculate the next slide
|
564 |
+
opts.lastSlide = opts.currSlide;
|
565 |
+
if (opts.random) {
|
566 |
+
opts.currSlide = opts.nextSlide;
|
567 |
+
if (++opts.randomIndex == els.length)
|
568 |
+
opts.randomIndex = 0;
|
569 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
570 |
+
}
|
571 |
+
else { // sequence
|
572 |
+
var roll = (opts.nextSlide + 1) == els.length;
|
573 |
+
opts.nextSlide = roll ? 0 : opts.nextSlide+1;
|
574 |
+
opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
|
575 |
+
}
|
576 |
+
|
577 |
+
if (opts.pager)
|
578 |
+
$.fn.cycle.updateActivePagerLink(opts.pager, opts.currSlide);
|
579 |
+
}
|
580 |
+
|
581 |
+
// stage the next transtion
|
582 |
+
var ms = 0;
|
583 |
+
if (opts.timeout && !opts.continuous)
|
584 |
+
ms = getTimeout(curr, next, opts, fwd);
|
585 |
+
else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic
|
586 |
+
ms = 10;
|
587 |
+
if (ms > 0)
|
588 |
+
p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.rev) }, ms);
|
589 |
+
};
|
590 |
+
|
591 |
+
// invoked after transition
|
592 |
+
$.fn.cycle.updateActivePagerLink = function(pager, currSlide) {
|
593 |
+
$(pager).find('a').removeClass('activeSlide').filter('a:eq('+currSlide+')').addClass('activeSlide');
|
594 |
+
};
|
595 |
+
|
596 |
+
// calculate timeout value for current transition
|
597 |
+
function getTimeout(curr, next, opts, fwd) {
|
598 |
+
if (opts.timeoutFn) {
|
599 |
+
// call user provided calc fn
|
600 |
+
var t = opts.timeoutFn(curr,next,opts,fwd);
|
601 |
+
while ((t - opts.speed) < 250) // sanitize timeout
|
602 |
+
t += opts.speed;
|
603 |
+
debug('calculated timeout: ' + t + '; speed: ' + opts.speed);
|
604 |
+
if (t !== false)
|
605 |
+
return t;
|
606 |
+
}
|
607 |
+
return opts.timeout;
|
608 |
+
};
|
609 |
+
|
610 |
+
// expose next/prev function, caller must pass in state
|
611 |
+
$.fn.cycle.next = function(opts) { advance(opts, opts.rev?-1:1); };
|
612 |
+
$.fn.cycle.prev = function(opts) { advance(opts, opts.rev?1:-1);};
|
613 |
+
|
614 |
+
// advance slide forward or back
|
615 |
+
function advance(opts, val) {
|
616 |
+
var els = opts.elements;
|
617 |
+
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
618 |
+
if (timeout) {
|
619 |
+
clearTimeout(timeout);
|
620 |
+
p.cycleTimeout = 0;
|
621 |
+
}
|
622 |
+
if (opts.random && val < 0) {
|
623 |
+
// move back to the previously display slide
|
624 |
+
opts.randomIndex--;
|
625 |
+
if (--opts.randomIndex == -2)
|
626 |
+
opts.randomIndex = els.length-2;
|
627 |
+
else if (opts.randomIndex == -1)
|
628 |
+
opts.randomIndex = els.length-1;
|
629 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
630 |
+
}
|
631 |
+
else if (opts.random) {
|
632 |
+
if (++opts.randomIndex == els.length)
|
633 |
+
opts.randomIndex = 0;
|
634 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
635 |
+
}
|
636 |
+
else {
|
637 |
+
opts.nextSlide = opts.currSlide + val;
|
638 |
+
if (opts.nextSlide < 0) {
|
639 |
+
if (opts.nowrap) return false;
|
640 |
+
opts.nextSlide = els.length - 1;
|
641 |
+
}
|
642 |
+
else if (opts.nextSlide >= els.length) {
|
643 |
+
if (opts.nowrap) return false;
|
644 |
+
opts.nextSlide = 0;
|
645 |
+
}
|
646 |
+
}
|
647 |
+
|
648 |
+
if ($.isFunction(opts.prevNextClick))
|
649 |
+
opts.prevNextClick(val > 0, opts.nextSlide, els[opts.nextSlide]);
|
650 |
+
go(els, opts, 1, val>=0);
|
651 |
+
return false;
|
652 |
+
};
|
653 |
+
|
654 |
+
function buildPager(els, opts) {
|
655 |
+
var $p = $(opts.pager);
|
656 |
+
$.each(els, function(i,o) {
|
657 |
+
$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);
|
658 |
+
});
|
659 |
+
$.fn.cycle.updateActivePagerLink(opts.pager, opts.startingSlide);
|
660 |
+
};
|
661 |
+
|
662 |
+
$.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
|
663 |
+
var a;
|
664 |
+
if ($.isFunction(opts.pagerAnchorBuilder))
|
665 |
+
a = opts.pagerAnchorBuilder(i,el);
|
666 |
+
else
|
667 |
+
a = '<a href="#">'+(i+1)+'</a>';
|
668 |
+
|
669 |
+
if (!a)
|
670 |
+
return;
|
671 |
+
var $a = $(a);
|
672 |
+
// don't reparent if anchor is in the dom
|
673 |
+
if ($a.parents('body').length === 0) {
|
674 |
+
var arr = [];
|
675 |
+
if ($p.length > 1) {
|
676 |
+
$p.each(function() {
|
677 |
+
var $clone = $a.clone(true);
|
678 |
+
$(this).append($clone);
|
679 |
+
arr.push($clone);
|
680 |
+
});
|
681 |
+
$a = $(arr);
|
682 |
+
}
|
683 |
+
else {
|
684 |
+
$a.appendTo($p);
|
685 |
+
}
|
686 |
+
}
|
687 |
+
|
688 |
+
$a.bind(opts.pagerEvent, function(e) {
|
689 |
+
e.preventDefault();
|
690 |
+
opts.nextSlide = i;
|
691 |
+
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
692 |
+
if (timeout) {
|
693 |
+
clearTimeout(timeout);
|
694 |
+
p.cycleTimeout = 0;
|
695 |
+
}
|
696 |
+
if ($.isFunction(opts.pagerClick))
|
697 |
+
opts.pagerClick(opts.nextSlide, els[opts.nextSlide]);
|
698 |
+
go(els,opts,1,opts.currSlide < i); // trigger the trans
|
699 |
+
return false;
|
700 |
+
});
|
701 |
+
|
702 |
+
if (opts.pagerEvent != 'click')
|
703 |
+
$a.click(function(){return false;}); // supress click
|
704 |
+
|
705 |
+
if (opts.pauseOnPagerHover)
|
706 |
+
$a.hover(function() { opts.$cont[0].cyclePause++; }, function() { opts.$cont[0].cyclePause--; } );
|
707 |
+
};
|
708 |
+
|
709 |
+
// helper fn to calculate the number of slides between the current and the next
|
710 |
+
$.fn.cycle.hopsFromLast = function(opts, fwd) {
|
711 |
+
var hops, l = opts.lastSlide, c = opts.currSlide;
|
712 |
+
if (fwd)
|
713 |
+
hops = c > l ? c - l : opts.slideCount - l;
|
714 |
+
else
|
715 |
+
hops = c < l ? l - c : l + opts.slideCount - c;
|
716 |
+
return hops;
|
717 |
+
};
|
718 |
+
|
719 |
+
// fix clearType problems in ie6 by setting an explicit bg color
|
720 |
+
// (otherwise text slides look horrible during a fade transition)
|
721 |
+
function clearTypeFix($slides) {
|
722 |
+
function hex(s) {
|
723 |
+
s = parseInt(s).toString(16);
|
724 |
+
return s.length < 2 ? '0'+s : s;
|
725 |
+
};
|
726 |
+
function getBg(e) {
|
727 |
+
for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) {
|
728 |
+
var v = $.css(e,'background-color');
|
729 |
+
if (v.indexOf('rgb') >= 0 ) {
|
730 |
+
var rgb = v.match(/\d+/g);
|
731 |
+
return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
|
732 |
+
}
|
733 |
+
if (v && v != 'transparent')
|
734 |
+
return v;
|
735 |
+
}
|
736 |
+
return '#ffffff';
|
737 |
+
};
|
738 |
+
$slides.each(function() { $(this).css('background-color', getBg(this)); });
|
739 |
+
};
|
740 |
+
|
741 |
+
// reset common props before the next transition
|
742 |
+
$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) {
|
743 |
+
$(opts.elements).not(curr).hide();
|
744 |
+
opts.cssBefore.opacity = 1;
|
745 |
+
opts.cssBefore.display = 'block';
|
746 |
+
if (w !== false && next.cycleW > 0)
|
747 |
+
opts.cssBefore.width = next.cycleW;
|
748 |
+
if (h !== false && next.cycleH > 0)
|
749 |
+
opts.cssBefore.height = next.cycleH;
|
750 |
+
opts.cssAfter = opts.cssAfter || {};
|
751 |
+
opts.cssAfter.display = 'none';
|
752 |
+
$(curr).css('zIndex',opts.slideCount + (rev === true ? 1 : 0));
|
753 |
+
$(next).css('zIndex',opts.slideCount + (rev === true ? 0 : 1));
|
754 |
+
};
|
755 |
+
|
756 |
+
// the actual fn for effecting a transition
|
757 |
+
$.fn.cycle.custom = function(curr, next, opts, cb, speedOverride) {
|
758 |
+
var $l = $(curr), $n = $(next);
|
759 |
+
var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut;
|
760 |
+
$n.css(opts.cssBefore);
|
761 |
+
if (speedOverride) {
|
762 |
+
if (typeof speedOverride == 'number')
|
763 |
+
speedIn = speedOut = speedOverride;
|
764 |
+
else
|
765 |
+
speedIn = speedOut = 1;
|
766 |
+
easeIn = easeOut = null;
|
767 |
+
}
|
768 |
+
var fn = function() {$n.animate(opts.animIn, speedIn, easeIn, cb)};
|
769 |
+
$l.animate(opts.animOut, speedOut, easeOut, function() {
|
770 |
+
if (opts.cssAfter) $l.css(opts.cssAfter);
|
771 |
+
if (!opts.sync) fn();
|
772 |
+
});
|
773 |
+
if (opts.sync) fn();
|
774 |
+
};
|
775 |
+
|
776 |
+
// transition definitions - only fade is defined here, transition pack defines the rest
|
777 |
+
$.fn.cycle.transitions = {
|
778 |
+
fade: function($cont, $slides, opts) {
|
779 |
+
$slides.not(':eq('+opts.currSlide+')').css('opacity',0);
|
780 |
+
opts.before.push(function(curr,next,opts) {
|
781 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
782 |
+
opts.cssBefore.opacity = 0;
|
783 |
+
});
|
784 |
+
opts.animIn = { opacity: 1 };
|
785 |
+
opts.animOut = { opacity: 0 };
|
786 |
+
opts.cssBefore = { top: 0, left: 0 };
|
787 |
+
}
|
788 |
+
};
|
789 |
+
|
790 |
+
$.fn.cycle.ver = function() { return ver; };
|
791 |
+
|
792 |
+
// override these globally if you like (they are all optional)
|
793 |
+
$.fn.cycle.defaults = {
|
794 |
+
fx: 'fade', // name of transition effect (or comma separated names, ex: fade,scrollUp,shuffle)
|
795 |
+
timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance)
|
796 |
+
timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag)
|
797 |
+
continuous: 0, // true to start next transition immediately after current one completes
|
798 |
+
speed: 1000, // speed of the transition (any valid fx speed value)
|
799 |
+
speedIn: null, // speed of the 'in' transition
|
800 |
+
speedOut: null, // speed of the 'out' transition
|
801 |
+
next: null, // selector for element to use as click trigger for next slide
|
802 |
+
prev: null, // selector for element to use as click trigger for previous slide
|
803 |
+
prevNextClick: null, // callback fn for prev/next clicks: function(isNext, zeroBasedSlideIndex, slideElement)
|
804 |
+
prevNextEvent:'click',// event which drives the manual transition to the previous or next slide
|
805 |
+
pager: null, // selector for element to use as pager container
|
806 |
+
pagerClick: null, // callback fn for pager clicks: function(zeroBasedSlideIndex, slideElement)
|
807 |
+
pagerEvent: 'click', // name of event which drives the pager navigation
|
808 |
+
pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement)
|
809 |
+
before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
810 |
+
after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
811 |
+
end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options)
|
812 |
+
easing: null, // easing method for both in and out transitions
|
813 |
+
easeIn: null, // easing for "in" transition
|
814 |
+
easeOut: null, // easing for "out" transition
|
815 |
+
shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 }
|
816 |
+
animIn: null, // properties that define how the slide animates in
|
817 |
+
animOut: null, // properties that define how the slide animates out
|
818 |
+
cssBefore: null, // properties that define the initial state of the slide before transitioning in
|
819 |
+
cssAfter: null, // properties that defined the state of the slide after transitioning out
|
820 |
+
fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
|
821 |
+
height: 'auto', // container height
|
822 |
+
startingSlide: 0, // zero-based index of the first slide to be displayed
|
823 |
+
sync: 1, // true if in/out transitions should occur simultaneously
|
824 |
+
random: 0, // true for random, false for sequence (not applicable to shuffle fx)
|
825 |
+
fit: 0, // force slides to fit container
|
826 |
+
containerResize: 1, // resize container to fit largest slide
|
827 |
+
pause: 0, // true to enable "pause on hover"
|
828 |
+
pauseOnPagerHover: 0, // true to pause when hovering over pager link
|
829 |
+
autostop: 0, // true to end slideshow after X transitions (where X == slide count)
|
830 |
+
autostopCount: 0, // number of transitions (optionally used with autostop to define X)
|
831 |
+
delay: 0, // additional delay (in ms) for first transition (hint: can be negative)
|
832 |
+
slideExpr: null, // expression for selecting slides (if something other than all children is required)
|
833 |
+
cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE)
|
834 |
+
cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
|
835 |
+
nowrap: 0, // true to prevent slideshow from wrapping
|
836 |
+
fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms
|
837 |
+
randomizeEffects: 1, // valid when multiple effects are used; true to make the effect sequence random
|
838 |
+
rev: 0, // causes animations to transition in reverse
|
839 |
+
manualTrump: true, // causes manual transition to stop an active transition instead of being ignored
|
840 |
+
requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded
|
841 |
+
requeueTimeout: 250 // ms delay for requeue
|
842 |
+
};
|
843 |
+
|
844 |
+
})(jQuery);
|
845 |
+
|
846 |
+
|
847 |
+
/*!
|
848 |
+
* jQuery Cycle Plugin Transition Definitions
|
849 |
+
* This script is a plugin for the jQuery Cycle Plugin
|
850 |
+
* Examples and documentation at: http://malsup.com/jquery/cycle/
|
851 |
+
* Copyright (c) 2007-2008 M. Alsup
|
852 |
+
* Version: 2.72
|
853 |
+
* Dual licensed under the MIT and GPL licenses:
|
854 |
+
* http://www.opensource.org/licenses/mit-license.php
|
855 |
+
* http://www.gnu.org/licenses/gpl.html
|
856 |
+
*/
|
857 |
+
(function($) {
|
858 |
+
|
859 |
+
//
|
860 |
+
// These functions define one-time slide initialization for the named
|
861 |
+
// transitions. To save file size feel free to remove any of these that you
|
862 |
+
// don't need.
|
863 |
+
//
|
864 |
+
$.fn.cycle.transitions.none = function($cont, $slides, opts) {
|
865 |
+
opts.fxFn = function(curr,next,opts,after){
|
866 |
+
$(next).show();
|
867 |
+
$(curr).hide();
|
868 |
+
after();
|
869 |
+
};
|
870 |
+
}
|
871 |
+
|
872 |
+
// scrollUp/Down/Left/Right
|
873 |
+
$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) {
|
874 |
+
$cont.css('overflow','hidden');
|
875 |
+
opts.before.push($.fn.cycle.commonReset);
|
876 |
+
var h = $cont.height();
|
877 |
+
opts.cssBefore ={ top: h, left: 0 };
|
878 |
+
opts.cssFirst = { top: 0 };
|
879 |
+
opts.animIn = { top: 0 };
|
880 |
+
opts.animOut = { top: -h };
|
881 |
+
};
|
882 |
+
$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) {
|
883 |
+
$cont.css('overflow','hidden');
|
884 |
+
opts.before.push($.fn.cycle.commonReset);
|
885 |
+
var h = $cont.height();
|
886 |
+
opts.cssFirst = { top: 0 };
|
887 |
+
opts.cssBefore= { top: -h, left: 0 };
|
888 |
+
opts.animIn = { top: 0 };
|
889 |
+
opts.animOut = { top: h };
|
890 |
+
};
|
891 |
+
$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) {
|
892 |
+
$cont.css('overflow','hidden');
|
893 |
+
opts.before.push($.fn.cycle.commonReset);
|
894 |
+
var w = $cont.width();
|
895 |
+
opts.cssFirst = { left: 0 };
|
896 |
+
opts.cssBefore= { left: w, top: 0 };
|
897 |
+
opts.animIn = { left: 0 };
|
898 |
+
opts.animOut = { left: 0-w };
|
899 |
+
};
|
900 |
+
$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) {
|
901 |
+
$cont.css('overflow','hidden');
|
902 |
+
opts.before.push($.fn.cycle.commonReset);
|
903 |
+
var w = $cont.width();
|
904 |
+
opts.cssFirst = { left: 0 };
|
905 |
+
opts.cssBefore= { left: -w, top: 0 };
|
906 |
+
opts.animIn = { left: 0 };
|
907 |
+
opts.animOut = { left: w };
|
908 |
+
};
|
909 |
+
$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
|
910 |
+
$cont.css('overflow','hidden').width();
|
911 |
+
opts.before.push(function(curr, next, opts, fwd) {
|
912 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
913 |
+
opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW);
|
914 |
+
opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW;
|
915 |
+
});
|
916 |
+
opts.cssFirst = { left: 0 };
|
917 |
+
opts.cssBefore= { top: 0 };
|
918 |
+
opts.animIn = { left: 0 };
|
919 |
+
opts.animOut = { top: 0 };
|
920 |
+
};
|
921 |
+
$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) {
|
922 |
+
$cont.css('overflow','hidden');
|
923 |
+
opts.before.push(function(curr, next, opts, fwd) {
|
924 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
925 |
+
opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1);
|
926 |
+
opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH;
|
927 |
+
});
|
928 |
+
opts.cssFirst = { top: 0 };
|
929 |
+
opts.cssBefore= { left: 0 };
|
930 |
+
opts.animIn = { top: 0 };
|
931 |
+
opts.animOut = { left: 0 };
|
932 |
+
};
|
933 |
+
|
934 |
+
// slideX/slideY
|
935 |
+
$.fn.cycle.transitions.slideX = function($cont, $slides, opts) {
|
936 |
+
opts.before.push(function(curr, next, opts) {
|
937 |
+
$(opts.elements).not(curr).hide();
|
938 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
939 |
+
opts.animIn.width = next.cycleW;
|
940 |
+
});
|
941 |
+
opts.cssBefore = { left: 0, top: 0, width: 0 };
|
942 |
+
opts.animIn = { width: 'show' };
|
943 |
+
opts.animOut = { width: 0 };
|
944 |
+
};
|
945 |
+
$.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
|
946 |
+
opts.before.push(function(curr, next, opts) {
|
947 |
+
$(opts.elements).not(curr).hide();
|
948 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
949 |
+
opts.animIn.height = next.cycleH;
|
950 |
+
});
|
951 |
+
opts.cssBefore = { left: 0, top: 0, height: 0 };
|
952 |
+
opts.animIn = { height: 'show' };
|
953 |
+
opts.animOut = { height: 0 };
|
954 |
+
};
|
955 |
+
|
956 |
+
// shuffle
|
957 |
+
$.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
|
958 |
+
var i, w = $cont.css('overflow', 'visible').width();
|
959 |
+
$slides.css({left: 0, top: 0});
|
960 |
+
opts.before.push(function(curr,next,opts) {
|
961 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
962 |
+
});
|
963 |
+
// only adjust speed once!
|
964 |
+
if (!opts.speedAdjusted) {
|
965 |
+
opts.speed = opts.speed / 2; // shuffle has 2 transitions
|
966 |
+
opts.speedAdjusted = true;
|
967 |
+
}
|
968 |
+
opts.random = 0;
|
969 |
+
opts.shuffle = opts.shuffle || {left:-w, top:15};
|
970 |
+
opts.els = [];
|
971 |
+
for (i=0; i < $slides.length; i++)
|
972 |
+
opts.els.push($slides[i]);
|
973 |
+
|
974 |
+
for (i=0; i < opts.currSlide; i++)
|
975 |
+
opts.els.push(opts.els.shift());
|
976 |
+
|
977 |
+
// custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!)
|
978 |
+
opts.fxFn = function(curr, next, opts, cb, fwd) {
|
979 |
+
var $el = fwd ? $(curr) : $(next);
|
980 |
+
$(next).css(opts.cssBefore);
|
981 |
+
var count = opts.slideCount;
|
982 |
+
$el.animate(opts.shuffle, opts.speedIn, opts.easeIn, function() {
|
983 |
+
var hops = $.fn.cycle.hopsFromLast(opts, fwd);
|
984 |
+
for (var k=0; k < hops; k++)
|
985 |
+
fwd ? opts.els.push(opts.els.shift()) : opts.els.unshift(opts.els.pop());
|
986 |
+
if (fwd) {
|
987 |
+
for (var i=0, len=opts.els.length; i < len; i++)
|
988 |
+
$(opts.els[i]).css('z-index', len-i+count);
|
989 |
+
}
|
990 |
+
else {
|
991 |
+
var z = $(curr).css('z-index');
|
992 |
+
$el.css('z-index', parseInt(z)+1+count);
|
993 |
+
}
|
994 |
+
$el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() {
|
995 |
+
$(fwd ? this : curr).hide();
|
996 |
+
if (cb) cb();
|
997 |
+
});
|
998 |
+
});
|
999 |
+
};
|
1000 |
+
opts.cssBefore = { display: 'block', opacity: 1, top: 0, left: 0 };
|
1001 |
+
};
|
1002 |
+
|
1003 |
+
// turnUp/Down/Left/Right
|
1004 |
+
$.fn.cycle.transitions.turnUp = function($cont, $slides, opts) {
|
1005 |
+
opts.before.push(function(curr, next, opts) {
|
1006 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1007 |
+
opts.cssBefore.top = next.cycleH;
|
1008 |
+
opts.animIn.height = next.cycleH;
|
1009 |
+
});
|
1010 |
+
opts.cssFirst = { top: 0 };
|
1011 |
+
opts.cssBefore = { left: 0, height: 0 };
|
1012 |
+
opts.animIn = { top: 0 };
|
1013 |
+
opts.animOut = { height: 0 };
|
1014 |
+
};
|
1015 |
+
$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
|
1016 |
+
opts.before.push(function(curr, next, opts) {
|
1017 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1018 |
+
opts.animIn.height = next.cycleH;
|
1019 |
+
opts.animOut.top = curr.cycleH;
|
1020 |
+
});
|
1021 |
+
opts.cssFirst = { top: 0 };
|
1022 |
+
opts.cssBefore = { left: 0, top: 0, height: 0 };
|
1023 |
+
opts.animOut = { height: 0 };
|
1024 |
+
};
|
1025 |
+
$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
|
1026 |
+
opts.before.push(function(curr, next, opts) {
|
1027 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1028 |
+
opts.cssBefore.left = next.cycleW;
|
1029 |
+
opts.animIn.width = next.cycleW;
|
1030 |
+
});
|
1031 |
+
opts.cssBefore = { top: 0, width: 0 };
|
1032 |
+
opts.animIn = { left: 0 };
|
1033 |
+
opts.animOut = { width: 0 };
|
1034 |
+
};
|
1035 |
+
$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
|
1036 |
+
opts.before.push(function(curr, next, opts) {
|
1037 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1038 |
+
opts.animIn.width = next.cycleW;
|
1039 |
+
opts.animOut.left = curr.cycleW;
|
1040 |
+
});
|
1041 |
+
opts.cssBefore = { top: 0, left: 0, width: 0 };
|
1042 |
+
opts.animIn = { left: 0 };
|
1043 |
+
opts.animOut = { width: 0 };
|
1044 |
+
};
|
1045 |
+
|
1046 |
+
// zoom
|
1047 |
+
$.fn.cycle.transitions.zoom = function($cont, $slides, opts) {
|
1048 |
+
opts.before.push(function(curr, next, opts) {
|
1049 |
+
$.fn.cycle.commonReset(curr,next,opts,false,false,true);
|
1050 |
+
opts.cssBefore.top = next.cycleH/2;
|
1051 |
+
opts.cssBefore.left = next.cycleW/2;
|
1052 |
+
opts.animIn = { top: 0, left: 0, width: next.cycleW, height: next.cycleH };
|
1053 |
+
opts.animOut = { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 };
|
1054 |
+
});
|
1055 |
+
opts.cssFirst = { top:0, left: 0 };
|
1056 |
+
opts.cssBefore = { width: 0, height: 0 };
|
1057 |
+
};
|
1058 |
+
|
1059 |
+
// fadeZoom
|
1060 |
+
$.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) {
|
1061 |
+
opts.before.push(function(curr, next, opts) {
|
1062 |
+
$.fn.cycle.commonReset(curr,next,opts,false,false);
|
1063 |
+
opts.cssBefore.left = next.cycleW/2;
|
1064 |
+
opts.cssBefore.top = next.cycleH/2;
|
1065 |
+
opts.animIn = { top: 0, left: 0, width: next.cycleW, height: next.cycleH };
|
1066 |
+
});
|
1067 |
+
opts.cssBefore = { width: 0, height: 0 };
|
1068 |
+
opts.animOut = { opacity: 0 };
|
1069 |
+
};
|
1070 |
+
|
1071 |
+
// blindX
|
1072 |
+
$.fn.cycle.transitions.blindX = function($cont, $slides, opts) {
|
1073 |
+
var w = $cont.css('overflow','hidden').width();
|
1074 |
+
opts.before.push(function(curr, next, opts) {
|
1075 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1076 |
+
opts.animIn.width = next.cycleW;
|
1077 |
+
opts.animOut.left = curr.cycleW;
|
1078 |
+
});
|
1079 |
+
opts.cssBefore = { left: w, top: 0 };
|
1080 |
+
opts.animIn = { left: 0 };
|
1081 |
+
opts.animOut = { left: w };
|
1082 |
+
};
|
1083 |
+
// blindY
|
1084 |
+
$.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
|
1085 |
+
var h = $cont.css('overflow','hidden').height();
|
1086 |
+
opts.before.push(function(curr, next, opts) {
|
1087 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1088 |
+
opts.animIn.height = next.cycleH;
|
1089 |
+
opts.animOut.top = curr.cycleH;
|
1090 |
+
});
|
1091 |
+
opts.cssBefore = { top: h, left: 0 };
|
1092 |
+
opts.animIn = { top: 0 };
|
1093 |
+
opts.animOut = { top: h };
|
1094 |
+
};
|
1095 |
+
// blindZ
|
1096 |
+
$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
|
1097 |
+
var h = $cont.css('overflow','hidden').height();
|
1098 |
+
var w = $cont.width();
|
1099 |
+
opts.before.push(function(curr, next, opts) {
|
1100 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1101 |
+
opts.animIn.height = next.cycleH;
|
1102 |
+
opts.animOut.top = curr.cycleH;
|
1103 |
+
});
|
1104 |
+
opts.cssBefore = { top: h, left: w };
|
1105 |
+
opts.animIn = { top: 0, left: 0 };
|
1106 |
+
opts.animOut = { top: h, left: w };
|
1107 |
+
};
|
1108 |
+
|
1109 |
+
// growX - grow horizontally from centered 0 width
|
1110 |
+
$.fn.cycle.transitions.growX = function($cont, $slides, opts) {
|
1111 |
+
opts.before.push(function(curr, next, opts) {
|
1112 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1113 |
+
opts.cssBefore.left = this.cycleW/2;
|
1114 |
+
opts.animIn = { left: 0, width: this.cycleW };
|
1115 |
+
opts.animOut = { left: 0 };
|
1116 |
+
});
|
1117 |
+
opts.cssBefore = { width: 0, top: 0 };
|
1118 |
+
};
|
1119 |
+
// growY - grow vertically from centered 0 height
|
1120 |
+
$.fn.cycle.transitions.growY = function($cont, $slides, opts) {
|
1121 |
+
opts.before.push(function(curr, next, opts) {
|
1122 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1123 |
+
opts.cssBefore.top = this.cycleH/2;
|
1124 |
+
opts.animIn = { top: 0, height: this.cycleH };
|
1125 |
+
opts.animOut = { top: 0 };
|
1126 |
+
});
|
1127 |
+
opts.cssBefore = { height: 0, left: 0 };
|
1128 |
+
};
|
1129 |
+
|
1130 |
+
// curtainX - squeeze in both edges horizontally
|
1131 |
+
$.fn.cycle.transitions.curtainX = function($cont, $slides, opts) {
|
1132 |
+
opts.before.push(function(curr, next, opts) {
|
1133 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true,true);
|
1134 |
+
opts.cssBefore.left = next.cycleW/2;
|
1135 |
+
opts.animIn = { left: 0, width: this.cycleW };
|
1136 |
+
opts.animOut = { left: curr.cycleW/2, width: 0 };
|
1137 |
+
});
|
1138 |
+
opts.cssBefore = { top: 0, width: 0 };
|
1139 |
+
};
|
1140 |
+
// curtainY - squeeze in both edges vertically
|
1141 |
+
$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) {
|
1142 |
+
opts.before.push(function(curr, next, opts) {
|
1143 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false,true);
|
1144 |
+
opts.cssBefore.top = next.cycleH/2;
|
1145 |
+
opts.animIn = { top: 0, height: next.cycleH };
|
1146 |
+
opts.animOut = { top: curr.cycleH/2, height: 0 };
|
1147 |
+
});
|
1148 |
+
opts.cssBefore = { left: 0, height: 0 };
|
1149 |
+
};
|
1150 |
+
|
1151 |
+
// cover - curr slide covered by next slide
|
1152 |
+
$.fn.cycle.transitions.cover = function($cont, $slides, opts) {
|
1153 |
+
var d = opts.direction || 'left';
|
1154 |
+
var w = $cont.css('overflow','hidden').width();
|
1155 |
+
var h = $cont.height();
|
1156 |
+
opts.before.push(function(curr, next, opts) {
|
1157 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1158 |
+
if (d == 'right')
|
1159 |
+
opts.cssBefore.left = -w;
|
1160 |
+
else if (d == 'up')
|
1161 |
+
opts.cssBefore.top = h;
|
1162 |
+
else if (d == 'down')
|
1163 |
+
opts.cssBefore.top = -h;
|
1164 |
+
else
|
1165 |
+
opts.cssBefore.left = w;
|
1166 |
+
});
|
1167 |
+
opts.animIn = { left: 0, top: 0};
|
1168 |
+
opts.animOut = { opacity: 1 };
|
1169 |
+
opts.cssBefore = { top: 0, left: 0 };
|
1170 |
+
};
|
1171 |
+
|
1172 |
+
// uncover - curr slide moves off next slide
|
1173 |
+
$.fn.cycle.transitions.uncover = function($cont, $slides, opts) {
|
1174 |
+
var d = opts.direction || 'left';
|
1175 |
+
var w = $cont.css('overflow','hidden').width();
|
1176 |
+
var h = $cont.height();
|
1177 |
+
opts.before.push(function(curr, next, opts) {
|
1178 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
1179 |
+
if (d == 'right')
|
1180 |
+
opts.animOut.left = w;
|
1181 |
+
else if (d == 'up')
|
1182 |
+
opts.animOut.top = -h;
|
1183 |
+
else if (d == 'down')
|
1184 |
+
opts.animOut.top = h;
|
1185 |
+
else
|
1186 |
+
opts.animOut.left = -w;
|
1187 |
+
});
|
1188 |
+
opts.animIn = { left: 0, top: 0 };
|
1189 |
+
opts.animOut = { opacity: 1 };
|
1190 |
+
opts.cssBefore = { top: 0, left: 0 };
|
1191 |
+
};
|
1192 |
+
|
1193 |
+
// toss - move top slide and fade away
|
1194 |
+
$.fn.cycle.transitions.toss = function($cont, $slides, opts) {
|
1195 |
+
var w = $cont.css('overflow','visible').width();
|
1196 |
+
var h = $cont.height();
|
1197 |
+
opts.before.push(function(curr, next, opts) {
|
1198 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
1199 |
+
// provide default toss settings if animOut not provided
|
1200 |
+
if (!opts.animOut.left && !opts.animOut.top)
|
1201 |
+
opts.animOut = { left: w*2, top: -h/2, opacity: 0 };
|
1202 |
+
else
|
1203 |
+
opts.animOut.opacity = 0;
|
1204 |
+
});
|
1205 |
+
opts.cssBefore = { left: 0, top: 0 };
|
1206 |
+
opts.animIn = { left: 0 };
|
1207 |
+
};
|
1208 |
+
|
1209 |
+
// wipe - clip animation
|
1210 |
+
$.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
|
1211 |
+
var w = $cont.css('overflow','hidden').width();
|
1212 |
+
var h = $cont.height();
|
1213 |
+
opts.cssBefore = opts.cssBefore || {};
|
1214 |
+
var clip;
|
1215 |
+
if (opts.clip) {
|
1216 |
+
if (/l2r/.test(opts.clip))
|
1217 |
+
clip = 'rect(0px 0px '+h+'px 0px)';
|
1218 |
+
else if (/r2l/.test(opts.clip))
|
1219 |
+
clip = 'rect(0px '+w+'px '+h+'px '+w+'px)';
|
1220 |
+
else if (/t2b/.test(opts.clip))
|
1221 |
+
clip = 'rect(0px '+w+'px 0px 0px)';
|
1222 |
+
else if (/b2t/.test(opts.clip))
|
1223 |
+
clip = 'rect('+h+'px '+w+'px '+h+'px 0px)';
|
1224 |
+
else if (/zoom/.test(opts.clip)) {
|
1225 |
+
var top = parseInt(h/2);
|
1226 |
+
var left = parseInt(w/2);
|
1227 |
+
clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)';
|
1228 |
+
}
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)';
|
1232 |
+
|
1233 |
+
var d = opts.cssBefore.clip.match(/(\d+)/g);
|
1234 |
+
var t = parseInt(d[0]), r = parseInt(d[1]), b = parseInt(d[2]), l = parseInt(d[3]);
|
1235 |
+
|
1236 |
+
opts.before.push(function(curr, next, opts) {
|
1237 |
+
if (curr == next) return;
|
1238 |
+
var $curr = $(curr), $next = $(next);
|
1239 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,false);
|
1240 |
+
opts.cssAfter.display = 'block';
|
1241 |
+
|
1242 |
+
var step = 1, count = parseInt((opts.speedIn / 13)) - 1;
|
1243 |
+
(function f() {
|
1244 |
+
var tt = t ? t - parseInt(step * (t/count)) : 0;
|
1245 |
+
var ll = l ? l - parseInt(step * (l/count)) : 0;
|
1246 |
+
var bb = b < h ? b + parseInt(step * ((h-b)/count || 1)) : h;
|
1247 |
+
var rr = r < w ? r + parseInt(step * ((w-r)/count || 1)) : w;
|
1248 |
+
$next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' });
|
1249 |
+
(step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none');
|
1250 |
+
})();
|
1251 |
+
});
|
1252 |
+
opts.cssBefore = { display: 'block', opacity: 1, top: 0, left: 0 };
|
1253 |
+
opts.animIn = { left: 0 };
|
1254 |
+
opts.animOut = { left: 0 };
|
1255 |
+
};
|
1256 |
+
|
1257 |
+
})(jQuery);
|
1258 |
+
|
skin/frontend/default/bluescale/js/em_quickshop.js
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
*
|
3 |
+
*
|
4 |
+
*/
|
5 |
+
|
6 |
+
|
7 |
+
jQuery.noConflict();
|
8 |
+
jQuery(function($) {
|
9 |
+
var myhref,qsbtt;
|
10 |
+
|
11 |
+
// base function
|
12 |
+
|
13 |
+
//get IE version
|
14 |
+
function ieVersion(){
|
15 |
+
var rv = -1; // Return value assumes failure.
|
16 |
+
if (navigator.appName == 'Microsoft Internet Explorer'){
|
17 |
+
var ua = navigator.userAgent;
|
18 |
+
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
|
19 |
+
if (re.exec(ua) != null)
|
20 |
+
rv = parseFloat( RegExp.$1 );
|
21 |
+
}
|
22 |
+
return rv;
|
23 |
+
}
|
24 |
+
|
25 |
+
//read href attr in a tag
|
26 |
+
function readHref(){
|
27 |
+
var mypath = arguments[0];
|
28 |
+
var patt = /\/[^\/]{0,}$/ig;
|
29 |
+
if(mypath[mypath.length-1]=="/"){
|
30 |
+
mypath = mypath.substring(0,mypath.length-1);
|
31 |
+
return (mypath.match(patt)+"/");
|
32 |
+
}
|
33 |
+
return mypath.match(patt);
|
34 |
+
}
|
35 |
+
|
36 |
+
|
37 |
+
//string trim
|
38 |
+
function strTrim(){
|
39 |
+
return arguments[0].replace(/^\s+|\s+$/g,"");
|
40 |
+
}
|
41 |
+
|
42 |
+
function _qsJnit(){
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
var selectorObj = arguments[0];
|
47 |
+
//selector chon tat ca cac li chua san pham tren luoi
|
48 |
+
var listprod = $(selectorObj.itemClass);
|
49 |
+
var qsImg;
|
50 |
+
var mypath = 'quickshop/index/view';
|
51 |
+
if(EM.QuickShop.BASE_URL.indexOf('index.php') == -1){
|
52 |
+
mypath = 'index.php/quickshop/index/view';
|
53 |
+
}
|
54 |
+
var baseUrl = EM.QuickShop.BASE_URL + mypath;
|
55 |
+
|
56 |
+
var _qsHref = "<a id=\"em_quickshop_handler\" href=\"#\" style=\"visibility:hidden;position:absolute;top:0;left:0\"><img alt=\"quickshop\" src=\""+EM.QuickShop.QS_IMG+"\" /></a>";
|
57 |
+
$(document.body).append(_qsHref);
|
58 |
+
|
59 |
+
var qsHandlerImg = $('#em_quickshop_handler img');
|
60 |
+
|
61 |
+
$.each(listprod, function(index, value) {
|
62 |
+
var reloadurl = baseUrl;
|
63 |
+
|
64 |
+
//get reload url
|
65 |
+
myhref = $(value).children(selectorObj.aClass );
|
66 |
+
var prodHref = readHref(myhref.attr('href'))[0];
|
67 |
+
prodHref[0] == "\/" ? prodHref = prodHref.substring(1,prodHref.length) : prodHref;
|
68 |
+
prodHref=strTrim(prodHref);
|
69 |
+
|
70 |
+
reloadurl = baseUrl+"/path/"+prodHref;
|
71 |
+
version = ieVersion();
|
72 |
+
if(version < 8.0 && version > -1){
|
73 |
+
reloadurl = baseUrl+"/path"+prodHref;
|
74 |
+
}
|
75 |
+
//end reload url
|
76 |
+
|
77 |
+
|
78 |
+
$(selectorObj.imgClass, this).bind('mouseover', function() {
|
79 |
+
var o = $(this).offset();
|
80 |
+
$('#em_quickshop_handler').attr('href',reloadurl).show()
|
81 |
+
.css({
|
82 |
+
'top': o.top+($(this).height() - qsHandlerImg.height())/2+'px',
|
83 |
+
'left': o.left+($(this).width() - qsHandlerImg.width())/2+'px',
|
84 |
+
'visibility': 'visible'
|
85 |
+
});
|
86 |
+
});
|
87 |
+
$(value).find(selectorObj.aClass).bind('mouseover', function() {
|
88 |
+
$$(selectorObj.itemClass + ' ' + selectorObj.aClass).each(function(item) { $(item).removeClass('hover'); });
|
89 |
+
$(this).addClass('hover');
|
90 |
+
});
|
91 |
+
$(value).bind('mouseout', function(event) {
|
92 |
+
if (event.target.tagName != 'IMG') {
|
93 |
+
$$(selectorObj.itemClass + ' ' + selectorObj.aClass).each(function(item) { $(item).removeClass('hover'); });
|
94 |
+
}
|
95 |
+
$('#em_quickshop_handler').hide();
|
96 |
+
});
|
97 |
+
});
|
98 |
+
|
99 |
+
//fix bug image disapper when hover
|
100 |
+
$('#em_quickshop_handler')
|
101 |
+
.bind('mouseover', function() {
|
102 |
+
$(this).show();
|
103 |
+
})
|
104 |
+
.bind('click', function() {
|
105 |
+
$(this).hide();
|
106 |
+
});
|
107 |
+
//insert quickshop popup
|
108 |
+
|
109 |
+
$('#em_quickshop_handler').fancybox({
|
110 |
+
'width' : EM.QuickShop.QS_FRM_WIDTH,
|
111 |
+
'height' : EM.QuickShop.QS_FRM_HEIGHT,
|
112 |
+
'autoScale' : false,
|
113 |
+
'padding' : 0,
|
114 |
+
'margin' : 0,
|
115 |
+
//'transitionIn' : 'none',
|
116 |
+
//'transitionOut' : 'none',
|
117 |
+
'type' : 'iframe',
|
118 |
+
onComplete: function() {
|
119 |
+
$.fancybox.showActivity();
|
120 |
+
$('#fancybox-frame').unbind('load');
|
121 |
+
$('#fancybox-frame').bind('load', function() {
|
122 |
+
$.fancybox.hideActivity();
|
123 |
+
});
|
124 |
+
}
|
125 |
+
});
|
126 |
+
|
127 |
+
|
128 |
+
|
129 |
+
|
130 |
+
}
|
131 |
+
|
132 |
+
//end base function
|
133 |
+
|
134 |
+
|
135 |
+
_qsJnit({
|
136 |
+
itemClass : '.products-grid li.item', //selector for each items in catalog product list,use to insert quickshop image
|
137 |
+
aClass : 'a.product-image', //selector for each a tag in product items,give us href for one product
|
138 |
+
imgClass: '.product-image img' //class for quickshop href
|
139 |
+
});
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
});
|
skin/frontend/default/bluescale/js/jquery-1.5.2.min.js
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* jQuery JavaScript Library v1.5.2
|
3 |
+
* http://jquery.com/
|
4 |
+
*
|
5 |
+
* Copyright 2011, John Resig
|
6 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
7 |
+
* http://jquery.org/license
|
8 |
+
*
|
9 |
+
* Includes Sizzle.js
|
10 |
+
* http://sizzlejs.com/
|
11 |
+
* Copyright 2011, The Dojo Foundation
|
12 |
+
* Released under the MIT, BSD, and GPL Licenses.
|
13 |
+
*
|
14 |
+
* Date: Thu Mar 31 15:28:23 2011 -0400
|
15 |
+
*/
|
16 |
+
(function(a,b){function ci(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cf(a){if(!b_[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";b_[a]=c}return b_[a]}function ce(a,b){var c={};d.each(cd.concat.apply([],cd.slice(0,b)),function(){c[this]=a});return c}function b$(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bZ(){try{return new a.XMLHttpRequest}catch(b){}}function bY(){d(a).unload(function(){for(var a in bW)bW[a](0,1)})}function bS(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bR(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bQ(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bs.test(a)?e(a,f):bQ(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bQ(a+"["+f+"]",b[f],c,e)}function bP(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bJ,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bP(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bP(a,c,d,e,"*",g));return l}function bO(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bD),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bq(a,b,c){var e=b==="width"?bk:bl,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function bc(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function bb(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function ba(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function _(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function $(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Q(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(L.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function P(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function H(a,b){return(a&&a!=="*"?a+".":"")+b.replace(t,"`").replace(u,"&")}function G(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,p=[],q=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(r,"")===a.type?q.push(g.selector):t.splice(i--,1);f=d(a.target).closest(q,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&p.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){f=p[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function E(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function y(){return!0}function x(){return!1}function i(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function h(a,c,e){if(e===b&&a.nodeType===1){e=a.getAttribute("data-"+c);if(typeof e==="string"){try{e=e==="true"?!0:e==="false"?!1:e==="null"?null:d.isNaN(e)?g.test(e)?d.parseJSON(e):e:parseFloat(e)}catch(f){}d.data(a,c,e)}else e=b}return e}var c=a.document,d=function(){function G(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(G,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x,y,z=Object.prototype.toString,A=Object.prototype.hasOwnProperty,B=Array.prototype.push,C=Array.prototype.slice,D=String.prototype.trim,E=Array.prototype.indexOf,F={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return C.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?B.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),x.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(C.apply(this,arguments),"slice",C.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:B,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;x.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=d._Deferred();if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",y,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",y),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&G()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):F[z.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!A.call(a,"constructor")&&!A.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||A.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:D?function(a){return a==null?"":D.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?B.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){F["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),E&&(d.inArray=function(a,b){return E.call(b,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?y=function(){c.removeEventListener("DOMContentLoaded",y,!1),d.ready()}:c.attachEvent&&(y=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",y),d.ready())});return d}(),e="then done fail isResolved isRejected promise".split(" "),f=[].slice;d.extend({_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){f=f||[],c=1;try{while(a[0])a.shift().apply(d,f)}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),f;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(f)return f;f=a={}}var c=e.length;while(c--)a[e[c]]=b[e[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){function i(a){return function(c){b[a]=arguments.length>1?f.call(arguments,0):c,--g||h.resolveWith(h,f.call(b,0))}}var b=arguments,c=0,e=b.length,g=e,h=e<=1&&a&&d.isFunction(a.promise)?a:d.Deferred();if(e>1){for(;c<e;c++)b[c]&&d.isFunction(b[c].promise)?b[c].promise().then(i(c),h.reject):--g;g||h.resolveWith(h,b)}else h!==a&&h.resolveWith(h,e?[a]:[]);return h.promise()}}),function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e)}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(a.style.width="1px",a.style.marginRight="0",d.support.reliableMarginRight=(parseInt(c.defaultView.getComputedStyle(a,null).marginRight,10)||0)===0),b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function");return d};d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}}();var g=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!i(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,g=b.nodeType,h=g?d.cache:b,j=g?b[d.expando]:d.expando;if(!h[j])return;if(c){var k=e?h[j][f]:h[j];if(k){delete k[c];if(!i(k))return}}if(e){delete h[j][f];if(!i(h[j]))return}var l=h[j][f];d.support.deleteExpando||h!=a?delete h[j]:h[j]=null,l?(h[j]={},g||(h[j].toJSON=d.noop),h[j][f]=l):g&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var f=this[0].attributes,g;for(var i=0,j=f.length;i<j;i++)g=f[i].name,g.indexOf("data-")===0&&(g=g.substr(5),h(this[0],g,e[g]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=h(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var j=/[\n\t\r]/g,k=/\s+/,l=/\r/g,m=/^(?:href|src|style)$/,n=/^(?:button|input)$/i,o=/^(?:button|input|object|select|textarea)$/i,p=/^a(?:rea)?$/i,q=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(k);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=f.className;for(var i=0,j=b.length;i<j;i++)g.indexOf(" "+b[i]+" ")<0&&(h+=" "+b[i]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(k);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var h=(" "+g.className+" ").replace(j," ");for(var i=0,l=c.length;i<l;i++)h=h.replace(" "+c[i]+" "," ");g.className=d.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),i=b,j=a.split(k);while(f=j[g++])i=e?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(j," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var j=i?f:0,k=i?f+1:h.length;j<k;j++){var m=h[j];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(q.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(l,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this.nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&q.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=m.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&n.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var k=a.getAttributeNode("tabIndex");return k&&k.specified?k.value:o.test(a.nodeName)||p.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var l=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return l===null?b:l}h&&(a[c]=e);return a[c]}});var r=/\.(.*)$/,s=/^(?:textarea|input|select)$/i,t=/\./g,u=/ /g,v=/[^\w\s.|`]/g,w=function(a){return a.replace(v,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=x;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=function(a){return typeof d!=="undefined"&&d.event.triggered!==a.type?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=x);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),w).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(r,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=a.type,l[m]())}catch(p){}k&&(l["on"+m]=k),d.event.triggered=b}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,H(a.origType,a.selector),d.extend({},a,{handler:G,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,H(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?y:x):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=y;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=y;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=y,this.stopPropagation()},isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x};var z=function(a){var b=a.relatedTarget;try{if(b&&b!==c&&!b.parentNode)return;while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},A=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?A:z,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?A:z)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&E("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&E("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var B,C=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},D=function D(a){var c=a.target,e,f;if(s.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=C(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:D,beforedeactivate:D,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&D.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&D.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",C(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in B)d.event.add(this,c+".specialChange",B[c]);return s.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return s.test(this.nodeName)}},B=d.event.special.change.filters,B.focus=B.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function f(a){var c=d.event.fix(a);c.type=b,c.originalEvent={},d.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var e=0;d.event.special[b]={setup:function(){e++===0&&c.addEventListener(a,f,!0)},teardown:function(){--e===0&&c.removeEventListener(a,f,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var F={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=r.exec(h),k="",j&&(k=j[0],h=h.replace(r,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(F[h]+k),h=h+k):h=(F[h]||h)+k;if(c==="live")for(var p=0,q=n.length;p<q;p++)d.event.add(n[p],"live."+H(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+H(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return"text"===c&&(b===c||b===null)},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXMLDoc=k.isXML,d.contains=k.contains}();var I=/Until$/,J=/^(?:parents|prevUntil|prevAll)/,K=/,/,L=/^.[^:#\[\.,]*$/,M=Array.prototype.slice,N=d.expr.match.POS,O={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(Q(this,a,!1),"not",a)},filter:function(a){return this.pushStack(Q(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=N.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(P(c[0])||P(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=M.call(arguments);I.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!O[a]?d.unique(f):f,(this.length>1||K.test(e))&&J.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var R=/ jQuery\d+="(?:\d+|null)"/g,S=/^\s+/,T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,U=/<([\w:]+)/,V=/<tbody/i,W=/<|&#?\w+;/,X=/<(?:script|object|embed|option|style)/i,Y=/checked\s*(?:[^=]|=\s*.checked.)/i,Z={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};Z.optgroup=Z.option,Z.tbody=Z.tfoot=Z.colgroup=Z.caption=Z.thead,Z.th=Z.td,d.support.htmlSerialize||(Z._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(R,""):null;if(typeof a!=="string"||X.test(a)||!d.support.leadingWhitespace&&S.test(a)||Z[(U.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(T,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).before(a):d(c).append(a)})}return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&Y.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?$(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,bc)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!X.test(a[0])&&(d.support.checkClone||!Y.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){ba(a,e),f=bb(a),g=bb(e);for(h=0;f[h];++h)ba(f[h],g[h])}if(b){_(a,e);if(c){f=bb(a),g=bb(e);for(h=0;f[h];++h)_(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||W.test(i)){if(typeof i==="string"){i=i.replace(T,"<$1></$2>");var j=(U.exec(i)||["",""])[1].toLowerCase(),k=Z[j]||Z._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=V.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&S.test(i)&&m.insertBefore(b.createTextNode(S.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bd=/alpha\([^)]*\)/i,be=/opacity=([^)]*)/,bf=/-([a-z])/ig,bg=/([A-Z]|^ms)/g,bh=/^-?\d+(?:px)?$/i,bi=/^-?\d/,bj={position:"absolute",visibility:"hidden",display:"block"},bk=["Left","Right"],bl=["Top","Bottom"],bm,bn,bo,bp=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bm(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bm)return bm(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bf,bp)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bq(a,b,e):d.swap(a,bj,function(){f=bq(a,b,e)});if(f<=0){f=bm(a,b,b),f==="0px"&&bo&&(f=bo(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bh.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return be.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bd.test(f)?f.replace(bd,e):c.filter+" "+e}}),d(function(){d.support.reliableMarginRight||(d.cssHooks.marginRight={get:function(a,b){var c;d.swap(a,{display:"inline-block"},function(){b?c=bm(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bn=function(a,c,e){var f,g,h;e=e.replace(bg,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bo=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bh.test(d)&&bi.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bm=bn||bo,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var br=/%20/g,bs=/\[\]$/,bt=/\r?\n/g,bu=/#.*$/,bv=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bw=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bx=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,by=/^(?:GET|HEAD)$/,bz=/^\/\//,bA=/\?/,bB=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bC=/^(?:select|textarea)/i,bD=/\s+/,bE=/([?&])_=[^&]*/,bF=/(^|\-)([a-z])/g,bG=function(a,b,c){return b+c.toUpperCase()},bH=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bI=d.fn.load,bJ={},bK={},bL,bM;try{bL=c.location.href}catch(bN){bL=c.createElement("a"),bL.href="",bL=bL.href}bM=bH.exec(bL.toLowerCase())||[],d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bI)return bI.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bB,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bC.test(this.nodeName)||bw.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(bt,"\r\n")}}):{name:b.name,value:c.replace(bt,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bL,isLocal:bx.test(bM[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bO(bJ),ajaxTransport:bO(bK),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bR(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bS(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bF,bG)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bv.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bu,"").replace(bz,bM[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bD),e.crossDomain==null&&(q=bH.exec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bM[1]||q[2]!=bM[2]||(q[3]||(q[1]==="http:"?80:443))!=(bM[3]||(bM[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bP(bJ,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!by.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(bA.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bE,"$1_="+w);e.url=x+(x===e.url?(bA.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.beforeSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bP(bK,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bQ(g,a[g],c,f);return e.join("&").replace(br,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bT=d.now(),bU=/(\=)\?(&|$)|\?\?/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bT++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bU.test(b.url)||f&&bU.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bU,l),b.url===j&&(f&&(k=k.replace(bU,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bV=d.now(),bW,bX;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bZ()||b$()}:bZ,bX=d.ajaxSettings.xhr(),d.support.ajax=!!bX,d.support.cors=bX&&"withCredentials"in bX,bX=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),!a.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bW[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bW||(bW={},bY()),h=bV++,g.onreadystatechange=bW[h]=c):c()},abort:function(){c&&c(0,1)}}}});var b_={},ca=/^(?:toggle|show|hide)$/,cb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cc,cd=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(ce("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cf(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(ce("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(ce("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cf(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(ca.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=cb.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber[c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:ce("show",1),slideUp:ce("hide",1),slideToggle:ce("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!cc&&(cc=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(cc),cc=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var cg=/^t(?:able|d|h)$/i,ch=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=ci(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!cg.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=(e==="absolute"||e==="fixed")&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=ch.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!ch.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=ci(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=ci(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
|
skin/frontend/default/bluescale/js/noconflict.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
jQuery.noConflict();
|
skin/frontend/default/bluescale/js/slider.js
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery.noConflict();
|
2 |
+
jQuery(document).ready(function() {
|
3 |
+
slider = jQuery('#slider-content');
|
4 |
+
slider.before('<div id="stripNav0" class="stripNav">')
|
5 |
+
.cycle({
|
6 |
+
fx: 'fade',
|
7 |
+
timeout: 4000,
|
8 |
+
speed: 1000,
|
9 |
+
next: '.stripNavL',
|
10 |
+
prev: '.stripNavR',
|
11 |
+
pager:'#stripNav0',
|
12 |
+
pause: 1
|
13 |
+
});
|
14 |
+
});
|
15 |
+
nextLink = jQuery('#stripNavLa');
|
16 |
+
prevLink = jQuery('#stripNavRa');
|
skin/frontend/default/bluescale/quickcontact/css/form-contact.css
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@charset "utf-8";
|
2 |
+
/* CSS Document */
|
3 |
+
|
4 |
+
#mask {
|
5 |
+
position:fixed;
|
6 |
+
left:0;
|
7 |
+
top:0;
|
8 |
+
z-index:9000;
|
9 |
+
background-color:#000;
|
10 |
+
display:none;
|
11 |
+
}
|
12 |
+
#modalwindow .window {
|
13 |
+
position:absolute;
|
14 |
+
left:0;
|
15 |
+
top:0;
|
16 |
+
display:none;
|
17 |
+
z-index:9999;
|
18 |
+
}
|
19 |
+
#modalwindow .dialog_content {
|
20 |
+
padding:20px;
|
21 |
+
}
|
22 |
+
#modalwindow #dialog {
|
23 |
+
background-color: transparent;
|
24 |
+
min-width:500px;
|
25 |
+
}
|
26 |
+
.docklink {
|
27 |
+
display: block;
|
28 |
+
height: 15px;
|
29 |
+
padding: 16px 43px 84px 0;
|
30 |
+
background:url('../images/btn_feedback.png') no-repeat;
|
31 |
+
}
|
32 |
+
.bo_docklink a:hover {
|
33 |
+
background:url('../images/btn_feedback_hover.png') no-repeat;
|
34 |
+
padding-right: 48px;
|
35 |
+
}
|
36 |
+
.form-quick-contact {
|
37 |
+
border-radius: 5px;
|
38 |
+
background:#ffffff;
|
39 |
+
width:578px;
|
40 |
+
border:1px solid #E1E1E1;
|
41 |
+
padding-left:45px;
|
42 |
+
font-size:12px;
|
43 |
+
text-align:left;
|
44 |
+
}
|
45 |
+
.form-quick-contact .response {
|
46 |
+
display:block;
|
47 |
+
padding-top:20px;
|
48 |
+
margin-bottom: 10px;
|
49 |
+
}
|
50 |
+
.form-quick-contact .title {
|
51 |
+
margin-top:20px;
|
52 |
+
padding-bottom:20px;
|
53 |
+
}
|
54 |
+
.form-quick-contact .title h1 {
|
55 |
+
font-size:18px;
|
56 |
+
border-bottom: 1px solid #e1e1e1;
|
57 |
+
padding-bottom: 10px;
|
58 |
+
text-transform: uppercase;
|
59 |
+
font-family: arial;
|
60 |
+
}
|
61 |
+
.form-quick-contact .radio {
|
62 |
+
font-weight:bold;
|
63 |
+
font-family:arial, helvetica, sans-serif;
|
64 |
+
font-size:13px;
|
65 |
+
padding-bottom:20px;
|
66 |
+
}
|
67 |
+
.form-quick-contact .radio .radio-box {
|
68 |
+
width:135px;
|
69 |
+
float:left;
|
70 |
+
}
|
71 |
+
.form-quick-contact .radio .radio-check {
|
72 |
+
}
|
73 |
+
.form-quick-contact .text {
|
74 |
+
padding:0;
|
75 |
+
float:left;
|
76 |
+
width:90px;
|
77 |
+
line-height:20px;
|
78 |
+
font-size:13px;
|
79 |
+
}
|
80 |
+
.form-quick-contact .input {
|
81 |
+
float:left;
|
82 |
+
width:300px;
|
83 |
+
line-height:20px;
|
84 |
+
}
|
85 |
+
.form-quick-contact .text .info-txt {
|
86 |
+
width:100px;
|
87 |
+
padding-bottom:12px;
|
88 |
+
color:#000000;
|
89 |
+
vertical-align:middle;
|
90 |
+
}
|
91 |
+
.form-quick-contact .input .textbox {
|
92 |
+
margin-bottom:12px;
|
93 |
+
width:250px;
|
94 |
+
border:1px solid #eeeeee;
|
95 |
+
background: #f5f5f5;
|
96 |
+
color: #000;
|
97 |
+
}
|
98 |
+
.form-quick-contact .capcha .textbox {
|
99 |
+
width:60px;
|
100 |
+
border:1px solid #E1E1E1;
|
101 |
+
}
|
102 |
+
.form-quick-contact .capcha .label {
|
103 |
+
float:left;
|
104 |
+
}
|
105 |
+
.form-quick-contact #security_image {
|
106 |
+
margin-left:5px;
|
107 |
+
margin-top:1px;
|
108 |
+
}
|
109 |
+
.form-quick-contact .capcha {
|
110 |
+
padding-top:10px;
|
111 |
+
font-weight:bold;
|
112 |
+
font-family:arial, helvetica, sans-serif;
|
113 |
+
margin-bottom:10px
|
114 |
+
}
|
115 |
+
.form-quick-contact .hm_content {
|
116 |
+
color:#000000;
|
117 |
+
font-weight:bold;
|
118 |
+
font-family:arial, helvetica, sans-serif;
|
119 |
+
margin-bottom:10px
|
120 |
+
}
|
121 |
+
.form-quick-contact .text-area textarea {
|
122 |
+
border:1px solid #E1E1E1;
|
123 |
+
width: 530px;
|
124 |
+
}
|
125 |
+
.form-quick-contact .submit {
|
126 |
+
text-align:right;
|
127 |
+
padding:10px 0 10px 10px;
|
128 |
+
}
|
129 |
+
.form-quick-contact .submit input {
|
130 |
+
vertical-align: top;
|
131 |
+
}
|
132 |
+
.form-quick-contact .submit a {
|
133 |
+
}
|
134 |
+
.form-quick-contact .submit a img {
|
135 |
+
border:none
|
136 |
+
}
|
137 |
+
.form-quick-contact input, .form-quick-contact textarea, .form-quick-contact .error-msg {
|
138 |
+
background: #F5F5F5;
|
139 |
+
border-radius: 3px;
|
140 |
+
color: #000;
|
141 |
+
}
|
142 |
+
.form-quick-contact .error-msg {
|
143 |
+
background: #F5F5F5;
|
144 |
+
}
|
145 |
+
.form-quick-contact .error-msg {
|
146 |
+
border-color: #CECECE;
|
147 |
+
}
|
148 |
+
.quickcontact-submit {
|
149 |
+
color: #ffffff;
|
150 |
+
border: 0;
|
151 |
+
margin-top: 2px;
|
152 |
+
border-radius: 3px;
|
153 |
+
text-transform: uppercase;
|
154 |
+
padding: 2px 10px;
|
155 |
+
font-size: 11px;
|
156 |
+
font-weight: bold;
|
157 |
+
}
|
158 |
+
.quickcontact-submit:hover {
|
159 |
+
cursor: pointer;
|
160 |
+
}
|
161 |
+
|
162 |
+
/*color*/
|
163 |
+
.form-quick-contact .title h1,
|
164 |
+
.form-quick-contact .radio,
|
165 |
+
.form-quick-contact .capcha
|
166 |
+
{
|
167 |
+
color:#348dbc;
|
168 |
+
}
|
169 |
+
.quickcontact-submit {
|
170 |
+
background: #00afde;
|
171 |
+
|
172 |
+
|
173 |
+
}
|
174 |
+
.quickcontact-submit:hover {
|
175 |
+
background: #348dbc;
|
176 |
+
}
|
skin/frontend/default/bluescale/quickcontact/images/bg-form.jpg
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/images/btn_feedback.png
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/images/btn_feedback_hover.png
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/images/close.jpg
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/images/close1.jpg
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/images/opc-ajax-loader.gif
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/images/submit.jpg
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/images/submit1.jpg
ADDED
Binary file
|
skin/frontend/default/bluescale/quickcontact/js/modalwindow.js
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
jQuery(document).ready(function() {
|
3 |
+
|
4 |
+
//select all the a tag with name equal to modal
|
5 |
+
jQuery('a[name=modal]').click(function(e) {
|
6 |
+
//Cancel the link behavior
|
7 |
+
e.preventDefault();
|
8 |
+
|
9 |
+
//Get the A tag
|
10 |
+
var id = jQuery(this).attr('href');
|
11 |
+
|
12 |
+
//Get the screen height and width
|
13 |
+
var maskHeight = jQuery(document).height();
|
14 |
+
var maskWidth = jQuery(window).width();
|
15 |
+
|
16 |
+
//Set heigth and width to mask to fill up the whole screen
|
17 |
+
jQuery('#mask').css({'width':100+'%','height':maskHeight});
|
18 |
+
|
19 |
+
//transition effect
|
20 |
+
jQuery('#mask').fadeIn(500);
|
21 |
+
jQuery('#mask').fadeTo("slow",0.5);
|
22 |
+
|
23 |
+
//Get the window height and width
|
24 |
+
var winH = jQuery(window).height();
|
25 |
+
var winW = jQuery(window).width();
|
26 |
+
|
27 |
+
//Set the popup window to center
|
28 |
+
jQuery(id).css('top', 20);
|
29 |
+
jQuery(id).css('left', winW/2-jQuery(id).width()/2);
|
30 |
+
jQuery(id).css('position', 'fixed');
|
31 |
+
|
32 |
+
//transition effect
|
33 |
+
jQuery(id).fadeIn(500);
|
34 |
+
|
35 |
+
});
|
36 |
+
|
37 |
+
//if close button is clicked
|
38 |
+
jQuery('.window .close').click(function (e) {
|
39 |
+
//Cancel the link behavior
|
40 |
+
e.preventDefault();
|
41 |
+
jQuery('.response').remove();
|
42 |
+
jQuery('#mask').hide();
|
43 |
+
jQuery('.window').hide();
|
44 |
+
});
|
45 |
+
|
46 |
+
//if mask is clicked
|
47 |
+
//jQuery('#mask').click(function () {
|
48 |
+
// jQuery('.response').remove();
|
49 |
+
// jQuery(this).hide();
|
50 |
+
// jQuery('.window').hide();
|
51 |
+
//});
|
52 |
+
|
53 |
+
});
|
skin/frontend/default/bluescale/quickcontact/js/quickContact.js
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
|
3 |
+
jQuery('#contactform').submit(function(){
|
4 |
+
|
5 |
+
var action = jQuery(this).attr('action');
|
6 |
+
|
7 |
+
jQuery('#submit')
|
8 |
+
.before('<img src="'+$_SKIN_URL+'quickcontact/images/opc-ajax-loader.gif" class="loader" style="padding-right:10px;"/>')
|
9 |
+
|
10 |
+
.attr('disabled','disabled');
|
11 |
+
|
12 |
+
|
13 |
+
jQuery.post(action, {
|
14 |
+
name: jQuery('#name').val(),
|
15 |
+
email: jQuery('#email').val(),
|
16 |
+
telephone: jQuery('#telephone').val(),
|
17 |
+
comment: jQuery('#comment').val()
|
18 |
+
},
|
19 |
+
function(data){
|
20 |
+
jQuery('#contactform #submit').attr('disabled','');
|
21 |
+
jQuery('.response').remove();
|
22 |
+
jQuery('#contactform').before('<span class="response">'+data+'</span>');
|
23 |
+
jQuery('.response').slideDown();
|
24 |
+
jQuery('#contactform img.loader').fadeOut(500,function(){jQuery(this).remove()});
|
25 |
+
}
|
26 |
+
);
|
27 |
+
|
28 |
+
return false;
|
29 |
+
|
30 |
+
});
|
31 |
+
});
|