Minor i2psnark style fixes

This commit is contained in:
str4d
2017-05-18 12:52:10 +00:00
parent ae7c2f6e5f
commit 7002c683ab
2 changed files with 8 additions and 6 deletions

View File

@ -2380,9 +2380,9 @@ public class I2PSnarkServlet extends BasicServlet {
out.write("\"> KBps <td id=\"bwHelp\"><i>");
out.write(_t("Half available bandwidth recommended."));
if (_context.isRouterContext()) {
out.write(" <a href=\"/config.jsp\" target=\"blank\">[");
out.write("</i> <a href=\"/config.jsp\" target=\"blank\">[");
out.write(_t("View or change router bandwidth"));
out.write("]</a></i>");
out.write("]</a>");
}
out.write("\n<tr><td><label for=\"useOpenTrackers\">");
out.write(_t("Use open trackers also"));

View File

@ -2330,7 +2330,7 @@ body, .snarkTorrents td, .snarkAddInfo, th, td, .snarkFileName, .snarkFileStatus
}
.snarkRefresh:link:first-child, .snarkRefresh:last-child[href="/i2psnark/"] {
background-position: 11px 4px, center center !important;
background-position: 11px 45%, center center !important;
}
input[type="submit"], input[type="reset"], select, select option, button, a.control, .snarkTorrents a:link, td, th, code {
@ -2444,9 +2444,11 @@ select {
}
}
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width: 1400px) {
.snarkRefresh img {
margin: -2px -8px 0 -5px;
/* hidpi devices only */
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 13/10), only screen and (min-resolution: 120dpi) and (min-width: 1400px) {
.snarkRefresh:link:first-child, .snarkRefresh:last-child[href="/i2psnark/"] {
background-position: 11px 56%, center center !important;
}
}