WordPress/wp-content/themes/twentytwentyone/assets/sass/05-blocks
ryelle c2f6f53b9b Twenty Twenty-One: Correct inner container background color for Cover Blocks.
Adjust the background color palette rules so they don't show up on inner containers when they're not supposed to:
- When an inner container block is present, it only applies them to direct children of the block with the background color assigned.
- Since the background color should only be applied to the Cover block's overlay, not to the inner container, it opts that specific block out of this rule.

Props dianeco, kjellr, paaljoachim.
Fixes #52676.


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


git-svn-id: http://core.svn.wordpress.org/trunk@50077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-01 23:26:04 +00:00
..
audio
button Twenty Twenty-One: Add missing styles for <button> element. 2021-01-20 07:05:58 +00:00
code Twenty Twenty-One: Support font size option for code block. 2021-02-09 03:24:05 +00:00
columns Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
cover Twenty Twenty-One: Correct inner container background color for Cover Blocks. 2021-03-01 23:26:04 +00:00
file Twenty Twenty-One: Clean up Button styles. 2021-01-20 05:51:02 +00:00
gallery
group Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
heading Twenty Twenty-One: Use correct value for the global line-height CSS variable. 2021-02-09 17:10:05 +00:00
html
image Twenty Twenty-One: Display inline-images inline. 2021-02-16 02:26:08 +00:00
latest-comments
latest-posts
legacy
list Twenty Twenty-One: Match bullets between editor and frontend. 2021-02-15 23:52:04 +00:00
media-text Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
navigation
paragraph Twenty Twenty-One: Use correct value for the global line-height CSS variable. 2021-02-09 17:10:05 +00:00
preformatted
pullquote Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
quote Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
rss
search Twenty Twenty-One: Update editor styles of search block. 2021-02-09 03:55:05 +00:00
separator Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
social-icons Twenty Twenty-One: Remove background color from Social Links the dark gray style. 2021-02-16 20:12:02 +00:00
spacer
table Twenty Twenty-One: Improve striped table styling in Dark Mode. 2020-12-22 15:02:05 +00:00
tag-clould
utilities Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
verse
video
_config.scss
blocks-editor.scss
blocks.scss