WordPress.org

Make WordPress Core

Changeset 33146


Ignore:
Timestamp:
07/09/2015 07:11:19 PM (4 years ago)
Author:
helen
Message:

List tables: Better focus styling for the row toggle.

This circular focus styling could probably be expanded to other areas of the admin.

props hugobaeta.
see #32395.

File:
1 edited

Legend:

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

    r33105 r33146  
    458458}
    459459
    460 .wp-list-table .toggle-row:focus {
     460.wp-list-table .toggle-row:focus:before {
    461461    -webkit-box-shadow:
    462462        0 0 0 1px #5b9dd9,
     
    467467}
    468468
    469 .ie8 .wp-list-table .toggle-row:focus {
     469.ie8 .wp-list-table .toggle-row:focus:before {
    470470    outline: #5b9dd9 solid 1px;
    471471}
     
    478478.wp-list-table .toggle-row:before {
    479479    position: absolute;
    480     top: 0;
     480    top: -5px;
    481481    left: 10px;
     482    border-radius: 50%;
    482483    display: block;
    483     padding: 0;
     484    padding: 1px 2px 1px 0;
    484485    color: #666;
    485486    content: '\f140';
    486487    font: normal 20px/1 'dashicons';
    487     line-height: 10px;
     488    line-height: 1;
    488489    -webkit-font-smoothing: antialiased;
    489490    -moz-osx-font-smoothing: grayscale;
Note: See TracChangeset for help on using the changeset viewer.