make the scroll to top a bit more subtle
This commit is contained in:
parent
aac72b12e7
commit
a4e6a019a7
2 changed files with 5 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ var View = {
|
||||||
jQuery(window).scroll(function(){
|
jQuery(window).scroll(function(){
|
||||||
if(jQuery(window).scrollTop() > 1000){
|
if(jQuery(window).scrollTop() > 1000){
|
||||||
// show back to top
|
// show back to top
|
||||||
jQuery('#back-to-top').stop().animate({opacity: 1});
|
jQuery('#back-to-top').stop().animate({opacity: .5});
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
// hide back to top
|
// hide back to top
|
||||||
|
|
|
||||||
|
|
@ -3375,6 +3375,8 @@ ul#getting_started
|
||||||
:top 50px
|
:top 50px
|
||||||
:opacity 0
|
:opacity 0
|
||||||
:font-size 3em
|
:font-size 3em
|
||||||
:padding 0 12px 0 12px
|
:padding 0 11px 0 12px
|
||||||
:border-radius 10px
|
:border-radius 10px
|
||||||
:background-color #82D400
|
:background-color #aaa
|
||||||
|
&:hover
|
||||||
|
:opacity .85 !important
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue