Make WordPress Core

Changeset 28179


Ignore:
Timestamp:
04/21/2014 08:54:13 PM (10 years ago)
Author:
helen
Message:

Don't allow disabled input styling to get lost in the cascade. props ocean90. see #27906 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r27743 r28179  
    7676}
    7777
    78 input:disabled,
    79 input.disabled,
    80 textarea:disabled,
    81 textarea.disabled {
    82     -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
    83     box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
    84     border-color: rgba(222, 222, 222, .75);
    85     background: rgba(255, 255, 255, .5);
    86     color: rgba(51, 51, 51, .5);
    87 }
    88 
    89 input[type=checkbox]:disabled,
    90 input[type=radio]:disabled,
    91 input[type=checkbox]:disabled:checked:before,
    92 input[type=radio]:disabled:checked:before {
    93     opacity: 0.7;
    94 }
    95 
    9678input[type=checkbox]:checked:before,
    9779input[type=radio]:checked:before {
     
    269251}
    270252
     253input:disabled,
     254input.disabled,
     255textarea:disabled,
     256textarea.disabled {
     257    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
     258    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
     259    border-color: rgba(222, 222, 222, .75);
     260    background: rgba(255, 255, 255, .5);
     261    color: rgba(51, 51, 51, .5);
     262}
     263
     264input[type=checkbox]:disabled,
     265input[type=radio]:disabled,
     266input[type=checkbox]:disabled:checked:before,
     267input[type=radio]:disabled:checked:before {
     268    opacity: 0.7;
     269}
     270
    271271/*------------------------------------------------------------------------------
    272272  2.0 - Forms
Note: See TracChangeset for help on using the changeset viewer.