Make WordPress Core

Ticket #55990: 55990.4.patch

File 55990.4.patch, 3.6 KB (added by sabernhardt, 12 months ago)

inheriting text color for citation when user specifies color for the Pullquote or Quote block, or if one of those blocks is inside a block with a background

  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

     
    680680        font-style: normal;
    681681}
    682682
     683.editor-styles-wrapper .wp-block-quote.has-text-color cite,
     684.editor-styles-wrapper .wp-block-quote.has-background cite,
     685.editor-styles-wrapper .has-background .wp-block-quote cite {
     686        color: inherit;
     687}
     688
    683689.editor-styles-wrapper .wp-block-quote p {
    684690        color: inherit;
    685691        font-weight: 400;
     
    880886        text-transform: none;
    881887}
    882888
     889.editor-styles-wrapper .wp-block-pullquote.has-text-color cite,
     890.editor-styles-wrapper .wp-block-pullquote.has-background cite,
     891.editor-styles-wrapper .has-background .wp-block-pullquote cite {
     892        color: inherit;
     893}
     894
    883895/* STYLE: SOLID COLOR */
    884896
    885897.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color {
  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

     
    684684        font-style: normal;
    685685}
    686686
     687.editor-styles-wrapper .wp-block-quote.has-text-color cite,
     688.editor-styles-wrapper .wp-block-quote.has-background cite,
     689.editor-styles-wrapper .has-background .wp-block-quote cite {
     690        color: inherit;
     691}
     692
    687693.editor-styles-wrapper .wp-block-quote p {
    688694        color: inherit;
    689695        font-weight: 400;
     
    884890        text-transform: none;
    885891}
    886892
     893.editor-styles-wrapper .wp-block-pullquote.has-text-color cite,
     894.editor-styles-wrapper .wp-block-pullquote.has-background cite,
     895.editor-styles-wrapper .has-background .wp-block-pullquote cite {
     896        color: inherit;
     897}
     898
    887899/* STYLE: SOLID COLOR */
    888900
    889901.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color {
  • src/wp-content/themes/twentytwenty/style-rtl.css

     
    32413241        margin-top: 1.2rem;
    32423242}
    32433243
     3244.wp-block-pullquote.has-text-color cite,
     3245.wp-block-pullquote.has-background cite,
     3246.has-background .wp-block-pullquote cite {
     3247        color: inherit;
     3248}
     3249
    32443250.wp-block-pullquote.alignleft p,
    32453251.wp-block-pullquote.alignright p {
    32463252        font-size: 2.8rem;
     
    33593365        text-align: inherit;
    33603366}
    33613367
     3368.wp-block-quote.has-text-color cite,
     3369.wp-block-quote.has-background cite,
     3370.has-background .wp-block-quote cite {
     3371        color: inherit;
     3372}
     3373
    33623374.wp-block-quote[style="text-align:center"] {
    33633375        border-width: 0;
    33643376        padding: 0;
  • src/wp-content/themes/twentytwenty/style.css

     
    32613261        margin-top: 1.2rem;
    32623262}
    32633263
     3264.wp-block-pullquote.has-text-color cite,
     3265.wp-block-pullquote.has-background cite,
     3266.has-background .wp-block-pullquote cite {
     3267        color: inherit;
     3268}
     3269
    32643270.wp-block-pullquote.alignleft p,
    32653271.wp-block-pullquote.alignright p {
    32663272        font-size: 2.8rem;
     
    33793385        text-align: inherit;
    33803386}
    33813387
     3388.wp-block-quote.has-text-color cite,
     3389.wp-block-quote.has-background cite,
     3390.has-background .wp-block-quote cite {
     3391        color: inherit;
     3392}
     3393
    33823394.wp-block-quote[style="text-align:center"] {
    33833395        border-width: 0;
    33843396        padding: 0;