WordPress.org

Make WordPress Core

Ticket #48709: 48709.2.diff

File 48709.2.diff, 617 bytes (added by larrach, 13 months ago)

Apply disabled css style proposed by audrasjb to all colors schemes

  • 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..45a3ef56b9 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: #aaa !important;
     43                background: #eee !important;
     44                border-color: #aaa !important;
    4545                text-shadow: none !important;
     46                cursor: not-allowed;
    4647        }
    4748}