Skip to content

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

new default skin 'pdblue' The old default skin named 'default' is renamed to 'classic-blue'. All users will keep their current default skin named default, but YaCy will copy the classic-blue also to the skin folder. For all new peers, the new skin pdblue is used.

orbiter3d5eeb842ac8
diff --git a/defaults/yacy.init b/defaults/yacy.init
index 1e944824d..ac00fd851 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -841,7 +841,7 @@ externalRedirector=
svnRevision=0
-currentSkin=default
+currentSkin=pdblue
# flag to show if pages shall be usable for non-admin users
# this can be applied to the Surftips.html and yacysearch.html page
diff --git a/htroot/ConfigAppearance_p.java b/htroot/ConfigAppearance_p.java
index 65f26c265..4eb94a938 100644
--- a/htroot/ConfigAppearance_p.java
+++ b/htroot/ConfigAppearance_p.java
@@ -65,17 +65,6 @@ public class ConfigAppearance_p {
return prop;
}
- // if there are no skins, use the current style as default
- // normally only invoked at first start of YaCy
- if (skinFiles.size() == 0) {
- try {
- FileUtils.copy(new File(env.getRootPath(), "htroot/env/style.css"), new File(skinPath, "default.css"));
- env.setConfig("currentSkin", "default");
- } catch (final IOException e) {
- e.printStackTrace();
- }
- }
-
if (post != null) {
if (post.containsKey("use_button") && post.get("skin") != null) {
// change skin
diff --git a/skins/default.css b/skins/classic-blue.css
similarity index 100%
rename from skins/default.css
rename to skins/classic-blue.css
diff --git a/skins/pdblue.css b/skins/pdblue.css
new file mode 100644
index 000000000..89767337d
--- /dev/null
+++ b/skins/pdblue.css
@@ -0,0 +1,326 @@
+/* Skin */
+
+body {
+ background-color:#FFFFFF;
+ color:#18294A;
+}
+
+a:link {
+ color:#18294A;
+ background-color:transparent;
+}
+
+a:link:hover {
+ color: #80C010;
+ background-color:transparent;
+}
+
+
+/* Menu */
+
+.menugroup h3 {
+ -webkit-border-top-left-radius: 8px;
+ -webkit-border-top-right-radius: 8px;
+ -khtml-border-top-left-radius: 8px;
+ -khtml-border-top-right-radius: 8px;
+ -moz-border-radius-topleft: 8px;
+ -moz-border-radius-topright: 8px;
+ border-top-left-radius: 8px;
+ border-top-right-radius: 8px;
+
+ background-color: #5090D0;
+ color:white;
+}
+
+.SubMenugroup h3, .SubMenu h3 {
+ -webkit-border-radius: 8px;
+ -webkit-border-radius: 8px;
+ -khtml-border-radius: 8px;
+ -khtml-border-radius: 8px;
+ -moz-border-radius: 8px;
+ -moz-border-radius: 8px;
+ border-radius: 8px;
+ border-radius: 8px;
+
+ background-color: #5090D0;
+ color:white;
+}
+
+a.MenuItemLink, ul.SubMenu em {
+ background-color: #DEE6F3;
+ color:#18294A;
+}
+
+a:hover.MenuItemLink {
+ background-color:transparent;
+ color:#18294A;
+}
+
+/* Head */
+
+div.head h1 {
+ background-color:transparent;
+ text-align:left;
+ padding-left:70px;
+ color:#18294A;
+}
+
+/* Tables */
+
+table {
+ -webkit-box-shadow: 0px 0px 20px #EEEEEE;
+ -moz-box-shadow: 0px 0px 20px #EEEEEE;
+ box-shadow: 0px 0px 20px #EEEEEE;
+}
+
+.TableHeader {
+ background-color: #80C010;
+ color:white;
+}
+
+.TableCellDark {
+ background-color: #DEE6F3;
+}
+
+.TableCellLight {
+ background-color: #ECF1F8;
+}
+
+.TableCellSummary {
+ background-color: #FFCCCC;
+ border:1px solid #888888;
+}
+
+.TableCellPassive {
+ background-color: lightgrey;
+}
+
+.TableCellActive {
+ background-color: #ffbbaa;
+}
+
+/* Blog and Wiki*/
+
+.Post {
+ background-color:#eee;
+}
+
+.PostSubject {
+ background-color:#8aa;
+}
+
+.PostSubject a {
+ color:#18294A;
+}
+
+.PostInfo {
+ background-color:#bdcdd4;
+}
+
+/* Wiki */
+
+.WikiTOCBox {
+ border: 1px solid #aaa;
+ background-color: #FFFFFF;
+}
+
+a.unknown {
+ color:#990000;
+}
+
+a.known {
+ color:#009900;
+}
+
+a.extern {
+ color:#000099;
+}
+
+/* in Bookmarks */
+
+.bookmark {
+ border-bottom:1px #000 dashed;
+}
+
+a.bookmarkTitle {
+ color: #5090D0;
+}
+
+a:hover.bookmarkTitle {
+ color: #5090D0;
+}
+
+a.bookmarkTags {
+ color: #007050;
+}
+
+a:hover.bookmarkTags {
+ color: #5090D0;
+}
+
+a.bookmarkAction {
+ color: #999999;
+}
+
+.Tags {
+ border-left: 2px solid #18294A;
+}
+
+.diff { background-color: #E8E8EE; }
+.diff .unchanged { color: #333; }
+.diff .added { color: #090; background-color: #B5F0B5; }
+.diff .deleted { color: #B00; background-color: #F9B5B5; }
+
+/* in Status.html */
+
+.ProgressBar {
+ border: #FFFFFF solid 1px;
+}
+div.ProgressBarFill {
+ background-color:#DEE6F3;
+}
+
+
+/* Copyright info */
+
+.info {
+ border-top:1px solid gray;
+}
+
+div#api {
+ position:absolute;
+ top:3px;
+ right:20px;
+ z-index: 100;
+}
+
+div#yacylivesearch {
+ float:right;
+ margin-right: 90px;
+ margin-top: -24px;
+}
+
+/* Searchresults */
+
+fieldset.maininput, fieldset.yacys {
+ background-color:#DEE6F3;
+ -webkit-border-radius: 10px;
+ -webkit-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ -moz-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border-radius: 10px;
+ border-radius: 10px;
+}
+
+form.search.small h2 {
+ border-bottom:1px solid #CAD5E3;
+}
+
+.searchresults {
+ /*border-top:1px #000 dashed;*/
+}
+
+.searchresults h4 a {
+ font-size:1.2em;
+ font-weight:normal;
+ text-decoration:underline;
+ color:#2200CC;
+}
+.searchresults h4 a:link:hover {
+ color:#2200CC;
+}
+
+.snippetLoaded strong {
+ color:black;
+}
+
+.searchresults .url a {
+ color:#008000;
+}
+.searchresults .url a:link:hover {
+ color:#008000;
+}
+
+
+/* other */
+
+.settingsValue {
+ color:#556699;
+}
+
+.Headline {
+ background-color: #5090D0;
+ color: white;
+}
+
+.Heading {
+ background-color: #5090D0;
+}
+
+.error, .warning {
+ color:red;
+}
+
+.success {
+ color:green;
+}
+
+.Message {
+ background-color: #eeeeee;
+}
+
+.example {
+ background-color:#D3D3D3;
+}
+
+.hides:hover .hoverShow { background-color: #FFFFFF; }
+
+/* Log */
+
+body#ViewLog pre {
+ background-color:white;
+}
+
+/* Forms */
+
+fieldset {
+ background-color:#DEE6F3;
+ color:#18294A;
+ border:0px solid #DEE6F3;
+
+ -webkit-box-shadow: 0px 0px 20px #EEEEEE;
+ -moz-box-shadow: 0px 0px 20px #EEEEEE;
+ box-shadow: 0px 0px 20px #EEEEEE;
+
+}
+
+/* input, select, textarea, button {
+ color: black;
+ background-color: white;
+} */
+
+legend {
+ background-color:#80C010;
+
+ -webkit-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ -khtml-border-radius: 5px;
+ -khtml-border-radius: 5px;
+ -moz-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+ border-radius: 5px;
+ text-align:left;
+ color:white;
+}
+
+form dt, dl.pairs dt {
+ background-color:#DEE6F3;
+ font-weight:bold;
+}
+
+form dd, dl.pairs dd {
+ background-color:#DEE6F3;
+}