Make WordPress Core

Changeset 26414


Ignore:
Timestamp:
11/26/2013 07:05:41 PM (11 years ago)
Author:
iammattthomas
Message:

Eliminate the transition animation on the responsive sidebar; set the responsive sidebar to display: none by default so it doesn't appear momentarily when loading the page. Fixes #25969.

File:
1 edited

Legend:

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

    r26413 r26414  
    1104211042        width: 100%;
    1104311043    }
    11044    
    11045     /* Experimental animations for sidebar */
    11046     .auto-fold #adminmenu,
    11047     .auto-fold #adminmenuback,
    11048     .auto-fold #adminmenuwrap {
    11049         -moz-transition: left .05s ease-in-out;
    11050         -webkit-transition: left .05s ease-in-out;
    11051         transition: left .05s ease-in-out;
    11052     }
    11053 
    1105411044
    1105511045    /* Resize the admin menu items to a comfortable touch size */
     
    1220612196/* Smartphone */
    1220712197@media screen and (max-width: 600px) {
     12198    #adminmenuwrap,
     12199    #adminmenuback {
     12200        display: none;
     12201    }
     12202   
     12203    .wp-responsive-open #adminmenuwrap,
     12204    .wp-responsive-open #adminmenuback {
     12205        display: block;
     12206    }
     12207   
    1220812208    html.wp-toolbar {
    1220912209        padding-top: 0;
Note: See TracChangeset for help on using the changeset viewer.