mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-19 13:25:36 -04:00
Inject the drag and drop handle style via jQuery. Restore background color bars behind admin block titles.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
});
|
||||
|
||||
@@ -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 ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
Reference in New Issue
Block a user