Skip to content

Commit b44a924

Browse files
committed
dc
1 parent 6b3f59e commit b44a924

File tree

6 files changed

+8518
-5
lines changed

6 files changed

+8518
-5
lines changed

ajax/libs/dc/2.0.0-alpha.2/dc.css

Lines changed: 317 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,317 @@
1+
div.dc-chart {
2+
float: left;
3+
}
4+
5+
.dc-chart rect.bar {
6+
stroke: none;
7+
cursor: pointer;
8+
}
9+
10+
.dc-chart rect.bar:hover {
11+
fill-opacity: .5;
12+
}
13+
14+
.dc-chart rect.stack1 {
15+
stroke: none;
16+
fill: red;
17+
}
18+
19+
.dc-chart rect.stack2 {
20+
stroke: none;
21+
fill: green;
22+
}
23+
24+
.dc-chart rect.deselected {
25+
stroke: none;
26+
fill: #ccc;
27+
}
28+
29+
.dc-chart .empty-chart .pie-slice path {
30+
fill: #FFEEEE;
31+
cursor: default;
32+
}
33+
34+
.dc-chart .empty-chart .pie-slice {
35+
cursor: default;
36+
}
37+
38+
.dc-chart .pie-slice {
39+
fill: white;
40+
font-size: 12px;
41+
cursor: pointer;
42+
}
43+
44+
.dc-chart .pie-slice.external{
45+
fill: black;
46+
}
47+
48+
.dc-chart .pie-slice :hover {
49+
fill-opacity: .8;
50+
}
51+
52+
.dc-chart .pie-slice.highlight {
53+
fill-opacity: .8;
54+
}
55+
56+
.dc-chart .selected path {
57+
stroke-width: 3;
58+
stroke: #ccc;
59+
fill-opacity: 1;
60+
}
61+
62+
.dc-chart .deselected path {
63+
stroke: none;
64+
fill-opacity: .5;
65+
fill: #ccc;
66+
}
67+
68+
.dc-chart .axis path, .axis line {
69+
fill: none;
70+
stroke: #000;
71+
shape-rendering: crispEdges;
72+
}
73+
74+
.dc-chart .axis text {
75+
font: 10px sans-serif;
76+
}
77+
78+
.dc-chart .grid-line {
79+
fill: none;
80+
stroke: #ccc;
81+
opacity: .5;
82+
shape-rendering: crispEdges;
83+
}
84+
85+
.dc-chart .grid-line line {
86+
fill: none;
87+
stroke: #ccc;
88+
opacity: .5;
89+
shape-rendering: crispEdges;
90+
}
91+
92+
.dc-chart .brush rect.background {
93+
z-index: -999;
94+
}
95+
96+
.dc-chart .brush rect.extent {
97+
fill: steelblue;
98+
fill-opacity: .125;
99+
}
100+
101+
.dc-chart .brush .resize path {
102+
fill: #eee;
103+
stroke: #666;
104+
}
105+
106+
.dc-chart path.line {
107+
fill: none;
108+
stroke-width: 1.5px;
109+
}
110+
111+
.dc-chart circle.dot {
112+
stroke: none;
113+
}
114+
115+
.dc-chart g.dc-tooltip path {
116+
fill: none;
117+
stroke: grey;
118+
stroke-opacity: .8;
119+
}
120+
121+
.dc-chart path.area {
122+
fill-opacity: .3;
123+
stroke: none;
124+
}
125+
126+
.dc-chart .node {
127+
font-size: 0.7em;
128+
cursor: pointer;
129+
}
130+
131+
.dc-chart .node :hover {
132+
fill-opacity: .8;
133+
}
134+
135+
.dc-chart .selected circle {
136+
stroke-width: 3;
137+
stroke: #ccc;
138+
fill-opacity: 1;
139+
}
140+
141+
.dc-chart .deselected circle {
142+
stroke: none;
143+
fill-opacity: .5;
144+
fill: #ccc;
145+
}
146+
147+
.dc-chart .bubble {
148+
stroke: none;
149+
fill-opacity: 0.6;
150+
}
151+
152+
.dc-data-count {
153+
float: right;
154+
margin-top: 15px;
155+
margin-right: 15px;
156+
}
157+
158+
.dc-data-count .filter-count {
159+
color: #3182bd;
160+
font-weight: bold;
161+
}
162+
163+
.dc-data-count .total-count {
164+
color: #3182bd;
165+
font-weight: bold;
166+
}
167+
168+
.dc-data-table {
169+
}
170+
171+
.dc-chart g.state {
172+
cursor: pointer;
173+
}
174+
175+
.dc-chart g.state :hover {
176+
fill-opacity: .8;
177+
}
178+
179+
.dc-chart g.state path {
180+
stroke: white;
181+
}
182+
183+
.dc-chart g.selected path {
184+
}
185+
186+
.dc-chart g.deselected path {
187+
fill: grey;
188+
}
189+
190+
.dc-chart g.selected text {
191+
}
192+
193+
.dc-chart g.deselected text {
194+
display: none;
195+
}
196+
197+
.dc-chart g.county path {
198+
stroke: white;
199+
fill: none;
200+
}
201+
202+
.dc-chart g.debug rect {
203+
fill: blue;
204+
fill-opacity: .2;
205+
}
206+
207+
.dc-chart g.row rect {
208+
fill-opacity: 0.8;
209+
cursor: pointer;
210+
}
211+
212+
.dc-chart g.row rect:hover {
213+
fill-opacity: 0.6;
214+
}
215+
216+
.dc-chart g.row text {
217+
fill: white;
218+
font-size: 12px;
219+
cursor: pointer;
220+
}
221+
222+
.dc-legend {
223+
font-size: 11px;
224+
}
225+
226+
.dc-legend-item {
227+
cursor: pointer;
228+
}
229+
230+
.dc-chart g.axis text {
231+
/* Makes it so the user can't accidentally click and select text that is meant as a label only */
232+
-webkit-user-select: none; /* Chrome/Safari */
233+
-moz-user-select: none; /* Firefox */
234+
-ms-user-select: none; /* IE10 */
235+
-o-user-select: none;
236+
user-select: none;
237+
pointer-events: none;
238+
}
239+
240+
.dc-chart path.highlight {
241+
stroke-width: 3;
242+
fill-opacity: 1;
243+
stroke-opacity: 1;
244+
}
245+
246+
.dc-chart .highlight {
247+
fill-opacity: 1;
248+
stroke-opacity: 1;
249+
}
250+
251+
.dc-chart .fadeout {
252+
fill-opacity: 0.2;
253+
stroke-opacity: 0.2;
254+
}
255+
256+
.dc-chart path.dc-symbol, g.dc-legend-item.fadeout {
257+
fill-opacity: 0.5;
258+
stroke-opacity: 0.5;
259+
}
260+
261+
.dc-hard .number-display {
262+
float: none;
263+
}
264+
265+
.dc-chart .box text {
266+
font: 10px sans-serif;
267+
-webkit-user-select: none; /* Chrome/Safari */
268+
-moz-user-select: none; /* Firefox */
269+
-ms-user-select: none; /* IE10 */
270+
-o-user-select: none;
271+
user-select: none;
272+
pointer-events: none;
273+
}
274+
275+
.dc-chart .box line,
276+
.dc-chart .box circle {
277+
fill: #fff;
278+
stroke: #000;
279+
stroke-width: 1.5px;
280+
}
281+
282+
.dc-chart .box rect {
283+
stroke: #000;
284+
stroke-width: 1.5px;
285+
}
286+
287+
.dc-chart .box .center {
288+
stroke-dasharray: 3,3;
289+
}
290+
291+
.dc-chart .box .outlier {
292+
fill: none;
293+
stroke: #ccc;
294+
}
295+
296+
.dc-chart .box.deselected .box {
297+
fill: #ccc;
298+
}
299+
300+
.dc-chart .box.deselected {
301+
opacity: .5;
302+
}
303+
304+
.dc-chart .symbol{
305+
stroke: none;
306+
}
307+
308+
.dc-chart .heatmap .box-group.deselected rect {
309+
stroke: none;
310+
fill-opacity: .5;
311+
fill: #ccc;
312+
}
313+
314+
.dc-chart .heatmap g.axis text {
315+
pointer-events: all;
316+
cursor: pointer;
317+
}

0 commit comments

Comments
 (0)