|
@@ -343,8 +343,105 @@ input[type=checkbox] + label {
|
|
|
line-height: 1em;
|
|
|
}
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
|
.wp-block-button:not(.is-style-outline) > a.has-background {
|
|
|
border-style: none;
|
|
|
+=======
|
|
|
+/**
|
|
|
+ * Button
|
|
|
+ */
|
|
|
+/**
|
|
|
+ * Block Options
|
|
|
+ */
|
|
|
+.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__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);
|
|
|
+ opacity: 1;
|
|
|
+ color: var(--wp--custom--button--color--text);
|
|
|
+ background-color: var(--wp--custom--button--color--background);
|
|
|
+ border-color: currentColor;
|
|
|
+ border-color: currentcolor;
|
|
|
+ border-color: var(--wp--custom--button--border--color);
|
|
|
+}
|
|
|
+.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__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__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);
|
|
|
+ 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);
|
|
|
+ opacity: 1;
|
|
|
+ color: var(--wp--custom--button--color--text);
|
|
|
+ background-color: var(--wp--custom--button--color--background);
|
|
|
+ border-color: currentColor;
|
|
|
+ border-color: currentcolor;
|
|
|
+}
|
|
|
+.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__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);
|
|
|
+ opacity: 1;
|
|
|
+ color: var(--wp--custom--button--color--text);
|
|
|
+ background-color: var(--wp--custom--button--color--background);
|
|
|
+ border-color: currentColor;
|
|
|
+ border-color: currentcolor;
|
|
|
+ border-color: var(--wp--custom--button--border--color);
|
|
|
+}
|
|
|
+.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__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__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);
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-buttons .wp-block-button:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+>>>>>>> aff3e9952 (kept the mixins, but removed the includes)
|
|
|
}
|
|
|
|
|
|
.wp-block-calendar table caption {
|
|
@@ -642,20 +739,6 @@ div.wp-block-query-pagination .wp-block-query-pagination-numbers .current {
|
|
|
padding: var(--wp--custom--form--padding);
|
|
|
border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
|
|
|
}
|
|
|
-.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button,
|
|
|
-.wp-block-search .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));
|
|
|
- opacity: 1;
|
|
|
- border-color: currentcolor;
|
|
|
-}
|
|
|
-.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button svg,
|
|
|
-.wp-block-search .wp-block-search__button svg {
|
|
|
- fill: var(--wp--custom--button--color--text);
|
|
|
-}
|
|
|
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color):hover, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color):focus, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color).has-focus,
|
|
|
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color):hover,
|
|
|
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color):focus,
|
|
@@ -664,6 +747,9 @@ div.wp-block-query-pagination .wp-block-query-pagination-numbers .current {
|
|
|
--wp--custom--button--color--background: var(--wp--custom--button--hover--color--background);
|
|
|
--wp--custom--button--border--color: var(--wp--custom--button--hover--border--color);
|
|
|
opacity: 1;
|
|
|
+ color: var(--wp--custom--button--color--text);
|
|
|
+ background-color: var(--wp--custom--button--color--background);
|
|
|
+ border-color: currentColor;
|
|
|
border-color: currentcolor;
|
|
|
border-color: var(--wp--custom--button--border--color);
|
|
|
}
|
|
@@ -707,23 +793,16 @@ p.wp-block-site-tagline {
|
|
|
}
|
|
|
|
|
|
.wp-block-file .wp-block-file__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));
|
|
|
- opacity: 1;
|
|
|
- border-color: currentcolor;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
-.wp-block-file .wp-block-file__button svg {
|
|
|
- fill: var(--wp--custom--button--color--text);
|
|
|
-}
|
|
|
.wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color):hover, .wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color):focus, .wp-block-file .wp-block-file__button: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);
|
|
|
opacity: 1;
|
|
|
+ color: var(--wp--custom--button--color--text);
|
|
|
+ background-color: var(--wp--custom--button--color--background);
|
|
|
+ border-color: currentColor;
|
|
|
border-color: currentcolor;
|
|
|
border-color: var(--wp--custom--button--border--color);
|
|
|
}
|