Move all svg styling to css

This commit is contained in:
2015-10-31 23:16:21 +03:00
parent abff920248
commit e6d5ac7ef9
2 changed files with 47 additions and 23 deletions
+31 -3
View File
@@ -41,7 +41,7 @@ body {
.linechart {
float: left;
width: 330px;
width: 300px;
height: 150px;
margin-right: 15px;
}
@@ -49,6 +49,16 @@ body {
width: 100%;
height: 100%;
}
.linechart .line {
stroke-width: 1px;
fill: transparent;
}
.linechart .line.processed {
stroke: #46f;
}
.linechart .line.errors {
stroke: #f64;
}
/*
@@ -57,13 +67,31 @@ body {
.boxplot {
float: left;
width: 455px;
height: 150px;
width: 485px;
height: 200px;
}
.boxplot svg {
width: 100%;
height: 100%;
}
.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;
}
.daemon {
width: 100%;