|
@@ -342,19 +342,24 @@ input[type=checkbox] + label {
|
|
|
* Block Options
|
|
|
*/
|
|
|
.wp-block-button.wp-block-button__link,
|
|
|
-.wp-block-button .wp-block-button__link {
|
|
|
+.wp-block-button .wp-block-button__link, .wp-block-button__link.wp-block-button__link,
|
|
|
+.wp-block-button__link .wp-block-button__link {
|
|
|
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));
|
|
|
text-decoration: none;
|
|
|
+ font-weight: var(--wp--custom--button--typography--font-weight);
|
|
|
}
|
|
|
|
|
|
.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 {
|
|
|
+.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus, .wp-block-button__link.wp-block-button__link:not(.has-background):not(.has-text-color):hover, .wp-block-button__link.wp-block-button__link:not(.has-background):not(.has-text-color):focus, .wp-block-button__link.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus,
|
|
|
+.wp-block-button__link .wp-block-button__link:not(.has-background):not(.has-text-color):hover,
|
|
|
+.wp-block-button__link .wp-block-button__link:not(.has-background):not(.has-text-color):focus,
|
|
|
+.wp-block-button__link .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus {
|
|
|
--wp--custom--button--color--text: var(--wp--custom--button--hover--color--text);
|
|
|
--wp--custom--button--color--background: var(--wp--custom--button--hover--color--background);
|
|
|
--wp--custom--button--border--color: var(--wp--custom--button--hover--border--color);
|
|
@@ -368,12 +373,16 @@ input[type=checkbox] + label {
|
|
|
.wp-block-button.wp-block-button__link:not(.has-background):not(.has-text-color):hover svg, .wp-block-button.wp-block-button__link:not(.has-background):not(.has-text-color):focus svg, .wp-block-button.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg,
|
|
|
.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color):hover svg,
|
|
|
.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color):focus svg,
|
|
|
-.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg {
|
|
|
+.wp-block-button .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg, .wp-block-button__link.wp-block-button__link:not(.has-background):not(.has-text-color):hover svg, .wp-block-button__link.wp-block-button__link:not(.has-background):not(.has-text-color):focus svg, .wp-block-button__link.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg,
|
|
|
+.wp-block-button__link .wp-block-button__link:not(.has-background):not(.has-text-color):hover svg,
|
|
|
+.wp-block-button__link .wp-block-button__link:not(.has-background):not(.has-text-color):focus svg,
|
|
|
+.wp-block-button__link .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg {
|
|
|
fill: var(--wp--custom--button--color--text);
|
|
|
}
|
|
|
|
|
|
.wp-block-button.is-style-outline.wp-block-button__link,
|
|
|
-.wp-block-button.is-style-outline .wp-block-button__link {
|
|
|
+.wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button__link.is-style-outline.wp-block-button__link,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link {
|
|
|
--wp--custom--button--color--text: var(--wp--custom--button--border--color);
|
|
|
--wp--custom--button--color--background: transparent;
|
|
|
border-style: var(--wp--custom--button--border--style);
|
|
@@ -391,7 +400,10 @@ input[type=checkbox] + label {
|
|
|
.wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):hover, .wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):focus, .wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus,
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):hover,
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):focus,
|
|
|
-.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus {
|
|
|
+.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus, .wp-block-button__link.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):hover, .wp-block-button__link.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):focus, .wp-block-button__link.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):hover,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):focus,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus {
|
|
|
--wp--custom--button--color--text: var(--wp--custom--button--hover--color--text);
|
|
|
--wp--custom--button--color--background: var(--wp--custom--button--hover--color--background);
|
|
|
--wp--custom--button--border--color: var(--wp--custom--button--hover--border--color);
|
|
@@ -405,12 +417,16 @@ input[type=checkbox] + label {
|
|
|
.wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):hover svg, .wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):focus svg, .wp-block-button.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg,
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):hover svg,
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):focus svg,
|
|
|
-.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg {
|
|
|
+.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg, .wp-block-button__link.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):hover svg, .wp-block-button__link.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color):focus svg, .wp-block-button__link.is-style-outline.wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):hover svg,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color):focus svg,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link:not(.has-background):not(.has-text-color).has-focus svg {
|
|
|
fill: var(--wp--custom--button--color--text);
|
|
|
}
|
|
|
|
|
|
.wp-block-button.is-style-outline.wp-block-button__link svg,
|
|
|
-.wp-block-button.is-style-outline .wp-block-button__link svg {
|
|
|
+.wp-block-button.is-style-outline .wp-block-button__link svg, .wp-block-button__link.is-style-outline.wp-block-button__link svg,
|
|
|
+.wp-block-button__link.is-style-outline .wp-block-button__link svg {
|
|
|
fill: var(--wp--custom--button--color--text);
|
|
|
}
|
|
|
|