Skip to content

Commit

Permalink
Merge branch 'release/1.19.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Apr 24, 2022
2 parents 251d623 + 925a1bc commit 2577eba
Show file tree
Hide file tree
Showing 8 changed files with 165 additions and 101 deletions.
58 changes: 29 additions & 29 deletions inc/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -800,22 +800,22 @@ function siteorigin_corp_settings_custom_css( $css ) {
.widget-area .widget:not(.widget_tag_cloud):not(.widget_shopping_cart) a:not(.button):hover {
color: ${typography_accent};
}
.calendar_wrap {
.widget_calendar .calendar_wrap {
border: 1px solid ${typography_border};
}
.widget #wp-calendar caption {
.widget_calendar .wp-calendar-table caption {
color: ${typography_heading};
}
.widget #wp-calendar tbody td a {
.widget_calendar .wp-calendar-table tbody td a {
color: ${typography_accent};
}
.widget #wp-calendar tbody td a:hover {
.widget_calendar .wp-calendar-table tbody td a:hover {
color: ${typography_text};
}
.widget #wp-calendar tfoot #prev a,.widget #wp-calendar tfoot #next a {
.widget_calendar .wp-calendar-nav .wp-calendar-nav-prev a,.widget_calendar .wp-calendar-nav .wp-calendar-nav-next a {
color: ${typography_heading};
}
.widget #wp-calendar tfoot #prev a:hover,.widget #wp-calendar tfoot #next a:hover {
.widget_calendar .wp-calendar-nav .wp-calendar-nav-prev a:hover,.widget_calendar .wp-calendar-nav .wp-calendar-nav-next a:hover {
color: ${typography_accent};
}
.widget_archive li,.widget_categories li {
Expand Down Expand Up @@ -851,10 +851,10 @@ function siteorigin_corp_settings_custom_css( $css ) {
.site-footer .widget_recent_comments .recentcomments a {
color: ${footer_widget_link};
}
.widget_recent_entries li {
.widget.widget_recent_entries ul li {
color: ${typography_secondary_text};
}
.widget_recent_entries li a {
.widget.widget_recent_entries ul li a {
color: ${typography_heading};
}
.widget.recent-posts-extended h3 {
Expand Down Expand Up @@ -1105,7 +1105,7 @@ function siteorigin_corp_settings_custom_css( $css ) {
color: ${footer_widget_text};
margin-bottom: ${footer_padding};
}
.site-footer .widgets .widget .widget-title {
.site-footer .widgets .widget .wp-block-group__inner-container :is(h1,h2,h3,h4,h5,h6),.site-footer .widgets .widget .widget-title {
color: ${footer_widget_title};
}
.site-footer .widgets .widget a {
Expand Down Expand Up @@ -1192,42 +1192,42 @@ function siteorigin_corp_wc_settings_custom_css( $css ) {
border-color: ${typography_accent};
color: ${typography_accent};
}
.woocommerce .woocommerce-breadcrumb {
color: ${typography_secondary_text};
}
.woocommerce .woocommerce-breadcrumb a {
color: ${typography_secondary_text};
}
.woocommerce .woocommerce-breadcrumb a:hover {
color: ${typography_accent};
}
.woocommerce .woocommerce-result-count {
color: ${typography_secondary_text};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper {
border: 1px solid ${typography_border_dark};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper svg path {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper svg path,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper svg path {
fill: ${typography_text};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper:hover {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper:hover,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper:hover {
color: ${typography_heading};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper:hover svg path {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper:hover svg path,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper:hover svg path {
fill: ${typography_heading};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper .ordering-dropdown {
border: 1px solid ${typography_border_dark};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown li {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown li,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper .ordering-dropdown li {
color: ${typography_secondary_text};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown li:hover {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown li:hover,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper .ordering-dropdown li:hover {
color: ${typography_heading};
}
.woocommerce .woocommerce-ordering .ordering-selector-wrapper.open-dropdown svg path {
.woocommerce form.woocommerce-ordering .ordering-selector-wrapper.open-dropdown svg path,.woocommerce form .corp-variations-wrapper .ordering-selector-wrapper.open-dropdown svg path {
fill: ${typography_heading};
}
.woocommerce .woocommerce-breadcrumb {
color: ${typography_secondary_text};
}
.woocommerce .woocommerce-breadcrumb a {
color: ${typography_secondary_text};
}
.woocommerce .woocommerce-breadcrumb a:hover {
color: ${typography_accent};
}
.woocommerce .woocommerce-result-count {
color: ${typography_secondary_text};
}
.woocommerce .onsale {
background: ${typography_accent};
}
Expand Down
7 changes: 7 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ This theme makes use of the [SiteOrigin Settings Framework](https://github.com/s

== Changelog ==

= 1.19.2 - 24 April 2022 =
* Updated Calendar Widget styling.
* Updated Customizer settings CSS.
* Added basic styling for sidebar and footer block-based widgets.
* WooCommerce: Improved single production variation select field styling if JavaScript is disabled.
* Developer: Added a `function_exists check` for `siteorigin_corp_woocommerce_single_gallery_thumbnail_size`.

= 1.19.1 - 24 March 2022 =
* WooCommerce: Left aligned single product variation labels.

Expand Down
1 change: 1 addition & 0 deletions sass/site/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
margin-left: 0;
float: left;

.wp-block-group__inner-container :is(h1, h2, h3, h4, h5, h6),
.widget-title {
color: $color__footer-widget-title;
font-size: 1.0666em;
Expand Down
92 changes: 49 additions & 43 deletions sass/site/secondary/_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.site-footer .widget {
margin: 0 0 50px;

.wp-block-group__inner-container :is(h1, h2, h3, h4, h5, h6),
.widget-title {
font-size: .9333em;
font-weight: bold;
Expand Down Expand Up @@ -43,72 +44,77 @@
/*--------------------------------------------------------------
## Calendar Widgets
--------------------------------------------------------------*/
.calendar_wrap {
background: #fff;
border: 1px solid $color__background-hr;
padding: 0 10px;
}

.widget #wp-calendar {
border: 0;
font-size: 13px;
margin: 0;

caption {
color: $color__text-dark;
font-size: 14px;
font-weight: 600;
padding-top: 14px;
}
.widget_calendar {

tr:nth-child(2n+2) {
background: none;
.calendar_wrap {
background: #fff;
border: 1px solid $color__background-hr;
font-size: 0.8666rem;
padding: 0 10px;
}

th,
td {
.wp-calendar-table {
border: 0;
padding: 0;
}
margin: 0;

thead {
caption {
color: $color__text-dark;
font-size: 0.9333rem;
font-weight: 600;
padding-top: 14px;
}

tr {
tr:nth-child(2n+2) {
background: none;
}

th {
padding: 13px 0 8px;
text-align: center;
th,
td {
border: 0;
padding: 0;
}
}

tbody {
thead {

.pad {
background: none;
tr {
background: none;
}

th {
padding: 13px 0 8px;
text-align: center;
}
}

td {
padding-bottom: 8px;
text-align: center;
tbody {

a {
color: $color__accent;
.pad {
background: none;
}

&:hover {
color: $color__text-medium;
td {
padding-bottom: 8px;
text-align: center;

a {
color: $color__accent;

&:hover {
color: $color__text-medium;
}
}
}
}
}

tfoot {
.wp-calendar-nav {

#prev,
#next {
.wp-calendar-nav-prev,
.wp-calendar-nav-next {
display: inline-block;
padding-top: 4px;
padding-bottom: 17px;
width: 48%;

a {
color: $color__text-dark;
Expand All @@ -120,7 +126,7 @@
}
}

#next {
.wp-calendar-nav-next {
text-align: right;

a {
Expand Down
9 changes: 9 additions & 0 deletions sass/woocommerce/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@
font-size: 13px;
margin-left: 10px;

@at-root .no-js.woocommerce .product .variations .reset_variations {
display: none;
}

&:hover {
color: $color__accent;
}
Expand Down Expand Up @@ -232,6 +236,11 @@
select {
-webkit-appearance: none;
padding: 1px 27px 0 10px;

@at-root .no-js.woocommerce .product form.cart table.variations select {
-webkit-appearance: auto;
padding: 5px;
}
}
}

Expand Down
Loading

0 comments on commit 2577eba

Please sign in to comment.