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.setKey(symbol.concat("/").concat(currency.toUpperCase()));
wi.setValue(resultStr); wi.setValue(resultStr);
if (change>0) if (change>0)
wi.setColor("GREEN"); wi.setColor("#00FF99");
else else
wi.setColor("RED"); wi.setColor("#FF5050");
prices.add(wi); prices.add(wi);
} }
@ -519,7 +519,7 @@ public class MiningBean {
String tmp = ""; String tmp = "";
for (KeyValue kv : prices) { for (KeyValue kv : prices) {
if (kv.getColor()==null) if (kv.getColor()==null)
kv.setColor("BLUE"); kv.setColor("#00CCFF");
tmp = tmp.concat("<pair><key>").concat( 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>")); 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> <title>Mining Info</title>
<link rel="stylesheet" type="text/css" href="./css/default-theme.css"> <link rel="stylesheet" type="text/css" href="./css/default-theme.css">
<script type="text/javascript" <script type="text/javascript"
src="client.js?ver=<%=Constants.APP_VERSION%>"></script> src="client.js?ver=<%=System.currentTimeMillis()%>"></script>
</head> </head>
<body class="landscape"> <body class="landscape">
<div class="toolbar"> <div class="toolbar">

View File

@ -1,8 +1,8 @@
body { body {
margin: 0; margin: 0;
font-family: Helvetica; font-family: Helvetica;
background: #FFFFFF; background: #424242;
color: #000000; color: rgb(202, 202, 0);
overflow-x: hidden; overflow-x: hidden;
} }
@ -45,8 +45,6 @@ body > .toolbar {
} }
/************************************************************************************************/ /************************************************************************************************/
body>ul>li { body>ul>li {
position: relative; position: relative;
margin: 0; margin: 0;
@ -57,6 +55,13 @@ body > ul > li {
list-style: none; list-style: none;
} }
a {
color: rgb(3, 203, 33);
font-weight: bold;
font-style: normal;
text-decoration: none;
}
.group { .group {
position: relative; position: relative;
top: -1px; top: -1px;
@ -69,7 +74,6 @@ body > ul > li {
color: #FFFFFF; color: #FFFFFF;
opacity: 0.7; opacity: 0.7;
background: #c8c8c8 repeat-x; background: #c8c8c8 repeat-x;
} }
.value { .value {