On minicard, make comment icon and number of comments have red color

on white rounded background, so it is more visible when there is comments on card.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu committed 2019-07-01 05:02:48 +03:00
1 parent 48ebc5f117
commit bbc68309af
2 files changed
+12 -2

No files matched your search

+4 -1
View File
@@ -74,7 +74,10 @@ template(name="minicard")
if comments.count
.badge(title="{{_ 'card-comments-title' comments.count }}")
span.badge-icon.fa.fa-comment-o.badge-comment
span.badge-text= comments.count
= ' '
= comments.count
//span.badge-comment.badge-text
//| {{_ 'comment'}}
if getDescription
.badge.badge-state-image-only(title=getDescription)
span.badge-icon.fa.fa-align-left
+8 -1
View File
@@ -144,7 +144,14 @@
.badge-text
vertical-align: middle
&.badge-comment
margin-bottom: 0.1rem
display: block
border-radius: 4px
padding: 1px 3px
margin-bottom: 0.3rem
color: #ff0000
background-color: #ffffff
font-weight: bold
font-size: 11pt
.badge-text
font-size: 0.9em