diff --git a/arbutus/block-template-parts/footer.html b/arbutus/block-template-parts/footer.html index 85f33a971f..d36c3fa529 100644 --- a/arbutus/block-template-parts/footer.html +++ b/arbutus/block-template-parts/footer.html @@ -1,13 +1 @@ - -
-
- - - -
-

Proudly Powered by WordPress

- - -
-
- \ No newline at end of file + \ No newline at end of file diff --git a/blockbase/assets/ponyfill.css b/blockbase/assets/ponyfill.css index 8a8baabcc7..171e6f1880 100644 --- a/blockbase/assets/ponyfill.css +++ b/blockbase/assets/ponyfill.css @@ -907,6 +907,10 @@ div.wp-block-query-pagination .wp-block-query-pagination-numbers .current { font-style: var(--wp--custom--quote--citation--typography--font-style); } +.wp-block-search { + /* Block Styles */ +} + .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper { padding: var(--wp--custom--form--border--width); border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color); @@ -982,6 +986,14 @@ div.wp-block-query-pagination .wp-block-query-pagination-numbers .current { opacity: 0.66; } +.wp-block-search.is-style-small-search { + --wp--custom--button--typography--font-size: calc( 0.8 * var(--wp--preset--font-size--small)); +} + +.wp-block-search.is-style-small-search .wp-block-search__input { + padding: calc( 0.5 * var(--wp--custom--form--padding)); +} + .wp-block-separator { opacity: var(--wp--custom--separator--opacity); } diff --git a/blockbase/block-template-parts/footer.html b/blockbase/block-template-parts/footer.html index 39c6cf2247..d9c01bb4e6 100644 --- a/blockbase/block-template-parts/footer.html +++ b/blockbase/block-template-parts/footer.html @@ -1,11 +1 @@ - -
- -
- -

Proudly Powered by WordPress

- -
- -
- + diff --git a/blockbase/inc/block-patterns.php b/blockbase/inc/block-patterns.php index 177f585d13..086f676bba 100644 --- a/blockbase/inc/block-patterns.php +++ b/blockbase/inc/block-patterns.php @@ -18,6 +18,14 @@ function blockbase_register_block_patterns() { if ( function_exists( 'register_block_pattern' ) ) { $block_patterns = array( '404', + 'footer-columns', + 'footer-left', + 'footer-primary', + 'footer-search', + 'footer-separator', + 'footer-simple', + 'footer-small', + 'footer-vertical-menu', ); foreach ( $block_patterns as $block_pattern ) { diff --git a/blockbase/inc/block-styles.php b/blockbase/inc/block-styles.php index b32f0834f4..a1707f2163 100644 --- a/blockbase/inc/block-styles.php +++ b/blockbase/inc/block-styles.php @@ -49,6 +49,14 @@ function blockbase_register_block_styles() { 'style_handle' => 'post-category-icon', ) ); + register_block_style( + 'core/search', + array( + 'name' => 'small-search', + 'label' => __( 'Small', 'blockbase' ), + 'style_handle' => 'small-search', + ) + ); } } endif; diff --git a/skatepark/inc/patterns/pre-footer.php b/blockbase/inc/patterns/footer-columns.php similarity index 53% rename from skatepark/inc/patterns/pre-footer.php rename to blockbase/inc/patterns/footer-columns.php index 83c39e7c29..de807b8c92 100644 --- a/skatepark/inc/patterns/pre-footer.php +++ b/blockbase/inc/patterns/footer-columns.php @@ -1,21 +1,23 @@ __( 'Footer', 'skatepark' ), - 'categories' => array( 'skatepark' ), - 'content' => ' -