Make WordPress Core

Ticket #56290: 56290.diff

File 56290.diff, 4.0 KB (added by sabernhardt, 4 months ago)
  • src/wp-content/themes/twentytwelve/css/blocks.css

     
    257257        padding: 0.428571429rem 0.714285714rem;
    258258}
    259259
    260 .entry-content .wp-block-button__link,
    261 .entry-content .wp-block-button__link:visited {
     260:root .wp-block-button__link,
     261:root .wp-block-button__link:visited {
    262262        background-color: #e6e6e6;
    263263        color: #7c7c7c;
    264264}
     
    268268        color: currentColor;
    269269}
    270270
    271 .wp-block-button.is-style-outline .wp-block-button__link,
    272 .wp-block-button.is-style-outline .wp-block-button__link:visited {
     271.wp-block-button.is-style-outline :where(.wp-block-button__link, .wp-block-button__link:visited) {
    273272        background-color: inherit;
    274273        border-color: inherit;
    275274}
    276275
    277 .entry-content .wp-block-button__link:hover,
    278 .entry-content .wp-block-button__link:visited:hover,
    279 .entry-content .wp-block-button__link:focus {
     276.wp-block-button__link:not(.has-background):hover,
     277.wp-block-button__link:not(.has-background):visited:hover,
     278.wp-block-button__link:not(.has-background):focus {
    280279        background-color: #ebebeb;
    281280        color: #5e5e5e;
    282281}
    283282
    284 .entry-content .wp-block-button__link:active {
     283.wp-block-button__link:not(.has-background):active {
    285284        background-color: #e1e1e1;
    286285        color: #757575;
    287286}
     
    4054046.0 Blocks - Colors
    406405--------------------------------------------------------------*/
    407406
    408 .entry-content .has-blue-color,
    409 .entry-content .has-blue-color:visited {
     407:root .has-blue-color,
     408:root .has-blue-color:visited {
    410409        color: #21759b;
    411410}
    412411
    413 .entry-content .has-blue-background-color,
    414 .entry-content .has-blue-background-color:visited {
     412:root .has-blue-background-color,
     413:root .has-blue-background-color:visited {
    415414        background-color: #21759b;
    416415}
    417416
    418 .entry-content .has-dark-gray-color,
    419 .entry-content .has-dark-gray-color:visited {
     417:root .has-dark-gray-color,
     418:root .has-dark-gray-color:visited {
    420419        color: #373737;
    421420}
    422421
    423 .entry-content .has-dark-gray-background-color,
    424 .entry-content .has-dark-gray-background-color:visited {
     422:root .has-dark-gray-background-color,
     423:root .has-dark-gray-background-color:visited {
    425424        background-color: #373737;
    426425}
    427426
    428 .entry-content .has-medium-gray-color,
    429 .entry-content .has-medium-gray-color:visited {
     427:root .has-medium-gray-color,
     428:root .has-medium-gray-color:visited {
    430429        color: #9f9f9f;
    431430}
    432431
    433 .entry-content .has-medium-gray-background-color,
    434 .entry-content .has-medium-gray-background-color:visited {
     432:root .has-medium-gray-background-color,
     433:root .has-medium-gray-background-color:visited {
    435434        background-color: #9f9f9f;
    436435}
    437436
    438 .entry-content .has-light-gray-color,
    439 .entry-content .has-light-gray-color:visited {
     437:root .has-light-gray-color,
     438:root .has-light-gray-color:visited {
    440439        color: #e6e6e6;
    441440}
    442441
    443 .entry-content .has-light-gray-background-color,
    444 .entry-content .has-light-gray-background-color:visited {
     442:root .has-light-gray-background-color,
     443:root .has-light-gray-background-color:visited {
    445444        background-color: #e6e6e6;
    446445}
    447446
    448 .entry-content .has-white-color,
    449 .entry-content .has-white-color:visited {
     447:root .has-white-color,
     448:root .has-white-color:visited {
    450449        color: #fff;
    451450}
    452451
    453 .entry-content .has-white-background-color,
    454 .entry-content .has-white-background-color:visited {
     452:root .has-white-background-color,
     453:root .has-white-background-color:visited {
    455454        background-color: #fff;
    456455}
  • src/wp-content/themes/twentytwelve/style.css

     
    662662        margin-left: 36px;
    663663        margin-left: 2.571428571rem;
    664664}
    665 .widget-area .widget a {
     665.widget-area a:not(.wp-block-button__link) {
    666666        color: #757575;
    667667}
    668 .widget-area .widget a:hover {
     668.widget-area a:not(.wp-block-button__link):hover {
    669669        color: #21759b;
    670670}
    671 .widget-area .widget a:visited {
     671.widget-area a:not(.wp-block-button__link):visited {
    672672        color: #9f9f9f;
    673673}
    674674.widget-area #s {