- search result layout

- tray only for windows

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5222 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
lotus 2008-09-29 12:39:57 +00:00
parent 7f88dadf87
commit dda771db9d
2 changed files with 15 additions and 10 deletions

23
htroot/env/base.css vendored
View File

@ -249,6 +249,10 @@ div.ProgressBarFill {
height:100%; /*not valid value for Netscape 8*/ height:100%; /*not valid value for Netscape 8*/
} }
#results {
clear:both;
}
#resCounter { #resCounter {
/* left part of the progress bar */ /* left part of the progress bar */
position: absolute; position: absolute;
@ -257,7 +261,7 @@ div.ProgressBarFill {
#resProgBar { #resProgBar {
height: 1.5em; height: 1.5em;
margin: 1em auto; /* margin: 1em auto; */
position: relative; /* for "relative" absolute pos of children */ position: relative; /* for "relative" absolute pos of children */
text-align: left; text-align: left;
width: 100%; width: 100%;
@ -359,13 +363,13 @@ div.searchresults p{
padding-left: 20px; padding-left: 20px;
} }
form.search.small p.yacylogo { /* The logo in yacysearch.html */ form.search.small p.yacylogo { /* The logo in yacysearch.html */
display:block; display:block;
padding:0; padding:0;
margin: 0 5px 5px; margin: 0 5px 5px;
} }
/*---------- /*----------
<h1>, <h2>, <h3>, <h4>, <h5> <h1>, <h2>, <h3>, <h4>, <h5>
*/ */
@ -379,7 +383,6 @@ div.head h1 {
margin:0; margin:0;
} }
h2.yacy { /* The heading in index.html */ h2.yacy { /* The heading in index.html */
margin:10px auto; margin:10px auto;
text-align:center; text-align:center;
@ -408,10 +411,10 @@ div.sidebar { /* sidebars on the right side */
form.search.small h2 { form.search.small h2 {
clear:none; clear:none;
font-size: 1.2em; /*font-size: 1.2em;*/
margin-left:0px; margin:0px;
margin-top:0px; margin-bottom:5px;
/*border-bottom:1px solid;*/ border-bottom:1px solid #CAD5E3;
} }
li.menugroup h3{ li.menugroup h3{
@ -637,8 +640,10 @@ form.PeerControl fieldset { /* on Status.html */
} }
form.search.small fieldset { form.search.small fieldset {
margin-left:100px; float: left;
width:80%; margin:0px;
margin-left:12px;
margin-bottom:5px;
} }
form.search.small fieldset * { form.search.small fieldset * {

View File

@ -55,7 +55,7 @@ public final class yacyTray {
sb = par_sb; sb = par_sb;
try { try {
final boolean trayIcon = sb.getConfigBool("trayIcon", false); final boolean trayIcon = sb.getConfigBool("trayIcon", false);
if (trayIcon) { if (trayIcon && serverSystem.isWindows) {
System.setProperty("java.awt.headless", "false"); System.setProperty("java.awt.headless", "false");
if(nativeTrayIcon.isSupported()) { if(nativeTrayIcon.isSupported()) {