WordPress.org

Make WordPress Core

Changeset 26281


Ignore:
Timestamp:
11/20/2013 02:40:54 AM (7 years ago)
Author:
azaozz
Message:

Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821

File:
1 edited

Legend:

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

    r26277 r26281  
    1004410044    min-width: 280px !important;
    1004510045}
     10046
    1004610047.widget.ui-sortable-helper {
    1004710048    border: 1px solid #DEDEDE;
     
    1005110052    z-index: 2000;
    1005210053}
     10054
    1005310055.widget-placeholder {
    1005410056    border: 1px solid #dedede;
    10055     border-bottom: none;
    10056     margin: 0 auto;
    10057     height: 43px;
     10057    margin: auto auto -1px;
     10058    height: 50px;
    1005810059    width: 100%;
    1005910060    background: #eee;
     
    1006310064    box-sizing: border-box;
    1006410065}
    10065 
    1006610066
    1006710067/* Widget Sidebars */
     
    1026210262div#widgets-left .inactive-sidebar .widget-placeholder {
    1026310263    border: 1px solid #ccc;
    10264     margin: 0 auto 10px auto;
    10265     height: 43px;
     10264    margin: 10px 0 0;
     10265    height: 50px;
    1026610266    width: 100%;
    1026710267    border-radius: 3px;
    10268     background: #aaa;
     10268    background: #e7e7e7;
    1026910269    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    1027010270    -webkit-box-sizing: border-box;
     
    1033410334div#widgets-right .widgets-sortables {
    1033510335    padding: 0 8px;
    10336     margin-bottom: 8px;
     10336    margin-bottom: 9px;
    1033710337    position: relative;
     10338    min-height: 50px;
    1033810339}
    1033910340
     
    1034510346    left: 8px;
    1034610347    right: 8px;
    10347     bottom: 1px;
    10348     height: 40px;
     10348    bottom: 0;
     10349    height: 47px;
    1034910350    border: 1px dashed #dedede;
    10350     border-radius: 3px;
    1035110351    line-height: 40px;
    1035210352    font-weight: 600;
Note: See TracChangeset for help on using the changeset viewer.