Make WordPress Core

Changeset 48360


Ignore:
Timestamp:
07/07/2020 04:19:38 AM (3 years ago)
Author:
whyisjake
Message:

Administration: Ensure that disabled buttons look disabled.

This change removes the disabled state from the admin scheme specific styles.

Fixes #48709.

Props drw158, SergeyBiryukov, afercia, kennethroberson5556, melchoyce, joedolson, valentinbora, audrasjb, larrach, nrqsnchz, youknowriad.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_mixins.scss

    r46817 r48360  
    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}
  • trunk/src/wp-includes/css/buttons.css

    r48232 r48360  
    182182    background: #f7f7f7 !important;
    183183    box-shadow: none !important;
    184     text-shadow: 0 1px 0 #fff !important;
    185184    cursor: default;
    186185    transform: none !important;
     
    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;
Note: See TracChangeset for help on using the changeset viewer.