Changeset - 277690a23606
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2011-10-29 02:54:27
marcin@python-works.com
stay-on-top menu
2 files changed with 15 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -283,7 +283,13 @@ div.options a {
 
	-moz-border-radius: 4px 4px 4px 4px;
 
	border-radius: 4px 4px 4px 4px;
 
}
 
 
#header #header-inner.hover{
 
	position: fixed !important;
 
	width: 100% !important;
 
	margin-left: -10px !important;
 
	z-index: 10000;
 
	border-radius: 0px 0px 4px 4px;
 
}
 
#header #header-inner #home a {
 
	height: 40px;
 
	width: 46px;
rhodecode/templates/base/root.html
Show inline comments
 
@@ -129,10 +129,16 @@
 
            		YUD.addClass(menu,'hidden');
 
            	}
 
            })
 
            
 
            YUE.on(window,'scroll',function(){
 
                if(YUD.getDocumentScrollTop() > 45){
 
                      YUD.addClass('header-inner','hover');
 
                }
 
                else{
 
                    YUD.removeClass('header-inner','hover');
 
                }
 
            }) 
 
           })   
 
            </script>
 
        
 
        </%def>
 
        <%def name="js_extra()">
 
        </%def>      
0 comments (0 inline, 0 general)