Make WordPress Core

Changeset 9268


Ignore:
Timestamp:
10/21/2008 10:06:41 PM (16 years ago)
Author:
markjaquith
Message:

Display a placeholder dropbox for Sortables

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/postbox.js

    r9262 r9268  
    3333            $.extend( this, args || {} );
    3434            jQuery('.meta-box-sortables').sortable( {
     35                placeholder: 'sortable-placeholder',
    3536                connectWith: [ '.meta-box-sortables' ],
    3637                items: '> .postbox',
  • trunk/wp-admin/wp-admin.css

    r9262 r9268  
    10771077.postbox {
    10781078    position: relative;
    1079     min-width: 195px;
     1079    min-width: 255px;
     1080    width: 99.5%;
    10801081}
    10811082
     
    18111812    padding: 6px 0;
    18121813    cursor: move;
     1814}
     1815
     1816.sortable-placeholder {
     1817    border: 1px #bbb dashed;
     1818    background: #f5f5f5;
     1819    z-index: -1;
    18131820}
    18141821
Note: See TracChangeset for help on using the changeset viewer.