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,12 +1,12 @@
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;
} }
body > *:not(.toolbar) { body>*:not(.toolbar) {
position: absolute; position: absolute;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -18,7 +18,7 @@ body > *:not(.toolbar) {
} }
/************************************************************************************************/ /************************************************************************************************/
body > .toolbar { body>.toolbar {
box-sizing: border-box; box-sizing: border-box;
border-bottom: 1px solid #2d3642; border-bottom: 1px solid #2d3642;
border-top: 1px solid #6d84a2; border-top: 1px solid #6d84a2;
@ -27,7 +27,7 @@ body > .toolbar {
background: #6d84a2 repeat-x; background: #6d84a2 repeat-x;
} }
.toolbar > h1 { .toolbar>h1 {
position: absolute; position: absolute;
overflow: hidden; overflow: hidden;
left: 0%; left: 0%;
@ -45,9 +45,7 @@ body > .toolbar {
} }
/************************************************************************************************/ /************************************************************************************************/
body>ul>li {
body > ul > li {
position: relative; position: relative;
margin: 0; margin: 0;
border-bottom: 1px solid #E0E0E0; border-bottom: 1px solid #E0E0E0;
@ -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;
@ -67,9 +72,8 @@ body > ul > li {
font-weight: bold; font-weight: bold;
text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0; text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
color: #FFFFFF; color: #FFFFFF;
opacity:0.7; opacity: 0.7;
background: #c8c8c8 repeat-x; background: #c8c8c8 repeat-x;
} }
.value { .value {