summaryrefslogtreecommitdiff
path: root/htroot/jquery
diff options
context:
space:
mode:
authorapfelmaennchen <apfelmaennchen@6c8d7289-2bf4-0310-a012-ef5d649a1542>2011-11-08 11:13:29 +0000
committerapfelmaennchen <apfelmaennchen@6c8d7289-2bf4-0310-a012-ef5d649a1542>2011-11-08 11:13:29 +0000
commit62e674af507f8084c9e102a3aa5ac738a63a1c8f (patch)
tree1225d774432ad5b32ca10476f6512d96514c1b26 /htroot/jquery
parent4d7ae76017d6faf8f2f467bd5b2658b4786c5055 (diff)
fix for http://bugs.yacy.net/view.php?id=69
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8015 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/jquery')
-rw-r--r--htroot/jquery/css/yacy-portalsearch.css12
-rw-r--r--htroot/jquery/css/yacy-ymarks.css12
-rw-r--r--htroot/jquery/js/yacy-portalsearch.js26
3 files changed, 25 insertions, 25 deletions
diff --git a/htroot/jquery/css/yacy-portalsearch.css b/htroot/jquery/css/yacy-portalsearch.css
index 782085bcd..e9e462d68 100644
--- a/htroot/jquery/css/yacy-portalsearch.css
+++ b/htroot/jquery/css/yacy-portalsearch.css
@@ -4,6 +4,12 @@
.ui-dialog .ui-dialog-buttonpane button {
font-size: 14px;
}
+.ui-autocomplete {
+ max-height: 350px;
+ overflow-y: auto;
+ overflow-x: hidden;
+ font-size: 1.0em;
+}
.ynav .ui-autocomplete-input {
font-size: 14px;
padding: 2px;
@@ -27,12 +33,6 @@
text-align: left;
font-size: 10px;
}
-.ui-autocomplete {
- max-height: 350px;
- overflow-y: auto;
- overflow-x: hidden;
- font-size: 1.0em;
-}
#yacylivesearch form * {
display: inline;
diff --git a/htroot/jquery/css/yacy-ymarks.css b/htroot/jquery/css/yacy-ymarks.css
index 33e01b26e..81c02396f 100644
--- a/htroot/jquery/css/yacy-ymarks.css
+++ b/htroot/jquery/css/yacy-ymarks.css
@@ -23,33 +23,33 @@
}
/* YaCy Bookmarks ---------------------------*/
-#ymarks_body .url {
+#ymarks_flexigrid .url {
padding-top: 1px;
font-size: 0.9em;
line-height: 1.2em;
margin-bottom:0.6em;
}
-#ymarks_body h3.linktitle {
+#ymarks_flexigrid h3.linktitle {
margin-top:2px;
margin-bottom: -0.5em;
font-size: 1.0em;
line-height: 1.2em;
color:#239AFF;
}
-#ymarks_body h3.linktitle a {
+#ymarks_flexigrid h3.linktitle a {
color:#239AFF;
text-decoration:none;
}
-#ymarks_body p.url a {
+#ymarks_flexigrid p.url a {
color:#20A020;
text-decoration:none;
}
-#ymarks_body .tag {
+#ymarks_flexigrid .tag {
font-size: 1.1em;
line-height: 1.3em;
color:#20A020;
}
-#ymarks_body .desc {
+#ymarks_flexigrid .desc {
font-style:italic;
font-size: 0.9em;
color: #808080;
diff --git a/htroot/jquery/js/yacy-portalsearch.js b/htroot/jquery/js/yacy-portalsearch.js
index df72045f5..d3d0a5021 100644
--- a/htroot/jquery/js/yacy-portalsearch.js
+++ b/htroot/jquery/js/yacy-portalsearch.js
@@ -120,19 +120,19 @@ function yrun() {
$("#yquery").setValue('');
},
drag: function(event, ui) {
- var position = $(".ui-dialog").position();
- var left = $(".ui-dialog").width()+5+position.left;
+ var position = $("#ypopup").parent(".ui-dialog").position();
+ var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left;
$("#yside").dialog('option', 'position', [left,position.top+32]);
},
dragStop: function(event, ui) {
- var position = $(".ui-dialog").position();
- var left = $(".ui-dialog").width()+5+position.left;
+ var position = $("#ypopup").parent(".ui-dialog").position();
+ var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left;
$("#yside").dialog('option', 'position', [left,position.top+32]);
},
resizeStop: function(event, ui) {
- var position = $(".ui-dialog").position();
- var height = $(".ui-dialog").height()-55;
- var left = $(".ui-dialog").width()+5+position.left;
+ var position = $("#ypopup").parent(".ui-dialog").position();
+ var height = $("#ypopup").parent(".ui-dialog").height()-55;
+ var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left;
$("#yside").dialog('option', 'height', height);
$("#yside").dialog('option', 'position', [left,position.top+32]);
},
@@ -141,22 +141,22 @@ function yrun() {
$('#yside').remove();
},
open: function(event, ui) {
- $('<div id="yside" style="padding:0px;"></div>').insertAfter(".ui-dialog-content");
- var position = $(".ui-dialog").position();
+ $('<div id="yside" style="padding:0px;"></div>').insertAfter("#ypopup").parent(".ui-dialog-content");
+ var position = $("#ypopup").parent(".ui-dialog").position();
$("#yside").dialog({
title: 'Navigation',
autoOpen: false,
draggable: false,
resizable: false,
width: 220,
- height: $(".ui-dialog").height()-55,
- minHeight: $(".ui-dialog").height()-55,
+ height: $("#ypopup").parent(".ui-dialog").height()-55,
+ minHeight: $("#ypopup").parent(".ui-dialog").height()-55,
show: 'slide',
hide: 'slide',
- position : [position.left+$(".ui-dialog").width()+5,position.top+32],
+ position : [position.left+$("#ypopup").parent(".ui-dialog").width()+5,position.top+32],
open: function(event, ui) {
$('div.ui-widget-shadow').remove();
- $('ypopup').dialog( 'moveToTop' );
+ $('#ypopup').dialog( 'moveToTop' );
}
});
$('.ui-widget-shadow').remove();