Make WordPress Core

Changeset 26413


Ignore:
Timestamp:
11/26/2013 06:19:17 PM (10 years ago)
Author:
iammattthomas
Message:

Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.

File:
1 edited

Legend:

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

    r26412 r26413  
    1025810258    margin-bottom: 9px;
    1025910259    position: relative;
    10260     min-height: 50px;
     10260    min-height: 45px;
     10261}
     10262
     10263div#widgets-right .widgets-sortables:after {
     10264    display: block;
     10265    content: '';
     10266    position: absolute;
     10267        bottom: -10px;
     10268        left: 8px;
     10269        right: 8px;
     10270    z-index: 1; /* Required so that widgets hide the default dropzone indicator (.widgets-sortables:after) */
     10271    border: 1px dashed #bbb;
     10272    margin: 10px 0;
     10273    height: 45px;
     10274    -webkit-box-sizing: border-box;
     10275    -moz-box-sizing: border-box;
     10276    box-sizing: border-box;
     10277}
     10278
     10279div#widgets-right .widgets-sortables .widget {
     10280    z-index: 2; /* Required so that widgets hide the default dropzone indicator (.widgets-sortables:after) */
    1026110281}
    1026210282
Note: See TracChangeset for help on using the changeset viewer.