diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-01 00:30:54 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-01 00:31:17 +0400 |
commit | a719bfc9313545bbba5ae2479790b8902d98bb3e (patch) | |
tree | d0ffb1ad1a5518fa1cf0ca7611892d53f5281d10 /vendor/assets | |
parent | bcfdacf0d438b0b4b78b603593119eb6b964aa8a (diff) |
Graph: navigation with keyboard
Diffstat (limited to 'vendor/assets')
-rw-r--r-- | vendor/assets/javascripts/branch-graph.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js index 3276886e77d..ad6ceae17c8 100644 --- a/vendor/assets/javascripts/branch-graph.js +++ b/vendor/assets/javascripts/branch-graph.js @@ -37,17 +37,17 @@ function branchGraph(holder) { r = Raphael("holder", cw, ch), top = r.set(); var cuday = 0, cumonth = ""; - r.rect(0, 0, days.length * 20 + 80, 30).attr({fill: "#FFF"}); - r.rect(0, 30, days.length * 20 + 80, 20).attr({fill: "#f1f1f1"}); + r.rect(0, 0, days.length * 20 + 80, 30).attr({fill: "#222"}); + r.rect(0, 30, days.length * 20 + 80, 20).attr({fill: "#444"}); for (mm = 0; mm < days.length; mm++) { if(days[mm] != null){ if(cuday != days[mm][0]){ - r.text(10 + mm * 20, 40, days[mm][0]).attr({font: "14px Fontin-Sans, Arial", fill: "#444"}); + r.text(10 + mm * 20, 40, days[mm][0]).attr({font: "14px Fontin-Sans, Arial", fill: "#DDD"}); cuday = days[mm][0] } if(cumonth != days[mm][1]){ - r.text(10 + mm * 20, 15, days[mm][1]).attr({font: "14px Fontin-Sans, Arial", fill: "#474D57"}); + r.text(10 + mm * 20, 15, days[mm][1]).attr({font: "14px Fontin-Sans, Arial", fill: "#EEE"}); cumonth = days[mm][1] } |