##// END OF EJS Templates
made upper menu always hover, looks nicer and produces less troubles...
marcink -
r2001:93d4e3eb beta
parent child Browse files
Show More
@@ -284,7 +284,10 b' div.options a {'
284 width: 100% !important;
284 width: 100% !important;
285 margin-left: -10px !important;
285 margin-left: -10px !important;
286 z-index: 10000;
286 z-index: 10000;
287 border-radius: 0px 0px 4px 4px;
287 -webkit-border-radius: 0px 0px 0px 0px;
288 -khtml-border-radius: 0px 0px 0px 0px;
289 -moz-border-radius: 0px 0px 0px 0px;
290 border-radius: 0px 0px 0px 0px;
288 }
291 }
289 #header #header-inner #home a {
292 #header #header-inner #home a {
290 height: 40px;
293 height: 40px;
@@ -326,7 +329,7 b' div.options a {'
326 float: right;
329 float: right;
327 list-style-type: none;
330 list-style-type: none;
328 list-style-position: outside;
331 list-style-position: outside;
329 margin: 8px 5px 0 0;
332 margin: 8px 8px 0 0;
330 padding: 0;
333 padding: 0;
331 }
334 }
332
335
@@ -1970,7 +1973,14 b' div.form div.fields div.field div.button'
1970 #quick_login .big_gravatar{
1973 #quick_login .big_gravatar{
1971 padding:4px 0px 0px 6px;
1974 padding:4px 0px 0px 6px;
1972 }
1975 }
1973
1976 #quick_login .inbox{
1977 padding:4px 0px 0px 6px;
1978 color: #FFFFFF;
1979 font-weight: bold;
1980 }
1981 #quick_login .inbox a{
1982 color: #FFFFFF;
1983 }
1974 #quick_login .email,#quick_login .email a{
1984 #quick_login .email,#quick_login .email a{
1975 color: #FFFFFF;
1985 color: #FFFFFF;
1976 padding: 3px;
1986 padding: 3px;
@@ -3143,7 +3153,7 b' div.gravatar img {'
3143 #content {
3153 #content {
3144 clear: both;
3154 clear: both;
3145 overflow: hidden;
3155 overflow: hidden;
3146 padding: 14px 10px;
3156 padding: 54px 10px 14px 10px;
3147 }
3157 }
3148
3158
3149 #content div.box div.title div.search {
3159 #content div.box div.title div.search {
@@ -18,11 +18,11 b''
18 <!-- box / title -->
18 <!-- box / title -->
19 <div class="title">
19 <div class="title">
20 ${self.breadcrumbs()}
20 ${self.breadcrumbs()}
21 <ul class="links">
21 ##<ul class="links">
22 <li>
22 ## <li>
23 <span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span>
23 ## <span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span>
24 </li>
24 ## </li>
25 </ul>
25 ##</ul>
26 </div>
26 </div>
27 %if c.notifications:
27 %if c.notifications:
28 <div style="padding:10px 15px;text-align: right">
28 <div style="padding:10px 15px;text-align: right">
@@ -20,11 +20,11 b''
20 <!-- box / title -->
20 <!-- box / title -->
21 <div class="title">
21 <div class="title">
22 ${self.breadcrumbs()}
22 ${self.breadcrumbs()}
23 <ul class="links">
23 ##<ul class="links">
24 <li>
24 ## <li>
25 <span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span>
25 ## <span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span>
26 </li>
26 ## </li>
27 </ul>
27 ##</ul>
28 </div>
28 </div>
29 <div class="table">
29 <div class="table">
30 <div id="notification_${c.notification.notification_id}">
30 <div id="notification_${c.notification.notification_id}">
@@ -3,7 +3,7 b''
3
3
4 <!-- HEADER -->
4 <!-- HEADER -->
5 <div id="header">
5 <div id="header">
6 <div id="header-inner" class="title">
6 <div id="header-inner" class="title hover">
7 <div id="logo">
7 <div id="logo">
8 <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1>
8 <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1>
9 </div>
9 </div>
@@ -115,6 +115,7 b''
115 <div class="full_name">${c.rhodecode_user.full_name_or_username}</div>
115 <div class="full_name">${c.rhodecode_user.full_name_or_username}</div>
116 <div class="email">${c.rhodecode_user.email}</div>
116 <div class="email">${c.rhodecode_user.email}</div>
117 <div class="big_gravatar"><img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,48)}" /></div>
117 <div class="big_gravatar"><img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,48)}" /></div>
118 <div class="inbox"><a href="${h.url('notifications')}">${_('Inbox')}: ${c.unread_notifications}</a></div>
118 </div>
119 </div>
119 <div class="links_right">
120 <div class="links_right">
120 <ol class="links">
121 <ol class="links">
@@ -123,16 +123,6 b''
123 }
123 }
124 }
124 }
125 });
125 });
126
127 // hover menu
128 YUE.on(window,'scroll',function(){
129 if(YUD.getDocumentScrollTop() > 45){
130 YUD.addClass('header-inner','hover');
131 }
132 else{
133 YUD.removeClass('header-inner','hover');
134 }
135 })
136 })
126 })
137 </script>
127 </script>
138 </%def>
128 </%def>
General Comments 0
You need to be logged in to leave comments. Login now