Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

looking good

  • Loading branch information...
commit a4418471654cacc82b1e12e0c41504638c030adf 1 parent cad7a5a
@markmarkoh markmarkoh authored
View
7 public/scripts/view/Calendar.js
@@ -36,7 +36,8 @@ define([
val
.attr({
fill: fill,
- stroke: stroke
+ stroke: stroke,
+ opacity: 1
})
.animate(
_.extend(
@@ -57,7 +58,7 @@ define([
getFillColor: function(data) {
var fill;
if (data.blank) {
- fill = 'rgba(0,0,0,0.1)';
+ fill = 'rgba(0,0,0,0.08)';
}
else if (data.success) {
fill = 'rgba(125,192,79,1)';
@@ -75,7 +76,7 @@ define([
}
//future
else if (+date > +today) {
- fill = '#FFF';
+ fill = '#DFDFDF';
}
else {
//if failure
View
6 public/scripts/view/Thermo.js
@@ -12,7 +12,7 @@ define([
},
name: 'thermo',
- size: {height: 40, width: 4},
+ size: {height: 60, width: 5},
render : function () {
this.transform();
@@ -77,6 +77,7 @@ define([
x = indexSuccess * width;
}
else if (isBlank) {
+ return {x:500,y:0,opacity:0};
x = (totalSuccesses * width) + ((challengeLength - totalSuccesses) * width) + (indexBlank * width);
}
else {
@@ -84,8 +85,7 @@ define([
}
return {
x: x,
- y: 0,
- height: isSuccess ? this.size['height'] : 22
+ y: 0
};
}
View
15 public/stylesheets/style.css
@@ -20,14 +20,13 @@ a {
svg.thermo {
width: 640px;
- border-radius: 20px;
- height: 40px;
- -webkit-border-top-left-radius: 5px;
- -webkit-border-bottom-left-radius: 5px;
- -moz-border-radius-topleft: 5px;
- -moz-border-radius-bottomleft: 5px;
- border-top-left-radius: 5px;
- border-bottom-left-radius: 5px;
+ height: 60px;
+ -webkit-border-top-left-radius: 40px;
+ -webkit-border-bottom-left-radius: 40px;
+ -moz-border-radius-topleft: 40px;
+ -moz-border-radius-bottomleft: 40px;
+ border-top-left-radius: 40px;
+ border-bottom-left-radius: 40px;
}
svg.calendar {
Please sign in to comment.
Something went wrong with that request. Please try again.