Commit Graph

27 Commits

Author SHA1 Message Date
desrosj f6fafb8f3c Twenty Fourteen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Fourteen.

These are the specific changes made to this theme:

- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor. 

Props laurelfulford, crunnells, ianbelanger, davidkennedy.

Merges [43797] to trunk.

Fixes #45042.
Built from https://develop.svn.wordpress.org/trunk@44144


git-svn-id: http://core.svn.wordpress.org/trunk@43974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:04:37 +00:00
Ella Iseulde Van Dorpe 19dc4bb13a Revert [31849] and [33351]
Also set the max-width of images in themes to 100%, not in pixels.

See #33022 and #31250.

Built from https://develop.svn.wordpress.org/trunk@33418


git-svn-id: http://core.svn.wordpress.org/trunk@33386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-25 23:00:24 +00:00
Lance Willett 2c4b63826a Twenty Fourteen: update editor styles to better account for adaptive images in small screens.
Fixes #31934, props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@32094


git-svn-id: http://core.svn.wordpress.org/trunk@32073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 23:29:25 +00:00
Lance Willett a7eedc5f23 Bundled themes: update editor styles to better display images and captions in small screens.
Props jacklenox, see #31250.
Built from https://develop.svn.wordpress.org/trunk@31849


git-svn-id: http://core.svn.wordpress.org/trunk@31828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 16:35:28 +00:00
Lance Willett df455aa106 Twenty Fourteen: update table styles in editor CSS file for new TinyMCE class names.
Props slobodanmanic, fixes #28703.

Built from https://develop.svn.wordpress.org/trunk@30147


git-svn-id: http://core.svn.wordpress.org/trunk@30147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 03:47:21 +00:00
Lance Willett 22997677e0 Twenty Fourteen: improve styles for media "play" button. Props iamtakashi, closes #26469.
Built from https://develop.svn.wordpress.org/trunk@29168


git-svn-id: http://core.svn.wordpress.org/trunk@28952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-14 17:48:15 +00:00
Lance Willett 5579f03783 Twenty Fourteen: fix a display issue in screen sizes over 846 pixels where a post's featured image covers the post meta of the post above.
Props kraftbj and obenland, fixes #28649.
Built from https://develop.svn.wordpress.org/trunk@29101


git-svn-id: http://core.svn.wordpress.org/trunk@28887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 19:24:15 +00:00
Lance Willett f409bd9516 Twenty Fourteen: more graceful handling of super-long site titles in small screens: add an ellipsis and adjust `max-width` more carefully.
Props celloexpressions, schoenwaldnils, and obenland -- fixes #28237.
Built from https://develop.svn.wordpress.org/trunk@29096


git-svn-id: http://core.svn.wordpress.org/trunk@28882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 18:01:14 +00:00
Sergey Biryukov 3705febc40 Twenty Fourteen: Fix display of center-aligned images with captions in TinyMCE.
props RDall.
fixes #28048.
Built from https://develop.svn.wordpress.org/trunk@28941


git-svn-id: http://core.svn.wordpress.org/trunk@28739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 16:41:15 +00:00
Lance Willett c54618ab9c Twenty Fourteen: first pass at better Audio/Video player styling with genericons. Props celloexpressions, see #26469.
Built from https://develop.svn.wordpress.org/trunk@28694


git-svn-id: http://core.svn.wordpress.org/trunk@28512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 18:57:14 +00:00
Lance Willett a450512b7b Twenty Thirteen and Fourteen: implement HTML5 markup for galleries (see #26697) and captions (see #26642). Props obenland, closes #27502.
Built from https://develop.svn.wordpress.org/trunk@27763


git-svn-id: http://core.svn.wordpress.org/trunk@27600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:06:28 +00:00
Lance Willett 33d61b07f8 Twenty Fourteen: improved gallery styles in visual editor, props celloexpressions. Fixes #27462.
Built from https://develop.svn.wordpress.org/trunk@27641


git-svn-id: http://core.svn.wordpress.org/trunk@27484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 17:21:14 +00:00
Lance Willett 989fd79bd9 Twenty Fourteen: add Audio, Video, and Gallery Styles to editor styles. Props celloexpressions, see #27462.
Built from https://develop.svn.wordpress.org/trunk@27637


git-svn-id: http://core.svn.wordpress.org/trunk@27480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 04:27:16 +00:00
Lance Willett ab9e603c00 Twenty Fourteen: fix gap above static pages, props SergeyBiryukov. Fixes #26694.
Built from https://develop.svn.wordpress.org/trunk@27117


git-svn-id: http://core.svn.wordpress.org/trunk@26984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:11:12 +00:00
Lance Willett 3dc744d0cb Twenty Fourteen: minor spacing and CSS formatting fixes. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26810


git-svn-id: http://core.svn.wordpress.org/trunk@26697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 23:11:10 +00:00
Lance Willett 63c82dd11d Twenty Fourteen: remove invalid `rel` attributes from post thumbnail output, and fix a CSS typo. See #25946 and #25325.
Built from https://develop.svn.wordpress.org/trunk@26694


git-svn-id: http://core.svn.wordpress.org/trunk@26584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:09:10 +00:00
Lance Willett 8e352c8187 Twenty Fourteen: remove unneeded `!important` declarations, and comment the ones we absolutely need to keep around. Fixes #26444.
Built from https://develop.svn.wordpress.org/trunk@26689


git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:03:11 +00:00
Lance Willett ae33743f4c Twenty Fourteen: partial revert of r26558 to avoid blocking access to the Menu Toggle in IE when in small viewports. See #26189 and #26379.
Built from https://develop.svn.wordpress.org/trunk@26661


git-svn-id: http://core.svn.wordpress.org/trunk@26551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:13:10 +00:00
Lance Willett 05200ae863 Twenty Fourteen: minor code cleanup in Customizer file, props obenland. Fixes #26414.
Built from https://develop.svn.wordpress.org/trunk@26643


git-svn-id: http://core.svn.wordpress.org/trunk@26533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:09:11 +00:00
Lance Willett 0c9132c942 Twenty Fourteen: fix editor style discrepancies for `mark` and `ins`. Props sixhours, fixes #26413.
Built from https://develop.svn.wordpress.org/trunk@26639


git-svn-id: http://core.svn.wordpress.org/trunk@26529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:47:11 +00:00
Lance Willett 3ca9da5974 Twenty Fourteen: fix broken selector, props celloexpressions. See #26212. [This IE browser no le gusta chile, ese.]
Built from https://develop.svn.wordpress.org/trunk@26609


git-svn-id: http://core.svn.wordpress.org/trunk@26499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:39:09 +00:00
Lance Willett 1e703f63a9 Twenty Fourteen: update editor stylesheet to reflect recent changes made in the main stylesheet. Props iamtakashi, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26561


git-svn-id: http://core.svn.wordpress.org/trunk@26452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:30:11 +00:00
Lance Willett 187d2fa1ff Twenty Fourteen: make sure non-breaking title in `.nav-links` doesn't overflow, and make sure the menu toggle text is hidden. Props iamtakashi, closes #26189.
Built from https://develop.svn.wordpress.org/trunk@26558


git-svn-id: http://core.svn.wordpress.org/trunk@26449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:15:10 +00:00
Sergey Biryukov b5ce3e6c96 Twenty Fourteen: use a more specific selector for tag links.
props iamtakashi.
fixes #26358.
Built from https://develop.svn.wordpress.org/trunk@26545


git-svn-id: http://core.svn.wordpress.org/trunk@26437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:15:10 +00:00
Lance Willett 96526c7c0c Twenty Fourteen: fix image alignment in editor styles, props azaozz and RDall. Fixes #26108.
Built from https://develop.svn.wordpress.org/trunk@26409


git-svn-id: http://core.svn.wordpress.org/trunk@26309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:38:11 +00:00
Lance Willett 7a70414640 Twenty Fourteen: enhanced styles for logged-out comment form "required" mark and comment moderation text. Props iamtakashi, fixes #25932.
Built from https://develop.svn.wordpress.org/trunk@26117


git-svn-id: http://core.svn.wordpress.org/trunk@26029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:51:09 +00:00
Lance Willett 369044f9a5 Twenty Fourteen: move CSS files except for rtl.css and style.css into new `css` directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26104


git-svn-id: http://core.svn.wordpress.org/trunk@26019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:57:09 +00:00