|
@@ -73,29 +73,22 @@ a:active,
|
|
|
* https://github.com/WordPress/gutenberg/issues/27075
|
|
|
*/
|
|
|
|
|
|
-.wp-block-search__button:hover,
|
|
|
.wp-block-file .wp-block-file__button:hover,
|
|
|
.wp-block-button__link:hover {
|
|
|
background-color: var(--wp--preset--color--primary);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
- * Search and File Block button styles.
|
|
|
- * Necessary until the following issues are resolved in Gutenberg:
|
|
|
- * https://github.com/WordPress/gutenberg/issues/36444
|
|
|
- * https://github.com/WordPress/gutenberg/issues/27760
|
|
|
+ * Outline block button needs a padding tweak so it's the same size of normal buttons
|
|
|
+ * https://github.com/WordPress/gutenberg/issues/27476
|
|
|
*/
|
|
|
-
|
|
|
-.wp-block-search__button,
|
|
|
-.wp-block-file .wp-block-file__button {
|
|
|
- background-color: var(--wp--preset--color--foreground);
|
|
|
- border-radius: 0;
|
|
|
- border: none;
|
|
|
- color: var(--wp--preset--color--background);
|
|
|
- font-size: var(--wp--preset--typography--font-size--normal);
|
|
|
- padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
|
|
+.is-style-outline > :where(.wp-block-button__link),
|
|
|
+:where(.wp-block-button__link).is-style-outline {
|
|
|
+ padding-top: 0.667em;
|
|
|
+ padding-bottom: 0.667em;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/*
|
|
|
* Comment Form Fields
|
|
|
*/
|