WordPress.org

Make WordPress Core

Changeset 37341


Ignore:
Timestamp:
05/01/2016 08:28:22 PM (4 years ago)
Author:
ocean90
Message:

Customize: Increase the target size of the expand/collapse button in the customizer.

To improve accessibility on touch devices increase the size of the button in the collapsed view from 24×28 to 44×45 pixel.

Props celloexpressions.
Fixes #36093.

File:
1 edited

Legend:

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

    r37247 r37341  
    13981398.wp-core-ui .wp-full-overlay .collapse-sidebar {
    13991399    position: fixed;
    1400     bottom: 8px;
    1401     left: 10px;
    1402     padding: 0;
     1400    bottom: 0;
     1401    left: 0;
     1402    padding: 9px 0 9px 10px;
     1403    height: 45px;
    14031404    color: #656a6f;
    14041405    outline: 0;
     
    14621463}
    14631464
     1465.wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar {
     1466    padding: 9px 10px;
     1467}
     1468
    14641469/* rtl:ignore */
    14651470.wp-full-overlay.collapsed .collapse-sidebar-arrow:before,
     
    15041509    height: 45px;
    15051510    border-top: 1px solid #ddd;
     1511    background: #eee;
    15061512}
    15071513
Note: See TracChangeset for help on using the changeset viewer.