|
@@ -16,27 +16,27 @@ input[type="submit"],
|
|
|
.wp-block-button {
|
|
|
|
|
|
// Outline Style
|
|
|
- &.is-style-outline {
|
|
|
+ &.is-style-outline,
|
|
|
+ &.is-style-outline .wp-block-button__link {
|
|
|
|
|
|
- .wp-block-button__link {
|
|
|
- color: #{map-deep-get($config-button, "color", "background")};
|
|
|
- background: transparent;
|
|
|
- border: #{map-deep-get($config-button, "border-width")} solid currentcolor;
|
|
|
- padding: #{map-deep-get($config-button, "padding", "vertical") - map-deep-get($config-button, "border-width")} #{map-deep-get($config-button, "padding", "horizontal")};
|
|
|
+ color: #{map-deep-get($config-button, "color", "background")};
|
|
|
+ background: transparent;
|
|
|
+ border: #{map-deep-get($config-button, "border-width")} solid currentcolor;
|
|
|
+ padding: #{map-deep-get($config-button, "padding", "vertical") - map-deep-get($config-button, "border-width")} #{map-deep-get($config-button, "padding", "horizontal")};
|
|
|
|
|
|
- &:active {
|
|
|
- color: #{map-deep-get($config-button, "color", "background")};
|
|
|
- }
|
|
|
+ &:active {
|
|
|
+ color: #{map-deep-get($config-button, "color", "background")};
|
|
|
+ }
|
|
|
|
|
|
- &:hover,
|
|
|
- &:focus,
|
|
|
- &.has-focus {
|
|
|
- color: #{map-deep-get($config-button, "color", "background-hover")};
|
|
|
- }
|
|
|
+ &:hover,
|
|
|
+ &:focus,
|
|
|
+ &.has-focus {
|
|
|
+ color: #{map-deep-get($config-button, "color", "background-hover")};
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// Squared Style
|
|
|
+ &.is-style-squared,
|
|
|
&.is-style-squared .wp-block-button__link {
|
|
|
border-radius: 0;
|
|
|
}
|