From fa9caf00caa847e01fa1797e5b6fc94b354e8342 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Wed, 8 Dec 2010 19:07:08 -0800 Subject: [PATCH] added tooltip text to public icon --- app/views/shared/_stream_element.html.haml | 2 +- public/javascripts/view.js | 8 ++++++++ public/stylesheets/sass/application.sass | 6 ++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index 0ff638762..f6e06f049 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -7,7 +7,7 @@ .public_badge - if post.public? - = image_tag 'icons/globe.png' + = image_tag 'icons/globe.png', :title => "public post" .content .from diff --git a/public/javascripts/view.js b/public/javascripts/view.js index c34643613..9a6a23e19 100644 --- a/public/javascripts/view.js +++ b/public/javascripts/view.js @@ -153,6 +153,14 @@ var View = { } }, + public_badge: { + bind: function() { + $(".public_badge img").tipsy({ + live: true + }); + } + }, + whatIsThis: { bind: function() { $(".what_is_this").tipsy({ diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 39926ebea..e3ba1cb3d 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -1970,8 +1970,6 @@ h3,h4 :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 + :background + :color #FEFFE3