Skip to content

Commit

Permalink
Merge branch 'release/1.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Feb 3, 2022
2 parents 0834ced + 38a065f commit ba8ea01
Show file tree
Hide file tree
Showing 20 changed files with 85 additions and 77 deletions.
1 change: 1 addition & 0 deletions inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ function polestar_related_posts( $post_id ) {
related_posts();
} else { // The fallback loop.
$categories = get_the_category( $post_id );
if ( empty( $categories ) ) return;
$first_cat = $categories[0]->cat_ID;
$args = array(
'category__in' => array( $first_cat ),
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
sttWindowScroll();
$( window ).on( 'scroll', sttWindowScroll );
$( '#scroll-to-top' ).on( 'click', function() {
$( 'html, body' ).animate( { scrollTop: 0 } );
$( 'html, body' ).stop().animate( { scrollTop: 0 } );
} );

// Header search.
Expand Down Expand Up @@ -229,7 +229,7 @@
var target = $( this.hash );
target = target.length ? target : $( '[name=' + this.hash.slice( 1 ) +']' );
if ( target.length ) {
$( 'html, body' ).animate( {
$( 'html, body' ).stop().animate( {
scrollTop: target.offset().top - calcHeaderHeight()
},
{
Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: Puro

Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce

Tested up to: 5.8
Tested up to: 5.9
Requires at least: 4.7
Requires PHP: 5.6.20
License: GPLv2 or later
Expand Down Expand Up @@ -152,6 +152,11 @@ Released under [GPL version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0

== Changelog ==

= 1.8.1 - 03 February 2022 =
* WooCommerce: Fixed single product variation drop-down alignment.
* Smooth Scrolling: Update to allow for animation interruption when another page jump is clicked.
* Footer Social Menu: Fixed last icon alignment.

= 1.8.0 - 05 December 2021 =
* Added additional web-safe fonts.
* FlexSlider: Prevented misalignment on load in SO Page Builder full-width stretched row.
Expand Down
2 changes: 1 addition & 1 deletion sass/_normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ input[type="search"]::-webkit-search-decoration {
}

fieldset {
border: 0;
border: 0;
margin: 0;
padding: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion sass/elements/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ table {

th,
td {
border: 1px solid $color__background-hr;
border: 1px solid $color__background-hr;
padding: 8px 16px;

@media (max-width: 768px) {
Expand Down
41 changes: 21 additions & 20 deletions sass/navigation/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
position: absolute;
text-align: left;
top: 100%;
transform-origin: center top;
transform: scale(0.95);
transition: all 0.15s ease-in;
transform-origin: center top;
visibility: hidden;
z-index: 99999;

Expand All @@ -37,8 +37,8 @@

li {
margin: 0;
padding: 0;
min-width: 100%;
padding: 0;
width: max-content;

&:hover > ul,
Expand All @@ -49,9 +49,9 @@
a {
border-bottom: 1px solid $color__background-hr;
font-size: 13px;
outline: none;
margin: 0 25px;
max-width: 100%;
outline: none;
padding: 10px 0;
white-space: nowrap;

Expand Down Expand Up @@ -103,13 +103,13 @@

> a:before {
content: "\f053";
font-size: 9px;
font-family: $font__icon;
font-size: 9px;
line-height: normal;
padding-right: 12px;
position: relative;
transform: rotate(45deg);
top: 0;
transform: rotate(45deg);
}

> a:after {
Expand All @@ -127,13 +127,13 @@

> a:before {
content: "\f053";
font-size: 9px;
font-family: $font__icon;
font-size: 9px;
line-height: normal;
padding-right: 12px;
position: relative;
transform: rotate(45deg);
top: 0;
transform: rotate(45deg);
}

> a:after {
Expand Down Expand Up @@ -203,8 +203,8 @@

> a:after {
content: "\f078";
font-size: 10px;
font-family: $font__icon;
font-size: 10px;
line-height: normal;
padding-left: 8px;
position: relative;
Expand All @@ -220,8 +220,8 @@

> a:after {
content: "\f054";
font-size: 9px;
font-family: $font__icon;
font-size: 9px;
line-height: normal;
padding-left: 12px;
position: relative;
Expand Down Expand Up @@ -367,9 +367,9 @@
width: 36px;

span {
display: block;
border-radius: 5px;
background: $color__text-dark;
border-radius: 5px;
display: block;
height: 2px;
left: 8px;
max-width: 20px;
Expand All @@ -380,7 +380,7 @@
width: 100%;

.overlap-light .site-header:not(.stuck) & {
background: #fff;
background: #fff;
}

.overlap-dark .site-header:not(.stuck) & {
Expand Down Expand Up @@ -426,6 +426,7 @@
}

#mobile-navigation {
-webkit-overflow-scrolling: touch;
background: #fff;
border-bottom: 1px solid $color__background-hr;
left: 0;
Expand All @@ -434,7 +435,6 @@
padding: 0 25px 25px;
position: absolute;
top: 100%;
-webkit-overflow-scrolling: touch;
width: 100%;
z-index: 10;

Expand All @@ -455,7 +455,7 @@
width: 100%;

a {
border-bottom: 1px solid $color__background-hr;
border-bottom: 1px solid $color__background-hr;
color: $color__text-dark;
display: block;
font-weight: 600;
Expand Down Expand Up @@ -574,8 +574,8 @@ $sel: '';
color: $color__text-medium;
display: inline-block;
margin-right: 3px;
padding-right: 16px;
padding-left: 16px;
padding-right: 16px;

&:visited {
color: $color__text-medium;
Expand Down Expand Up @@ -603,8 +603,8 @@ $sel: '';
background: none;
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
font-size: 13px;
padding-right: 0;
padding-left: 0;
padding-right: 0;

&:hover {
background: none;
Expand All @@ -625,8 +625,8 @@ $sel: '';

a {
color: $color__text-medium;
font-weight: bold;
font-weight: 600;
font-weight: bold;

&:hover {
color: $color__accent;
Expand All @@ -638,10 +638,10 @@ $sel: '';
display: inline-block;
font-size: 14px;
font-weight: normal;
text-transform: uppercase;
line-height: normal;
margin-bottom: 10px;
padding-bottom: 3px;
text-transform: uppercase;
}

div {
Expand All @@ -651,8 +651,8 @@ $sel: '';
}

.comment-navigation {
text-transform: capitalize;
margin: 25px 0;
text-transform: capitalize;

span {
font-size: 13px;
Expand All @@ -671,8 +671,8 @@ $sel: '';

a {
color: $color__text-dark;
font-weight: bold;
font-weight: 600;
font-weight: bold;

&:hover {
color: $color__accent;
Expand Down Expand Up @@ -723,6 +723,7 @@ $sel: '';
.footer-menu {

a[href*="behance.net"], a[href*="codepen.io"], a[href*="delicious.com"], a[href*="deviantart.com"], a[href*="digg.com"], a[href*="dribbble.com"], a[href*="facebook.com"], a[href*="flickr.com"], a[href*="foursquare.com"], a[href*="github.com"], a[href*="plus.google.com"], a[href*="instagram.com"], a[href*="linkedin.com"], a[href*="pinterest.com"], a[href*="reddit.com"], a[href*="soundcloud.com"], a[href*="stackexchange.com"], a[href*="stackoverflow.com"], a[href*="tumblr.com"], a[href*="twitter.com"], a[href*="vimeo.com"], a[href*="vine.co"], a[href*="vk.com"], a[href*="weibo.com"], a[href*="wordpress.com"], a[href*="xing"], a[href*="yelp"], a[href*="youtube.com"] {
display: block;
font-size: 0;
margin-right: -16px;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion sass/site/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
padding: 25px 0;
position: relative;
width: 100%;
z-index: 9999;
z-index: 999;

body[class*="overlap-"] &:not(.stuck) {
background: transparent;
Expand Down
2 changes: 1 addition & 1 deletion sass/site/primary/_posts-and-pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
}

button[type="submit"] {
background: none;
background: none;
border: none;
padding: 12px 15px 10px;
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Author URI: https://purothemes.com/
Theme URI: https://purothemes.com/themes/polestar/
Description: Lead the way with Polestar. It's fast loading, responsive, lightweight and flexible design is perfectly suited for building dynamic pages with SiteOrigin's Page Builder and selling with WooCommerce. Ecommerce features include a menu mini-cart and product quick-view. Polestar features a sticky header, beautiful header search, scroll to top and just the right amount of Customizer theme settings. Page level settings let you adjust the theme layout on a page by page basis, perfect for landing pages. If you run a blog, Polestar is ready with awesome features including a full-width posts slider integrated with Jetpack Featured Content, an author box and related posts section. For assistance, check out our <a href="http://purothemes.com/documentation/">theme documentation</a> (http://purothemes.com/documentation/) or ask a question on our <a href="https://purothemes.com/support/">support forum</a> (https://purothemes.com/support/).
Version: dev
Tested up to: 5.8
Tested up to: 5.9
Requires at least: 4.7
Requires PHP: 5.6.20
License: GNU General Public License v2 or later
Expand Down
8 changes: 4 additions & 4 deletions sass/woocommerce/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,16 @@
margin: 0;

@at-root .post-type-archive-product#{&} {
padding-top: 30px;
padding-top: 30px;
}

// Remove the products list top padding within the Infinite Wrap container if we're using Jetpack Infinite Scroll.
@at-root .post-type-archive-product .infinite-wrap .products {
padding-top: 0;
padding-top: 0;
}

@at-root .tax-product_cat#{&} {
padding-top: 30px;
padding-top: 30px;
}

// Product list item.
Expand Down Expand Up @@ -361,7 +361,7 @@
img {
display: block;
margin: 0 auto;
width: 100%;
width: 100%;
}

// Product or category title.
Expand Down
14 changes: 7 additions & 7 deletions sass/woocommerce/_cart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
text-align: left;

thead {
background: $color__background-element;
background: $color__background-element;
border: 1px solid $color__background-hr;

@media (max-width: 768px) {
Expand Down Expand Up @@ -106,7 +106,7 @@
}

td.actions {
padding: 30px 0 0;
padding: 30px 0 0;
text-align: right;

@media (max-width: 768px) {
Expand All @@ -133,7 +133,7 @@
}

input {
margin-right: 5px;
margin-right: 5px;

@media (max-width: 768px) {
margin-bottom: 10px;
Expand Down Expand Up @@ -303,7 +303,7 @@
width: 20px;

@at-root .overlap-light .site-header:not(.stuck) :not(#mobile-navigation) .shopping-cart-link svg {
fill: #fff;
fill: #fff;
}

@at-root .overlap-dark .site-header:not(.stuck) .shopping-cart-link svg {
Expand Down Expand Up @@ -332,11 +332,11 @@
fill: $color__text-medium;

.overlap-light .site-header:not(.stuck) & {
fill: rgba(255, 255, 255, .8);
fill: rgba(255, 255, 255, .8);
}

.overlap-dark .site-header:not(.stuck) & {
fill: rgba(45, 45, 45, .8);
fill: rgba(45, 45, 45, .8);
}
}

Expand All @@ -351,7 +351,7 @@
}

.shopping-cart-dropdown {
background: #fff;
background: #fff;
border: 1px solid $color__background-hr;
box-shadow: 0 1px 1px rgba(0, 0, 0, .075);
opacity: 0;
Expand Down
2 changes: 1 addition & 1 deletion sass/woocommerce/_checkout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ form.checkout > .blockUI {
label {

a {
font-size: 12px;
font-size: 12px;
font-weight: normal;
margin-left: 5px;

Expand Down
Loading

0 comments on commit ba8ea01

Please sign in to comment.