Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821
Built from https://develop.svn.wordpress.org/trunk@26281 git-svn-id: http://core.svn.wordpress.org/trunk@26186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c6224a6c0c
commit
7cce4a8d8d
|
@ -10043,6 +10043,7 @@ input.newtag:focus ~ div.taghint {
|
|||
width: 280px !important;
|
||||
min-width: 280px !important;
|
||||
}
|
||||
|
||||
.widget.ui-sortable-helper {
|
||||
border: 1px solid #DEDEDE;
|
||||
border-radius: 3px;
|
||||
|
@ -10050,11 +10051,11 @@ input.newtag:focus ~ div.taghint {
|
|||
opacity: 0.8;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.widget-placeholder {
|
||||
border: 1px solid #dedede;
|
||||
border-bottom: none;
|
||||
margin: 0 auto;
|
||||
height: 43px;
|
||||
margin: auto auto -1px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
background: #eee;
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
|
||||
|
@ -10063,7 +10064,6 @@ input.newtag:focus ~ div.taghint {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
/* Widget Sidebars */
|
||||
.sidebar-name {
|
||||
border: none;
|
||||
|
@ -10261,11 +10261,11 @@ div#widgets-left .inactive-sidebar .widgets-sortables {
|
|||
|
||||
div#widgets-left .inactive-sidebar .widget-placeholder {
|
||||
border: 1px solid #ccc;
|
||||
margin: 0 auto 10px auto;
|
||||
height: 43px;
|
||||
margin: 10px 0 0;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
border-radius: 3px;
|
||||
background: #aaa;
|
||||
background: #e7e7e7;
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
|
@ -10333,8 +10333,9 @@ div#widgets-right .widget-inside {
|
|||
|
||||
div#widgets-right .widgets-sortables {
|
||||
padding: 0 8px;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 9px;
|
||||
position: relative;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
div#widgets-right .widgets-sortables:before {
|
||||
|
@ -10344,10 +10345,9 @@ div#widgets-right .widgets-sortables:before {
|
|||
position: absolute;
|
||||
right: 8px;
|
||||
left: 8px;
|
||||
bottom: 1px;
|
||||
height: 40px;
|
||||
bottom: 0;
|
||||
height: 47px;
|
||||
border: 1px dashed #dedede;
|
||||
border-radius: 3px;
|
||||
line-height: 40px;
|
||||
font-weight: 600;
|
||||
color: #aaa;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10043,6 +10043,7 @@ input.newtag:focus ~ div.taghint {
|
|||
width: 280px !important;
|
||||
min-width: 280px !important;
|
||||
}
|
||||
|
||||
.widget.ui-sortable-helper {
|
||||
border: 1px solid #DEDEDE;
|
||||
border-radius: 3px;
|
||||
|
@ -10050,11 +10051,11 @@ input.newtag:focus ~ div.taghint {
|
|||
opacity: 0.8;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.widget-placeholder {
|
||||
border: 1px solid #dedede;
|
||||
border-bottom: none;
|
||||
margin: 0 auto;
|
||||
height: 43px;
|
||||
margin: auto auto -1px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
background: #eee;
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
|
||||
|
@ -10063,7 +10064,6 @@ input.newtag:focus ~ div.taghint {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
/* Widget Sidebars */
|
||||
.sidebar-name {
|
||||
border: none;
|
||||
|
@ -10261,11 +10261,11 @@ div#widgets-left .inactive-sidebar .widgets-sortables {
|
|||
|
||||
div#widgets-left .inactive-sidebar .widget-placeholder {
|
||||
border: 1px solid #ccc;
|
||||
margin: 0 auto 10px auto;
|
||||
height: 43px;
|
||||
margin: 10px 0 0;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
border-radius: 3px;
|
||||
background: #aaa;
|
||||
background: #e7e7e7;
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
|
@ -10333,8 +10333,9 @@ div#widgets-right .widget-inside {
|
|||
|
||||
div#widgets-right .widgets-sortables {
|
||||
padding: 0 8px;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 9px;
|
||||
position: relative;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
div#widgets-right .widgets-sortables:before {
|
||||
|
@ -10344,10 +10345,9 @@ div#widgets-right .widgets-sortables:before {
|
|||
position: absolute;
|
||||
left: 8px;
|
||||
right: 8px;
|
||||
bottom: 1px;
|
||||
height: 40px;
|
||||
bottom: 0;
|
||||
height: 47px;
|
||||
border: 1px dashed #dedede;
|
||||
border-radius: 3px;
|
||||
line-height: 40px;
|
||||
font-weight: 600;
|
||||
color: #aaa;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue