diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index 23a301ef1..0ff638762 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -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 diff --git a/public/images/icons/globe.png b/public/images/icons/globe.png new file mode 100644 index 000000000..240045014 Binary files /dev/null and b/public/images/icons/globe.png differ diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index bccd4d3a3..39926ebea 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -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