mirror of
https://github.com/Pathduck/gallery3.git
synced 2024-10-29 21:07:18 -04:00
Enable microthumbnail selection
This commit is contained in:
parent
ebb44b05a2
commit
39d0098038
@ -95,11 +95,6 @@
|
|||||||
padding: .5em;
|
padding: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gMicroThumbContainer {
|
|
||||||
// padding: 0 .5em;
|
|
||||||
// opacity: .4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gMicroThumb {
|
.gMicroThumb {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
@ -107,10 +102,16 @@
|
|||||||
height: 9em;
|
height: 9em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
|
opacity: .5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 9em;
|
width: 9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gMicroThumb.ui-selected {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.gThumbnail {
|
.gThumbnail {
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
init: function(data) {
|
init: function(data) {
|
||||||
// Deal with ui.jquery bug: http://dev.jqueryui.com/ticket/4475 (target 1.8?)
|
// Deal with ui.jquery bug: http://dev.jqueryui.com/ticket/4475 (target 1.8?)
|
||||||
$(".sf-menu li.sfHover ul").css("z-index", 70);
|
$(".sf-menu li.sfHover ul").css("z-index", 68);
|
||||||
|
$("#gDialog").dialog("option", "zIndex", 70);
|
||||||
$("#gDialog").bind("dialogopen", function(event, ui) {
|
$("#gDialog").bind("dialogopen", function(event, ui) {
|
||||||
$("#gOrganize").height($("#gDialog").innerHeight() - 20);
|
$("#gOrganize").height($("#gDialog").innerHeight() - 20);
|
||||||
$("#gMicroThumbPanel").height($("#gDialog").innerHeight() - 90);
|
$("#gMicroThumbPanel").height($("#gDialog").innerHeight() - 90);
|
||||||
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
$(".gBranchText span").click($.organize.collapse_or_expand_tree);
|
$(".gBranchText span").click($.organize.collapse_or_expand_tree);
|
||||||
$(".gBranchText").click($.organize.show_album);
|
$(".gBranchText").click($.organize.show_album);
|
||||||
|
|
||||||
|
$("#gMicroThumbGrid").selectable({filter: ".gMicroThumb"});
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user