Make WordPress Core

Ticket #47543: 47543.diff

File 47543.diff, 2.0 KB (added by ryokuhi, 6 years ago)

Fixes button:hover and botton:focus color

  • src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css

    diff --git a/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css b/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css
    index 449f0623a2..f7b977dca0 100644
    a b body.colors-dark, 
    289289        color: #bbb;
    290290}
    291291
    292 .colors-dark button:hover:not( .mejs-container > button ),
    293 .colors-dark button:focus,
     292.colors-dark :not( .mejs-button ) > button:hover,
     293.colors-dark :not( .mejs-button ) > button:focus,
    294294.colors-dark input[type="button"]:hover,
    295295.colors-dark input[type="button"]:focus,
    296296.colors-dark input[type="submit"]:hover,
  • src/wp-content/themes/twentyseventeen/inc/color-patterns.php

    diff --git a/src/wp-content/themes/twentyseventeen/inc/color-patterns.php b/src/wp-content/themes/twentyseventeen/inc/color-patterns.php
    index cfd243f67a..38e4257ef2 100644
    a b body.colors-custom, 
    307307        color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */
    308308}
    309309
    310 .colors-custom button:hover:not( .mejs-container > button ),
    311 .colors-custom button:focus,
     310.colors-custom :not( .mejs-button ) > button:hover,
     311.colors-custom :not( .mejs-button ) > button:focus,
    312312.colors-custom input[type="button"]:hover,
    313313.colors-custom input[type="button"]:focus,
    314314.colors-custom input[type="submit"]:hover,
  • src/wp-content/themes/twentyseventeen/style.css

    diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css
    index 7ca4f6c950..c41165947f 100644
    a b input[type="submit"].secondary { 
    10341034        color: #222;
    10351035}
    10361036
    1037 button:hover:not( .mejs-container > button ),
    1038 button:focus,
     1037:not( .mejs-button ) > button:hover,
     1038:not( .mejs-button ) > button:focus,
    10391039input[type="button"]:hover,
    10401040input[type="button"]:focus,
    10411041input[type="submit"]:hover,