diff --git a/src/scss/blocks/_blocks.scss b/src/scss/blocks/_blocks.scss index 598975f..2738ff6 100644 --- a/src/scss/blocks/_blocks.scss +++ b/src/scss/blocks/_blocks.scss @@ -26,6 +26,7 @@ @import url('./jetpack/_top-posts.scss'); @import url('./newspack/_author-list.scss'); @import url('./newspack/_author-profile.scss'); +@import url('./newspack/_donate.scss'); @import url('./newspack/_homepage-articles.scss'); @import url('./newspack/_newsletters-subscribe.scss'); @import url('./newspack/_post-carousel.scss'); diff --git a/src/scss/blocks/_button.scss b/src/scss/blocks/_button.scss index a771d7d..8e09f38 100644 --- a/src/scss/blocks/_button.scss +++ b/src/scss/blocks/_button.scss @@ -8,6 +8,7 @@ } .wp-block-button { + form .wp-block-button__link, > .wp-block-button__link { transition: background-color 125ms ease-in-out, @@ -57,6 +58,10 @@ &.is-style-outline { > .wp-block-button__link, form .wp-block-button__link { + background: var(--wp--preset--color--base); + border: 1px solid currentcolor; + color: var(--wp--preset--color--accent); + &:hover { background: var(--wp--preset--color--base-2); color: var(--wp--preset--color--contrast); diff --git a/src/scss/blocks/newspack/_donate.scss b/src/scss/blocks/newspack/_donate.scss new file mode 100644 index 0000000..ea9c343 --- /dev/null +++ b/src/scss/blocks/newspack/_donate.scss @@ -0,0 +1,15 @@ +.wp-block-newspack-blocks-donate { + &.is-style-modern { + &.wpbnbd--tiers-based { + .wpbnbd__tiers__tier:not(& .wpbnbd__tiers__tier--recommended) { + button[type='submit'], + .submit-button { + &:hover { + border-color: currentcolor !important; + color: var(--newspack-ui-color-neutral-90, #1e1e1e) !important; + } + } + } + } + } +}