I2PSnark: Transition from gray to puce.

This commit is contained in:
z3d
2010-09-18 06:28:42 +00:00
parent 7de357df98
commit 5378b0ad56
5 changed files with 33 additions and 27 deletions

View File

@@ -871,10 +871,10 @@ public class I2PSnarkServlet extends Default {
out.write("<td align=\"right\" class=\"snarkTorrentStatus " + rowClass + "\">");
if (remaining > 0) {
if (peer.isInteresting() && !peer.isChoked()) {
out.write("<font color=#003300>");
out.write("<font color=#00ee00>");
out.write(formatSize(peer.getDownloadRate()) + "ps</font>");
} else {
out.write("<font color=#550000><a title=\"");
out.write("<font color=#ee0000><a title=\"");
if (!peer.isInteresting())
out.write(_("Uninteresting (The peer has no pieces we need)"));
else
@@ -887,10 +887,10 @@ public class I2PSnarkServlet extends Default {
out.write("<td align=\"right\" class=\"snarkTorrentStatus " + rowClass + "\">");
if (pct != 100.0) {
if (peer.isInterested() && !peer.isChoking()) {
out.write("<font color=#003300>");
out.write("<font color=#00ee00>");
out.write(formatSize(peer.getUploadRate()) + "ps</font>");
} else {
out.write("<font color=#550000><a title=\"");
out.write("<font color=#ee0000><a title=\"");
if (!peer.isInterested())
out.write(_("Uninterested (We have no pieces the peer needs)"));
else

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -175,9 +175,9 @@ td:first-child {
}
.snarkTorrentOdd {
background: #434;
background: #656;
font-size: 8pt;
border: 1px inset #323;
border: 1px inset #434;
border-left: 0;
border-right: 0;
}
@@ -234,7 +234,7 @@ td:first-child {
}
.page {
background: #222;
background: #323;
color: #310;
min-width: 800px !important;
margin: 5px 0 0 0;
@@ -242,7 +242,7 @@ td:first-child {
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
border: 1px solid #001;
border: 1px solid #101;
font-size: 9pt !important;
line-height: 160% !important;
-moz-box-shadow: inset 0px 0px 1px 0px #002;
@@ -310,7 +310,7 @@ input.r {
input[type=submit] {
text-shadow: 0px 0px #410;
color: #000;
background: #999;
background: #989;
border: 1px inset #bbb;
}
@@ -330,7 +330,7 @@ input[type=submit]:active {
input[type=text]:active, input[type=text]:hover, input.r:hover {
background: #f60;
color: #000;
color: #fff;
}
select {
@@ -347,8 +347,8 @@ select {
}
select:hover, textarea:hover {
background: #f60;
color: #000;
background: #f60 !important;
color: #fff;
}
textarea {
@@ -385,10 +385,10 @@ div.section,div.mainsection {
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: inset 0px 0px 1px 0px #002;
-moz-box-shadow: inset 0px 0px 1px 0px #212;
word-wrap: break-word;
text-align: center;
background: #333;
background: #545;
opacity: 1.0;
}
@@ -401,11 +401,11 @@ div.newtorrentsection {
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: inset 0px 0px 1px 0px #ff0;
-khtml-box-shadow: inset 0px 0px 1px 0px #ff0;
box-shadow: inset 0px 0px 1px 0px #ff0;
-moz-box-shadow: inset 0px 0px 1px 0px #101;
-khtml-box-shadow: inset 0px 0px 1px 0px #101;
box-shadow: inset 0px 0px 1px 0px #101;
word-wrap: break-word;
background: #444 url('../console/images/snark_create.png') no-repeat scroll right center;
background: #545 url('../console/images/snark_create.png') no-repeat scroll right center;
opacity: 1.0;
}
@@ -418,28 +418,28 @@ div.addtorrentsection {
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: inset 0px 0px 1px 0px #0f0;
-khtml-box-shadow: inset 0px 0px 1px 0px #0f0;
box-shadow: inset 0px 0px 1px 0px #0f0;
-moz-box-shadow: inset 0px 0px 1px 0px #101;
-khtml-box-shadow: inset 0px 0px 1px 0px #101;
box-shadow: inset 0px 0px 1px 0px #101;
word-wrap: break-word;
background: #444 url('../console/images/snark_add.png') no-repeat scroll right center;
background: #545 url('../console/images/snark_add.png') no-repeat scroll right center;
opacity: 1.0;
}
div.configsection {
margin: 0 0 10px 0;
padding: 0 10px 15px 10px;
border: 1px solid #001;
border: 1px solid #000;
color: #ddd;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: inset 0px 0px 1px 0px #f00;
-khtml-box-shadow: inset 0px 0px 1px 0px #f00;
box-shadow: inset 0px 0px 1px 0px #f00;
-moz-box-shadow: inset 0px 0px 1px 0px #101;
-khtml-box-shadow: inset 0px 0px 1px 0px #101;
box-shadow: inset 0px 0px 1px 0px #101;
word-wrap: break-word;
text-align: center;
background: #444;
background: #545;
font-weight: bold;
}
@@ -461,6 +461,12 @@ div.configsection a:hover {
text-decoration: none;
}
code {
font-size: 9.5pt;
color: #0f0;
padding: 0 2px;
font-weight: bold;
}
.snarknavbar {
margin: 0 0 10px 0 !important;
padding: 2px 10px;