Commit graph

125 commits

Author SHA1 Message Date
Jason Crist
4802195cc8
corrected package.json version numbers to match style.css (when lower) (#4479)
* corrected package.json version numbers to match style.css (when lower)

* Returned Skatepark to correct version

* Corrected skatepark style.css version
2021-08-30 13:42:08 -04:00
Ben Dwyer
19d385bc37 Business themes: Fix comments on wpcom 2021-06-10 11:37:22 -04:00
Ben Dwyer
abf42f0743 Add language files from dotcom 2021-06-10 09:42:35 +01:00
George Stephanis
8347656eb8 Add filter to change bundled google fonts.
Initially intended as a part-fix for #3134 to enable child themes to swap typefaces that get included more easily, this also extends that change across to many themes using the common patterns.

It explicitly does not change the following themes:

Spearhead (uses different endpoint and method)

And the following themes that have multiple functions that generate typeface includes so as to avoid confusion:

* canard
* gazette
* illustratr
* publication
2021-02-18 10:20:38 -05:00
Ben Dwyer
5a410e23c4 All Themes: Fix whitespace in functions.php 2021-02-18 10:17:16 +00:00
Ben Dwyer
d1a5a072f0 fix encoding issues 2021-01-08 12:49:53 +00:00
Ben Dwyer
39301e2f23 fix RTL arrows 2021-01-08 11:46:32 +00:00
Ben Dwyer
3f9a515ac3 Fix RTL comment syntax and update version numbers 2021-01-08 11:12:57 +00:00
Yoav Farhi
e7815eaefc generate the style-rtl.css file for supported themes 2021-01-07 15:30:52 +02:00
Yoav Farhi
e587621eca Fix right/left arrows in RTL mode
Replace right arrow css (\2192 or \02192) with left arrow ( \2190 or \02190) and vice versa
2021-01-07 15:07:23 +02:00
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