@@ -14,6 +14,7 @@ $(function () {
14
14
var windows = $ ( 'section.window' ) ;
15
15
var $anim = $ ( '#anim' ) ;
16
16
var $overlay = $ ( '#anim-overlay' ) ;
17
+ var $spaceOverlay = $ ( '#space-overlay' ) ;
17
18
var $screens = $ ( '.screen' ) ;
18
19
var $widgets = $ ( '.widget' ) ;
19
20
var $widgetsTooltips = $ ( '.widget-intro' ) ;
@@ -64,7 +65,7 @@ $(function () {
64
65
. to ( $animWidget7 , 8 , { y :350 } , '-=8' )
65
66
. to ( $anim , 8 , { opacity :1 , scale :1 , rotationX :0 , rotationZ :0 , ease :Power2 . easeInOut } , '-=8' )
66
67
. to ( $illusSync , 4 , { opacity :1 } , '-=4' )
67
- . to ( $overlay , 8 , { backgroundColor :'#00B6BA' } , '0' ) ;
68
+ . to ( $spaceOverlay , 8 , { backgroundColor :'#00B6BA' } , '0' ) ;
68
69
69
70
// Second Section
70
71
tl [ 1 ] = new TimelineMax ( ) ;
@@ -80,7 +81,7 @@ $(function () {
80
81
. to ( '#screen-2 .widget' , 5 , { opacity :1 , scale :1 } , '-=2' )
81
82
. to ( '#screen-3' , 3 , { opacity :1 } )
82
83
. to ( '#screen-3 .widget' , 5 , { opacity :1 , scale :1 } , '-=2' )
83
- . to ( $overlay , 8 , { backgroundColor :'#F6624E' } , '0' ) ;
84
+ . to ( $spaceOverlay , 8 , { backgroundColor :'#F6624E' } , '0' ) ;
84
85
85
86
// Third Section
86
87
tl [ 2 ] = new TimelineMax ( ) ;
@@ -90,7 +91,7 @@ $(function () {
90
91
. to ( $animWidget5 , 4 , { z :200 } )
91
92
. to ( $animWidget5 , 4 , { rotationY :180 , backgroundColor :'#674492' } , '-=2' )
92
93
. to ( $animWidget5 , 4 , { z :0 } )
93
- . to ( $overlay , 8 , { backgroundColor :'#674492' } , '0' ) ;
94
+ . to ( $spaceOverlay , 8 , { backgroundColor :'#674492' } , '0' ) ;
94
95
95
96
// Fourth Section
96
97
tl [ 3 ] = new TimelineMax ( ) ;
0 commit comments