Commit Graph

40 Commits

Author SHA1 Message Date
laurelfulford 30c7257aad Bundled Themes: Make sure button blocks respect settings.
When the original block editor styles were added to the existing default themes, the button blocks were styled to match how each theme styled the `button` tag. 

However, the styles should respect the block editor's default style, "Rounded", and allow switching to the other styles, like "Outlined" and "Square".

Fixes #45541.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-02 03:53:53 +00:00
desrosj 4aa38f2193 Bundled Themes: Replace “Gutenberg” in code comments and classes.
This update replaces the term “Gutenberg” in the themes code comments and classes with something more future-friendly.

Props laurelfulford.

Merges [44213] into trunk.

Fixes #45452.
Built from https://develop.svn.wordpress.org/trunk@44313


git-svn-id: http://core.svn.wordpress.org/trunk@44143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:30:41 +00:00
desrosj 6ab27f50a6 Bundled Themes: Update default block appender selector.
The markup for the default block appender changed from a text input to a text area in the editor; this update makes the same change in the default theme styles.

Props laurelfulford.

Merges [44212] into trunk.

Fixes #45450.
Built from https://develop.svn.wordpress.org/trunk@44312


git-svn-id: http://core.svn.wordpress.org/trunk@44142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:29:51 +00:00
desrosj 608eb55335 Bundled Themes: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

This fix is applied to Twenty Sixteen, Twenty Fifteen and Twenty Fourteen. 

Props laurelfulford.

Merges [44197-44198] and [44200] into trunk.

Fixes #45428, #45429.
Built from https://develop.svn.wordpress.org/trunk@44306


git-svn-id: http://core.svn.wordpress.org/trunk@44136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:24:59 +00:00
desrosj 4d3f9732b1 Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.

Props pento, davidakennedy, laurelfulford.

Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.

Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152


git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:55:39 +00:00
desrosj 9bbc000c65 Twenty Fifteen: 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 Fifteen.

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, davidkennedy.

Merges [43798] to trunk.

Fixes #45043.
Built from https://develop.svn.wordpress.org/trunk@44145


git-svn-id: http://core.svn.wordpress.org/trunk@43975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:13:38 +00:00
Sergey Biryukov ca92da1dcc Twenty Fifteen: Add missing comma in `ie.css`.
Props lalitpendhare.
Fixes #41890.
Built from https://develop.svn.wordpress.org/trunk@41382


git-svn-id: http://core.svn.wordpress.org/trunk@41215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-16 05:12:48 +00:00
Sergey Biryukov 421604cb67 Twenty Fifteen: Add left margin for lists inside blockquotes in `editor-style.css`.
Props diddledan.
Fixes #33380.
Built from https://develop.svn.wordpress.org/trunk@36075


git-svn-id: http://core.svn.wordpress.org/trunk@36040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-23 13:10:28 +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
Andrew Ozz 6bdd0658be Twenty Fifteen: remove `a img { display: block; }` from editor-style.css. Matches previous changes to style.css and fixes extra space when displaying captions in Firefox.
Fixes #32007.
Built from https://develop.svn.wordpress.org/trunk@32231


git-svn-id: http://core.svn.wordpress.org/trunk@32205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 23:47:29 +00:00
Lance Willett de3e344b2a Twenty Fifteen: update editor styles to better account for adaptive images in small screens.
See #31934, props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@32090


git-svn-id: http://core.svn.wordpress.org/trunk@32069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 22:01:27 +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 4d00172987 Twenty Fifteen: remove unused CSS rules for `wp_page_menu` since are not used in the theme. And a bit of CSS cleanup.
Props iamtakashi, fixes #30957.
Built from https://develop.svn.wordpress.org/trunk@31183


git-svn-id: http://core.svn.wordpress.org/trunk@31164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-15 23:05:22 +00:00
Lance Willett 9917758155 Twenty Fifteen: more styles for multi-site forms.
Props iamtakashi, closes #30776.
Built from https://develop.svn.wordpress.org/trunk@31001


git-svn-id: http://core.svn.wordpress.org/trunk@30983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-30 10:30:22 +00:00
Lance Willett b335af9e63 Twenty Fifteen: use better, universal sans-serif fonts for RTL, similar to Twenty Ten which also had serif fonts throughout.
Props iamtakashi, see #30752.
Built from https://develop.svn.wordpress.org/trunk@30961


git-svn-id: http://core.svn.wordpress.org/trunk@30949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 22:30:24 +00:00
Lance Willett 3bb98189d7 Twenty Fifteen: ensure RTL editor font style is consistent with front-end font style.
Props iamtakashi and alex-ye, see #30746.
Built from https://develop.svn.wordpress.org/trunk@30956


git-svn-id: http://core.svn.wordpress.org/trunk@30944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:22:25 +00:00
Andrew Ozz 56d0d9c31e Twenty Fifteen, editor-style: remove margin-bottom from the gallery preview inside the editor. Fixes #30697.
Built from https://develop.svn.wordpress.org/trunk@30836


git-svn-id: http://core.svn.wordpress.org/trunk@30826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 21:45:22 +00:00
Ian Stewart 65ed77974b Twenty Fifteen: minor file cleanup.
Props iamtakashi, fixes #30653.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:39:24 +00:00
Ian Stewart b2ca8af3bf Twenty Fifteen: admin-custom-header.css was emptied in r30567 so let's remove it entirely.
Props kwight, fixes #30648.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:17:22 +00:00
Ian Stewart 3ec55886cd Twenty Fifteen: layout correction for IE8 and IE7 after r30388 introduced a defect with the header there.
Props iamtakashi, fixes #30630.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 17:46:23 +00:00
Ian Stewart 20d135f3b2 Twenty Fifteen: correct list indentation inside blockquotes.
Props iamtakashi, fixes #30543.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 19:31:24 +00:00
Ian Stewart cb2dcb9820 Twenty Fifteen: remove unneeded custom header admin callbacks.
Props philiparthurmoore, fixes #30432.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 15:12:22 +00:00
Andrew Ozz 0517ee7c6e TwentyFifteen:
- Fix image caption alignment in the editor.
- Remove unused var from functions.js.
Also includes few images that were shrunk a bit when running grunt precommit.
Fixes #30493.
Built from https://develop.svn.wordpress.org/trunk@30562


git-svn-id: http://core.svn.wordpress.org/trunk@30551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 06:12:22 +00:00
Andrew Ozz 6b9b865b33 Twenty Fifteen: reduce the margins on the editor body in esitor-style.css. Fixes #30331.
Built from https://develop.svn.wordpress.org/trunk@30321


git-svn-id: http://core.svn.wordpress.org/trunk@30320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 02:02:24 +00:00
Ian Stewart 07eba31e0b Twenty Fifteen: improve appearance of page links when there are tons of pages to link to
Props iamtakashi, fixes #30301


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


git-svn-id: http://core.svn.wordpress.org/trunk@30316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-12 23:39:23 +00:00
Ian Stewart fa81522cb2 Twenty Fifteen: add instant updating of color schemes to the customizer with postMessage.
Props celloexpressions, bradyvercher, westonruter, fixes #29988.



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


git-svn-id: http://core.svn.wordpress.org/trunk@30274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 20:55:23 +00:00
Ian Stewart 17dbe26df9 Twenty Fifteen: Simplify the header, sidebar, background controls and make customization faster for users to do. This has the added benefit of fixing our bug where hidden header text wasn't being updated on color scheme switch. Nice.
Props celloexpressions, iamtakashi, fixes #30164 and #29980.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 18:42:22 +00:00
Ian Stewart a46c99cf78 Twenty Fifteen: make it clear that a link is a link in post and comment meta by underlining it on hover or focus
Props morganestes, iamtakashi, fixes #30108


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


git-svn-id: http://core.svn.wordpress.org/trunk@30208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 17:01:23 +00:00
Lance Willett 550dc1a3de Twenty Fifteen: minor CSS fixes. See #30133.
Built from https://develop.svn.wordpress.org/trunk@30051


git-svn-id: http://core.svn.wordpress.org/trunk@30051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 17:18:19 +00:00
Ian Stewart 3ec1c95062 Twenty Fifteen: valid HTML for accessible child page menu expanding and collapsing -- now with even better accessiblity.
Props afercia, davidakennedy, iamtakashi, fixes #30083.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 15:15:20 +00:00
Ian Stewart ea264c07b2 Twenty Fifteen: correct list indentation in older IE versions.
Props iamtakashi, fixes #30074.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 15:05:19 +00:00
Sergey Biryukov 85c824218f Twenty Fifteen: Isolate :not selectors from CSS2 selectors.
props peterwilsoncc, iamtakashi.
fixes #30014.
Built from https://develop.svn.wordpress.org/trunk@29996


git-svn-id: http://core.svn.wordpress.org/trunk@29737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 11:44:19 +00:00
Sergey Biryukov f64d9a10df Twenty Fifteen: Fix missing commas in the stylesheet.
props iamtakashi.
fixes #30068.
Built from https://develop.svn.wordpress.org/trunk@29988


git-svn-id: http://core.svn.wordpress.org/trunk@29730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-22 02:43:18 +00:00
Andrew Ozz 965e783fd8 Twenty Fifteen: better editor-style.css: slightly smaller fonts, make the body margins relative, fix dependency on the `mce-item-table` class for tables. Props iamtakashi, fixes #29986
Built from https://develop.svn.wordpress.org/trunk@29987


git-svn-id: http://core.svn.wordpress.org/trunk@29729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-22 02:40:17 +00:00
Ian Stewart 8cee0a57d1 Twenty Fifteen: beautify the header in IE 8.
Props afercia, fixes #30042.


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


git-svn-id: http://core.svn.wordpress.org/trunk@29718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 19:14:18 +00:00
Ian Stewart 747e7189a3 Twenty Fifteen: correct font fallback for Noto Serif in editor styles; Props Manoz69; Fixes #29984
Built from https://develop.svn.wordpress.org/trunk@29918


git-svn-id: http://core.svn.wordpress.org/trunk@29670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 18:40:20 +00:00
Andrew Ozz 6de7c43ab3 Twenty Fifteen, editor-style.css: revert the font-size back to 19px and margin back to 83px, merge the two body selectors (don't seem needed), remove redundant rtl rules and fix body.rtl selector. See #29799
Built from https://develop.svn.wordpress.org/trunk@29911


git-svn-id: http://core.svn.wordpress.org/trunk@29665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 00:27:19 +00:00
Andrew Ozz f6e96fa748 Twenty Fifteen: no `rem` in editor-style.css for now, see #29799
Built from https://develop.svn.wordpress.org/trunk@29910


git-svn-id: http://core.svn.wordpress.org/trunk@29664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 22:48:18 +00:00
Andrew Ozz dc0fee4550 Twenty Fifteen: make font-size/line-height in editor-style.css the same as in style.css. Remove margins from the editor body, interferes with autoresize in some browsers and is overriden in the default styles. See #29799
Built from https://develop.svn.wordpress.org/trunk@29909


git-svn-id: http://core.svn.wordpress.org/trunk@29663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 22:37:18 +00:00
Ian Stewart affa411402 Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.

Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799


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


git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 19:28:18 +00:00