public function getRetinaData($data, $_item = 0, $_itemparameter = 0) { $helpImg = MAGE::helper('ThemeOptionsHarbour/images'); if (Mage::getStoreConfig('meigee_harbour_general/retina/status')) { $appearance = MAGE::helper('ThemeOptionsHarbour')->getThemeOptionsHarbour('meigee_harbour_appearance'); $logo = $appearance['logo']; $html = ''; switch ($data) { case 'default_logo': $html = 'data-srcX2="' . Mage::getDesign()->getSkinUrl('images/@x2/logo@x2.png') . '"'; break; case 'logo': $mediaurl = MAGE::helper('ThemeOptionsHarbour')->getThemeOptionsHarbour('mediaurl'); $html = 'data-srcX2="' . $mediaurl . $logo['logo_retina'] . '"'; break; case 'second_logo': $mediaurl = MAGE::helper('ThemeOptionsHarbour')->getThemeOptionsHarbour('mediaurl'); $html = 'data-srcX2="' . $mediaurl . $logo['second_logo_retina'] . '"'; break; case 'default_small_logo': $html = 'data-srcX2="' . Mage::getDesign()->getSkinUrl('images/@x2/small_logo@x2.png') . '"'; break; case 'small_logo': $mediaurl = MAGE::helper('ThemeOptionsHarbour')->getThemeOptionsHarbour('mediaurl'); $html = 'data-srcX2="' . $mediaurl . $logo['small_logo_retina'] . '"'; break; default: # code... break; } return $html; } else { return false; } }
public function getRetinaData($data, $_item = 0, $_itemparameter = 0) { $helpImg = MAGE::helper('ThemeOptionsIndigo/images'); if (Mage::getStoreConfig('meigee_indigo_general/retina/status')) { switch ($data) { case 'logo': $html = 'data-srcX2="' . Mage::getDesign()->getSkinUrl('images/@x2/logo@x2.png') . '"'; break; case 'logo_custom': $customlogo = MAGE::helper('ThemeOptionsIndigo')->getThemeOptionsIndigo('customlogo'); $mediaurl = MAGE::helper('ThemeOptionsIndigo')->getThemeOptionsIndigo('mediaurl'); $html = 'data-srcX2="' . $mediaurl . $customlogo['logo_retina'] . '"'; break; case 'small_logo': $html = 'data-srcX2="' . Mage::getDesign()->getSkinUrl('images/@x2/small_logo@x2.png') . '"'; break; case 'small_logo_custom': $customlogo = MAGE::helper('ThemeOptionsIndigo')->getThemeOptionsIndigo('customlogo'); $mediaurl = MAGE::helper('ThemeOptionsIndigo')->getThemeOptionsIndigo('mediaurl'); $html = 'data-srcX2="' . $mediaurl . $customlogo['logo_retina'] . '"'; break; default: # code... break; } return $html; } else { return false; } }
public function getHoverImage($_product, $imgType = "small_image", $w, $h, $file = NULL) { $rollover = MAGE::helper('ThemeOptionsBlacknwhite')->getThemeOptionsBlacknwhite('meigee_blacknwhite_general'); if ($rollover['rollover']['rollover_status'] == true) { $html = ""; $imgcount = Mage::getModel('catalog/product')->load($_product->getId())->getMediaGalleryImages()->count(); if ($imgcount > 0) { $_gallery = Mage::getModel('catalog/product')->load($_product->getId())->getMediaGalleryImages(); foreach ($_gallery as $_image) { if ($_image->getLabel() == 'hover') { $html = '<span class="hover-image"><img ' . $this->getImgSources($_product, $imgType, $w, $h, $_image->getFile()) . ' /></span>'; break; } } } return $html; } }
public function getProductLabels($_product, $type) { switch ($type) { case 'new': if (Mage::getStoreConfig('meigee_blacknwhite_general/productlabels/labelnew')) { $from = $_product->getNewsFromDate(); $to = new Zend_Date($_product->getNewsToDate()); $now = new Zend_Date(Mage::getModel('core/date')->timestamp(time())); if (isset($from) && $to->isLater($now)) { return '<span class="label-new">' . $this->__('New') . '</span>'; } else { return false; } } else { return false; } break; case 'sale': if (Mage::getStoreConfig('meigee_blacknwhite_general/productlabels/labelonsale')) { $_finalPrice = MAGE::helper('tax')->getPrice($_product, $_product->getFinalPrice()); $_regularPrice = MAGE::helper('tax')->getPrice($_product, $_product->getPrice()); if ($_regularPrice != $_finalPrice) { if (Mage::getStoreConfig('meigee_blacknwhite_general/productlabels/salepercentage')) { $getpercentage = number_format($_finalPrice / $_regularPrice * 100, 2); $finalpercentage = 100 - $getpercentage; return '<div class="label-sale percentage">' . number_format($finalpercentage, 0) . '% <span>' . $this->__('off') . '</span></div>'; } else { return '<div class="label-sale">' . $this->__('Sale') . '</div>'; } } else { return false; } } else { return false; } break; } }
public function postAction() { if ($this->getRequest()->isPost()) { $request = Mage::getModel('catalogrequest/catalogrequest'); $data = $this->getRequest()->getPost(); $data['time_added'] = now(); $data['country'] = $data['country_id']; $data['ip'] = $_SERVER['REMOTE_ADDR']; $data['fname'] = ucwords($data['fname']); $data['lname'] = ucwords($data['lname']); $data['address1'] = ucwords(str_replace(",", " ", $data['address1'])); $data['address2'] = ucwords(str_replace(",", " ", $data['address2'])); $data['city'] = ucwords($data['city']); if (empty($data['region'])) { $data['state'] = Mage::getModel('directory/region')->load($data['state'])->getCode(); } else { $data['state'] = $data['region']; } // Validate if (!($errors = $request->validate($data))) { MAGE::getSingleton('core/session')->addError($errors); } /** * Mail Chimp Integration * If updates requested add to Mailchimp * Change the MC_LIST_ID at the top to match your MC list id found in your list settings on MailChimp */ if (isset($data['updates']) && isset($data['email'])) { $apikey = Mage::getStoreConfig('mailchimp/general/apikey'); // Get API key from MC Module $merge_vars = array('INTERESTS' => Mage::getStoreConfig('mailchimp/subscribe/interests')); // Get Interests from MC Module try { // You may need to change this URL, consult the MC API $client = new Zend_XmlRpc_Client('http://us1.api.mailchimp.com/1.2/'); $response = $client->call('listSubscribe', array($apikey, self::MC_LIST_ID, $data['email'], $merge_vars, 'HTML', FALSE)); } catch (Exception $e) { Mage::getSingleton('adminhtml/session')->addError('Mailchimp failed to connect'); } } // Add to database try { $request->setData($data)->save(); MAGE::getSingleton('core/session')->addSuccess($this->__('<h2>Thank you</h3> You can expect to receive your catalog in 10-14 days.<br> You probably have some friends that would enjoy receiving the Aerostich catalog, go ahead and send them one too. ')); $this->_redirect('*/*/'); return; die; } catch (Exception $e) { MAGE::getSingleton('core/session')->addError('Sorry, we\'ve had some trouble saving your request, please call and request a catalog (800-222-2222) or email (service@example.com) to request a catalog'); $this->_redirect('*/*/'); return; } } return; }
public function isProductSale($label_sale = null, $label_sale_percentage = null) { if (is_null($label_sale)) { $label_sale = self::$theme_config_helper->getThemeConfigResultByAliase('product_label_sale'); } $this->productLabelSalePercentage = false; if ($label_sale) { $helper_tax = MAGE::helper('tax'); $_finalPrice = $helper_tax->getPrice($this, $this->getFinalPrice()); $_regularPrice = $helper_tax->getPrice($this, $this->getPrice()); if ($_regularPrice != $_finalPrice) { if (is_null($label_sale_percentage)) { $label_sale_percentage = self::$theme_config_helper->getThemeConfigResultByAliase('product_label_sale_percentage'); } if ($label_sale_percentage) { $getpercentage = number_format($_finalPrice / $_regularPrice * 100, 2); $this->productLabelSalePercentage = number_format(100 - $getpercentage, 0); } return true; } } return false; }
public function saveCss() { $this->setParams(); $css = "/**\n*\n* This file is generated automaticaly. Please do no edit it directly cause all changes will be lost.\n*\n*/\n"; if ($this->appearance['font'] == 1) { $css .= '/*====== Font Replacement =======*/ '; if ($this->appearance['default_sizes'] == 0) { $css .= ' .nav-wide#nav-wide .right-content h2, .nav-wide#nav-wide .top-content, .nav-wide#nav-wide .bottom-content, .nav-wide#nav-wide ul.level0 a span.subtitle, .product-collateral h2, header#header .top-cart .block-title a, .text-block button span, .std h1, .price, .product-name a, .page-title h2, .page-title h1, #footer .custom_footer h3, aside.sidebar .block .block-title strong span, aside.sidebar .block .filter-label span, aside.sidebar .actions a, button.button span span, .dashboard .welcome-msg .hello, .dashboard .box-head h2, .dashboard .box-title h3, #login-holder form .actions .link-box a, .add-to-cart-success, .add-to-cart-success a, .account-login .indent h2, .opc .step-title, .opc .grid_4 h3, aside.sidebar .block.block-progress .block-title strong span, #onepagecheckout_forgotbox .page-title span, #onepagecheckout_loginbox .page-title span, #onepagecheckout_forgotbox button.button span span, #onepagecheckout_loginbox button.button span span, #onepagecheckout_orderform .col3-set.onepagecheckout_datafields .op_block_title, #checkout-coupon-discount-load .discount-form .buttons-set button.button span span, #checkout-review-submit #review-buttons-container button.btn-checkout, .cart .cart-collaterals h2, .cart .btn-proceed-checkout, .product-view .product-name h2, .block-related .block-title strong span, .catalog-product-view .box-reviews ul li h6, header#header .top-cart .block-content .actions a, header#header .top-cart .block-content .subtotal span, .catalog-product-view .box-reviews h2, aside.sidebar .block.block-wishlist li.item .product-details .product-name a, aside.sidebar .block.block-wishlist .link-cart, .header-slider-container .iosSlider .slider .item .slide-container h2, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h3, .header-slider-container .iosSlider .slider .item h5, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h3{ font-family: ' . $this->appearance['gfont'] . ', sans-serif; font-size:' . $this->appearance['fontsize'] . 'px !important; line-height:' . $this->appearance['lineheight'] . 'px !important; font-weight:' . $this->appearance['fontweight'] . ' !important; -webkit-text-stroke-width: 0.02em; }'; } else { $css .= ' .nav-wide#nav-wide .right-content h2, .nav-wide#nav-wide .top-content, .nav-wide#nav-wide .bottom-content, .nav-wide#nav-wide ul.level0 a span.subtitle, .product-collateral h2, header#header .top-cart .block-title a, .text-block button span, .std h1, .price, .product-name a, .page-title h2, .page-title h1, #footer .custom_footer h3, aside.sidebar .block .block-title strong span, aside.sidebar .block .filter-label span, aside.sidebar .actions a, button.button span span, .dashboard .welcome-msg .hello, .dashboard .box-head h2, .dashboard .box-title h3, #login-holder form .actions .link-box a, .add-to-cart-success, .add-to-cart-success a, .account-login .indent h2, .opc .step-title, .opc .grid_4 h3, aside.sidebar .block.block-progress .block-title strong span, #onepagecheckout_forgotbox .page-title span, #onepagecheckout_loginbox .page-title span, #onepagecheckout_forgotbox button.button span span, #onepagecheckout_loginbox button.button span span, #onepagecheckout_orderform .col3-set.onepagecheckout_datafields .op_block_title, #checkout-coupon-discount-load .discount-form .buttons-set button.button span span, #checkout-review-submit #review-buttons-container button.btn-checkout, .cart .cart-collaterals h2, .cart .btn-proceed-checkout, .product-view .product-name h2, .block-related .block-title strong span, .catalog-product-view .box-reviews ul li h6, header#header .top-cart .block-content .actions a, header#header .top-cart .block-content .subtotal span, .catalog-product-view .box-reviews h2, aside.sidebar .block.block-wishlist li.item .product-details .product-name a, aside.sidebar .block.block-wishlist .link-cart, .header-slider-container .iosSlider .slider .item .slide-container h2, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h3, .header-slider-container .iosSlider .slider .item h5, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h3{font-family: ' . $this->appearance['gfont'] . ', sans-serif; -webkit-text-stroke-width: 0.02em;}'; } } if ($this->appearance['custompatern']) { $css .= ' /*====== Custom Patern =======*/ body { background: url("' . MAGE::helper('ThemeOptionsIndigo')->getThemeOptionsIndigo('mediaurl') . $this->appearance['custompatern'] . '") center top repeat !important;}'; } $css .= ' /*====== Site Bg =======*/ body {background-color:#' . $this->baseColors['sitebg'] . ';} /*====== Skin Color #1 =======*/ .product-collateral .box-collateral ul a:hover, .product-collateral .box-collateral ol a:hover, .product-view .short-description ul a:hover, .product-view .short-description ol a:hover, .price-as-configured .price, .minimal-price .price, .price-box .regular-price .price, .product-name a:hover, .color-block .grid_3:hover h3, nav.breadcrumbs li a:hover, #categories-accordion li.parent .btn-cat.closed i, #categories-accordion li.parent.closed .btn-cat i, .minimal-price-link .price, .special-price .price, a, .availability-only span, .add-to-links li a i, p.email-friend a i , .add-to-links li a:hover, p.email-friend a:hover, .dashboard .welcome-msg .hello strong, .dashboard a:hover, .block-account li:hover i, .block-account li.current i, #login-holder .close-button i:hover, #login-holder form a.f-left:hover, .add-to-cart-success > span, .account-login .content .buttons-set a:hover, #checkout-step-login .buttons-set .f-left:hover, .close_la i:hover, .onepagecheckout-index-index #onepagecheckout_forgotbox.op_login_area #forgot-password-form .onepagecheckout_loginlink:hover, .onepagecheckout-index-index #onepagecheckout_loginbox.op_login_area #login-form .onepagecheckout_forgotlink:hover, .data-table .c_actions a:hover, .cart-table .price, .cart .totals table .price, .cart .totals li > a:hover, .ratings .rating-links a:hover, .availability.out-of-stock span, .tier-prices .price, .price-from .price, .price-to .price, .price-notice .price, .block-related .block-content .block-subtitle a, .catalog-product-view .box-reviews ul li small span, .catalog-product-view .box-reviews .form-add h3 span, header#header .top-cart .product-name a:hover, header#header .top-cart .btn-remove i:hover, header#header .top-cart .btn-edit i:hover, header#header .top-cart .block-content .mini-products-list .product-details .price, aside.sidebar .btn-remove i:hover, .my-wishlist .data-table .table-buttons a:hover i, .fancybox-close i:hover, #header > .container_12 .form-currency a:hover, #header > .container_12 .form-language a:hover, header#header .top-cart .block-content .subtotal .price, .block-poll .block-subtitle, aside.sidebar .block.block-wishlist li.item .product-details .product-name a:hover {color: #' . $this->baseColors['maincolor'] . ';} .products-list li.item .product-shop button > span, .header-slider-container button.button > span, #checkout-step-login .buttons-set button > span, .op_login_area button.button > span, #checkout-coupon-discount-load .discount-form .buttons-set button.button > span, .cart-table .btn-continue > span, .discount button > span, .cart .shipping .buttons-set > span, .cart .btn-proceed-checkout > span, #footer > .container_12 button > span, .block-compare button > span, .block-reorder button > span, .products-grid li.item .btn-quick-view.small > span, aside.sidebar .block.block-subscribe button > span, .my-wishlist td button > span, .my-wishlist button.btn-share > span, #login-holder form .actions button > span, .cart-empty button.button > span, header#header .form-search button:hover > span, header#header .top-cart .block-content .button > span, .btn-buy > span, .add-to-cart-success a > span, #checkout-review-submit #review-buttons-container button.btn-checkout, header#header .home-button, #nav > li:hover > a, #nav > li.over > a, #nav > li.active > a, #nav-wide > li:hover > a, #nav-wide > li.over > a, #nav-wide > li.active > a, .header-slider-container .iosSlider:hover .prev:hover, .header-slider-container .iosSlider:hover .next:hover, .color-block .grid_3:hover span, .slider-container .prev i, .slider-container .next i, .more-views .prev i, .more-views .next i, .block-related .prev i, .block-related .next i, aside.sidebar .block.block-wishlist .next i, aside.sidebar .block.block-wishlist .prev i, #footer ul.social-links li a:hover, #slider-range.ui-slider .ui-slider-range.ui-widget-header, .label-sale, .opc .active .step-title .number, #cart-accordion h3.accordion-title.active, #cart-accordion h3.accordion-title:hover, .meigee-tabs li.active a, .meigee-tabs li a:hover, .product-collateral#collateral-accordion h2:hover, .product-collateral#collateral-accordion h2.active, .catalog-product-view .box-reviews .full-review, #toTopHover, header#header .links-container > .links > li:hover, .toolbar-bottom .pager .pages ol li.current, .toolbar-bottom .pager .pages ol li:hover a, .menu-button i, aside.sidebar .block .block-title.active i, header#header .top-cart .block-title .title-cart > span, aside.sidebar .block .block-title i:hover, .ajax-index-options .product-view .product-shop .add-to-cart button > span {background-color: #' . $this->baseColors['maincolor'] . ';} #onepagecheckout_forgotbox button.button > span, #onepagecheckout_loginbox button.button > span{background-color: #' . $this->baseColors['maincolor'] . '!important;} #footer ul.social-links li a:hover, aside.sidebar .block .filter-label span:after, header#header .links-container > .links > li:hover a span, .slider-container .next:after, aside.sidebar .block.block-wishlist .next:after, .block-related .next:after {border-color: #' . $this->baseColors['maincolor'] . ';} span.label-sale:after {border-top-color: #' . $this->baseColors['maincolor'] . '; border-left-color: #' . $this->baseColors['maincolor'] . ';} /*====== Skin Color #2 =======*/ a:hover, .product-name a, .color-block .grid_3 h3, .minimal-price-link .label, .dashboard .welcome-msg .hello, .dashboard .box-title h3, .account-login .indent h2, .block-related .block-content .block-subtitle a:hover, header#header .top-cart .product-name a, aside.sidebar .block.block-wishlist li.item .product-details .product-name a, .header-slider-container .iosSlider .slider .item .slide-container.right-caption h2, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h3 {color:#' . $this->baseColors['secondcolor'] . ';} .product-view .product-prev, .product-view .product-next, .nav-wide#nav-wide .right-content .banner-box i, header#header, footer#footer, .color-block .grid_3 span, .view-mode strong, .view-mode a:hover, .pager a.asc i, .pager a.desc i, aside.sidebar .block.block-layered-nav .ui-slider .ui-slider-handle, .label-new, div.quantity-decrease i, div.quantity-increase i, #login-holder form .actions .link-box a, .catalog-product-view .box-reviews .data-table thead, .button > span, aside.sidebar .actions a, .product-buttons .btn-quick-view > span, header#header .top-cart .block-content .actions a, .products-grid .product-img-box .btn-quick-view:hover span span, .products-list .product-img-box .btn-quick-view:hover span span, aside.sidebar .block.block-wishlist .link-cart {background-color:#' . $this->baseColors['secondcolor'] . ';} span.label-new:after { border-top-color: #' . $this->baseColors['secondcolor'] . '; border-left-color: #' . $this->baseColors['secondcolor'] . '; } '; $this->saveData($css); Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('ThemeOptionsIndigo')->__("CSS file with custom styles has been created")); Mage::getSingleton('adminhtml/session')->addNotice(Mage::helper('ThemeOptionsIndigo')->__('<div class="meigee-please"><a target="_blank" href="http://themeforest.net/user/MeigeeTeam#contact"><img src="' . Mage::getBaseUrl('skin') . '/adminhtml/default/indigo/images/support.png" /></a> <a target="_blank" href="http://themeforest.net/downloads"><img src="' . Mage::getBaseUrl('skin') . '/adminhtml/default/indigo/images/rating.png" /></a><h2>Like us</h2> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "facebook-jssdk"));</script> <div class="fb-like" data-href="http://facebook.com/meigeeteam" data-layout="button_count" data-action="like" data-show-faces="false" data-width="200" data-share="true"></div> <a href="https://twitter.com/meigeeteam" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @meigeeteam</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </div>')); return true; }
public function saveCss() { $this->setParams(); $css = "/**\n*\n* This file is generated automaticaly. Please do no edit it directly cause all changes will be lost.\n*\n*/\n"; if ($this->appearance['font_main'] == 1) { $css .= '/*====== Font Replacement - Main Text =======*/ '; if ($this->appearance['main_default_sizes'] == 0) { $css .= ' body{ font-family: ' . $this->appearance['gfontmain'] . ', sans-serif; font-size:' . $this->appearance['main_fontsize'] . 'px !important; line-height:' . $this->appearance['main_lineheight'] . 'px !important; font-weight:' . $this->appearance['main_fontweight'] . ' !important; } '; } else { $css .= ' body{ font-family: ' . $this->appearance['gfontmain'] . ', sans-serif; } '; } } if ($this->appearance['font'] == 1) { $css .= '/*====== Font Replacement - Titles =======*/ '; if ($this->appearance['default_sizes'] == 0) { $css .= ' .widget-latest li h3 a, .widget .widget-title h1, .widget .widget-title h2, .widget-title h2, .page-title h1, .page-title h2, .page-title h3, .page-title h4, .page-title h5, .page-title h6, .nav-container a.level-top > span, header#header .links li a.top-link-login, header#header.header-2 .header-text-banners .item .text h3, header#header.header-5 .header-phone, .text-banner h2, .text-banner h3, .text-banner h4, .product-tabs li, .sorter label, aside.sidebar .block-title strong span, aside.sidebar .block.block-layered-nav dl dt.filter-label, .block-layered-nav dl#narrow-by-list2 dt h2, aside.sidebar .block .block-subtitle, .product-name, .product-name a, .price, button.button span span, aside.sidebar .actions a, .nav-wide ul.level0 li.level1 span.subtitle, .nav-wide .top-content a, .nav-wide .bottom-content span strong, header.header .top-cart .block-title .title-cart, header.header .top-cart .block-content .subtotal .label, header.header .top-cart .block-content .subtotal .price, header.header .top-cart .block-content .actions a, .data-table .product-name a, .cart header h2, #cart-accordion h3.accordion-title span, .fieldset .legend, .product-options dt label, .dashboard .welcome-msg .hello, .dashboard .box-title h2, .dashboard .box-title h3, .dashboard .box-head h3, .dashboard .box-head h2, .opc h3, .opc .step-title h2, .cart .shipping .form-list label, .widget-latest li .info-box, header#header .language-currency-dropdown label, .header-wrapper .header-menu .right-menu h3, .header-wrapper .header-menu .right-menu li a, .catalog-product-view .box-reviews h2, .product-view .product-shop .product-name h1, .product-view .product-shop .add-to-links-box a , .more-views h2, .meigee-tabs a, .block-related .block-title span, .catalog-product-view .rating-title h2, .text-blocks h3, .text-blocks a, .second-text-block .text, .second-text-block .text h3, .third-text-block, .third-text-block h3, .parallax-banners-wrapper .text-banner .banner-content h2, .parallax-banners-wrapper .text-banner .banner-content h3, .parallax-banners-wrapper .text-banner .banner-content h4, .nav-container .nav-wide .bottom-content, header.header .top-cart .cart-price-qt, .label-new, .label-sale, .menu-button, #popup-block .block-subscribe strong span, .md-modal-header h4, .availability.listing, .product-options dt label, .category-button a, aside.sidebar .block.block-wishlist .link-cart, .newsletter-line .block-subscribe h3, a.aw-blog-read-more, .cms-no-route .page-not-found h2, .cms-no-route .page-not-found h3 { font-family: ' . $this->appearance['gfont'] . ', sans-serif; font-size:' . $this->appearance['fontsize'] . 'px !important; line-height:' . $this->appearance['lineheight'] . 'px !important; font-weight:' . $this->appearance['fontweight'] . ' !important; }'; } else { $css .= ' .widget-latest li h3 a, .widget .widget-title h1, .widget .widget-title h2, .widget-title h2, .page-title h1, .page-title h2, .page-title h3, .page-title h4, .page-title h5, .page-title h6, .nav-container a.level-top > span, header#header .links li a.top-link-login, header#header.header-2 .header-text-banners .item .text h3, header#header.header-5 .header-phone, .text-banner h2, .text-banner h3, .text-banner h4, .product-tabs li, .sorter label, aside.sidebar .block-title strong span, aside.sidebar .block.block-layered-nav dl dt.filter-label, .block-layered-nav dl#narrow-by-list2 dt h2, aside.sidebar .block .block-subtitle, .product-name, .product-name a, .price, button.button span span, aside.sidebar .actions a, .nav-wide ul.level0 li.level1 span.subtitle, .nav-wide .top-content a, .nav-wide .bottom-content span strong, header.header .top-cart .block-title .title-cart, header.header .top-cart .block-content .subtotal .label, header.header .top-cart .block-content .subtotal .price, header.header .top-cart .block-content .actions a, .data-table .product-name a, .cart header h2, #cart-accordion h3.accordion-title span, .fieldset .legend, .product-options dt label, .dashboard .welcome-msg .hello, .dashboard .box-title h2, .dashboard .box-title h3, .dashboard .box-head h3, .dashboard .box-head h2, .opc h3, .opc .step-title h2, .cart .shipping .form-list label, .widget-latest li .info-box, header#header .language-currency-dropdown label, .header-wrapper .header-menu .right-menu h3, .header-wrapper .header-menu .right-menu li a, .catalog-product-view .box-reviews h2, .product-view .product-shop .product-name h1, .product-view .product-shop .add-to-links-box a , .more-views h2, .meigee-tabs a, .block-related .block-title span, .catalog-product-view .rating-title h2, .text-blocks h3, .text-blocks a, .second-text-block .text, .second-text-block .text h3, .third-text-block, .third-text-block h3, .parallax-banners-wrapper .text-banner .banner-content h2, .parallax-banners-wrapper .text-banner .banner-content h3, .parallax-banners-wrapper .text-banner .banner-content h4, .nav-container .nav-wide .bottom-content, header.header .top-cart .cart-price-qt, .label-new, .label-sale, .menu-button, #popup-block .block-subscribe strong span, .md-modal-header h4, .availability.listing, .product-options dt label, .category-button a, aside.sidebar .block.block-wishlist .link-cart, .newsletter-line .block-subscribe h3, a.aw-blog-read-more, .cms-no-route .page-not-found h2, .cms-no-route .page-not-found h3 {font-family: ' . $this->appearance['gfont'] . ', sans-serif;}'; } } if ($this->appearance['custompatern']) { $css .= ' /*====== Custom Patern =======*/ body { background: url("' . MAGE::helper('ThemeOptionsHarbour')->getThemeOptionsHarbour('mediaurl') . $this->appearance['custompatern'] . '") center top repeat !important;}'; } $css .= ' /*====== Site Bg =======*/ body, body.boxed-layout, #footer .footer-top, #footer .footer-bottom, body.boxed-layout #footer .footer-top .container_12, body.boxed-layout #footer .footer-bottom .container_12 {background-color:#' . $this->baseColors['sitebg'] . ';} /*====== Skin Color #1 =======*/ button.button:hover > span, aside.sidebar .actions a:hover, .related-products-button a:hover, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn > span, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn-2:hover > span, .cart .btn-proceed-checkout:hover > span, #footer .block-tags li a:hover {border-color: #' . $this->baseColors['maincolor'] . ';} .category-products .toolbar-bottom:before, .sorter .view-mode a:hover, .sorter .view-mode strong, button.button:hover > span, aside.sidebar .actions a:hover, .pages li.current, .catalog-product-view .box-reviews .data-table thead, .product-view .product-prev:hover, .product-view .product-next:hover, .more-views .prev i:hover, .more-views .next i:hover, .meigee-tabs .active, .related-wrapper .block-related .prev i:hover, .related-wrapper .block-related .next i:hover, .related-products-button a:hover, .text-blocks ul li.item i, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn span span, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn-2:hover span span, .catalog-product-view .box-reviews .full-review, .menu-button.mobile, .related-wrapper-bottom .block-related .next i:hover, .related-wrapper-bottom .block-related .prev i:hover, .slider-container .prev i:hover, .slider-container .next i:hover, div.quantity-decrease i:hover, div.quantity-increase i:hover, .cart .btn-proceed-checkout:hover span span, .products-list li.item .fancybox, .products-grid li.item .fancybox, #footer .block-tags li a:hover {background-color: #' . $this->baseColors['maincolor'] . ';} a, header#header.header-5 .text-banner h2 strong, .price, .catalog-product-view .box-reviews .form-add h3 span, .third-text-block h3 span, .nav-wide .bottom-content .sale, .products-grid li.item .product-buttons li i:hover, .products-list li.item .add-to-links li i:hover, .block-compare li.item .btn-remove i:hover, .dashboard .box-reviews .product-name a:hover, aside.sidebar .block.block-wishlist li.item .product-details .btn-remove i:hover, aside.sidebar .block-subscribe .actions .button:hover span i, #footer .footer-products-list .list-small-buttons .add-to-links li i:hover, #footer .footer-products-list .product-shop .price-box .price, #footer .footer-products-list .product-shop .price-box .special-price .price, .sorter a.asc:hover, .sorter a.desc:hover {color: #' . $this->baseColors['maincolor'] . ';} /*====== Skin Color #2 =======*/ .cart.cart-2 aside section.totals header, .cart .btn-proceed-checkout span span, .products-list li.item .fancybox:hover, .products-grid li.item .fancybox:hover {background-color: #' . $this->baseColors['secondcolor'] . ';} .cart .btn-proceed-checkout > span {border-color: #' . $this->baseColors['secondcolor'] . ';} a:hover, .dashboard .box-title a:hover, .dashboard .box-head a:hover, .dashboard a:hover, #categories-accordion .btn-cat .fa-minus-square-o, .block-vertical-nav li.active > a, .block-vertical-nav a:hover, aside.sidebar .block.block-layered-nav ol li a:hover, aside.sidebar .block-tags li a:hover, nav.breadcrumbs li span:hover, .data-table .c_actions a i:hover, .product-view .add-to-links-box a:hover span, .crosssell .product-details .add-to-links i:hover, .crosssell .product-details button.button:hover span, .cart .totals .checkout-types li a:hover, aside.sidebar .product-name a:hover, aside.sidebar .block.block-wishlist li.item .product-details .product-name a:hover, .block-account li a:hover, .block-account li strong, .my-wishlist .data-table .table-buttons a i:hover, #footer .footer-products-list .product-shop .product-name a:hover {color: #' . $this->baseColors['secondcolor'] . ';} /*====== Category Labels =======*/ .nav-wide li.level-top .category-label.label_one { background-color: #' . $this->catlabelsColors['label_one'] . '; color: #' . $this->catlabelsColors['label_one_color'] . '; } .nav-wide li.level-top.over .category-label.label_one { background-color: #' . $this->catlabelsColors['label_one_h'] . '; color: #' . $this->catlabelsColors['label_one_color_h'] . '; } .nav-wide li.level-top .category-label.label_two { background-color: #' . $this->catlabelsColors['label_two'] . '; color: #' . $this->catlabelsColors['label_two_color'] . '; } .nav-wide li.level-top.over .category-label.label_two { background-color: #' . $this->catlabelsColors['label_two_h'] . '; color: #' . $this->catlabelsColors['label_two_color_h'] . '; } .nav-wide li.level-top .category-label.label_three { background-color: #' . $this->catlabelsColors['label_three'] . '; color: #' . $this->catlabelsColors['label_three_color'] . '; } .nav-wide li.level-top.over .category-label.label_three { background-color: #' . $this->catlabelsColors['label_three_h'] . '; color: #' . $this->catlabelsColors['label_three_color_h'] . '; } '; if ($this->baseColors['base_override'] == 1) { $css .= ' /*====== Header =======*/ header.header, body.boxed-layout header.header .container_12 { background-color: #' . $this->headerColors['header_bg'] . '; color: #' . $this->headerColors['header_color'] . '; } header.header .welcome-msg {color: #' . $this->headerColors['header_color'] . ';} header.header a {color: #' . $this->headerColors['header_link_color'] . ';} header.header a:hover {color: #' . $this->headerColors['header_link_color_h'] . ';} header#header .header-top, body.boxed-layout header#header .header-top .container_12, header#header .header-top .language-currency-block {background-color: #' . $this->headerColors['header_top_bg'] . ';} header.header .header-right .bottom-block, header#header.header-2 .menu-line .grid_12, header#header.header-3 .menu-line .grid_12, header#header.header-4 .menu-line .grid_12, header#header.header-5 .menu-line .grid_12 { border-color: #' . $this->headerColors['header_border'] . '; border-width: ' . $this->headerColors['header_border_width'] . 'px; } /* Header language and currency switchers */ header#header .language-currency-block { background-color: #' . $this->headerColors['header_lang_currency_bg'] . '; color: #' . $this->headerColors['header_lang_currency_text'] . '; } header#header .language-currency-block:hover, header#header .language-currency-block.open { background-color: #' . $this->headerColors['header_lang_currency_bg_h'] . '; color: #' . $this->headerColors['header_lang_currency_text_h'] . '; } header#header .language-currency-dropdown {background-color: #' . $this->headerColors['header_lang_currency_dropdown_bg'] . ';} header#header .language-currency-dropdown label {color: #' . $this->headerColors['header_lang_currency_label'] . ';} header#header .language-currency-dropdown .sbSelector { color: #' . $this->headerColors['header_lang_currency_swither_color'] . '; background-color: #' . $this->headerColors['header_lang_currency_swither_bg'] . '; border-color: #' . $this->headerColors['header_lang_currency_swither_border'] . '; } header#header .language-currency-dropdown .sbOptions {background-color: #' . $this->headerColors['header_lang_currency_swither_dropdown'] . ';} header#header .language-currency-dropdown .sbOptions li a, header#header .language-currency-dropdown > div > a {color: #' . $this->headerColors['header_lang_currency_swither_dropdown_link'] . ';} header#header .language-currency-dropdown .sbOptions li:hover {background-color: #' . $this->headerColors['header_lang_currency_swither_dropdown_link_bg_h'] . ';} header#header .language-currency-dropdown .sbOptions li:hover a, header#header .language-currency-dropdown > div > a:hover {color: #' . $this->headerColors['header_lang_currency_swither_dropdown_link_h'] . ';} /**** Header Search ****/ body header.header .search_mini_form input { background-color: #' . $this->headerColors['header_search_bg'] . '; border-color: #' . $this->headerColors['header_search_border'] . '; color: #' . $this->headerColors['header_search_color'] . '; border-width: ' . $this->headerColors['header_search_border_width'] . 'px; } body header.header .search_mini_form button > span, body header#header .search_mini_form.floating button > span { border-color: #' . $this->headerColors['header_search_button_border'] . '; background-color: #' . $this->headerColors['header_search_button_bg'] . '; color: #' . $this->headerColors['header_search_button_color'] . '; border-width: ' . $this->headerColors['header_search_button_border_width'] . 'px; } body header.header .search_mini_form button:hover > span, body header#header .search_mini_form.floating button:hover > span { background-color: #' . $this->headerColors['header_search_button_bg_h'] . '; border-color: #' . $this->headerColors['header_search_button_border_h'] . '; color: #' . $this->headerColors['header_search_button_color_h'] . '; } body header.header .search_mini_form .focus input { background-color: #' . $this->headerColors['header_search_active_bg'] . '; border-color: #' . $this->headerColors['header_search_active_border'] . '; color: #' . $this->headerColors['header_search_active_color'] . '; } body header.header .search_mini_form .focus button > span, body header#header .search_mini_form.floating .focus button > span { border-color: #' . $this->headerColors['header_search_active_button_border'] . '; background-color: #' . $this->headerColors['header_search_active_button_bg'] . '; color: #' . $this->headerColors['header_search_active_button_color'] . '; } /**** Header Toolbar ****/ header.header .top-cart .block-title .title-cart, header.header .search-button, header.header .right-menu-button { background-color: #' . $this->headerColors['header_toolbar_buttons_bg'] . '; color: #' . $this->headerColors['header_toolbar_buttons_color'] . '; } header.header .top-cart .block-title .title-cart:hover, header.header .top-cart .block-title.active .title-cart, header.header .search-button:hover, header.header .search-button.open, header.header .right-menu-button:hover, header.header .right-menu-button.open { background-color: #' . $this->headerColors['header_toolbar_buttons_bg_h'] . '; color: #' . $this->headerColors['header_toolbar_buttons_color_h'] . '; } header.header .top-cart .block-title .cart-qty { color: #' . $this->headerColors['header_toolbar_cart_counter'] . '; border-color: #' . $this->headerColors['header_toolbar_cart_counter_border'] . '; } header.header .top-cart .block-title .price {color: #' . $this->headerColors['header_toolbar_cart_price_color'] . ';} header.header .top-cart .block-title .title-cart:hover .cart-qty, header.header .top-cart .block-title.active .title-cart .cart-qty { color: #' . $this->headerColors['header_toolbar_cart_counter_h'] . '; border-color: #' . $this->headerColors['header_toolbar_cart_counter_border_h'] . '; } header.header .top-cart .block-title .title-cart:hover .price, header.header .top-cart .block-title.active .title-cart .price {color: #' . $this->headerColors['header_toolbar_cart_price_color_h'] . ';} /**** Header Cart ****/ header.header .top-cart .block-content { background-color: #' . $this->headerColors['cart_dropdown_bg'] . '; box-shadow: 0 0 5px ' . MAGE::helper('ThemeOptionsHarbour')->RgbaColors($this->headerColors["cart_dropdown_shadow"], 1, 10) . '; } header.header .top-cart .product-name a {color: #' . $this->headerColors['cart_dropdown_product_title'] . ';} header.header .top-cart .product-name a:hover {color: #' . $this->headerColors['cart_dropdown_product_title_h'] . ';} header.header .top-cart .block-content .mini-products-list .product-details .price {color: #' . $this->headerColors['cart_dropdown_product_price'] . ';} header.header .top-cart .cart-price-qt {color: #' . $this->headerColors['cart_dropdown_count_color'] . ';} header.header .top-cart .cart-price-qt strong {color: #' . $this->headerColors['cart_dropdown_count_strong_color'] . ';} header.header .top-cart .block-content .item-options dt {color: #' . $this->headerColors['cart_dropdown_label_color'] . ';} header.header .top-cart .block-content .item-options dd {color: #' . $this->headerColors['cart_dropdown_options_color'] . ';} header.header .top-cart .btn-edit i, header.header .top-cart .btn-remove i {color: #' . $this->headerColors['cart_dropdown_icons_color'] . ';} header.header .top-cart .btn-edit i:hover, header.header .top-cart .btn-remove i:hover {color: #' . $this->headerColors['cart_dropdown_icons_color_h'] . ';} header.header .top-cart .block-content .subtotal .label {color: #' . $this->headerColors['cart_dropdown_total_color'] . ';} header.header .top-cart .block-content .subtotal .price {color: #' . $this->headerColors['cart_dropdown_total_price_color'] . ';} header.header .top-cart .block-content .actions { border-color: #' . $this->headerColors['cart_dropdown_total_border'] . '; border-width: ' . $this->headerColors['cart_dropdown_total_border_width'] . 'px; } /**** Account Block ****/ header#header .links li a.top-link-login, header#header .customer-name { border-color: #' . $this->headerColors['account_border'] . '; border-width: ' . $this->headerColors['account_border_width'] . 'px; color: #' . $this->headerColors['account_color'] . '; background-color: #' . $this->headerColors['account_bg'] . '; } header#header .links li a.top-link-login:hover, header#header .customer-name.open, header#header .customer-name:hover { border-color: #' . $this->headerColors['account_border_h'] . '; color: #' . $this->headerColors['account_color_h'] . '; background-color: #' . $this->headerColors['account_bg_h'] . '; } header#header .customer-name + .links {background-color: #' . $this->headerColors['account_submenu_bg'] . ';} header#header .customer-name + .links li { border-color: #' . $this->headerColors['account_submenu_link_divider'] . '; border-width: ' . $this->headerColors['account_submenu_link_divider_width'] . 'px; } header#header .customer-name + .links li a { color: #' . $this->headerColors['account_submenu_link_color'] . '; background-color: #' . $this->headerColors['account_submenu_link_bg'] . '; } header#header .customer-name + .links li a:hover { color: #' . $this->headerColors['account_submenu_link_color_h'] . '; background-color: #' . $this->headerColors['account_submenu_link_bg_h'] . '; } /**** Right Menu ****/ .header-wrapper .header-menu { background-color: #' . $this->headerColors['menu_right_bg'] . '; color: #' . $this->headerColors['menu_right_color'] . '; } .header-wrapper .header-menu .right-menu h3 { color: #' . $this->headerColors['menu_right_title_color'] . '; border-color: #' . $this->headerColors['menu_right_title_border'] . '; border-width: ' . $this->headerColors['menu_right_title_border_w'] . 'px; } .header-wrapper .header-menu .right-menu li a { background-color: #' . $this->headerColors['menu_right_link_bg'] . '; color: #' . $this->headerColors['menu_right_link_color'] . '; } .header-wrapper .header-menu .right-menu li a:hover { background-color: #' . $this->headerColors['menu_right_link_bg_h'] . '; color: #' . $this->headerColors['menu_right_link_color_h'] . '; } .header-wrapper .header-menu .btn-close {color: #' . $this->headerColors['menu_right_icon_color'] . ';} .header-wrapper .header-menu .btn-close:hover {color: #' . $this->headerColors['menu_right_icon_color_h'] . ';} /*====== Sticky Header ======*/ body .header-wrapper header#sticky-header, header#sticky-header .menu-line, body.boxed-layout .header-wrapper header#sticky-header .menu-line .container_12, header#sticky-header.floating .search_mini_form {background-color: #' . $this->stickyHeaderColors['sticky_header_bg'] . ';} /**** Menu ****/ header#sticky-header .nav-container a.level-top { background-color: #' . $this->stickyHeaderColors['sticky_menu_link_bg'] . '; border-color: #' . $this->stickyHeaderColors['sticky_menu_link_border'] . '; border-width: ' . $this->stickyHeaderColors['sticky_menu_link_border_width'] . 'px; } header#sticky-header .nav-container a.level-top > span {color: #' . $this->stickyHeaderColors['sticky_menu_link_color'] . ';} header#sticky-header .nav-container a.level-top:hover, header#sticky-header .nav-container .over a.level-top { background-color: #' . $this->stickyHeaderColors['sticky_menu_link_bg_h'] . '; border-color: #' . $this->stickyHeaderColors['sticky_menu_link_border_h'] . '; } header#sticky-header .nav-container a.level-top:hover > span, header#sticky-header .nav-container .over a.level-top > span {color: #' . $this->stickyHeaderColors['sticky_menu_link_color_h'] . ';} header#sticky-header .nav-container .active a.level-top { background-color: #' . $this->stickyHeaderColors['sticky_menu_link_bg_a'] . '; border-color: #' . $this->stickyHeaderColors['sticky_menu_link_border_a'] . '; } header#sticky-header .nav-container .active a.level-top > span {color: #' . $this->stickyHeaderColors['sticky_menu_link_color_a'] . ';} /**** Cart ****/ header#sticky-header .top-cart .block-title .title-cart { background-color: #' . $this->stickyHeaderColors['sticky_cart_bg'] . '; color: #' . $this->stickyHeaderColors['sticky_cart_color'] . '; } header#sticky-header .top-cart .block-title .cart-qty { color: #' . $this->stickyHeaderColors['sticky_cart_text_color'] . '; border-color: #' . $this->stickyHeaderColors['sticky_cart_text_border'] . '; } header#sticky-header .top-cart .block-title .price {color: #' . $this->stickyHeaderColors['sticky_cart_price_color'] . '; } header#sticky-header .top-cart .block-title .title-cart:hover, header#sticky-header .top-cart .block-title.active .title-cart { background-color: #' . $this->stickyHeaderColors['sticky_cart_bg_h'] . '; color: #' . $this->stickyHeaderColors['sticky_cart_color_h'] . '; } header#sticky-header .top-cart .block-title .title-cart:hover .cart-qty, header#sticky-header .top-cart .block-title.active .title-cart .cart-qty { color: #' . $this->stickyHeaderColors['sticky_cart_text_color_h'] . '; border-color: #' . $this->stickyHeaderColors['sticky_cart_text_border_h'] . '; } header#sticky-header .top-cart .block-title .title-cart:hover .price, header#sticky-header .top-cart .block-title.active .title-cart .price {color: #' . $this->stickyHeaderColors['sticky_cart_price_color_h'] . ';} /**** Search Button ****/ header#sticky-header .search-button { background-color: #' . $this->stickyHeaderColors['sticky_search_bg'] . '; color: #' . $this->stickyHeaderColors['sticky_search_color'] . '; } header#sticky-header .search-button:hover, header#sticky-header .search-button.open { background-color: #' . $this->stickyHeaderColors['sticky_search_bg_h'] . '; color: #' . $this->stickyHeaderColors['sticky_search_color_h'] . '; } /*====== Menu =======*/ /**** Top Level ****/ .nav-container a.level-top { background-color: #' . $this->menuColors['top_link_bg'] . '; border-color: #' . $this->menuColors['top_link_border'] . '; border-width: ' . $this->menuColors['top_link_border_width'] . 'px; } .nav-container a.level-top > span {color: #' . $this->menuColors['top_link_color'] . ';} .nav-container a.level-top:hover, .nav-container .over a.level-top { background-color: #' . $this->menuColors['top_link_bg_h'] . '; border-color: #' . $this->menuColors['top_link_border_h'] . '; } .nav-container a.level-top:hover > span, .nav-container .over a.level-top > span {color: #' . $this->menuColors['top_link_color_h'] . ';} .nav-container .active a.level-top { background-color: #' . $this->menuColors['top_link_bg_a'] . '; border-color: #' . $this->menuColors['top_link_border_a'] . '; } .nav-container .active a.level-top > span {color: #' . $this->menuColors['top_link_color_a'] . ';} /**** Submenu ****/ .nav-wide .menu-wrapper, .nav ul {background-color: #' . $this->menuColors['submenu_bg'] . ';} .nav-wide ul.level0 li.level1 span.subtitle { border-width: ' . $this->menuColors['submenu_top_link_border_width'] . 'px; border-color: #' . $this->menuColors['submenu_top_link_border'] . '; color: #' . $this->menuColors['submenu_top_link_color'] . '; } .nav-wide ul.level0 li.level1 span.subtitle:hover { border-color: #' . $this->menuColors['submenu_top_link_border_h'] . '; color: #' . $this->menuColors['submenu_top_link_color_h'] . '; } .nav-wide ul.level1 a, .nav ul li a, .nav-wide .menu-wrapper.default-menu ul.level0 li.level1 a { background-color: #' . $this->menuColors['submenu_link_bg'] . '; color: #' . $this->menuColors['submenu_link_color'] . '; } .nav-wide ul li, .nav-wide ul.level1 ul, .nav ul li, .nav-wide .menu-wrapper.default-menu ul.level0 li { border-width: ' . $this->menuColors['submenu_link_border_width'] . 'px; border-color: #' . $this->menuColors['submenu_link_border'] . '; } .nav-wide .menu-wrapper.default-menu ul.level0 li.level1 a:hover span, .nav-wide ul.level1 a:hover, .nav ul li a:hover, .nav-wide .menu-wrapper.default-menu ul.level0 li.level1 a:hover { background-color: #' . $this->menuColors['submenu_link_bg_h'] . '; color: #' . $this->menuColors['submenu_link_color_h'] . '; } .nav-wide ul li:hover, .nav-wide ul.level1 ul:hover, .nav ul li:hover, .nav-wide .menu-wrapper.default-menu ul.level0 li:hover {border-color: #' . $this->menuColors['submenu_link_border_h'] . ';} .nav-wide .menu-banners .text-banner .text-banner-content h4 {color: #' . $this->menuColors['submenu_banner_1_subtitle'] . ';} .nav-wide .menu-banners .text-banner .text-banner-content h3 {color: #' . $this->menuColors['submenu_banner_1_title'] . ';} .nav-wide .menu-banners .text-banner .text-banner-content.skin-2 h4 {color: #' . $this->menuColors['submenu_banner_2_subtitle'] . ';} .nav-wide .menu-banners .text-banner .text-banner-content.skin-2 h3 {color: #' . $this->menuColors['submenu_banner_2_title'] . ';} .nav-wide .menu-banners .text-banner .text-banner-content.skin-3 h4 {color: #' . $this->menuColors['submenu_banner_3_subtitle'] . ';} .nav-wide .menu-banners .text-banner .text-banner-content.skin-3 h3 {color: #' . $this->menuColors['submenu_banner_3_title'] . ';} .nav-wide .menu-wrapper {color: #' . $this->menuColors['submenu_text_color'] . ';} .nav-wide .bottom-content .quick-links {color: #' . $this->menuColors['submenu_quick_links'] . ';} .nav-wide .bottom-content .quick-links a {color: #' . $this->menuColors['submenu_quick_links_link'] . ';} .nav-wide .bottom-content .quick-links a:hover {color: #' . $this->menuColors['submenu_quick_links_link_h'] . ';} .nav-wide .bottom-content .sale {color: #' . $this->menuColors['submenu_sale'] . ';} /*====== Revolution Slider Buttons =======*/ .rev_slider_wrapper .tp-leftarrow.default, .rev_slider_wrapper .tp-rightarrow.default { background-color: ' . MAGE::helper('ThemeOptionsHarbour')->RgbaColors($this->revSliderButtonsColors["buttons_bg"], $this->revSliderButtonsColors['buttons_transparent_bg'], $this->revSliderButtonsColors["buttons_transparent_bg_value"]) . '; border-color: #' . $this->revSliderButtonsColors['buttons_border'] . '; border-width: ' . $this->revSliderButtonsColors['buttons_border_width'] . 'px; } .rev_slider_wrapper .tp-leftarrow.default:after, .rev_slider_wrapper .tp-rightarrow.default:after {color: #' . $this->revSliderButtonsColors['buttons_color'] . ';} .rev_slider_wrapper .tp-leftarrow.default:hover, .rev_slider_wrapper .tp-rightarrow.default:hover { background-color: #' . $this->revSliderButtonsColors['buttons_bg_h'] . '; border-color: #' . $this->revSliderButtonsColors['buttons_border_h'] . '; } .rev_slider_wrapper .tp-leftarrow.default:hover:after, .rev_slider_wrapper .tp-rightarrow.default:hover:after {color: #' . $this->revSliderButtonsColors['buttons_color_h'] . ';} /*====== Parallax Banners ======*/ .parallax-banners-wrapper .text-banner .banner-content h2 {color: #' . $this->revSliderButtonsColors['colors1_h2'] . ';} .parallax-banners-wrapper .text-banner .banner-content h3 {color: #' . $this->revSliderButtonsColors['colors1_h3'] . ';} .parallax-banners-wrapper .text-banner .banner-content h4 {color: #' . $this->revSliderButtonsColors['colors1_h4'] . ';} .parallax-banners-wrapper .text-banner .banner-content p {color: #' . $this->revSliderButtonsColors['colors1_p'] . ';} .parallax-banners-wrapper .text-banner .banner-content .divider {background-color: #' . $this->revSliderButtonsColors['colors1_divider'] . ';} .parallax-banners-wrapper .text-banner .banner-content button > span, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn:hover > span { border-color: #' . $this->revSliderButtonsColors['colors1_button_border'] . '; border-width: ' . $this->revSliderButtonsColors['colors1_button_border_width'] . 'px; } .parallax-banners-wrapper .text-banner .banner-content button span span, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn:hover span span { color: #' . $this->revSliderButtonsColors['colors1_button_text'] . '; background: none; } .parallax-banners-wrapper .text-banner .banner-content button:hover > span, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn > span {border-color: #' . $this->revSliderButtonsColors['colors1_button_border_h'] . ';} .parallax-banners-wrapper .text-banner .banner-content button:hover span span, .parallax-banners-wrapper .text-banner .banner-content .parallax-btn span span { background-color: #' . $this->revSliderButtonsColors['colors1_button_bg_h'] . '; color: #' . $this->revSliderButtonsColors['colors1_button_text_h'] . '; } .parallax-banners-wrapper .text-banner .banner-content.colors-2 h2 {color: #' . $this->revSliderButtonsColors['colors2_h2'] . ';} .parallax-banners-wrapper .text-banner .banner-content.colors-2 h3 {color: #' . $this->revSliderButtonsColors['colors2_h3'] . ';} .parallax-banners-wrapper .text-banner .banner-content.colors-2 h4 {color: #' . $this->revSliderButtonsColors['colors2_h4'] . ';} .parallax-banners-wrapper .text-banner .banner-content.colors-2 .divider {background-color: #' . $this->revSliderButtonsColors['colors2_divider'] . ';} .parallax-banners-wrapper .text-banner .banner-content.colors-2 p {color: #' . $this->revSliderButtonsColors['colors2_p'] . ';} .parallax-banners-wrapper .text-banner .banner-content.colors-2 button > span, .parallax-banners-wrapper .text-banner .banner-content.colors-2 .parallax-btn:hover > span { border-color: #' . $this->revSliderButtonsColors['colors2_button_border'] . '; border-width: ' . $this->revSliderButtonsColors['colors2_button_border_width'] . 'px; } .parallax-banners-wrapper .text-banner .banner-content.colors-2 button span span, .parallax-banners-wrapper .text-banner .banner-content.colors-2 .parallax-btn:hover span span { color: #' . $this->revSliderButtonsColors['colors2_button_text'] . '; background: none; } .parallax-banners-wrapper .text-banner .banner-content.colors-2 button:hover > span, .parallax-banners-wrapper .text-banner .banner-content.colors-2 .parallax-btn > span {border-color: #' . $this->revSliderButtonsColors['colors2_button_border_h'] . ';} .parallax-banners-wrapper .text-banner .banner-content.colors-2 button:hover span span, .parallax-banners-wrapper .text-banner .banner-content.colors-2 .parallax-btn span span { background-color: #' . $this->revSliderButtonsColors['colors2_button_bg_h'] . '; color: #' . $this->revSliderButtonsColors['colors2_button_text_h'] . '; } /*====== 404 page ======*/ .page-not-found h2 {color: #' . $this->pageNotFoundColors['title_color'] . ';} .page-not-found h3 {color: #' . $this->pageNotFoundColors['subtitle_color'] . ';} .page-not-found p {color: #' . $this->pageNotFoundColors['text_color'] . ';} .page-not-found .button > span { border-color: #' . $this->pageNotFoundColors['button_border'] . '; border-width: ' . $this->pageNotFoundColors['button_border_width'] . 'px; } .page-not-found .button span span {color: #' . $this->pageNotFoundColors['button_text_color'] . ';} .page-not-found .button:hover > span {border-color: #' . $this->pageNotFoundColors['button_border_h'] . ';} .page-not-found .button:hover span span { color: #' . $this->pageNotFoundColors['button_text_color_h'] . '; background-color: #' . $this->pageNotFoundColors['button_bg_h'] . '; } .page-not-found .form-search input { background-color: ' . MAGE::helper('ThemeOptionsHarbour')->RgbaColors($this->pageNotFoundColors["search_bg"], $this->pageNotFoundColors['search_transparent_bg'], $this->pageNotFoundColors["search_transparent_bg_value"]) . '; color: #' . $this->pageNotFoundColors['search_text'] . '; } .page-not-found .form-search button > span {background-color: ' . MAGE::helper('ThemeOptionsHarbour')->RgbaColors($this->pageNotFoundColors["search_button_bg"], $this->pageNotFoundColors['search_button_transparent_bg'], $this->pageNotFoundColors["search_button_transparent_bg_value"]) . ';} .page-not-found .form-search button > span i {color: #' . $this->pageNotFoundColors['search_icon'] . ';} .page-not-found .form-search button:hover > span {background-color: ' . MAGE::helper('ThemeOptionsHarbour')->RgbaColors($this->pageNotFoundColors["search_button_bg_h"], $this->pageNotFoundColors['search_button_transparent_bg_h'], $this->pageNotFoundColors["search_button_transparent_bg_h_value"]) . ';} .page-not-found .form-search button:hover > span i {color: #' . $this->pageNotFoundColors['search_icon_h'] . ';} body.cms-no-route #not-found-footer address, body.cms-no-route #not-found-footer address a {color: #' . $this->pageNotFoundColors['copyright_color'] . ';} body.cms-no-route #not-found-footer .footer-links a {color: #' . $this->pageNotFoundColors['footer_links'] . ';} body.cms-no-route #not-found-footer .footer-links a:hover { color: #' . $this->pageNotFoundColors['footer_links_h'] . '; background-color: ' . MAGE::helper('ThemeOptionsHarbour')->RgbaColors($this->pageNotFoundColors["footer_links_bg_h"], $this->pageNotFoundColors['footer_links_transparent_bg_h'], $this->pageNotFoundColors["footer_links_transparent_bg_h_value"]) . '; } /*====== Content =======*/ body .widget .widget-title h1, body .widget .widget-title h2, .widget-title h2, .page-title h1, .page-title h2, .page-title h3, .page-title h4, .page-title h5, .page-title h6, .related-wrapper-bottom .block-title strong span, .rating-title h2 {color: #' . $this->contentColors['title_color'] . ';} .page-title .left-divider, .page-title .right-divider, .widget .widget-title .left-divider, .widget .widget-title .right-divider, .widget-title .left-divider, .widget-title .right-divider, .cart header .left-divider, .cart header .right-divider { border-color: #' . $this->contentColors['title_border'] . '; border-width: ' . $this->contentColors['title_border_width'] . 'px; } /**** Toolbar ****/ .toolbar {border-color: #' . $this->contentColors['toolbar_border'] . ';} .sorter label {color: #' . $this->contentColors['toolbar_label'] . ';} .toolbar .sbSelector, .toolbar .sbOptions, .toolbar .sbHolder .sbToggleOpen + .sbSelector {background-color: #' . $this->contentColors['toolbar_select_bg'] . ';} .toolbar .sbSelector > span, .toolbar .sbOptions a, .toolbar .sbHolder .sbToggleOpen + .sbSelector, .toolbar .sbHolder .sbToggleOpen + .sbSelector > span { color: #' . $this->contentColors['toolbar_select_text'] . '; border-top-color: #' . $this->contentColors['toolbar_select_text'] . '; } .toolbar .sbHolder .sbToggleOpen + .sbSelector {border-color: #' . $this->contentColors['toolbar_select_text'] . ';} /**** Pager ****/ .pages li.current { background-color: #' . $this->contentColors['pager_active_button_bg'] . '; color: #' . $this->contentColors['pager_active_button'] . '; } .pages li a {background-color: #' . $this->contentColors['pager_buttons_bg'] . ';} .pages li a, .pager .pages li a.i-previous i, .pager .pages li a.i-next i {color: #' . $this->contentColors['pager_buttons_color'] . ';} .pages li a:hover, .pager .pages li a.i-previous i:hover, .pager .pages li a.i-next i:hover { color: #' . $this->contentColors['pager_buttons_color_h'] . '; background-color: #' . $this->contentColors['pager_buttons_bg_h'] . '; } /*====== Buttons =======*/ aside.sidebar .actions a, header.header .top-cart .block-content .actions a, a.aw-blog-read-more, .add-to-cart-success a { background-color: #' . $this->buttonsColors['buttonsbg'] . '; color: #' . $this->buttonsColors['buttons_link'] . '; border-width: ' . $this->buttonsColors['buttons_border_width'] . 'px; border-color: #' . $this->buttonsColors['buttons_border'] . '; } body .button-wrapper .text-block-button:hover span span, #popup-block .block-subscribe .button:hover span span, #product-addtocart-button:hover span span, .products-grid li.item .button-holder .btn-cart span span i, aside.sidebar .block-poll .actions button span span, .cart-table .buttons-row .buttons .btn-clear span span, .cart-table .buttons-row .buttons .btn-update span span, .my-wishlist .buttons-set .btn-share span span, .my-wishlist .buttons-set .btn-add span span, body .text-banner .banner-content button span span, body button.button span span { background-color: #' . $this->buttonsColors['buttonsbg'] . '; color: #' . $this->buttonsColors['buttons_link'] . '; } body .button-wrapper .text-block-button:hover > span, #popup-block .block-subscribe .button:hover > span, #product-addtocart-button:hover > span, .products-grid li.item .button-holder .btn-cart > span, aside.sidebar .block-poll .actions button > span, .cart-table .buttons-row .buttons .btn-clear > span, .cart-table .buttons-row .buttons .btn-update > span, .my-wishlist .buttons-set .btn-share > span, .my-wishlist .buttons-set .btn-add > span, body .text-banner .banner-content button > span, body button.button > span { border-width: ' . $this->buttonsColors['buttons_border_width'] . 'px; border-color: #' . $this->buttonsColors['buttons_border'] . '; } aside.sidebar .actions a:hover, header.header .top-cart .block-content .actions a:hover, a.aw-blog-read-more:hover, .add-to-cart-success a:hover { color: #' . $this->buttonsColors['buttons_link_h'] . '; border-color: #' . $this->buttonsColors['buttons_border_h'] . '; background-color: #' . $this->buttonsColors['buttonsbg_h'] . '; } body .button-wrapper .text-block-button span span, #popup-block .block-subscribe .button span span, #product-addtocart-button span span, .products-grid li.item .button-holder .btn-cart:hover span span i, aside.sidebar .block-poll .actions button:hover span span, .cart-table .buttons-row .buttons .btn-clear:hover span span, .cart-table .buttons-row .buttons .btn-update:hover span span, .my-wishlist .buttons-set .btn-share:hover span span, .my-wishlist .buttons-set .btn-add:hover span span, body .text-banner .banner-content button:hover span span, body button.button:hover span { background-color: #' . $this->buttonsColors['buttonsbg_h'] . '; color: #' . $this->buttonsColors['buttons_link_h'] . '; } body .button-wrapper .text-block-button > span, #popup-block .block-subscribe .button > span, #product-addtocart-button > span, .products-grid li.item .button-holder .btn-cart:hover > span, aside.sidebar .block-poll .actions button:hover > span, .cart-table .buttons-row .buttons .btn-clear:hover > span, .cart-table .buttons-row .buttons .btn-update:hover > span, .my-wishlist .buttons-set .btn-share:hover > span, .my-wishlist .buttons-set .btn-add:hover > span, body .text-banner .banner-content button:hover > span, body button.button:hover > span { border-color: #' . $this->buttonsColors['buttons_border_h'] . '; } /**** Buttons Type 2 ****/ .cart .btn-proceed-checkout > span { border-width: ' . $this->buttonsColors['buttons_2_border_width'] . 'px; border-color: #' . $this->buttonsColors['buttons_2_border'] . '; } .cart .btn-proceed-checkout span span { background-color: #' . $this->buttonsColors['buttons_2_bg'] . '; color: #' . $this->buttonsColors['buttons_2_link'] . '; } .cart .btn-proceed-checkout:hover > span {border-color: #' . $this->buttonsColors['buttons_2_border_h'] . ';} .cart .btn-proceed-checkout:hover span span { background-color: #' . $this->buttonsColors['buttons_2_bg_h'] . '; color: #' . $this->buttonsColors['buttons_2_link_h'] . '; } /*====== Products ======*/ .products-list li.item .product-img-box, .products-grid li.item .product-img-box { background-color: #' . $this->productsColors['products_bg'] . '; border-width: ' . $this->productsColors['products_border_width'] . 'px; border-color: #' . $this->productsColors['products_border'] . '; } .products-grid .product-name a, .products-list .product-name a {color: #' . $this->productsColors['products_title_color'] . ';} .products-grid .product-name a:hover, .products-list .product-name a:hover {color: #' . $this->productsColors['products_title_color_h'] . ';} .products-list .desc, .products-grid .desc {color: #' . $this->productsColors['produst_text_color'] . ';} .products-list .desc a, .products-grid .desc a {color: #' . $this->productsColors['products_links_color'] . ';} .products-list .desc a:hover, .products-grid .desc a:hover {color: #' . $this->productsColors['products_links_color_h'] . ';} .price-box .price {color: #' . $this->productsColors['produst_price_color'] . ';} .old-price .price, .price-box .old-price .price {color: #' . $this->productsColors['produst_old_price_color'] . ';} .special-price .price {color: #' . $this->productsColors['produst_special_price_color'] . ';} .products-list .desc, .products-list .price-box, .products-list .ratings, .products-list .product-name { border-color: #' . $this->productsColors['products_divider_color'] . '; border-width: ' . $this->productsColors['products_divider_width'] . 'px; } /**** Product Labels ****/ .products-grid .availability-only, .products-list .availability-only, .label-sale { background-color: #' . $this->productsColors['label_sale_bg'] . '; color: #' . $this->productsColors['label_sale_color'] . '; } .label-type-5 .label-sale:before, .products-grid.label-type-5 .availability-only:before, .products-list.label-type-5 .availability-only:before{ border-top-color: #' . $this->productsColors['label_sale_bg'] . '; } .label-type-5 .label-sale:after, .products-grid.label-type-5 .availability-only:after, .products-list.label-type-5 .availability-only:after{ border-bottom-color: #' . $this->productsColors['label_sale_bg'] . '; } .label-new { background-color: #' . $this->productsColors['label_new_bg'] . '; color: #' . $this->productsColors['label_new_color'] . '; } .label-type-5 .label-new:before{ border-top-color: #' . $this->productsColors['label_new_bg'] . '; } .label-type-5 .label-new:after{ border-bottom-color: #' . $this->productsColors['label_new_bg'] . '; } /*====== Social Links ======*/ ul.social-links li a { background-color: #' . $this->socialLinksColors['social_links_bg'] . '; border-color: #' . $this->socialLinksColors['social_links_border'] . '; border-width: ' . $this->socialLinksColors['social_links_border_width'] . 'px; } ul.social-links li a:hover { background-color: #' . $this->socialLinksColors['social_links_bg_h'] . '; border-color: #' . $this->socialLinksColors['social_links_border_h'] . '; } ul.social-links li a i { color: #' . $this->socialLinksColors['social_links_color'] . '; border-color: #' . $this->socialLinksColors['social_links_divider'] . '; border-width: ' . $this->socialLinksColors['social_links_divider_width'] . 'px; } ul.social-links li a:hover i { color: #' . $this->socialLinksColors['social_links_color_h'] . '; border-color: #' . $this->socialLinksColors['social_links_divider_h'] . '; } /*====== Footer ======*/ /**** Top Block ****/ #footer .footer-top, body.boxed-layout #footer .footer-top .container_12 { background-color: #' . $this->footerColors['top_block_bg'] . '; color: #' . $this->footerColors['top_block_text'] . '; } #footer .footer-links-block, body.boxed-layout #' . $this->footerColors['social_links_divider_h'] . ' .footer-links-block .container_12 { border-color: #' . $this->footerColors['top_block_border'] . '; border-width: ' . $this->footerColors['top_block_border_width'] . 'px; } #footer a {color: #' . $this->footerColors['top_block_link'] . ';} #footer a:hover {color: #' . $this->footerColors['top_block_link_h'] . ';} #footer .button > span { border-color: #' . $this->footerColors['top_block_button_border'] . '; border-width: ' . $this->footerColors['top_block_button_border_width'] . 'px; } #footer .button span span { background-color: #' . $this->footerColors['top_block_button_bg'] . '; color: #' . $this->footerColors['top_block_button_color'] . '; } #footer .button:hover > span {border-color: #' . $this->footerColors['top_block_button_border_h'] . ';} #footer .button:hover span span { background-color: #' . $this->footerColors['top_block_button_bg_h'] . '; color: #' . $this->footerColors['top_block_button_color_h'] . '; } #footer .footer-block-title { border-color: #' . $this->footerColors['top_block_title_divider'] . '; border-width: ' . $this->footerColors['top_block_title_divider_width'] . 'px; } #footer .footer-block-title h2 {color: #' . $this->footerColors['top_block_title_color'] . ';} #footer .links li:before {background-color: #' . $this->footerColors['top_block_list_links_bg'] . ';} #footer .links li a {color: #' . $this->footerColors['top_block_list_links_color'] . ';} #footer .links li:after {background-color: #' . $this->footerColors['top_block_list_links_bg_h'] . ';} #footer .links li a:hover {color: #' . $this->footerColors['top_block_list_links_color_h'] . ';} #footer .footer-links li a { color: #' . $this->footerColors['top_block_default_links_color'] . '; background-color: #' . $this->footerColors['top_block_default_links_bg'] . '; } #footer .footer-links li a:hover { color: #' . $this->footerColors['top_block_default_links_color_h'] . '; background-color: #' . $this->footerColors['top_block_default_links_bg_h'] . '; } /**** Bottom Block ****/ #footer .footer-bottom, body.boxed-layout #footer .footer-bottom .container_12 { background-color: #' . $this->footerColors['bottom_block_bg'] . '; color: #' . $this->footerColors['bottom_block_text'] . '; } #footer address, #footer address a {color: #' . $this->footerColors['bottom_block_text'] . ';} #footer .store-switcher label, #footer .form-language label, #footer .form-currency label {color: #' . $this->footerColors['bottom_block_labels'] . ';} #footer .sbSelector { background-color: #' . $this->footerColors['bottom_block_select_bg'] . '; color: #' . $this->footerColors['bottom_block_select_color'] . '; border-color: #' . $this->footerColors['bottom_block_select_border'] . '; border-width: ' . $this->footerColors['bottom_block_select_border_width'] . 'px; } /**** Contact Form ****/ #footer #AjaxcontactForm li .input-box input, #footer #AjaxcontactForm li textarea { background-color: #' . $this->footerColors['contact_bg'] . '; border-color: #' . $this->footerColors['contact_border'] . '; color: #' . $this->footerColors['contact_text'] . '; } #footer #AjaxcontactForm li label {color: #' . $this->footerColors['contact_text'] . ';} /**** Newsletter ****/ #footer .block-subscribe label {color: #' . $this->footerColors['newsletter_label'] . ';} #footer .block-subscribe .input-box input { background-color: #' . $this->footerColors['newsletter_input_bg'] . '; border-color: #' . $this->footerColors['newsletter_input_border'] . '; color: #' . $this->footerColors['newsletter_input_color'] . '; } #footer .block-subscribe .button span i { background-color: #' . $this->footerColors['newsletter_button_bg'] . '; color: #' . $this->footerColors['newsletter_button_color'] . '; } #footer .block-subscribe .button:hover span i { background-color: #' . $this->footerColors['newsletter_button_bg_h'] . '; color: #' . $this->footerColors['newsletter_button_color_h'] . '; } /**** Facebook Widget ****/ .facebook-widget-wraper {background-color: #' . $this->footerColors['facebook_bg'] . ';} /**** Footer Products List ****/ #footer .footer-products-list .product-shop .product-name a {color: #' . $this->footerColors['products_name'] . ';} #footer .footer-products-list .product-shop .product-name a:hover {color: #' . $this->footerColors['products_name_h'] . ';} #footer .footer-products-list .product-shop .price-box .price {color: #' . $this->footerColors['products_price_color'] . ';} #footer .footer-products-list .product-shop .price-box .old-price .price {color: #' . $this->footerColors['products_old_price_color'] . ';} #footer .footer-products-list .product-shop .price-box .special-price .price {color: #' . $this->footerColors['products_special_price_color'] . ';} #footer .footer-products-list .list-small-buttons .add-to-links li i {color: #' . $this->footerColors['products_icons'] . ';} #footer .footer-products-list .list-small-buttons .add-to-links li i:hover {color: #' . $this->footerColors['products_icons_h'] . ';} /**** Footer Tags ****/ #footer .block-tags li a { color: #' . $this->footerColors['tags_color'] . '; border-color: #' . $this->footerColors['tags_border'] . '; background-color: #' . $this->footerColors['tags_bg'] . '; } #footer .block-tags li a:hover { color: #' . $this->footerColors['tags_color_h'] . '; border-color: #' . $this->footerColors['tags_border_h'] . '; background-color: #' . $this->footerColors['tags_bg_h'] . '; } '; } $this->saveData($css); Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('ThemeOptionsHarbour')->__("CSS file with custom styles has been created")); return true; }
private function doCall($transaction, $data) { $object = json_decode(json_encode($data), TRUE); Mage::helper('greatplains')->Log("Request array: " . print_r($object, true)); //Mage::helper('greatplains')->Log("Request XML: " . print_r($object, true)); $response = null; // $this->_response->return->error = array(); try { $client = $this->getSoapClient(); if (!$client) { return false; } $response = $client->{$transaction}($object); } catch (SoapFault $sf) { if ($response) { $response->return->error = $sf->getMessage(); } else { $response = $sf->getMessage(); } Mage::helper('greatplains')->Log("error : " . $sf->getMessage()); } catch (Exception $e) { if ($response) { $response->return->error = $e->getMessage(); } else { $response = $sf->getMessage(); } Mage::helper('greatplains')->Log("error : " . $e->getMessage()); } $request = $client->__getLastRequest(); try { Mage::helper('greatplains')->Log("Request : " . print_r($request, true)); } catch (Exception $e) { MAGE::Log("Error printing request to log"); } try { Mage::helper('greatplains')->Log("Response : " . print_r($response, true)); } catch (Exception $e) { MAGE::Log("Error printing response to log"); } return $response; }
public function countAction() { echo MAGE::helper('wishlist')->getItemCount(); }
public function saveCss() { $this->setParams(); $css = "/**\n*\n* This file is generated automaticaly. Please do no edit it directly cause all changes will be lost.\n*\n*/\n"; if ($this->appearance['font_main'] == 1) { $css .= '/*====== Font Replacement - Main Text =======*/ '; if ($this->appearance['main_default_sizes'] == 0) { $css .= ' body{ font-family: ' . $this->appearance['gfontmain'] . ', sans-serif; font-size:' . $this->appearance['main_fontsize'] . 'px !important; line-height:' . $this->appearance['main_lineheight'] . 'px !important; font-weight:' . $this->appearance['main_fontweight'] . ' !important; } '; } else { $css .= ' body{ font-family: ' . $this->appearance['gfontmain'] . ', sans-serif; } '; } } if ($this->appearance['font'] == 1) { $css .= '/*====== Font Replacement - Titles =======*/ '; if ($this->appearance['default_sizes'] == 0) { $css .= ' .nav-container li.level-top > a span, header#header .top-cart .block-title .title-cart, #footer .footer-block-title h2, #footer .footer-topline .custom-footer-content li > span h3, #footer .footer-address-block p, .products-grid .product-name a, .price, .btn-quick-view span, .products-list .product-name a, .minimal-price-link .label, .page-title h1, .page-title h2, .page-title h3, .page-title h4, .page-title h5, .page-title h6, .widget-title h1, .widget-title h2, .widget .widget-title h1, .widget .widget-title h2, aside.sidebar .block.block-layered-nav dl dt h2, aside.sidebar .block.block-layered-nav dl dd a, aside.sidebar .block.block-layered-nav dl dd li span, aside.sidebar .block.block-layered-nav #amount, aside.sidebar .block.block-layered-nav #amount-2, aside.sidebar .block-title strong span, .block-vertical-nav li.level-top a.level-top, aside.sidebar .product-name a, .block-poll label, aside.sidebar .block .block-subtitle, .sorter .sort-by label, .toolbar .sbSelector > span, .label-new, .label-sale, .products-grid .availability-only, .products-list .availability-only, .pager .pages ol li.current, .pager .pages ol li a, .product-view .product-shop .product-name h1, .meigee-tabs a, .rating-subtitle h2, .catalog-product-view .box-reviews ul li h6 a, .block-related .product-name a, .block-related .block-title strong span, .block-related .block-content .block-subtitle a, .product-collateral h2, .product-options-title h2, .price-as-configured .price-label, header#header .top-cart .product-name a, .cart .page-title h1, .data-table .product-name a, .cart-blocks-title h2, section .crosssell .product-details .product-name a, #cart-accordion h3.accordion-title, #cart-accordion .accordion-content .crosssell li.item .product-name a, aside.sidebar .block-account li a, aside.sidebar .block-account li strong, .dashboard .welcome-msg .hello, .dashboard .box-title h2, .dashboard .box-title h3, .dashboard .box-head h3, .dashboard .box-head h2, .fieldset .legend, .addresses-list .addresses-primary h2, .addresses-list .addresses-additional h2, .product-review .product-name, header#header .top-cart .block-content .subtotal span, #login-holder .page-title h1, #login-holder form p, #login-holder .link-box a, .onepagecheckout-index-index .main-container .page-title, #onepagecheckout_orderform .col3-set.onepagecheckout_datafields .op_block_title, .opc h3, .opc .step-title h2, .multiple-checkout h2, .nav-wide#nav-wide .top-content .top-menu-features li span h3, .nav-wide#nav-wide ul.level0 li.level1 span.subtitle, .header-slider-container .iosSlider .slider .item h2, .header-slider-container .iosSlider .slider .item h3, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 p, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h4, #login-form h2, .quick-view-title h2, .block-subscribe .form-subscribe-header label, .block-subscribe-popup .indent h3, aside.sidebar .block.block-layered-nav .currently .label { font-family: ' . $this->appearance['gfont'] . ', sans-serif; font-size:' . $this->appearance['fontsize'] . 'px !important; line-height:' . $this->appearance['lineheight'] . 'px !important; font-weight:' . $this->appearance['fontweight'] . ' !important; }'; } else { $css .= ' .nav-container li.level-top > a span, header#header .top-cart .block-title .title-cart, #footer .footer-block-title h2, #footer .footer-topline .custom-footer-content li > span h3, #footer .footer-address-block p, .products-grid .product-name a, .price, .btn-quick-view span, .products-list .product-name a, .minimal-price-link .label, .page-title h1, .page-title h2, .page-title h3, .page-title h4, .page-title h5, .page-title h6, .widget-title h1, .widget-title h2, .widget .widget-title h1, .widget .widget-title h2, aside.sidebar .block.block-layered-nav dl dt h2, aside.sidebar .block.block-layered-nav dl dd a, aside.sidebar .block.block-layered-nav dl dd li span, aside.sidebar .block.block-layered-nav #amount, aside.sidebar .block.block-layered-nav #amount-2, aside.sidebar .block-title strong span, .block-vertical-nav li.level-top a.level-top, aside.sidebar .product-name a, .block-poll label, aside.sidebar .block .block-subtitle, .sorter .sort-by label, .toolbar .sbSelector > span, .label-new, .label-sale, .pager .pages ol li.current, .pager .pages ol li a, .product-view .product-shop .product-name h1, .meigee-tabs a, .rating-subtitle h2, .catalog-product-view .box-reviews ul li h6 a, .block-related .product-name a, .block-related .block-title strong span, .block-related .block-content .block-subtitle a, .product-collateral h2, .product-options-title h2, .price-as-configured .price-label, header#header .top-cart .product-name a, .cart .page-title h1, .data-table .product-name a, .cart-blocks-title h2, section .crosssell .product-details .product-name a, #cart-accordion h3.accordion-title, #cart-accordion .accordion-content .crosssell li.item .product-name a, aside.sidebar .block-account li a, aside.sidebar .block-account li strong, .dashboard .welcome-msg .hello, .dashboard .box-title h2, .dashboard .box-title h3, .dashboard .box-head h3, .dashboard .box-head h2, .fieldset .legend, .addresses-list .addresses-primary h2, .addresses-list .addresses-additional h2, .product-review .product-name, header#header .top-cart .block-content .subtotal span, #login-holder .page-title h1, #login-holder form p, #login-holder .link-box a, .onepagecheckout-index-index .main-container .page-title, #onepagecheckout_orderform .col3-set.onepagecheckout_datafields .op_block_title, .opc h3, .opc .step-title h2, .multiple-checkout h2, .nav-wide#nav-wide .top-content .top-menu-features li span h3, .nav-wide#nav-wide ul.level0 li.level1 span.subtitle, .header-slider-container .iosSlider .slider .item h2, .header-slider-container .iosSlider .slider .item h3, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 p, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h4, #login-form h2, .quick-view-title h2, .block-subscribe .form-subscribe-header label, .block-subscribe-popup .indent h3, aside.sidebar .block.block-layered-nav .currently .label {font-family: ' . $this->appearance['gfont'] . ', sans-serif;}'; } } if ($this->appearance['custompatern']) { $css .= ' /*====== Custom Patern =======*/ body, body.boxed-layout{ background: url("' . MAGE::helper('ThemeOptionsBlacknwhite')->getThemeOptionsBlacknwhite('mediaurl') . $this->appearance['custompatern'] . '") center top repeat !important;}'; } $css .= ' /*====== Site Bg =======*/ body {background-color:#' . $this->baseColors['sitebg'] . ';} /*====== Skin Color #1 =======*/ a:hover, #footer .footer-address-block p a:hover, #footer address a:hover, .products-grid .product-name a:hover, .regular-price .price, .special-price .price, .price-from .price, .price-to .price, .products-grid .add-to-links li i:hover, .products-list .product-name a:hover, .minimal-price-link .price, .products-list .add-to-links i:hover, #categories-accordion li.level-top a.level-top:hover, #categories-accordion li.level-top.parent ul.level0 li a:hover, #categories-accordion .btn-cat.closed > i, .block-compare li.item .btn-remove i:hover, .availability.out-of-stock span, .availability-only i, div.quantity-decrease i:hover, div.quantity-increase i:hover, .catalog-product-view .box-reviews .form-add h3 span, .catalog-product-view .box-reviews ul li small span, .block-related .product-name a:hover, .block-related .block-content .block-subtitle a:hover, .product-options-bottom i:hover, .price-as-configured .price, header#header .top-cart .product-name a:hover, header#header .top-cart .block-content .mini-products-list .product-details .price, .data-table .product-name a:hover, .data-table .c_actions a i:hover, .data-table .cart-price .price, .data-table .remove i:hover, .sp-methods .price, .cart .totals .checkout-types li a:hover, .dashboard .box-title a i:hover, .dashboard .box-head a i:hover, .my-account .addresses-list li.item a:hover, .my-account .data-table a:hover, .my-wishlist .data-table .table-buttons a i:hover, header#header .top-cart .block-content .subtotal .price, #login-holder form .actions > a:hover, #login-holder .link-box a:hover, .onepagecheckout_loginarea .onepagecheckout_loginlink:hover, .onepagecheckout-index-index #onepagecheckout_forgotbox.op_login_area #forgot-password-form .onepagecheckout_loginlink:hover, .onepagecheckout-index-index #onepagecheckout_loginbox.op_login_area #login-form .onepagecheckout_forgotlink:hover, .opc .grid_4 a:hover, .multiple-checkout .grand-total .price, nav.breadcrumbs li a:hover, nav.breadcrumbs li a:hover + span, .nav-wide#nav-wide .top-content .top-menu-links li a, header#header .customer-name .user i, .tags-list li a:hover, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h3 span, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h3 span, .product-view .product-shop .add-to-links-box i:hover, #cart-accordion .accordion-content .crosssell li.item .product-name a:hover {color: #' . $this->baseColors['maincolor'] . ';} #footer .block-tags .actions a:hover, button.button:hover > span, ul.social-links li a i:hover, #footer .block-tags .tags-list li a:hover, .ui-slider .ui-slider-range, .block-compare .actions a:hover, .block-compare .actions button span, aside.sidebar .block-tags li a:hover, aside.sidebar .block-tags .actions a:hover, aside.sidebar .block-reorder .actions a:hover, .block-reorder .actions button span, aside.sidebar .block.block-wishlist .actions a:hover, .sorter .view-mode a:hover i, .sorter .view-mode strong i, .sorter a.desc i:hover, .sorter a.asc i:hover, div.label-sale, .products-grid .availability-only, .products-list .availability-only, .add-to-cart button.button span, .catalog-product-view .box-reviews .full-review, .iwdbutton button.button span, .cart .btn-proceed-checkout span, header#header .top-cart .block-content .actions .button span, .cart-table .buttons-row button.btn-continue:hover span, .my-wishlist .buttons-set .btn-update:hover span, header#header .top-cart .block-content .actions a:hover, #checkout-coupon-discount-load .discount-form .buttons-set button.button:hover span span, #onepagecheckout_orderform #checkout-review-submit button span span, #onepagecheckout_forgotbox button.button:hover span span, #onepagecheckout_loginbox button.button:hover span span, nav.breadcrumbs li span:after, .header-slider-container .iosSlider .prev:hover i, .header-slider-container .iosSlider .next:hover i, .cart-remove-box a:hover, .add-to-cart-success a:hover, #login-holder form .actions button:hover span span, table#wishlist-table td .cart-cell button.button:hover span span, .block-subscribe-popup .indent button.button:hover span span, aside.sidebar .block.block-layered-nav .actions a:hover {background-color: #' . $this->baseColors['maincolor'] . ';} .label-type-5 div.label-sale:before, .products-grid.label-type-5 .availability-only:before, .products-list.label-type-5 .availability-only:before{ border-top-color: #ff1341; } .label-type-5 div.label-sale:after, .products-grid.label-type-5 .availability-only:after, .products-list.label-type-5 .availability-only:after{ border-bottom-color: #ff1341; } #footer .block-tags .actions a:hover, button.button:hover span, #footer .block-tags .tags-list li a:hover, .block-compare .actions a:hover, .block-compare .actions button span, aside.sidebar .block-tags li a:hover, aside.sidebar .block-tags .actions a:hover, aside.sidebar .block-reorder .actions a:hover, .block-reorder .actions button span, aside.sidebar .block.block-wishlist .actions a:hover, .add-to-cart button.button span, .iwdbutton button.button span, .cart .btn-proceed-checkout span, header#header .top-cart .block-content .actions .button span, .cart-table .buttons-row button.btn-continue:hover span, .my-wishlist .buttons-set .btn-update:hover span, header#header .top-cart .block-content .actions a:hover, #checkout-coupon-discount-load .discount-form .buttons-set button.button:hover span, #onepagecheckout_orderform #checkout-review-submit button > span, #onepagecheckout_forgotbox button.button:hover > span, #onepagecheckout_loginbox button.button:hover > span, .cart-remove-box a:hover, .add-to-cart-success a:hover, #login-holder form .actions button:hover > span, .block-subscribe-popup .indent button.button:hover > span, aside.sidebar .block.block-layered-nav .actions a:hover {border-color: #' . $this->baseColors['maincolor'] . ';} /*====== Skin Color #2 =======*/ a, .onepagecheckout_loginarea .onepagecheckout_loginlink, .nav-wide#nav-wide .top-content .top-menu-links li a:hover, .header-slider-container .iosSlider .slider .item h3, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h4, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h4 {color: #' . $this->baseColors['secondcolor'] . ';} .products-grid .btn-quick-view > span, .products-list .btn-quick-view > span { filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC' . $this->baseColors['secondcolor'] . ',endColorstr=#CC' . $this->baseColors['secondcolor'] . '); background-color: rgba(' . MAGE::helper('ThemeOptionsBlacknwhite')->HexToRGB($this->baseColors['secondcolor']) . ', 0.8); } .products-grid .btn-quick-view:hover > span, .products-list .btn-quick-view:hover > span, span.label-new {background-color: #' . $this->baseColors['secondcolor'] . ';} .label-type-5 span.label-new:before{ border-top-color: #' . $this->baseColors['secondcolor'] . '; } .label-type-5 span.label-new:after{ border-bottom-color: #' . $this->baseColors['secondcolor'] . '; } .product-view .product-name div.sku::selection {background-color: #' . $this->baseColors['secondcolor'] . ';} .product-view .product-name div.sku::-moz-selection {background-color: #' . $this->baseColors['secondcolor'] . ';} '; if ($this->baseColors['base_override'] == 1) { $css .= '/*====== Menu Color =======*/ header#header .topline, body.boxed-layout header#header .topline .container_12 {background-color: #' . $this->menuColors['blockbg'] . ';} .topline .grid_12 { border-top-color: #' . $this->menuColors['block_border'] . '; border-bottom-color: #' . $this->menuColors['block_border'] . '; border-top-width: ' . $this->menuColors['block_border_width'] . 'px; border-bottom-width: ' . $this->menuColors['block_border_width'] . 'px; } .nav-container li.level-top > a span {color: #' . $this->menuColors['link_color'] . ';} .nav-container li.level-top > a:hover span {color: #' . $this->menuColors['link_color_h'] . ';} .nav-container li.level-top > a {background-color: #' . $this->menuColors['linkbg'] . ';} .nav-container li.level-top > a:hover {background-color: #' . $this->menuColors['linkbg_h'] . ';} .nav-container li.level-top.active > a {background-color: #' . $this->menuColors['linkbg_a'] . ';} .nav-container li.level-top.active > a span {color: #' . $this->menuColors['link_color_a'] . ';} /**** Dropdown Menu ****/ .nav-wide#nav-wide .menu-wrapper {background-color: #' . $this->menuColors['menuwrapper'] . ';} .nav-wide#nav-wide .top-content .top-menu-links {border-bottom-color: #' . $this->menuColors['topmenulinks'] . ';} .nav-wide#nav-wide .top-content i {color: #' . $this->menuColors['topcontenticons'] . '; border-color: #' . $this->menuColors['topcontenticons'] . ';} .nav-wide#nav-wide .top-content h3 {color: #' . $this->menuColors['topcontenttitles'] . ';} .nav-wide#nav-wide .top-content {color: #' . $this->menuColors['topmenutext'] . ';} .nav-wide#nav-wide ul.level0 li.level1 span.subtitle {background-color: #' . $this->menuColors['subtitlebg'] . '; color: #' . $this->menuColors['subtitle'] . ';} .nav-wide#nav-wide ul.level1 a {color: #' . $this->menuColors['linkcolor'] . ';} .nav-wide#nav-wide ul.level1 a:hover {background-color: #' . $this->menuColors['linkcolorhover'] . ';} .nav-wide#nav-wide .bottom-content {background-color: #' . $this->menuColors['boottombg'] . '; color: #' . $this->menuColors['boottomtext'] . ';} /**** Cart and Wishlist ****/ header#header .top-link-wishlist i, header#header .top-link-wishlist .wishlist-items {color: #' . $this->menuColors['wishlist_link_color'] . ';} header#header .top-link-wishlist:hover i, header#header .top-link-wishlist:hover .wishlist-items {color: #' . $this->menuColors['wishlist_link_color_h'] . ';} header#header .top-link-wishlist {background-color: #' . $this->menuColors['wishlist_link_bg'] . ';} /* */ header#header .top-link-wishlist:hover {background-color: #' . $this->menuColors['wishlist_link_bg_h'] . ';} header#header .top-cart .block-title {background-color: #' . $this->menuColors['cart_link_bg'] . ';} header#header .top-cart .block-title .title-cart {color: #' . $this->menuColors['cart_link_color'] . ';} header#header .top-cart .block-title:hover .title-cart, header#header .top-cart .block-title.active .title-cart {color: #' . $this->menuColors['cart_link_color_h'] . ';} header#header .top-cart .block-title:hover, header#header .top-cart .block-title.active {background-color: #' . $this->menuColors['cart_link_bg_h'] . ';} /*====== Category Labels =======*/ .nav-wide#nav-wide li.level-top .category-label.label_one { background-color: #' . $this->catlabelsColors['label_one'] . '; border-color: #' . $this->catlabelsColors['label_one'] . '; color: #' . $this->catlabelsColors['label_one_color'] . '; } .nav-wide#nav-wide li.level-top.over .category-label.label_one { background-color: #' . $this->catlabelsColors['label_one_h'] . '; border-color: #' . $this->catlabelsColors['label_one_h'] . '; color: #' . $this->catlabelsColors['label_one_color_h'] . '; } .nav-wide#nav-wide li.level-top .category-label.label_two { background-color: #' . $this->catlabelsColors['label_two'] . '; border-color: #' . $this->catlabelsColors['label_two'] . '; color: #' . $this->catlabelsColors['label_two_color'] . '; } .nav-wide#nav-wide li.level-top.over .category-label.label_two { background-color: #' . $this->catlabelsColors['label_two_h'] . '; border-color: #' . $this->catlabelsColors['label_two_h'] . '; color: #' . $this->catlabelsColors['label_two_color_h'] . '; } .nav-wide#nav-wide li.level-top .category-label.label_three { background-color: #' . $this->catlabelsColors['label_three'] . '; border-color: #' . $this->catlabelsColors['label_three'] . '; color: #' . $this->catlabelsColors['label_three_color'] . '; } .nav-wide#nav-wide li.level-top.over .category-label.label_three { background-color: #' . $this->catlabelsColors['label_three_h'] . '; border-color: #' . $this->catlabelsColors['label_three_h'] . '; color: #' . $this->catlabelsColors['label_three_color_h'] . '; } /*====== Header =======*/ header#header, header#header .welcome-msg {color: #' . $this->headerColors['text_color'] . ';} header#header a {color: #' . $this->headerColors['link_color'] . ';} header#header a:hover {color: #' . $this->headerColors['link_color_h'] . ';} header#header, body.boxed-layout header#header > .container_12 {background-color: #' . $this->headerColors['header_bg'] . ';} header#header .form-search .indent, header#header .sbHolder a, header#header .sbHolder .sbOptions { background-color: #' . $this->headerColors['search_and_switchers_bg'] . '; border-color: #' . $this->headerColors['search_and_switchers_border'] . '; } header#header .form-search input {border-color: #' . $this->headerColors['search_textfield_border'] . ';} header#header .form-search input, header#header a.sbSelector, header#header .form-search button span i, header#header .sbHolder a {color: #' . $this->headerColors['search_and_switchers_color'] . ';} header#header a.sbSelector span {border-top-color: #' . $this->headerColors['search_and_switchers_color'] . ';} /**** Account ****/ header#header .customer-name, header#header .links li a { color: #' . $this->headerColors['account_link_color'] . '; background-color: #' . $this->headerColors['account_link_bg'] . '; } header#header .customer-name:hover, header#header .links li a:hover { color: #' . $this->headerColors['account_link_color_h'] . '; background-color: #' . $this->headerColors['account_link_bg_h'] . '; } header#header .customer-name + .links {background-color: #' . $this->headerColors['account_sub_bg'] . ';} header#header .customer-name + .links li a { color: #' . $this->headerColors['account_sub_link_color'] . '; background-color: #' . $this->headerColors['account_sub_link_bg'] . '; } header#header .customer-name + .links li a:hover { color: #' . $this->headerColors['account_sub_link_color_h'] . '; background-color: #' . $this->headerColors['account_sub_link_bg_h'] . '; } /*====== Header Slider =======*/ .header-slider-container .iosSlider .slider .item h2 {color: #' . $this->headerSliderColors['title_one'] . ';} .header-slider-container .iosSlider .slider .item h2 span, .header-slider-container .iosSlider .slider .item h4, .header-slider-container .iosSlider .slider .item h5, .header-slider-container .iosSlider .slider .item p, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h2, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 p, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h3, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h2, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h3 {color: #' . $this->headerSliderColors['title_two'] . ';} .header-slider-container .iosSlider .slider .item h3, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h4, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h4 {color: #' . $this->headerSliderColors['title_three'] . ';} .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-2 h3 span, .header-slider-container .iosSlider .slider .item .slide-container.slide-skin-3 h3 span {color: #' . $this->headerSliderColors['title_four'] . ';} .header-slider-container .iosSlider .prev i, .header-slider-container .iosSlider .next i { background-color: #' . $this->headerSliderColors['arrowsbg'] . '; color: #' . $this->headerSliderColors['arrowscolor'] . '; } .header-slider-container .iosSlider .prev:hover i, .header-slider-container .iosSlider .next:hover i { background-color: #' . $this->headerSliderColors['arrowsbg_h'] . '; color: #' . $this->headerSliderColors['arrowscolor_h'] . '; } /*====== Buttons =======*/ header#header .top-cart .block-content .actions .button span, button.button:hover span, .block-compare .actions a:hover, aside.sidebar .block-reorder .actions a:hover, .block-compare .actions button span, .block-reorder .actions button span, aside.sidebar .block.block-wishlist .actions a:hover, .add-to-cart button.button span, aside.sidebar .block-tags .actions a:hover, .cart-remove-box a:hover, .add-to-cart-success a:hover, header#header .top-cart .block-content .actions a:hover {border-color: #' . $this->buttonsColors['buttons_border_h'] . ';} header#header .top-cart .block-content .actions .button span, button.button:hover > span, .block-compare .actions a:hover, aside.sidebar .block-reorder .actions a:hover, .block-compare .actions button span, .block-reorder .actions button span, .add-to-cart button.button span, aside.sidebar .block.block-wishlist .actions a:hover, aside.sidebar .block-tags .actions a:hover, .cart-remove-box a:hover, .add-to-cart-success a:hover, header#header .top-cart .block-content .actions a:hover {background-color: #' . $this->buttonsColors['buttonsbg_h'] . ';} header#header .top-cart .block-content .actions .button span span, button.button:hover span span, .block-compare .actions button span, .block-reorder .actions button span, aside.sidebar .block-reorder .actions a:hover, .add-to-cart button.button span, aside.sidebar .block.block-wishlist .actions a:hover, aside.sidebar .actions a:hover, .cart-remove-box a:hover, .add-to-cart-success a:hover, header#header .top-cart .block-content .actions a:hover {color: #' . $this->buttonsColors['buttons_link_h'] . ';} button.button span, header#header .top-cart .block-content .actions a, aside.sidebar .actions a, .block-reorder .actions button:hover span span, .block-compare .actions button:hover span span, .add-to-cart button.button:hover span span, .cart-remove-box a, .add-to-cart-success a, header#header .top-cart .block-content .actions .button:hover > span span {background-color: #' . $this->buttonsColors['buttonsbg'] . ';} button.button span, header#header .top-cart .block-content .actions a, aside.sidebar .actions a, .block-reorder .actions button:hover > span, .block-compare .actions button:hover > span, .add-to-cart button.button:hover > span, .cart-remove-box a, .add-to-cart-success a, header#header .top-cart .block-content .actions .button:hover > span {border-color: #' . $this->buttonsColors['buttons_border'] . ';} button.button span span, header#header .top-cart .block-content .actions a, aside.sidebar .actions a, .block-reorder .actions button:hover span span, .block-compare .actions button:hover span span, .add-to-cart button.button:hover span span, .cart-remove-box a, .add-to-cart-success a, header#header .top-cart .block-content .actions .button:hover span span {color: #' . $this->buttonsColors['buttons_link'] . ';} button.button span, header#header .top-cart .block-content .actions a, aside.sidebar .actions a, .block-reorder .actions button > span, .block-compare .actions button > span, .add-to-cart button.button > span, .cart-remove-box a, .add-to-cart-success a, .cart .btn-proceed-checkout span {border-width: ' . $this->buttonsColors['buttons_border_width'] . 'px;} /**** Buttons Type 2 ****/ #checkout-coupon-discount-load .discount-form .buttons-set button.button span span, #onepagecheckout_orderform #checkout-review-submit button:hover span span, #login-holder form .actions button span span, .cart-table .buttons-row button.btn-continue span, .my-wishlist .buttons-set .btn-update span, .iwdbutton button.button:hover span, .cart .btn-proceed-checkout:hover span { background-color: #' . $this->buttonsColors['buttons_2_bg'] . '; color: #' . $this->buttonsColors['buttons_2_link'] . '; border-color: #' . $this->buttonsColors['buttons_2_border'] . '; } .iwdbutton button.button:hover span span, .cart .btn-proceed-checkout:hover span span { color: #' . $this->buttonsColors['buttons_2_link'] . '; background-color: #' . $this->buttonsColors['buttons_2_bg'] . '; } #onepagecheckout_orderform #checkout-review-submit button:hover > span, #checkout-coupon-discount-load .discount-form .buttons-set button.button span, #login-holder form .actions button > span {border-color: #' . $this->buttonsColors['buttons_2_border'] . ';} #checkout-coupon-discount-load .discount-form .buttons-set button.button:hover span span, #onepagecheckout_orderform #checkout-review-submit button span span, #login-holder form .actions button:hover span span, .cart-table .buttons-row button.btn-continue:hover span, .my-wishlist .buttons-set .btn-update:hover span, .iwdbutton button.button span, .cart .btn-proceed-checkout span { background-color: #' . $this->buttonsColors['buttons_2_bg_h'] . '; color: #' . $this->buttonsColors['buttons_2_link_h'] . '; border-color: #' . $this->buttonsColors['buttons_2_border_h'] . '; } .iwdbutton button.button span span, .cart .btn-proceed-checkout span span { color: #' . $this->buttonsColors['buttons_2_link_h'] . '; background-color: #' . $this->buttonsColors['buttons_2_bg_h'] . '; } #onepagecheckout_orderform #checkout-review-submit button > span, #checkout-coupon-discount-load .discount-form .buttons-set button.button:hover span, #login-holder form .actions button:hover > span {border-color: #' . $this->buttonsColors['buttons_2_border_h'] . ';} #checkout-coupon-discount-load .discount-form .buttons-set button.button span span, #onepagecheckout_orderform #checkout-review-submit button span span, .cart-table .buttons-row button.btn-continue span, .my-wishlist .buttons-set .btn-update span, #login-holder form .actions button > span, .iwdbutton button.button span, .cart .btn-proceed-checkout span {border-width: ' . $this->buttonsColors['buttons_2_border_width'] . 'px;} /**** Quick View Button ****/ .products-grid button.button.btn-quick-view > span, .products-list button.button.btn-quick-view > span { background-color: rgba(' . MAGE::helper('ThemeOptionsBlacknwhite')->HexToRGB($this->buttonsColors['quick_view_button_bg']) . ', 0.8); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC' . $this->buttonsColors['' . $this->buttonsColors['quick_view_button_bg'] . ''] . ',endColorstr=#CC' . $this->buttonsColors['' . $this->buttonsColors['quick_view_button_bg'] . ''] . '); } .products-grid button.button.btn-quick-view span span, .products-list button.button.btn-quick-view span span {color: #' . $this->buttonsColors['quick_view_button_link'] . ';} .products-grid button.button.btn-quick-view:hover > span, .products-list button.button.btn-quick-view:hover > span {background-color: #' . $this->buttonsColors['quick_view_button_bg_h'] . ';} .products-grid button.button.btn-quick-view:hover span span, .products-list button.button.btn-quick-view:hover span span {color: #' . $this->buttonsColors['quick_view_button_link_h'] . ';} /*====== Products ======*/ .products-list li.item .product-img-box, .products-grid li.item .product-img-box { background-color: #' . $this->productsColors['products_bg'] . '; border-width: ' . $this->productsColors['products_border_width'] . 'px; border-color: #' . $this->productsColors['products_border'] . '; } .products-grid .product-name a, .products-list .product-name a {color: #' . $this->productsColors['products_title_color'] . ';} .products-grid .product-name a:hover, .products-list .product-name a:hover {color: #' . $this->productsColors['products_title_color_h'] . ';} .products-list .desc, .products-grid .desc {color: #' . $this->productsColors['produst_text_color'] . ';} .products-list .desc a, .products-grid .desc a {color: #' . $this->productsColors['products_links_color'] . ';} .products-list .desc a:hover, .products-grid .desc a:hover {color: #' . $this->productsColors['products_links_color_h'] . ';} .price-box .price {color: #' . $this->productsColors['produst_price_color'] . ';} .old-price .price {color: #' . $this->productsColors['produst_old_price_color'] . ';} .special-price .price {color: #' . $this->productsColors['produst_special_price_color'] . ';} .products-grid .price-box { border-color: #' . $this->productsColors['products_divider_color'] . '; border-width: ' . $this->productsColors['products_divider_width'] . 'px; } /**** Product Labels ****/ span.label-new { background-color: #' . $this->productsColors['label_new_bg'] . '; color: #' . $this->productsColors['label_new_color'] . '; } .label-type-5 span.label-new:before{ border-top-color: #' . $this->productsColors['label_new_bg'] . '; } .label-type-5 span.label-new:after{ border-bottom-color: #' . $this->productsColors['label_new_bg'] . '; } div.label-sale, .products-grid .availability-only, .products-list .availability-only { color: #' . $this->productsColors['label_sale_color'] . '; background-color: #' . $this->productsColors['label_sale_bg'] . '; } .label-type-5 div.label-sale:before, .products-grid.label-type-5 .availability-only:before, .products-list.label-type-5 .availability-only:before{ border-top-color: #' . $this->productsColors['label_sale_bg'] . '; } .label-type-5 div.label-sale:after, .products-grid.label-type-5 .availability-only:after, .products-list.label-type-5 .availability-only:after{ border-bottom-color: #' . $this->productsColors['label_sale_bg'] . '; } /*====== Social Links =======*/ ul.social-links li a i { background-color: #' . $this->socialLinksColors['social_links_bg'] . '; color: #' . $this->socialLinksColors['social_links_color'] . '; border-color: #' . $this->socialLinksColors['social_links_border'] . '; border-width: ' . $this->socialLinksColors['social_links_border_width'] . 'px; } ul.social-links li a i:hover { color: #' . $this->socialLinksColors['social_links_color_h'] . '; background-color: #' . $this->socialLinksColors['social_links_bg_h'] . '; border-color: #' . $this->socialLinksColors['social_links_border_h'] . '; } /*====== Footer =======*/ /**** Top Block ****/ #footer .footer-topline, body.boxed-layout #footer .footer-topline .container_12 {background-color: #' . $this->footerColors['footer_top_bg'] . ';} #footer .footer-topline .footer-block-title h2 {color: #' . $this->footerColors['footer_top_title_color'] . ';} #footer .footer-topline .footer-block-title .right-divider { border-color: #' . $this->footerColors['footer_top_title_border'] . '; border-width: ' . $this->footerColors['footer_top_title_border_width'] . 'px; } #footer .footer-topline p, #footer .footer-topline .footer-links li:before, #footer .footer-topline .custom-footer-content.features li > span p {color: #' . $this->footerColors['footer_top_text'] . ';} #footer .footer-topline .custom-footer-content.features li > span h3 {color: #' . $this->footerColors['footer_top_subtitle_color'] . ';} #footer .footer-topline .footer-links ul li a, #footer ul.links li a {color: #' . $this->footerColors['footer_top_link'] . ';} #footer ul.links li a:hover {color: #' . $this->footerColors['footer_top_link_h'] . ';} #footer .footer-topline .footer-links li a:hover, #footer ul.links li:after {background-color: #' . $this->footerColors['footer_top_link_bg_h'] . ';} #footer ul.links li:before {background-color: #' . $this->footerColors['footer_top_link_bg'] . ';} #footer .footer-topline .custom-footer-content.features i { background-color: #' . $this->footerColors['footer_top_icon_bg'] . '; color: #' . $this->footerColors['footer_top_icon_color'] . '; border-color: #' . $this->footerColors['footer_top_icon_border'] . '; } #footer .footer-topline .custom-footer-content.features i:hover { background-color: #' . $this->footerColors['footer_top_icon_bg_h'] . '; color: #' . $this->footerColors['footer_top_icon_color_h'] . '; } /**** Medium Block ****/ #footer .footer-second-line, body.boxed-layout #footer .footer-second-line > .container_12 {background-color: #' . $this->footerColors['footer_medium_bg'] . ';} #footer .footer-second-line .footer-block-title h2 {color: #' . $this->footerColors['footer_medium_title_color'] . ';} #footer .footer-second-line .footer-block-title .right-divider { border-color: #' . $this->footerColors['footer_medium_title_border'] . '; border-width: ' . $this->footerColors['footer_medium_title_border_width'] . 'px; } #footer .footer-second-line .contacts-footer-content label, #footer .footer-second-line .footer-address-block p, #footer .footer-second-line .custom-footer-content.features li > span h3, #footer .footer-second-line p, #footer .footer-second-line .footer-address-block p a, #footer .footer-second-line p a {color: #' . $this->footerColors['footer_medium_text'] . ';} #footer .footer-second-line ul.links li a, #footer .footer-second-line .custom-footer-content.features li > span p, #footer .footer-second-line .footer-links li a, #footer .footer-second-line .footer-links li:before {color: #' . $this->footerColors['footer_medium_link'] . ';} #footer .footer-second-line ul.links li a:hover, #footer .footer-second-line .footer-links li a:hover, #footer .footer-second-line .footer-links li:hover:before {color: #' . $this->footerColors['footer_medium_link_h'] . ';} #footer .footer-second-line ul.links li:before, #footer .footer-second-line .footer-links li a {background-color: #' . $this->footerColors['footer_medium_link_bg'] . ';} #footer .footer-second-line ul.links li:after, #footer .footer-second-line .footer-links li a:hover {background-color: #' . $this->footerColors['footer_medium_link_bg_h'] . ';} /**** Bottom Block ****/ #footer .footer-bottom-wrapper, #footer .footer-bottom-wrapper .container_12 {background-color: #' . $this->footerColors['footer_bottom_bg'] . ';} #footer .footer-bottom-wrapper .custom-footer-content.features li > span h3, #footer .footer-bottom-wrapper .custom-footer-content.features li > span p, #footer .footer-bottom-wrapper, #footer .footer-bottom-wrapper .contacts-footer-content label, #footer .footer-bottom-wrapper address{color: #' . $this->footerColors['footer_bottom_text'] . ';} #footer .footer-bottom-wrapper li a, #footer .footer-bottom-wrapper li a:hover, #footer .footer-bottom-wrapper ul.links li a, #footer .footer-bottom-wrapper ul.links li a:hover, #footer .footer-bottom-wrapper a {color: #' . $this->footerColors['footer_bottom_link'] . ';} #footer .footer-bottom-wrapper .footer-block-title .right-divider{border-bottom-color: #aaa;} #footer .footer-bottom-wrapper .sbSelector:hover > span {border-top-color: #' . $this->footerColors['footer_bottom_link'] . ';} #footer address a:hover, #footer .footer-bottom-wrapper a:hover {color: #' . $this->footerColors['footer_bottom_link_h'] . ';} #footer .footer-bottom-wrapper .sbSelector:hover > span {border-top-color: #' . $this->footerColors['footer_bottom_link_h'] . ';} '; } $this->saveData($css); Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('ThemeOptionsBlacknwhite')->__("CSS file with custom styles has been created")); Mage::getSingleton('adminhtml/session')->addNotice(Mage::helper('ThemeOptionsBlacknwhite')->__('<div class="meigee-please"><a target="_blank" href="http://themeforest.net/downloads"><img src="' . Mage::getBaseUrl('skin') . '/adminhtml/default/blacknwhite/images/rating.png" /></a><h2>Like us</h2> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "facebook-jssdk"));</script> <div class="fb-like" data-href="http://facebook.com/meigeeteam" data-layout="button_count" data-action="like" data-show-faces="false" data-width="200" data-share="true"></div> <a href="https://twitter.com/meigeeteam" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @meigeeteam</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </div>')); return true; }