Make WordPress Core

Ticket #48709: 48709.4.diff

File 48709.4.diff, 1.4 KB (added by audrasjb, 3 years ago)

Include default styles for both primary and secondary buttons to the changes

  • src/wp-admin/css/colors/_mixins.scss

    diff --git a/src/wp-admin/css/colors/_mixins.scss b/src/wp-admin/css/colors/_mixins.scss
    index 4d0c079d1f..5781095331 100644
    a b  
    3939        &:disabled,
    4040        &.button-primary-disabled,
    4141        &.disabled {
    42                 color: hsl( hue( $button-color ), 10%, 80% ) !important;
    43                 background: darken( $button-color, 8% ) !important;
    44                 border-color: darken( $button-color, 8% ) !important;
     42                color: #a0a5aa !important;
     43                background: #f7f7f7 !important;
     44                border-color: #ddd !important;
    4545                text-shadow: none !important;
    4646        }
    4747}
  • src/wp-includes/css/buttons.css

    diff --git a/src/wp-includes/css/buttons.css b/src/wp-includes/css/buttons.css
    index f955c9f9f5..b505af2053 100644
    a b TABLE OF CONTENTS: 
    181181        border-color: #ddd !important;
    182182        background: #f7f7f7 !important;
    183183        box-shadow: none !important;
    184         text-shadow: 0 1px 0 #fff !important;
    185184        cursor: default;
    186185        transform: none !important;
    187186}
    TABLE OF CONTENTS: 
    276275.wp-core-ui .button-primary:disabled,
    277276.wp-core-ui .button-primary-disabled,
    278277.wp-core-ui .button-primary.disabled {
    279         color: #66c6e4 !important;
    280         background: #008ec2 !important;
    281         border-color: #008ec2 !important;
     278        color: #a0a5aa !important;
     279        background: #f7f7f7 !important;
     280        border-color: #ddd !important;
    282281        box-shadow: none !important;
    283282        text-shadow: none !important;
    284283        cursor: default;