Quite good looking graph derived from d3.js http://c3js.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

142 lines
1.8 KiB

12 years ago
/*-- Chart --*/
svg {
font: 10px sans-serif;
}
path, line {
fill: none;
stroke: #000;
stroke-width: 1px;
}
text {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
12 years ago
.chart-arc path {
stroke: #fff;
}
.chart-arc text {
fill: #fff;
font-size: 13px;
}
12 years ago
/*-- Grid --*/
.grid line {
stroke: #ccc;
}
.xgrid, .ygrid {
stroke-dasharray: 3 3;
}
.xgrid-focus {
}
/*-- Line --*/
.-line {
12 years ago
stroke-width: 1px;
}
/*-- Point --*/
.-circle._expanded_ {
stroke-width: 1px;
stroke: white;
}
12 years ago
.selected-circle {
fill: white;
stroke-width: 2px;
}
/*-- Bar --*/
.-bar._expanded_ {
stroke-width: 1px;
fill-opacity: 0.6;
}
/* TODO: use this*/
.-bar._selected_ {
stroke-width: 1px;
fill-opacity: 0.3;
}
.selected-bar {
fill: white;
stroke-width: 2px;
}
12 years ago
/*-- Focus --*/
.target.focused path.-line {
12 years ago
stroke-width: 2px;
}
/*-- Region --*/
.region {
fill: steelblue;
12 years ago
fill-opacity: .1;
12 years ago
}
/*-- Brush --*/
.brush .extent {
fill-opacity: .1;
}
/*-- Select - Drag --*/
.dragarea {
}
/*-- Legend --*/
.legend-item {
font-size: 12px;
}
/*-- Tooltip --*/
12 years ago
.-tooltip {
12 years ago
border-collapse:collapse;
border-spacing:0;
background-color:#fff;
empty-cells:show;
-webkit-box-shadow: 7px 7px 12px -9px rgba(119,119,119,10);
-moz-box-shadow: 7px 7px 12px -9px rgba(119,119,119,10);
box-shadow: 7px 7px 12px -9px rgba(119,119,119,10);
opacity: 0.9;
12 years ago
}
12 years ago
.-tooltip tr {
12 years ago
border:1px solid #CCC;
}
12 years ago
.-tooltip th {
12 years ago
background-color: #aaa;
font-size:14px;
padding:2px 5px;
text-align:left;
color:#FFF;
}
12 years ago
.-tooltip td {
12 years ago
font-size:13px;
padding: 3px 6px;
12 years ago
background-color:#fff;
border-left:1px dotted #999;
}
12 years ago
.-tooltip td > span {
display: inline-block;
width: 10px;
height: 10px;
margin-right: 6px;
}
12 years ago
.-tooltip td.value{
12 years ago
text-align: right;
}
.-area {
stroke-width: 0;
opacity: 0.2;
}