File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 24
24
var top = $ ( this ) . scrollTop ( ) ;
25
25
var fullPosition = $ ( ".main-background" ) . height ( ) - $ ( ".header-holder" ) . height ( ) ;
26
26
27
- if ( top === 0 ) {
28
- $ ( ".header-holder" ) . css ( { "backgroundColor" : "transparent " } ) ;
27
+ if ( top <= 40 ) {
28
+ $ ( ".header-holder" ) . css ( { "backgroundColor" : "rgba(0, 0, 0, 0.165) " } ) ;
29
29
} else if ( top >= fullPosition ) {
30
30
$ ( ".header-holder" ) . css ( { "backgroundColor" : "#000000" } ) ;
31
31
} else {
Original file line number Diff line number Diff line change 53
53
background-color : $light_grey ;
54
54
}
55
55
}
56
+
57
+ .homepage-header {
58
+ background-color : rgba (0 , 0 , 0 , 0.165 );
59
+ }
56
60
}
57
61
58
62
.homepage-feature-module {
368
372
& :hover {
369
373
color : $orange ;
370
374
}
371
- }
375
+ }
372
376
}
373
377
374
378
.no-banner {
You can’t perform that action at this time.
0 commit comments