Make WordPress Core

Ticket #32395: 32395.8.diff

File 32395.8.diff, 964 bytes (added by hugobaeta, 10 years ago)

minor tweaks to the focus styles. Needs more extensive testing I think, but the idea is there: https://cldup.com/pobrtoZzb0.png

  • list-tables.css

     
    457457        cursor: pointer;
    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,
    463463                0 0 2px 1px rgba(30, 140, 190, .8);
     
    466466                0 0 2px 1px rgba(30, 140, 190, .8);
    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}
    472472
     
    477477
    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;
    490491        speak: none;