Make WordPress Core

Ticket #59207: 59207.patch

File 59207.patch, 8.4 KB (added by shailu25, 17 months ago)

Patch Added

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

    diff --git a/src/wp-content/themes/twentythirteen/css/blocks.css b/src/wp-content/themes/twentythirteen/css/blocks.css
    index 092b335d00..750e891af2 100644
    a b body:not(.sidebar) .wp-block-cover > .wp-block-cover__inner-container > * { 
    242242        padding: 10px 24px 11px;
    243243}
    244244
     245.widget a.wp-block-file__button {
     246    color: #fff;
     247}
     248
    245249/*--------------------------------------------------------------
    2462504.0 Blocks - Formatting
    247251--------------------------------------------------------------*/
    body:not(.sidebar) .wp-block-table.alignfull { 
    356360        text-decoration: none;
    357361}
    358362
    359 .entry-content .wp-block-button__link {
     363.entry-content .wp-block-button__link,
     364.widget-area .wp-block-button__link  {
    360365        background-color: #e05d22;
    361366        color: #fff;
    362367}
    363368
    364 .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
     369.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background),
     370.widget-area .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
    365371        background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */
    366372        background:   linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
    367373}
    368374
     375.wp-block-button.is-style-no-shadow .wp-block-button__link {
     376    border-bottom: none;
     377}
     378
    369379.entry-content .wp-block-button__link:hover,
    370380.entry-content .wp-block-button__link:focus,
     381.widget-area .wp-block-button__link:hover,
     382.widget-area .wp-block-button__link:focus,
    371383.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover,
    372384.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):focus,
    373385.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover,
    body:not(.sidebar) .wp-block-table.alignfull { 
    390402}
    391403
    392404.entry-content .wp-block-button__link:not(.has-background):hover,
    393 .entry-content .wp-block-button__link:not(.has-background):hover,
    394 .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover {
     405.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover,
     406.widget-area .wp-block-button__link:not(.has-background):hover,
     407.widget-area .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover {
    395408        background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%); /* Chrome 10+, Safari 5.1+ */
    396409        background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%); /* W3C */
    397410}
    body:not(.sidebar) .wp-block-table.alignfull { 
    5936067.0 Blocks - Colors
    594607--------------------------------------------------------------*/
    595608
    596 .entry-content .has-dark-gray-color {
    597         color: #141412;
     609.entry-content .has-dark-gray-color,
     610.widget-area .has-dark-gray-color {
     611    color: #141412;
    598612}
    599613
    600 .entry-content .has-dark-gray-background-color {
    601         background-color: #141412;
     614.entry-content .has-dark-gray-background-color,
     615.widget-area .has-dark-gray-background-color {
     616    background-color: #141412;
    602617}
    603618
    604 .entry-content .has-red-color {
    605         color: #bc360a;
     619.entry-content .has-red-color,
     620.widget-area .has-red-color {
     621    color: #bc360a;
    606622}
    607623
    608 .entry-content .has-red-background-color {
    609         background-color: #bc360a;
     624.entry-content .has-red-background-color,
     625.widget-area .has-red-background-color {
     626    background-color: #bc360a;
    610627}
    611628
    612 .entry-content .has-medium-orange-color {
    613         color: #db572f;
     629.entry-content .has-medium-orange-color,
     630.widget-area .has-medium-orange-color {
     631    color: #db572f;
    614632}
    615633
    616 .entry-content .has-medium-orange-background-color {
    617         background-color: #db572f;
     634.entry-content .has-medium-orange-background-color,
     635.widget-area .has-medium-orange-background-color {
     636    background-color: #db572f;
    618637}
    619638
    620 .entry-content .has-light-orange-color {
    621         color: #ea9629;
     639.entry-content .has-light-orange-color,
     640.widget-area .has-light-orange-color {
     641    color: #ea9629;
    622642}
    623643
    624 .entry-content .has-light-orange-background-color {
    625         background-color: #ea9629;
     644.entry-content .has-light-orange-background-color,
     645.widget-area .has-light-orange-background-color {
     646    background-color: #ea9629;
    626647}
    627648
    628 .entry-content .has-yellow-color {
    629         color: #fbca3c;
     649.entry-content .has-yellow-color,
     650.widget-area .has-yellow-color {
     651    color: #fbca3c;
    630652}
    631653
    632 .entry-content .has-yellow-background-color {
    633         background-color: #fbca3c;
     654.entry-content .has-yellow-background-color,
     655.widget-area .has-yellow-background-color {
     656    background-color: #fbca3c;
    634657}
    635658
    636 .entry-content .has-white-color {
    637         color: #fff;
     659.entry-content .has-white-color,
     660.widget-areat .has-white-color {
     661    color: #fff;
    638662}
    639663
    640 .entry-content .has-white-background-color {
    641         background-color: #fff;
     664.entry-content .has-white-background-color,
     665.widget-area .has-white-background-color {
     666    background-color: #fff;
    642667}
    643668
    644 .entry-content .has-dark-brown-color {
    645         color: #220e10;
     669.entry-content .has-dark-brown-color,
     670.widget-area .has-dark-brown-color {
     671    color: #220e10;
    646672}
    647673
    648 .entry-content .has-dark-brown-background-color {
    649         background-color: #220e10;
     674.entry-content .has-dark-brown-background-color,
     675.widget-area .has-dark-brown-background-color {
     676    background-color: #220e10;
    650677}
    651678
    652 .entry-content .has-medium-brown-color {
    653         color: #722d19;
     679.entry-content .has-medium-brown-color,
     680.widget-area .has-medium-brown-color {
     681    color: #722d19;
    654682}
    655683
    656 .entry-content .has-medium-brown-background-color {
    657         background-color: #722d19;
     684.entry-content .has-medium-brown-background-color,
     685.widget-area .has-medium-brown-background-color {
     686    background-color: #722d19;
    658687}
    659688
    660 .entry-content .has-light-brown-color {
    661         color: #eadaa6;
     689.entry-content .has-light-brown-color,
     690.widget-area .has-light-brown-color {
     691    color: #eadaa6;
    662692}
    663693
    664 .entry-content .has-light-brown-background-color {
    665         background-color: #eadaa6;
     694.entry-content .has-light-brown-background-color,
     695.widget-area .has-light-brown-background-color {
     696    background-color: #eadaa6;
    666697}
    667698
    668 .entry-content .has-beige-color {
    669         color: #e8e5ce;
     699.entry-content .has-beige-color,
     700.widget-area .has-beige-color {
     701    color: #e8e5ce;
    670702}
    671703
    672 .entry-content .has-beige-background-color {
    673         background-color: #e8e5ce;
     704.entry-content .has-beige-background-color,
     705.widget-area .has-beige-background-color {
     706    background-color: #e8e5ce;
    674707}
    675708
    676 .entry-content .has-off-white-color {
    677         color: #f7f5e7;
     709.entry-content .has-off-white-color,
     710.widget-area .has-off-white-color {
     711    color: #f7f5e7;
    678712}
    679713
    680 .entry-content .has-off-white-background-color {
    681         background-color: #f7f5e7;
    682 }
     714.entry-content .has-off-white-background-color,
     715.entry-content .has-off-white-background-color,
     716.widget-area .has-off-white-background-color,
     717.widget-area .has-off-white-background-color {
     718    background-color: #f7f5e7;
     719}
     720 No newline at end of file
  • src/wp-content/themes/twentythirteen/css/editor-blocks.css

    diff --git a/src/wp-content/themes/twentythirteen/css/editor-blocks.css b/src/wp-content/themes/twentythirteen/css/editor-blocks.css
    index 8daa0b0915..95eab989ab 100644
    a b p.has-drop-cap:not(:focus)::first-letter { 
    272272        text-decoration: none;
    273273}
    274274
     275:root .editor-styles-wrapper .wp-block-file__button {
     276    background: #e05d22;
     277    background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%);
     278    background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%);
     279    color: #fff;
     280}
     281
    275282/* Verse */
    276283
    277284.editor-styles-wrapper .wp-block-verse {
    p.has-drop-cap:not(:focus)::first-letter { 
    365372        border-bottom: none;
    366373}
    367374
     375.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color){
     376        color: #ed6a31;
     377}
     378
    368379/* Separator */
    369380
    370381.editor-block-list__block hr.wp-block-separator {
    p.has-drop-cap:not(:focus)::first-letter { 
    546557
    547558:root .editor-styles-wrapper .has-off-white-background-color {
    548559        background-color: #f7f5e7;
    549 }
     560}
     561 No newline at end of file
  • src/wp-content/themes/twentythirteen/style.css

    diff --git a/src/wp-content/themes/twentythirteen/style.css b/src/wp-content/themes/twentythirteen/style.css
    index ff75ebeed6..c3c384d166 100644
    a b footer.entry-meta { 
    27142714        margin-right: 0;
    27152715}
    27162716
    2717 .site-footer .widget a {
     2717.site-footer .widget a:not(.wp-block-file__button):not(.wp-block-button__link) {
    27182718        color: #e6402a;
    27192719}
    27202720