Make WordPress Core

Ticket #58526: 58526.1.diff

File 58526.1.diff, 5.8 KB (added by sabernhardt, 2 years ago)

supporting Letter Case control in Twenty Fourteen, Twenty Fifteen, Twenty Sixteen and Twenty Twenty

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

     
    395395        vertical-align: baseline;
    396396}
    397397
     398.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     399.wp-block-button[style*="text-transform"] .wp-block-button__link {
     400        text-transform: inherit;
     401}
     402
    398403.is-style-outline .wp-block-button__link {
    399404        border: 2px solid;
    400405}
  • src/wp-content/themes/twentyfifteen/css/editor-blocks.css

     
    754754        vertical-align: baseline;
    755755}
    756756
     757.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     758.wp-block-button[style*="text-transform"] .wp-block-button__link {
     759        text-transform: inherit;
     760}
     761
    757762.wp-block-button__link {
    758763        background-color: #333;
    759764        color: #fff;
  • src/wp-content/themes/twentyfourteen/css/blocks.css

     
    242242        vertical-align: bottom;
    243243}
    244244
     245.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     246.wp-block-button[style*="text-transform"] .wp-block-button__link {
     247        text-transform: inherit;
     248}
     249
    245250.wp-block-button__link {
    246251        background-color: #24890d;
    247252        color: #fff;
  • src/wp-content/themes/twentyfourteen/css/editor-blocks.css

     
    423423        vertical-align: bottom;
    424424}
    425425
     426.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     427.wp-block-button[style*="text-transform"] .wp-block-button__link {
     428        text-transform: inherit;
     429}
     430
    426431.wp-block-button__link {
    427432        background-color: #24890d;
    428433        color: #fff;
  • src/wp-content/themes/twentysixteen/css/blocks.css

     
    252252        text-transform: uppercase;
    253253}
    254254
     255.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     256.wp-block-button[style*="text-transform"] .wp-block-button__link {
     257        text-transform: inherit;
     258}
     259
    255260.wp-block-button__link {
    256261        background: #1a1a1a;
    257262        color: #fff;
  • src/wp-content/themes/twentysixteen/css/editor-blocks.css

     
    555555        text-transform: uppercase;
    556556}
    557557
     558.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     559.wp-block-button[style*="text-transform"] .wp-block-button__link {
     560        text-transform: inherit;
     561}
     562
    558563.wp-block-button__link {
    559564        background: #1a1a1a;
    560565        color: #fff;
  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

     
    945945        text-transform: uppercase;
    946946}
    947947
     948.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     949.wp-block-button[style*="text-transform"] .wp-block-button__link {
     950        text-transform: inherit;
     951}
     952
    948953.editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body {
    949954        line-height: 1.1;
    950955}
  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

     
    949949        text-transform: uppercase;
    950950}
    951951
     952.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     953.wp-block-button[style*="text-transform"] .wp-block-button__link {
     954        text-transform: inherit;
     955}
     956
    952957.editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body {
    953958        line-height: 1.1;
    954959}
  • src/wp-content/themes/twentytwenty/style-rtl.css

     
    30233023        padding: calc(1.1em - 0.2rem) calc(1.44em - 0.2rem);
    30243024}
    30253025
     3026.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     3027.wp-block-button[style*="text-transform"] .wp-block-button__link {
     3028        text-transform: inherit;
     3029}
     3030
    30263031/* Block: Columns ---------------------------- */
    30273032
    30283033.wp-block-columns.alignfull,
  • src/wp-content/themes/twentytwenty/style.css

     
    30433043        padding: calc(1.1em - 0.2rem) calc(1.44em - 0.2rem);
    30443044}
    30453045
     3046.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
     3047.wp-block-button[style*="text-transform"] .wp-block-button__link {
     3048        text-transform: inherit;
     3049}
     3050
    30463051/* Block: Columns ---------------------------- */
    30473052
    30483053.wp-block-columns.alignfull,