From 9325198c42ed5c398feb2e5a4448cf51d45b5c6a Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Sat, 25 Apr 2009 08:15:27 +0000 Subject: [PATCH] hopefully a fix for http://forum.yacy-websuche.de/viewtopic.php?f=15&t=1762#p14305 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5871 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/ui/css/yacyui-portalsearch.css | 19 +++++++++++-------- htroot/yacy/ui/js/yacyui-portalsearch.js | 7 +++---- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/htroot/yacy/ui/css/yacyui-portalsearch.css b/htroot/yacy/ui/css/yacyui-portalsearch.css index 1c10a2ad3..14bd965ae 100644 --- a/htroot/yacy/ui/css/yacyui-portalsearch.css +++ b/htroot/yacy/ui/css/yacyui-portalsearch.css @@ -4,28 +4,31 @@ .ui-dialog .ui-dialog-buttonpane button { font-size: 14px; } +#ypopup * { + margin: 0; + padding: 0; +} #ypopup .url { padding-top: 1px; font-size: 0.9em; line-height: 1.2em; - margin-bottom:0.6em; + padding-left: 18px; } #ypopup .date { font-size: 0.9em; line-height: 1.2em; - margin-top:-0.6em; + margin-bottom: 0.8em; + padding-left: 18px; } #ypopup .url a { color:#20A020; text-decoration:none; - margin-top: 10px; } #ypopup h3.linktitle { - margin-top: 2px; - margin-bottom: -0.5em; font-size: 1.0em; line-height: 1.2em; color:#239AFF; + padding-left: 18px; } #ypopup h3.linktitle a { text-decoration:none; @@ -36,20 +39,20 @@ font-size: 0.9em; color: #808080; line-height: 1.2em; - margin-bottom:-1em; + padding-left: 18px; } #ypopup .favicon { width: 16px; height: 16px; vertical-align: middle; - margin-left: -20px; + margin-left: -18px; } .classic { font-size: 12px; text-align: left; } .classic .linktitle, .classic .url, .classic .date, .classic .desc { - margin-left: 20px; + margin-left: 40px; } div .ybpane { float: left; diff --git a/htroot/yacy/ui/js/yacyui-portalsearch.js b/htroot/yacy/ui/js/yacyui-portalsearch.js index 2c214b992..65bf363c5 100644 --- a/htroot/yacy/ui/js/yacyui-portalsearch.js +++ b/htroot/yacy/ui/js/yacyui-portalsearch.js @@ -3,16 +3,15 @@ $(document).ready(function() { $.ajaxSetup({ timeout: 10000, cache: true - }) - + }) // apply default properties startRecord = 0; - maximumRecords = 10; + maximumRecords = 10; yconf = $.extend({ url : 'is a mandatory property - no default', theme : 'start', title : 'YaCy P2P Web Search', - logo : '/yacy/ui/img/yacy-logo.png', + logo : yconf.url + '/yacy/ui/img/yacy-logo.png', link : 'http://www.yacy.net', width : 420, height : 500,