Skip to content

Commit

Permalink
added blip name on blip hovering, fixed rings in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Trecenti committed Sep 1, 2015
1 parent 81d5385 commit 4e488d9
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 29 deletions.
35 changes: 26 additions & 9 deletions examples/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ body {

svg {
padding: 20px; }
svg .first {
fill: #83ad78; }
svg .second {
fill: #3db5be; }
svg .third {
fill: #e88744; }
svg .fourth {
fill: #8d2145; }
svg circle:nth-child(1) {
stroke: none;
fill: #eaeaea; }
Expand All @@ -23,17 +15,42 @@ svg {
svg circle:nth-child(4) {
stroke: none;
fill: #bababa; }
svg circle, svg polygon {
svg .blip-group {
cursor: pointer; }
svg circle.first, svg polygon.first {
fill: #83ad78;
stroke: #fff; }
svg circle.second, svg polygon.second {
fill: #3db5be;
stroke: #fff; }
svg circle.third, svg polygon.third {
fill: #e88744;
stroke: #fff; }
svg circle.fourth, svg polygon.fourth {
fill: #8d2145;
stroke: #fff; }
svg line {
stroke: rgba(255, 255, 255, 0.3); }
svg text.first {
fill: #83ad78; }
svg text.second {
fill: #3db5be; }
svg text.third {
fill: #e88744; }
svg text.fourth {
fill: #8d2145; }
svg text.first, svg text.second, svg text.third, svg text.fourth {
font-size: 16px;
font-weight: bold; }
svg text.blip-text {
font-size: 9px;
font-style: italic;
fill: #fff; }
svg text.blip-name {
font-size: 12px;
font-weight: bold;
fill: #000;
display: none; }
svg text.line-text {
font-weight: bold;
text-transform: uppercase;
Expand Down
4 changes: 2 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
</body>
<script>
var adopt = new tr.models.Cycle('Adopt', 0);
var assess = new tr.models.Cycle('Assess', 1);
var trial = new tr.models.Cycle('Trial', 2);
var trial = new tr.models.Cycle('Trial', 1);
var assess = new tr.models.Cycle('Assess', 2);
var hold = new tr.models.Cycle('Hold', 3);

var radar = new tr.models.Radar();
Expand Down
2 changes: 1 addition & 1 deletion examples/tech-radar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4e488d9

Please sign in to comment.