-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* consolidate header styles designed for child themes into Blockbase which child themes can use as header/footer options. * Refactor header spacing mechanism to use a spacer in a template part * Refactor header layouts to allow for full-width background colors. * Tweak navigation styles leveraged by headers to align with design intentions * Various other header and navigation tweaks. * Affects all Blockbase children Co-authored-by: Maggie <[email protected]> Co-authored-by: Ben Dwyer <[email protected]>
- Loading branch information
1 parent
c94ca8c
commit 1b61f3c
Showing
91 changed files
with
622 additions
and
790 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- wp:group {"className":"gapless-group","layout":{"inherit":"true"}} --> | ||
<div class="wp-block-group gapless-group"> | ||
|
||
<!-- wp:group {"align":"full","className":"site-header gapless-group fullwidth"} --> | ||
<div class="wp-block-group alignfull site-header gapless-group fullwidth"> | ||
|
||
<!-- wp:spacer {"height":60} --> | ||
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:site-logo {"align":"center","width":128} /--> | ||
<!-- wp:site-title {"textAlign":"center","style":{"spacing":{"padding":{"top":"30px","bottom":"20px"}},"typography":{"fontSize":"55px"}}} /--> | ||
<!-- wp:site-tagline {"textAlign":"center","fontSize":"small"} /--> | ||
<!-- wp:spacer {"height":20} --> | ||
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
<!-- wp:navigation {"__unstableLocation":"primary","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"}} /--> | ||
|
||
<!-- wp:template-part {"slug":"header-spacer","theme":"themes/seedlet-blocks"} /--> | ||
|
||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- wp:group {"className":"gapless-group","layout":{"inherit":"true"}} --> | ||
<div class="wp-block-group gapless-group"> | ||
<!-- wp:group {"align":"full","className":"site-header site-header-linear","layout":{"type":"flex","justifyContent":"space-between"},"style":{"spacing":{"padding":{"bottom":"var(--wp--custom--gap--vertical)","top":"var(--wp--custom--gap--vertical)"}}}} --> | ||
<div class="wp-block-group site-header site-header-linear alignfull" style="padding-bottom:var(--wp--custom--gap--vertical);padding-top:var(--wp--custom--gap--vertical)"> | ||
|
||
<!-- wp:group {"className":"site-brand","layout":{"type":"flex"}} --> | ||
<div class="wp-block-group site-brand"> | ||
<!-- wp:site-logo {"width":64} /--> | ||
|
||
<!-- wp:group {"className":"site-words-stack-small","layout":{"type":"flex"}} --> | ||
<div class="wp-block-group site-words-stack-small"> | ||
<!-- wp:site-title /--> | ||
<!-- wp:site-tagline {"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:navigation {"className":"blockbase-responsive-navigation-linear","__unstableLocation":"primary","__unstableSocialLinks":"social","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--> | ||
|
||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"header-spacer"} /--> | ||
|
||
</div> | ||
<!-- /wp:group --> |
Oops, something went wrong.