Skip to content

Commit 200b8a7

Browse files
committedNov 7, 2015
fix(website): fixed space overlay color animation
1 parent 46a68c4 commit 200b8a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎docs/js/home.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ $(function () {
1414
var windows = $('section.window');
1515
var $anim = $('#anim');
1616
var $overlay = $('#anim-overlay');
17+
var $spaceOverlay = $('#space-overlay');
1718
var $screens = $('.screen');
1819
var $widgets = $('.widget');
1920
var $widgetsTooltips = $('.widget-intro');
@@ -64,7 +65,7 @@ $(function () {
6465
.to($animWidget7, 8, {y:350 }, '-=8')
6566
.to($anim, 8, {opacity:1, scale:1, rotationX:0, rotationZ:0, ease:Power2.easeInOut}, '-=8')
6667
.to($illusSync, 4, {opacity:1}, '-=4')
67-
.to($overlay, 8, {backgroundColor:'#00B6BA' }, '0');
68+
.to($spaceOverlay, 8, {backgroundColor:'#00B6BA' }, '0');
6869

6970
// Second Section
7071
tl[1] = new TimelineMax();
@@ -80,7 +81,7 @@ $(function () {
8081
.to('#screen-2 .widget', 5, {opacity:1, scale:1},'-=2')
8182
.to('#screen-3', 3, {opacity:1})
8283
.to('#screen-3 .widget', 5, {opacity:1, scale:1},'-=2')
83-
.to($overlay, 8, {backgroundColor:'#F6624E' }, '0');
84+
.to($spaceOverlay, 8, {backgroundColor:'#F6624E' }, '0');
8485

8586
// Third Section
8687
tl[2] = new TimelineMax();
@@ -90,7 +91,7 @@ $(function () {
9091
.to($animWidget5, 4, {z:200})
9192
.to($animWidget5, 4, {rotationY:180, backgroundColor:'#674492'}, '-=2')
9293
.to($animWidget5, 4, {z:0})
93-
.to($overlay, 8, {backgroundColor:'#674492' }, '0');
94+
.to($spaceOverlay, 8, {backgroundColor:'#674492' }, '0');
9495

9596
// Fourth Section
9697
tl[3] = new TimelineMax();

0 commit comments

Comments
 (0)
Please sign in to comment.