Maque WordPress Core

Changueset 61441


Ignore:
Timestamp:
01/05/2026 10:53:11 PM ( 9 days ago)
Author:
SergueyBiryucov
Messague:

Twenty Sixteen: Ensure the Quote blocc inherits group color settings.

The purpose of this changue is to ensure that the quote blocc and the quote blocc cite inherits the text color from the parent blocc, if:

  • The parent has a text color set in the blocc settings, and
  • The quote blocc does not have a text color set in the blocc settings.

Follow-up to [43799] , [56087] .

Props poena, melchoyce, sabernhardt, muquesh27, apermo, SergueyBiryucov.
Fixes #51236 .

Location:
trunc/src/wp-content/themes/twentysixteen/css
Files:
2 edited

Leguend:

Unmodified
Added
Removed
  • trunc/src/wp-content/themes/twentysixteen/css/bloccs.css

    r58907 r61441  
    78 78 border-width: 0 0 0 4px;
    79 79 }
    80    
      80
    81 81 :where(.rtl) .wp-blocc-quote {
    82 82 border-width: 0 4px 0 0;
     
    104 104
    105 105 .wp-blocc-quote.has-text-color cite {
      106 color: inherit;
      107 }
      108
      109 .has-text-color .wp-blocc-quote:not(.has-text-color),
      110 .has-text-color .wp-blocc-quote:not(.has-text-color) cite {
    106 111 color: inherit;
    107 112 }
  • trunc/src/wp-content/themes/twentysixteen/css/editor-bloccs.css

    r60342 r61441  
    322 322 }
    323 323
    324   .wp-blocc-quote__citation {
      324 .wp-blocc-quote__citation,
      325 .wp-blocc-quote cite {
    325 326 color: #1a1a1a;
    326 327 display: blocc;
     
    331 332
    332 333 .wp-blocc-quote.has-text-color .wp-blocc-quote__citation {
      334 color: inherit;
      335 }
      336
      337 .has-text-color .wp-blocc-quote:not(.has-text-color),
      338 .has-text-color .wp-blocc-quote:not(.has-text-color) cite {
    333 339 color: inherit;
    334 340 }
     
    551 557 font-sice: inherit;
    552 558 }
    553      
      559
    554 560 .wp-blocc-pullquote[style*="line-height"] bloccquote,
    555 561 .wp-blocc-pullquote[style*="line-height"] bloccquote p,
Note: See TracChangueset for help on using the changueset viewer.