From 9a4714671694643076a099586ae42fd07749b0cf Mon Sep 17 00:00:00 2001 From: claudiulodro Date: Tue, 15 Aug 2017 14:11:25 -0700 Subject: [PATCH 1/9] Fix discounts rounding issues --- includes/abstracts/abstract-wc-order.php | 4 ++-- includes/class-wc-discounts.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/abstracts/abstract-wc-order.php b/includes/abstracts/abstract-wc-order.php index 50b7539c591..97e778a4252 100644 --- a/includes/abstracts/abstract-wc-order.php +++ b/includes/abstracts/abstract-wc-order.php @@ -909,8 +909,8 @@ abstract class WC_Abstract_Order extends WC_Abstract_Legacy_Order { $item->set_amount( trim( $discount, '%' ) ); $item->set_discount_type( 'percent' ); $this->add_item( $item ); - } elseif ( is_numeric( $discount ) && 0 < absint( $discount ) ) { - $item->set_amount( absint( $discount ) ); + } elseif ( is_numeric( $discount ) && 0 < floatval( $discount ) ) { + $item->set_amount( floatval( $discount ) ); $item->set_discount_type( 'fixed' ); $this->add_item( $item ); } diff --git a/includes/class-wc-discounts.php b/includes/class-wc-discounts.php index 1b9c542adb2..56d52964d12 100644 --- a/includes/class-wc-discounts.php +++ b/includes/class-wc-discounts.php @@ -295,9 +295,9 @@ class WC_Discounts { if ( strstr( $raw_discount, '%' ) ) { $discount->set_discount_type( 'percent' ); $discount->set_amount( trim( $raw_discount, '%' ) ); - } elseif ( is_numeric( $raw_discount ) && 0 < absint( $raw_discount ) ) { + } elseif ( is_numeric( $raw_discount ) && 0 < floatval( $raw_discount ) ) { $discount->set_discount_type( 'fixed' ); - $discount->set_amount( wc_add_number_precision( absint( $raw_discount ) ) ); + $discount->set_amount( wc_add_number_precision( floatval( $raw_discount ) ) ); } if ( ! $discount->get_amount() ) { From 0087536296d694c0632626245a59554bb83f171b Mon Sep 17 00:00:00 2001 From: Rami Yushuvaev Date: Wed, 16 Aug 2017 00:22:46 +0300 Subject: [PATCH 2/9] i18n: Simpler translation string with placeholders Replace: `WC_Logger::log was called with an invalid level "%s".` With: `%1$s was called with an invalid level "%2$s".` --- includes/class-wc-logger.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/class-wc-logger.php b/includes/class-wc-logger.php index 6dff663e836..53285b4601f 100644 --- a/includes/class-wc-logger.php +++ b/includes/class-wc-logger.php @@ -126,7 +126,8 @@ class WC_Logger implements WC_Logger_Interface { */ public function log( $level, $message, $context = array() ) { if ( ! WC_Log_Levels::is_valid_level( $level ) ) { - wc_doing_it_wrong( __METHOD__, sprintf( __( 'WC_Logger::log was called with an invalid level "%s".', 'woocommerce' ), $level ), '3.0' ); + /* translators: 1: WC_Logger::log 2: level */ + wc_doing_it_wrong( __METHOD__, sprintf( __( '%1$s was called with an invalid level "%2$s".', 'woocommerce' ), 'WC_Logger::log', $level ), '3.0' ); } if ( $this->should_handle( $level ) ) { From d1f4acc7305e0d8fa9091587a0bacc247936b45f Mon Sep 17 00:00:00 2001 From: Rami Yushuvaev Date: Wed, 16 Aug 2017 00:26:14 +0300 Subject: [PATCH 3/9] i18n: Simpler translation string with placeholders Replace: `wc_get_product should not be called before the woocommerce_init action.` With: `%1$s should not be called before the %2$s action.` --- includes/wc-product-functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/wc-product-functions.php b/includes/wc-product-functions.php index e95ec07c3d5..8e124b2de33 100644 --- a/includes/wc-product-functions.php +++ b/includes/wc-product-functions.php @@ -58,7 +58,8 @@ function wc_get_products( $args ) { */ function wc_get_product( $the_product = false, $deprecated = array() ) { if ( ! did_action( 'woocommerce_init' ) ) { - wc_doing_it_wrong( __FUNCTION__, __( 'wc_get_product should not be called before the woocommerce_init action.', 'woocommerce' ), '2.5' ); + /* translators: 1: wc_get_product 2: woocommerce_init */ + wc_doing_it_wrong( __FUNCTION__, sprintf( __( '%1$s should not be called before the %2$s action.', 'woocommerce' ), 'wc_get_product', 'woocommerce_init' ), '2.5' ); return false; } if ( ! empty( $deprecated ) ) { From 43744e4f272feb91659547a3949eb2296e5eec03 Mon Sep 17 00:00:00 2001 From: Rami Yushuvaev Date: Wed, 16 Aug 2017 00:32:36 +0300 Subject: [PATCH 4/9] i18n: Merge two similar translation strings Replace: `wp_remote_get() failed. Contact your hosting provider.` `wp_remote_post() failed. Contact your hosting provider.` With: `%s failed. Contact your hosting provider.` Note: This also a good practice because the function name is outside of the translation string, this way the translator can't misspell the function name. --- includes/admin/views/html-admin-page-status-report.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index b1e06a17003..fcfa3c5667c 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -263,7 +263,7 @@ $pages = $system_status->get_pages(); if ( $environment['remote_post_successful'] ) { echo ''; } else { - echo ' ' . __( 'wp_remote_post() failed. Contact your hosting provider.', 'woocommerce' ) . ' ' . esc_html( $environment['remote_post_response'] ) . ''; + echo ' ' . sprintf( __( '%s failed. Contact your hosting provider.', 'woocommerce' ), 'wp_remote_post()' ) . ' ' . esc_html( $environment['remote_post_response'] ) . ''; } ?> @@ -274,7 +274,7 @@ $pages = $system_status->get_pages(); if ( $environment['remote_get_successful'] ) { echo ''; } else { - echo ' ' . __( 'wp_remote_get() failed. Contact your hosting provider.', 'woocommerce' ) . ' ' . esc_html( $environment['remote_get_response'] ) . ''; + echo ' ' . sprintf( __( '%s failed. Contact your hosting provider.', 'woocommerce' ), 'wp_remote_get()' ) . ' ' . esc_html( $environment['remote_get_response'] ) . ''; } ?> From 125ead910a75eab26de61c46545e5147c615d640 Mon Sep 17 00:00:00 2001 From: Rami Yushuvaev Date: Wed, 16 Aug 2017 00:42:32 +0300 Subject: [PATCH 5/9] i18n: Simpler translation string with placeholders One more... replacing function name with `%s` placeholder, this way translators can't misspell the function name. --- includes/vendor/abstract-wp-rest-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/vendor/abstract-wp-rest-controller.php b/includes/vendor/abstract-wp-rest-controller.php index 779a88bf7f0..fa483b20812 100644 --- a/includes/vendor/abstract-wp-rest-controller.php +++ b/includes/vendor/abstract-wp-rest-controller.php @@ -27,7 +27,7 @@ abstract class WP_REST_Controller { * Register the routes for the objects of the controller. */ public function register_routes() { - wc_doing_it_wrong( 'WP_REST_Controller::register_routes', __( 'The register_routes() method must be overridden', 'woocommerce' ), 'WPAPI-2.0' ); + wc_doing_it_wrong( 'WP_REST_Controller::register_routes', sprintf( __( "Method '%s' must be overridden.", 'woocommerce' ), 'register_routes()' ), 'WPAPI-2.0' ); } /** From a2740cf7a55ebc91c2438a71374745f2e5e96428 Mon Sep 17 00:00:00 2001 From: James Koster Date: Wed, 16 Aug 2017 10:20:14 +0100 Subject: [PATCH 6/9] Fix disappearing image when zoomed on touch devices --- assets/css/twenty-seventeen-rtl.css | 2 +- assets/css/twenty-seventeen.css | 2 +- assets/css/twenty-seventeen.scss | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/css/twenty-seventeen-rtl.css b/assets/css/twenty-seventeen-rtl.css index 93b541a63be..d176db16044 100644 --- a/assets/css/twenty-seventeen-rtl.css +++ b/assets/css/twenty-seventeen-rtl.css @@ -1 +1 @@ -@charset "UTF-8";@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}.woocommerce-breadcrumb{padding-bottom:2em;margin-bottom:4em;border-bottom:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-breadcrumb a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-breadcrumb a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-pagination{padding-top:2em;margin-top:4em;border-top:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-pagination ul.page-numbers{padding:0;display:block}.woocommerce-pagination .next.page-numbers,.woocommerce-pagination .prev.page-numbers,.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{padding:.5em 1em;background:#ddd;display:inline-block;font-size:1em;float:none;line-height:1.5;border-radius:2px;-webkit-transition:background-color ease-in-out .3s;transition:background-color ease-in-out .3s}.woocommerce-pagination span.page-numbers{background-color:#fff}.woocommerce-pagination a.page-numbers:hover{background-color:#767676;color:#fff}.onsale{background-color:#fff;position:absolute;top:0;right:0;display:inline-block;padding:.5em 1em;font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800}.price del{opacity:.5}.required{color:#b22222}.required[title]{border-bottom:none}.woocommerce-error,.woocommerce-info,.woocommerce-message{margin-bottom:1.5em;padding:2em;background:#eee}.woocommerce-message{background:teal;color:#fff}.woocommerce-error{background:#b22222;color:#fff}.woocommerce-info{background:#4169e1;color:#fff}.woocommerce-error a,.woocommerce-info a,.woocommerce-message a{color:#fff;box-shadow:0 1px 0 #fff!important;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-error a:hover,.woocommerce-info a:hover,.woocommerce-message a:hover{color:#fff!important;box-shadow:0 3px 0 #fff!important}.woocommerce-store-notice{background:#4169e1;color:#fff;padding:1em;position:absolute;top:0;right:0;width:100%;z-index:999}.admin-bar .woocommerce-store-notice{top:32px}.woocommerce-store-notice__dismiss-link{float:left;color:#fff}.woocommerce-store-notice__dismiss-link:hover{text-decoration:underline;color:#fff}.woocommerce-result-count{padding:.75em 0}ul.products li.product{list-style:none}ul.products li.product .price,ul.products li.product .star-rating{display:block;margin-bottom:.75em}ul.products li.product .button{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}ul.products li.product .button:hover{box-shadow:0 3px 0 #0f0f0f}ul.products li.product .button.loading{opacity:.5}ul.products li.product .added_to_cart{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms;margin-right:.5em}ul.products li.product .added_to_cart:hover{box-shadow:0 3px 0 #0f0f0f}.star-rating{overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.star-rating::before{content:'\73\73\73\73\73';float:right;top:0;right:0;position:absolute}.star-rating span{overflow:hidden;float:right;top:0;right:0;position:absolute;padding-top:1.5em}.star-rating span::before{content:'\53\53\53\53\53';top:0;position:absolute;right:0}.woocommerce-loop-product__title{font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800;letter-spacing:.15em}a.remove{display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;box-shadow:none!important;border:1px solid #000}a.remove:hover{background:#000;color:#fff!important}.wc-item-meta,dl.variation{list-style:none outside}.wc-item-meta .wc-item-meta-label,.wc-item-meta dt,dl.variation .wc-item-meta-label,dl.variation dt{float:right;clear:both;margin-left:.25em;display:inline-block;list-style:none outside}.wc-item-meta dd,dl.variation dd{margin:0}.wc-item-meta p,.wc-item-meta:last-child,dl.variation p,dl.variation:last-child{margin-bottom:0}.single-product div.product{position:relative}.single-product .single-featured-image-header{display:none}.single-product .summary{margin-bottom:3em}.single-product .summary p.price{margin-bottom:2em}.single-product .woocommerce-product-rating{margin-bottom:2em;line-height:1}.single-product .woocommerce-product-rating .star-rating{float:right;margin-left:.25em}.single-product form.cart .quantity{float:right;margin-left:.5em}.single-product form.cart input{width:5em}.single-product .woocommerce-variation-add-to-cart .button{padding-top:.72em;padding-bottom:.72em}.single-product .woocommerce-variation-add-to-cart .button.disabled{opacity:.2}table.variations label{margin:0}table.variations select{margin-left:.5em}.woocommerce-product-gallery{position:relative;margin-bottom:3em}.woocommerce-product-gallery figure{margin:0;padding:0}.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin:0;padding:0}.woocommerce-product-gallery .zoomImg{background-color:#fff}.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2){width:25%;display:inline-block}.woocommerce-product-gallery .flex-control-thumbs li{list-style:none;float:right;cursor:pointer}.woocommerce-product-gallery .flex-control-thumbs img{opacity:.5}.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}.woocommerce-product-gallery img{display:block}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li{width:33.3333%}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1){clear:right}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li{width:25%}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1){clear:right}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li{width:20%}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1){clear:right}.woocommerce-product-gallery__trigger{position:absolute;top:1em;left:1em;z-index:99}.woocommerce-tabs{margin-bottom:2em}.woocommerce-tabs li{margin-left:1em}.woocommerce-tabs li.active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-tabs a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs #comments{padding-top:0}.woocommerce-tabs .comment-reply-title{font-size:22px;font-size:1.375rem;font-weight:300;line-height:1.4;margin:0 0 .75em;display:block}.woocommerce-tabs #reviews li.comment,.woocommerce-tabs #reviews li.review{list-style:none;margin-left:0;margin-bottom:2.5em}.woocommerce-tabs #reviews li.comment .avatar,.woocommerce-tabs #reviews li.review .avatar{max-height:36px;width:auto;float:left}.woocommerce-tabs #reviews li.comment p.meta,.woocommerce-tabs #reviews li.review p.meta{margin-bottom:.5em}.woocommerce-tabs #reviews p.stars a{position:relative;height:1em;width:1em;text-indent:-999em;display:inline-block;text-decoration:none;box-shadow:none}.woocommerce-tabs #reviews p.stars a::before{display:block;position:absolute;top:0;right:0;width:1em;height:1em;line-height:1;font-family:WooCommerce;content:'\e021';text-indent:0}.woocommerce-tabs #reviews p.stars a:hover~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars:hover a::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars.selected a:not(.active)::before{content:'\e020'}button.pswp__button,button.pswp__button--arrow--left::before,button.pswp__button--arrow--right::before,button.pswp__button:hover{background-color:transparent!important}button.pswp__button--close:hover{background-position:100% -44px}button.pswp__button--zoom:hover{background-position:-88px 0}.site-footer .widget .product_list_widget,.widget .product_list_widget{margin-bottom:1.5em}.site-footer .widget .product_list_widget a,.widget .product_list_widget a{display:block;box-shadow:none}.site-footer .widget .product_list_widget a:hover,.widget .product_list_widget a:hover{box-shadow:none}.site-footer .widget .product_list_widget li,.widget .product_list_widget li{padding:1.5em 0}.site-footer .widget .product_list_widget li a.remove,.widget .product_list_widget li a.remove{float:left;margin-top:2px}.site-footer .widget .product_list_widget img,.widget .product_list_widget img{display:none}.widget_shopping_cart .buttons a{display:inline-block;margin:0 0 0 .5em}.widget_layered_nav .chosen:before{content:"×";display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;border:1px solid #000;margin-left:.25em}.widget_price_filter .price_slider{margin-bottom:1em}.widget_price_filter .price_slider_amount{text-align:left;line-height:2.4;font-size:.8751em}.widget_price_filter .price_slider_amount .button{float:right;padding:.4em 1em}.widget_price_filter .ui-slider{position:relative;text-align:right;margin-right:.5em;margin-left:.5em}.widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#000;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-right:-.5em}.widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#000}.widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#666;border:0}.widget_price_filter .ui-slider-horizontal{height:.5em}.widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.widget_price_filter .ui-slider-horizontal .ui-slider-range-min{right:-1px}.widget_price_filter .ui-slider-horizontal .ui-slider-range-max{left:-1px}.widget_rating_filter li{text-align:left}.widget_rating_filter li .star-rating{float:right;margin-top:.3em}.widget_product_search form{position:relative}.widget_product_search .search-field{padding-left:100px}.widget_product_search input[type=submit]{position:absolute;top:.5em;left:.5em;padding-right:1em;padding-left:1em}.woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:25%;border-top:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none;padding:.5em 0;border-bottom:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li a{box-shadow:none}.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-navigation li:before{content:"→";display:inline-block;margin-left:.25em;color:#ddd}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-content{float:right}.woocommerce-cart-form td{padding:1em .5em}.woocommerce-cart-form img{max-width:42px;height:auto;display:block}.woocommerce-cart-form dl.variation{margin-top:0}.woocommerce-cart-form dl.variation p,.woocommerce-cart-form dl.variation:last-child{margin-bottom:0}.woocommerce-cart-form .button{padding:1.2em 2em}.woocommerce-cart-form .actions .input-text{width:130px!important;float:right;margin-left:.25em}.woocommerce-cart-form .quantity input{width:4em}#shipping_method{list-style:none;margin-top:1em}#shipping_method li{margin-bottom:.5em}#shipping_method li input{float:right}#shipping_method li label{line-height:1.15}.checkout-button{display:block;padding:1em 2em;border:2px solid #000;text-align:center;font-weight:800;box-shadow:none!important}.checkout-button:hover{box-shadow:none!important;border-color:#999}.checkout-button:after{content:"→"}#ship-to-different-address label{font-weight:300;cursor:pointer}#ship-to-different-address label span{position:relative;display:block}#ship-to-different-address label span:before{content:"";display:block;height:16px;width:30px;border:2px solid #bbb;background:#bbb;border-radius:13em;box-sizing:content-box;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;position:absolute;top:4px;left:0}#ship-to-different-address label span:after{content:"";display:block;width:14px;height:14px;background:#fff;position:absolute;top:7px;left:17px;border-radius:13em;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s}#ship-to-different-address label input[type=checkbox]{display:none}#ship-to-different-address label input[type=checkbox]:checked+span:after{left:3px}#ship-to-different-address label input[type=checkbox]:checked+span:before{border-color:#000;background:#000}.woocommerce-terms-and-conditions{border:1px solid rgba(0,0,0,.2);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);background:rgba(0,0,0,.05)}.woocommerce-checkout .select2-choice,.woocommerce-checkout .select2-choice:hover{box-shadow:none!important}.woocommerce-checkout .select2-choice{padding:.7em .7em .7em 0}.woocommerce-checkout .select2-container .select2-selection--single{height:48px}.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:48px}.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}.woocommerce-checkout .select2-container--focus .select2-selection{border-color:#000}.woocommerce-checkout-review-order-table td{padding:1em .5em}.woocommerce-checkout-review-order-table dl.variation{margin:0}.woocommerce-checkout-review-order-table dl.variation p{margin:0}.wc_payment_method{list-style:none;border-bottom:1px solid #ddd}.wc_payment_method .payment_box{padding:2em;background:#eee}.wc_payment_method .payment_box ol:last-of-type,.wc_payment_method .payment_box ul:last-of-type{margin-bottom:0}.wc_payment_method .payment_box fieldset{padding:1.5em;padding-bottom:0;border:0;background:#f6f6f6}.wc_payment_method .payment_box li{list-style:none}.wc_payment_method .payment_box p:last-child{margin-bottom:0}.wc_payment_method>label:first-of-type{margin:1em 0}.wc_payment_method>label:first-of-type img{max-height:24px;max-width:200px;float:left}.wc_payment_method label{cursor:pointer}.wc_payment_method input.input-radio[name=payment_method]{display:none}.wc_payment_method input.input-radio[name=payment_method]+label:before{content:"";display:inline-block;width:16px;height:16px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-right:4px;margin-left:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}.wc_payment_method input.input-radio[name=payment_method]:checked+label:before{background:#000}.colors-dark .page-numbers{color:#444}.colors-dark .page-numbers.next,.colors-dark .page-numbers.prev{color:#ddd}.colors-dark .checkout-button{border:2px solid #555}.colors-dark .checkout-button:hover{border-color:#fff}.colors-dark .wc_payment_method .payment_box{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__options{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__option[data-selected=true]{color:#333}.colors-dark .select2-container--default .select2-selection--single{background-color:#333;border:1px solid #555}.colors-dark .select2-container--default .select2-selection--single .select2-selection__rendered{color:#ccc}.colors-dark .select2-container--focus .select2-selection{border-color:#fff}@media screen and (min-width:48em){.has-sidebar.woocommerce-page:not(.error404) #primary{width:74%}.has-sidebar.woocommerce-page:not(.error404) #secondary{width:20%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-header{width:16%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-content{width:78%}} \ No newline at end of file +@charset "UTF-8";@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}.woocommerce-breadcrumb{padding-bottom:2em;margin-bottom:4em;border-bottom:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-breadcrumb a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-breadcrumb a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-pagination{padding-top:2em;margin-top:4em;border-top:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-pagination ul.page-numbers{padding:0;display:block}.woocommerce-pagination .next.page-numbers,.woocommerce-pagination .prev.page-numbers,.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{padding:.5em 1em;background:#ddd;display:inline-block;font-size:1em;float:none;line-height:1.5;border-radius:2px;-webkit-transition:background-color ease-in-out .3s;transition:background-color ease-in-out .3s}.woocommerce-pagination span.page-numbers{background-color:#fff}.woocommerce-pagination a.page-numbers:hover{background-color:#767676;color:#fff}.onsale{background-color:#fff;position:absolute;top:0;right:0;display:inline-block;padding:.5em 1em;font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800}.price del{opacity:.5}.required{color:#b22222}.required[title]{border-bottom:none}.woocommerce-error,.woocommerce-info,.woocommerce-message{margin-bottom:1.5em;padding:2em;background:#eee}.woocommerce-message{background:teal;color:#fff}.woocommerce-error{background:#b22222;color:#fff}.woocommerce-info{background:#4169e1;color:#fff}.woocommerce-error a,.woocommerce-info a,.woocommerce-message a{color:#fff;box-shadow:0 1px 0 #fff!important;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-error a:hover,.woocommerce-info a:hover,.woocommerce-message a:hover{color:#fff!important;box-shadow:0 3px 0 #fff!important}.woocommerce-store-notice{background:#4169e1;color:#fff;padding:1em;position:absolute;top:0;right:0;width:100%;z-index:999}.admin-bar .woocommerce-store-notice{top:32px}.woocommerce-store-notice__dismiss-link{float:left;color:#fff}.woocommerce-store-notice__dismiss-link:hover{text-decoration:underline;color:#fff}.woocommerce-result-count{padding:.75em 0}ul.products li.product{list-style:none}ul.products li.product .price,ul.products li.product .star-rating{display:block;margin-bottom:.75em}ul.products li.product .button{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}ul.products li.product .button:hover{box-shadow:0 3px 0 #0f0f0f}ul.products li.product .button.loading{opacity:.5}ul.products li.product .added_to_cart{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms;margin-right:.5em}ul.products li.product .added_to_cart:hover{box-shadow:0 3px 0 #0f0f0f}.star-rating{overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.star-rating::before{content:'\73\73\73\73\73';float:right;top:0;right:0;position:absolute}.star-rating span{overflow:hidden;float:right;top:0;right:0;position:absolute;padding-top:1.5em}.star-rating span::before{content:'\53\53\53\53\53';top:0;position:absolute;right:0}.woocommerce-loop-product__title{font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800;letter-spacing:.15em}a.remove{display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;box-shadow:none!important;border:1px solid #000}a.remove:hover{background:#000;color:#fff!important}.wc-item-meta,dl.variation{list-style:none outside}.wc-item-meta .wc-item-meta-label,.wc-item-meta dt,dl.variation .wc-item-meta-label,dl.variation dt{float:right;clear:both;margin-left:.25em;display:inline-block;list-style:none outside}.wc-item-meta dd,dl.variation dd{margin:0}.wc-item-meta p,.wc-item-meta:last-child,dl.variation p,dl.variation:last-child{margin-bottom:0}.single-product div.product{position:relative}.single-product .single-featured-image-header{display:none}.single-product .summary{margin-bottom:3em}.single-product .summary p.price{margin-bottom:2em}.single-product .woocommerce-product-rating{margin-bottom:2em;line-height:1}.single-product .woocommerce-product-rating .star-rating{float:right;margin-left:.25em}.single-product form.cart .quantity{float:right;margin-left:.5em}.single-product form.cart input{width:5em}.single-product .woocommerce-variation-add-to-cart .button{padding-top:.72em;padding-bottom:.72em}.single-product .woocommerce-variation-add-to-cart .button.disabled{opacity:.2}table.variations label{margin:0}table.variations select{margin-left:.5em}.woocommerce-product-gallery{position:relative;margin-bottom:3em}.woocommerce-product-gallery figure{margin:0;padding:0}.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin:0;padding:0}.woocommerce-product-gallery .zoomImg{background-color:#fff}.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2){width:25%;display:inline-block}.woocommerce-product-gallery .flex-control-thumbs li{list-style:none;float:right;cursor:pointer}.woocommerce-product-gallery .flex-control-thumbs img{opacity:.5}.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}.woocommerce-product-gallery img{display:block}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li{width:33.3333%}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1){clear:right}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li{width:25%}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1){clear:right}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li{width:20%}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1){clear:right}.woocommerce-product-gallery__trigger{position:absolute;top:1em;left:1em;z-index:99}.woocommerce-tabs{margin-bottom:2em}.woocommerce-tabs li{margin-left:1em}.woocommerce-tabs li.active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-tabs a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs #comments{padding-top:0}.woocommerce-tabs .comment-reply-title{font-size:22px;font-size:1.375rem;font-weight:300;line-height:1.4;margin:0 0 .75em;display:block}.woocommerce-tabs #reviews li.comment,.woocommerce-tabs #reviews li.review{list-style:none;margin-left:0;margin-bottom:2.5em}.woocommerce-tabs #reviews li.comment .avatar,.woocommerce-tabs #reviews li.review .avatar{max-height:36px;width:auto;float:left}.woocommerce-tabs #reviews li.comment p.meta,.woocommerce-tabs #reviews li.review p.meta{margin-bottom:.5em}.woocommerce-tabs #reviews p.stars a{position:relative;height:1em;width:1em;text-indent:-999em;display:inline-block;text-decoration:none;box-shadow:none}.woocommerce-tabs #reviews p.stars a::before{display:block;position:absolute;top:0;right:0;width:1em;height:1em;line-height:1;font-family:WooCommerce;content:'\e021';text-indent:0}.woocommerce-tabs #reviews p.stars a:hover~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars:hover a::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars.selected a:not(.active)::before{content:'\e020'}button.pswp__button,button.pswp__button--arrow--left::before,button.pswp__button--arrow--right::before,button.pswp__button:hover{background-color:transparent!important}button.pswp__button--close:hover{background-position:100% -44px}button.pswp__button--zoom:hover{background-position:-88px 0}.pswp img{max-width:none}.site-footer .widget .product_list_widget,.widget .product_list_widget{margin-bottom:1.5em}.site-footer .widget .product_list_widget a,.widget .product_list_widget a{display:block;box-shadow:none}.site-footer .widget .product_list_widget a:hover,.widget .product_list_widget a:hover{box-shadow:none}.site-footer .widget .product_list_widget li,.widget .product_list_widget li{padding:1.5em 0}.site-footer .widget .product_list_widget li a.remove,.widget .product_list_widget li a.remove{float:left;margin-top:2px}.site-footer .widget .product_list_widget img,.widget .product_list_widget img{display:none}.widget_shopping_cart .buttons a{display:inline-block;margin:0 0 0 .5em}.widget_layered_nav .chosen:before{content:"×";display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;border:1px solid #000;margin-left:.25em}.widget_price_filter .price_slider{margin-bottom:1em}.widget_price_filter .price_slider_amount{text-align:left;line-height:2.4;font-size:.8751em}.widget_price_filter .price_slider_amount .button{float:right;padding:.4em 1em}.widget_price_filter .ui-slider{position:relative;text-align:right;margin-right:.5em;margin-left:.5em}.widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#000;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-right:-.5em}.widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#000}.widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#666;border:0}.widget_price_filter .ui-slider-horizontal{height:.5em}.widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.widget_price_filter .ui-slider-horizontal .ui-slider-range-min{right:-1px}.widget_price_filter .ui-slider-horizontal .ui-slider-range-max{left:-1px}.widget_rating_filter li{text-align:left}.widget_rating_filter li .star-rating{float:right;margin-top:.3em}.widget_product_search form{position:relative}.widget_product_search .search-field{padding-left:100px}.widget_product_search input[type=submit]{position:absolute;top:.5em;left:.5em;padding-right:1em;padding-left:1em}.woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:25%;border-top:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none;padding:.5em 0;border-bottom:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li a{box-shadow:none}.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-navigation li:before{content:"→";display:inline-block;margin-left:.25em;color:#ddd}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-content{float:right}.woocommerce-cart-form td{padding:1em .5em}.woocommerce-cart-form img{max-width:42px;height:auto;display:block}.woocommerce-cart-form dl.variation{margin-top:0}.woocommerce-cart-form dl.variation p,.woocommerce-cart-form dl.variation:last-child{margin-bottom:0}.woocommerce-cart-form .button{padding:1.2em 2em}.woocommerce-cart-form .actions .input-text{width:130px!important;float:right;margin-left:.25em}.woocommerce-cart-form .quantity input{width:4em}#shipping_method{list-style:none;margin-top:1em}#shipping_method li{margin-bottom:.5em}#shipping_method li input{float:right}#shipping_method li label{line-height:1.15}.checkout-button{display:block;padding:1em 2em;border:2px solid #000;text-align:center;font-weight:800;box-shadow:none!important}.checkout-button:hover{box-shadow:none!important;border-color:#999}.checkout-button:after{content:"→"}#ship-to-different-address label{font-weight:300;cursor:pointer}#ship-to-different-address label span{position:relative;display:block}#ship-to-different-address label span:before{content:"";display:block;height:16px;width:30px;border:2px solid #bbb;background:#bbb;border-radius:13em;box-sizing:content-box;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;position:absolute;top:4px;left:0}#ship-to-different-address label span:after{content:"";display:block;width:14px;height:14px;background:#fff;position:absolute;top:7px;left:17px;border-radius:13em;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s}#ship-to-different-address label input[type=checkbox]{display:none}#ship-to-different-address label input[type=checkbox]:checked+span:after{left:3px}#ship-to-different-address label input[type=checkbox]:checked+span:before{border-color:#000;background:#000}.woocommerce-terms-and-conditions{border:1px solid rgba(0,0,0,.2);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);background:rgba(0,0,0,.05)}.woocommerce-checkout .select2-choice,.woocommerce-checkout .select2-choice:hover{box-shadow:none!important}.woocommerce-checkout .select2-choice{padding:.7em .7em .7em 0}.woocommerce-checkout .select2-container .select2-selection--single{height:48px}.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:48px}.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}.woocommerce-checkout .select2-container--focus .select2-selection{border-color:#000}.woocommerce-checkout-review-order-table td{padding:1em .5em}.woocommerce-checkout-review-order-table dl.variation{margin:0}.woocommerce-checkout-review-order-table dl.variation p{margin:0}.wc_payment_method{list-style:none;border-bottom:1px solid #ddd}.wc_payment_method .payment_box{padding:2em;background:#eee}.wc_payment_method .payment_box ol:last-of-type,.wc_payment_method .payment_box ul:last-of-type{margin-bottom:0}.wc_payment_method .payment_box fieldset{padding:1.5em;padding-bottom:0;border:0;background:#f6f6f6}.wc_payment_method .payment_box li{list-style:none}.wc_payment_method .payment_box p:last-child{margin-bottom:0}.wc_payment_method>label:first-of-type{margin:1em 0}.wc_payment_method>label:first-of-type img{max-height:24px;max-width:200px;float:left}.wc_payment_method label{cursor:pointer}.wc_payment_method input.input-radio[name=payment_method]{display:none}.wc_payment_method input.input-radio[name=payment_method]+label:before{content:"";display:inline-block;width:16px;height:16px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-right:4px;margin-left:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}.wc_payment_method input.input-radio[name=payment_method]:checked+label:before{background:#000}.colors-dark .page-numbers{color:#444}.colors-dark .page-numbers.next,.colors-dark .page-numbers.prev{color:#ddd}.colors-dark .checkout-button{border:2px solid #555}.colors-dark .checkout-button:hover{border-color:#fff}.colors-dark .wc_payment_method .payment_box{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__options{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__option[data-selected=true]{color:#333}.colors-dark .select2-container--default .select2-selection--single{background-color:#333;border:1px solid #555}.colors-dark .select2-container--default .select2-selection--single .select2-selection__rendered{color:#ccc}.colors-dark .select2-container--focus .select2-selection{border-color:#fff}@media screen and (min-width:48em){.has-sidebar.woocommerce-page:not(.error404) #primary{width:74%}.has-sidebar.woocommerce-page:not(.error404) #secondary{width:20%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-header{width:16%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-content{width:78%}} \ No newline at end of file diff --git a/assets/css/twenty-seventeen.css b/assets/css/twenty-seventeen.css index 930f51c21e4..51e365f88c7 100644 --- a/assets/css/twenty-seventeen.css +++ b/assets/css/twenty-seventeen.css @@ -1 +1 @@ -@charset "UTF-8";@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}.woocommerce-breadcrumb{padding-bottom:2em;margin-bottom:4em;border-bottom:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-breadcrumb a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-breadcrumb a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-pagination{padding-top:2em;margin-top:4em;border-top:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-pagination ul.page-numbers{padding:0;display:block}.woocommerce-pagination .next.page-numbers,.woocommerce-pagination .prev.page-numbers,.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{padding:.5em 1em;background:#ddd;display:inline-block;font-size:1em;float:none;line-height:1.5;border-radius:2px;-webkit-transition:background-color ease-in-out .3s;transition:background-color ease-in-out .3s}.woocommerce-pagination span.page-numbers{background-color:#fff}.woocommerce-pagination a.page-numbers:hover{background-color:#767676;color:#fff}.onsale{background-color:#fff;position:absolute;top:0;left:0;display:inline-block;padding:.5em 1em;font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800}.price del{opacity:.5}.required{color:#b22222}.required[title]{border-bottom:none}.woocommerce-error,.woocommerce-info,.woocommerce-message{margin-bottom:1.5em;padding:2em;background:#eee}.woocommerce-message{background:teal;color:#fff}.woocommerce-error{background:#b22222;color:#fff}.woocommerce-info{background:#4169e1;color:#fff}.woocommerce-error a,.woocommerce-info a,.woocommerce-message a{color:#fff;box-shadow:0 1px 0 #fff!important;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-error a:hover,.woocommerce-info a:hover,.woocommerce-message a:hover{color:#fff!important;box-shadow:0 3px 0 #fff!important}.woocommerce-store-notice{background:#4169e1;color:#fff;padding:1em;position:absolute;top:0;left:0;width:100%;z-index:999}.admin-bar .woocommerce-store-notice{top:32px}.woocommerce-store-notice__dismiss-link{float:right;color:#fff}.woocommerce-store-notice__dismiss-link:hover{text-decoration:underline;color:#fff}.woocommerce-result-count{padding:.75em 0}ul.products li.product{list-style:none}ul.products li.product .price,ul.products li.product .star-rating{display:block;margin-bottom:.75em}ul.products li.product .button{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}ul.products li.product .button:hover{box-shadow:0 3px 0 #0f0f0f}ul.products li.product .button.loading{opacity:.5}ul.products li.product .added_to_cart{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms;margin-left:.5em}ul.products li.product .added_to_cart:hover{box-shadow:0 3px 0 #0f0f0f}.star-rating{overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.star-rating::before{content:'\73\73\73\73\73';float:left;top:0;left:0;position:absolute}.star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.star-rating span::before{content:'\53\53\53\53\53';top:0;position:absolute;left:0}.woocommerce-loop-product__title{font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800;letter-spacing:.15em}a.remove{display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;box-shadow:none!important;border:1px solid #000}a.remove:hover{background:#000;color:#fff!important}.wc-item-meta,dl.variation{list-style:none outside}.wc-item-meta .wc-item-meta-label,.wc-item-meta dt,dl.variation .wc-item-meta-label,dl.variation dt{float:left;clear:both;margin-right:.25em;display:inline-block;list-style:none outside}.wc-item-meta dd,dl.variation dd{margin:0}.wc-item-meta p,.wc-item-meta:last-child,dl.variation p,dl.variation:last-child{margin-bottom:0}.single-product div.product{position:relative}.single-product .single-featured-image-header{display:none}.single-product .summary{margin-bottom:3em}.single-product .summary p.price{margin-bottom:2em}.single-product .woocommerce-product-rating{margin-bottom:2em;line-height:1}.single-product .woocommerce-product-rating .star-rating{float:left;margin-right:.25em}.single-product form.cart .quantity{float:left;margin-right:.5em}.single-product form.cart input{width:5em}.single-product .woocommerce-variation-add-to-cart .button{padding-top:.72em;padding-bottom:.72em}.single-product .woocommerce-variation-add-to-cart .button.disabled{opacity:.2}table.variations label{margin:0}table.variations select{margin-right:.5em}.woocommerce-product-gallery{position:relative;margin-bottom:3em}.woocommerce-product-gallery figure{margin:0;padding:0}.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin:0;padding:0}.woocommerce-product-gallery .zoomImg{background-color:#fff}.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2){width:25%;display:inline-block}.woocommerce-product-gallery .flex-control-thumbs li{list-style:none;float:left;cursor:pointer}.woocommerce-product-gallery .flex-control-thumbs img{opacity:.5}.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}.woocommerce-product-gallery img{display:block}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li{width:33.3333%}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1){clear:left}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li{width:25%}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1){clear:left}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li{width:20%}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1){clear:left}.woocommerce-product-gallery__trigger{position:absolute;top:1em;right:1em;z-index:99}.woocommerce-tabs{margin-bottom:2em}.woocommerce-tabs li{margin-right:1em}.woocommerce-tabs li.active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-tabs a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs #comments{padding-top:0}.woocommerce-tabs .comment-reply-title{font-size:22px;font-size:1.375rem;font-weight:300;line-height:1.4;margin:0 0 .75em;display:block}.woocommerce-tabs #reviews li.comment,.woocommerce-tabs #reviews li.review{list-style:none;margin-right:0;margin-bottom:2.5em}.woocommerce-tabs #reviews li.comment .avatar,.woocommerce-tabs #reviews li.review .avatar{max-height:36px;width:auto;float:right}.woocommerce-tabs #reviews li.comment p.meta,.woocommerce-tabs #reviews li.review p.meta{margin-bottom:.5em}.woocommerce-tabs #reviews p.stars a{position:relative;height:1em;width:1em;text-indent:-999em;display:inline-block;text-decoration:none;box-shadow:none}.woocommerce-tabs #reviews p.stars a::before{display:block;position:absolute;top:0;left:0;width:1em;height:1em;line-height:1;font-family:WooCommerce;content:'\e021';text-indent:0}.woocommerce-tabs #reviews p.stars a:hover~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars:hover a::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars.selected a:not(.active)::before{content:'\e020'}button.pswp__button,button.pswp__button--arrow--left::before,button.pswp__button--arrow--right::before,button.pswp__button:hover{background-color:transparent!important}button.pswp__button--close:hover{background-position:0 -44px}button.pswp__button--zoom:hover{background-position:-88px 0}.site-footer .widget .product_list_widget,.widget .product_list_widget{margin-bottom:1.5em}.site-footer .widget .product_list_widget a,.widget .product_list_widget a{display:block;box-shadow:none}.site-footer .widget .product_list_widget a:hover,.widget .product_list_widget a:hover{box-shadow:none}.site-footer .widget .product_list_widget li,.widget .product_list_widget li{padding:1.5em 0}.site-footer .widget .product_list_widget li a.remove,.widget .product_list_widget li a.remove{float:right;margin-top:2px}.site-footer .widget .product_list_widget img,.widget .product_list_widget img{display:none}.widget_shopping_cart .buttons a{display:inline-block;margin:0 .5em 0 0}.widget_layered_nav .chosen:before{content:"×";display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;border:1px solid #000;margin-right:.25em}.widget_price_filter .price_slider{margin-bottom:1em}.widget_price_filter .price_slider_amount{text-align:right;line-height:2.4;font-size:.8751em}.widget_price_filter .price_slider_amount .button{float:left;padding:.4em 1em}.widget_price_filter .ui-slider{position:relative;text-align:left;margin-left:.5em;margin-right:.5em}.widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#000;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-left:-.5em}.widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#000}.widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#666;border:0}.widget_price_filter .ui-slider-horizontal{height:.5em}.widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.widget_price_filter .ui-slider-horizontal .ui-slider-range-min{left:-1px}.widget_price_filter .ui-slider-horizontal .ui-slider-range-max{right:-1px}.widget_rating_filter li{text-align:right}.widget_rating_filter li .star-rating{float:left;margin-top:.3em}.widget_product_search form{position:relative}.widget_product_search .search-field{padding-right:100px}.widget_product_search input[type=submit]{position:absolute;top:.5em;right:.5em;padding-left:1em;padding-right:1em}.woocommerce-account .woocommerce-MyAccount-navigation{float:right;width:25%;border-top:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none;padding:.5em 0;border-bottom:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li a{box-shadow:none}.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-navigation li:before{content:"→";display:inline-block;margin-right:.25em;color:#ddd}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-content{float:left}.woocommerce-cart-form td{padding:1em .5em}.woocommerce-cart-form img{max-width:42px;height:auto;display:block}.woocommerce-cart-form dl.variation{margin-top:0}.woocommerce-cart-form dl.variation p,.woocommerce-cart-form dl.variation:last-child{margin-bottom:0}.woocommerce-cart-form .button{padding:1.2em 2em}.woocommerce-cart-form .actions .input-text{width:130px!important;float:left;margin-right:.25em}.woocommerce-cart-form .quantity input{width:4em}#shipping_method{list-style:none;margin-top:1em}#shipping_method li{margin-bottom:.5em}#shipping_method li input{float:left}#shipping_method li label{line-height:1.15}.checkout-button{display:block;padding:1em 2em;border:2px solid #000;text-align:center;font-weight:800;box-shadow:none!important}.checkout-button:hover{box-shadow:none!important;border-color:#999}.checkout-button:after{content:"→"}#ship-to-different-address label{font-weight:300;cursor:pointer}#ship-to-different-address label span{position:relative;display:block}#ship-to-different-address label span:before{content:"";display:block;height:16px;width:30px;border:2px solid #bbb;background:#bbb;border-radius:13em;box-sizing:content-box;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;position:absolute;top:4px;right:0}#ship-to-different-address label span:after{content:"";display:block;width:14px;height:14px;background:#fff;position:absolute;top:7px;right:17px;border-radius:13em;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s}#ship-to-different-address label input[type=checkbox]{display:none}#ship-to-different-address label input[type=checkbox]:checked+span:after{right:3px}#ship-to-different-address label input[type=checkbox]:checked+span:before{border-color:#000;background:#000}.woocommerce-terms-and-conditions{border:1px solid rgba(0,0,0,.2);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);background:rgba(0,0,0,.05)}.woocommerce-checkout .select2-choice,.woocommerce-checkout .select2-choice:hover{box-shadow:none!important}.woocommerce-checkout .select2-choice{padding:.7em 0 .7em .7em}.woocommerce-checkout .select2-container .select2-selection--single{height:48px}.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:48px}.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}.woocommerce-checkout .select2-container--focus .select2-selection{border-color:#000}.woocommerce-checkout-review-order-table td{padding:1em .5em}.woocommerce-checkout-review-order-table dl.variation{margin:0}.woocommerce-checkout-review-order-table dl.variation p{margin:0}.wc_payment_method{list-style:none;border-bottom:1px solid #ddd}.wc_payment_method .payment_box{padding:2em;background:#eee}.wc_payment_method .payment_box ol:last-of-type,.wc_payment_method .payment_box ul:last-of-type{margin-bottom:0}.wc_payment_method .payment_box fieldset{padding:1.5em;padding-bottom:0;border:0;background:#f6f6f6}.wc_payment_method .payment_box li{list-style:none}.wc_payment_method .payment_box p:last-child{margin-bottom:0}.wc_payment_method>label:first-of-type{margin:1em 0}.wc_payment_method>label:first-of-type img{max-height:24px;max-width:200px;float:right}.wc_payment_method label{cursor:pointer}.wc_payment_method input.input-radio[name=payment_method]{display:none}.wc_payment_method input.input-radio[name=payment_method]+label:before{content:"";display:inline-block;width:16px;height:16px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-left:4px;margin-right:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}.wc_payment_method input.input-radio[name=payment_method]:checked+label:before{background:#000}.colors-dark .page-numbers{color:#444}.colors-dark .page-numbers.next,.colors-dark .page-numbers.prev{color:#ddd}.colors-dark .checkout-button{border:2px solid #555}.colors-dark .checkout-button:hover{border-color:#fff}.colors-dark .wc_payment_method .payment_box{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__options{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__option[data-selected=true]{color:#333}.colors-dark .select2-container--default .select2-selection--single{background-color:#333;border:1px solid #555}.colors-dark .select2-container--default .select2-selection--single .select2-selection__rendered{color:#ccc}.colors-dark .select2-container--focus .select2-selection{border-color:#fff}@media screen and (min-width:48em){.has-sidebar.woocommerce-page:not(.error404) #primary{width:74%}.has-sidebar.woocommerce-page:not(.error404) #secondary{width:20%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-header{width:16%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-content{width:78%}} \ No newline at end of file +@charset "UTF-8";@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}.woocommerce-breadcrumb{padding-bottom:2em;margin-bottom:4em;border-bottom:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-breadcrumb a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-breadcrumb a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-pagination{padding-top:2em;margin-top:4em;border-top:1px solid #eee;font-size:13px;font-size:.8125rem}.woocommerce-pagination ul.page-numbers{padding:0;display:block}.woocommerce-pagination .next.page-numbers,.woocommerce-pagination .prev.page-numbers,.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{padding:.5em 1em;background:#ddd;display:inline-block;font-size:1em;float:none;line-height:1.5;border-radius:2px;-webkit-transition:background-color ease-in-out .3s;transition:background-color ease-in-out .3s}.woocommerce-pagination span.page-numbers{background-color:#fff}.woocommerce-pagination a.page-numbers:hover{background-color:#767676;color:#fff}.onsale{background-color:#fff;position:absolute;top:0;left:0;display:inline-block;padding:.5em 1em;font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800}.price del{opacity:.5}.required{color:#b22222}.required[title]{border-bottom:none}.woocommerce-error,.woocommerce-info,.woocommerce-message{margin-bottom:1.5em;padding:2em;background:#eee}.woocommerce-message{background:teal;color:#fff}.woocommerce-error{background:#b22222;color:#fff}.woocommerce-info{background:#4169e1;color:#fff}.woocommerce-error a,.woocommerce-info a,.woocommerce-message a{color:#fff;box-shadow:0 1px 0 #fff!important;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-error a:hover,.woocommerce-info a:hover,.woocommerce-message a:hover{color:#fff!important;box-shadow:0 3px 0 #fff!important}.woocommerce-store-notice{background:#4169e1;color:#fff;padding:1em;position:absolute;top:0;left:0;width:100%;z-index:999}.admin-bar .woocommerce-store-notice{top:32px}.woocommerce-store-notice__dismiss-link{float:right;color:#fff}.woocommerce-store-notice__dismiss-link:hover{text-decoration:underline;color:#fff}.woocommerce-result-count{padding:.75em 0}ul.products li.product{list-style:none}ul.products li.product .price,ul.products li.product .star-rating{display:block;margin-bottom:.75em}ul.products li.product .button{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}ul.products li.product .button:hover{box-shadow:0 3px 0 #0f0f0f}ul.products li.product .button.loading{opacity:.5}ul.products li.product .added_to_cart{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms;margin-left:.5em}ul.products li.product .added_to_cart:hover{box-shadow:0 3px 0 #0f0f0f}.star-rating{overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.star-rating::before{content:'\73\73\73\73\73';float:left;top:0;left:0;position:absolute}.star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.star-rating span::before{content:'\53\53\53\53\53';top:0;position:absolute;left:0}.woocommerce-loop-product__title{font-size:13px;font-size:.8125rem;text-transform:uppercase;font-weight:800;letter-spacing:.15em}a.remove{display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;box-shadow:none!important;border:1px solid #000}a.remove:hover{background:#000;color:#fff!important}.wc-item-meta,dl.variation{list-style:none outside}.wc-item-meta .wc-item-meta-label,.wc-item-meta dt,dl.variation .wc-item-meta-label,dl.variation dt{float:left;clear:both;margin-right:.25em;display:inline-block;list-style:none outside}.wc-item-meta dd,dl.variation dd{margin:0}.wc-item-meta p,.wc-item-meta:last-child,dl.variation p,dl.variation:last-child{margin-bottom:0}.single-product div.product{position:relative}.single-product .single-featured-image-header{display:none}.single-product .summary{margin-bottom:3em}.single-product .summary p.price{margin-bottom:2em}.single-product .woocommerce-product-rating{margin-bottom:2em;line-height:1}.single-product .woocommerce-product-rating .star-rating{float:left;margin-right:.25em}.single-product form.cart .quantity{float:left;margin-right:.5em}.single-product form.cart input{width:5em}.single-product .woocommerce-variation-add-to-cart .button{padding-top:.72em;padding-bottom:.72em}.single-product .woocommerce-variation-add-to-cart .button.disabled{opacity:.2}table.variations label{margin:0}table.variations select{margin-right:.5em}.woocommerce-product-gallery{position:relative;margin-bottom:3em}.woocommerce-product-gallery figure{margin:0;padding:0}.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin:0;padding:0}.woocommerce-product-gallery .zoomImg{background-color:#fff}.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2){width:25%;display:inline-block}.woocommerce-product-gallery .flex-control-thumbs li{list-style:none;float:left;cursor:pointer}.woocommerce-product-gallery .flex-control-thumbs img{opacity:.5}.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}.woocommerce-product-gallery img{display:block}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li{width:33.3333%}.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1){clear:left}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li{width:25%}.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1){clear:left}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li{width:20%}.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1){clear:left}.woocommerce-product-gallery__trigger{position:absolute;top:1em;right:1em;z-index:99}.woocommerce-tabs{margin-bottom:2em}.woocommerce-tabs li{margin-right:1em}.woocommerce-tabs li.active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs a{box-shadow:0 1px 0 #0f0f0f;-webkit-transition:box-shadow ease-in-out 130ms;transition:box-shadow ease-in-out 130ms}.woocommerce-tabs a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-tabs #comments{padding-top:0}.woocommerce-tabs .comment-reply-title{font-size:22px;font-size:1.375rem;font-weight:300;line-height:1.4;margin:0 0 .75em;display:block}.woocommerce-tabs #reviews li.comment,.woocommerce-tabs #reviews li.review{list-style:none;margin-right:0;margin-bottom:2.5em}.woocommerce-tabs #reviews li.comment .avatar,.woocommerce-tabs #reviews li.review .avatar{max-height:36px;width:auto;float:right}.woocommerce-tabs #reviews li.comment p.meta,.woocommerce-tabs #reviews li.review p.meta{margin-bottom:.5em}.woocommerce-tabs #reviews p.stars a{position:relative;height:1em;width:1em;text-indent:-999em;display:inline-block;text-decoration:none;box-shadow:none}.woocommerce-tabs #reviews p.stars a::before{display:block;position:absolute;top:0;left:0;width:1em;height:1em;line-height:1;font-family:WooCommerce;content:'\e021';text-indent:0}.woocommerce-tabs #reviews p.stars a:hover~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars:hover a::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active::before{content:'\e020'}.woocommerce-tabs #reviews p.stars.selected a.active~a::before{content:'\e021'}.woocommerce-tabs #reviews p.stars.selected a:not(.active)::before{content:'\e020'}button.pswp__button,button.pswp__button--arrow--left::before,button.pswp__button--arrow--right::before,button.pswp__button:hover{background-color:transparent!important}button.pswp__button--close:hover{background-position:0 -44px}button.pswp__button--zoom:hover{background-position:-88px 0}.pswp img{max-width:none}.site-footer .widget .product_list_widget,.widget .product_list_widget{margin-bottom:1.5em}.site-footer .widget .product_list_widget a,.widget .product_list_widget a{display:block;box-shadow:none}.site-footer .widget .product_list_widget a:hover,.widget .product_list_widget a:hover{box-shadow:none}.site-footer .widget .product_list_widget li,.widget .product_list_widget li{padding:1.5em 0}.site-footer .widget .product_list_widget li a.remove,.widget .product_list_widget li a.remove{float:right;margin-top:2px}.site-footer .widget .product_list_widget img,.widget .product_list_widget img{display:none}.widget_shopping_cart .buttons a{display:inline-block;margin:0 .5em 0 0}.widget_layered_nav .chosen:before{content:"×";display:inline-block;width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;border-radius:100%;border:1px solid #000;margin-right:.25em}.widget_price_filter .price_slider{margin-bottom:1em}.widget_price_filter .price_slider_amount{text-align:right;line-height:2.4;font-size:.8751em}.widget_price_filter .price_slider_amount .button{float:left;padding:.4em 1em}.widget_price_filter .ui-slider{position:relative;text-align:left;margin-left:.5em;margin-right:.5em}.widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#000;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-left:-.5em}.widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#000}.widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#666;border:0}.widget_price_filter .ui-slider-horizontal{height:.5em}.widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.widget_price_filter .ui-slider-horizontal .ui-slider-range-min{left:-1px}.widget_price_filter .ui-slider-horizontal .ui-slider-range-max{right:-1px}.widget_rating_filter li{text-align:right}.widget_rating_filter li .star-rating{float:left;margin-top:.3em}.widget_product_search form{position:relative}.widget_product_search .search-field{padding-right:100px}.widget_product_search input[type=submit]{position:absolute;top:.5em;right:.5em;padding-left:1em;padding-right:1em}.woocommerce-account .woocommerce-MyAccount-navigation{float:right;width:25%;border-top:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none;padding:.5em 0;border-bottom:1px solid #ddd}.woocommerce-account .woocommerce-MyAccount-navigation li a{box-shadow:none}.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-navigation li:before{content:"→";display:inline-block;margin-right:.25em;color:#ddd}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{box-shadow:0 3px 0 #0f0f0f}.woocommerce-account .woocommerce-MyAccount-content{float:left}.woocommerce-cart-form td{padding:1em .5em}.woocommerce-cart-form img{max-width:42px;height:auto;display:block}.woocommerce-cart-form dl.variation{margin-top:0}.woocommerce-cart-form dl.variation p,.woocommerce-cart-form dl.variation:last-child{margin-bottom:0}.woocommerce-cart-form .button{padding:1.2em 2em}.woocommerce-cart-form .actions .input-text{width:130px!important;float:left;margin-right:.25em}.woocommerce-cart-form .quantity input{width:4em}#shipping_method{list-style:none;margin-top:1em}#shipping_method li{margin-bottom:.5em}#shipping_method li input{float:left}#shipping_method li label{line-height:1.15}.checkout-button{display:block;padding:1em 2em;border:2px solid #000;text-align:center;font-weight:800;box-shadow:none!important}.checkout-button:hover{box-shadow:none!important;border-color:#999}.checkout-button:after{content:"→"}#ship-to-different-address label{font-weight:300;cursor:pointer}#ship-to-different-address label span{position:relative;display:block}#ship-to-different-address label span:before{content:"";display:block;height:16px;width:30px;border:2px solid #bbb;background:#bbb;border-radius:13em;box-sizing:content-box;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;position:absolute;top:4px;right:0}#ship-to-different-address label span:after{content:"";display:block;width:14px;height:14px;background:#fff;position:absolute;top:7px;right:17px;border-radius:13em;-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s}#ship-to-different-address label input[type=checkbox]{display:none}#ship-to-different-address label input[type=checkbox]:checked+span:after{right:3px}#ship-to-different-address label input[type=checkbox]:checked+span:before{border-color:#000;background:#000}.woocommerce-terms-and-conditions{border:1px solid rgba(0,0,0,.2);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);background:rgba(0,0,0,.05)}.woocommerce-checkout .select2-choice,.woocommerce-checkout .select2-choice:hover{box-shadow:none!important}.woocommerce-checkout .select2-choice{padding:.7em 0 .7em .7em}.woocommerce-checkout .select2-container .select2-selection--single{height:48px}.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:48px}.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}.woocommerce-checkout .select2-container--focus .select2-selection{border-color:#000}.woocommerce-checkout-review-order-table td{padding:1em .5em}.woocommerce-checkout-review-order-table dl.variation{margin:0}.woocommerce-checkout-review-order-table dl.variation p{margin:0}.wc_payment_method{list-style:none;border-bottom:1px solid #ddd}.wc_payment_method .payment_box{padding:2em;background:#eee}.wc_payment_method .payment_box ol:last-of-type,.wc_payment_method .payment_box ul:last-of-type{margin-bottom:0}.wc_payment_method .payment_box fieldset{padding:1.5em;padding-bottom:0;border:0;background:#f6f6f6}.wc_payment_method .payment_box li{list-style:none}.wc_payment_method .payment_box p:last-child{margin-bottom:0}.wc_payment_method>label:first-of-type{margin:1em 0}.wc_payment_method>label:first-of-type img{max-height:24px;max-width:200px;float:right}.wc_payment_method label{cursor:pointer}.wc_payment_method input.input-radio[name=payment_method]{display:none}.wc_payment_method input.input-radio[name=payment_method]+label:before{content:"";display:inline-block;width:16px;height:16px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-left:4px;margin-right:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}.wc_payment_method input.input-radio[name=payment_method]:checked+label:before{background:#000}.colors-dark .page-numbers{color:#444}.colors-dark .page-numbers.next,.colors-dark .page-numbers.prev{color:#ddd}.colors-dark .checkout-button{border:2px solid #555}.colors-dark .checkout-button:hover{border-color:#fff}.colors-dark .wc_payment_method .payment_box{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__options{background:#333}.colors-dark .select2-container--default .select2-results .select2-results__option[data-selected=true]{color:#333}.colors-dark .select2-container--default .select2-selection--single{background-color:#333;border:1px solid #555}.colors-dark .select2-container--default .select2-selection--single .select2-selection__rendered{color:#ccc}.colors-dark .select2-container--focus .select2-selection{border-color:#fff}@media screen and (min-width:48em){.has-sidebar.woocommerce-page:not(.error404) #primary{width:74%}.has-sidebar.woocommerce-page:not(.error404) #secondary{width:20%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-header,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-header{width:16%}body.page-two-column.woocommerce-account:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-content,body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-content{width:78%}} \ No newline at end of file diff --git a/assets/css/twenty-seventeen.scss b/assets/css/twenty-seventeen.scss index 579ce18d4b7..189a1c0bd0d 100644 --- a/assets/css/twenty-seventeen.scss +++ b/assets/css/twenty-seventeen.scss @@ -567,6 +567,10 @@ button.pswp__button--zoom:hover { background-position: -88px 0; } +.pswp img { + max-width: none; +} + /** * Widgets */ From 3aee17faebcc5c6e357671159fea17563966d547 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 16 Aug 2017 11:22:22 +0100 Subject: [PATCH 7/9] Fix breadcrumbs for regular categories Closes #16455 --- includes/class-wc-breadcrumb.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/class-wc-breadcrumb.php b/includes/class-wc-breadcrumb.php index 2950012fd83..768c9ef0d42 100644 --- a/includes/class-wc-breadcrumb.php +++ b/includes/class-wc-breadcrumb.php @@ -155,7 +155,7 @@ class WC_Breadcrumb { } else { $cat = current( get_the_category( $post ) ); if ( $cat ) { - $this->term_ancestors( $cat->term_id, 'post_category' ); + $this->term_ancestors( $cat->term_id, 'category' ); $this->add_crumb( $cat->name, get_term_link( $cat ) ); } } @@ -247,8 +247,7 @@ class WC_Breadcrumb { $this_category = get_category( $GLOBALS['wp_query']->get_queried_object() ); if ( 0 != $this_category->parent ) { - $this->term_ancestors( $this_category->parent, 'post_category' ); - $this->add_crumb( $this_category->name, get_category_link( $this_category->term_id ) ); + $this->term_ancestors( $this_category->term_id, 'category' ); } $this->add_crumb( single_cat_title( '', false ), get_category_link( $this_category->term_id ) ); From d73e7e4f9df4588d19227ffc61cc68bad6b33f3a Mon Sep 17 00:00:00 2001 From: ragulka Date: Wed, 16 Aug 2017 13:34:35 +0300 Subject: [PATCH 8/9] Prevent unwanted double cart notices (#16460) * Don't add shipping zone debug message when doing ajax Prevent an issue where the "Customer matched zone" debug message is shown twice after first selecting a shipping method and then changing a product's quantity in cart and clicking Update cart. * Don't pass event object to cart.update_cart Prevent accidentally preserving cart notices when `wc_update_cart` event is triggered on body. If the event object is passed to update_cart() as the first param, it evaluates to true, forcing existing notices to be preserved. * Pass custom arguments to cart.update_cart() Instead of simply not passing the event object, pass any custom arguments, so it's possible to do something like: $( body ).trigger( 'wc_update_cart', true ); to still preserve notices if needed. --- assets/js/frontend/cart.js | 2 +- includes/class-wc-shipping.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/frontend/cart.js b/assets/js/frontend/cart.js index 60908442993..cf7e7f6c1d7 100644 --- a/assets/js/frontend/cart.js +++ b/assets/js/frontend/cart.js @@ -272,7 +272,7 @@ jQuery( function( $ ) { $( document ).on( 'wc_update_cart', - this.update_cart ); + function() { cart.update_cart.apply( cart, [].slice.call( arguments, 1 ) ); } ); $( document ).on( 'click', '.woocommerce-cart-form input[type=submit]', diff --git a/includes/class-wc-shipping.php b/includes/class-wc-shipping.php index ece466afd5e..94e03cfcfa3 100644 --- a/includes/class-wc-shipping.php +++ b/includes/class-wc-shipping.php @@ -131,7 +131,7 @@ class WC_Shipping { $this->shipping_methods = $shipping_zone->get_shipping_methods( true ); // Debug output - if ( $debug_mode && ! defined( 'WOOCOMMERCE_CHECKOUT' ) && ! wc_has_notice( 'Customer matched zone "' . $shipping_zone->get_zone_name() . '"' ) ) { + if ( $debug_mode && ! defined( 'WOOCOMMERCE_CHECKOUT' ) && ! defined( 'WC_DOING_AJAX' ) && ! wc_has_notice( 'Customer matched zone "' . $shipping_zone->get_zone_name() . '"' ) ) { wc_add_notice( 'Customer matched zone "' . $shipping_zone->get_zone_name() . '"' ); } } else { From cd15e18e682c2fdbb11438aafd4f3b85131a7dae Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 17 Aug 2017 15:45:26 +0100 Subject: [PATCH 9/9] Fix failing test --- tests/unit-tests/api/system-status.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit-tests/api/system-status.php b/tests/unit-tests/api/system-status.php index 3769a42c3de..92a8397429f 100644 --- a/tests/unit-tests/api/system-status.php +++ b/tests/unit-tests/api/system-status.php @@ -223,11 +223,10 @@ class WC_Tests_REST_System_Status extends WC_REST_Unit_Test_Case { $this->assertEquals( 200, $response->get_status() ); $this->assertEquals( count( $raw_tools ), count( $data ) ); - $this->assertContains( array( 'id' => 'reset_tracking', - 'name' => 'Reset usage tracking settings', - 'action' => 'Reset usage tracking settings', + 'name' => 'Reset usage tracking', + 'action' => 'Reset', 'description' => 'This will reset your usage tracking settings, causing it to show the opt-in banner again and not sending any data.', '_links' => array( 'item' => array(