ethstats-server/public/css/style.css

407 lines
5.7 KiB
CSS
Raw Normal View History

2015-04-05 18:22:49 +02:00
html {
width: 100%;
}
2015-01-20 19:29:31 +01:00
body {
2015-04-05 18:22:49 +02:00
width: 100%;
2015-04-04 21:35:45 +02:00
min-width: 1900px;
2015-01-20 19:29:31 +01:00
font-smooth: auto;
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
}
2015-04-17 03:35:08 +02:00
table td {
2015-04-17 03:10:08 +02:00
font-size: 14px;
2015-04-17 03:35:08 +02:00
white-space: nowrap !important;
2015-04-17 03:10:08 +02:00
-webkit-font-smoothing: subpixel-antialiased;
-moz-font-smoothing: subpixel-antialiased;
}
2015-04-09 23:36:29 +02:00
.propagationBox {
position: relative;
width: 8px;
height: 8px;
float: left;
2015-04-23 21:28:38 +02:00
top: 5px;
2015-04-09 23:36:29 +02:00
margin-right: 5px;
2015-04-09 23:39:07 +02:00
-webkit-border-radius: 2px;
border-radius: 2px;
2015-04-09 23:36:29 +02:00
}
.bg-success,
.text-success .propagationBox {
2015-04-06 01:28:42 +02:00
background: #7bcc3a;
}
2015-04-05 18:22:49 +02:00
2015-04-09 23:36:29 +02:00
.bg-info,
.text-info .propagationBox {
2015-04-06 01:28:42 +02:00
background: #10a0de;
2015-04-05 18:22:49 +02:00
}
2015-04-09 23:36:29 +02:00
.bg-warning,
.text-warning .propagationBox {
2015-04-06 01:28:42 +02:00
background: #FFD162;
}
2015-04-09 23:36:29 +02:00
.bg-orange,
.text-orange .propagationBox {
2015-04-09 16:21:28 +02:00
background: #ff8a00;
}
2015-04-09 23:36:29 +02:00
.bg-danger,
.text-danger .propagationBox {
2015-04-06 01:28:42 +02:00
background: #F74B4B;
}
2015-04-09 23:36:29 +02:00
.text-gray .propagationBox {
2015-04-09 23:43:26 +02:00
background: none !important;
2015-04-09 23:36:29 +02:00
border: 1px solid #777;
}
2015-04-09 16:21:28 +02:00
.bg-success,
.bg-info,
.bg-warning,
.bg-orange,
.bg-danger {
color: #000;
}
2015-04-06 12:47:11 +02:00
.text-gray {
color: #777 !important;
2015-04-06 12:47:11 +02:00
}
2015-04-06 12:55:33 +02:00
.text-orange {
color: #ff8a00;
}
2015-04-06 01:28:42 +02:00
.container-fluid {
padding-left: 30px;
padding-right: 30px;
}
.stat-holder {
2015-03-05 16:34:10 +01:00
background: #090909;
border: 1px solid rgba(255,255,255,0.05);
2015-01-20 19:29:31 +01:00
}
2015-04-06 01:28:42 +02:00
.big-info {
padding-top: 15px;
2015-04-23 22:05:22 +02:00
padding-bottom: 15px;
2015-04-05 18:22:49 +02:00
}
2015-01-20 19:29:31 +01:00
.big-info .icon-full-width i {
display: block;
2015-03-05 16:34:10 +01:00
width: 85px;
height: 70px;
font-size: 70px;
line-height: 70px;
margin-right: 15px;
2015-04-06 01:28:42 +02:00
margin-left: -15px;
2015-01-20 19:29:31 +01:00
}
2015-04-06 01:28:42 +02:00
.big-info span.small-title,
.big-info div.small-title-miner {
2015-01-20 19:29:31 +01:00
display: block;
2015-04-06 07:33:01 +02:00
}
span.small-title,
div.small-title-miner {
2015-01-20 19:29:31 +01:00
font-weight: 700;
2015-03-05 16:34:10 +01:00
font-size: 14px;
2015-01-20 19:29:31 +01:00
line-height: 20px;
letter-spacing: 1px;
text-transform: uppercase;
2015-04-06 01:28:42 +02:00
color: #aaa;
2015-03-27 17:52:42 +01:00
}
2015-04-24 05:37:52 +02:00
span.small-title span.small {
letter-spacing: 0px;
color: #666;
}
2015-04-23 15:17:31 +02:00
.big-info .big-details {
2015-01-20 19:29:31 +01:00
display: block;
font-weight: 200;
2015-03-05 16:34:10 +01:00
font-size: 50px;
line-height: 55px;
2015-01-20 19:29:31 +01:00
letter-spacing: -4px;
}
2015-04-24 06:09:09 +02:00
.big-info.chart {
padding-top: 12px;
}
2015-04-23 15:17:31 +02:00
.big-info.chart .big-details {
2015-04-24 06:09:09 +02:00
padding-top: 8px;
2015-03-27 17:52:42 +01:00
}
2015-04-06 01:28:42 +02:00
.big-info.chart {
height: 120px;
-webkit-box-sizing: border-box
box-sizing: border-box;
}
.big-info.chart.double-chart {
height: 242px;
}
.blocks-holder {
2015-04-06 16:33:55 +02:00
width: 288px;
2015-04-24 06:09:09 +02:00
padding-top: 6px;
2015-04-06 16:33:55 +02:00
margin-left: -2px;
2015-04-06 01:28:42 +02:00
}
2015-04-17 03:10:08 +02:00
.blocks-holder {
-webkit-font-smoothing: subpixel-antialiased;
-moz-font-smoothing: subpixel-antialiased;
}
2015-04-06 01:28:42 +02:00
.blocks-holder div.small-title-miner {
2015-04-17 03:10:08 +02:00
font-family: "Lucida Console", "Courier New", Courier, monospace;
font-size: 11px;
letter-spacing: -0.1px;
2015-04-06 01:28:42 +02:00
text-transform: none;
white-space: nowrap;
2015-04-17 04:13:28 +02:00
color: #777;
2015-04-06 01:28:42 +02:00
}
.blocks-holder .block-count {
2015-04-23 15:17:31 +02:00
font-family: 'Lucida Console', "Courier New", Courier, monospace;
2015-04-17 03:10:08 +02:00
font-weight: bold;
font-size: 10px;
padding-top: 3px;
2015-04-06 01:28:42 +02:00
float: right;
}
.blocks-holder .block {
width: 6px;
height: 6px;
margin: 2px 1px 6px 1px;
float: left;
-webkit-border-radius: 1px;
border-radius: 1px;
2015-04-06 07:33:01 +02:00
opacity: .8;
}
2015-04-06 16:33:55 +02:00
.blocks-holder .block:first-child {
margin-left: 0px;
}
.blocks-holder .block:last-child {
margin-right: 0px;
}
2015-04-06 07:33:01 +02:00
.page-latency {
position: absolute;
2015-04-24 00:38:09 +02:00
top: 395px;
2015-04-06 07:33:01 +02:00
left: 15px;
}
.page-latency .small-title {
letter-spacing: 0px;
opacity: .8;
2015-04-06 01:28:42 +02:00
}
2015-04-23 22:05:22 +02:00
.tableHolder {
padding-top: 20px;
padding-right: 20px;
}
2015-01-20 19:29:31 +01:00
table i {
-webkit-font-smoothing: subpixel-antialiased;
-moz-font-smoothing: subpixel-antialiased;
}
table th,
table td {
border-color: #222 !important;
}
2015-04-17 11:10:20 +02:00
table td {
2015-04-23 21:28:38 +02:00
line-height: 18px !important;
2015-04-17 11:10:20 +02:00
}
2015-01-20 19:29:31 +01:00
table th {
color: #888;
}
2015-04-17 03:51:48 +02:00
table th i {
2015-04-23 21:16:21 +02:00
line-height: 1em;
2015-01-20 19:29:31 +01:00
font-size: 20px;
}
2015-04-17 03:56:46 +02:00
table td i {
position: relative;
2015-04-23 21:16:21 +02:00
top: 2px;
2015-04-23 21:28:38 +02:00
left: 2px;
2015-04-17 03:56:46 +02:00
}
2015-04-23 21:28:38 +02:00
table td.peerPropagationChart {
padding: 4px 5px !important;
2015-04-17 03:51:48 +02:00
}
2015-01-20 19:29:31 +01:00
2015-04-17 11:10:20 +02:00
.table>tbody>tr>td,
.table>thead>tr>th {
padding: 5px;
}
.th-nodename {
2015-04-23 15:17:31 +02:00
width: 300px;
text-overflow: ellipsis;
}
.th-nodetype {
2015-04-24 00:38:09 +02:00
width: 220px;
2015-04-17 11:10:20 +02:00
}
.th-latency {
width: 100px;
}
.th-blockhash {
width: 150px;
}
.th-blocktime {
width: 110px;
}
.th-peerPropagationTime {
width: 120px;
}
2015-04-17 11:10:20 +02:00
.th-peerPropagationChart {
width: 140px;
}
.nodeInfo .tooltip .tooltip-inner {
max-width: 400px;
text-align: left;
font-size: 12px;
}
2015-01-20 19:29:31 +01:00
#mapHolder {
2015-02-08 16:03:05 +01:00
display: block;
2015-01-20 19:29:31 +01:00
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
height: auto;
}
#mapHolder > svg {
right: 0;
bottom: 0;
width: 100%;
height: 100%;
display: inline-block;
position: absolute;
top: 0;
left: 0;
}
2015-04-17 11:10:20 +02:00
.jqsfield {
position: relative;
padding: 5px 0;
width: auto;
left: -50%;
word-wrap: wrap;
text-align: center;
2015-04-04 01:57:57 +02:00
}
.d3-tip {
padding: 5px 0;
}
2015-04-24 02:08:12 +02:00
.jqsfield .tooltip-arrow {
2015-04-17 11:10:20 +02:00
position: absolute;
bottom: 0;
left: 50%;
margin-left: -5px;
border-width: 5px 5px 0;
border-top-color: #fff;
2015-04-05 18:22:49 +02:00
}
2015-04-24 02:08:12 +02:00
.datamaps-hoverover .tooltip-arrow,
.d3-tip .tooltip-arrow {
2015-04-17 11:10:20 +02:00
position: absolute;
top: -5px;
left: 0px;
margin-left: -5px;
border-width: 0px 5px 5px 5px;
border-bottom-color: #fff;
2015-04-05 18:22:49 +02:00
}
2015-04-24 02:08:12 +02:00
.d3-tip .tooltip-arrow {
top: 0px;
left: 50%;
}
2015-04-17 11:10:20 +02:00
.hoverinfo {
position: relative;
width: auto;
left: -50%;
text-align: center;
color: #333;
border: none !important;
box-shadow: none !important;
border-radius: 3px !important;
padding: 5px !important;
line-height: 14px !important;
2015-04-06 16:08:36 +02:00
}
2015-04-17 11:10:20 +02:00
.hoverinfo .propagationBox {
top: 3px;
2015-04-23 15:17:31 +02:00
}
svg {
overflow: visible !important;
}
svg .bars .bar {
2015-04-23 20:24:01 +02:00
opacity: 1;
shape-rendering: auto;
2015-04-23 15:17:31 +02:00
}
svg .bars .handle {
opacity: 0;
}
svg .bars .highlight {
opacity: 0;
}
2015-04-23 20:24:01 +02:00
svg .bars g:hover .highlight {
opacity: 1;
2015-04-23 15:17:31 +02:00
}
svg .line {
fill: none;
stroke: #ff0000;
2015-04-23 20:24:01 +02:00
stroke-width: 1.3px;
shape-rendering: geometric-precision;
-webkit-svg-shadow: 0 0 7px #fff;
2015-04-23 15:17:31 +02:00
}
svg .bar text {
text-anchor: end;
font-size: 12px;
}
svg .axis path,
svg .axis line {
fill: none;
stroke: rgba(255,255,255,0.15);
shape-rendering: crispEdges;
}
svg .axis text {
fill: #777;
font-size: 10px;
letter-spacing: 0px;
font-family: "Source Sans Pro";
font-weight: 700;
-webkit-font-smoothing: subpixel-antialiased;
-moz-font-smoothing: subpixel-antialiased;
2015-04-23 20:24:01 +02:00
}
svg .y.axis .tick:first-child text {
opacity: 0;
2015-04-17 11:10:20 +02:00
}