Make WordPress Core

Changeset 28202


Ignore:
Timestamp:
04/24/2014 10:04:37 PM (10 years ago)
Author:
nacin
Message:

Don't allow disabled input styling to get lost in the cascade.

Merges [28179] to the 3.9 branch.

props ocean90.
fixes #27906.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

  • branches/3.9/src/wp-admin/css/forms.css

    r27743 r28202  
    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.