dark theme

This commit is contained in:
Radek Davidek 2021-10-15 14:13:35 +02:00
parent e0b4da831c
commit c04c097d52
3 changed files with 66 additions and 62 deletions

View File

@ -90,9 +90,9 @@ public class MiningBean {
wi.setKey(symbol.concat("/").concat(currency.toUpperCase()));
wi.setValue(resultStr);
if (change>0)
wi.setColor("GREEN");
wi.setColor("#00FF99");
else
wi.setColor("RED");
wi.setColor("#FF5050");
prices.add(wi);
}
@ -519,7 +519,7 @@ public class MiningBean {
String tmp = "";
for (KeyValue kv : prices) {
if (kv.getColor()==null)
kv.setColor("BLUE");
kv.setColor("#00CCFF");
tmp = tmp.concat("<pair><key>").concat(
kv.getKey().concat("</key>").concat("<value>").concat(kv.getValue()).concat("</value>").concat("<color>").concat(kv.getColor()).concat("</color></pair>"));
}

View File

@ -12,7 +12,7 @@
<title>Mining Info</title>
<link rel="stylesheet" type="text/css" href="./css/default-theme.css">
<script type="text/javascript"
src="client.js?ver=<%=Constants.APP_VERSION%>"></script>
src="client.js?ver=<%=System.currentTimeMillis()%>"></script>
</head>
<body class="landscape">
<div class="toolbar">

View File

@ -1,12 +1,12 @@
body {
margin: 0;
font-family: Helvetica;
background: #FFFFFF;
color: #000000;
background: #424242;
color: rgb(202, 202, 0);
overflow-x: hidden;
}
body > *:not(.toolbar) {
body>*:not(.toolbar) {
position: absolute;
margin: 0;
padding: 0;
@ -18,7 +18,7 @@ body > *:not(.toolbar) {
}
/************************************************************************************************/
body > .toolbar {
body>.toolbar {
box-sizing: border-box;
border-bottom: 1px solid #2d3642;
border-top: 1px solid #6d84a2;
@ -27,7 +27,7 @@ body > .toolbar {
background: #6d84a2 repeat-x;
}
.toolbar > h1 {
.toolbar>h1 {
position: absolute;
overflow: hidden;
left: 0%;
@ -45,9 +45,7 @@ body > .toolbar {
}
/************************************************************************************************/
body > ul > li {
body>ul>li {
position: relative;
margin: 0;
border-bottom: 1px solid #E0E0E0;
@ -57,6 +55,13 @@ body > ul > li {
list-style: none;
}
a {
color: rgb(3, 203, 33);
font-weight: bold;
font-style: normal;
text-decoration: none;
}
.group {
position: relative;
top: -1px;
@ -67,9 +72,8 @@ body > ul > li {
font-weight: bold;
text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
color: #FFFFFF;
opacity:0.7;
opacity: 0.7;
background: #c8c8c8 repeat-x;
}
.value {