mirror of
https://github.com/WordPress/WordPress.git
synced 2026-06-19 07:37:07 +00:00
Twenty Sixteen: Ensure the Quote block inherits group color settings.
The purpose of this change is to ensure that the quote block and the quote block cite inherits the text color from the parent block, if: * The parent has a text color set in the block settings, and * The quote block does not have a text color set in the block settings. Follow-up to [43799], [56087]. Props poena, melchoyce, sabernhardt, mukesh27, apermo, SergeyBiryukov. Fixes #51236. Built from https://develop.svn.wordpress.org/trunk@61441 git-svn-id: http://core.svn.wordpress.org/trunk@60753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -77,7 +77,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
.wp-block-quote {
|
||||
border-width: 0 0 0 4px;
|
||||
}
|
||||
|
||||
|
||||
:where(.rtl) .wp-block-quote {
|
||||
border-width: 0 4px 0 0;
|
||||
}
|
||||
@@ -106,6 +106,11 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.has-text-color .wp-block-quote:not(.has-text-color),
|
||||
.has-text-color .wp-block-quote:not(.has-text-color) cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-quote cite:before {
|
||||
content: "\2014\00a0";
|
||||
}
|
||||
|
||||
@@ -321,7 +321,8 @@ figure[class*="wp-block-"] > figcaption {
|
||||
margin-bottom: 1.4736842105em;
|
||||
}
|
||||
|
||||
.wp-block-quote__citation {
|
||||
.wp-block-quote__citation,
|
||||
.wp-block-quote cite {
|
||||
color: #1a1a1a;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
@@ -333,6 +334,11 @@ figure[class*="wp-block-"] > figcaption {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.has-text-color .wp-block-quote:not(.has-text-color),
|
||||
.has-text-color .wp-block-quote:not(.has-text-color) cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-quote__citation:before {
|
||||
content: "\2014\00a0";
|
||||
}
|
||||
@@ -550,7 +556,7 @@ figure[class*="wp-block-"] > figcaption {
|
||||
.wp-block-pullquote[style*="font-size"] cite {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
|
||||
.wp-block-pullquote[style*="line-height"] blockquote,
|
||||
.wp-block-pullquote[style*="line-height"] blockquote p,
|
||||
.wp-block-pullquote[style*="line-height"] cite {
|
||||
|
||||
Vendored
+13
-13
@@ -8,8 +8,8 @@
|
||||
|
||||
return array(
|
||||
array(
|
||||
'handle' => 'wp-list-reusable-blocks',
|
||||
'path' => 'list-reusable-blocks/style',
|
||||
'handle' => 'wp-preferences',
|
||||
'path' => 'preferences/style',
|
||||
'dependencies' => array('wp-components'),
|
||||
),
|
||||
array(
|
||||
@@ -18,8 +18,8 @@ return array(
|
||||
'dependencies' => array('wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-preferences',
|
||||
'path' => 'preferences/style',
|
||||
'handle' => 'wp-list-reusable-blocks',
|
||||
'path' => 'list-reusable-blocks/style',
|
||||
'dependencies' => array('wp-components'),
|
||||
),
|
||||
array(
|
||||
@@ -33,13 +33,13 @@ return array(
|
||||
'dependencies' => array('wp-block-editor', 'wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-patterns',
|
||||
'path' => 'patterns/style',
|
||||
'handle' => 'wp-widgets',
|
||||
'path' => 'widgets/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-widgets',
|
||||
'path' => 'widgets/style',
|
||||
'handle' => 'wp-patterns',
|
||||
'path' => 'patterns/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components'),
|
||||
),
|
||||
array(
|
||||
@@ -77,16 +77,16 @@ return array(
|
||||
'path' => 'edit-widgets/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-components', 'wp-media-utils', 'wp-patterns', 'wp-preferences', 'wp-widgets'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-editor',
|
||||
'path' => 'editor/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-commands', 'wp-components', 'wp-media-utils', 'wp-patterns', 'wp-preferences'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-block-library',
|
||||
'path' => 'block-library/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components', 'wp-patterns'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-editor',
|
||||
'path' => 'editor/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-commands', 'wp-components', 'wp-media-utils', 'wp-patterns', 'wp-preferences'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-block-editor',
|
||||
'path' => 'block-editor/style',
|
||||
|
||||
+5
-5
@@ -22,11 +22,6 @@ return array(
|
||||
'path' => 'latex-to-mathml/loader',
|
||||
'asset' => 'latex-to-mathml/loader.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/abilities',
|
||||
'path' => 'abilities/index',
|
||||
'asset' => 'abilities/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/interactivity-router',
|
||||
'path' => 'interactivity-router/index',
|
||||
@@ -47,6 +42,11 @@ return array(
|
||||
'path' => 'core-abilities/index',
|
||||
'asset' => 'core-abilities/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/abilities',
|
||||
'path' => 'abilities/index',
|
||||
'asset' => 'abilities/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/route',
|
||||
'path' => 'route/index',
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-alpha-61440';
|
||||
$wp_version = '7.0-alpha-61441';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user