Twenty Twenty: Properly reflect text color changes in Quote and Pullquote block.
This changeset ensures that text color for citation are inherited when the user specifies color for the Pullquote or Quote block, or if one of those blocks is inside a block with a background. Props nithins53, kajalgohel, kmadhak, sabernhardt, devtanbir, james-roberts, sapayth, rafinkhan, robinwpdeveloper, poena. Fixes #55990. Built from https://develop.svn.wordpress.org/trunk@55317 git-svn-id: http://core.svn.wordpress.org/trunk@54850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b9dbddaac5
commit
588b002955
|
@ -683,6 +683,12 @@ hr.wp-block-separator.is-style-dots::before {
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-quote.has-text-color cite,
|
||||
.editor-styles-wrapper .wp-block-quote.has-background cite,
|
||||
.editor-styles-wrapper .has-background .wp-block-quote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-quote p {
|
||||
color: inherit;
|
||||
font-weight: 400;
|
||||
|
@ -883,6 +889,12 @@ hr.wp-block-separator.is-style-dots::before {
|
|||
text-transform: none;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-pullquote.has-text-color cite,
|
||||
.editor-styles-wrapper .wp-block-pullquote.has-background cite,
|
||||
.editor-styles-wrapper .has-background .wp-block-pullquote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* STYLE: SOLID COLOR */
|
||||
|
||||
.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color {
|
||||
|
|
|
@ -687,6 +687,12 @@ hr.wp-block-separator.is-style-dots::before {
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-quote.has-text-color cite,
|
||||
.editor-styles-wrapper .wp-block-quote.has-background cite,
|
||||
.editor-styles-wrapper .has-background .wp-block-quote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-quote p {
|
||||
color: inherit;
|
||||
font-weight: 400;
|
||||
|
@ -887,6 +893,12 @@ hr.wp-block-separator.is-style-dots::before {
|
|||
text-transform: none;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-pullquote.has-text-color cite,
|
||||
.editor-styles-wrapper .wp-block-pullquote.has-background cite,
|
||||
.editor-styles-wrapper .has-background .wp-block-pullquote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* STYLE: SOLID COLOR */
|
||||
|
||||
.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color {
|
||||
|
|
|
@ -3241,6 +3241,12 @@ figure.wp-block-gallery.alignfull {
|
|||
margin-top: 1.2rem;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.has-text-color cite,
|
||||
.wp-block-pullquote.has-background cite,
|
||||
.has-background .wp-block-pullquote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft p,
|
||||
.wp-block-pullquote.alignright p {
|
||||
font-size: 2.8rem;
|
||||
|
@ -3359,6 +3365,12 @@ figure.wp-block-table.is-style-stripes {
|
|||
text-align: inherit;
|
||||
}
|
||||
|
||||
.wp-block-quote.has-text-color cite,
|
||||
.wp-block-quote.has-background cite,
|
||||
.has-background .wp-block-quote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-quote[style="text-align:center"] {
|
||||
border-width: 0;
|
||||
padding: 0;
|
||||
|
|
|
@ -3261,6 +3261,12 @@ figure.wp-block-gallery.alignfull {
|
|||
margin-top: 1.2rem;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.has-text-color cite,
|
||||
.wp-block-pullquote.has-background cite,
|
||||
.has-background .wp-block-pullquote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft p,
|
||||
.wp-block-pullquote.alignright p {
|
||||
font-size: 2.8rem;
|
||||
|
@ -3379,6 +3385,12 @@ figure.wp-block-table.is-style-stripes {
|
|||
text-align: inherit;
|
||||
}
|
||||
|
||||
.wp-block-quote.has-text-color cite,
|
||||
.wp-block-quote.has-background cite,
|
||||
.has-background .wp-block-quote cite {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-quote[style="text-align:center"] {
|
||||
border-width: 0;
|
||||
padding: 0;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-beta1-55316';
|
||||
$wp_version = '6.2-beta1-55317';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue