Commit graph

131 commits

Author SHA1 Message Date
Jason Crist
a3e0777288
Do not generate a source map via postcss as it isn't included in the theme (#7335) 2023-10-12 11:17:50 -03:00
Jason Crist
c1ee1374f6
Removed forced content wrapper styles (#6961) 2023-04-11 10:09:57 -04:00
Louis-Michel Raynauld
bdcedbe43b
Fix missing --wp prefix for var --custom--form--color--border (#6796) 2023-01-20 12:20:29 +08:00
Madhu Dollu
b6669adc92
cleanup buttons css (#6714)
* removed typography styles for buttons

* removed typography styles for buttons

* remove more styles

* kept the mixins, but removed the includes

* remove padding include from button styles

* lint

* Bump min version for Blockbase to 6.1

* rebuild ponyfill after rebase

* Update theme.json schema version

* Update file button hover status

Co-authored-by: MaggieCabrera <maggie.cabrera@automattic.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-11-17 17:56:42 +05:30
Madhu Dollu
678de460fe
Blockbase: move link pseudo states to theme.json (#6156)
* move link pseudo states to theme.json

* Removed navigation underline hover to achieve design parity before the change

Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-11-14 11:51:04 -05:00
Takashi Irie
603a7a103a
Blockbase: Update navigation justification (#6580)
* Blockbase: Update navigation justification

* fix alignment of level 2, 3 and more menus

Co-authored-by: madhusudhand <madhusudhan.dollu@gmail.com>
2022-09-20 13:15:00 +05:30
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
Sarah Norris
945fc00165
Remove close button styles (#6082) 2022-06-17 12:38:08 +05:30
Matias Benedetto
9b03958b77
Blockbase: fixing separator block ddots option (#5964) 2022-05-05 18:15:43 +01:00
Jason Crist
662df18149
Blockbase: Account for additional content via css grid configuration (#5816) 2022-04-12 11:28:52 -04:00
Sarah Norris
d6d5cb6176
Blockbase: add padding for group blocks with a background (#5811)
* Add padding for group blocks with backgrounds
* Removed Blockbase's opinionated post-content>p padding
Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-04-05 15:41:50 -04:00
Sarah Norris
ebee9e809c
Add select boxes to form styles (#5793) 2022-04-01 11:23:06 +01:00
Omar Alshaker
84ae7eb479
Fix Woo number input in Blockbase (#5354) 2022-04-01 11:20:14 +01:00
Madhu Dollu
a62ba4a1e2
Blockbase: add style overrides for navigation block links (#5741) 2022-03-31 17:08:35 +05:30
Ben Dwyer
e72ff47757
Blockbase: Remove list ponyfill (#5586) 2022-02-24 20:25:27 +00:00
Ben Dwyer
762fa3fd19
Update alignment rules (#5526)
* Update alignment rules

* Run Blockbase build

Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-02-15 13:09:56 -05:00
Maggie
71c3f66ed3
fixed spacing for header (#5472) 2022-02-11 09:46:38 +01:00
Ben Dwyer
7d8fdd5f92
Update alignment styles (#5475)
* Update alignment styles

* tidy up formatting
2022-02-08 17:19:56 -05:00
Sarah Norris
1ce705216e
Blockbase: update dependencies & change node-sass to dart sass (#5290)
* Use dart sass instead of node sass
* Update deps
* Add postcss to themes not already using it
* Update all package-lock files for node 16
* Remove package files from generated variations
Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-01-14 10:52:32 -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
Sarah Norris
6fda92d1f7
Update all dependencies and add update script (#5304)
* Add update-dependencies script

* Update deps for all themes

* update barnsbury package.lock

* Rebuild all themes

* Another run of update & build all

* Update alves package-lock

* Update root package-lock

* Update all package-lock files

* Add nvmrc file

* Remove .nvmrc file

* Add node version to root package json

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2022-01-14 14:28:12 +00:00
Kjell Reigstad
4abcf26686
Update alignment rules. (#5316) 2022-01-14 14:27:35 +00:00
Maggie
ff859ba69a
Blockbase: refactor footers to patterns (#5245) 2022-01-13 11:27:18 -05:00
Ben Dwyer
955628f282
Blockbase: Update the package.json (#5253)
* Blockbase: Update the package.json

* update

* Add author
2021-12-24 13:51:23 +00:00
Ben Dwyer
88cff87a49
Blockbase: Update alignment rules (#5220)
* Blockbase: Update alignment rules

* update variable name
2021-12-22 16:39:41 +00:00
Maggie
225656c65a
Blockbase: fix variables for 2 colored themes (#5241)
* fix variables for 2 colored themes

* same fix for tables css
2021-12-22 16:35:42 +00: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
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
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
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
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