Make WordPress Core

Ticket #56466: 56466.1.patch

File 56466.1.patch, 1.3 KB (added by sabernhardt, 2 years ago)

making the table header cells inherit text colors, too (when user selects a text color)

  • src/wp-content/themes/twentytwelve/css/blocks.css

     
    232232        text-transform: uppercase;
    233233}
    234234
     235.has-text-color th {
     236        color: inherit;
     237}
     238
    235239.wp-block-table td {
    236240        border: 0;
    237241        border-top: 1px solid #ededed;
  • src/wp-content/themes/twentytwelve/css/editor-blocks.css

     
    311311        width: 100%;
    312312}
    313313
     314.editor-styles-wrapper .has-text-color th {
     315        color: inherit;
     316}
     317
    314318.editor-block-list__block .wp-block-table th {
    315319        border: 0;
    316320        font-size: 11px;
  • src/wp-content/themes/twentytwelve/editor-style.css

     
    278278}
    279279td {
    280280        border-top: 1px solid #ededed !important;
    281         color: #757575;
     281        color: inherit;
    282282        font-size: inherit;
    283283        font-weight: normal;
    284284        padding: 6px 10px 6px 0;