WordPress.org

Make WordPress Core

Changeset 35791


Ignore:
Timestamp:
12/06/2015 09:06:33 PM (3 years ago)
Author:
michaelarestad
Message:

Administration: Improve color contrast of 'Add New' buttons.

This also includes improved focus styles for 'Add New'.

fixes #34876, #34864.

File:
1 edited

Legend:

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

    r35763 r35791  
    594594    text-decoration: none;
    595595    border: none;
     596    border: 1px solid #ccc;
    596597    -webkit-border-radius: 2px;
    597598    border-radius: 2px;
    598     background: #e0e0e0;
     599    background: #f7f7f7;
    599600    text-shadow: none;
    600601    font-weight: 600;
     
    604605.wrap .add-new-h2:hover, /* deprecated */
    605606.wrap .page-title-action:hover {
     607    border-color: #008EC2;
    606608    background: #00a0d2;
    607609    color: #fff;
     610}
     611
     612.wrap .page-title-action:focus {
     613    border-color: #5b9dd9;
     614    -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
     615    box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
    608616}
    609617
Note: See TracChangeset for help on using the changeset viewer.