Skip to content

Commit

Permalink
Merge pull request #21 from smartcatdev/feb-2018-fixes
Browse files Browse the repository at this point in the history
Updated all WooCommerce template overrides
  • Loading branch information
smartcatdev authored Dec 17, 2018
2 parents 001cea0 + 05f01e4 commit 92c130c
Show file tree
Hide file tree
Showing 13 changed files with 423 additions and 132 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
function relia_setup() {

if( !defined( 'RELIA_VERSION' ) ) :
define('RELIA_VERSION', '1.1.2');
define('RELIA_VERSION', '1.2.0');
endif;

/*
Expand Down
88 changes: 86 additions & 2 deletions inc/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,6 @@ p.woocommerce-result-count {
}

.woocommerce-page ul.products li.product {
background-color: #1C1C1C;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-left-radius: 5px;
Expand Down Expand Up @@ -1260,6 +1259,7 @@ body.woocommerce ul.products li.product a h2.woocommerce-loop-category__title {
margin-left: 15px;
}

.woocommerce li.product .button,
a.button.add_to_cart_button,
a.button.product_type_variable,
li.product a.added_to_cart {
Expand All @@ -1275,6 +1275,7 @@ li.product a.added_to_cart {
float: right;
}

.woocommerce li.product .button,
a.button.add_to_cart_button:hover,
a.button.product_type_variable:hover {
background-color: #1c1c1c;
Expand Down Expand Up @@ -2141,4 +2142,87 @@ ul.products mark.count {
}
body.woocommerce ul.products li.product a h2.woocommerce-loop-category__title {
margin-bottom: 1em;
}
}
h1.woocommerce-products-header__title.page-title {
margin-bottom: 30px;
}
.woocommerce div.product form.cart .button,
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] {
padding: 10px 15px !important;
}

.woocommerce div.product form.cart div.quantity input.qty {
height: 36px;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
font-size: 28px;
}
.woocommerce div.product .product_title {
margin-bottom: 5px;
}
.woocommerce div.product .woocommerce-product-rating {
margin-bottom: 10px;
}
.woocommerce div.product p.price {
margin-bottom: 30px;
}
.woocommerce-page ul.products li.product .product-content {
border-top: 7px solid;
background-color: #1C1C1C;
padding: 15px 5px 10px 5px;
}
.woocommerce ul.products li.product a img {
margin-bottom: 0;
border: none !important;
}
.woocommerce-page ul.products li.product .product-content hr {
margin: 5px 15px 15px;
border-color: #444;
}
section.related.products > h2 {
margin-bottom: 30px;
}
section.up-sells.upsells.products > h2 {
margin-bottom: 30px;
}
.woocommerce .button,
.woocommerce input[type="submit"],
.woocommerce button[type="submit"] {
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
.woocommerce ul.products li.product .price {
font-size: 16px;
}
.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range {
opacity: .65;
}
.woocommerce .widget_price_filter .price_slider_amount .button {
font-size: 12px !important;
font-weight: 400 !important;
}
.woocommerce button[type="submit"] {
background-color: #fff !important;
padding: 10px 15px;
text-transform: capitalize;
font-size: 12px;
font-weight: 400;
border-radius: 2px;
text-shadow: none;
box-shadow: none;
border: 2px solid;
}

.woocommerce button[type="submit"]:hover {
color: #fff !important;
}

div.coupon input#coupon_code {
height: 36px;
}
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
body.woocommerce ul.products li.product a h2.woocommerce-loop-category__title {
text-transform: uppercase;
}
17 changes: 12 additions & 5 deletions inc/css/temps/blue.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@ li.product a.added_to_cart,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
div#search-form form.search-form input[type="submit"]:hover,
.relia-callout a.relia-button,
#relia-contact-form input.relia-button
#relia-contact-form input.relia-button,
.woocommerce button[type="submit"]
{
color: #1f8aa5;
}

.woocommerce input[type="submit"],
.woocommerce button.button,
nav.woocommerce-breadcrumb a {
nav.woocommerce-breadcrumb a,
.woocommerce-page ul.products li.product a.button:hover {
color: #1f8aa5 !important;
}

Expand Down Expand Up @@ -89,7 +91,8 @@ h3.contact-form-heading

ul.wc-tabs li.active,
.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover {
.woocommerce input[type="submit"]:hover,
.woocommerce button[type="submit"]:hover {
background-color: #1f8aa5 !important;
}

Expand All @@ -114,15 +117,19 @@ aside.widget.woocommerce a.button,
div#search-form form.search-form input[type="submit"]:hover,
p.form-submit input:hover,
a.button.product_type_variable:hover,
a.button.add_to_cart_button:hover {
a.button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product .product-content,
.woocommerce button[type="submit"] {
border-color: #1f8aa5;
}

.woocommerce button.button {
border: 2px solid #1f8aa5;
}

.woocommerce input[type="submit"] {
.woocommerce input[type="submit"],
.woocommerce-page ul.products li.product a.button:hover {
border: 2px solid #1f8aa5 !important;
}

Expand Down
17 changes: 12 additions & 5 deletions inc/css/temps/gold.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@ li.product a.added_to_cart,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
div#search-form form.search-form input[type="submit"]:hover,
.relia-callout a.relia-button,
#relia-contact-form input.relia-button
#relia-contact-form input.relia-button,
.woocommerce button[type="submit"]
{
color: #ca6;
}

.woocommerce input[type="submit"],
.woocommerce button.button,
nav.woocommerce-breadcrumb a {
nav.woocommerce-breadcrumb a,
.woocommerce-page ul.products li.product a.button:hover {
color: #ca6 !important;
}

Expand Down Expand Up @@ -89,7 +91,8 @@ h3.contact-form-heading

ul.wc-tabs li.active,
.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover {
.woocommerce input[type="submit"]:hover,
.woocommerce button[type="submit"]:hover {
background-color: #ca6 !important;
}

Expand All @@ -114,15 +117,19 @@ aside.widget.woocommerce a.button,
div#search-form form.search-form input[type="submit"]:hover,
p.form-submit input:hover,
a.button.product_type_variable:hover,
a.button.add_to_cart_button:hover {
a.button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product .product-content,
.woocommerce button[type="submit"] {
border-color: #ca6;
}

.woocommerce button.button {
border: 2px solid #ca6;
}

.woocommerce input[type="submit"] {
.woocommerce input[type="submit"],
.woocommerce-page ul.products li.product a.button:hover {
border: 2px solid #ca6 !important;
}

Expand Down
17 changes: 12 additions & 5 deletions inc/css/temps/green.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@ li.product a.added_to_cart,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
div#search-form form.search-form input[type="submit"]:hover,
.relia-callout a.relia-button,
#relia-contact-form input.relia-button
#relia-contact-form input.relia-button,
.woocommerce button[type="submit"]
{
color: #8fc464;
}

.woocommerce input[type="submit"],
.woocommerce button.button,
nav.woocommerce-breadcrumb a {
nav.woocommerce-breadcrumb a,
.woocommerce-page ul.products li.product a.button:hover {
color: #8fc464 !important;
}

Expand Down Expand Up @@ -89,7 +91,8 @@ h3.contact-form-heading

ul.wc-tabs li.active,
.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover {
.woocommerce input[type="submit"]:hover,
.woocommerce button[type="submit"]:hover {
background-color: #8fc464 !important;
}

Expand All @@ -114,15 +117,19 @@ aside.widget.woocommerce a.button,
div#search-form form.search-form input[type="submit"]:hover,
a.button.product_type_variable:hover,
p.form-submit input:hover,
a.button.add_to_cart_button:hover {
a.button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product .product-content,
.woocommerce button[type="submit"] {
border-color: #8fc464;
}

.woocommerce button.button {
border: 2px solid #8fc464;
}

.woocommerce input[type="submit"] {
.woocommerce input[type="submit"],
.woocommerce-page ul.products li.product a.button:hover {
border: 2px solid #8fc464 !important;
}

Expand Down
17 changes: 12 additions & 5 deletions inc/css/temps/purple.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@ li.product a.added_to_cart,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
div#search-form form.search-form input[type="submit"]:hover,
.relia-callout a.relia-button,
#relia-contact-form input.relia-button
#relia-contact-form input.relia-button,
.woocommerce button[type="submit"]
{
color: #9f6eea;
}

.woocommerce input[type="submit"],
.woocommerce button.button,
nav.woocommerce-breadcrumb a {
nav.woocommerce-breadcrumb a,
.woocommerce-page ul.products li.product a.button:hover {
color: #9f6eea !important;
}

Expand Down Expand Up @@ -89,7 +91,8 @@ h3.contact-form-heading

ul.wc-tabs li.active,
.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover {
.woocommerce input[type="submit"]:hover,
.woocommerce button[type="submit"]:hover {
background-color: #9f6eea !important;
}

Expand All @@ -114,15 +117,19 @@ aside.widget.woocommerce a.button,
div#search-form form.search-form input[type="submit"]:hover,
p.form-submit input:hover,
a.button.product_type_variable:hover,
a.button.add_to_cart_button:hover {
a.button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product .product-content,
.woocommerce button[type="submit"] {
border-color: #9f6eea;
}

.woocommerce button.button {
border: 2px solid #9f6eea;
}

.woocommerce input[type="submit"] {
.woocommerce input[type="submit"],
.woocommerce-page ul.products li.product a.button:hover {
border: 2px solid #9f6eea !important;
}

Expand Down
17 changes: 12 additions & 5 deletions inc/css/temps/red.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@ li.product a.added_to_cart,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
div#search-form form.search-form input[type="submit"]:hover,
.relia-callout a.relia-button,
#relia-contact-form input.relia-button
#relia-contact-form input.relia-button,
.woocommerce button[type="submit"]
{
color: #c93838;
}

.woocommerce input[type="submit"],
.woocommerce button.button,
nav.woocommerce-breadcrumb a {
nav.woocommerce-breadcrumb a,
.woocommerce-page ul.products li.product a.button:hover {
color: #c93838 !important;
}

Expand Down Expand Up @@ -89,7 +91,8 @@ h3.contact-form-heading

ul.wc-tabs li.active,
.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover {
.woocommerce input[type="submit"]:hover,
.woocommerce button[type="submit"]:hover {
background-color: #c93838 !important;
}

Expand All @@ -114,15 +117,19 @@ aside.widget.woocommerce a.button,
div#search-form form.search-form input[type="submit"]:hover,
p.form-submit input:hover,
a.button.product_type_variable:hover,
a.button.add_to_cart_button:hover {
a.button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product .product-content,
.woocommerce button[type="submit"] {
border-color: #c93838;
}

.woocommerce button.button {
border: 2px solid #c93838;
}

.woocommerce input[type="submit"] {
.woocommerce input[type="submit"],
.woocommerce-page ul.products li.product a.button:hover {
border: 2px solid #c93838 !important;
}

Expand Down
Loading

0 comments on commit 92c130c

Please sign in to comment.