From a649e02fa992dd72d071c7e089a0cf6d280ae295 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Sat, 5 May 2018 16:24:49 +0200 Subject: [PATCH 01/17] Added WC Product Tag Cloud styling --- sass/site/primary/_posts-and-pages.scss | 2 +- sass/woocommerce/_widgets.scss | 24 ++++++++++++++++++++++++ style.css | 2 +- woocommerce.css | 19 +++++++++++++++++++ 4 files changed, 45 insertions(+), 2 deletions(-) diff --git a/sass/site/primary/_posts-and-pages.scss b/sass/site/primary/_posts-and-pages.scss index e43867e..12ba74b 100644 --- a/sass/site/primary/_posts-and-pages.scss +++ b/sass/site/primary/_posts-and-pages.scss @@ -268,7 +268,7 @@ border-radius: 2px; color: $color__text-medium; display: inline-block; - font-size: 12px; + font-size: 13px; line-height: normal; margin: 0 6px 8px 0; padding: 6px 10px; diff --git a/sass/woocommerce/_widgets.scss b/sass/woocommerce/_widgets.scss index 48897b1..0807995 100644 --- a/sass/woocommerce/_widgets.scss +++ b/sass/woocommerce/_widgets.scss @@ -174,3 +174,27 @@ } } } + +/*-------------------------------------------------------------- +## - Product Tag Cloud Widget +--------------------------------------------------------------*/ +.widget.widget_product_tag_cloud { + margin-right: -6px; + + .tagcloud a { + background: $color__background-hr-dark; + border-radius: 2px; + color: $color__text-medium; + display: inline-block; + font-size: 13px; + line-height: normal; + margin: 0 6px 8px 0; + padding: 6px 10px; + transition: .3s; + + &:hover { + background: $color__accent; + color: #fff; + } + } +} diff --git a/style.css b/style.css index 0ffe64a..b033e98 100644 --- a/style.css +++ b/style.css @@ -2046,7 +2046,7 @@ a { border-radius: 2px; color: #626262; display: inline-block; - font-size: 12px; + font-size: 13px; line-height: normal; margin: 0 6px 8px 0; padding: 6px 10px; diff --git a/woocommerce.css b/woocommerce.css index c12cbfe..020961b 100644 --- a/woocommerce.css +++ b/woocommerce.css @@ -1088,6 +1088,25 @@ input.button.added:after, .widget_shopping_cart .buttons a.checkout { margin-left: 5px; } +/*-------------------------------------------------------------- +## - Product Tag Cloud Widget +--------------------------------------------------------------*/ +.widget.widget_product_tag_cloud { + margin-right: -6px; } + .widget.widget_product_tag_cloud .tagcloud a { + background: #ebebeb; + border-radius: 2px; + color: #626262; + display: inline-block; + font-size: 13px; + line-height: normal; + margin: 0 6px 8px 0; + padding: 6px 10px; + transition: .3s; } + .widget.widget_product_tag_cloud .tagcloud a:hover { + background: #4d8ffb; + color: #fff; } + /*-------------------------------------------------------------- # Notifications --------------------------------------------------------------*/ From 588744f15b2cd196dbad961a07faa09e3b4f6e56 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Sat, 5 May 2018 16:26:41 +0200 Subject: [PATCH 02/17] Adjusted mini-cart buttons font weight to normal --- sass/woocommerce/_cart.scss | 3 ++- woocommerce.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sass/woocommerce/_cart.scss b/sass/woocommerce/_cart.scss index 5d7d995..6cdff68 100644 --- a/sass/woocommerce/_cart.scss +++ b/sass/woocommerce/_cart.scss @@ -321,8 +321,9 @@ text-align: center; a { - color: #fff; + color: #fff; display: inline-block; + font-weight: normal; &.button { font-size: 12px; diff --git a/woocommerce.css b/woocommerce.css index 020961b..5f5a6a1 100644 --- a/woocommerce.css +++ b/woocommerce.css @@ -1385,7 +1385,8 @@ input.button.added:after, text-align: center; } .site-header .shopping-cart-dropdown .buttons a { color: #fff; - display: inline-block; } + display: inline-block; + font-weight: normal; } .site-header .shopping-cart-dropdown .buttons a.button { font-size: 12px; padding: 10px 24px; } From 21f29433c4886a20c413f4f164115d8e3dada78c Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Sat, 5 May 2018 19:22:19 +0200 Subject: [PATCH 03/17] WC single tabs added bottom border --- sass/woocommerce/_single.scss | 1 + woocommerce.css | 1 + 2 files changed, 2 insertions(+) diff --git a/sass/woocommerce/_single.scss b/sass/woocommerce/_single.scss index c08c4d3..11ae6e8 100644 --- a/sass/woocommerce/_single.scss +++ b/sass/woocommerce/_single.scss @@ -285,6 +285,7 @@ } .wc-tabs { + border-bottom: 1px solid $color__background-hr; list-style: none; margin: 0; overflow: hidden; diff --git a/woocommerce.css b/woocommerce.css index 5f5a6a1..820f673 100644 --- a/woocommerce.css +++ b/woocommerce.css @@ -757,6 +757,7 @@ input.button.added:after, .woocommerce .product .woocommerce-tabs h2 { font-size: 14px; } .woocommerce .product .woocommerce-tabs .wc-tabs { + border-bottom: 1px solid #f6f6f6; list-style: none; margin: 0; overflow: hidden; From 0cc0d3b0151f2738b99276bfe49abece5cf83036 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Sat, 5 May 2018 19:39:11 +0200 Subject: [PATCH 04/17] Added styling for WC Product Categories widget --- sass/woocommerce/_widgets.scss | 190 +++++++++++++++++++-------------- woocommerce.css | 124 +++++++++++---------- 2 files changed, 177 insertions(+), 137 deletions(-) diff --git a/sass/woocommerce/_widgets.scss b/sass/woocommerce/_widgets.scss index 0807995..3b14d4f 100644 --- a/sass/woocommerce/_widgets.scss +++ b/sass/woocommerce/_widgets.scss @@ -1,85 +1,3 @@ -/*-------------------------------------------------------------- -## - Price Filter Widget ---------------------------------------------------------------*/ -.widget_price_filter { - - .ui-slider { - background: $color__background-hr-dark; - height: 3px; - margin: 21px 3.5px 26px; - position: relative; - - .ui-slider-range { - background: $color__accent; - height: 100%; - position: absolute; - top: 0; - z-index: 1; - } - - .ui-slider-handle { - background: $color__accent; - cursor: ew-resize; - height: 15px; - margin-left: -3.5px; - outline: none; - position: absolute; - top: -6px; - width: 7px; - z-index: 2; - } - } - - .price_slider_amount { - overflow: auto; - - .price_label { - font-weight: normal; - padding-top: 10px; - - span { - font-weight: bold; - } - } - - .button { - float: right; - } - } -} - -/*-------------------------------------------------------------- -## - Search Widget ---------------------------------------------------------------*/ -.widget_product_search { - - .woocommerce-product-search { - - input[type="search"] { - padding-right: 43px; - } - - button[type="submit"] { - background: none; - border: none; - color: inherit; - padding: 0; - position: relative; - right: 36px; - top: 2px; - - svg { - height: 16px; - width: 16px; - - path { - fill: $color__text-light; - } - } - } - } -} - /*-------------------------------------------------------------- ## - Cart and Product List Widget --------------------------------------------------------------*/ @@ -175,6 +93,114 @@ } } +/*-------------------------------------------------------------- +## Product Categories Widget +--------------------------------------------------------------*/ +.widget_product_categories .product-categories { + + li { + color: $color__text-light; + + a { + color: $color__text-dark; + display: inline-block; + margin-bottom: 8px; + } + + span { + color: $color__text-light; + } + + .children { + margin-left: 12px; + } + + } +} + +/*-------------------------------------------------------------- +## - Price Filter Widget +--------------------------------------------------------------*/ +.widget_price_filter { + + .ui-slider { + background: $color__background-hr-dark; + height: 3px; + margin: 21px 3.5px 26px; + position: relative; + + .ui-slider-range { + background: $color__accent; + height: 100%; + position: absolute; + top: 0; + z-index: 1; + } + + .ui-slider-handle { + background: $color__accent; + cursor: ew-resize; + height: 15px; + margin-left: -3.5px; + outline: none; + position: absolute; + top: -6px; + width: 7px; + z-index: 2; + } + } + + .price_slider_amount { + overflow: auto; + + .price_label { + font-weight: normal; + padding-top: 10px; + + span { + font-weight: bold; + } + } + + .button { + float: right; + } + } +} + +/*-------------------------------------------------------------- +## - Search Widget +--------------------------------------------------------------*/ +.widget_product_search { + + .woocommerce-product-search { + + input[type="search"] { + padding-right: 43px; + } + + button[type="submit"] { + background: none; + border: none; + color: inherit; + padding: 0; + position: relative; + right: 36px; + top: 2px; + + svg { + height: 16px; + width: 16px; + + path { + fill: $color__text-light; + } + } + } + } +} + + /*-------------------------------------------------------------- ## - Product Tag Cloud Widget --------------------------------------------------------------*/ diff --git a/woocommerce.css b/woocommerce.css index 820f673..69e76c9 100644 --- a/woocommerce.css +++ b/woocommerce.css @@ -966,61 +966,6 @@ input.button.added:after, /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ -/*-------------------------------------------------------------- -## - Price Filter Widget ---------------------------------------------------------------*/ -.widget_price_filter .ui-slider { - background: #ebebeb; - height: 3px; - margin: 21px 3.5px 26px; - position: relative; } - .widget_price_filter .ui-slider .ui-slider-range { - background: #4d8ffb; - height: 100%; - position: absolute; - top: 0; - z-index: 1; } - .widget_price_filter .ui-slider .ui-slider-handle { - background: #4d8ffb; - cursor: ew-resize; - height: 15px; - margin-left: -3.5px; - outline: none; - position: absolute; - top: -6px; - width: 7px; - z-index: 2; } - -.widget_price_filter .price_slider_amount { - overflow: auto; } - .widget_price_filter .price_slider_amount .price_label { - font-weight: normal; - padding-top: 10px; } - .widget_price_filter .price_slider_amount .price_label span { - font-weight: bold; } - .widget_price_filter .price_slider_amount .button { - float: right; } - -/*-------------------------------------------------------------- -## - Search Widget ---------------------------------------------------------------*/ -.widget_product_search .woocommerce-product-search input[type="search"] { - padding-right: 43px; } - -.widget_product_search .woocommerce-product-search button[type="submit"] { - background: none; - border: none; - color: inherit; - padding: 0; - position: relative; - right: 36px; - top: 2px; } - .widget_product_search .woocommerce-product-search button[type="submit"] svg { - height: 16px; - width: 16px; } - .widget_product_search .woocommerce-product-search button[type="submit"] svg path { - fill: #828282; } - /*-------------------------------------------------------------- ## - Cart and Product List Widget --------------------------------------------------------------*/ @@ -1089,6 +1034,75 @@ input.button.added:after, .widget_shopping_cart .buttons a.checkout { margin-left: 5px; } +/*-------------------------------------------------------------- +## Product Categories Widget +--------------------------------------------------------------*/ +.widget_product_categories .product-categories li { + color: #828282; } + .widget_product_categories .product-categories li a { + color: #2d2d2d; + display: inline-block; + margin-bottom: 8px; } + .widget_product_categories .product-categories li span { + color: #828282; } + .widget_product_categories .product-categories li .children { + margin-left: 12px; } + +/*-------------------------------------------------------------- +## - Price Filter Widget +--------------------------------------------------------------*/ +.widget_price_filter .ui-slider { + background: #ebebeb; + height: 3px; + margin: 21px 3.5px 26px; + position: relative; } + .widget_price_filter .ui-slider .ui-slider-range { + background: #4d8ffb; + height: 100%; + position: absolute; + top: 0; + z-index: 1; } + .widget_price_filter .ui-slider .ui-slider-handle { + background: #4d8ffb; + cursor: ew-resize; + height: 15px; + margin-left: -3.5px; + outline: none; + position: absolute; + top: -6px; + width: 7px; + z-index: 2; } + +.widget_price_filter .price_slider_amount { + overflow: auto; } + .widget_price_filter .price_slider_amount .price_label { + font-weight: normal; + padding-top: 10px; } + .widget_price_filter .price_slider_amount .price_label span { + font-weight: bold; } + .widget_price_filter .price_slider_amount .button { + float: right; } + +/*-------------------------------------------------------------- +## - Search Widget +--------------------------------------------------------------*/ +.widget_product_search .woocommerce-product-search input[type="search"] { + padding-right: 43px; } + +.widget_product_search .woocommerce-product-search button[type="submit"] { + background: none; + border: none; + color: inherit; + padding: 0; + position: relative; + right: 36px; + top: 2px; } + .widget_product_search .woocommerce-product-search button[type="submit"] svg { + height: 16px; + width: 16px; } + .widget_product_search .woocommerce-product-search button[type="submit"] svg path { + fill: #828282; } + /*-------------------------------------------------------------- ## - Product Tag Cloud Widget --------------------------------------------------------------*/ From 7d3bd0f4afed94a1e71d742ff86f120743b6cd27 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Sat, 5 May 2018 19:39:33 +0200 Subject: [PATCH 05/17] Added styling for core Categories widget * Also for Archives widget. --- sass/site/secondary/_widgets.scss | 26 ++++++++++++++++++++++++++ style.css | 18 ++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sass/site/secondary/_widgets.scss b/sass/site/secondary/_widgets.scss index 1c2f128..537c9b4 100644 --- a/sass/site/secondary/_widgets.scss +++ b/sass/site/secondary/_widgets.scss @@ -121,6 +121,32 @@ } } +/*-------------------------------------------------------------- +## Archives and Categories Widgets +--------------------------------------------------------------*/ +.widget_archive, +.widget_categories { + + li { + color: $color__text-light; + + a { + color: $color__text-dark; + display: inline-block; + margin-bottom: 8px; + } + + span { + color: $color__text-light; + } + + .children { + margin-left: 12px; + } + + } +} + /*-------------------------------------------------------------- ## - Search Widget --------------------------------------------------------------*/ diff --git a/style.css b/style.css index b033e98..4dad7a7 100644 --- a/style.css +++ b/style.css @@ -1539,6 +1539,24 @@ a { .widget #wp-calendar tfoot #next { text-align: right; } +/*-------------------------------------------------------------- +## Archives and Categories Widgets +--------------------------------------------------------------*/ +.widget_archive li, +.widget_categories li { + color: #828282; } + .widget_archive li a, + .widget_categories li a { + color: #2d2d2d; + display: inline-block; + margin-bottom: 8px; } + .widget_archive li span, + .widget_categories li span { + color: #828282; } + .widget_archive li .children, + .widget_categories li .children { + margin-left: 12px; } + /*-------------------------------------------------------------- ## - Search Widget --------------------------------------------------------------*/ From f150a87b2b4b6030425154f5831f8d9296939aa1 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Sat, 5 May 2018 19:46:59 +0200 Subject: [PATCH 06/17] Mini-Cart button style adjustment * Added styling for WooCommerce Product categories widget. --- sass/woocommerce/_cart.scss | 11 +++++++++++ sass/woocommerce/_widgets.scss | 6 ++++++ woocommerce.css | 10 ++++++++++ 3 files changed, 27 insertions(+) diff --git a/sass/woocommerce/_cart.scss b/sass/woocommerce/_cart.scss index 6cdff68..8cf94b6 100644 --- a/sass/woocommerce/_cart.scss +++ b/sass/woocommerce/_cart.scss @@ -329,6 +329,17 @@ font-size: 12px; padding: 10px 24px; } + + + &:first-of-type { + background: $color__background-hr-dark; + color: $color__text-medium; + + &:hover { + background: $color__accent; + color: #fff; + } + } } } } diff --git a/sass/woocommerce/_widgets.scss b/sass/woocommerce/_widgets.scss index 3b14d4f..de4942b 100644 --- a/sass/woocommerce/_widgets.scss +++ b/sass/woocommerce/_widgets.scss @@ -163,7 +163,13 @@ } .button { + background: $color__background-hr-dark; + color: $color__text-medium; float: right; + + &:hover { + background: $color__accent; + } } } } diff --git a/woocommerce.css b/woocommerce.css index 69e76c9..bc577a0 100644 --- a/woocommerce.css +++ b/woocommerce.css @@ -1081,7 +1081,11 @@ input.button.added:after, .widget_price_filter .price_slider_amount .price_label span { font-weight: bold; } .widget_price_filter .price_slider_amount .button { + background: #ebebeb; + color: #626262; float: right; } + .widget_price_filter .price_slider_amount .button:hover { + background: #4d8ffb; } /*-------------------------------------------------------------- ## - Search Widget @@ -1405,6 +1409,12 @@ input.button.added:after, .site-header .shopping-cart-dropdown .buttons a.button { font-size: 12px; padding: 10px 24px; } + .site-header .shopping-cart-dropdown .buttons a:first-of-type { + background: #ebebeb; + color: #626262; } + .site-header .shopping-cart-dropdown .buttons a:first-of-type:hover { + background: #4d8ffb; + color: #fff; } #mobile-navigation .shopping-cart-text { color: #2d2d2d; From c7bea04459f74a303eaa060eef6b943ac3ac98f0 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Mon, 7 May 2018 10:35:07 +0200 Subject: [PATCH 07/17] Post Format: Image. Correct empty check --- inc/template-tags.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index aaeb53c..02c240b 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -292,7 +292,9 @@ function polestar_get_image() { $first_image = ''; $output = preg_match_all( '/]+\>/i', get_the_content(), $images ); - if ( ! empty( $images ) ) return; + + if ( empty( $images[0] ) ) return false; + $first_image = $images[0][0]; return ( '' !== $first_image ) ? $first_image : false; From 409a95cef15f41de96dead42eb7051da973978a3 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Mon, 7 May 2018 15:43:34 +0200 Subject: [PATCH 08/17] Styling for core WooCommerce widgets --- css/fonts/polestar-icons.svg | 2 +- css/fonts/polestar-icons.ttf | Bin 9772 -> 10400 bytes css/fonts/polestar-icons.woff | Bin 9848 -> 10476 bytes css/polestar-icons.css | 12 ++--- sass/site/primary/_posts-and-pages.scss | 13 +++-- sass/site/secondary/_widgets.scss | 14 +---- sass/woocommerce/_widgets.scss | 69 ++++++++++++++---------- style.css | 43 +++++++-------- woocommerce.css | 59 ++++++++++++-------- woocommerce/product-searchform.php | 2 +- 10 files changed, 115 insertions(+), 99 deletions(-) diff --git a/css/fonts/polestar-icons.svg b/css/fonts/polestar-icons.svg index 71ada71..3b30489 100755 --- a/css/fonts/polestar-icons.svg +++ b/css/fonts/polestar-icons.svg @@ -7,6 +7,7 @@ + @@ -40,7 +41,6 @@ - diff --git a/css/fonts/polestar-icons.ttf b/css/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z8 zRBmFJ(z@LI^!h|`%T#?)OIy1q+$35HI>f1h-6j>vpdKiNd(hno8KJ%# zLsa~rpkyFLr95bnDiAOPax0{XR4En4Y?1QasGM$BF6ND&t8qMOGa6s3 z97%h`Q&!jdp0ORt(!P!i&lCo122H`rTlWy`ZuJ$Wczk`G-I?qaju{MutSoJR?nGbT ziRZT8=%=1J+SPURnW?oNFPD$_ufJ&P-?k{)*Lix{qINwWu$4P)VLO-f*Q}f(6l>T# z6ihXe?wF7R}b zxkv$Iii9wQ_=!kB{4c|azq9!Wq+hk&+O(yq*xRzXrgkh{gjeoKU(Y-yG^L_XJ{*Xr zOTYRc9vD4dAvC5-n>Pt7kCIPXo~VgNYgV3i7Yz@Vv`*C~r`k({UDM)%ou@sK0`a2# zFxFqSJLH%^Rr2z`rCU40qSE>9lD~O8&M@PRSsHRkONW5}^TVP``Y1`zqVKrx;cO~w$RiW-la5G5A|Ah`+9{KX?-c%O38VbgpV0T|Lnr{I-%NTlOU+r^au+6FjHhP$ ze)q9ww{3g&Sa*8Y#o@Xg-NEFRqn({cwijX;zXNy?p1O_D*eje4#-S zkOUhR#?vq~c<1F&Kn=-JM8CRBYw3589aW)zG>eXlFBffArXUERC{Z!#I;hTcx9Qb7 zf|W|8_>yZuZRgZ7!sf|m?m8rPxXV;Yuv - + + From 0fdb1814b38f3e7ce64158243f5f105e8bcd037f Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Thu, 10 May 2018 20:23:41 +0200 Subject: [PATCH 10/17] Remove min-width from sidebar search --- sass/site/secondary/_widgets.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sass/site/secondary/_widgets.scss b/sass/site/secondary/_widgets.scss index 2151bcc..acf7735 100644 --- a/sass/site/secondary/_widgets.scss +++ b/sass/site/secondary/_widgets.scss @@ -155,6 +155,10 @@ input[type="search"] { width: 100%; + + @at-root #secondary & { + min-width: 0; + } } } From fe378a090672f01db7c3a43a6e840469807bdcf9 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Fri, 11 May 2018 13:59:45 +0200 Subject: [PATCH 11/17] Increased specificity of sidebar body classes --- inc/extras.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/inc/extras.php b/inc/extras.php index 718f912..6139667 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -42,11 +42,12 @@ function polestar_body_classes( $classes ) { } // Sidebar. - if ( is_active_sidebar( 'sidebar-main' ) ) { + if ( is_active_sidebar( 'sidebar-main' ) && ! is_404() && ( function_exists( 'is_woocommerce' ) && ! is_woocommerce() ) ) { $classes[] = 'sidebar'; } - if ( get_theme_mod( 'sidebar_position' ) == 'left' ) { + // Sidebar left. + if ( get_theme_mod( 'sidebar_position' ) == 'left' && ! is_404() && $page_settings['layout'] != "constrained" && ( function_exists( 'is_woocommerce' ) && ! is_woocommerce() ) ) { $classes[] = 'sidebar-left'; } @@ -58,18 +59,18 @@ function polestar_body_classes( $classes ) { } // WooCommerce columns. - if ( function_exists( 'is_woocommerce' ) ) { + if ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) { $classes[] = 'columns-' . get_theme_mod( 'archive_columns', 3 ); } - + // WooCommerce sidebar. - if ( is_active_sidebar( 'sidebar-shop' ) && ( function_exists( 'is_woocommerce' ) && ! is_product() ) ) { - $classes[] = 'woocommerce-sidebar'; - } + if ( is_active_sidebar( 'sidebar-shop' ) && ( function_exists( 'is_woocommerce' ) && is_woocommerce() && ! is_product() ) ) { + $classes[] = 'woocommerce-sidebar'; - if ( get_theme_mod( 'woocommerce_sidebar_position' ) == 'right' ) { - $classes[] = 'woocommerce-sidebar-right'; - } + if ( get_theme_mod( 'woocommerce_sidebar_position' ) == 'right' ) { + $classes[] = 'woocommerce-sidebar-right'; + } + } return $classes; } From 47d6a813d55d22985aa2216dfeceba159ca72918 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Fri, 11 May 2018 14:00:31 +0200 Subject: [PATCH 12/17] Removed search field min-width in the sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Did this to account for narrow sidebar width’s, 20% and below. --- style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/style.css b/style.css index 6ee5ad1..a025a38 100644 --- a/style.css +++ b/style.css @@ -1564,6 +1564,8 @@ a { width: 100%; } .widget .search-form input[type="search"] { width: 100%; } + #secondary .widget .search-form input[type="search"] { + min-width: 0; } /*-------------------------------------------------------------- ## - Tag Cloud Widget From 08ae8e1d6e905d46a94fb8869c0b77673bdb5957 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Fri, 11 May 2018 14:01:01 +0200 Subject: [PATCH 13/17] Reduce the search results heading font size --- sass/site/primary/_posts-and-pages.scss | 31 ++++++++++++++----------- style.css | 3 +-- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/sass/site/primary/_posts-and-pages.scss b/sass/site/primary/_posts-and-pages.scss index 9e1b167..c658e52 100644 --- a/sass/site/primary/_posts-and-pages.scss +++ b/sass/site/primary/_posts-and-pages.scss @@ -312,24 +312,27 @@ font-size: 13px; margin-top: 15px; } - - .entry-title { - font-size: 29px; - } } -.search-results article { - border-bottom: 1px solid $color__background-hr-dark; - margin: 0 0 50px; - padding: 0 0 30px; - - &:last-of-type { - border: 0; +.search-results { + + .entry-title { + font-size: 26px; } - &:only-of-type { - border: 0; - margin: 0; + article { + border-bottom: 1px solid $color__background-hr-dark; + margin: 0 0 50px; + padding: 0 0 30px; + + &:last-of-type { + border: 0; + } + + &:only-of-type { + border: 0; + margin: 0; + } } } diff --git a/style.css b/style.css index a025a38..ff9d643 100644 --- a/style.css +++ b/style.css @@ -2092,9 +2092,8 @@ a { font-size: 13px; margin-top: 15px; } -.archive .entry-title, .search-results .entry-title { - font-size: 29px; } + font-size: 26px; } .search-results article { border-bottom: 1px solid #ebebeb; From 008b664d9583771268366c9efdc1df1454f53e6b Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Fri, 11 May 2018 14:01:25 +0200 Subject: [PATCH 14/17] Various WooCommerce stylng improvements --- sass/woocommerce/_checkout.scss | 11 ----- sass/woocommerce/_dashboard.scss | 41 +++++++++--------- sass/woocommerce/_layout.scss | 28 ++++++++++++- sass/woocommerce/_notifications.scss | 1 + woocommerce.css | 62 +++++++++++++++++----------- 5 files changed, 86 insertions(+), 57 deletions(-) diff --git a/sass/woocommerce/_checkout.scss b/sass/woocommerce/_checkout.scss index def7ce9..e2eda5d 100644 --- a/sass/woocommerce/_checkout.scss +++ b/sass/woocommerce/_checkout.scss @@ -27,17 +27,6 @@ } - // Billing and shipping details. - .col2-set { - float: left; - width: 47.8260869565%; - - @media (max-width: 768px) { - float: none; - width: 100%; - } - } - // Order review. #order_review_heading, #order_review { diff --git a/sass/woocommerce/_dashboard.scss b/sass/woocommerce/_dashboard.scss index c329c31..d4fa1f1 100644 --- a/sass/woocommerce/_dashboard.scss +++ b/sass/woocommerce/_dashboard.scss @@ -113,28 +113,29 @@ // Password Change. .password-change { margin-bottom: 15px; - } + } + } +} - // Password Strength. - .woocommerce-password-strength { - font-size: 14px; - font-weight: 600; +// Password Strength. +.woocommerce-password-strength { + font-size: 14px; + font-weight: 600; - &.strong { - color: $success; - } + &.strong { + color: $success; + } - &.short { - color: $error; - } + &.short { + color: $error; + } - &.bad { - color: $error; - } + &.bad { + color: $error; + } - &.good { - color: $info; - } - } - } -} \ No newline at end of file + &.good { + color: $info; + } +} + \ No newline at end of file diff --git a/sass/woocommerce/_layout.scss b/sass/woocommerce/_layout.scss index 1b9da8d..f7a389b 100644 --- a/sass/woocommerce/_layout.scss +++ b/sass/woocommerce/_layout.scss @@ -1,9 +1,35 @@ -.woocommerce.woocommerce-page { +.woocommerce { + + .clear { + clear: both; + } .content-area { width: 100%; } + .col2-set { + width: 100%; + + .col-1 { + float: left; + width: 48%; + + @media (max-width: 768px) { + width: 100%; + } + } + + .col-2 { + float: right; + width: 48%; + + @media (max-width: 768px) { + width: 100%; + } + } + } + // Content area with sidebar. &.woocommerce-sidebar { diff --git a/sass/woocommerce/_notifications.scss b/sass/woocommerce/_notifications.scss index 4e0005c..4c7486d 100644 --- a/sass/woocommerce/_notifications.scss +++ b/sass/woocommerce/_notifications.scss @@ -38,6 +38,7 @@ .woocommerce-error { display: block; + color: $error; font-size: 14px; list-style: none; padding: 20px 20px; diff --git a/woocommerce.css b/woocommerce.css index 54f4442..c28dd16 100644 --- a/woocommerce.css +++ b/woocommerce.css @@ -4,25 +4,43 @@ Version: dev /*-------------------------------------------------------------- # Layout --------------------------------------------------------------*/ -.woocommerce.woocommerce-page .content-area { +.woocommerce .clear { + clear: both; } + +.woocommerce .content-area { width: 100%; } -.woocommerce.woocommerce-page.woocommerce-sidebar .content-area { +.woocommerce .col2-set { + width: 100%; } + .woocommerce .col2-set .col-1 { + float: left; + width: 48%; } + @media (max-width: 768px) { + .woocommerce .col2-set .col-1 { + width: 100%; } } + .woocommerce .col2-set .col-2 { + float: right; + width: 48%; } + @media (max-width: 768px) { + .woocommerce .col2-set .col-2 { + width: 100%; } } + +.woocommerce.woocommerce-sidebar .content-area { float: right; width: 70%; } @media (max-width: 768px) { - .woocommerce.woocommerce-page.woocommerce-sidebar .content-area { + .woocommerce.woocommerce-sidebar .content-area { width: 100%; } } -.woocommerce.woocommerce-page.woocommerce-sidebar .widget-area { +.woocommerce.woocommerce-sidebar .widget-area { float: left; padding-right: 4%; padding-left: 0; } -.woocommerce.woocommerce-page.woocommerce-sidebar-right .content-area { +.woocommerce.woocommerce-sidebar-right .content-area { float: left; } -.woocommerce.woocommerce-page.woocommerce-sidebar-right .widget-area { +.woocommerce.woocommerce-sidebar-right .widget-area { float: right; padding-right: 0; padding-left: 4%; } @@ -1197,6 +1215,7 @@ input.button.added:after, .woocommerce-error { display: block; + color: rgba(255, 0, 0, 0.7); font-size: 14px; list-style: none; padding: 20px 20px; } @@ -1474,14 +1493,6 @@ input.button.added:after, .woocommerce .checkout_coupon .form-row-last { width: 50%; } } -.woocommerce .col2-set { - float: left; - width: 47.8260869565%; } - @media (max-width: 768px) { - .woocommerce .col2-set { - float: none; - width: 100%; } } - .woocommerce #order_review_heading, .woocommerce #order_review { clear: right; @@ -1700,17 +1711,18 @@ input.button.added:after, padding-left: 0; } } .woocommerce-account .woocommerce-MyAccount-content .password-change { margin-bottom: 15px; } - .woocommerce-account .woocommerce-MyAccount-content .woocommerce-password-strength { - font-size: 14px; - font-weight: 600; } - .woocommerce-account .woocommerce-MyAccount-content .woocommerce-password-strength.strong { - color: rgba(0, 128, 0, 0.7); } - .woocommerce-account .woocommerce-MyAccount-content .woocommerce-password-strength.short { - color: rgba(255, 0, 0, 0.7); } - .woocommerce-account .woocommerce-MyAccount-content .woocommerce-password-strength.bad { - color: rgba(255, 0, 0, 0.7); } - .woocommerce-account .woocommerce-MyAccount-content .woocommerce-password-strength.good { - color: rgba(0, 0, 128, 0.7); } + +.woocommerce-password-strength { + font-size: 14px; + font-weight: 600; } + .woocommerce-password-strength.strong { + color: rgba(0, 128, 0, 0.7); } + .woocommerce-password-strength.short { + color: rgba(255, 0, 0, 0.7); } + .woocommerce-password-strength.bad { + color: rgba(255, 0, 0, 0.7); } + .woocommerce-password-strength.good { + color: rgba(0, 0, 128, 0.7); } /*-------------------------------------------------------------- # Order Tracking From b2ea7c1a26b1882b93b7cbc883f779359fbc7ec3 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Fri, 11 May 2018 14:25:28 +0200 Subject: [PATCH 15/17] Changelog update --- changelog.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.txt b/changelog.txt index 91d3fe9..d969f8e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,9 @@ == Changelog == += 1.2.5 - 11 May 2018 = +* Added styling for all WooCommerce core widgets that didn't have styling added previously. +* Minor styling updates for the WooCommerce checkout dashboard and mini-cart. + = 1.2.4 - 05 May 2018 = * Adjusted Jetpack Infinite Scroll to use posts per page setting. * Minor Jetpack Infinite Scroll styling fixes. From 0eba10d85ff7a5b6bfbf8c0b445ade1d646f6f9f Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Fri, 11 May 2018 14:25:41 +0200 Subject: [PATCH 16/17] WooCommerce login form styling --- sass/woocommerce/_dashboard.scss | 18 +++++++++++++----- woocommerce.css | 26 +++++++++++++++++--------- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/sass/woocommerce/_dashboard.scss b/sass/woocommerce/_dashboard.scss index d4fa1f1..92c236f 100644 --- a/sass/woocommerce/_dashboard.scss +++ b/sass/woocommerce/_dashboard.scss @@ -6,20 +6,28 @@ } .login { - max-width: 50%; + + @media (min-width: 769px) { + max-width: 75%; + } label[for*="rememberme"] { font-size: 13px; font-weight: normal; line-height: normal; margin-top: 10px; - - input { - } } .lost_password { - font-size: 13px; + font-size: 13px; + margin-top: -14px; + } + } + + .register { + + @media (min-width: 769px) { + max-width: 75%; } } diff --git a/woocommerce.css b/woocommerce.css index c28dd16..d731a78 100644 --- a/woocommerce.css +++ b/woocommerce.css @@ -1642,15 +1642,23 @@ input.button.added:after, font-size: 23px; margin-bottom: 10px; } -.woocommerce-account .login { - max-width: 50%; } - .woocommerce-account .login label[for*="rememberme"] { - font-size: 13px; - font-weight: normal; - line-height: normal; - margin-top: 10px; } - .woocommerce-account .login .lost_password { - font-size: 13px; } +@media (min-width: 769px) { + .woocommerce-account .login { + max-width: 75%; } } + +.woocommerce-account .login label[for*="rememberme"] { + font-size: 13px; + font-weight: normal; + line-height: normal; + margin-top: 10px; } + +.woocommerce-account .login .lost_password { + font-size: 13px; + margin-top: -14px; } + +@media (min-width: 769px) { + .woocommerce-account .register { + max-width: 75%; } } .woocommerce-account .woocommerce-MyAccount-navigation { border: 1px solid #ebebeb; From e942f3ef0eb21187bda4b9b59e5db680807a2280 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Fri, 11 May 2018 14:34:33 +0200 Subject: [PATCH 17/17] Changelog update --- changelog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index d969f8e..f709c63 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,7 +2,7 @@ = 1.2.5 - 11 May 2018 = * Added styling for all WooCommerce core widgets that didn't have styling added previously. -* Minor styling updates for the WooCommerce checkout dashboard and mini-cart. +* Minor styling updates for the WooCommerce checkout, login, dashboard and mini-cart. = 1.2.4 - 05 May 2018 = * Adjusted Jetpack Infinite Scroll to use posts per page setting.