diff --git a/Changelog.md b/Changelog.md index 328cf2c0f..d592a791b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -14,6 +14,7 @@ ## Features * Add possibility to contact the administrator. [#3792](https://github.com/diaspora/diaspora/pull/3792) +* Add simple background for unread messages/conversations mobile. [#3724](https://github.com/diaspora/diaspora/pull/3724) ## Bug Fixes diff --git a/app/assets/stylesheets/mobile.css.scss b/app/assets/stylesheets/mobile.css.scss index 3fd01f9a7..39e5d3d89 100644 --- a/app/assets/stylesheets/mobile.css.scss +++ b/app/assets/stylesheets/mobile.css.scss @@ -45,7 +45,7 @@ body { .from { a { - color: #444 !important; + color: #444; font-weight: bold; } margin-bottom: 2px; @@ -787,4 +787,20 @@ textarea#conversation_text { form#new_user.new_user input.btn { white-space: normal; } - + +.unread { + background-color: LightGrey; + .ltr { + font-weight: bold; + } +} + +.read.stream_element { + color: dimGray; + .from { + a { + color: dimGray; + font-weight: bold; + } + } +} diff --git a/app/views/notifications/index.mobile.haml b/app/views/notifications/index.mobile.haml index c19d28b47..41a3f3962 100644 --- a/app/views/notifications/index.mobile.haml +++ b/app/views/notifications/index.mobile.haml @@ -12,7 +12,7 @@ = day %ul.notifications_for_day - notes.each do |note| - .stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : ''}"} + .stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"} = person_image_link(note.actors.last)