From 7f066b34c9d965814c0a07a8f71e016edeb383d2 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 22 Sep 2009 22:31:05 -0600 Subject: Apply thumbnail hover effect to context menu's list items, which holds the menu open in ie6 and ie7 now. Items which appear above the meta data list underneath flicker, though. I'll fix later. --- lib/gallery.common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/gallery.common.js b/lib/gallery.common.js index 81904548..6e3efe5a 100644 --- a/lib/gallery.common.js +++ b/lib/gallery.common.js @@ -116,7 +116,7 @@ var in_progress = 0; $(".gContextMenu *").removeAttr('title'); $(".gContextMenu ul").hide(); - $(".gContextMenu").hover( + $(".gContextMenu li").hover( function() { if (in_progress == 0) { $(this).find("ul").slideDown("fast", function() { in_progress = 1; }); @@ -125,7 +125,7 @@ } }, function() { - $(this).find("ul").slideUp("slow", function() { in_progress = 0; }); + $(this).find(".gContext").slideUp("slow", function() { in_progress = 0; }); } ); } -- cgit v1.2.3 From 16c97eb6ebd8c5514dff8ed9242d7eb0a4e7178a Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 22 Sep 2009 23:03:48 -0600 Subject: Convert tabs to spaces --- lib/gallery.common.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index f4d46a4e..eb686bcf 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -12,17 +12,16 @@ * 1) Text **********************************************************************/ - .g-txt-small { - font-size: .8em; + font-size: .8em; } .g-txt-big { - font-size: 1.2em; + font-size: 1.2em; } .g-txt-right { - text-align: right; + text-align: right; } /** ******************************************************************* @@ -99,7 +98,7 @@ form .g-error { .g-draggable, .ui-draggable { - cursor: move; + cursor: move; } .g-target { @@ -110,11 +109,11 @@ form .g-error { **********************************************************************/ .g-right { - float: right; + float: right; } .g-left { - float: left; + float: left; } .g-first { -- cgit v1.2.3