WordPress.org

Make WordPress Core

Changeset 27741


Ignore:
Timestamp:
03/26/2014 04:05:34 PM (7 years ago)
Author:
helen
Message:

Better focus styles for form elements in the admin. These are purposefully not keyed to admin color schemes, as different colors could communicate a state like an error as opposed to focus. props celloexpressions. fixes #27173.

File:
1 edited

Legend:

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

    r27289 r27741  
    3636    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    3737    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
     38    -webkit-transition: .05s border-color ease-in-out;
     39    transition: .05s border-color ease-in-out;
    3840}
    3941
     
    215217    background-color: #fff;
    216218    color: #333;
     219    -webkit-transition: .05s border-color ease-in-out;
     220    transition: .05s border-color ease-in-out;
    217221}
    218222
    219223select[disabled] {
    220224    color: #7f7f7f;
    221 }
    222 
    223 select:focus {
    224     border-color: #aaa;
    225225}
    226226
     
    236236input[type="radio"]:focus,
    237237select:focus {
    238     border-color: #999;
    239     -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    240     box-shadow: 0 1px 2px rgba(0,0,0,0.1);
     238    border-color: #5b9dd9;
     239    -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
     240    box-shadow: 0 0 2px rgba(30,140,190,0.8);
    241241}
    242242
Note: See TracChangeset for help on using the changeset viewer.