Commit graph

7046 commits

Author SHA1 Message Date
Ben Dwyer
35622e4ad7
Add files from SVN (#4241) 2021-07-16 11:07:46 +01:00
Ben Dwyer
c1377632a4
Blockbase: Clear cache when changing global styles from the Customizer (#4181)
* Clear the global styles cache when changing the customizer settings

* Clear the global styles cache when changing the customizer settings

* delete file from merge conflict
2021-07-16 10:56:31 +01:00
Jeff Ong
b99ba23755
Fix menu items to match demo site. (#4237) 2021-07-15 14:17:07 -04:00
Ben Dwyer
ae2d449610
Blockbase: Disable the Site Editor on WPCOM (#4206)
* Blockbase: Disable the Site Editor on WPCOM

* extract to a function

* Also hide the admin bar link to the Site Editor

* fix notice

* remove confusing references to disabling site editor

* move the condition to show the site editor links to the toggle file for simplicity and clarity

* Also hide the site editor from the API menu

* check has_blog_sticker exists before calling it
2021-07-15 12:13:04 +01:00
Maggie
6935bfd92f
removed importants from margin and padding on normalize scss (#4234) 2021-07-15 11:29:28 +01:00
Jason Crist
6d98ab6a1a
Corrected required PHP version for Mayland Blocks (#4232)
* Corrected required PHP version for Mayland Blocks

* Lower the minimum PHP version for seedlet blocks

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-07-15 07:19:28 +01:00
Ben Dwyer
e053133ef5
Blockbase: Update font weights (#4227) 2021-07-14 15:56:36 -04: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
Jason Crist
dd4f57dbfe
Fix/quadrat localization domain (#4228)
* Added missing localization domain strings

* Changed esc_attr to esc_html per theme-check warning

* refactored calls to _x to __
2021-07-14 14:19:23 -04:00
Jason Crist
7c0b389fbf
Refactor/bb customize (#4212)
* Refactored font/color customization to optimize storing setting logic
* Prevent persisting of color palette if it is the same as default
*  Prevent persisting of font data if it is the same as default
* Add 'reset' option to font customization
* moved customizer tools to folder in /inc
Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-07-14 11:25:05 -04:00
Maggie
b05fa24dbc
bring back rotation animation (#4223) 2021-07-14 15:43:33 +01:00
Andrés Blanco
d1fa9553cc
Merge pull request #4217 from Automattic/fix/IP2-cover-font-color
IP2: fix cover font color on light background
2021-07-14 08:52:52 -03:00
Maggie
6d441ea0cf
Merge pull request #4214 from Automattic/quadrat-hover-tweaks-block-pattern
Quadrat: correct hover styles for titles and squares on block pattern
2021-07-14 11:38:21 +02:00
Maggie
399c33b663 correct hover styles for titles and squares on block pattern 2021-07-14 11:37:30 +02:00
Maggie
d300b9bced
Merge pull request #4190 from Automattic/fix/remove-bottom-spacing
Quadrat: Remove bottom space
2021-07-14 11:32:36 +02:00
Ben Dwyer
b0ecd1084d
Blockbase: Switch logic for enabling Site Editor (#4219)
* Blockbase: Switch logic for enabling Site Editor

* Always add legacy admin links

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-07-14 10:04:45 +01:00
Sarah Norris
8630adc945
Blockbase: Fix gap on image-no-margin utility class when image has a hyperlink (#4209)
* Blockbase: Apply image-no-margin alignment to all children

* Blockbase: Update image-no-margin comment
2021-07-13 15:07:56 -04:00
Ben Dwyer
4197e983b6
Quadrat: Use the breakpoint mixins (#4216) 2021-07-13 13:32:30 -04:00
Jeff Ong
c7cd8f29a9
Quadrat: add illustrations as starter content (#4213)
* Add illustrations as attachments in starter content.

* make file names lower case

* rename files

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-07-13 13:27:36 -04:00
Maggie
ed57346ded refactored to use flex 2021-07-13 17:37:14 +02:00
Andres Blanco
a64570bf68 fix cover font color 2021-07-13 08:44:57 -03:00
Maggie
fdcee55d76
updated tags for Blockbase + children (#4210) 2021-07-13 12:18:37 +01:00
Maggie
1a595e2738 refactored to avoid setting heights to html and body 2021-07-13 13:01:40 +02:00
Ben Dwyer
d6162f6216 Force the footer to the bottom 2021-07-13 11:06:59 +01:00
Ben Dwyer
65a152dfd5 Quadrat: Remove bottom space 2021-07-13 11:06:59 +01: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
Ben Dwyer
c917351ef9
Blockbase: Remove alignment fix (#4186) 2021-07-09 16:54:46 +01:00
Jason Crist
0a7c2fc4fe
Added configurable padding for paragraphs and headings when they have background colors. (#4180)
* Added configurable padding for paragraphs and headings when they have background colors.

* refactored has-background to use existing margin values

* Removed unused margin values

* simplified CSS

* Update blockbase/sass/base/_header.scss

* Update blockbase/sass/blocks/_paragraph.scss

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-07-09 10:48:37 +01:00
Maggie
66af48f8b7
created front page template (#4192) 2021-07-09 10:47:43 +01:00
Jason Crist
486aa30fbe
Fixed null ref in font customizations (#4194)
When no fonts have been configured the utility was saving an improper
font value.  This change pulls the 'default' and stores that instead.
2021-07-09 10:44:12 +01:00
Ben Dwyer
6cf1962c24
Blockbase: Remove the background color from Navigation Links (#4184)
* Blockbase: Remove the background color from Navigation Links

* Rebuild child theme.json removing nav link bg color.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-07-08 18:59:45 +01:00
Ben Dwyer
9faabc6957
Quadrat: Remove PHP templates (#4187) 2021-07-08 18:59:18 +01:00
Ben Dwyer
a801623308
Blockbase: Update font name (#4183) 2021-07-08 10:34:58 -04:00
Maggie
e0e6143eae
Merge pull request #4153 from Automattic/blockbase-minor-version-increase
Blockbase + children: increased minor version
2021-07-07 18:04:20 +02:00
Ben Dwyer
2252e0d045
Blockbase: Fix color customizations (#4172)
* Blockbase: Fix color customizations

* remove unneeded changes

* remove unused variable
2021-07-07 16:37:52 +01:00
Jeff Ong
c51e0edaab
Style text color of meta for latest posts. (#4175) 2021-07-07 10:50:36 -04:00
Maggie
5845f198fa
added tagline to header templates (#4072)
* added tagline to header templates
* Refactored blockbase (and quadrat) breakpoints to use 'small' instead of 'mobile' to follow navigation blocks's breakpoint usage
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-07-07 10:20:37 -04:00
Maggie
0ce22c2eeb
Merge pull request #4171 from Automattic/quadrat-query-block-styles
Quadrat: block styles for query block
2021-07-07 15:55:22 +02:00
Jason Crist
3e7ce2fad0
Fix FSE padding for BB themes. (#4176)
Force the 'body' (which, in the editor is applied to a different
element) margin and padding to obey the values set by the theme.

Remove the padding applied to the "post content" as the padding is now
applied a different way.
2021-07-07 09:41:58 -04:00
Kjell Reigstad
e52b6098a3 Add blockTypes prop 2021-07-07 09:34:26 -04:00
Kjell Reigstad
e4b8b3ef96 Rename to avoid mention of "hover" 2021-07-07 09:27:59 -04:00
Kjell Reigstad
a84f354724 Tidy up image and text treatment on various screen sizes. . 2021-07-07 09:27:45 -04:00
Ben Dwyer
3fae0ff359
Blockbase: Add font customization (#4116)
* Blockbase: Add font customization

* Add a preview for font customizations

* namespace the preview function

* Replace wp_localize_script with wp_add_inline_script
2021-07-07 11:18:07 +01:00
Grant Kinney
9958d35262
Lodestar: update site_logo for compatibility with Jetpack 9.9 (#4166) 2021-07-06 15:30:55 -05:00
Maggie
77d28f1847 tweaked the post meta and updated the pattern markup 2021-07-06 19:36:39 +02:00
Maggie
5fa22e69d2 defaults for featured image 2021-07-06 19:07:10 +02:00
Maggie
7810ba3e23 created block pattern for query block 2021-07-06 18:43:11 +02:00
Maggie
3b2b857456 block styles for query block 2021-07-06 18:37:16 +02:00
Jason Crist
9e67e3d918 Rendered Blockbase Child Themes to pick up recent changes. 2021-07-05 13:07:29 -04:00
Jason Crist
9a4580fbeb
Controlled alignfull padding differently to correct paragraph padding in certain situation. (#4123)
Controlled alignfull padding differently to correct paragraph padding in certain situations.

Refactored 'container' alignment rules

Eliminated 'page-content' class as a means to apply default 'edge'
padding to content.

Introduced 'container-' selection as the means to apply default 'edge'
padding to content.

Removed 'edge' padding from post-content block (it is all handled by
'container-' elements now).

Refactored the "bust out of edge padding" for alignfull elements and
nested 'container-'s.
2021-07-05 11:13:45 -04:00