diff --git a/app/views/content_viewer/blog_page.rhtml b/app/views/content_viewer/blog_page.rhtml index 4a671b5..1ee345c 100644 --- a/app/views/content_viewer/blog_page.rhtml +++ b/app/views/content_viewer/blog_page.rhtml @@ -3,7 +3,6 @@ <%= content_tag('em', _('(external feed was not loaded yet)'), :id => 'external-feed-info', :class => 'metadata') if article.blog? && article.external_feed && article.external_feed.enabled && article.external_feed.fetched_at.nil? %>
- <%= link_to(image_tag('icons-mime/rss-feed.png'), article.feed.url, :class => 'blog-feed-link') if article.blog? && article.feed %>
<%= article.body %>
diff --git a/app/views/content_viewer/view_page.rhtml b/app/views/content_viewer/view_page.rhtml index e2f4781..779c7a6 100644 --- a/app/views/content_viewer/view_page.rhtml +++ b/app/views/content_viewer/view_page.rhtml @@ -6,26 +6,9 @@
-<% - # AddThis Button - if block_given? && web2_conf['addthis'] - opts = web2_conf['addthis'] -%> -
- - -
-<% end %> > + <%= link_to(image_tag('icons-mime/rss-feed.png'), @page.feed.url, :class => 'blog-feed-link') if @page.blog? && @page.feed %> <%= article_title(@page, :no_link => true) %>
<% if @page.allow_post_content?(user) %> @@ -63,6 +46,7 @@
+ <% if !@page.tags.empty? %>
<%= _("This article's tags:") %> @@ -105,6 +89,25 @@
<% end %> +<% + # AddThis Button + if block_given? && web2_conf['addthis'] + opts = web2_conf['addthis'] +%> +
+ + +
+<% end %> +
<% if @page.accept_comments? %> diff --git a/public/designs/themes/base/style.css b/public/designs/themes/base/style.css index 83da3c3..9e6786c 100644 --- a/public/designs/themes/base/style.css +++ b/public/designs/themes/base/style.css @@ -904,6 +904,14 @@ hr.pre-posts, hr.sep-posts { display: none; } +.blog-feed-link { + float: right; + margin-left: 5px; + position: absolute; + right: 0px; + top: -2px; +} + .blog-post { background: url(imgs/blog-sep.png) repeat-x; padding: 15px 20px 5px 20px; @@ -918,10 +926,6 @@ hr.pre-posts, hr.sep-posts { margin-top: 25px; } -#article-actions { - top: -28px; -} - #article-actions a.button, #article-actions a.button:hover { border: none; @@ -932,10 +936,8 @@ hr.pre-posts, hr.sep-posts { color: #555753; } -#bt_addThis { - position: absolute; - top: -15px; - right: 0px; +#addThis { + text-align: right; } #content .blog-post .title { @@ -961,7 +963,6 @@ hr.pre-posts, hr.sep-posts { } #article-tags { - float: right; color: #FFF; } #article-tags a { diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index db86342..32a77da 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -969,8 +969,8 @@ code input { #article-actions { position: absolute; - top: -25px; - right: -17px; + top: 1px; + right: 20px; padding-right: 15px; } @@ -1143,8 +1143,6 @@ a.comment-picture { margin-bottom: -5px; } #bt_addThis { - float: right; - margin: 0px; } #addthis_dropdown15 table td { @@ -1234,16 +1232,6 @@ a.comment-picture { font-size: small; } -.blog-feed-link { - float: right; -} - -.blog-description { - margin-right: 30px; -} - - - a.button, a.button:visited, body.noosfero a.button, body.noosfero a.button:visited, input.button { @@ -1797,8 +1785,8 @@ input.disabled { Use article.css for article related css */ -.main-block .article-body, .main-block h1 { - overflow: hidden; +.main-block, .main-block h1{ + overflow: visible; } body div#activation_enterprise { @@ -1994,7 +1982,6 @@ div#activation_enterprise div { .profile-info-picture img { border: none; padding: 2px; - background: #FFF; } .profile-info-picture .sex-male, -- libgit2 0.21.2