Make WordPress Core


Ignore:
Timestamp:
07/07/2020 04:19:38 AM (4 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.

File:
1 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}
Note: See TracChangeset for help on using the changeset viewer.