Explorar el Código

Varia: Refactoring Sass structure to deal with multiple outputs for WC styles and theme styles

Allan Cole hace 5 años
padre
commit
3169333f50
Se han modificado 35 ficheros con 650 adiciones y 296 borrados
  1. 1 1
      varia/inc/woocommerce.php
  2. 1 1
      varia/package.json
  3. 26 0
      varia/sass/abstracts/_extends.scss
  4. 52 0
      varia/sass/base/_extends.scss
  5. 1 0
      varia/sass/base/_imports.scss
  6. 7 0
      varia/sass/child-theme/style-woocommerce.scss
  7. 0 36
      varia/sass/vendors/_woocommerce.scss
  8. 0 0
      varia/sass/vendors/woocommerce/abstracts/_extends.scss
  9. 5 0
      varia/sass/vendors/woocommerce/abstracts/_imports.scss
  10. 1 0
      varia/sass/vendors/woocommerce/blocks/_imports.scss
  11. 66 0
      varia/sass/vendors/woocommerce/blocks/block-grid/_style.scss
  12. 3 0
      varia/sass/vendors/woocommerce/blocks/button/_editor.scss
  13. 2 2
      varia/sass/vendors/woocommerce/blocks/button/_style.scss
  14. 10 10
      varia/sass/vendors/woocommerce/components/_cart-collaterals.scss
  15. 9 9
      varia/sass/vendors/woocommerce/components/_cart-sidebar.scss
  16. 19 16
      varia/sass/vendors/woocommerce/components/_product-loops.scss
  17. 24 24
      varia/sass/vendors/woocommerce/components/_product-tabs.scss
  18. 11 11
      varia/sass/vendors/woocommerce/components/_reviews.scss
  19. 4 4
      varia/sass/vendors/woocommerce/elements/_breadcrumbs.scss
  20. 11 11
      varia/sass/vendors/woocommerce/elements/_notices.scss
  21. 1 17
      varia/sass/vendors/woocommerce/elements/_onsale.scss
  22. 7 7
      varia/sass/vendors/woocommerce/elements/_password-strength-meter.scss
  23. 4 4
      varia/sass/vendors/woocommerce/elements/_remove-icon.scss
  24. 3 3
      varia/sass/vendors/woocommerce/elements/_small-note.scss
  25. 4 2
      varia/sass/vendors/woocommerce/elements/_star-rating.scss
  26. 11 11
      varia/sass/vendors/woocommerce/elements/_tables.scss
  27. 4 4
      varia/sass/vendors/woocommerce/layout/_structure.scss
  28. 3 3
      varia/sass/vendors/woocommerce/pages/_account.scss
  29. 53 53
      varia/sass/vendors/woocommerce/pages/_cart.scss
  30. 26 26
      varia/sass/vendors/woocommerce/pages/_single-product.scss
  31. 6 0
      varia/style-editor.css
  32. 83 0
      varia/style-rtl.css
  33. 107 28
      varia/style-woocommerce.css
  34. 2 0
      varia/style-woocommerce.scss
  35. 83 13
      varia/style.css

+ 1 - 1
varia/inc/woocommerce.php

@@ -56,7 +56,7 @@ remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );
 function varia_woocommerce_scripts() {
 function varia_woocommerce_scripts() {
 
 
 	// WooCommerce styles
 	// WooCommerce styles
-	wp_enqueue_style( 'varia-woocommerce-style', get_template_directory_uri() . '/style-woocommerce.css', array(), wp_get_theme()->get( 'Version' ) );
+	wp_enqueue_style( 'varia-woocommerce-style', get_stylesheet_directory_uri() . '/style-woocommerce.css', array(), wp_get_theme()->get( 'Version' ) );
 
 
 }
 }
 add_action( 'wp_enqueue_scripts', 'varia_woocommerce_scripts' );
 add_action( 'wp_enqueue_scripts', 'varia_woocommerce_scripts' );

+ 1 - 1
varia/package.json

@@ -38,7 +38,7 @@
     "build:style-editor": "node-sass style-editor.scss style-editor.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-editor.css",
     "build:style-editor": "node-sass style-editor.scss style-editor.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-editor.css",
     "build:rtl": "rtlcss style.css style-rtl.css",
     "build:rtl": "rtlcss style.css style-rtl.css",
     "build:print": "node-sass print.scss print.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r print.css",
     "build:print": "node-sass print.scss print.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r print.css",
-    "build:woocommerce": "node-sass style-woocommerce.scss style-woocommerce.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style.css",
+    "build:woocommerce": "node-sass style-woocommerce.scss style-woocommerce.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-woocommerce.css",
     "build": "run-p \"build:*\"",
     "build": "run-p \"build:*\"",
     "watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
     "watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
     "child-theme": "sh ../theme-dev-utils/build-child-theme.sh"
     "child-theme": "sh ../theme-dev-utils/build-child-theme.sh"

+ 26 - 0
varia/sass/abstracts/_extends.scss

@@ -24,3 +24,29 @@
 	}
 	}
 }
 }
 
 
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
+%onsale-style {
+	border-radius: 100%;
+	background-color: map-deep-get($config-global, "color", "alert", "warning");
+	color: map-deep-get($config-global, "color", "foreground", "dark");
+	font-size: map-deep-get($config-global, "font", "size", "sm");
+	font-weight: 700;
+	font-family: #{map-deep-get($config-global, "font", "family", "primary")};
+	min-height: 3.236rem;
+	min-width: 3.236rem;
+	padding: 0.202rem;
+	position: absolute;
+	text-align: center;
+	text-transform: none;
+	line-height: 3.236;
+	top: -0.5em;
+	right: -0.5em;
+	left: auto;
+	margin: 0;
+	z-index: 9;
+}

+ 52 - 0
varia/sass/base/_extends.scss

@@ -0,0 +1,52 @@
+/**
+ * Button Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
+%button-style {
+	@include crop-text(map-deep-get($config-button, "font", "line-height"));
+	color: #{map-deep-get($config-button, "color", "text")};
+	cursor: pointer;
+	font-weight: #{map-deep-get($config-button, "font", "weight")};
+	font-family: #{map-deep-get($config-button, "font", "family")};
+	font-size: #{map-deep-get($config-button, "font", "size")};
+	background-color: #{map-deep-get($config-button, "color", "background")};
+	border-radius: #{map-deep-get($config-button, "border-radius")};
+	border-width: 0;
+	padding: #{map-deep-get($config-button, "padding", "vertical")} #{map-deep-get($config-button, "padding", "horizontal")};
+
+	&:hover,
+	&:focus,
+	&.has-focus {
+		color: #{map-deep-get($config-button, "color", "text-hover")};
+		background-color: #{map-deep-get($config-button, "color", "background-hover")};
+	}
+}
+
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
+%onsale-style {
+	border-radius: 100%;
+	background-color: map-deep-get($config-global, "color", "alert", "warning");
+	color: map-deep-get($config-global, "color", "foreground", "dark");
+	font-size: map-deep-get($config-global, "font", "size", "sm");
+	font-weight: 700;
+	font-family: #{map-deep-get($config-global, "font", "family", "primary")};
+	min-height: 3.236rem;
+	min-width: 3.236rem;
+	padding: 0.202rem;
+	position: absolute;
+	text-align: center;
+	text-transform: none;
+	line-height: 3.236;
+	top: -0.5em;
+	right: -0.5em;
+	left: auto;
+	margin: 0;
+	z-index: 9;
+}

+ 1 - 0
varia/sass/base/_imports.scss

@@ -3,6 +3,7 @@
  * - Reset the browser
  * - Reset the browser
  */
  */
 
 
+@import "extends";
 @import "normalize";
 @import "normalize";
 @import "reset";
 @import "reset";
 @import "accessibility";
 @import "accessibility";

+ 7 - 0
varia/sass/child-theme/style-woocommerce.scss

@@ -11,6 +11,13 @@
 @import "sass/abstracts/config-global";
 @import "sass/abstracts/config-global";
 @import "sass/abstracts/mixins";
 @import "sass/abstracts/mixins";
 @import "sass/abstracts/extends";
 @import "sass/abstracts/extends";
+// WooCommerce Abstracts
+@import "sass/vendors/woocommerce/abstracts/imports";
+
+/**
+ * Child Theme Deep
+ */
+@import "config-child-theme-deep";
 
 
 /**
 /**
  * WooCommerce
  * WooCommerce

+ 0 - 36
varia/sass/vendors/_woocommerce.scss

@@ -2,42 +2,6 @@
  * Main WooCommerce styles
  * Main WooCommerce styles
  */
  */
 
 
-// Fonts
-$font_family_primary: #{map-deep-get($config-global, "font", "family", "primary")};
-$font_family_secondary: #{map-deep-get($config-global, "font", "family", "secondary")};
-$fontsize_xs: map-deep-get($config-global, "font", "size", "xs");
-$fontsize_small: map-deep-get($config-global, "font", "size", "sm");
-$fontsize_base: map-deep-get($config-global, "font", "size", "base");
-$fontsize_medium: map-deep-get($config-global, "font", "size", "md");
-$fontsize_large: map-deep-get($config-global, "font", "size", "lg");
-$fontsize_xl: map-deep-get($config-global, "font", "size", "xl");
-$font_line_height: map-deep-get($config-global, "font", "line-height", "body");
-$font_line_height_heading: map-deep-get($config-global, "font", "line-height", "heading");
-// Colors
-$color_primary: map-deep-get($config-global, "color", "primary", "default");
-$color_secondary: map-deep-get($config-global, "color", "secondary", "default");
-$color_subtext: map-deep-get($config-global, "color", "foreground", "light");
-$color_background: map-deep-get($config-global, "color", "background", "default");
-$color_info: map-deep-get($config-global, "color", "alert", "info");
-$color_success: map-deep-get($config-global, "color", "alert", "success");
-$color_warning: map-deep-get($config-global, "color", "alert", "warning");
-$color_error: map-deep-get($config-global, "color", "alert", "error");
-$color_background: map-deep-get($config-global, "color", "background", "default");
-$color_background_light: map-deep-get($config-global, "color", "background", "light");
-$color_foreground: map-deep-get($config-global, "color", "foreground", "default");
-$color_foreground_dark: map-deep-get($config-global, "color", "foreground", "dark");
-$color_foreground_light: map-deep-get($config-global, "color", "foreground", "light");
-$color_border_default: map-deep-get($config-global, "color", "border", "default");
-$color_border_light: map-deep-get($config-global, "color", "border", "light");
-$color_border_dark: map-deep-get($config-global, "color", "border", "dark");
-$color_highlight: $color_warning;
-// Spacing
-$spacing_base: (0.5 * map-deep-get($config-global, "spacing", "unit"));
-$spacing_unit: map-deep-get($config-global, "spacing", "unit");
-$spacing_horizontal: map-deep-get($config-global, "spacing", "horizontal");
-$spacing_vertical: map-deep-get($config-global, "spacing", "vertical");
-$border_radius: map-deep-get($config-global, "border-radius", "sm");
-
 // Elements
 // Elements
 @import "woocommerce/elements/imports";
 @import "woocommerce/elements/imports";
 
 

+ 0 - 0
varia/sass/vendors/woocommerce/abstracts/_extends.scss


+ 5 - 0
varia/sass/vendors/woocommerce/abstracts/_imports.scss

@@ -0,0 +1,5 @@
+/**
+ * Abstracts Imports
+ */
+
+@import "extends";

+ 1 - 0
varia/sass/vendors/woocommerce/blocks/_imports.scss

@@ -3,3 +3,4 @@
  */
  */
 
 
 @import "button/style";
 @import "button/style";
+@import "block-grid/style";

+ 66 - 0
varia/sass/vendors/woocommerce/blocks/block-grid/_style.scss

@@ -0,0 +1,66 @@
+/**
+ * WooCommerce Block Grid
+ * - Used by:
+ *   .wp-block-product-new
+ *   .wp-block-product-best-sellers
+ *   .wp-block-product-on-sale
+ *   .wp-block-product-top-rated
+ *   .wp-block-product-categroy
+ *   .wp-block-products-by-attribute
+ */
+
+#content .wc-block-grid {
+
+	.wc-block-grid__product,
+	.wc-block-grid__product-link {
+
+		& > *:not(:first-child) {
+			margin-top: map-deep-get($config-global, "spacing", "unit");
+		}
+
+		& > *:not(:last-child) {
+			margin-bottom: map-deep-get($config-global, "spacing", "unit");
+		}
+
+		& > *:not(img):empty + * {
+			margin-top: 0;
+		}
+
+		& > *:last-child {
+			margin-bottom: 0;
+		}
+
+		& > *:empty {
+			margin: 0;
+		}
+	}
+
+	.wc-block-grid__product-onsale {
+		@extend %onsale-style;
+	}
+
+	.wc-block-grid__product-title {
+		font-family: #{map-deep-get($config-global, "font", "family", "primary")};
+		font-size: map-deep-get($config-global, "font", "size", "base")
+	}
+
+	.wc-block-grid__product-rating .star-rating span:before {
+		color: map-deep-get($config-global, "color", "secondary", "default");
+	}
+
+	.wc-block-grid__product-price {
+		color: map-deep-get($config-global, "color", "foreground", "dark");
+		font-size: map-deep-get($config-global, "font", "size", "md");
+		line-height: map-deep-get($config-global, "font", "line-height", "heading");
+
+		ins {
+			color: map-deep-get($config-global, "color", "alert", "success");
+			font-weight: bold;
+		}
+	}
+
+	.wc-block-grid__product .wc-block-grid__product-onsale {
+		right: calc(-0.5em + #{map-deep-get($config-global, "spacing", "unit")});
+		margin: 0
+	}
+}

+ 3 - 0
varia/sass/vendors/woocommerce/blocks/button/_editor.scss

@@ -0,0 +1,3 @@
+/**
+ * Button
+ */

+ 2 - 2
varia/sass/vendors/woocommerce/blocks/button/_style.scss

@@ -2,7 +2,7 @@
  * Button
  * Button
  */
  */
 
 
-body[class*="woocommerce"] #page { // adding #content here to override default wc styles without !important
+body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 
 
 	#respond input#submit,
 	#respond input#submit,
 	#respond input#submit.alt,
 	#respond input#submit.alt,
@@ -40,7 +40,7 @@ body[class*="woocommerce"] #page { // adding #content here to override default w
 		cursor: not-allowed;
 		cursor: not-allowed;
 
 
 		&:hover {
 		&:hover {
-			background-color: $color_primary;
+			background-color: map-deep-get($config-global, "color", "primary", "default");
 		}
 		}
 	}
 	}
 }
 }

+ 10 - 10
varia/sass/vendors/woocommerce/components/_cart-collaterals.scss

@@ -12,45 +12,45 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 
 
 			tr td,
 			tr td,
 			tr th {
 			tr th {
-				border-top-color: $color_border_default;
+				border-top-color: map-deep-get($config-global, "color", "border", "default");
 			}
 			}
 
 
 			& > h2 {
 			& > h2 {
-				font-size: $fontsize_large;
+				font-size: map-deep-get($config-global, "font", "size", "lg");
 			}
 			}
 		}
 		}
 
 
 		.cart_totals {
 		.cart_totals {
 
 
 			p small {
 			p small {
-				color: $color_subtext;
-				font-size: $fontsize_small;
+				color: map-deep-get($config-global, "color", "foreground", "light");
+				font-size: map-deep-get($config-global, "font", "size", "sm");
 			}
 			}
 
 
 			table {
 			table {
-				margin: 0 0 $spacing_base;
+				margin: 0 0 (0.5 * map-deep-get($config-global, "spacing", "unit"));
 
 
 				td,
 				td,
 				th {
 				th {
-					line-height: $font_line_height;
+					line-height: map-deep-get($config-global, "font", "line-height", "body");
 				}
 				}
 
 
 				small {
 				small {
-					color: $color_subtext;
+					color: map-deep-get($config-global, "color", "foreground", "light");
 				}
 				}
 			}
 			}
 
 
 			.discount td {
 			.discount td {
-				color: $color_highlight;
+				color: map-deep-get($config-global, "color", "alert", "warning");
 			}
 			}
 		}
 		}
 
 
 		.shipping-calculator-button {
 		.shipping-calculator-button {
-			margin-top: #{0.5 * $spacing_vertical};
+			margin-top: #{0.5 * map-deep-get($config-global, "spacing", "vertical")};
 		}
 		}
 
 
 		.shipping-calculator-form {
 		.shipping-calculator-form {
-			margin-top: $spacing_horizontal;
+			margin-top: map-deep-get($config-global, "spacing", "horizontal");
 		}
 		}
 	}
 	}
 }
 }

+ 9 - 9
varia/sass/vendors/woocommerce/components/_cart-sidebar.scss

@@ -13,20 +13,20 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 		li {
 		li {
 
 
 			a:not(.remove) {
 			a:not(.remove) {
-				font-family: $font_family_primary;
+				font-family: #{map-deep-get($config-global, "font", "family", "primary")};
 			}
 			}
 
 
 			img {
 			img {
 				margin-left: 4px;
 				margin-left: 4px;
-				width: #{2 * $spacing_vertical};
+				width: #{2 * map-deep-get($config-global, "spacing", "vertical")};
 			}
 			}
 
 
 			dl {
 			dl {
-				border-left-color: $color_border_default;
+				border-left-color: map-deep-get($config-global, "color", "border", "default");
 
 
 				dt,
 				dt,
 				dd {
 				dd {
-					margin-bottom: $spacing_vertical;
+					margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 				}
 				}
 			}
 			}
 		}
 		}
@@ -35,16 +35,16 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	.widget_shopping_cart {
 	.widget_shopping_cart {
 
 
 		.total {
 		.total {
-			border-top: 1px solid $color_border_default;
-			padding-top: $spacing_unit;
+			border-top: 1px solid map-deep-get($config-global, "color", "border", "default");
+			padding-top: map-deep-get($config-global, "spacing", "unit");
 		}
 		}
 
 
 		.cart_list li {
 		.cart_list li {
-			border-top: 1px solid $color_border_default;
-			padding: $spacing_unit 0 $spacing_unit #{2 * $spacing_horizontal};
+			border-top: 1px solid map-deep-get($config-global, "color", "border", "default");
+			padding: map-deep-get($config-global, "spacing", "unit") 0 map-deep-get($config-global, "spacing", "unit") #{2 * map-deep-get($config-global, "spacing", "horizontal")};
 
 
 			a.remove {
 			a.remove {
-				top: $spacing_unit;
+				top: map-deep-get($config-global, "spacing", "unit");
 			}
 			}
 		}
 		}
 	}
 	}

+ 19 - 16
varia/sass/vendors/woocommerce/components/_product-loops.scss

@@ -15,19 +15,22 @@ body[class*="woocommerce"] #page .cart-collaterals .cross-sells {
 
 
 	ul.products li.product {
 	ul.products li.product {
 
 
+		text-align: center;
+
 		.onsale {
 		.onsale {
 		}
 		}
 
 
 		.star-rating {
 		.star-rating {
-			font-size: $fontsize_small;
-			margin: inherit;
+			font-size: map-deep-get($config-global, "font", "size", "sm");
+			margin-left: auto;
+			margin-right: auto;
 		}
 		}
 
 
 		h3,
 		h3,
 		.woocommerce-loop-product__title,
 		.woocommerce-loop-product__title,
 		.woocommerce-loop-category__title {
 		.woocommerce-loop-category__title {
 			padding: inherit;
 			padding: inherit;
-			font-size: $fontsize_base;
+			font-size: map-deep-get($config-global, "font", "size", "base")
 		}
 		}
 
 
 		a img {
 		a img {
@@ -38,7 +41,7 @@ body[class*="woocommerce"] #page .cart-collaterals .cross-sells {
 		}
 		}
 
 
 		.woocommerce-placeholder {
 		.woocommerce-placeholder {
-			border-color: $color_border_default;
+			border-color: map-deep-get($config-global, "color", "border", "default");
 		}
 		}
 
 
 		.button {
 		.button {
@@ -46,9 +49,9 @@ body[class*="woocommerce"] #page .cart-collaterals .cross-sells {
 		}
 		}
 
 
 		.price {
 		.price {
-			color: $color_foreground_dark;
-			font-size: $fontsize_medium;
-			line-height: $font_line_height_heading;
+			color: map-deep-get($config-global, "color", "foreground", "dark");
+			font-size: map-deep-get($config-global, "font", "size", "md");
+			line-height: map-deep-get($config-global, "font", "line-height", "heading");
 
 
 			del {
 			del {
 				color: inherit;
 				color: inherit;
@@ -63,22 +66,22 @@ body[class*="woocommerce"] #page .cart-collaterals .cross-sells {
 			}
 			}
 
 
 			.from {
 			.from {
-				font-size: $fontsize_xs;
-				color: $color_highlight;
+				font-size: map-deep-get($config-global, "font", "size", "xs");
+				color: map-deep-get($config-global, "color", "alert", "warning");
 			}
 			}
 		}
 		}
 
 
 		&.sale a > .price ins {
 		&.sale a > .price ins {
-			color: $color_success;
+			color: map-deep-get($config-global, "color", "alert", "success");
 		}
 		}
 	}
 	}
 
 
 	.woocommerce-result-count {
 	.woocommerce-result-count {
-		margin-bottom: $spacing_unit;
+		margin-bottom: map-deep-get($config-global, "spacing", "unit");
 	}
 	}
 
 
 	.woocommerce-ordering {
 	.woocommerce-ordering {
-		margin-bottom: $spacing_unit;
+		margin-bottom: map-deep-get($config-global, "spacing", "unit");
 
 
 		select {
 		select {
 			vertical-align: top;
 			vertical-align: top;
@@ -93,12 +96,12 @@ body[class*="woocommerce"] #page .cart-collaterals .cross-sells {
 			white-space: nowrap;
 			white-space: nowrap;
 			padding: 0;
 			padding: 0;
 			clear: both;
 			clear: both;
-			border-color: $color_border_default;
+			border-color: map-deep-get($config-global, "color", "border", "default");
 			border-right: 0;
 			border-right: 0;
 			margin: 1px;
 			margin: 1px;
 
 
 			li {
 			li {
-				border-color: $color_border_default;
+				border-color: map-deep-get($config-global, "color", "border", "default");
 				padding: 0;
 				padding: 0;
 				margin: 0;
 				margin: 0;
 				float: left;
 				float: left;
@@ -121,8 +124,8 @@ body[class*="woocommerce"] #page .cart-collaterals .cross-sells {
 				span.current,
 				span.current,
 				a:hover,
 				a:hover,
 				a:focus {
 				a:focus {
-					background: $color_border_default;
-					color: $color_foreground_light;
+					background: map-deep-get($config-global, "color", "border", "default");
+					color: map-deep-get($config-global, "color", "foreground", "light");
 				}
 				}
 			}
 			}
 		}
 		}

+ 24 - 24
varia/sass/vendors/woocommerce/components/_product-tabs.scss

@@ -10,71 +10,71 @@ body[class*="woocommerce"] #page { // adding #content here to override default w
 	.woocommerce-tabs {
 	.woocommerce-tabs {
 
 
 		ul.tabs {
 		ul.tabs {
-			padding-left: $spacing_horizontal;
-			margin-bottom: $spacing_vertical;
+			padding-left: map-deep-get($config-global, "spacing", "horizontal");
+			margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 
 
 			li {
 			li {
-				border-color: $color_border_default;
-				background-color: $color_background_light;
-				border-radius: $border_radius $border_radius 0 0;
-				padding-left: $spacing_horizontal;
-				padding-right: $spacing_horizontal;
+				border-color: map-deep-get($config-global, "color", "border", "default");
+				background-color: map-deep-get($config-global, "color", "background", "light");
+				border-radius: map-deep-get($config-global, "border-radius", "sm") map-deep-get($config-global, "border-radius", "sm") 0 0;
+				padding-left: map-deep-get($config-global, "spacing", "horizontal");
+				padding-right: map-deep-get($config-global, "spacing", "horizontal");
 
 
 				a {
 				a {
-					padding-top: (0.5 * $spacing_horizontal);
-					padding-bottom: (0.5 * $spacing_horizontal);
-					color: $color_foreground_light;
+					padding-top: #{0.5 * map-deep-get($config-global, "spacing", "horizontal")};
+					padding-bottom: #{0.5 * map-deep-get($config-global, "spacing", "horizontal")};
+					color: map-deep-get($config-global, "color", "foreground", "light");
 
 
 					&:hover {
 					&:hover {
-						color: $color_foreground_dark;
+						color: map-deep-get($config-global, "color", "foreground", "dark");
 					}
 					}
 				}
 				}
 
 
 				&.active {
 				&.active {
-					background-color: $color_background;
-					border-color: $color_border_default;
-					border-bottom-color: $color_background;
+					background-color: map-deep-get($config-global, "color", "background", "default");
+					border-color: map-deep-get($config-global, "color", "border", "default");
+					border-bottom-color: map-deep-get($config-global, "color", "background", "default");
 
 
 					a {
 					a {
-						color: $color_foreground_dark;
+						color: map-deep-get($config-global, "color", "foreground", "dark");
 						text-shadow: inherit;
 						text-shadow: inherit;
 					}
 					}
 
 
 					&::before {
 					&::before {
-						box-shadow: 2px 2px 0 $color_background;
+						box-shadow: 2px 2px 0 map-deep-get($config-global, "color", "background", "default");
 					}
 					}
 
 
 					&::after {
 					&::after {
-						box-shadow: -2px 2px 0 $color_background;
+						box-shadow: -2px 2px 0 map-deep-get($config-global, "color", "background", "default");
 					}
 					}
 				}
 				}
 
 
 				&::before,
 				&::before,
 				&::after {
 				&::after {
-					border-color: $color_border_default;
+					border-color: map-deep-get($config-global, "color", "border", "default");
 				}
 				}
 
 
 				&::before {
 				&::before {
-					box-shadow: 2px 2px 0 $color_background_light;
+					box-shadow: 2px 2px 0 map-deep-get($config-global, "color", "background", "light");
 				}
 				}
 
 
 				&::after {
 				&::after {
-					box-shadow: -2px 2px 0 $color_background_light;
+					box-shadow: -2px 2px 0 map-deep-get($config-global, "color", "background", "light");
 				}
 				}
 			}
 			}
 
 
 			&::before {
 			&::before {
-				border-bottom-color: $color_border_default;
+				border-bottom-color: map-deep-get($config-global, "color", "border", "default");
 			}
 			}
 		}
 		}
 
 
 		.panel {
 		.panel {
-			margin-bottom: $spacing_vertical;
+			margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 
 
 			h2,
 			h2,
 			.comment-reply-title {
 			.comment-reply-title {
-				font-family: $font_family_primary;
-				font-size: $fontsize_large;
+				font-family: #{map-deep-get($config-global, "font", "family", "primary")};
+				font-size: map-deep-get($config-global, "font", "size", "lg");
 				font-weight: bold;
 				font-weight: bold;
 			}
 			}
 		}
 		}

+ 11 - 11
varia/sass/vendors/woocommerce/components/_reviews.scss

@@ -10,8 +10,8 @@ body[class*="woocommerce"] #page { // adding #content here to override default w
 	#reviews {
 	#reviews {
 
 
 		h2 small {
 		h2 small {
-			color: $color_subtext;
-			font-size: $fontsize_small;
+			color: map-deep-get($config-global, "color", "foreground", "light");
+			font-size: map-deep-get($config-global, "font", "size", "sm");
 			margin: inherit;
 			margin: inherit;
 
 
 			a {
 			a {
@@ -28,30 +28,30 @@ body[class*="woocommerce"] #page { // adding #content here to override default w
 			ol.commentlist {
 			ol.commentlist {
 
 
 				li {
 				li {
-					margin-bottom: $spacing_unit;
+					margin-bottom: map-deep-get($config-global, "spacing", "unit");
 
 
 					.meta {
 					.meta {
-						color: $color_subtext;
-						font-size: $fontsize_small;
+						color: map-deep-get($config-global, "color", "foreground", "light");
+						font-size: map-deep-get($config-global, "font", "size", "sm");
 					}
 					}
 
 
 					img.avatar {
 					img.avatar {
 						padding: 0;
 						padding: 0;
-						width: $spacing_vertical;
+						width: map-deep-get($config-global, "spacing", "vertical");
 						height: auto;
 						height: auto;
 						background: transparent;
 						background: transparent;
-						border-color: $color_border_default;
+						border-color: map-deep-get($config-global, "color", "border", "default");
 						margin: 0;
 						margin: 0;
 						box-shadow: none;
 						box-shadow: none;
 					}
 					}
 
 
 					.woocommerce-review__author {
 					.woocommerce-review__author {
-						font-family: $font_family_primary;
+						font-family: #{map-deep-get($config-global, "font", "family", "primary")};
 					}
 					}
 
 
 					.comment-text {
 					.comment-text {
-						margin-left: #{3 * $spacing_unit};
-						border: 1px solid $color_border_default;
+						margin-left: #{3 * map-deep-get($config-global, "spacing", "unit")};
+						border: 1px solid map-deep-get($config-global, "color", "border", "default");
 						border-radius: 4px;
 						border-radius: 4px;
 						padding: 1em 1em 0;
 						padding: 1em 1em 0;
 
 
@@ -75,7 +75,7 @@ body[class*="woocommerce"] #page { // adding #content here to override default w
 				}
 				}
 
 
 				#respond {
 				#respond {
-					border: 1px solid darken($color_secondary, 3%);
+					border: 1px solid map-deep-get($config-global, "color", "border", "default");
 					border-radius: 4px;
 					border-radius: 4px;
 					padding: 1em 1em 0;
 					padding: 1em 1em 0;
 					margin: 20px 0 0 50px;
 					margin: 20px 0 0 50px;

+ 4 - 4
varia/sass/vendors/woocommerce/elements/_breadcrumbs.scss

@@ -6,10 +6,10 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 
 
 	.woocommerce-breadcrumb {
 	.woocommerce-breadcrumb {
 
 
-		margin-bottom: $spacing_vertical;
-		font-size: $fontsize_base;
-		font-family: $font_family_primary;
-		color: $color_subtext;
+		margin-bottom: map-deep-get($config-global, "spacing", "vertical");
+		font-size: map-deep-get($config-global, "font", "size", "base");
+		font-family: #{map-deep-get($config-global, "font", "family", "primary")};
+		color: map-deep-get($config-global, "color", "foreground", "light");
 
 
 		a {
 		a {
 			color: currentColor;
 			color: currentColor;

+ 11 - 11
varia/sass/vendors/woocommerce/elements/_notices.scss

@@ -7,31 +7,31 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	.woocommerce-message,
 	.woocommerce-message,
 	.woocommerce-error,
 	.woocommerce-error,
 	.woocommerce-info {
 	.woocommerce-info {
-		padding: $spacing_unit $spacing_vertical $spacing_unit #{2 * $spacing_vertical};
-		margin-bottom: $spacing_vertical;
-		background-color: $color_background_light;
-		color: $color_foreground_dark;
-		border-top-color: $color_primary;
+		padding: map-deep-get($config-global, "spacing", "unit") map-deep-get($config-global, "spacing", "vertical") map-deep-get($config-global, "spacing", "unit") #{2 * map-deep-get($config-global, "spacing", "vertical")};
+		margin-bottom: map-deep-get($config-global, "spacing", "vertical");
+		background-color: map-deep-get($config-global, "color", "background", "light");
+		color: map-deep-get($config-global, "color", "foreground", "dark");
+		border-top-color: map-deep-get($config-global, "color", "primary", "default");
 	}
 	}
 
 
 	.woocommerce-message {
 	.woocommerce-message {
-		border-top-color: $color_success;
+		border-top-color: map-deep-get($config-global, "color", "alert", "success");
 		&:before {
 		&:before {
-			color: $color_success;
+			color: map-deep-get($config-global, "color", "alert", "success");
 		}
 		}
 	}
 	}
 
 
 	.woocommerce-error {
 	.woocommerce-error {
-		border-top-color: $color_error;
+		border-top-color: map-deep-get($config-global, "color", "alert", "error");
 		&:before {
 		&:before {
-			color: $color_error;
+			color: map-deep-get($config-global, "color", "alert", "error");
 		}
 		}
 	}
 	}
 
 
 	.woocommerce-info {
 	.woocommerce-info {
-		border-top-color: $color_primary;
+		border-top-color: map-deep-get($config-global, "color", "primary", "default");
 		&:before {
 		&:before {
-			color: $color_primary;
+			color: map-deep-get($config-global, "color", "primary", "default");
 		}
 		}
 	}
 	}
 }
 }

+ 1 - 17
varia/sass/vendors/woocommerce/elements/_onsale.scss

@@ -5,22 +5,6 @@
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 
 
 	span.onsale {
 	span.onsale {
-		border-radius: 100%;
-		background-color: $color_highlight;
-		color: $color_foreground_dark;
-		font-size: $fontsize_small;
-		font-weight: 700;
-		font-family: $font_family_primary;
-		min-height: 3.236rem;
-		min-width: 3.236rem;
-		padding: 0.202rem;
-		position: absolute;
-		text-align: center;
-		line-height: 3.236;
-		top: -0.5em;
-		right: -0.5em;
-		left: auto;
-		margin: 0;
-		z-index: 9;
+		@extend %onsale-style;
 	}
 	}
 }
 }

+ 7 - 7
varia/sass/vendors/woocommerce/elements/_password-strength-meter.scss

@@ -6,31 +6,31 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	.woocommerce-password-strength {
 	.woocommerce-password-strength {
 		text-align: center;
 		text-align: center;
 		font-weight: 600;
 		font-weight: 600;
-		padding: #{0.5 * $spacing_base};
-		font-size: $fontsize_small;
+		padding: #{0.5 * #{map-deep-get($config-global, "spacing", "base")}};
+		font-size: map-deep-get($config-global, "font", "size", "sm");
 
 
 		&.strong {
 		&.strong {
-			background-color: $color_success;
+			background-color: map-deep-get($config-global, "color", "alert", "success");
 			border-color: none;
 			border-color: none;
 		}
 		}
 
 
 		&.good {
 		&.good {
-			background-color: $color_warning;
+			background-color: map-deep-get($config-global, "color", "alert", "warning");
 			border-color: none;
 			border-color: none;
 		}
 		}
 
 
 		&.short {
 		&.short {
-			background-color: $color_error;
+			background-color: map-deep-get($config-global, "color", "alert", "error");
 			border-color: none;
 			border-color: none;
 		}
 		}
 
 
 		&.bad {
 		&.bad {
-			background-color: $color_error;
+			background-color: map-deep-get($config-global, "color", "alert", "error");
 			border-color: none;
 			border-color: none;
 		}
 		}
 	}
 	}
 
 
 	.woocommerce-password-hint {
 	.woocommerce-password-hint {
-		font-size: $fontsize_xs;
+		font-size: map-deep-get($config-global, "font", "size", "xs");
 	}
 	}
 }
 }

+ 4 - 4
varia/sass/vendors/woocommerce/elements/_remove-icon.scss

@@ -5,13 +5,13 @@
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 
 
 	a.remove {
 	a.remove {
-		font-size: $fontsize_large;
-		height: $fontsize_large;
-		width: $fontsize_large;
+		font-size: map-deep-get($config-global, "font", "size", "lg");
+		height: map-deep-get($config-global, "font", "size", "lg");
+		width: map-deep-get($config-global, "font", "size", "lg");
 		color: red !important; // Required for default theme compatibility
 		color: red !important; // Required for default theme compatibility
 
 
 		&:hover {
 		&:hover {
-			color: $color_background !important; // Required for default theme compatibility
+			color: map-deep-get($config-global, "color", "background", "default") !important; // Required for default theme compatibility
 			background: red;
 			background: red;
 		}
 		}
 	}
 	}

+ 3 - 3
varia/sass/vendors/woocommerce/elements/_small-note.scss

@@ -5,8 +5,8 @@
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 
 
 	small.note {
 	small.note {
-		color: $color_subtext;
-		font-size: $fontsize_small;
-		margin-top: $spacing_unit;
+		color: map-deep-get($config-global, "color", "foreground", "light");
+		font-size: map-deep-get($config-global, "font", "size", "sm");
+		margin-top: map-deep-get($config-global, "spacing", "unit");
 	}
 	}
 }
 }

+ 4 - 2
varia/sass/vendors/woocommerce/elements/_star-rating.scss

@@ -7,11 +7,13 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	.star-rating {
 	.star-rating {
 
 
 		&::before {
 		&::before {
-			color: $color_secondary;
+			color: map-deep-get($config-global, "color", "secondary", "default");
+			content: "\53\53\53\53\53";
+			opacity: 0.5;
 		}
 		}
 
 
 		span {
 		span {
-			color: $color_secondary;
+			color: map-deep-get($config-global, "color", "secondary", "default");
 		}
 		}
 	}
 	}
 }
 }

+ 11 - 11
varia/sass/vendors/woocommerce/elements/_tables.scss

@@ -7,39 +7,39 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	table.shop_table {
 	table.shop_table {
 
 
 		border-collapse: collapse;
 		border-collapse: collapse;
-		border: 1px solid $color_border_default;
-		margin-bottom: $spacing_vertical;
+		border: 1px solid map-deep-get($config-global, "color", "border", "default");
+		margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 
 
 		td {
 		td {
 			border-top: none;
 			border-top: none;
 		}
 		}
 
 
 		tr {
 		tr {
-			border-bottom: 1px solid $color_border_default;
+			border-bottom: 1px solid map-deep-get($config-global, "color", "border", "default");
 		}
 		}
 	}
 	}
 
 
 	table.shop_attributes {
 	table.shop_attributes {
-		border-top-color: $color_border_default;
+		border-top-color: map-deep-get($config-global, "color", "border", "default");
 		border-top-style: solid;
 		border-top-style: solid;
-		margin-bottom: $spacing_vertical;
+		margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 
 
 		th {
 		th {
-			padding: $spacing_base;
-			border-bottom-color: $color_border_default;
+			padding: (0.5 * map-deep-get($config-global, "spacing", "unit"));
+			border-bottom-color: map-deep-get($config-global, "color", "border", "default");
 			border-bottom-style: solid;
 			border-bottom-style: solid;
-			line-height: $font_line_height;
+			line-height: map-deep-get($config-global, "font", "line-height", "body");
 		}
 		}
 
 
 		td {
 		td {
 			font-style: inherit;
 			font-style: inherit;
-			border-bottom-color: $color_border_default;
+			border-bottom-color: map-deep-get($config-global, "color", "border", "default");
 			border-bottom-style: solid;
 			border-bottom-style: solid;
-			line-height: $font_line_height;
+			line-height: map-deep-get($config-global, "font", "line-height", "body");
 
 
 			p {
 			p {
 				margin: 0;
 				margin: 0;
-				padding: $spacing_base 0;
+				padding: map-deep-get($config-global, "spacing", "base") 0;
 			}
 			}
 		}
 		}
 
 

+ 4 - 4
varia/sass/vendors/woocommerce/layout/_structure.scss

@@ -14,11 +14,11 @@ body[class*="woocommerce"] #page .woocommerce-address-fields,
 .woocommerce-Reviews #comments {
 .woocommerce-Reviews #comments {
 
 
 	& > *:not(:first-child) {
 	& > *:not(:first-child) {
-		margin-top: $spacing_vertical;
+		margin-top: map-deep-get($config-global, "spacing", "vertical");
 	}
 	}
 
 
 	& > *:not(:last-child) {
 	& > *:not(:last-child) {
-		margin-bottom: $spacing_vertical;
+		margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 	}
 	}
 
 
 	& > *:empty + *,
 	& > *:empty + *,
@@ -53,12 +53,12 @@ body[class*="woocommerce"] #page .woocommerce-checkout,
 body[class*="woocommerce"] #page .woocommerce-address-fields__field-wrapper {
 body[class*="woocommerce"] #page .woocommerce-address-fields__field-wrapper {
 
 
 	& > *:not(:first-child) {
 	& > *:not(:first-child) {
-		margin-top: $spacing_unit;
+		margin-top: map-deep-get($config-global, "spacing", "unit");
 	}
 	}
 
 
 	& > *:not(:last-child),
 	& > *:not(:last-child),
 	& > .price {
 	& > .price {
-		margin-bottom: $spacing_unit;
+		margin-bottom: map-deep-get($config-global, "spacing", "unit");
 	}
 	}
 
 
 	& > *:not(img):empty + *,
 	& > *:not(img):empty + *,

+ 3 - 3
varia/sass/vendors/woocommerce/pages/_account.scss

@@ -9,14 +9,14 @@
 		}
 		}
 
 
 		fieldset {
 		fieldset {
-			border: 1px solid $color_border_default;
-			padding: $spacing_unit;
+			border: 1px solid map-deep-get($config-global, "color", "border", "default");
+			padding: map-deep-get($config-global, "spacing", "unit");
 			border-radius: 3px;
 			border-radius: 3px;
 		}
 		}
 	}
 	}
 
 
 	.addresses .title h3 {
 	.addresses .title h3 {
-		font-size: $fontsize_base;
+		font-size: map-deep-get($config-global, "font", "size", "base")
 	}
 	}
 
 
 	.woocommerce {
 	.woocommerce {

+ 53 - 53
varia/sass/vendors/woocommerce/pages/_cart.scss

@@ -4,38 +4,38 @@
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
 
 
 	table.shop_table {
 	table.shop_table {
-		border-color: $color_border_default;
+		border-color: map-deep-get($config-global, "color", "border", "default");
 		border-radius: 3px;
 		border-radius: 3px;
 
 
 		th {
 		th {
-			padding: $spacing_base $spacing_unit;
-			line-height: $font_line_height;
+			padding: map-deep-get($config-global, "spacing", "unit") map-deep-get($config-global, "spacing", "unit");
+			line-height: map-deep-get($config-global, "font", "line-height", "body");
 		}
 		}
 
 
 		td {
 		td {
-			padding: $spacing_base $spacing_unit;
-			line-height: $font_line_height;
+			padding: map-deep-get($config-global, "spacing", "unit") map-deep-get($config-global, "spacing", "unit");
+			line-height: map-deep-get($config-global, "font", "line-height", "body");
 		}
 		}
 
 
 		tfoot td,
 		tfoot td,
 		tfoot th,
 		tfoot th,
 		tbody th {
 		tbody th {
-			border-top-color: $color_border_default;
+			border-top-color: map-deep-get($config-global, "color", "border", "default");
 		}
 		}
 	}
 	}
 
 
 	table.my_account_orders {
 	table.my_account_orders {
-		font-size: $fontsize_small;
+		font-size: map-deep-get($config-global, "font", "size", "sm");
 
 
 		th,
 		th,
 		td {
 		td {
-			padding: (0.5 * $spacing_base) $spacing_base;
+			padding: #{0.5 * map-deep-get($config-global, "spacing", "unit")} #{0.5 * map-deep-get($config-global, "spacing", "unit")};
 		}
 		}
 	}
 	}
 
 
 	td.product-name {
 	td.product-name {
 
 
-		font-family: $font_family_primary;
+		font-family: #{map-deep-get($config-global, "font", "family", "primary")};
 		font-weight: 700;
 		font-weight: 700;
 
 
 		dl.variation,
 		dl.variation,
@@ -43,23 +43,23 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 
 
 			dt,
 			dt,
 			.wc-item-meta-label {
 			.wc-item-meta-label {
-				margin-right: $spacing_base;
+				margin-right: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
 			}
 			}
 		}
 		}
 
 
 		p.backorder_notification {
 		p.backorder_notification {
-			font-size: $fontsize_small;
+			font-size: map-deep-get($config-global, "font", "size", "sm");
 		}
 		}
 	}
 	}
 
 
 	td.product-quantity {
 	td.product-quantity {
-		min-width: #{5 * $spacing_unit};
+		min-width: #{5 * map-deep-get($config-global, "spacing", "unit")};
 	}
 	}
 
 
 	table.cart td.actions .input-text {
 	table.cart td.actions .input-text {
 		width: inherit;
 		width: inherit;
 		float: inherit;
 		float: inherit;
-		padding: $spacing_unit;
+		padding: map-deep-get($config-global, "spacing", "unit");
 	}
 	}
 
 
 	#add_payment_method {
 	#add_payment_method {
@@ -67,114 +67,114 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 		table.cart {
 		table.cart {
 
 
 			.product-thumbnail {
 			.product-thumbnail {
-				min-width: $spacing_horizontal;
+				min-width: map-deep-get($config-global, "spacing", "horizontal");
 			}
 			}
 
 
 			img {
 			img {
-				width: #{2 * $spacing_vertical};
+				width: #{2 * map-deep-get($config-global, "spacing", "vertical")};
 			}
 			}
 
 
 			td.actions .coupon .input-text {
 			td.actions .coupon .input-text {
-				border-color: $color_border_default;
-				padding: $spacing_base;
-				margin: 0 $spacing_base 0 0;
+				border-color: map-deep-get($config-global, "color", "border", "default");
+				padding: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
+				margin: 0 map-deep-get($config-global, "spacing", "unit") 0 0;
 			}
 			}
 		}
 		}
 
 
 		.wc-proceed-to-checkout {
 		.wc-proceed-to-checkout {
 
 
-			padding: $spacing_vertical 0;
+			padding: map-deep-get($config-global, "spacing", "vertical") 0;
 
 
 			a.checkout-button {
 			a.checkout-button {
-				margin-bottom: $spacing_vertical;
-				font-size: $fontsize_medium;
-				padding: $spacing_unit;
+				margin-bottom: map-deep-get($config-global, "spacing", "vertical");
+				font-size: map-deep-get($config-global, "font", "size", "md");
+				padding: map-deep-get($config-global, "spacing", "unit");
 			}
 			}
 		}
 		}
 
 
 		.checkout {
 		.checkout {
 
 
 			.create-account small {
 			.create-account small {
-				font-size: $fontsize_xs;
-				color: $color_subtext;
+				font-size: map-deep-get($config-global, "font", "size", "xs");
+				color: map-deep-get($config-global, "color", "foreground", "light");
 			}
 			}
 		}
 		}
 
 
 		#payment {
 		#payment {
-			background: $color_background_light;
+			background: map-deep-get($config-global, "color", "background", "light");
 			border-radius: 3px;
 			border-radius: 3px;
 
 
 			ul.payment_methods {
 			ul.payment_methods {
 
 
-				padding: $spacing_base;
-				border-bottom-color: $color_border_default;
+				padding: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
+				border-bottom-color: map-deep-get($config-global, "color", "border", "default");
 
 
 				li {
 				li {
-					line-height: $font_line_height;
+					line-height: map-deep-get($config-global, "font", "line-height", "body");
 
 
 					input {
 					input {
-						margin-right: $font_line_height;
+						margin-right: map-deep-get($config-global, "font", "line-height", "body");
 					}
 					}
 				}
 				}
 			}
 			}
 
 
 			div.form-row {
 			div.form-row {
-				padding: $spacing_base;
+				padding: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
 			}
 			}
 
 
 			div.payment_box {
 			div.payment_box {
-				padding: $spacing_base;
-				margin-bottom: $spacing_base;
-				margin-top: $spacing_base;
-				font-size: $fontsize_small;
+				padding: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
+				margin-bottom: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
+				margin-top: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
+				font-size: map-deep-get($config-global, "font", "size", "sm");
 				border-radius: 3px;
 				border-radius: 3px;
-				line-height: $font_line_height;
-				background-color: $color_border_default;
-				color: $color_foreground;
+				line-height: map-deep-get($config-global, "font", "line-height", "body");
+				background-color: map-deep-get($config-global, "color", "border", "default");
+				color: map-deep-get($config-global, "color", "foreground", "default");
 
 
 				input.input-text,
 				input.input-text,
 				textarea {
 				textarea {
-					border-color: $color_border_default;
-					border-top-color: $color_border_default;
+					border-color: map-deep-get($config-global, "color", "border", "default");
+					border-top-color: map-deep-get($config-global, "color", "border", "default");
 				}
 				}
 
 
 				::-webkit-input-placeholder {
 				::-webkit-input-placeholder {
-					color: $color_foreground_light;
+					color: map-deep-get($config-global, "color", "foreground", "light");
 				}
 				}
 
 
 				:-moz-placeholder {
 				:-moz-placeholder {
-					color: $color_foreground_light;
+					color: map-deep-get($config-global, "color", "foreground", "light");
 				}
 				}
 
 
 				:-ms-input-placeholder {
 				:-ms-input-placeholder {
-					color: $color_foreground_light;
+					color: map-deep-get($config-global, "color", "foreground", "light");
 				}
 				}
 
 
 				.woocommerce-SavedPaymentMethods {
 				.woocommerce-SavedPaymentMethods {
 
 
 					.woocommerce-SavedPaymentMethods-tokenInput {
 					.woocommerce-SavedPaymentMethods-tokenInput {
-						margin-right: $spacing_unit;
+						margin-right: map-deep-get($config-global, "spacing", "unit");
 					}
 					}
 				}
 				}
 
 
 				.wc-credit-card-form {
 				.wc-credit-card-form {
-					margin-top: $spacing_unit;
+					margin-top: map-deep-get($config-global, "spacing", "unit");
 				}
 				}
 
 
 				.wc-credit-card-form-card-number,
 				.wc-credit-card-form-card-number,
 				.wc-credit-card-form-card-expiry,
 				.wc-credit-card-form-card-expiry,
 				.wc-credit-card-form-card-cvc {
 				.wc-credit-card-form-card-cvc {
-					font-size: $fontsize_large;
-					padding: $spacing_base;
+					font-size: map-deep-get($config-global, "font", "size", "lg");
+					padding: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
 				}
 				}
 
 
 				span.help {
 				span.help {
-					font-size: $fontsize_small;
-					color: $color_subtext;
+					font-size: map-deep-get($config-global, "font", "size", "sm");
+					color: map-deep-get($config-global, "color", "foreground", "light");
 				}
 				}
 
 
 				.form-row {
 				.form-row {
-					margin: 0 0 $spacing_vertical;
+					margin: 0 0 map-deep-get($config-global, "spacing", "vertical");
 				}
 				}
 
 
 				p:last-child {
 				p:last-child {
@@ -182,7 +182,7 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 				}
 				}
 
 
 				&::before {
 				&::before {
-					border-bottom-color: $color_border_default; /* arrow size / color */
+					border-bottom-color: map-deep-get($config-global, "color", "border", "default"); /* arrow size / color */
 				}
 				}
 			}
 			}
 
 
@@ -191,7 +191,7 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 				.about_paypal {
 				.about_paypal {
 					float: right;
 					float: right;
 					line-height: 52px;
 					line-height: 52px;
-					font-size: $fontsize_small;
+					font-size: map-deep-get($config-global, "font", "size", "sm");
 				}
 				}
 
 
 				img {
 				img {
@@ -203,12 +203,12 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	}
 	}
 
 
 	.woocommerce-terms-and-conditions {
 	.woocommerce-terms-and-conditions {
-		border-color: $color_border_default;
+		border-color: map-deep-get($config-global, "color", "border", "default");
 	}
 	}
 
 
 	.woocommerce-invalid {
 	.woocommerce-invalid {
 		#terms {
 		#terms {
-			outline-color: $color_error;
+			outline-color: map-deep-get($config-global, "color", "alert", "error");
 		}
 		}
 	}
 	}
 }
 }

+ 26 - 26
varia/sass/vendors/woocommerce/pages/_single-product.scss

@@ -11,49 +11,49 @@
 		}
 		}
 
 
 		div.images {
 		div.images {
-			margin-bottom: $spacing_vertical;
+			margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 
 
 			div.thumbnails {
 			div.thumbnails {
-				padding-top: $spacing_unit;
+				padding-top: map-deep-get($config-global, "spacing", "unit");
 			}
 			}
 
 
 			.woocommerce-product-gallery__wrapper .zoomImg {
 			.woocommerce-product-gallery__wrapper .zoomImg {
-				background-color: $color_background;
+				background-color: map-deep-get($config-global, "color", "background", "default");
 			}
 			}
 
 
 			.woocommerce-product-gallery__image--placeholder {
 			.woocommerce-product-gallery__image--placeholder {
-				border-color: $color_border_light;
+				border-color: map-deep-get($config-global, "color", "border", "light");
 			}
 			}
 
 
 			.woocommerce-product-gallery__trigger {
 			.woocommerce-product-gallery__trigger {
-				font-size: $fontsize_medium;
-				background: $color_background;
+				font-size: map-deep-get($config-global, "font", "size", "md");
+				background: map-deep-get($config-global, "color", "background", "default");
 
 
 				&::before {
 				&::before {
-					border-color: $color_border_dark;
+					border-color: map-deep-get($config-global, "color", "border", "dark");
 				}
 				}
 
 
 				&::after {
 				&::after {
-					background-color: $color_border_dark;
+					background-color: map-deep-get($config-global, "color", "border", "dark");
 				}
 				}
 			}
 			}
 		}
 		}
 
 
 		div.summary {
 		div.summary {
-			margin-bottom: $spacing_vertical;
+			margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 
 
 			span.price,
 			span.price,
 			p.price {
 			p.price {
-				color: $color_foreground_dark;
-				font-size: $fontsize_xl;
+				color: map-deep-get($config-global, "color", "foreground", "dark");
+				font-size: map-deep-get($config-global, "font", "size", "xl");
 			}
 			}
 
 
 			p.stock {
 			p.stock {
-				font-size: $fontsize_base;
+				font-size: map-deep-get($config-global, "font", "size", "base")
 			}
 			}
 
 
 			.stock {
 			.stock {
-				color: $color_primary;
+				color: map-deep-get($config-global, "color", "primary", "default");
 			}
 			}
 
 
 			.out-of-stock {
 			.out-of-stock {
@@ -61,13 +61,13 @@
 			}
 			}
 
 
 			.woocommerce-product-rating {
 			.woocommerce-product-rating {
-				margin-bottom: $spacing_vertical;
+				margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 			}
 			}
 
 
 		}
 		}
 
 
 		div.social {
 		div.social {
-			margin-bottom: $spacing_vertical;
+			margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 		}
 		}
 
 
 		.product_meta > * {
 		.product_meta > * {
@@ -76,50 +76,50 @@
 
 
 		.up-sells {
 		.up-sells {
 			& > h2 {
 			& > h2 {
-				font-size: $fontsize_large;
+				font-size: map-deep-get($config-global, "font", "size", "lg");
 			}
 			}
 		}
 		}
 
 
 		p.cart {
 		p.cart {
-			margin-bottom: $spacing_vertical;
+			margin-bottom: map-deep-get($config-global, "spacing", "vertical");
 		}
 		}
 
 
 		form.cart {
 		form.cart {
 
 
 			.variations {
 			.variations {
-				margin-bottom: $spacing_unit;
+				margin-bottom: map-deep-get($config-global, "spacing", "unit");
 
 
 				td,
 				td,
 				th {
 				th {
-					line-height: $font_line_height;
+					line-height: map-deep-get($config-global, "font", "line-height", "body");
 				}
 				}
 
 
 				select {
 				select {
-					margin-right: $spacing_unit;
+					margin-right: map-deep-get($config-global, "spacing", "unit");
 				}
 				}
 
 
 				td.label {
 				td.label {
-					padding-right: $spacing_unit;
+					padding-right: map-deep-get($config-global, "spacing", "unit");
 				}
 				}
 			}
 			}
 
 
 			.woocommerce-variation-description p {
 			.woocommerce-variation-description p {
-				margin-bottom: $spacing_unit;
+				margin-bottom: map-deep-get($config-global, "spacing", "unit");
 			}
 			}
 
 
 			.reset_variations {
 			.reset_variations {
-				font-size: $fontsize_small;
+				font-size: map-deep-get($config-global, "font", "size", "sm");
 			}
 			}
 
 
 			.group_table {
 			.group_table {
 
 
 				td.woocommerce-grouped-product-list-item__label {
 				td.woocommerce-grouped-product-list-item__label {
-					padding-right: $spacing_unit;
-					padding-left: $spacing_unit;
+					padding-right: map-deep-get($config-global, "spacing", "unit");
+					padding-left: map-deep-get($config-global, "spacing", "unit");
 				}
 				}
 
 
 				td {
 				td {
-					padding-bottom: $spacing_unit;
+					padding-bottom: map-deep-get($config-global, "spacing", "unit");
 				}
 				}
 			}
 			}
 
 

+ 6 - 0
varia/style-editor.css

@@ -183,6 +183,12 @@ $grid-configuration: map-extend($grid-configuration-default, $grid-configuration
 	background-color: indigo;
 	background-color: indigo;
 }
 }
 
 
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
 /**
 /**
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser

+ 83 - 0
varia/style-rtl.css

@@ -206,6 +206,12 @@ input.has-focus[type="submit"],
 	background-color: indigo;
 	background-color: indigo;
 }
 }
 
 
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
 /**
 /**
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser
@@ -214,6 +220,83 @@ input.has-focus[type="submit"],
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser
  */
  */
+/**
+ * Button Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
+button,
+.button,
+input[type="submit"],
+.wp-block-button__link,
+.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
+	line-height: 1;
+	color: white;
+	cursor: pointer;
+	font-weight: bold;
+	font-family: sans-serif;
+	font-size: 1.2rem;
+	background-color: blue;
+	border-radius: 9px;
+	border-width: 0;
+	padding: 16px 16px;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	content: '';
+	display: block;
+	height: 0;
+	width: 0;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
+	margin-bottom: -0.12em;
+}
+
+button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	margin-top: -0.11em;
+}
+
+button:hover,
+.button:hover,
+input:hover[type="submit"],
+.wp-block-button__link:hover,
+.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
+.button:focus,
+input:focus[type="submit"],
+.wp-block-button__link:focus,
+.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
+.has-focus.button,
+input.has-focus[type="submit"],
+.has-focus.wp-block-button__link,
+.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
+	color: white;
+	background-color: indigo;
+}
+
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /* Document
 /* Document
    ========================================================================== */
    ========================================================================== */

+ 107 - 28
varia/style-woocommerce.css

@@ -249,6 +249,36 @@ body[class*="woocommerce"] #page .woocommerce.widget_shopping_cart .buttons a.ha
 	background-color: indigo;
 	background-color: indigo;
 }
 }
 
 
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
+body[class*="woocommerce"] #page span.onsale, #content .wc-block-grid .wc-block-grid__product-onsale {
+	border-radius: 100%;
+	background-color: gold;
+	color: #111111;
+	font-size: 0.83333rem;
+	font-weight: 700;
+	font-family: sans-serif;
+	min-height: 3.236rem;
+	min-width: 3.236rem;
+	padding: 0.202rem;
+	position: absolute;
+	text-align: center;
+	text-transform: none;
+	line-height: 3.236;
+	top: -0.5em;
+	right: -0.5em;
+	left: auto;
+	margin: 0;
+	z-index: 9;
+}
+
+/**
+ * Abstracts Imports
+ */
 /**
 /**
  * WooCommerce
  * WooCommerce
  */
  */
@@ -312,33 +342,13 @@ body[class*="woocommerce"] #page .woocommerce-info:before {
 /**
 /**
  * Star ratings
  * Star ratings
  */
  */
-body[class*="woocommerce"] #page span.onsale {
-	border-radius: 100%;
-	background-color: gold;
-	color: #111111;
-	font-size: 0.83333rem;
-	font-weight: 700;
-	font-family: sans-serif;
-	min-height: 3.236rem;
-	min-width: 3.236rem;
-	padding: 0.202rem;
-	position: absolute;
-	text-align: center;
-	line-height: 3.236;
-	top: -0.5em;
-	right: -0.5em;
-	left: auto;
-	margin: 0;
-	z-index: 9;
-}
-
 /**
 /**
  * Password strength meter
  * Password strength meter
  */
  */
 body[class*="woocommerce"] #page .woocommerce-password-strength {
 body[class*="woocommerce"] #page .woocommerce-password-strength {
 	text-align: center;
 	text-align: center;
 	font-weight: 600;
 	font-weight: 600;
-	padding: 4px;
+	padding: 0.5 * ;
 	font-size: 0.83333rem;
 	font-size: 0.83333rem;
 }
 }
 
 
@@ -395,6 +405,8 @@ body[class*="woocommerce"] #page small.note {
  */
  */
 body[class*="woocommerce"] #page .star-rating::before {
 body[class*="woocommerce"] #page .star-rating::before {
 	color: red;
 	color: red;
+	content: "\53\53\53\53\53";
+	opacity: 0.5;
 }
 }
 
 
 body[class*="woocommerce"] #page .star-rating span {
 body[class*="woocommerce"] #page .star-rating span {
@@ -440,7 +452,7 @@ body[class*="woocommerce"] #page table.shop_attributes td {
 
 
 body[class*="woocommerce"] #page table.shop_attributes td p {
 body[class*="woocommerce"] #page table.shop_attributes td p {
 	margin: 0;
 	margin: 0;
-	padding: 8px 0;
+	padding: 0;
 }
 }
 
 
 body[class*="woocommerce"] #page table.shop_attributes tr:nth-child(even) td,
 body[class*="woocommerce"] #page table.shop_attributes tr:nth-child(even) td,
@@ -489,6 +501,66 @@ body[class*="woocommerce"] #page .woocommerce input.button:disabled[disabled]:ho
 	background-color: blue;
 	background-color: blue;
 }
 }
 
 
+/**
+ * WooCommerce Block Grid
+ * - Used by:
+ *   .wp-block-product-new
+ *   .wp-block-product-best-sellers
+ *   .wp-block-product-on-sale
+ *   .wp-block-product-top-rated
+ *   .wp-block-product-categroy
+ *   .wp-block-products-by-attribute
+ */
+#content .wc-block-grid .wc-block-grid__product > *:not(:first-child),
+#content .wc-block-grid .wc-block-grid__product-link > *:not(:first-child) {
+	margin-top: 16px;
+}
+
+#content .wc-block-grid .wc-block-grid__product > *:not(:last-child),
+#content .wc-block-grid .wc-block-grid__product-link > *:not(:last-child) {
+	margin-bottom: 16px;
+}
+
+#content .wc-block-grid .wc-block-grid__product > *:not(img):empty + *,
+#content .wc-block-grid .wc-block-grid__product-link > *:not(img):empty + * {
+	margin-top: 0;
+}
+
+#content .wc-block-grid .wc-block-grid__product > *:last-child,
+#content .wc-block-grid .wc-block-grid__product-link > *:last-child {
+	margin-bottom: 0;
+}
+
+#content .wc-block-grid .wc-block-grid__product > *:empty,
+#content .wc-block-grid .wc-block-grid__product-link > *:empty {
+	margin: 0;
+}
+
+#content .wc-block-grid .wc-block-grid__product-title {
+	font-family: sans-serif;
+	font-size: 1rem;
+}
+
+#content .wc-block-grid .wc-block-grid__product-rating .star-rating span:before {
+	color: red;
+}
+
+#content .wc-block-grid .wc-block-grid__product-price {
+	color: #111111;
+	font-size: 1.2rem;
+	line-height: 1.125;
+}
+
+#content .wc-block-grid .wc-block-grid__product-price ins {
+	color: yellowgreen;
+	font-weight: bold;
+}
+
+#content .wc-block-grid .wc-block-grid__product .wc-block-grid__product-onsale {
+	right: calc(-0.5em + 16px);
+	margin: 0;
+}
+
 /**
 /**
  * Components Imports
  * Components Imports
  */
  */
@@ -610,11 +682,18 @@ body[class*="woocommerce"] #page .cart-collaterals .cross-sells ul.products {
 	padding: 0;
 	padding: 0;
 }
 }
 
 
+#woocommerce-wrapper ul.products li.product,
+body[class*="woocommerce"] #page #add_payment_method .cart-collaterals .cross-sells ul.products li.product,
+body[class*="woocommerce"] #page .cart-collaterals .cross-sells ul.products li.product {
+	text-align: center;
+}
+
 #woocommerce-wrapper ul.products li.product .star-rating,
 #woocommerce-wrapper ul.products li.product .star-rating,
 body[class*="woocommerce"] #page #add_payment_method .cart-collaterals .cross-sells ul.products li.product .star-rating,
 body[class*="woocommerce"] #page #add_payment_method .cart-collaterals .cross-sells ul.products li.product .star-rating,
 body[class*="woocommerce"] #page .cart-collaterals .cross-sells ul.products li.product .star-rating {
 body[class*="woocommerce"] #page .cart-collaterals .cross-sells ul.products li.product .star-rating {
 	font-size: 0.83333rem;
 	font-size: 0.83333rem;
-	margin: inherit;
+	margin-left: auto;
+	margin-right: auto;
 }
 }
 
 
 #woocommerce-wrapper ul.products li.product h3,
 #woocommerce-wrapper ul.products li.product h3,
@@ -829,7 +908,7 @@ body[class*="woocommerce"] #page #reviews #comments ol.commentlist ul.children .
 }
 }
 
 
 body[class*="woocommerce"] #page #reviews #comments ol.commentlist #respond {
 body[class*="woocommerce"] #page #reviews #comments ol.commentlist #respond {
-	border: 1px solid #f00000;
+	border: 1px solid #DDDDDD;
 	border-radius: 4px;
 	border-radius: 4px;
 	padding: 1em 1em 0;
 	padding: 1em 1em 0;
 	margin: 20px 0 0 50px;
 	margin: 20px 0 0 50px;
@@ -1116,12 +1195,12 @@ body[class*="woocommerce"] #page table.shop_table {
 }
 }
 
 
 body[class*="woocommerce"] #page table.shop_table th {
 body[class*="woocommerce"] #page table.shop_table th {
-	padding: 8px 16px;
+	padding: 16px 16px;
 	line-height: 1.78;
 	line-height: 1.78;
 }
 }
 
 
 body[class*="woocommerce"] #page table.shop_table td {
 body[class*="woocommerce"] #page table.shop_table td {
-	padding: 8px 16px;
+	padding: 16px 16px;
 	line-height: 1.78;
 	line-height: 1.78;
 }
 }
 
 
@@ -1137,7 +1216,7 @@ body[class*="woocommerce"] #page table.my_account_orders {
 
 
 body[class*="woocommerce"] #page table.my_account_orders th,
 body[class*="woocommerce"] #page table.my_account_orders th,
 body[class*="woocommerce"] #page table.my_account_orders td {
 body[class*="woocommerce"] #page table.my_account_orders td {
-	padding: 4px 8px;
+	padding: 8px 8px;
 }
 }
 
 
 body[class*="woocommerce"] #page td.product-name {
 body[class*="woocommerce"] #page td.product-name {
@@ -1177,7 +1256,7 @@ body[class*="woocommerce"] #page #add_payment_method table.cart img {
 body[class*="woocommerce"] #page #add_payment_method table.cart td.actions .coupon .input-text {
 body[class*="woocommerce"] #page #add_payment_method table.cart td.actions .coupon .input-text {
 	border-color: #DDDDDD;
 	border-color: #DDDDDD;
 	padding: 8px;
 	padding: 8px;
-	margin: 0 8px 0 0;
+	margin: 0 16px 0 0;
 }
 }
 
 
 body[class*="woocommerce"] #page #add_payment_method .wc-proceed-to-checkout {
 body[class*="woocommerce"] #page #add_payment_method .wc-proceed-to-checkout {

+ 2 - 0
varia/style-woocommerce.scss

@@ -11,6 +11,8 @@
 @import "sass/abstracts/config-global";
 @import "sass/abstracts/config-global";
 @import "sass/abstracts/mixins";
 @import "sass/abstracts/mixins";
 @import "sass/abstracts/extends";
 @import "sass/abstracts/extends";
+// WooCommerce Abstracts
+@import "sass/vendors/woocommerce/abstracts/imports";
 
 
 /**
 /**
  * WooCommerce
  * WooCommerce

+ 83 - 13
varia/style.css

@@ -206,6 +206,12 @@ input.has-focus[type="submit"],
 	background-color: indigo;
 	background-color: indigo;
 }
 }
 
 
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
 /**
 /**
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser
@@ -214,6 +220,83 @@ input.has-focus[type="submit"],
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser
  */
  */
+/**
+ * Button Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
+button,
+.button,
+input[type="submit"],
+.wp-block-button__link,
+.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
+	line-height: 1;
+	color: white;
+	cursor: pointer;
+	font-weight: bold;
+	font-family: sans-serif;
+	font-size: 1.2rem;
+	background-color: blue;
+	border-radius: 9px;
+	border-width: 0;
+	padding: 16px 16px;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	content: '';
+	display: block;
+	height: 0;
+	width: 0;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
+	margin-bottom: -0.12em;
+}
+
+button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	margin-top: -0.11em;
+}
+
+button:hover,
+.button:hover,
+input:hover[type="submit"],
+.wp-block-button__link:hover,
+.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
+.button:focus,
+input:focus[type="submit"],
+.wp-block-button__link:focus,
+.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
+.has-focus.button,
+input.has-focus[type="submit"],
+.has-focus.wp-block-button__link,
+.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
+	color: white;
+	background-color: indigo;
+}
+
+/**
+ * Onsale Placeholder style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
+ */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /* Document
 /* Document
    ========================================================================== */
    ========================================================================== */
@@ -2420,11 +2503,6 @@ table th,
 	z-index: 99999;
 	z-index: 99999;
 }
 }
 
 
-.main-navigation > div > ul li:hover, .main-navigation > div > ul li[focus-within] {
-	cursor: pointer;
-	z-index: 99999;
-}
-
 .main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
 .main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
 	cursor: pointer;
 	cursor: pointer;
 	z-index: 99999;
 	z-index: 99999;
@@ -2445,14 +2523,6 @@ table th,
 		display: block;
 		display: block;
 	}
 	}
 	.main-navigation > div > ul li:hover > ul,
 	.main-navigation > div > ul li:hover > ul,
-	.main-navigation > div > ul li[focus-within] > ul,
-	.main-navigation > div > ul li ul:hover,
-	.main-navigation > div > ul li ul:focus {
-		visibility: visible;
-		opacity: 1;
-		display: block;
-	}
-	.main-navigation > div > ul li:hover > ul,
 	.main-navigation > div > ul li:focus-within > ul,
 	.main-navigation > div > ul li:focus-within > ul,
 	.main-navigation > div > ul li ul:hover,
 	.main-navigation > div > ul li ul:hover,
 	.main-navigation > div > ul li ul:focus {
 	.main-navigation > div > ul li ul:focus {