mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-09 04:46:00 +10:00
dc
This commit is contained in:
@@ -0,0 +1,317 @@
|
||||
div.dc-chart {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dc-chart rect.bar {
|
||||
stroke: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart rect.bar:hover {
|
||||
fill-opacity: .5;
|
||||
}
|
||||
|
||||
.dc-chart rect.stack1 {
|
||||
stroke: none;
|
||||
fill: red;
|
||||
}
|
||||
|
||||
.dc-chart rect.stack2 {
|
||||
stroke: none;
|
||||
fill: green;
|
||||
}
|
||||
|
||||
.dc-chart rect.deselected {
|
||||
stroke: none;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .empty-chart .pie-slice path {
|
||||
fill: #FFEEEE;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.dc-chart .empty-chart .pie-slice {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice {
|
||||
fill: white;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice.external{
|
||||
fill: black;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice :hover {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice.highlight {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart .selected path {
|
||||
stroke-width: 3;
|
||||
stroke: #ccc;
|
||||
fill-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .deselected path {
|
||||
stroke: none;
|
||||
fill-opacity: .5;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .axis path, .axis line {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
|
||||
.dc-chart .axis text {
|
||||
font: 10px sans-serif;
|
||||
}
|
||||
|
||||
.dc-chart .grid-line {
|
||||
fill: none;
|
||||
stroke: #ccc;
|
||||
opacity: .5;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
|
||||
.dc-chart .grid-line line {
|
||||
fill: none;
|
||||
stroke: #ccc;
|
||||
opacity: .5;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
|
||||
.dc-chart .brush rect.background {
|
||||
z-index: -999;
|
||||
}
|
||||
|
||||
.dc-chart .brush rect.extent {
|
||||
fill: steelblue;
|
||||
fill-opacity: .125;
|
||||
}
|
||||
|
||||
.dc-chart .brush .resize path {
|
||||
fill: #eee;
|
||||
stroke: #666;
|
||||
}
|
||||
|
||||
.dc-chart path.line {
|
||||
fill: none;
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
.dc-chart circle.dot {
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.dc-chart g.dc-tooltip path {
|
||||
fill: none;
|
||||
stroke: grey;
|
||||
stroke-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart path.area {
|
||||
fill-opacity: .3;
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.dc-chart .node {
|
||||
font-size: 0.7em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart .node :hover {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart .selected circle {
|
||||
stroke-width: 3;
|
||||
stroke: #ccc;
|
||||
fill-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .deselected circle {
|
||||
stroke: none;
|
||||
fill-opacity: .5;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .bubble {
|
||||
stroke: none;
|
||||
fill-opacity: 0.6;
|
||||
}
|
||||
|
||||
.dc-data-count {
|
||||
float: right;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.dc-data-count .filter-count {
|
||||
color: #3182bd;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dc-data-count .total-count {
|
||||
color: #3182bd;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dc-data-table {
|
||||
}
|
||||
|
||||
.dc-chart g.state {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart g.state :hover {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart g.state path {
|
||||
stroke: white;
|
||||
}
|
||||
|
||||
.dc-chart g.selected path {
|
||||
}
|
||||
|
||||
.dc-chart g.deselected path {
|
||||
fill: grey;
|
||||
}
|
||||
|
||||
.dc-chart g.selected text {
|
||||
}
|
||||
|
||||
.dc-chart g.deselected text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dc-chart g.county path {
|
||||
stroke: white;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.dc-chart g.debug rect {
|
||||
fill: blue;
|
||||
fill-opacity: .2;
|
||||
}
|
||||
|
||||
.dc-chart g.row rect {
|
||||
fill-opacity: 0.8;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart g.row rect:hover {
|
||||
fill-opacity: 0.6;
|
||||
}
|
||||
|
||||
.dc-chart g.row text {
|
||||
fill: white;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-legend {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.dc-legend-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart g.axis text {
|
||||
/* Makes it so the user can't accidentally click and select text that is meant as a label only */
|
||||
-webkit-user-select: none; /* Chrome/Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* IE10 */
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dc-chart path.highlight {
|
||||
stroke-width: 3;
|
||||
fill-opacity: 1;
|
||||
stroke-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .highlight {
|
||||
fill-opacity: 1;
|
||||
stroke-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .fadeout {
|
||||
fill-opacity: 0.2;
|
||||
stroke-opacity: 0.2;
|
||||
}
|
||||
|
||||
.dc-chart path.dc-symbol, g.dc-legend-item.fadeout {
|
||||
fill-opacity: 0.5;
|
||||
stroke-opacity: 0.5;
|
||||
}
|
||||
|
||||
.dc-hard .number-display {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.dc-chart .box text {
|
||||
font: 10px sans-serif;
|
||||
-webkit-user-select: none; /* Chrome/Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* IE10 */
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dc-chart .box line,
|
||||
.dc-chart .box circle {
|
||||
fill: #fff;
|
||||
stroke: #000;
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
.dc-chart .box rect {
|
||||
stroke: #000;
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
.dc-chart .box .center {
|
||||
stroke-dasharray: 3,3;
|
||||
}
|
||||
|
||||
.dc-chart .box .outlier {
|
||||
fill: none;
|
||||
stroke: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .box.deselected .box {
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .box.deselected {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.dc-chart .symbol{
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.dc-chart .heatmap .box-group.deselected rect {
|
||||
stroke: none;
|
||||
fill-opacity: .5;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .heatmap g.axis text {
|
||||
pointer-events: all;
|
||||
cursor: pointer;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Vendored
+4
File diff suppressed because one or more lines are too long
@@ -0,0 +1,317 @@
|
||||
div.dc-chart {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dc-chart rect.bar {
|
||||
stroke: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart rect.bar:hover {
|
||||
fill-opacity: .5;
|
||||
}
|
||||
|
||||
.dc-chart rect.stack1 {
|
||||
stroke: none;
|
||||
fill: red;
|
||||
}
|
||||
|
||||
.dc-chart rect.stack2 {
|
||||
stroke: none;
|
||||
fill: green;
|
||||
}
|
||||
|
||||
.dc-chart rect.deselected {
|
||||
stroke: none;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .empty-chart .pie-slice path {
|
||||
fill: #FFEEEE;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.dc-chart .empty-chart .pie-slice {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice {
|
||||
fill: white;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice.external{
|
||||
fill: black;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice :hover {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart .pie-slice.highlight {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart .selected path {
|
||||
stroke-width: 3;
|
||||
stroke: #ccc;
|
||||
fill-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .deselected path {
|
||||
stroke: none;
|
||||
fill-opacity: .5;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .axis path, .axis line {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
|
||||
.dc-chart .axis text {
|
||||
font: 10px sans-serif;
|
||||
}
|
||||
|
||||
.dc-chart .grid-line {
|
||||
fill: none;
|
||||
stroke: #ccc;
|
||||
opacity: .5;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
|
||||
.dc-chart .grid-line line {
|
||||
fill: none;
|
||||
stroke: #ccc;
|
||||
opacity: .5;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
|
||||
.dc-chart .brush rect.background {
|
||||
z-index: -999;
|
||||
}
|
||||
|
||||
.dc-chart .brush rect.extent {
|
||||
fill: steelblue;
|
||||
fill-opacity: .125;
|
||||
}
|
||||
|
||||
.dc-chart .brush .resize path {
|
||||
fill: #eee;
|
||||
stroke: #666;
|
||||
}
|
||||
|
||||
.dc-chart path.line {
|
||||
fill: none;
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
.dc-chart circle.dot {
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.dc-chart g.dc-tooltip path {
|
||||
fill: none;
|
||||
stroke: grey;
|
||||
stroke-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart path.area {
|
||||
fill-opacity: .3;
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.dc-chart .node {
|
||||
font-size: 0.7em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart .node :hover {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart .selected circle {
|
||||
stroke-width: 3;
|
||||
stroke: #ccc;
|
||||
fill-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .deselected circle {
|
||||
stroke: none;
|
||||
fill-opacity: .5;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .bubble {
|
||||
stroke: none;
|
||||
fill-opacity: 0.6;
|
||||
}
|
||||
|
||||
.dc-data-count {
|
||||
float: right;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.dc-data-count .filter-count {
|
||||
color: #3182bd;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dc-data-count .total-count {
|
||||
color: #3182bd;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dc-data-table {
|
||||
}
|
||||
|
||||
.dc-chart g.state {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart g.state :hover {
|
||||
fill-opacity: .8;
|
||||
}
|
||||
|
||||
.dc-chart g.state path {
|
||||
stroke: white;
|
||||
}
|
||||
|
||||
.dc-chart g.selected path {
|
||||
}
|
||||
|
||||
.dc-chart g.deselected path {
|
||||
fill: grey;
|
||||
}
|
||||
|
||||
.dc-chart g.selected text {
|
||||
}
|
||||
|
||||
.dc-chart g.deselected text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dc-chart g.county path {
|
||||
stroke: white;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.dc-chart g.debug rect {
|
||||
fill: blue;
|
||||
fill-opacity: .2;
|
||||
}
|
||||
|
||||
.dc-chart g.row rect {
|
||||
fill-opacity: 0.8;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart g.row rect:hover {
|
||||
fill-opacity: 0.6;
|
||||
}
|
||||
|
||||
.dc-chart g.row text {
|
||||
fill: white;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-legend {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.dc-legend-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dc-chart g.axis text {
|
||||
/* Makes it so the user can't accidentally click and select text that is meant as a label only */
|
||||
-webkit-user-select: none; /* Chrome/Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* IE10 */
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dc-chart path.highlight {
|
||||
stroke-width: 3;
|
||||
fill-opacity: 1;
|
||||
stroke-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .highlight {
|
||||
fill-opacity: 1;
|
||||
stroke-opacity: 1;
|
||||
}
|
||||
|
||||
.dc-chart .fadeout {
|
||||
fill-opacity: 0.2;
|
||||
stroke-opacity: 0.2;
|
||||
}
|
||||
|
||||
.dc-chart path.dc-symbol, g.dc-legend-item.fadeout {
|
||||
fill-opacity: 0.5;
|
||||
stroke-opacity: 0.5;
|
||||
}
|
||||
|
||||
.dc-hard .number-display {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.dc-chart .box text {
|
||||
font: 10px sans-serif;
|
||||
-webkit-user-select: none; /* Chrome/Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* IE10 */
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dc-chart .box line,
|
||||
.dc-chart .box circle {
|
||||
fill: #fff;
|
||||
stroke: #000;
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
.dc-chart .box rect {
|
||||
stroke: #000;
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
.dc-chart .box .center {
|
||||
stroke-dasharray: 3,3;
|
||||
}
|
||||
|
||||
.dc-chart .box .outlier {
|
||||
fill: none;
|
||||
stroke: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .box.deselected .box {
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .box.deselected {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.dc-chart .symbol{
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.dc-chart .heatmap .box-group.deselected rect {
|
||||
stroke: none;
|
||||
fill-opacity: .5;
|
||||
fill: #ccc;
|
||||
}
|
||||
|
||||
.dc-chart .heatmap g.axis text {
|
||||
pointer-events: all;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dc",
|
||||
"filename": "dc.min.js",
|
||||
"version": "1.7.1",
|
||||
"version": "2.0.0-alpha.2",
|
||||
"license": "Apache-2.0",
|
||||
"copyright": "2014",
|
||||
"description": "A multi-dimensional charting library built to work natively with crossfilter and rendered using d3.js ",
|
||||
|
||||
+6
-4
@@ -177,12 +177,17 @@ var processNewVersion = function(pkg, version){
|
||||
var copyPath = path.join(libPath, copyPart)
|
||||
fs.mkdirsSync(path.dirname(copyPath))
|
||||
fs.renameSync(extractFilePath, copyPath);
|
||||
updated = true
|
||||
updated = true;
|
||||
});
|
||||
});
|
||||
});
|
||||
if(updated){
|
||||
newVersionCount++;
|
||||
var libPatha =path.normalize(path.join(__dirname, 'ajax', 'libs', pkg.name, 'package.json'));
|
||||
console.log('------------'.red, libPatha.green);
|
||||
pkg.version = version;
|
||||
|
||||
fs.writeFileSync(libPatha, JSON.stringify(pkg, null, 2) + '\n', 'utf8');
|
||||
}
|
||||
return errors;
|
||||
}
|
||||
@@ -253,9 +258,6 @@ var updateLibrary = function (pkg, cb) {
|
||||
}, function(err){
|
||||
var msg = 'Library finished' + (err ? ' ' + err.error : '');
|
||||
console.log(msg);
|
||||
var npmVersion = result.body['dist-tags'] && result.body['dist-tags'].latest || 0;
|
||||
pkg.version = npmVersion;
|
||||
fs.writeFileSync('ajax/libs/' + pkg.name + '/package.json', JSON.stringify(pkg, null, 2) + '\n', 'utf8');
|
||||
cb(null);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user