Show More
@@ -243,8 +243,6 b' div:hover > a.permalink {' | |||||
243 | } |
|
243 | } | |
244 |
|
244 | |||
245 | #header { |
|
245 | #header { | |
246 | margin: 0; |
|
|||
247 | padding: 0 10px; |
|
|||
248 | } |
|
246 | } | |
249 |
|
247 | |||
250 | #header ul#logged-user { |
|
248 | #header ul#logged-user { | |
@@ -310,6 +308,26 b' div:hover > a.permalink {' | |||||
310 | #header ul#logged-user li.highlight a:hover { |
|
308 | #header ul#logged-user li.highlight a:hover { | |
311 | color: #FFF; |
|
309 | color: #FFF; | |
312 | } |
|
310 | } | |
|
311 | #header-dd { | |||
|
312 | clear: both; | |||
|
313 | position: fixed !important; | |||
|
314 | background-color: #003B76; | |||
|
315 | opacity: 0.01; | |||
|
316 | cursor: pointer; | |||
|
317 | min-height: 10px; | |||
|
318 | width: 100% !important; | |||
|
319 | -webkit-border-radius: 0px 0px 4px 4px; | |||
|
320 | -khtml-border-radius: 0px 0px 4px 4px; | |||
|
321 | -moz-border-radius: 0px 0px 4px 4px; | |||
|
322 | border-radius: 0px 0px 4px 4px; | |||
|
323 | } | |||
|
324 | ||||
|
325 | #header-dd:hover{ | |||
|
326 | opacity: 0.2; | |||
|
327 | -webkit-transition: opacity 0.5s ease-in-out; | |||
|
328 | -moz-transition: opacity 0.5s ease-in-out; | |||
|
329 | transition: opacity 0.5s ease-in-out; | |||
|
330 | } | |||
313 |
|
331 | |||
314 | #header #header-inner { |
|
332 | #header #header-inner { | |
315 | min-height: 44px; |
|
333 | min-height: 44px; | |
@@ -335,14 +353,13 b' div:hover > a.permalink {' | |||||
335 | border-radius: 4px 4px 4px 4px; |
|
353 | border-radius: 4px 4px 4px 4px; | |
336 | } |
|
354 | } | |
337 | #header #header-inner.hover { |
|
355 | #header #header-inner.hover { | |
338 | position: fixed !important; |
|
|||
339 | width: 100% !important; |
|
356 | width: 100% !important; | |
340 | margin-left: -10px !important; |
|
|||
341 | z-index: 10000; |
|
|||
342 | -webkit-border-radius: 0px 0px 0px 0px; |
|
357 | -webkit-border-radius: 0px 0px 0px 0px; | |
343 | -khtml-border-radius: 0px 0px 0px 0px; |
|
358 | -khtml-border-radius: 0px 0px 0px 0px; | |
344 | -moz-border-radius: 0px 0px 0px 0px; |
|
359 | -moz-border-radius: 0px 0px 0px 0px; | |
345 | border-radius: 0px 0px 0px 0px; |
|
360 | border-radius: 0px 0px 0px 0px; | |
|
361 | position: fixed !important; | |||
|
362 | z-index: 10000; | |||
346 | } |
|
363 | } | |
347 |
|
364 | |||
348 | .ie7 #header #header-inner.hover, |
|
365 | .ie7 #header #header-inner.hover, | |
@@ -3485,7 +3502,7 b' div.gravatar img {' | |||||
3485 | #content { |
|
3502 | #content { | |
3486 | clear: both; |
|
3503 | clear: both; | |
3487 | overflow: hidden; |
|
3504 | overflow: hidden; | |
3488 |
padding: |
|
3505 | padding: 10px 10px 14px 10px; | |
3489 | } |
|
3506 | } | |
3490 |
|
3507 | |||
3491 | #content div.box div.title div.search { |
|
3508 | #content div.box div.title div.search { |
@@ -2,8 +2,9 b'' | |||||
2 | <%inherit file="root.html"/> |
|
2 | <%inherit file="root.html"/> | |
3 |
|
3 | |||
4 | <!-- HEADER --> |
|
4 | <!-- HEADER --> | |
|
5 | <div id="header-dd"></div> | |||
5 | <div id="header"> |
|
6 | <div id="header"> | |
6 |
<div id="header-inner" class="title |
|
7 | <div id="header-inner" class="title"> | |
7 | <div id="logo"> |
|
8 | <div id="logo"> | |
8 | <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1> |
|
9 | <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1> | |
9 | </div> |
|
10 | </div> | |
@@ -357,5 +358,10 b'' | |||||
357 | } |
|
358 | } | |
358 | return false; |
|
359 | return false; | |
359 | }); |
|
360 | }); | |
|
361 | ||||
|
362 | YUE.on('header-dd', 'click',function(e){ | |||
|
363 | YUD.addClass('header-inner', 'hover'); | |||
|
364 | }); | |||
|
365 | ||||
360 | </script> |
|
366 | </script> | |
361 | </%def> |
|
367 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now