Show More
@@ -453,6 +453,8 b' div:hover > a.permalink {' | |||||
453 | border-left: none; |
|
453 | border-left: none; | |
454 | border-right: 1px solid #2e5c89; |
|
454 | border-right: 1px solid #2e5c89; | |
455 | padding: 8px 6px 4px; |
|
455 | padding: 8px 6px 4px; | |
|
456 | min-width: 16px; | |||
|
457 | min-height: 16px; | |||
456 | } |
|
458 | } | |
457 |
|
459 | |||
458 | #header #header-inner #quick li span.icon_short { |
|
460 | #header #header-inner #quick li span.icon_short { | |
@@ -2090,7 +2092,7 b' a.metatag[tag="license"]:hover {' | |||||
2090 | } |
|
2092 | } | |
2091 | #quick_login{ |
|
2093 | #quick_login{ | |
2092 | min-height: 80px; |
|
2094 | min-height: 80px; | |
2093 |
margin: 37px 0 0 -2 |
|
2095 | margin: 37px 0 0 -280px; | |
2094 | padding: 4px; |
|
2096 | padding: 4px; | |
2095 | position: absolute; |
|
2097 | position: absolute; | |
2096 | width: 278px; |
|
2098 | width: 278px; | |
@@ -4528,30 +4530,18 b' form.comment-inline-form {' | |||||
4528 | float: left; |
|
4530 | float: left; | |
4529 | } |
|
4531 | } | |
4530 |
|
4532 | |||
4531 | .notifications{ |
|
4533 | .notifications { | |
4532 | border-radius: 4px 4px 4px 4px; |
|
4534 | padding: 2px 7px !important; | |
4533 | -webkit-border-radius: 4px; |
|
4535 | margin: 7px -4px -7px 4px !important; | |
4534 | -moz-border-radius: 4px; |
|
4536 | text-align: center; | |
4535 | float: right; |
|
|||
4536 | margin: 20px 0px 0px 0px; |
|
|||
4537 | position: absolute; |
|
|||
4538 | text-align: center; |
|
|||
4539 | width: 26px; |
|
|||
4540 | z-index: 1000; |
|
|||
4541 | } |
|
|||
4542 | .notifications a{ |
|
|||
4543 | color:#888 !important; |
|
4537 | color:#888 !important; | |
4544 | display: block; |
|
|||
4545 | font-size: 10px; |
|
4538 | font-size: 10px; | |
4546 | background-color: #DEDEDE !important; |
|
4539 | background-color: #DEDEDE !important; | |
4547 |
|
|
4540 | border-radius: 4px !important; | |
4548 |
|
|
4541 | -webkit-border-radius: 4px !important; | |
4549 |
|
|
4542 | -moz-border-radius: 4px !important; | |
4550 | } |
|
4543 | } | |
4551 | .notifications a:hover{ |
|
4544 | ||
4552 | text-decoration: none !important; |
|
|||
4553 | background-color: #EEEFFF !important; |
|
|||
4554 | } |
|
|||
4555 | .notification-header{ |
|
4545 | .notification-header{ | |
4556 | padding-top:6px; |
|
4546 | padding-top:6px; | |
4557 | } |
|
4547 | } |
@@ -61,17 +61,24 b'' | |||||
61 | </%def> |
|
61 | </%def> | |
62 |
|
62 | |||
63 | <%def name="usermenu()"> |
|
63 | <%def name="usermenu()"> | |
|
64 | <li> | |||
|
65 | <a class="menu_link" id="quick_login_link"> | |||
|
66 | <span class="icon" style="background-image:url(${h.gravatar_url(c.rhodecode_user.email,16)}); background-repeat:no-repeat; background-position:center; "> | |||
|
67 | %if c.rhodecode_user.username != 'default' and c.unread_notifications != -1: | |||
|
68 | <span class="notifications" href="${h.url('notifications')}">${c.unread_notifications}</span> | |||
|
69 | %endif | |||
|
70 | </span> | |||
|
71 | <span> | |||
|
72 | %if c.rhodecode_user.username != 'default': | |||
|
73 | ${c.rhodecode_user.username} | |||
|
74 | %else: | |||
|
75 | ${_('Not logged in')} | |||
|
76 | %endif | |||
|
77 | </span> | |||
|
78 | </a> | |||
|
79 | </li> | |||
|
80 | ||||
64 | <div class="user-menu"> |
|
81 | <div class="user-menu"> | |
65 | <div class="container"> |
|
|||
66 | <div class="gravatar" id="quick_login_link"> |
|
|||
67 | <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,24)}" /> |
|
|||
68 | </div> |
|
|||
69 | %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0: |
|
|||
70 | <div class="notifications"> |
|
|||
71 | <a id="notification_counter" href="${h.url('notifications')}">${c.unread_notifications}</a> |
|
|||
72 | </div> |
|
|||
73 | %endif |
|
|||
74 | </div> |
|
|||
75 | <div id="quick_login" style="display:none"> |
|
82 | <div id="quick_login" style="display:none"> | |
76 | %if c.rhodecode_user.username == 'default': |
|
83 | %if c.rhodecode_user.username == 'default': | |
77 | <h4>${_('Login to your account')}</h4> |
|
84 | <h4>${_('Login to your account')}</h4> |
General Comments 0
You need to be logged in to leave comments.
Login now