Browse Source

Sophisticated Business: Temp fix for Jetpack Business Hours Block style

Takashi Irie 6 years ago
parent
commit
32436e1c69

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

@@ -792,3 +792,19 @@ ul.wp-block-archives li ul,
   background-color: transparent;
   background-color: transparent;
   color: #fff !important;
   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;
 	background-color: transparent;
 	color: #fff !important;
 	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 {
 .contact-form label span {
   color: #767676;
   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 {
 .contact-form label span {
 	color: #767676;
 	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;
+	}
+}