c3-rails 0.4.8 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,217 +1,158 @@
1
1
  /*-- Chart --*/
2
-
3
2
  .c3 svg {
4
- font: 10px sans-serif;
5
- }
3
+ font: 10px sans-serif; }
4
+
6
5
  .c3 path, .c3 line {
7
6
  fill: none;
8
- stroke: #000;
9
- }
7
+ stroke: #000; }
8
+
10
9
  .c3 text {
11
10
  -webkit-user-select: none;
12
- -moz-user-select: none;
13
- user-select: none;
14
- }
15
-
16
- .c3-legend-item-tile,
17
- .c3-xgrid-focus,
18
- .c3-ygrid,
19
- .c3-event-rect,
20
- .c3-bars path {
21
- shape-rendering: crispEdges;
22
- }
11
+ -moz-user-select: none;
12
+ user-select: none; }
13
+
14
+ .c3-legend-item-tile, .c3-xgrid-focus, .c3-ygrid, .c3-event-rect, .c3-bars path {
15
+ shape-rendering: crispEdges; }
23
16
 
24
17
  .c3-chart-arc path {
25
- stroke: #fff;
18
+ stroke: #fff; }
26
19
 
27
- }
28
20
  .c3-chart-arc text {
29
21
  fill: #fff;
30
- font-size: 13px;
31
- }
22
+ font-size: 13px; }
32
23
 
33
24
  /*-- Axis --*/
34
-
35
- .c3-axis-x .tick {
36
- }
37
- .c3-axis-x-label {
38
- }
39
-
40
- .c3-axis-y .tick {
41
- }
42
- .c3-axis-y-label {
43
- }
44
-
45
- .c3-axis-y2 .tick {
46
- }
47
- .c3-axis-y2-label {
48
- }
49
-
50
25
  /*-- Grid --*/
51
-
52
26
  .c3-grid line {
53
- stroke: #aaa;
54
- }
27
+ stroke: #aaa; }
28
+
55
29
  .c3-grid text {
56
- fill: #aaa;
57
- }
30
+ fill: #aaa; }
31
+
58
32
  .c3-xgrid, .c3-ygrid {
59
- stroke-dasharray: 3 3;
60
- }
61
- .c3-xgrid-focus {
62
- }
33
+ stroke-dasharray: 3 3; }
63
34
 
64
35
  /*-- Text on Chart --*/
65
-
66
- .c3-text {
67
- }
68
-
69
36
  .c3-text.c3-empty {
70
37
  fill: #808080;
71
- font-size: 2em;
72
- }
38
+ font-size: 2em; }
73
39
 
74
40
  /*-- Line --*/
75
-
76
41
  .c3-line {
77
- stroke-width: 1px;
78
- }
79
- /*-- Point --*/
42
+ stroke-width: 1px; }
80
43
 
44
+ /*-- Point --*/
81
45
  .c3-circle._expanded_ {
82
46
  stroke-width: 1px;
83
- stroke: white;
84
- }
47
+ stroke: white; }
48
+
85
49
  .c3-selected-circle {
86
50
  fill: white;
87
- stroke-width: 2px;
88
- }
51
+ stroke-width: 2px; }
89
52
 
90
53
  /*-- Bar --*/
91
-
92
54
  .c3-bar {
93
- stroke-width: 0;
94
- }
95
- .c3-bar._expanded_ {
96
- fill-opacity: 0.75;
97
- }
98
-
99
- /*-- Arc --*/
55
+ stroke-width: 0; }
100
56
 
101
- .c3-chart-arcs-title {
102
- dominant-baseline: middle;
103
- font-size: 1.3em;
104
- }
57
+ .c3-bar._expanded_ {
58
+ fill-opacity: 0.75; }
105
59
 
106
60
  /*-- Focus --*/
107
-
108
61
  .c3-target.c3-focused {
109
- opacity: 1;
110
- }
62
+ opacity: 1; }
63
+
111
64
  .c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
112
- stroke-width: 2px;
113
- }
114
- .c3-target.c3-defocused {
115
- opacity: 0.3 !important;
116
- }
65
+ stroke-width: 2px; }
117
66
 
67
+ .c3-target.c3-defocused {
68
+ opacity: 0.3 !important; }
118
69
 
119
70
  /*-- Region --*/
120
-
121
71
  .c3-region {
122
72
  fill: steelblue;
123
- fill-opacity: .1;
124
- }
73
+ fill-opacity: 0.1; }
125
74
 
126
75
  /*-- Brush --*/
127
-
128
76
  .c3-brush .extent {
129
- fill-opacity: .1;
130
- }
77
+ fill-opacity: 0.1; }
131
78
 
132
79
  /*-- Select - Drag --*/
133
-
134
- .c3-dragarea {
135
- }
136
-
137
80
  /*-- Legend --*/
138
-
139
81
  .c3-legend-item {
140
- font-size: 12px;
141
- }
82
+ font-size: 12px; }
83
+
142
84
  .c3-legend-item-hidden {
143
- opacity: 0.15;
144
- }
85
+ opacity: 0.15; }
145
86
 
146
87
  .c3-legend-background {
147
88
  opacity: 0.75;
148
89
  fill: white;
149
90
  stroke: lightgray;
150
- stroke-width: 1
151
- }
91
+ stroke-width: 1; }
152
92
 
153
93
  /*-- Tooltip --*/
154
-
155
94
  .c3-tooltip-container {
156
- z-index: 10;
157
- }
95
+ z-index: 10; }
96
+
158
97
  .c3-tooltip {
159
- border-collapse:collapse;
160
- border-spacing:0;
161
- background-color:#fff;
162
- empty-cells:show;
163
- -webkit-box-shadow: 7px 7px 12px -9px rgb(119,119,119);
164
- -moz-box-shadow: 7px 7px 12px -9px rgb(119,119,119);
165
- box-shadow: 7px 7px 12px -9px rgb(119,119,119);
166
- opacity: 0.9;
167
- }
98
+ border-collapse: collapse;
99
+ border-spacing: 0;
100
+ background-color: #fff;
101
+ empty-cells: show;
102
+ -webkit-box-shadow: 7px 7px 12px -9px #777777;
103
+ -moz-box-shadow: 7px 7px 12px -9px #777777;
104
+ box-shadow: 7px 7px 12px -9px #777777;
105
+ opacity: 0.9; }
106
+
168
107
  .c3-tooltip tr {
169
- border:1px solid #CCC;
170
- }
108
+ border: 1px solid #CCC; }
109
+
171
110
  .c3-tooltip th {
172
111
  background-color: #aaa;
173
- font-size:14px;
174
- padding:2px 5px;
175
- text-align:left;
176
- color:#FFF;
177
- }
112
+ font-size: 14px;
113
+ padding: 2px 5px;
114
+ text-align: left;
115
+ color: #FFF; }
116
+
178
117
  .c3-tooltip td {
179
- font-size:13px;
118
+ font-size: 13px;
180
119
  padding: 3px 6px;
181
- background-color:#fff;
182
- border-left:1px dotted #999;
183
- }
120
+ background-color: #fff;
121
+ border-left: 1px dotted #999; }
122
+
184
123
  .c3-tooltip td > span {
185
124
  display: inline-block;
186
125
  width: 10px;
187
126
  height: 10px;
188
- margin-right: 6px;
189
- }
190
- .c3-tooltip td.value{
191
- text-align: right;
192
- }
127
+ margin-right: 6px; }
128
+
129
+ .c3-tooltip td.value {
130
+ text-align: right; }
193
131
 
132
+ /*-- Area --*/
194
133
  .c3-area {
195
134
  stroke-width: 0;
196
- opacity: 0.2;
197
- }
135
+ opacity: 0.2; }
136
+
137
+ /*-- Arc --*/
138
+ .c3-chart-arcs-title {
139
+ dominant-baseline: middle;
140
+ font-size: 1.3em; }
198
141
 
199
142
  .c3-chart-arcs .c3-chart-arcs-background {
200
143
  fill: #e0e0e0;
201
- stroke: none;
202
- }
144
+ stroke: none; }
145
+
203
146
  .c3-chart-arcs .c3-chart-arcs-gauge-unit {
204
147
  fill: #000;
205
- font-size: 16px;
206
- }
148
+ font-size: 16px; }
149
+
207
150
  .c3-chart-arcs .c3-chart-arcs-gauge-max {
208
- fill: #777;
209
- }
151
+ fill: #777; }
152
+
210
153
  .c3-chart-arcs .c3-chart-arcs-gauge-min {
211
- fill: #777;
212
- }
154
+ fill: #777; }
213
155
 
214
156
  .c3-chart-arc .c3-gauge-value {
215
157
  fill: #000;
216
- /* font-size: 28px !important;*/
217
- }
158
+ /* font-size: 28px !important;*/ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c3-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunny Li
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-16 00:00:00.000000000 Z
11
+ date: 2015-04-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem provides "c3 - A D3-based reusable chart library" for Rails
14
14
  email: