|
@@ -1,47 +1,3 @@
|
|
|
-.wp-block-button.wp-block-button__link:not(.has-background):not(.has-text-color):hover, .wp-block-button.wp-block-button__link:not(.has-background):not(.has-text-color):focus, .wp-block-button.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus,
|
|
|
-.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color):hover,
|
|
|
-.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color):focus,
|
|
|
-.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus {
|
|
|
- border-style: var(--wp--custom--button--border--style);
|
|
|
- border-color: currentColor;
|
|
|
- border-width: var(--wp--custom--button--border--width);
|
|
|
- padding-top: var(--wp--custom--button--spacing--padding--top);
|
|
|
- padding-bottom: var(--wp--custom--button--spacing--padding--bottom);
|
|
|
- padding-left: var(--wp--custom--button--spacing--padding--left);
|
|
|
- padding-right: var(--wp--custom--button--spacing--padding--right);
|
|
|
-}
|
|
|
-
|
|
|
-.wp-block-file .wp-block-file__button:hover, .wp-block-file .wp-block-file__button:focus, .wp-block-file .wp-block-file__button.has-focus {
|
|
|
- border-style: var(--wp--custom--button--border--style);
|
|
|
- border-color: currentColor;
|
|
|
- border-width: var(--wp--custom--button--border--width);
|
|
|
- padding-top: var(--wp--custom--button--spacing--padding--top);
|
|
|
- padding-bottom: var(--wp--custom--button--spacing--padding--bottom);
|
|
|
- padding-left: var(--wp--custom--button--spacing--padding--left);
|
|
|
- padding-right: var(--wp--custom--button--spacing--padding--right);
|
|
|
-}
|
|
|
-
|
|
|
-.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:hover, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:focus, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button.has-focus,
|
|
|
-.wp-block-search .wp-block-search__button:hover,
|
|
|
-.wp-block-search .wp-block-search__button:focus,
|
|
|
-.wp-block-search .wp-block-search__button.has-focus {
|
|
|
- border-style: var(--wp--custom--button--border--style);
|
|
|
- border-color: currentColor;
|
|
|
- border-width: var(--wp--custom--button--border--width);
|
|
|
- padding-top: var(--wp--custom--button--spacing--padding--top);
|
|
|
- padding-bottom: var(--wp--custom--button--spacing--padding--bottom);
|
|
|
- padding-left: var(--wp--custom--button--spacing--padding--left);
|
|
|
- padding-right: var(--wp--custom--button--spacing--padding--right);
|
|
|
-}
|
|
|
-
|
|
|
-.wp-block-button.wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):hover, .wp-block-button.wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):focus, .wp-block-button.wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus,
|
|
|
-.wp-block-button.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):hover,
|
|
|
-.wp-block-button.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):focus,
|
|
|
-.wp-block-button.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus {
|
|
|
- color: var(--wp--custom--button--color--background);
|
|
|
- background-color: var(--wp--custom--button--color--text);
|
|
|
-}
|
|
|
-
|
|
|
/* Text selection text color */
|
|
|
::selection {
|
|
|
color: var(--wp--custom--color--background);
|
|
@@ -55,10 +11,17 @@ body:not(.has-featured-image) h1.wp-block-post-title {
|
|
|
}
|
|
|
|
|
|
/* Separator width */
|
|
|
-/* We can remove after https://github.com/WordPress/gutenberg/pull/38635 gets deployed */
|
|
|
+.wp-block-separator {
|
|
|
+ /* https://github.com/WordPress/gutenberg/pull/38428 */
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
.wp-block-separator.is-style-wide {
|
|
|
+ /* We can remove after https://github.com/WordPress/gutenberg/pull/38635 gets deployed */
|
|
|
border-width: 0 0 3px 0;
|
|
|
}
|
|
|
+.wp-block-separator.has-background {
|
|
|
+ height: 3px;
|
|
|
+}
|
|
|
|
|
|
/* Links and underlines */
|
|
|
a {
|
|
@@ -104,13 +67,15 @@ h6 a,
|
|
|
|
|
|
.wp-block-site-title a,
|
|
|
.wp-block-post-title a,
|
|
|
-.wp-block-query-pagination a {
|
|
|
+.wp-block-query-pagination a,
|
|
|
+.wp-block-navigation a {
|
|
|
-webkit-text-decoration-line: none;
|
|
|
text-decoration-line: none;
|
|
|
}
|
|
|
.wp-block-site-title a:hover,
|
|
|
.wp-block-post-title a:hover,
|
|
|
-.wp-block-query-pagination a:hover {
|
|
|
+.wp-block-query-pagination a:hover,
|
|
|
+.wp-block-navigation a:hover {
|
|
|
-webkit-text-decoration-line: underline;
|
|
|
text-decoration-line: underline;
|
|
|
}
|
|
@@ -140,4 +105,127 @@ a:not(.ab-item):not(.screen-reader-shortcut):focus {
|
|
|
font-weight: 500;
|
|
|
}
|
|
|
|
|
|
+/*
|
|
|
+ * 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
|
|
|
+ */
|
|
|
+.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
|
|
|
+ border-style: var(--wp--custom--button--border--style);
|
|
|
+ border-width: var(--wp--custom--button--border--width);
|
|
|
+ border-color: var(--wp--custom--color--foreground);
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-search__input {
|
|
|
+ background-color: transparent;
|
|
|
+ border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-search__button,
|
|
|
+.wp-block-file .wp-block-file__button {
|
|
|
+ border-width: 0;
|
|
|
+ border-radius: 0;
|
|
|
+ background-color: var(--wp--custom--color--foreground);
|
|
|
+ color: var(--wp--custom--color--background);
|
|
|
+ font-size: var(--wp--preset--font-size--normal);
|
|
|
+ font-weight: var(--wp--custom--button--typography--font-weight);
|
|
|
+ padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
|
|
+ line-height: var(--wp--custom--button--typography--line-height);
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
|
|
|
+ border-width: 0;
|
|
|
+ padding-top: calc(var(--wp--custom--button--spacing--padding--top) + var(--wp--custom--button--border--width));
|
|
|
+ padding-bottom: calc(var(--wp--custom--button--spacing--padding--bottom) + var(--wp--custom--button--border--width));
|
|
|
+ padding-left: calc(var(--wp--custom--button--spacing--padding--left) + var(--wp--custom--button--border--width));
|
|
|
+ padding-right: calc(var(--wp--custom--button--spacing--padding--right) + var(--wp--custom--button--border--width));
|
|
|
+}
|
|
|
+
|
|
|
+/*
|
|
|
+ * Button hover styles.
|
|
|
+ * Necessary until the following issue is resolved in Gutenberg:
|
|
|
+ * 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 {
|
|
|
+ opacity: 0.9;
|
|
|
+}
|
|
|
+
|
|
|
+/* Comments */
|
|
|
+.wp-block-post-comments input[type=submit] {
|
|
|
+ font-family: var(--wp--preset--font-family--red-hat-display);
|
|
|
+ color: var(--wp--custom--color--background);
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-post-comments textarea, .wp-block-post-comments input:not([type=submit]) {
|
|
|
+ background-color: var(--wp--custom--color--background);
|
|
|
+ color: var(--wp--custom--color--foreground);
|
|
|
+ border-style: var(--wp--custom--button--border--style);
|
|
|
+ border-width: var(--wp--custom--button--border--width);
|
|
|
+ border-color: var(--wp--custom--color--foreground);
|
|
|
+}
|
|
|
+
|
|
|
+/*
|
|
|
+* Alignment styles, borrowed from Twenty Twenty-Two.
|
|
|
+* These rules are temporary, and should not be relied on or
|
|
|
+* modified too heavily by themes or plugins that build on
|
|
|
+* Twenty Twenty-Two. These are meant to be a precursor to
|
|
|
+* a global solution provided by the Block Editor.
|
|
|
+*
|
|
|
+* Relevant issues:
|
|
|
+* https://github.com/WordPress/gutenberg/issues/35607
|
|
|
+* https://github.com/WordPress/gutenberg/issues/35884
|
|
|
+*/
|
|
|
+.wp-site-blocks,
|
|
|
+body > .is-root-container,
|
|
|
+.edit-post-visual-editor__post-title-wrapper,
|
|
|
+.wp-block-group.alignfull,
|
|
|
+.wp-block-group.has-background,
|
|
|
+.wp-block-cover.alignfull,
|
|
|
+.is-root-container .wp-block[data-align=full] > .wp-block-group,
|
|
|
+.is-root-container .wp-block[data-align=full] > .wp-block-cover {
|
|
|
+ padding-left: var(--wp--custom--spacing--outer);
|
|
|
+ padding-right: var(--wp--custom--spacing--outer);
|
|
|
+}
|
|
|
+
|
|
|
+.wp-site-blocks .alignfull,
|
|
|
+.wp-site-blocks > .wp-block-group.has-background,
|
|
|
+.wp-site-blocks > .wp-block-cover,
|
|
|
+.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
|
|
|
+.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
|
|
|
+body > .is-root-container > .wp-block-cover,
|
|
|
+body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
|
|
|
+body > .is-root-container > .wp-block-template-part > .wp-block-cover,
|
|
|
+.is-root-container .wp-block[data-align=full] {
|
|
|
+ margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
|
|
|
+ margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
|
|
|
+ max-width: unset;
|
|
|
+ width: unset;
|
|
|
+}
|
|
|
+
|
|
|
+/* Blocks inside columns don't have negative margins. */
|
|
|
+.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
|
|
|
+.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align=full],
|
|
|
+.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
|
|
|
+.is-root-container .wp-block[data-align=full] > *:not(.wp-block-group) .wp-block[data-align=full] {
|
|
|
+ margin-left: auto !important;
|
|
|
+ margin-right: auto !important;
|
|
|
+ width: inherit;
|
|
|
+}
|
|
|
+
|
|
|
+/*
|
|
|
+* Responsive menu container padding.
|
|
|
+* This ensures the responsive container inherits the same
|
|
|
+* spacing defined above. This behavior may be built into
|
|
|
+* the Block Editor in the future.
|
|
|
+*/
|
|
|
+.wp-block-navigation__responsive-container.is-menu-open {
|
|
|
+ padding-top: var(--wp--custom--spacing--outer);
|
|
|
+ padding-bottom: var(--wp--custom--spacing--large);
|
|
|
+ padding-right: var(--wp--custom--spacing--outer);
|
|
|
+ padding-left: var(--wp--custom--spacing--outer);
|
|
|
+}
|
|
|
+
|
|
|
/*# sourceMappingURL=theme.css.map */
|