WordPress.org

Make WordPress Core

Changeset 26331


Ignore:
Timestamp:
11/22/2013 07:55:33 PM (7 years ago)
Author:
iammattthomas
Message:

Make disabled checkboxes and radios slightly less transparent for better visibility on low-contrast screens. Move this rule from colors-fresh to wp-admin as it's not color-specific. Fixes #26004.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

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

    r26324 r26331  
    3636    -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    3737    box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    38 }
    39 
    40 input[type=checkbox]:disabled,
    41 input[type=radio]:disabled,
    42 input[type=checkbox]:disabled:checked:before,
    43 input[type=radio]:disabled:checked:before {
    44     opacity: 0.5;
    4538}
    4639
  • trunk/src/wp-admin/css/wp-admin.css

    r26330 r26331  
    294294}
    295295
     296input[type=checkbox]:disabled,
     297input[type=radio]:disabled,
     298input[type=checkbox]:disabled:checked:before,
     299input[type=radio]:disabled:checked:before {
     300    opacity: 0.7;
     301}
     302
    296303input[type=checkbox]:checked:before,
    297304input[type=radio]:checked:before {
Note: See TracChangeset for help on using the changeset viewer.