use bootstrap labels
This commit is contained in:
parent
206e3f9422
commit
a96611c259
2 changed files with 3 additions and 16 deletions
|
|
@ -102,24 +102,12 @@
|
|||
}
|
||||
|
||||
.message_count, .unread_message_count {
|
||||
@include border-radius(5px);
|
||||
margin-right: 3px;
|
||||
float: right;
|
||||
padding: 0px 6px;
|
||||
position: relative;
|
||||
color: $background-grey;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.message_count {
|
||||
background-color: #999;
|
||||
right: 0px;
|
||||
}
|
||||
.unread_message_count {
|
||||
background-color: #b11;
|
||||
right: 4px;
|
||||
}
|
||||
|
||||
.participants_link {
|
||||
clear: right;
|
||||
float: right;
|
||||
|
|
@ -127,7 +115,6 @@
|
|||
}
|
||||
|
||||
.icons-users {
|
||||
margin-left: 4px;
|
||||
display: block;
|
||||
width: 25px;
|
||||
height: 16px;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
.subject
|
||||
.message_count
|
||||
.label.label-dafault.message_count
|
||||
= conversation.messages.size
|
||||
- if unread_count > 0
|
||||
.unread_message_count
|
||||
.label.label-important.unread_message_count
|
||||
= unread_count
|
||||
|
||||
%div{ :class => direction_for(conversation.subject) }
|
||||
|
|
|
|||
Loading…
Reference in a new issue