ソースを参照

Merge pull request #790 from Automattic/fix/issue757

Temp. fix for Jetpack Business Hours Block style for all 6 style variations
Allan Cole 6 年 前
コミット
f19fea3c37

+ 16 - 0
calm-business/style-editor.css

@@ -903,3 +903,19 @@ ul.wp-block-archives li ul,
 [data-type="core/media-text"] a {
   color: inherit;
 }
+
+/** === Business Hours Block - Temp Fix === */
+.wp-block-jetpack-business-hours dt,
+.wp-block-jetpack-business-hours dd {
+  float: left;
+}
+
+.wp-block-jetpack-business-hours dt {
+  clear: both;
+  font-weight: bold;
+  margin-right: 0.5rem;
+}
+
+.wp-block-jetpack-business-hours dd {
+  margin: 0;
+}

+ 19 - 0
calm-business/style-editor.scss

@@ -858,3 +858,22 @@ ul.wp-block-archives,
 		color: inherit;
 	}
 }
+
+/** === Business Hours Block - Temp Fix === */
+
+.wp-block-jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		font-weight: bold;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 17 - 0
calm-business/style-jetpack.css

@@ -90,3 +90,20 @@
 /**
   * Content Options
   */
+/**
+ * Blocks
+ */
+/* Business Hours - Temp Fix */
+.jetpack-business-hours dt,
+.jetpack-business-hours dd {
+  float: left;
+}
+
+.jetpack-business-hours dt {
+  clear: both;
+  margin-right: 0.5rem;
+}
+
+.jetpack-business-hours dd {
+  margin: 0;
+}

+ 38 - 17
calm-business/style-jetpack.scss

@@ -26,26 +26,26 @@
 		outline-offset: -4px;
 	}
  }
- 
+
  /**
   * Responsive Videos
   */
- 
+
  /**
   * Sharing
   */
- 
+
  .entry div.sharedaddy h3.sd-title,
  .entry h3.sd-title {
      font-family: $font__heading;
      font-weight: $font__weight_semi_bold;
      letter-spacing: normal;
  }
- 
+
  /**
   * Related Posts
   */
- 
+
  .entry #jp-relatedposts h3.jp-relatedposts-headline {
      font-family: $font__heading;
      font-weight: $font__weight_semi_bold;
@@ -53,48 +53,69 @@
          font-weight: inherit;
      }
  }
- 
+
  .entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
  .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
      font-family: $font__body;
  }
- 
+
  .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
  .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
      font-family: $font__body;
  }
- 
+
  /**
   * Stats
   */
- 
+
  /**
   * Comments
   */
- 
+
  /**
   * Widgets
   */
- 
+
  /* Authors Widget */
  .widget_authors > ul > li > a {
      font-family: $font__body;
  }
- 
+
  /* Display WordPress Posts */
- 
+
  /* GoodReads */
- 
+
  /* EU cookie law */
  .widget_eu_cookie_law_widget #eu-cookie-law {
      font-family: $font__body;
  }
- 
+
  /* RSS Links */
  .widget_rss_links li {
      font-family: $font__body;
  }
- 
+
  /**
   * Content Options
-  */
+  */
+
+ /**
+ * Blocks
+ */
+
+/* Business Hours - Temp Fix */
+.jetpack-business-hours {
+  dt,
+  dd {
+    float: left;
+  }
+
+  dt {
+    clear: both;
+    margin-right: ( $size__spacing-unit * .5 );
+  }
+
+  dd {
+    margin: 0;
+  }
+}

+ 16 - 0
elegant-business/style-editor.css

@@ -802,3 +802,19 @@ ul.wp-block-archives li ul,
 .wp-block[data-type="core/freeform"] .mce-btn i {
   font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+.wp-block-jetpack-business-hours dt,
+.wp-block-jetpack-business-hours dd {
+  float: left;
+}
+
+.wp-block-jetpack-business-hours dt {
+  clear: both;
+  font-weight: bold;
+  margin-right: 0.5rem;
+}
+
+.wp-block-jetpack-business-hours dd {
+  margin: 0;
+}

+ 19 - 0
elegant-business/style-editor.scss

@@ -780,3 +780,22 @@ ul.wp-block-archives,
 .wp-block[data-type="core/freeform"] .mce-btn i {
 	font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+
+.wp-block-jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		font-weight: bold;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 18 - 0
elegant-business/style-jetpack.css

@@ -95,3 +95,21 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
 .contact-form label span {
   color: #767676;
 }
+
+/**
+ * Blocks
+ */
+/* Business Hours - Temp Fix */
+.jetpack-business-hours dt,
+.jetpack-business-hours dd {
+  float: left;
+}
+
+.jetpack-business-hours dt {
+  clear: both;
+  margin-right: 0.5rem;
+}
+
+.jetpack-business-hours dd {
+  margin: 0;
+}

+ 22 - 1
elegant-business/style-jetpack.scss

@@ -110,4 +110,25 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
 
 .contact-form label span {
 	color: #767676;
-}
+}
+
+/**
+ * Blocks
+ */
+
+/* Business Hours - Temp Fix */
+.jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 16 - 0
friendly-business/style-editor.css

@@ -794,3 +794,19 @@ ul.wp-block-archives li ul,
 .wp-block[data-type="core/freeform"] .mce-btn i {
   font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+.wp-block-jetpack-business-hours dt,
+.wp-block-jetpack-business-hours dd {
+  float: left;
+}
+
+.wp-block-jetpack-business-hours dt {
+  clear: both;
+  font-weight: bold;
+  margin-right: 0.5rem;
+}
+
+.wp-block-jetpack-business-hours dd {
+  margin: 0;
+}

+ 19 - 0
friendly-business/style-editor.scss

@@ -810,3 +810,22 @@ ul.wp-block-archives,
 .wp-block[data-type="core/freeform"] .mce-btn i {
 	font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+
+.wp-block-jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		font-weight: bold;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 18 - 0
friendly-business/style-jetpack.css

@@ -83,3 +83,21 @@
 .entry-content .contact-form label span {
   color: #0d1b24;
 }
+
+/**
+ * Blocks
+ */
+/* Business Hours - Temp Fix */
+.jetpack-business-hours dt,
+.jetpack-business-hours dd {
+  float: left;
+}
+
+.jetpack-business-hours dt {
+  clear: both;
+  margin-right: 0.5rem;
+}
+
+.jetpack-business-hours dd {
+  margin: 0;
+}

+ 22 - 1
friendly-business/style-jetpack.scss

@@ -93,4 +93,25 @@
  */
 .entry-content .contact-form label span {
 	color: $color__text-dark;
-}
+}
+
+/**
+ * Blocks
+ */
+
+/* Business Hours - Temp Fix */
+.jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 16 - 0
modern-business/style-editor.css

@@ -831,3 +831,19 @@ ul.wp-block-archives li ul,
 .wp-block[data-type="core/freeform"] .mce-btn i {
   font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+.wp-block-jetpack-business-hours dt,
+.wp-block-jetpack-business-hours dd {
+  float: left;
+}
+
+.wp-block-jetpack-business-hours dt {
+  clear: both;
+  font-weight: bold;
+  margin-right: 0.5rem;
+}
+
+.wp-block-jetpack-business-hours dd {
+  margin: 0;
+}

+ 19 - 0
modern-business/style-editor.scss

@@ -833,3 +833,22 @@ ul.wp-block-archives,
 .wp-block[data-type="core/freeform"] .mce-btn i {
 	font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+
+.wp-block-jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		font-weight: bold;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 18 - 0
modern-business/style-jetpack.css

@@ -73,3 +73,21 @@
   color: inherit;
   font-weight: 300;
 }
+
+/**
+ * Blocks
+ */
+/* Business Hours - Temp Fix */
+.jetpack-business-hours dt,
+.jetpack-business-hours dd {
+  float: left;
+}
+
+.jetpack-business-hours dt {
+  clear: both;
+  margin-right: 0.5rem;
+}
+
+.jetpack-business-hours dd {
+  margin: 0;
+}

+ 22 - 1
modern-business/style-jetpack.scss

@@ -78,4 +78,25 @@
 .entry-content .contact-form label span {
 	color: inherit;
 	font-weight: 300;
-}
+}
+
+/**
+ * Blocks
+ */
+
+/* Business Hours - Temp Fix */
+.jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 16 - 0
professional-business/style-editor.css

@@ -782,3 +782,19 @@ ul.wp-block-archives li ul,
 .wp-block[data-type="core/freeform"] .mce-btn i {
   font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+.wp-block-jetpack-business-hours dt,
+.wp-block-jetpack-business-hours dd {
+  float: left;
+}
+
+.wp-block-jetpack-business-hours dt {
+  clear: both;
+  font-weight: bold;
+  margin-right: 0.5rem;
+}
+
+.wp-block-jetpack-business-hours dd {
+  margin: 0;
+}

+ 20 - 0
professional-business/style-editor.scss

@@ -786,3 +786,23 @@ ul.wp-block-archives,
 .wp-block[data-type="core/freeform"] .mce-btn i {
 	font-family: dashicons !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+
+.wp-block-jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		font-weight: bold;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}
+

+ 17 - 0
professional-business/style-jetpack.css

@@ -68,3 +68,20 @@
 /**
  * Content Options
  */
+/**
+ * Blocks
+ */
+/* Business Hours - Temp Fix */
+.jetpack-business-hours dt,
+.jetpack-business-hours dd {
+  float: left;
+}
+
+.jetpack-business-hours dt {
+  clear: both;
+  margin-right: 0.5rem;
+}
+
+.jetpack-business-hours dd {
+  margin: 0;
+}

+ 22 - 1
professional-business/style-jetpack.scss

@@ -77,4 +77,25 @@
 
 /**
  * Content Options
- */
+ */
+
+/**
+ * Blocks
+ */
+
+/* Business Hours - Temp Fix */
+.jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 16 - 0
sophisticated-business/style-editor.css

@@ -792,3 +792,19 @@ ul.wp-block-archives li ul,
   background-color: transparent;
   color: #fff !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+.wp-block-jetpack-business-hours dt,
+.wp-block-jetpack-business-hours dd {
+  float: left;
+}
+
+.wp-block-jetpack-business-hours dt {
+  clear: both;
+  font-weight: bold;
+  margin-right: 0.5rem;
+}
+
+.wp-block-jetpack-business-hours dd {
+  margin: 0;
+}

+ 19 - 0
sophisticated-business/style-editor.scss

@@ -801,3 +801,22 @@ ul.wp-block-archives,
 	background-color: transparent;
 	color: #fff !important;
 }
+
+/** === Business Hours Block - Temp Fix === */
+
+.wp-block-jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		font-weight: bold;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 18 - 0
sophisticated-business/style-jetpack.css

@@ -110,3 +110,21 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
 .contact-form label span {
   color: #767676;
 }
+
+/**
+ * Blocks
+ */
+/* Business Hours - Temp Fix */
+.jetpack-business-hours dt,
+.jetpack-business-hours dd {
+  float: left;
+}
+
+.jetpack-business-hours dt {
+  clear: both;
+  margin-right: 0.5rem;
+}
+
+.jetpack-business-hours dd {
+  margin: 0;
+}

+ 21 - 0
sophisticated-business/style-jetpack.scss

@@ -122,3 +122,24 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
 .contact-form label span {
 	color: #767676;
 }
+
+/**
+ * Blocks
+ */
+
+/* Business Hours - Temp Fix */
+.jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}