mobile: added stream and activity links to header
This commit is contained in:
parent
39ee27acf0
commit
cd62c33f17
2 changed files with 31 additions and 1 deletions
|
|
@ -51,6 +51,12 @@
|
|||
.container{:style => "position: relative;"}
|
||||
= link_to(image_tag('header-logo2x.png', :height => 40, :width => 40, :id => 'header_title'), stream_path)
|
||||
- if user_signed_in?
|
||||
#header-nav
|
||||
.stream-nav
|
||||
= link_to(t('.my_stream'), stream_path)
|
||||
.activity-nav
|
||||
= link_to(t('.my_activity'), activity_stream_path)
|
||||
|
||||
#nav_badges
|
||||
.badge{:id => "notification_badge"}
|
||||
= link_to(image_tag('icons/notifications_grey.png', :height => 16, :width => 16, :id => 'notification-flag'), notifications_path)
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ body {
|
|||
text-decoration: none; }
|
||||
#nav_badges .badge {
|
||||
position: relative;
|
||||
top: -15px;
|
||||
top: -12px;
|
||||
display: inline;
|
||||
margin: 0 2px;
|
||||
padding: 8px 3px;
|
||||
|
|
@ -615,3 +615,27 @@ select {
|
|||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#header-nav {
|
||||
font-weight: bold;
|
||||
height: 100%;
|
||||
margin-right: 5px;
|
||||
margin-top: 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#header-nav a {
|
||||
padding: 0 10px;
|
||||
width: 100%;
|
||||
color: #939393;
|
||||
}
|
||||
|
||||
#header-nav > div {
|
||||
display: inline;
|
||||
font-weight: bold;
|
||||
margin: 0 2px;
|
||||
padding: 8px 3px 9px;
|
||||
position: relative;
|
||||
top: -15px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue