add simple background for unread messages/conversations mobile

This commit is contained in:
movilla 2012-11-13 17:10:30 +01:00
parent 4cd07981b0
commit 3fa0254876
3 changed files with 20 additions and 3 deletions

View file

@ -23,6 +23,7 @@
* Add password_confirmation field to registration page. [#3647](https://github.com/diaspora/diaspora/pull/3647)
* When posting to Twitter, behaviour changed so that URL to post will only be added to the post when length exceeds 140 chars or post contains uploaded photos.
* Remove markdown formatting from post message when posting to Facebook or Twitter.
* Add simple background for unread messages/conversations mobile. [#3724](https://github.com/diaspora/diaspora/pull/3724)
## Bug Fixes

View file

@ -45,7 +45,7 @@ body {
.from {
a {
color: #444 !important;
color: #444;
font-weight: bold;
}
margin-bottom: 2px;
@ -788,3 +788,19 @@ 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;
}
}
}

View file

@ -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)