Browse Source

Modify class spec - #93

pull/104/head
Masayuki Tanaka 11 years ago
parent
commit
56ef64cd6f
  1. 48
      c3.css
  2. 405
      c3.js
  3. 4
      c3.min.js

48
c3.css

@ -14,95 +14,95 @@ text {
user-select: none; user-select: none;
} }
.chart-arc path { .c3-chart-arc path {
stroke: #fff; stroke: #fff;
} }
.chart-arc text { .c3-chart-arc text {
fill: #fff; fill: #fff;
font-size: 13px; font-size: 13px;
} }
/*-- Grid --*/ /*-- Grid --*/
.grid line { .c3-grid line {
stroke: #aaa; stroke: #aaa;
} }
.grid text { .c3-grid text {
fill: #aaa; fill: #aaa;
} }
.xgrid, .ygrid { .c3-xgrid, .c3-ygrid {
stroke-dasharray: 3 3; stroke-dasharray: 3 3;
} }
.xgrid-focus { .c3-xgrid-focus {
} }
/*-- Text on Chart --*/ /*-- Text on Chart --*/
.-text { .c3-text {
} }
/*-- Line --*/ /*-- Line --*/
.-line { .c3-line {
stroke-width: 1px; stroke-width: 1px;
} }
/*-- Point --*/ /*-- Point --*/
.-circle._expanded_ { .c3-circle._expanded_ {
stroke-width: 1px; stroke-width: 1px;
stroke: white; stroke: white;
} }
.selected-circle { .c3-selected-circle {
fill: white; fill: white;
stroke-width: 2px; stroke-width: 2px;
} }
/*-- Bar --*/ /*-- Bar --*/
.-bar._expanded_ { .c3-bar._expanded_ {
fill-opacity: 0.75; fill-opacity: 0.75;
} }
/*-- Arc --*/ /*-- Arc --*/
.chart-arcs-title { .c3-chart-arcs-title {
font-size: 1.3em; font-size: 1.3em;
} }
/*-- Focus --*/ /*-- Focus --*/
.target.focused path.-line { .c3-target.c3-focused path.-line {
stroke-width: 2px; stroke-width: 2px;
} }
/*-- Region --*/ /*-- Region --*/
.region { .c3-region {
fill: steelblue; fill: steelblue;
fill-opacity: .1; fill-opacity: .1;
} }
/*-- Brush --*/ /*-- Brush --*/
.brush .extent { .c3-brush .extent {
fill-opacity: .1; fill-opacity: .1;
} }
/*-- Select - Drag --*/ /*-- Select - Drag --*/
.dragarea { .c3-dragarea {
} }
/*-- Legend --*/ /*-- Legend --*/
.legend-item { .c3-legend-item {
font-size: 12px; font-size: 12px;
} }
/*-- Tooltip --*/ /*-- Tooltip --*/
.-tooltip { .c3-tooltip {
border-collapse:collapse; border-collapse:collapse;
border-spacing:0; border-spacing:0;
background-color:#fff; background-color:#fff;
@ -112,33 +112,33 @@ text {
box-shadow: 7px 7px 12px -9px rgb(119,119,119); box-shadow: 7px 7px 12px -9px rgb(119,119,119);
opacity: 0.9; opacity: 0.9;
} }
.-tooltip tr { .c3-tooltip tr {
border:1px solid #CCC; border:1px solid #CCC;
} }
.-tooltip th { .c3-tooltip th {
background-color: #aaa; background-color: #aaa;
font-size:14px; font-size:14px;
padding:2px 5px; padding:2px 5px;
text-align:left; text-align:left;
color:#FFF; color:#FFF;
} }
.-tooltip td { .c3-tooltip td {
font-size:13px; font-size:13px;
padding: 3px 6px; padding: 3px 6px;
background-color:#fff; background-color:#fff;
border-left:1px dotted #999; border-left:1px dotted #999;
} }
.-tooltip td > span { .c3-tooltip td > span {
display: inline-block; display: inline-block;
width: 10px; width: 10px;
height: 10px; height: 10px;
margin-right: 6px; margin-right: 6px;
} }
.-tooltip td.value{ .c3-tooltip td.value{
text-align: right; text-align: right;
} }
.-area { .c3-area {
stroke-width: 0; stroke-width: 0;
opacity: 0.2; opacity: 0.2;
} }

405
c3.js

File diff suppressed because it is too large Load Diff

4
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save