Commit graph

39 commits

Author SHA1 Message Date
Madhu Dollu
92ac19042c
lock post-content block by default (#6314)
* lock post-content and the containing group blocks to not allow remove option without unlocking

* Added a few missing locks

Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-08-05 12:16:56 +05:30
Jason Crist
ed8a13bff5
Blockbase: Locked post content blocks (#6299)
* Locked post content blocks (and their containers) so that they can't be easily removed by the user.

Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-08-03 12:27:39 -04:00
Jason Crist
80e036574b
Blockbase 3 (#6167)
Refactor/blockbase color admin (#6043)
Moved templates from old folder location to new (#6073)
Blockbase: Implement the Button elements API (#6041)
Blockbase: Implement Comment Block and removed CSS (#6080)
Fix/migrate blockbase font self hosted (#6123)
Blockbase children: update comments block (#6153)
Blockbase: Changed the trigger to render social icons (#6079)
Blockbase: move button padding styles from ponyfill to theme.json (#5901)

Co-authored-by: Grant Kinney <hi@grant.mk>
Co-authored-by: Jeremy Yip <jeremy.yip@automattic.com>
Co-authored-by: MaggieCabrera <maggie.cabrera@automattic.com>
Co-authored-by: madhusudhand <madhusudhan.dollu@gmail.com>
2022-07-20 14:54:48 -04:00
Ben Dwyer
dc12b42a32
Blockbase children: Remove search templates (#5334) 2022-01-17 12:48:54 -05:00
Matias Benedetto
805e3522cc
Font size names update (#5300)
* Font size name: updating 'huge' to 'x-large'

* Mayland-blocks: rename 'normal' to 'medium'

* Seedlet-blocks: renaming 'normal' to 'medium'

* Russell: removing unused 'normal' font size

* Blockbase & children: moving 'normal' font size from presets to custom

* Blockbase & family: renaming custom fotsize from 'tiny' to 'x-small'
2022-01-14 14:28:25 +00:00
Jason Crist
ad9d522178
Reverting the mess caused renaming template folders (#5317) 2022-01-13 15:38:55 -05:00
Jason Crist
e2644501a6 Ran script moving template resources 2022-01-13 11:38:42 -05:00
Maggie
7e736f185b
Blockbase: converted headers to patterns (#5238)
* converted headers to patterns
* Import headers as both Template Parts AND Block Patterns

Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-01-13 11:24:01 -05:00
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
1890979f74
Blockbase: Add an archive template (#5127)
* Blocbase: Add an archive.html file

* Add archive templates
2021-12-03 22:06:29 +00:00
Sarah Norris
701115a37d
Quadrat: Fix post title spacing (#4720)
* Quadrat: remove title spacers from templates

* Quadrat: add margin to post-title

* Quadrat: increase post title bottom margin

* Quadrat: increase post title margin again

* Quadrat: add GB comment for context

* Quadrat: reduce spacing above featured image

* Quadrat: increase featured image spacing slightly

* Quadrat: add spacing below featured image

* Remove :empty title styling

* Move post title spacing to theme.json

* Tweak featured image spacing

* Remove title spacer from index template

* Remove title spacer from page template

* Reduce post title spacing

* Move post title spacing from theme.json to css

* Add spacer back to index template

* Reduce featured image spacing

* Move CSS to the templates where possible

* Even out spacing without using negative margins.

* Apply the same changes to Geologist

* Apply the same changes to Zoologist

* Apply the same changes to Payton

* Geologist & Zoologist: Move the post-title margin to the block so that the no title posts line up

* Add left/right padding back to Payton page title

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Kjell Reigstad <kjell@kjellr.com>
2021-11-19 09:15:04 +00:00
Ben Dwyer
939d7ea6ac
Blockbase: Handle posts without titles (#4920) 2021-10-29 08:34:30 +01:00
Ben Dwyer
63ad6234d1
Blockbase: Add query title (#4878)
* Blockbase: Add query title block to all index templates

* remove from skatepark

* Add query title to payton and russell

* Add a space below the query title
2021-10-26 13:12:12 +01:00
Ben Dwyer
d06b9a06d8
Blockbase: Update the query pagination block markup (#4805)
* Blockbase: Update the query pagination block markup

* Remove pagination extra div

* Remove the wrapper for the query pagination block
2021-10-21 09:24:14 +02:00
Ben Dwyer
3f33bb1bb5
Quadrat: Allow long titles to wrap the same way on post pages and on the index (#4796) 2021-10-11 16:05:08 -04:00
Maggie
058c86d423
remove unnecesary queryId attribute (#4806) 2021-10-08 10:49:32 +02:00
Ben Dwyer
7d909c9580
Quadrat: Ensure that the position of the post title is the same on all pages (#4783) 2021-10-06 13:47:33 +01:00
Jeff Ong
3d23236843
Unlinkify the post date. (#4755) 2021-10-01 09:55:01 +02:00
Jeff Ong
36285e3449
Replace query-loop with post-template. (#4744) 2021-09-30 09:25:42 -04:00
Ben Dwyer
347903e0f7
Blockbase: Update font size names (#4711)
* Blockbase: Update font size names
* Add overrides to geologist and quadrat
* Add a tiny custom variable to blockbase
* update templates to use new variable
* update block patterns
* update the post-meta font sizes
* Add a medium font size and make huge bigger
* replace font sizes in patterns with explict pixel values

Co-authored-by: Jeffrey Pearce <jeffikus@automattic.com>
2021-09-28 12:40:11 -04:00
Ben Dwyer
41b4037836
Quadrat: Add pagination arrows through block settings, not in CSS (#4536) 2021-09-24 15:57:14 -04:00
Daniel Dudzic
9152c65c57
Quadrat: Fix styling of post meta (#4695)
* Quadrat: Fix styling of post meta

* Quadrat: Remove unnecessary styles from post meta
2021-09-24 14:37:01 +01:00
Ben Dwyer
43af8c7123
Add comments to pages on Skatepark, Quadrat and Geologist (#4632) 2021-09-22 11:27:32 +01:00
Jeff Ong
d8ea84dc79 Remove excess inline padding. (#4574) 2021-09-13 17:21:42 -04:00
Ben Dwyer
a5e860f3f1
Blockbase: Update Blockbase and children to use flex (#4468)
* Blockbase: Update post meta to use flex
* move the blockGap config to styles
* Change the site header to use the new flex layout

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-08-30 15:30:29 -04:00
Ben Dwyer
bab109c49a
Quadrat: Make the post date a link (#4480)
* Quadrat: Make the post date a link

* Make all post date blocks link to the post
2021-08-27 11:40:29 +01:00
Jeff Ong
ae7e63d133
Blockbase: make 404 into a php template so it can be translated (#4332)
* Make 404 and search translatable.

* Remove heading from search template so the theme i18n ready.
2021-07-27 10:51:46 -04:00
Ben Dwyer
b66b22e1a8
Remove labels from Pagination links (#4269) 2021-07-26 09:55:00 -04:00
Jason Crist
048a70a216
Removed unused post-content class (#4252)
* Removed unused post-content class
* Removed unused post-header class usage
2021-07-19 21:09:43 -04:00
Ben Dwyer
e0aba681d0
Quadrat: Change the name of the front page template (#4238)
* Quadrat: Change the name of the front page template

* Add template to theme.json

* merge customTemplates rather than overwriting

* Update the build script
2021-07-16 11:22:08 +01:00
Jason Crist
422ed7a51f
Fix/quadrat main element (#4225)
* Removed the now defunct 'page-content' class. (It's purpose is now being fulfilled by anything 'inheriting layout')
* Added (or converted) <main> elements to all page templates.
* Remove extraeneous closing div tag.
Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-07-14 14:50:08 -04:00
Maggie
ed57346ded refactored to use flex 2021-07-13 17:37:14 +02:00
Sarah Norris
cb357939cb
Quadrat: Sync post title position on single and archive pages (#4195)
* Quadrat: Add spacer to top of index template on desktop

* Quadrat: Add vertical margin to post-template list

* Quadrat: Add padding-top to post meta at mobile

* Quadrat: Reset post title alignment changes

* Quadrat: Remove top padding from single template

* Quadrat: Remove default vertical margins from post-template ul

* Quadrat: Add bottom padding to global header

* Quadrat: Remove top, right and bottom padding from header
2021-07-09 14:46:17 -04:00
Maggie
66af48f8b7
created front page template (#4192) 2021-07-09 10:47:43 +01:00
Ben Dwyer
9faabc6957
Quadrat: Remove PHP templates (#4187) 2021-07-08 18:59:18 +01:00
Ben Dwyer
0c061be791
Universal themes: Add a setting to disable the Site Editor (#4154)
* Universal themes: Add a setting to disable the Site Editor

* Check for index.html template before attempting to disable the FSE plugin (in the same way Gutenberg does)

* Only add a widgets menu item when there isn't one already

* Add an index template

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-07-05 12:39:40 +01:00
Ben Dwyer
e423258182 Quadrat: Simplify templates 2021-06-17 17:47:47 +01:00
Maggie
5c1e93b03a
Quadrat: fix markup for header template part (#3906)
* fix markup for header template part

* Remove nav links.

* Simplify block markup and CSS for the header.

* Fix margins + padding when logo is present.

* Removed theme attribute from block templates

* added isResponsive flag to navigation on header template part

* simplified header template to eliminate 'double header' elements, add responsive default to navigation block and remove unnecessary verbosity from navigation block

* remove index.html file (that I never should have comitted)

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-05-26 07:43:09 -07:00
Jeff Ong
b1909b1cfc
Make: Quadrat (#3648)
* Scaffolding a universal theme plus basic typography and color palette.

* fixed do_blocks routes and override index.html from BCB

* added header and footer templates

* changed query to post content block

* commented with the GB issue

* Quadrat: Add new heading sizes and other small misc changes (#3649)

* Quadrat: Add new heading sizes

* Quadrat: Further work on Lists and Quotes

* Quadrat: Remove whitespace

* Quadrat: Add responsive Heading font-sizes

* Fix typo.

* Recompile.

* remove older deploy actions and adding quadrat deploy action (#3655)

* Add the hosts block pattern. (#3662)

* Add the hosts block pattern.

* Fix categories.

* Update img refs.

* Add alt text to media text pattern.

* Revise block pattern names.

* Add text domain.

* Quadrat: override BCB's templates with php ones (#3667)

* override BCB's templates with php ones

* Revert unrelated changes to Seedlet Blocks that are not in trunk.

* Quadrat: Add responsive Paragraph styles and start styling the Code b… (#3663)

* Quadrat: Add responsive Paragraph styles and start styling the Code block

* Quadrat: Remove Code block styling

* Revise heading max vw.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Quadrat: Add Latest episodes block pattern (#3665)

* added Latest episodes block pattern

* translatable strings

* staging url for media

* rebased, updated texts and adjusted paddings

* added a group with padding to the blocks

* Body line-height to 1.7.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Add menu locations to quadrat

* Remove disconnected changes

* Remove footer menu location

* rebuild theme.json

* Quadrat: Add Quote block styles

* Tightened up the line-height and lessened the space between quote and citation.

* Remove properties that already exist in the parent theme

* Remove quote sass include and rebuild.

* Quadrat: Add list styles

* Removed variable usage for list item style

* Updated list styles to be more correcter

* Try/header template part wrapped (#3714)

* Modified site-title styles to match comps

* Added a navigation rendering function to render the navigation block based on a classic data source, wrap the output in an HTML block to be inserted anywhere blocks are do_block()'ed

* Added a header template part that leverages the rendered navigation block markup

* Replaced usage of navigation block template with new template-part

* Added styles for header for proper layout unachievable with blocks.

* Quadrat: Style the Code block

* Remove unneeded declarations

* Removed font-changing settings on code block

* Quadrat: add cover pattern (#3676)

* Try using svg for block pattern.

* Try mask-image instead.

* move the svg to a before pseudoelement

* refactored the pseudoelements

* fix for the editor interaction when cover block is highlighted

* Add block pattern.

* Use a transparent div instead of svg. Simplify how color of the diamond is set.

* Rotate closer to the design.

* Use background image with svg and mix-blend-mode.

* made block pattern wide aligned

* created exceptions bof black and white

* changes to fit the design, lowered opacity on black and white versions

* Add autoprefixing to Quadrat

* removed error from rebase

* removed unnecessary z-index, linting

* z-index added

* Scope CSS to cover block.

* :: for consistency.

Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>

* removes template hack

* Quadrat: Add Episode block pattern (#3695)

* create episode pattern

* added group wrapper for padding

* correct url for image

* typo

* update to use media and text

* changed the url of the image, added alt content and em tag

* remove unneeded class, added wrapper for bottom padding

* Scope the 0 padding to text content without a background.

* Remove group, add spacer. Fix local image ref.

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Change colors used in theme.json from descreptive to semantic (#3725)

* Change colors used in theme.json from descreptive to semantic

* semanticizing the color

* formatting

* also changed the child theme.json

* Quadrat: Add table styles (#3719)

* Quadrat: Add styles for tables

* Add tbody for extra specificity

* Add a border to the top of the first row

* Remove text-align.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Allowing overflow of group-wrapped navigation (#3732)

* Update screenshot.png (#3735)

* Quadrat: Add page templates (#3721)

* Rebase trunk.

* Revise footer.

* Add CSS for the next/prev links

* Continue rebase.

* remove test code

* used gutenberg_block_template_part to load template parts on php templates

* Remove testing text

* alignment tweaks

* Add separate templates for page and post.

* Restore header wrapper that was accidentally removed in rebase.

* Template tweaks.

* Add page block template.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>

* Make index query inherit query string.

* Update screenshot.png (#3742)

* Quadrat: Add CSS for a featured image

* Quadrat: Headlines and Buttons Block Pattern (#3744)

* created block pattern

* padding rules for mobile

* added new class to all the group blocks

* Remove all padding from text content on mobile.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Change hover rules for buttons

* Add hover styles for buttons and links

* Remove background color from buttons. (#3752)

* Quadrat: Add the listen pattern

* refactor patterns to single files

* move utility classes to BCB

* refactor listen to the podcast

* Quadrat: Add a join pattern

* Make the pattern wide

* Check the class exists before calling it

* Make sure the plugin is loaded before adding the pattern

* Move the block pattern CSS to a new file

Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
2021-05-06 08:06:23 -07:00