Commit graph

110 commits

Author SHA1 Message Date
Jason Crist
1b61f3c876
Try/consolidate headers (#5145)
* 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 <maggie.cabrera@automattic.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-12-09 10:22:50 -05:00
Ben Dwyer
ecb31ac575
Blockbase: Fix navigation (#5128) 2021-12-02 12:53:49 +00:00
Ben Dwyer
35fc26d218
Move calendar styles to blockbase (#5114)
* Move calendar styles to blockbase

* remove calendar styles
2021-12-01 10:13:35 +00:00
Ben Dwyer
7f5e587c78
Blockbase: Move table stripes to Blockbase (#5115)
* Blockbase: Move table stripes to Blockbase

* Remove unneeded code

* rebuild css

* rebuild all

* give the tertiary color a bit more contrast
2021-11-30 17:09:05 +00:00
Ben Dwyer
171411da07
Blockbase: Update paragraph gap (#5104)
* Blockbase: Restrict these paragraph rules to post content

* Rename file to target the blocks

* Rebuild
2021-11-29 13:05:53 +00:00
Ben Dwyer
dbd73c2a74
Videomaker: Update Videomaker navigation (#5059)
* Videomaker: Update navigation width

* Update font sizes

* change the jusificiation to be center

* add social links to the navigation

* prevent the navigation wrapping
2021-11-24 20:45:35 +00:00
Matias Benedetto
b9a4661d58
Quadrat: fixing hover styles for buttons inside the subscribe form (#5033)
* Quadrat: fixing hover styles for buttons inside the subscribe form

* Quadrat: fix contact form submit button font weight

* Jetpack issue workaround: adding TODO commets to remove the CSS when the Jetpack issue is fixed

* Revert "Jetpack issue workaround: adding TODO commets to remove the CSS when the Jetpack issue is fixed"

This reverts commit b04559d5de.

* Revert "Quadrat: fix contact form submit button font weight"

This reverts commit 49573f481b.

* Revert "Quadrat: fixing hover styles for buttons inside the subscribe form"

This reverts commit efeb97a6ea.

* Blockbase: Fixing button font-weight and hover styles
2021-11-24 13:43:39 +00:00
Jason Crist
8cfaa36188
Paternize 404 Page (#5039)
* Refactor Blockbase 404 page to block pattern instead of PHP page

* Adjustments to get 404 to render in child themes.

* Adjustments to style Skatepark's 404 based on original PHP file.

* corrected 404 page layout styles

* Refactored videomaker 404 to use Blockbase pattern but match original PHP file styling.

* Refactored videomaker 404 to use Blockbase pattern but match original PHP file styling.

* Added 'blank' message to index.php

* formatted PHP comment

* Hide the pattern in the inserter

* Only use the copy in the block

* adding 404 templates

* Removed unused class

* rename the prompt

* added spacer to align with what other child themes are doing

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Maggie <maggie.cabrera@automattic.com>
2021-11-22 13:21:35 +00:00
Sarah Norris
b794a3253b
Remove .nocomments fix (#4913) 2021-11-19 09:16:40 +00:00
Sarah Norris
d781e55307
Update all navigation blocks to new markup (#5038)
* Update all vertical nav blocks to new markup

* Update Videomaker header nav

* Update Arbutus header nav

* Update Blockbase header nav

* Update Geologist nav blocks

* Update Kerr nav block

* Update Mayland Blocks nav blocks

* Update Payton nav block

* Update Quadrat nav block

* Update Russell nav block

* Update Seedlet Blocks nav block

* Update Skatepark header nav block

* Update Videomaker pattern nav blocks

* Update Zoologist nav block

* Fix Blockbase menu

* Add missing setCascadingProperties prop

* Reset top margin on header navigation
2021-11-19 09:14:43 +00:00
Sarah Norris
7dbb449325
Skatepark: Fix multiline tags and categories (#5021)
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-11-12 08:43:20 -05:00
Ben Dwyer
d9da583507
Make it possible to customize submenus in Blockbase (#4985) 2021-11-12 08:42:40 -05:00
Maggie
f907e7dfe6
remove unneeded styles for post template (#4809) 2021-11-10 11:52:09 -05:00
Ben Dwyer
211fbcf20a
Blockbase: Remove unnecessary normalize code (#4802) 2021-11-10 11:51:51 -05:00
Jason Crist
8c91028c92
Refactor Paragraph margin rules for consistent, non block-gap values (#4908) 2021-10-27 11:59:29 +01:00
Ben Dwyer
25bf57cbec
Blockbase: Add a mixin for post meta (#4897) 2021-10-25 10:57:46 +01:00
Maggie
508e6866e9
Blockbase: search block font size (#4865)
* defined a font size for search block
* added line-height control and removed it from the CSS
* rebuilt children
2021-10-21 14:36:41 -04:00
Maggie
a025027975
Blockbase: make post meta icons optional (#4891)
* move blockbase post meta icons to block styles

* refactored geologist, removed unneeded css coming from Quadrat

* added meta icons to russell

* seedlet, zoologist refactored like geologist

* refactored Quadrat

* more unnecesary css

* applied to Mayland

* removed CSS from videomaker

* built mayland

* refactored Skatepark

* correct icon and size for Skatepark
2021-10-21 16:30:06 +02:00
Sarah Norris
46f1ed11a0
Videomaker: Navigation styles (#4876)
* Videomaker: center nav items

* Videomaker: remove uppercase from nav block

* Videomaker: center social links

* Videomaker: add current-menu-item styles

* Videomaker: add underline to parent menu item

* Videomaker: increase nav spacing

* Videomaker: tweak spacing again

* Videomaker: style current menu item

* Videomaker: fix submenu centering

* Videomaker: make all pattern navs uppercase

* Blockbase: Remove ! important rules from navigation CSS

* Always show submenu items

* Remove another ! important

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-20 14:18:22 +01:00
Maggie
7903bbc5ab
cleanup errors on themejson files and rebuild themes (#4857) 2021-10-19 12:52:21 +02:00
Jason Crist
0d08de6d60
Adjusted menu CSS to match recent changes in the block (#4822)
* Adjusted menu CSS to match recent changes in the block

* Adjusted mobile menu styling to fit recent changes to navigation block

* Style social nav on mobile only

* Made the same menu changes in Geologist as in Quadrat

* Corrected blockbase classes due to recent changes to navigation block

* Adjusted skatepark's navigation classes

* corrected videomaker classes

* Improved mobile navigation alignment for Seedlet Blocks

* Further addressed Seedlet's mobile stylings.  Better addressed Blockbase mobile submenu spacing.

* Remove the margins on the social links block when in the nav

* Add a block style for 'clean mobile navigation block' and cleaned up base navigation block styles polyfill

* moved social menu location of styled mobile menu

* Renamed block style to improved responsive navigation

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-15 08:27:27 +01:00
Jason Crist
ade84abb2d
Removed unnecessary top padding for seach block. Fixes #4843 (#4846) 2021-10-15 08:26:28 +01:00
Jason Crist
a0c8030981
Removed paragraph margin gap styles. They no longer seem to be needed. (#4845)
* Removed paragraph margin gap styles.  They no longer seem to be needed.

* Add back needed paragraph styles

* add back missing file

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-15 08:24:50 +01:00
Ben Dwyer
f33d548de1
Videomaker: Add block patterns (#4701)
* Videomaker: Add block patterns

* Remove autoplay, loop and muted

* Match post meta to the comps

* Add more translations to the patterns

* Set the site title CSS in the theme.json

* Reset the header

* Update patterns - add video controls and update the source video
2021-10-14 12:22:12 +01:00
Ben Dwyer
accc739da9
Blockbase: Remove CSS for HTML block (#4572) 2021-10-14 12:15:46 +01:00
Ben Dwyer
c23cac3067
Blockbase: Add social navigation to blockbase themes (#4482)
* Blockbase: Add social navigation to blockbase themes

* Add social navigation links to primary navigation

* move to a different file

* add missing file

* suppress warnings for HTML5 elements

* only append social links to a navigation block if the block opts in

* Fix fatal

* Removed requirement to have social parent container be primary menu (or even have content)

* Fix layout for social nav

* Update the structure of the social links when appended to match the way that the navigation block works

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-10-12 14:58:21 +01:00
Daniel Dudzic
86db86ac34
Blockbase: Fix custom link color. Closes #4776 (#4814)
Co-authored-by: @mikachan
2021-10-11 16:04:24 -04:00
Maggie
5a3f522684
Blockbase: remove unneeded margin rules (#4808) 2021-10-11 16:02:33 -04:00
Jason Crist
21ef6ad1d5
Added font color and size styles to form input placeholder (#4667)
* Added font color and size styles to form input placeholder

* Update quadrat/sass/elements/_forms.scss

* Quadrat: Fix search form placeholder color in the editor

* Quadrat: Remove accidental theme.json changes

* Move fix to blockbase

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
2021-10-07 09:39:44 +01:00
Maggie
23b783238a
Blockbase + co: Fix navigation alignment (#4795)
* fix navigation block alignment

* remove unused css
2021-10-06 17:12:42 +02:00
Ben Dwyer
52540cc33f
Blockbase: Update the space around the cookie consent label (#4788)
* Blockbase: Update the space around the cookie consent label

* Update blockbase/assets/ponyfill.css

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

* Update blockbase/sass/blocks/_post-comments.scss

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
2021-10-06 13:48:04 +01:00
Ben Dwyer
487d9f61bc
Geologist: Update header spacing (#4773)
* Geologist: Update header spacing

* Make the margin 30px

* Remove spacing around tagline in geologist

* add missing {
2021-10-05 14:14:40 +01:00
Ben Dwyer
a928e4f770
Blockbase: Remove CSS to bring up the page content and instead remove the bottom margin from post titles (#4738)
* Blockbase: Remove CSS to bring up the page content and instead remove the bottom margin from post titles

* Change the paragraph spacing to use block gap

* Remove extra space on the figure.

* spaces to tabs.

* Change gap baseline to 15px.

* Reset paragraph margins.

* Add specific selectors to target paragraphs in the editor

* Add a comment to point to the GB issue

* Increase specificity of paragraph override.

* Ensure we provide a default paragraph margin too.

* Comment related Gutenberg issue.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Kjell Reigstad <kjell@kjellr.com>
2021-10-01 10:03:21 +01:00
Jeff Ong
dbdecf073f
Blockbase: hide no comments message (#4753)
* Hide no comments message.

* Comment why this line is needed.
2021-09-30 11:12:55 -04:00
Jeff Ong
2967740651
Add a utility class to remove margin top. (#4742) 2021-09-30 09:16:25 -04:00
Jeff Ong
c7291cd78d
Remove generic has-background padding. (#4743) 2021-09-29 22:18:17 +01:00
Jeff Ong
540e644645
Make spacing between post title and content match the spacing between content and meta. (#4733) 2021-09-28 16:43:05 -04:00
Jeffrey Pearce
138a23f1ef
Merge pull request #4732 from Automattic/fix/4723-blockbase-fix-navigation-position
Fixes navigation justification.
2021-09-28 21:51:05 +02:00
Jeffrey Pearce
cac85e3a19 Fixes navigation justification
Fixes #4723
2021-09-28 21:16:42 +02:00
Ben Dwyer
4c192fefb1
Blockbase: Make the top margins consistent (#4726)
* Blockbase: Make the top margins consistent

* import post-template partial
2021-09-28 14:51:39 -04:00
Maggie
5383798185
fix justify-self (#4723) 2021-09-28 17:49:25 +01:00
Daniel Dudzic
dace170d9a
Blockbase: Remove padding from the separator (#4712) 2021-09-27 14:32:24 -04:00
Ben Dwyer
290dcac0a4
Blockbase: Add site logo (#4692)
* removed non-gap margins from heading
* Blockbase: Add site logo
* Blockbase: Reduce the default logo size
* Refactored blockbase headers to include all of Quadrat's header design
* Added tagline to mayland blocks
* resized suggested dimensions per reccomendation

Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
2021-09-27 14:31:07 -04:00
Sarah Norris
9b09573d60
Blockbase: Add more styles to .aligncenter (#4675)
* Blockbae: add more styles to .aligncenter

This now supports image alignment as well as the site-logo block alignment

* Blockbase: replace spaces with tabs
2021-09-24 14:28:02 +01:00
Sarah Norris
b5475761f2
Blockbase: add scroll overflow to pre tags (#4674) 2021-09-24 14:26:57 +01:00
Ben Dwyer
802475c209
Blockbase: Add focus styles (#4684) 2021-09-23 13:12:47 +01:00
Ben Dwyer
77d82b6dbd
Blockbase: Fix alignmemts in the Query Pagination block (#4673) 2021-09-22 16:00:35 +01:00
Daniel Dudzic
0dae37c01c
Blockbase: Fix padding for the Group block with a background (#4629)
* Blockbase: Fix padding for the Group block with a background. Closes #4617

* Blockbase: Make sure Group spacing uses correct variables

* Add a general rule for has-background padding

* Remove the margin from the last child in a block with background color

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-09-22 11:27:10 +01:00
Sarah Norris
d8926ce8ed
Blockbase: Add post-meta template part (#4565)
* Blockbase: add post-meta template part

* Blockbase: add post-tag icon

* Blockbase: remove tags from post meta

* Blockbase: add post tags to post meta

* Blockbase: add post tag SVG from Seedlet

* Blockbase: remove separator from post meta

* Blockbase: add spacer above post comments block

* Seedlet Blocks: add post tags to post meta

* Blockbase: enable blockGap & set gap size for all children

* Blockbase children: sync up child-theme.json files

They were all using --wp--custom--margin--vertical instead of --wp--custom--gap--vertical

* Blockbase children: change gap size to GB default of 0.5em

* Blockbase & co: use gap baseline across BB & all children

* Blockbase: add row-gap value to post-meta

* Skatepark: remove gap value

This is now applied via theme.json (as the same value)

* Blockbase: add comment next to use of !important

* Blockbase: add link to GB issue around block gaps
2021-09-20 09:51:18 +01:00
Maggie
a8485fb5a9 Blockbase + Quadrat: remap quadrat colors, refactor selection to tertiary (#4570)
* remap quadrat colors, refactor selection to tertiary

* Refactored color customizations to exclusively use THEME provided values as the basis for colors to configure rather than optionally using USER provided values.

* Changed blockbase's tertiary color to match blank-canvas
* Changed seedlet-blocks tertiary color to match seedlet's

* Eliminated any text selection styling for Blockbase and children (with the exception of Skatepark)

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-09-13 17:21:42 -04:00