Browse Source

Club: fixing outline button styles (#6380)

* Club: fixing outline button styles

* lint
Matias Benedetto 2 năm trước cách đây
mục cha
commit
b444b53889
1 tập tin đã thay đổi với 11 bổ sung1 xóa
  1. 11 1
      club/style.css

+ 11 - 1
club/style.css

@@ -70,13 +70,23 @@ a {
 	.wp-elements-button,
 	.wp-elements-button,
 	.wp-block-read-more,
 	.wp-block-read-more,
 ):where(:active) {
 ):where(:active) {
-	border-style: dotted;
+	border-style: dashed;
+}
+
+/* Overrides the Gutenberg styles for the outline button */
+.wp-block-button.is-style-outline>.wp-block-button__link {
+	padding-top: calc(0.05em + 2px);
+	padding-right: calc(1.333em + 2px);
+	padding-bottom: calc(0.05em + 2px);
+	padding-left: calc(1.333em + 2px);
+	border: 1.5px solid var(--wp--preset--color--foreground);
 }
 }
 
 
 :is(
 :is(
 	.is-style-outline .wp-block-button__link,
 	.is-style-outline .wp-block-button__link,
 	.is-style-outline .wp-element-button,
 	.is-style-outline .wp-element-button,
 	.wp-block-post-comments-form input[type=submit],
 	.wp-block-post-comments-form input[type=submit],
+	.wp-block-button.is-style-outline>.wp-block-button__link, /* < - Overrides the Gutenberg styles for the outline button */
 ):is(
 ):is(
 	:hover,
 	:hover,
 	:focus
 	:focus