Inject the drag and drop handle style via jQuery. Restore background color bars behind admin block titles.

This commit is contained in:
Chad Kieffer
2009-01-03 01:26:22 +00:00
parent a57ede2f96
commit 62fe5f0bd6
3 changed files with 7 additions and 11 deletions
+3 -3
View File
@@ -22,7 +22,7 @@
}
.gBlockContent {
padding-top: 1em;
padding: 0 1em 1em 1em;
}
/** *******************************************************************
@@ -38,7 +38,7 @@
#gContent {
font-size: 1.1em;
width: 97%;
width: 96%;
}
/** *******************************************************************
@@ -64,7 +64,7 @@
}
#gContent .gBlock h2 {
cursor: move;
background-color: #e8e8e8;
margin: -.8em -.3em 0 -.3em;
}
+2 -7
View File
@@ -13,12 +13,7 @@ $(document).ready(function(){
pathClass: 'current',
speed: 'fast'
});
$(".gBlock h2").addClass("gDraggable");
/**
* Attach event listeners to open modal dialogs
*/
var dialogLinks = $(".gDialogLink");
for (var i=0; i < dialogLinks.length; i++) {
$(dialogLinks[i]).bind("click", {element: dialogLinks[i]}, handleDialogEvent);
};
});
+2 -1
View File
@@ -756,9 +756,10 @@ li.gError select {
.gDraggable {
background-image: url('../images/ico-move-handle.png');
background-position: left .1em;
background-repeat: no-repeat;
cursor: move;
padding: .3em 1.4em;
padding: .3em 1.4em !important;
}
/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~~~~ */