diff --git a/app/views/status_messages/_status_message.haml b/app/views/status_messages/_status_message.haml index d441dc9d7..76bf8fef1 100644 --- a/app/views/status_messages/_status_message.haml +++ b/app/views/status_messages/_status_message.haml @@ -2,7 +2,8 @@ -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. -= markdownify(post.message, :youtube_maps => post[:youtube_titles]) +.message + = markdownify(post.message, :youtube_maps => post[:youtube_titles]) - if photos.count > 0 .photo_attachments diff --git a/public/javascripts/application.js b/public/javascripts/application.js index e17c8425a..52a721694 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -25,5 +25,9 @@ $(document).ready(function() { $("a.paginate").live("click", function() { $(document).trigger("retrieve.infscr"); }); + + $('a').live('tap',function(){ + $(this).addClass('tapped'); + }) }); diff --git a/public/javascripts/mobile.js b/public/javascripts/mobile.js index 65fbf0815..05b67fefa 100644 --- a/public/javascripts/mobile.js +++ b/public/javascripts/mobile.js @@ -7,15 +7,6 @@ var Mobile = { initialize: function() { $("abbr.timeago").timeago(); $('#main_stream + .pagination').hide(); - $('#aspect_picker').change(Mobile.changeAspect); }, - - changeAspect: function() { - Mobile.windowLocation('/aspects/' + $('#aspect_picker option:selected').val()); - }, - - windowLocation: function(url) { - window.location = url; - } }; diff --git a/public/stylesheets/sass/mobile.sass b/public/stylesheets/sass/mobile.sass index 1d6a936cb..26eeb1af7 100644 --- a/public/stylesheets/sass/mobile.sass +++ b/public/stylesheets/sass/mobile.sass @@ -50,6 +50,12 @@ a.ui-link-inherit :-moz-box-shadow 0 1px 3px #ccc :box-shadow 0 1px 3px #ccc +.tapped + :background + :color rgba(100, 103, 103, .2) + :border-radius 5px +a + :padding 2px .alpha-warning @include mobile-box @@ -58,6 +64,9 @@ a.ui-link-inherit label :font-weight bold +.message + :padding + :left 2px .stream_element, .comment :position relative