Skip to content

Commit

Permalink
Refactor of visualize page navigation style
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Aug 10, 2015
1 parent bc1cba7 commit b329dc4
Show file tree
Hide file tree
Showing 7 changed files with 228 additions and 78 deletions.
2 changes: 2 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ module.exports = function (grunt) {
production = grunt.option('production') === true,
sumBuildOptions = development + staging + production;

grunt.log.writeln("FLAGS::\n", grunt.option.flags());

// if none set, set default to prod
if (sumBuildOptions === 0) {
if (grunt.cli.tasks && grunt.cli.tasks.length > 0) {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"devDependencies": {
"babel": "^5.5.4",
"bower": "^1.4",
"connect-gzip-static": "^1.0.0",
"connect-modrewrite": "0.7.x",
"grunt": "~0.4.1",
Expand All @@ -37,11 +38,11 @@
"karma-coverage": "^0.4",
"karma-firefox-launcher": "~0.1.3",
"karma-jasmine": "^0.3.x",
"phantomjs": "^1.9",
"karma-phantomjs-launcher": "~0.2",
"karma-sourcemap-loader": "^0.3.5",
"bower": "^1.4",
"lodash": "^3.7",
"phantomjs": "^1.9",
"round-date": "^1.1.1",
"slash": "^1.0.0"
},
"scripts": {
Expand Down
29 changes: 29 additions & 0 deletions src/app/d3Bindings/eventDistribution/_eventDistribution.scss
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,35 @@ event-distribution-visualisation {
}

}

.focusGroup {
text-anchor: middle;
shape-rendering: crispEdges;

.focusLine {
fill: $visualization-brush-stroke;
}

.focusTextGroup {

& path {
fill: none;
stroke-width: 1px;
stroke: $visualization-brush-stroke;
}
}

.focusAnchor.disabled {
pointer-events: none;
}
.focusText {
fill: $text-muted;
}
.focusAnchor[*|href] > .focusText {
fill: $link-color;
}

}
}

dl {
Expand Down
Loading

0 comments on commit b329dc4

Please sign in to comment.