Browse Source

Varia: Improve widget spacing

Allan Cole 5 years ago
parent
commit
4190c2c14c

+ 2 - 1
varia/sass/layout/_structure.scss

@@ -116,7 +116,8 @@
 .post-thumbnail > *,
 .page-content > *,
 .comment-content > *,
-.author-bio > * {
+.author-bio > *,
+.widget-area > .widget > * {
 	margin-top: map-deep-get($config-global, "spacing", "unit");
 	margin-bottom: map-deep-get($config-global, "spacing", "unit");
 

+ 1 - 1
varia/sass/vendors/woocommerce/widgets/_price-filter.scss

@@ -11,6 +11,6 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	}
 
 	.widget_price_filter .price_slider_wrapper .ui-widget-content {
-		background-color: #{map-deep-get($config-global, "color", "primary", "hover")};
+		background-color: #{map-deep-get($config-global, "color", "foreground", "light")};
 	}
 }

+ 1 - 1
varia/style-woocommerce.css

@@ -1834,5 +1834,5 @@ body[class*="woocommerce"] #page .widget_price_filter .ui-slider .ui-slider-hand
 }
 
 body[class*="woocommerce"] #page .widget_price_filter .price_slider_wrapper .ui-widget-content {
-	background-color: indigo;
+	background-color: #767676;
 }

+ 6 - 3
varia/style.css

@@ -972,7 +972,8 @@ footer {
 .post-thumbnail > *,
 .page-content > *,
 .comment-content > *,
-.author-bio > * {
+.author-bio > *,
+.widget-area > .widget > * {
 	margin-top: 16px;
 	margin-bottom: 16px;
 }
@@ -982,7 +983,8 @@ footer {
 .post-thumbnail > *:first-child,
 .page-content > *:first-child,
 .comment-content > *:first-child,
-.author-bio > *:first-child {
+.author-bio > *:first-child,
+.widget-area > .widget > *:first-child {
 	margin-top: 0;
 }
 
@@ -991,7 +993,8 @@ footer {
 .post-thumbnail > *:last-child,
 .page-content > *:last-child,
 .comment-content > *:last-child,
-.author-bio > *:last-child {
+.author-bio > *:last-child,
+.widget-area > .widget > *:last-child {
 	margin-bottom: 0;
 }