css changes from zzz

pull/34/head
Zlatin Balevsky 2019-12-17 14:25:42 +00:00
parent 67ee634f20
commit 3abc617e9f
5 changed files with 61 additions and 15 deletions

View File

@ -39,7 +39,7 @@ div#topTableSender table thead th:nth-child(3) {
width: 100px; width: 100px;
} }
div#topTableSender table thead th:nth-child(4) { div#topTableSender table thead th:nth-child(4) {
width: 300px; width: 340px;
} }
div#topTableSender table tbody td:nth-child(1) { div#topTableSender table tbody td:nth-child(1) {
text-overflow: ellipsis; text-overflow: ellipsis;
@ -93,7 +93,7 @@ div#bottomTableFile table thead th:nth-child(2) {
width: 100px; width: 100px;
} }
div#bottomTableFile table thead th:nth-child(3) { div#bottomTableFile table thead th:nth-child(3) {
width: 300px; width: 340px;
} }
div#bottomTableFile table tbody td:nth-child(1) { div#bottomTableFile table tbody td:nth-child(1) {
text-overflow: ellipsis; text-overflow: ellipsis;
@ -198,7 +198,7 @@ div#uploads table tbody td:nth-child(5) {
} }
div#trustedUsers table thead th:nth-child(2) { div#trustedUsers table thead th:nth-child(2) {
width: 100px; width: 200px;
} }
div#trustedUsers table thead th:nth-child(3) { div#trustedUsers table thead th:nth-child(3) {
width: 100px; width: 100px;
@ -217,7 +217,7 @@ div#distrustedUsers table tbody td:nth-child(1) {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
div#distrustedUsers table thead th:nth-child(2) { div#distrustedUsers table thead th:nth-child(2) {
width: 100px; width: 300px;
} }
div#trustLists table thead th:nth-child(2) { div#trustLists table thead th:nth-child(2) {
@ -246,27 +246,58 @@ div#trustLists table tbody td:nth-child(4) {
} }
div#trusted table thead th:nth-child(2) { div#trusted table thead th:nth-child(2) {
width: 100px; width: 200px;
} }
div#trusted table thead th:nth-child(3) { div#trusted table thead th:nth-child(3) {
width: 300px; width: 100px;
} }
div#trusted table tbody td:nth-child(1) { div#trusted table tbody td:nth-child(1) {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
div#trusted table tbody td:nth-child(3) {
text-align: center;
}
div#distrusted table thead th:nth-child(2) { div#distrusted table thead th:nth-child(2) {
width: 100px; width: 200px;
} }
div#distrusted table thead th:nth-child(3) { div#distrusted table thead th:nth-child(3) {
width: 300px; width: 100px;
} }
div#distrusted table tbody td:nth-child(1) { div#distrusted table tbody td:nth-child(1) {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
div#distrusted table tbody td:nth-child(3) {
text-align: center;
}
table.certificates * {
background: #a5c7e7 !important;
}
table.certificates thead th:nth-child(2) {
width: 200px !important;
}
table.certificates thead th:nth-child(3) {
width: 180px !important;
}
table.certificates thead th:nth-child(4) {
width: 80px !important;
}
table.certificates tbody td:nth-child(1) {
text-overflow: ellipsis !important;
}
table.certificates tbody td:nth-child(2) {
text-overflow: ellipsis !important;
}
table.certificates tbody td:nth-child(3) {
text-overflow: ellipsis !important;
}
table.certificates tbody td:nth-child(4) {
text-align: center !important;
}
pre { pre {
background: #a7d5d5; background: #a7d5d5;
padding: 5px; padding: 8px;
margin: 10px 20px 10px 5px; margin: 10px 20px 10px 5px;
} }
@ -275,11 +306,19 @@ div.right {
float: right; float: right;
} }
div.right a {
color: #1f3b57 !important;
}
div.centercomment { div.centercomment {
display: block; display: block;
text-align: center; text-align: center;
} }
div.centercomment textarea {
background: #bcd1e5 !important;
}
span.right { span.right {
display: inline-block; display: inline-block;
float: right; float: right;
@ -290,6 +329,9 @@ input.right {
} }
pre.comment { pre.comment {
background: #bcd1e5 !important;
max-height: 80px;
overflow: auto;
white-space: pre-wrap; white-space: pre-wrap;
white-space: -moz-pre-wrap; white-space: -moz-pre-wrap;
white-space: -pre-wrap; white-space: -pre-wrap;

View File

@ -60,13 +60,13 @@ public class MuWireServlet extends HttpServlet {
"</head><body>\n" + "</head><body>\n" +
"<header class=\"titlebar\">" + "<header class=\"titlebar\">" +
"<div class=\"title\">" + "<div class=\"title\">" +
"<img src=\"images/muwire.png\" alt=\"\">" + "<img src=\"images/muwire.png\" alt=\"\"><br>" +
_t("Welcome to MuWire") + _t("Welcome to MuWire") +
"</div>" + "</div>" +
"<div class=\"subtitle\"><br><br><br><br></div>" + "<div class=\"subtitle\"><br><br><br><br></div>" +
"<div class=\"pagetitle\">" + "<div class=\"pagetitle\">" +
_t("MuWire is initializing, please wait") + _t("MuWire is initializing, please wait") +
"</div>" + "&hellip;</div>" +
"</header>" + "</header>" +
"<noscript><center><b>" + "<noscript><center><b>" +
_t("MuWire requires JavaScript. Please enable JavaScript in your browser.") + _t("MuWire requires JavaScript. Please enable JavaScript in your browser.") +

View File

@ -57,8 +57,6 @@ public class Util {
_x("Host"), _x("Host"),
_x("Import"), _x("Import"),
_x("Imported"), _x("Imported"),
_x("Inbound tunnel length"),
_x("Inbound tunnel quantity"),
_x("Known Sources"), _x("Known Sources"),
_x("Last Updated"), _x("Last Updated"),
_x("Mark Distrusted"), _x("Mark Distrusted"),

View File

@ -27,7 +27,10 @@ String pagetitle=Util._t("Browse Host");
<form action="/MuWire/Browse" method="post"> <form action="/MuWire/Browse" method="post">
<input type="text" name="host"> <input type="text" name="host">
<input type="hidden" name="action" value="browse"> <input type="hidden" name="action" value="browse">
<input type="submit" value=<%=Util._t("Browse")%>> <div class="menuitem shared">
<div class="menu-icon"></div>
<input type="submit" value=<%=Util._t("Browse")%>>
</div>
</form> </form>
</div> </div>
<div class="menubox-divider"></div> <div class="menubox-divider"></div>

View File

@ -36,7 +36,10 @@ if (viewAs == null)
<% if (viewAs.equals("table")) { %> <% if (viewAs.equals("table")) { %>
<input type="hidden" name="viewAs" value="table"> <input type="hidden" name="viewAs" value="table">
<% } %> <% } %>
<input type="submit" value="<%=Util._t("Share")%>"> <div class="menuitem shared">
<div class="menu-icon"></div>
<input type="submit" value="<%=Util._t("Share")%>">
</div>
</form> </form>
<% if (viewAs.equals("tree")) { %> <% if (viewAs.equals("tree")) { %>
<a class="menuitem" href="SharedFiles?viewAs=table"><%=Util._t("View As Table")%></a> <a class="menuitem" href="SharedFiles?viewAs=table"><%=Util._t("View As Table")%></a>