Widget interface updates from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,38 +1,44 @@
|
||||
.dropzone,
|
||||
#palettediv,
|
||||
.handle,
|
||||
.controlform {
|
||||
direction: rtl;
|
||||
text-align: justify;
|
||||
}
|
||||
.dropzone {
|
||||
div.widget-liquid-left-holder {
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
margin-right: auto;
|
||||
width: 240px;
|
||||
}
|
||||
* html .dropzone ul {
|
||||
clear: right;
|
||||
margin-left: -310px;
|
||||
margin-right: 0;
|
||||
}
|
||||
* .handle, #lastmodule span {
|
||||
border-left: 1px solid #e8e8e8;
|
||||
border-right: 1px solid #f2f2f2;
|
||||
}
|
||||
* .popper {
|
||||
}
|
||||
|
||||
div.widget-liquid-left {
|
||||
margin-right: 0;
|
||||
margin-left: 310px;
|
||||
}
|
||||
|
||||
div.widget-liquid-right {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
p#widget-search {
|
||||
left: 0;
|
||||
right: auto;
|
||||
left: 3px;
|
||||
}
|
||||
#palettediv .module, #lastmodule {
|
||||
margin-right: auto;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
ul#widget-list li.widget-list-item h4.widget-title {
|
||||
float: right;
|
||||
}
|
||||
#palettediv ul {
|
||||
padding: 0 10px 0 0;
|
||||
}
|
||||
|
||||
ul#widget-list li.widget-list-item div.widget-description {
|
||||
margin: 0 200px 0 0;
|
||||
padding: 0 4em 0 0;
|
||||
}
|
||||
|
||||
h4.widget-title a {
|
||||
left: 1em;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
li.widget-list-control-item div.widget-control {
|
||||
padding: 0 0 0 10px;
|
||||
}
|
||||
|
||||
ul.widget-control-list div.widget-control-actions {
|
||||
margin-left: -10px;
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.placemat {
|
||||
margin-right: 0;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,236 +1,155 @@
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#sbadmin #zones {
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#sbreset {
|
||||
/* 2 column liquid layout */
|
||||
div.widget-liquid-left-holder {
|
||||
float: left;
|
||||
margin: 1px 0;
|
||||
}
|
||||
|
||||
.dropzone {
|
||||
border: 1px solid #bbb;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
padding: 5px;
|
||||
background-color: #f0f8ff;
|
||||
}
|
||||
|
||||
.dropzone h3 {
|
||||
text-align: center;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.dropzone input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dropzone ul {
|
||||
float: left;
|
||||
list-style-type: none;
|
||||
width: 240px;
|
||||
margin: 0;
|
||||
min-height: 200px;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
* .module {
|
||||
width: 238px;
|
||||
padding: 0;
|
||||
margin: 5px 0;
|
||||
cursor: move;
|
||||
display: block;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #fbfbfb;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
* .handle {
|
||||
display: block;
|
||||
width: 216px;
|
||||
padding: 0 10px;
|
||||
position: relative;
|
||||
border-top: 1px solid #f2f2f2;
|
||||
border-right: 1px solid #e8e8e8;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
border-left: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
* .popper {
|
||||
margin: 0;
|
||||
display: inline;
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 3px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
height: 16px;
|
||||
font-size: 18px;
|
||||
line-height: 14px;
|
||||
cursor: pointer;
|
||||
padding: 0 3px 1px;
|
||||
border-top: 4px solid #6da6d1;
|
||||
background: url( ../images/fade-butt.png ) -5px 0px;
|
||||
}
|
||||
|
||||
* html .popper {
|
||||
padding: 1px 6px 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#sbadmin p.submit {
|
||||
padding-right: 10px;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
margin-right: -310px;
|
||||
}
|
||||
|
||||
.placemat {
|
||||
cursor: default;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
div.widget-liquid-left {
|
||||
margin-right: 310px;
|
||||
}
|
||||
|
||||
div.widget-liquid-right {
|
||||
float: right;
|
||||
clear: right;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
/* pasitioning etc. */
|
||||
form#widgets-filter {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.placemat h4 {
|
||||
text-align: center;
|
||||
div#available-widgets-filter {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.placemat span {
|
||||
background-color: #ffe;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0 10px 10px;
|
||||
p#widget-search {
|
||||
position: absolute;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
#palettediv {
|
||||
border: 1px solid #bbb;
|
||||
background-color: #f0f8ff;
|
||||
height:auto;
|
||||
margin-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
#palettediv:after, #zones:after, .dropzone:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#palettediv, #zones, .dropzone {
|
||||
display: block;
|
||||
min-height: 1px;
|
||||
}
|
||||
|
||||
* html #palettediv, * html #zones, * html .dropzone {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
#palettediv h3 {
|
||||
text-align: center;
|
||||
color: #333;
|
||||
min-height: 1px;
|
||||
}
|
||||
|
||||
#palettediv ul {
|
||||
padding: 0 0 0 10px;
|
||||
}
|
||||
|
||||
#palettediv .module {
|
||||
margin-right: 10px;
|
||||
float: left;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
#palettediv .handle {
|
||||
height: 40px;
|
||||
font-size: 90%;
|
||||
width: 110px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#palettediv .popper {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
* html #palettediv ul {
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
padding: 0 0 0 10px;
|
||||
}
|
||||
|
||||
#controls {
|
||||
height: 0px;
|
||||
}
|
||||
div#widget-content {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.control {
|
||||
position: absolute;
|
||||
display: block;
|
||||
background: #f9fcfe;
|
||||
ul#widget-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.controlhandle {
|
||||
cursor: move;
|
||||
background-color: #6da6d1;
|
||||
border-bottom: 2px solid #448abd;
|
||||
color: #333;
|
||||
display: block;
|
||||
margin: 0 0 5px;
|
||||
padding: 4px;
|
||||
font-size: 120%;
|
||||
ul#widget-list li.widget-list-item {
|
||||
padding: .7em 1em;
|
||||
margin: 0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
background-color: transparent;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.controlcloser {
|
||||
cursor: pointer;
|
||||
font-size: 120%;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 8px;
|
||||
padding: 0 3px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.controlform {
|
||||
margin: 20px 30px;
|
||||
}
|
||||
|
||||
.controlform p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.control .checkbox {
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#shadow {
|
||||
background: black;
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#dragHelper {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#dragHelper li.module {
|
||||
display: block;
|
||||
ul#widget-list li.widget-list-item h4.widget-title {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: .5em 1em;
|
||||
width: 200px;
|
||||
float: left;
|
||||
background-color: #f0f0f0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#dragHelper h4.widget-title {
|
||||
color: #fff;
|
||||
background-color: #2683ae;
|
||||
padding: .5em 1em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
ul#widget-list li.widget-list-item div.widget-description {
|
||||
display: block;
|
||||
margin: 0 0 0 200px;
|
||||
padding: 0 0 0 4em;
|
||||
}
|
||||
|
||||
|
||||
ul#widget-list li.widget-list-item ul.widget-control-info {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div#sidebar-info {
|
||||
padding: 0 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
ul.widget-control-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
li.widget-list-control-item {
|
||||
background-color: #eaf3fa;
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
li.widget-list-control-item h4, #dragHelper li.widget-list-control-item h4 {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
background-color: #2683ae;
|
||||
padding: .5em 1em;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
div.widget-control a.widget-action, div.widget-control a.widget-action:hover {
|
||||
padding: .5em 1em;
|
||||
}
|
||||
|
||||
h4.widget-title a {
|
||||
position: absolute;
|
||||
right: 1em;
|
||||
text-decoration: underline;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
li.widget-list-control-item h4.widget-title a, li.widget-list-control-item h4.widget-title a:visited {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
li.widget-list-control-item h4.widget-title a:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
li.widget-list-control-item div.widget-control {
|
||||
display: none;
|
||||
margin: 1em;
|
||||
padding: 0 10px 0 0; /* Correction for padding, margin, border of inputs */
|
||||
}
|
||||
|
||||
li.widget-list-control-item div.widget-control p {
|
||||
margin: 0 0 1em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.widget-control-list div.widget-control-actions {
|
||||
margin-right: -10px; /* Correction for padding, margin, border of inputs */
|
||||
padding: 0 0 1em;
|
||||
}
|
||||
|
||||
ul.widget-control-list .sorthelper {
|
||||
background-color: #ccf3fa;
|
||||
|
||||
}
|
||||
|
||||
div#current-widgets {
|
||||
padding-top: 1em;
|
||||
border-top: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
#current-widgets .drop-widget-here {
|
||||
background-color: #ffc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user