highlight public posts in the stream
This commit is contained in:
parent
cdd225c076
commit
aa628c090d
3 changed files with 23 additions and 2 deletions
|
|
@ -2,8 +2,13 @@
|
|||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
%li.message{:data=>{:guid=>post.id}}
|
||||
%li.message{:data=>{:guid=>post.id}, :class => ('public' if post.public?)}
|
||||
=person_image_link(person)
|
||||
|
||||
.public_badge
|
||||
- if post.public?
|
||||
= image_tag 'icons/globe.png'
|
||||
|
||||
.content
|
||||
.from
|
||||
%h4
|
||||
|
|
|
|||
BIN
public/images/icons/globe.png
Normal file
BIN
public/images/icons/globe.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
|
|
@ -545,7 +545,7 @@ ul.comments
|
|||
:top 1em
|
||||
:padding 0
|
||||
:background
|
||||
:color rgba(10,81,109,0.05)
|
||||
:color #F0F4F5
|
||||
|
||||
textarea
|
||||
:width 100%
|
||||
|
|
@ -1959,3 +1959,19 @@ h3,h4
|
|||
#edit_aspect_trigger
|
||||
:font
|
||||
:size 12px
|
||||
|
||||
.stream
|
||||
.public_badge
|
||||
:position absolute
|
||||
:top 60px
|
||||
:left 25px
|
||||
|
||||
.message.public
|
||||
:background
|
||||
:color #FEFFF0
|
||||
|
||||
:background -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFF7), to(#FEFFF0))
|
||||
:background -moz-linear-gradient(0% 100% 90deg,#FFFFF7, #FEFFF0)
|
||||
|
||||
&:hover
|
||||
:background #FEFFE3
|
||||
|
|
|
|||
Loading…
Reference in a new issue