diff --git a/app/assets/stylesheets/mobile.css.scss b/app/assets/stylesheets/mobile.css.scss index 46ef8f116..6163c6ab3 100644 --- a/app/assets/stylesheets/mobile.css.scss +++ b/app/assets/stylesheets/mobile.css.scss @@ -648,3 +648,27 @@ display: inline-block; width: 28px; } + +#conversation_inbox .message_count { + border-radius: 5px; + + float: right; + right: 0px; + margin: 5px 5px auto; + padding: 5px; + position: relative; + background-color: #999; + color: #eee; + font-size: 25px; + font-weight: bold; +} + +.conversation_participants img.avatar{ + height:35px; + width:35px; + margin: 5px 0 5px 2px; +} +form#new_message.new_message input.button.creation{ + float: right; + margin: 0 5px 5px; +} diff --git a/app/views/layouts/application.mobile.haml b/app/views/layouts/application.mobile.haml index cb32701ab..b70717f7c 100644 --- a/app/views/layouts/application.mobile.haml +++ b/app/views/layouts/application.mobile.haml @@ -60,6 +60,11 @@ - if current_user.unread_notifications.count > 0 .badge_count = current_user.unread_notifications.count + .badge{:class => "badge-inverse", :id => "conversations_badge"} + = link_to(image_tag('icons/mail_grey.png', :height => 16, :width => 16), conversations_path) + - if current_user.unread_message_count > 0 + .badge_count + = current_user.unread_message_count - if user_signed_in? .right