Merge branch 'master' of github.com:mix-blockchain/eth-netstats into mix-staging

This commit is contained in:
5chdn
2018-12-01 20:00:37 +01:00
25 changed files with 3767 additions and 139 deletions

View File

@@ -10,6 +10,41 @@ body {
-moz-osx-font-smoothing: grayscale;
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 200;
src: local('Source Sans Pro ExtraLight'), local('SourceSansPro-ExtraLight'), url(../fonts/SourceSansPro-ExtraLight.woff2) format('woff2');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(../fonts/SourceSansPro-Light.woff2) format('woff2');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(../fonts/SourceSansPro-Regular.woff2) format('woff2');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(../fonts/SourceSansPro-SemiBold.woff2) format('woff2');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 700;
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(../fonts/SourceSansPro-Bold.woff2) format('woff2');
}
table td {
font-size: 14px;
white-space: nowrap !important;
@@ -30,37 +65,32 @@ table td {
.bg-success,
.text-success .propagationBox {
background: #50fa7b;
background: #7bcc3a;
}
.bg-info,
.text-info .propagationBox {
background: #8be9fd;
}
.bg-highlight,
.text-highlight .propagationBox {
background: #bd93f9;
background: #10a0de;
}
.bg-warning,
.text-warning .propagationBox {
background: #f1fa8c;
background: #FFD162;
}
.bg-orange,
.text-orange .propagationBox {
background: #ffb86c;
background: #ff8a00;
}
.bg-danger,
.text-danger .propagationBox {
background: #ff5555;
background: #F74B4B;
}
.text-gray .propagationBox {
background: none !important;
border: 1px solid #f8f8f2;
border: 1px solid #777;
}
.bg-success,
@@ -72,11 +102,11 @@ table td {
}
.text-gray {
color: #f8f8f2 !important;
color: #777 !important;
}
.text-orange {
color: #ffb86c;
color: #ff8a00;
}
.container-fluid {
@@ -153,9 +183,9 @@ span.small-title span.small {
}
.big-info.chart .big-details {
display: block;
position: absolute;
display: table;
top: 40px;
margin: 0 auto;
}
.big-info.chart {
@@ -172,6 +202,8 @@ span.small-title span.small {
width: 288px;
padding-top: 6px;
margin-left: -2px;
display: table;
margin: 0 auto;
}
.blocks-holder {
@@ -185,7 +217,7 @@ span.small-title span.small {
letter-spacing: -0.1px;
text-transform: none;
white-space: nowrap;
color: #f8f8f2;
color: #777;
}
.blocks-holder .block-count {
@@ -460,7 +492,7 @@ svg .axis line {
shape-rendering: crispEdges;
}
svg .axis text {
fill: #f8f8f2;
fill: #777;
font-size: 10px;
letter-spacing: 0px;
font-family: "Source Sans Pro";
@@ -472,3 +504,51 @@ svg .axis text {
svg .y.axis .tick:first-child text {
opacity: 0;
}
@media (max-width: 768px) {
.container-fluid {
padding-left: 5px;
padding-right: 5px;
}
.big-info .icon-full-width i {
width: 75px;
height: 67px;
font-size: 67px;
margin-left: -25px;
}
.big-info .big-details-holder {
left: 75px;
}
.big-info .big-details {
font-size: 35px;
}
.blocks-holder div.small-title-miner {
font-family: inherit;
font-size: 11px;
letter-spacing: -.5px;
}
.blocks-holder {
width: 100%;
}
.big-info.chart i, .second-row .box i {
font-size: 18px;
margin-right: 0px;
}
.second-row .box {
height: 100%; /* BUG XXX */
}
}
@media (max-width: 600px) {
.blocks-holder div.small-title-miner {
font-size: 10px;
}
}