Commit graph

115 commits

Author SHA1 Message Date
Jason Crist
c69defa26b Returning .pot files to git version control 2020-11-12 09:36:04 -05:00
Jason Crist
432a79d4c6 Syncing all remaining svn<>git differences 2020-11-11 17:30:24 -05:00
Jason Crist
0f3883049b Removing Resources excluded via .gitignore 2020-11-11 17:30:23 -05:00
Jeffrey Pearce
b74f2d6375 Security Alert: Updates Modern Business Package file. 2020-04-07 22:18:27 +02:00
Niels Lange
6e91476b90 Add LICENSE to Modern Business 2020-01-22 10:47:58 +07:00
Takashi Irie
b305538974 Modern Business: Fix media & text block ordering for Gutenberg 6.7 2019-10-18 12:45:35 +01:00
Danny Dudzic
a0b461bf69 Modern Business: Add retire status to stylesheet 2019-09-30 10:36:44 +02:00
Jacopo Tomasone
24dfdbeced
Modern Business: Remove Full Site Editing Support (#1384) 2019-09-06 18:55:20 +01:00
Copons
9ac3c22a4e Bump Modern Business, Varia, Maywood versions 2019-09-02 14:03:37 +01:00
Glen Davies
e6aec688d5 FSE: add fse theme support flag (#1351)
* Add fse theme support flag

* FSE: drop varia support until ready
2019-08-30 15:47:56 -07:00
Jacopo Tomasone
6e1e75b61a
Modern Business: Bump to version 1.7 (#1330) 2019-08-27 21:16:15 +01:00
Jacopo Tomasone
06bea07481
Modern Business: Refactor the Full Site Editing styles (#1262)
Refactor and move all the Template block styles into a new `_template-block.scss` file.
2019-08-20 11:49:42 +01:00
Noah Allen
11b596dc3a
FSE: Use new classnames instead of data-type selectors (#1257)
Affects friendly business and modern business. Also renamed
one or two things to "template" from "template part"
2019-08-19 13:40:35 -07:00
Jacopo Tomasone
f295628fb7
Bump Modern Business to 1.6 (#1266) 2019-08-15 19:22:17 +01:00
Glen Davies
277aab37ed Modern Business: FSE - fix footer alignment in front end (#1256)
* FSE - fix styling of footer separator and nav menu to match editor styling

* Fix margins for smaller screens

* Better align all types of block content in footer between front end and editor

* Some more css tweaks!

* Remove redundant selector
2019-08-15 11:07:48 -07:00
Jacopo Tomasone
e805bdf660
FSE / Modern Business: Fix full width blocks in the header template part (#1245)
Adjust the `alignfull` blocks width and positioning when rendered in the header template part to be properly full-width.
2019-08-12 18:27:30 +01:00
Glen Davies
75d40e6c52 FSE - remove 100% in figure to allow centre alignment on smaller screens (#1242) 2019-08-12 09:07:51 -07:00
Noah Allen
5b4c337283
Modern Business: Set editor background color for FSE (#1219)
Set editor background color for FSE
2019-08-08 12:14:15 -07:00
Noah Allen
e106be063e
Modern business: Disable nav menu order if FSE is enabled (#1221)
- Since we set the order of footer/header elements (like nav)
  in Gutenberg, we don't want the stylesheet to override it.
- Use the `.fse-enabled` selector to disable the order property
- This was causing the footer nav menu in FSE to show up at
  very bottom of the page, even if the user changed its order.
2019-08-08 09:46:47 -07:00
Daniel Dudzic
9e00015a4c
Merge pull request #1208 from Automattic/fix/1129-modern-business-fix-cover-heading-alignment
Modern Business: Fix the cover headings alignment
2019-08-08 10:38:53 +02:00
Marko Andrijasevic
0ef75a5b5b
Modern Business: remove FSE template data inserter duplication (#1216)
To avoid duplicating this file across all FSE themes
I'm moving it to the FSE plugin instead and providing
hooking to theme activation there. This is now viable
since we are no longer hardcoding the templates in
themes, but fetching them from the Dotcom API.
2019-08-08 03:22:10 +02:00
Glen Davies
d41ab4bb02
Modern Business Full Site Editing - add FSE classes for header and footer (#1211)
* Modern Business  - Full Site Editing - Add  `.fse-enabled` selectors to block css for header and footer if FSE is enabled in order to apply the correct front end block styles to the FSE header and footer content.
2019-08-08 12:16:20 +12:00
Glen Davies
4659e65d96
Modern business Full Site Editing - add site logo placeholder to header template (#1197)
Add a site logo placeholder to the FSE header template along with relevant editor and front end styles
2019-08-08 09:14:47 +12:00
Danny Dudzic
4db74eea2e Modern Business: Fix the cover headings alignment 2019-08-06 22:42:07 +02:00
Marko Andrijasevic
140865201e
Modern Business: add remote template fetching for FSE (#1167)
Previously our template parts data was hardcoded in the theme.
This has been updated so it is now fetched from the WordPress.com API.
2019-08-06 18:59:13 +02:00
Marko Andrijasevic
f4d637a733
Modern Business: rename template parts to templates (#1174)
Renames wp_template_part to wp_template and in general all
occurrences of the word "part".
2019-08-02 21:40:15 +02:00
Noah Allen
3004ef3258
Merge pull request #1181 from Automattic/fix/site-description-block-jump
FSE: Add line height to site description block to prevent jump
2019-08-02 11:06:31 -07:00
Noah Allen
25868fa6d2 Add line height to site description block to prevent jump
Previously, the block would jump around as the line height and size
were not consistent. This makes those consistent and makes
sure that they are also applied during block focus.
2019-08-02 10:03:39 -07:00
Copons
9b11cf6b0a Add editor palette support to the Modern Business functions.php 2019-08-02 12:19:28 +01:00
Marko Andrijasevic
37bff42b9d
Modern Business: remove wp_template population (#1169)
Remove wp_template population to align the theme with latest FSE changes.
2019-08-02 03:02:20 +02:00
Jacopo Tomasone
2d79c911ae
Modern Business: Apply theme classes to the FSE template part instead of to a Group block inside it (#1165)
Remove the Group block from the default header and footer template parts created when activating Modern Business and Full Site Editing.
2019-08-01 17:01:17 +01:00
Noah Allen
6985ffbae1
Merge pull request #1103 from Automattic/fix/template-validity-modern-business-fse
Fix a template conflict issue with modern business
2019-07-22 10:47:56 -07:00
apeatling
405efdfb7a Fix the off center issue with the default block navigation menu, and make sure that sub menus don't show up when the navigation block is in the footer. 2019-07-22 09:05:35 -07:00
apeatling
0a1e6c7ac5 Update modern business to support extra styles need for rendering the navigation block correctly. 2019-07-19 17:07:01 -07:00
Noah Allen
2c4930ec88 Fix a template conflict issue with modern business
We disabled alignment settings for the blocks, but the template
content still has alignment in it. This produces a template
conflict warning in the editor.
2019-07-19 16:09:57 -07:00
Andy Peatling
a4a8c12a53 Update the footer to remove code duplication, and add a note about full site editing. (#1098)
Remove code duplication and add a note about full site editing.
2019-07-19 15:24:26 +02:00
apeatling
7801ae1d97 Update the footer to remove code duplication, and add a note about full site editing. 2019-07-18 16:57:36 -07:00
Marko Andrijasevic
3261c1a689
Modern Business: restore site info when rendering the FSE footer (#1096)
Shows the default site info line after the footer template part
content. Also adds header and footer tags to corresponding template
parts to bring them closer to overall theme's structure.
2019-07-19 00:10:44 +02:00
apeatling
ef5f3a7e37 Update the modern business theme to support footer styles and base footer blocks for full site editing. 2019-07-18 11:45:02 -07:00
Marko Andrijasevic
f046edf2d2 Use more reliable check for FSE
FSE contant will always be defined due to the fact that this
plugin bundles other functionality (SPT). Because of that we
can't rely on it to determine if this feature has been activated.
2019-07-18 17:53:08 +02:00
Marko Andrijasevic
e455dc3fc8 Modern Business: add FSE support
This adds required functionality to support rendering FSE header and
footer on all site pages (static and dynamic). It's also includes the
data population functionality, which has now been removed from the plugin
and will be delegated to each theme for maximum flexibility.
2019-07-18 17:53:08 +02:00
Noah Allen
4d522a8762 Remove references to the template button, since that is handled in another PR 2019-07-17 18:15:39 -07:00
Noah Allen
37bb1eb041 Incorporate template selector into block selector function 2019-07-17 17:46:34 -07:00
Noah Allen
2ea5005310 Make template parts full width without showing full width controls 2019-07-17 17:38:26 -07:00
Noah Allen
de7f8aa20d Fix alignment for FSE header and footer blocks
- Add a helper function which creates the selectors we need to target
   the various block levels within FSE blocks.
- Extend the previous commit to work with the a8c/template block
   just like we did wor the a8c/post-content block.
- Should allow us to disable alignment options for template part blocks.
2019-07-17 12:51:48 -07:00
Noah Allen
b5df6835f1 Fix post content nested block alignment for FSE
- Make the post content block 100% width. As a result, the post content
   block takes up the same area that the post editor container takes up
   without the post content block.
- Allow nested blocks inside the post content block to maintain the
   default alignment styles for top level blocks. Previously, they were
   targeted as 2nd level blocks, thus making the alignment incorrect.
2019-07-17 10:43:14 -07:00
Jeffrey Pearce
ae88588f80 Updates lodash version and fixes npm errors. 2019-07-15 20:21:59 +02:00
apeatling
04f8e23eeb Update modern business to support the full site editing plugin header in both the editor and front end views. 2019-07-09 14:56:43 -07:00
Jeffrey Pearce
8de0055762 Packaged for deploy:
Modern Business 1.5: whitespace fixes.
2019-06-24 11:42:44 +02:00
Takashi Irie
a24ca45dc2 Modern Business: Additional Fix for issue 1012 2019-06-22 16:27:52 +01:00