WordPress/wp-content/themes/twentytwentyone/assets/sass/05-blocks
Sergey Biryukov e0058af83d 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.
Reviewed by ryelle, SergeyBiryukov.
Merges [50466] to the 5.7 branch.
Fixes #52676.
Built from https://develop.svn.wordpress.org/branches/5.7@50469


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 12:52:03 +00:00
..
audio Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
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-02 12:52:03 +00:00
file Twenty Twenty-One: Clean up Button styles. 2021-01-20 05:51:02 +00:00
gallery Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
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 Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
image Twenty Twenty-One: Display inline-images inline. 2021-02-16 02:26:08 +00:00
latest-comments Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
latest-posts Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
legacy Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
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 Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
paragraph Twenty Twenty-One: Use correct value for the global `line-height` CSS variable. 2021-02-09 17:10:05 +00:00
preformatted Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
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 Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
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 Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
table Twenty Twenty-One: Improve striped table styling in Dark Mode. 2020-12-22 15:02:05 +00:00
tag-clould Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
utilities Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
verse Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
video Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
_config.scss Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
blocks-editor.scss Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
blocks.scss Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00