WordPress.org

Make WordPress Core

Ticket #48709: 48709.5.diff

File 48709.5.diff, 1.5 KB (added by youknowriad, 13 months ago)

Remove disabled state from the admin scheme specific styles.

  • 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..9744a20a0e 100644
    a b  
    3434                border-color: darken( $button-color, 15% );
    3535                box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% );
    3636        }
    37 
    38         &[disabled],
    39         &:disabled,
    40         &.button-primary-disabled,
    41         &.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;
    45                 text-shadow: none !important;
    46         }
    4737}
  • 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;