shezmu/dashboard/css/app.css

109 lines
1.7 KiB
CSS
Raw Normal View History

2015-10-31 22:00:50 +03:00
* { box-sizing: border-box; }
2015-10-28 22:42:01 +03:00
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
2015-10-29 02:33:50 +03:00
font-size: 16px;
2015-10-28 22:42:01 +03:00
}
#app {
2015-10-31 22:55:38 +03:00
width: 800px;
2015-10-28 22:42:01 +03:00
margin: 0 auto;
}
2015-10-31 22:55:38 +03:00
/*
* Table
*/
.table-row {
width: 800px;
height: 40px;
2015-10-31 22:00:50 +03:00
}
2015-10-31 22:55:38 +03:00
.table-cell {
float: left;
width: 120px;
line-height: 40px;
text-align: right;
2015-11-01 22:30:49 +03:00
font-family: monospace;
2015-10-31 22:55:38 +03:00
}
.table-cell.col-name {
width: 200px;
text-align: left;
2015-10-31 22:00:50 +03:00
font-weight: 600;
2015-11-01 22:30:49 +03:00
font-family: inherit;
2015-10-31 22:00:50 +03:00
}
2015-10-31 22:55:38 +03:00
.table-header .table-cell {
font-weight: 600;
border-bottom: #666 1px solid;
2015-11-01 22:30:49 +03:00
font-family: inherit;
2015-10-31 22:55:38 +03:00
}
2015-10-31 22:00:50 +03:00
2015-10-31 22:55:38 +03:00
/*
* Line chart
*/
.linechart {
float: left;
2015-10-31 23:16:21 +03:00
width: 300px;
height: 150px;
2015-10-31 22:55:38 +03:00
margin-right: 15px;
}
2015-10-31 22:55:38 +03:00
.linechart svg {
2015-10-31 22:00:50 +03:00
width: 100%;
2015-10-31 22:55:38 +03:00
height: 100%;
2015-10-31 22:00:50 +03:00
}
2015-10-31 23:16:21 +03:00
.linechart .line {
stroke-width: 1px;
fill: transparent;
}
.linechart .line.processed {
stroke: #46f;
}
.linechart .line.errors {
stroke: #f64;
}
2015-10-31 23:53:10 +03:00
.linechart .axis {
2015-11-01 22:31:04 +03:00
stroke: #888;
2015-10-31 23:53:10 +03:00
}
.linechart .arrow {
2015-11-01 22:31:04 +03:00
stroke: #888;
fill: #888;
2015-10-31 23:53:10 +03:00
}
2015-10-28 22:42:01 +03:00
2015-10-31 22:55:38 +03:00
/*
* Box plot
*/
.boxplot {
float: left;
2015-10-31 23:16:21 +03:00
width: 485px;
height: 200px;
2015-10-31 22:55:38 +03:00
}
.boxplot svg {
width: 100%;
height: 100%;
}
2015-10-31 23:16:21 +03:00
.boxplot .tick {
stroke-width: 1px;
stroke: #aaa;
}
.boxplot .whisker {
stroke-width: 1px;
stroke: #ccc;
stroke-dasharray: 3, 1;
}
.boxplot .iqr {
stroke-width: 1px;
fill: #f0f0f0;
stroke: #888;
}
.boxplot .median {
stroke-width: 2px;
stroke: #444;
}
2015-10-31 22:55:38 +03:00
.daemon {
width: 100%;
}