Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

- search result layout - tray only for windows

lotusdda771db9d3a
diff --git a/htroot/env/base.css b/htroot/env/base.css
index 4b27b2191..d643b3688 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -249,6 +249,10 @@ div.ProgressBarFill {
height:100%; /*not valid value for Netscape 8*/
}
+#results {
+clear:both;
+}
+
#resCounter {
/* left part of the progress bar */
position: absolute;
@@ -257,7 +261,7 @@ div.ProgressBarFill {
#resProgBar {
height: 1.5em;
- margin: 1em auto;
+ /* margin: 1em auto; */
position: relative; /* for "relative" absolute pos of children */
text-align: left;
width: 100%;
@@ -359,13 +363,13 @@ div.searchresults p{
padding-left: 20px;
}
-
form.search.small p.yacylogo { /* The logo in yacysearch.html */
display:block;
padding:0;
margin: 0 5px 5px;
}
+
/*----------
<h1>, <h2>, <h3>, <h4>, <h5>
*/
@@ -379,7 +383,6 @@ div.head h1 {
margin:0;
}
-
h2.yacy { /* The heading in index.html */
margin:10px auto;
text-align:center;
@@ -408,10 +411,10 @@ div.sidebar { /* sidebars on the right side */
form.search.small h2 {
clear:none;
- font-size: 1.2em;
- margin-left:0px;
- margin-top:0px;
- /*border-bottom:1px solid;*/
+ /*font-size: 1.2em;*/
+ margin:0px;
+ margin-bottom:5px;
+ border-bottom:1px solid #CAD5E3;
}
li.menugroup h3{
@@ -637,8 +640,10 @@ form.PeerControl fieldset { /* on Status.html */
}
form.search.small fieldset {
- margin-left:100px;
- width:80%;
+ float: left;
+ margin:0px;
+ margin-left:12px;
+ margin-bottom:5px;
}
form.search.small fieldset * {
diff --git a/source/de/anomic/yacy/yacyTray.java b/source/de/anomic/yacy/yacyTray.java
index 4349f8fe7..1a7ad884a 100644
--- a/source/de/anomic/yacy/yacyTray.java
+++ b/source/de/anomic/yacy/yacyTray.java
@@ -55,7 +55,7 @@ public final class yacyTray {
sb = par_sb;
try {
final boolean trayIcon = sb.getConfigBool("trayIcon", false);
- if (trayIcon) {
+ if (trayIcon && serverSystem.isWindows) {
System.setProperty("java.awt.headless", "false");
if(nativeTrayIcon.isSupported()) {