Commit c1fc0260b733dc48bc532582b2b8480edb85819a

Authored by Antonio Terceiro
1 parent 7b34f8a1

Allowing more flexibility for themes

app/helpers/block_helper.rb
... ... @@ -3,7 +3,7 @@ module BlockHelper
3 3 def block_title(title)
4 4 tag_class = 'block-title'
5 5 tag_class += ' empty' if title.empty?
6   - content_tag 'h3', title, :class => tag_class
  6 + content_tag 'h3', content_tag('span', title), :class => tag_class
7 7 end
8 8  
9 9 end
... ...
app/views/account/login_block.rhtml
1 1 <div class="login-box">
2 2 <% unless logged_in? %>
3 3  
4   - <h2><%= _('Login') %></h2>
  4 + <h2><span><%= _('Login') %></span></h2>
5 5  
6 6 <div class="login-box-content">
7 7  
... ...
public/designs/themes/base/style.css
... ... @@ -40,6 +40,9 @@ input.button.with-text {
40 40 body {
41 41 background: #EEE;
42 42 font-family: Liberation Sans, Arial, sans-serif;
  43 +}
  44 +
  45 +#wrap-1, #theme-footer {
43 46 width: 960px;
44 47 margin: auto;
45 48 }
... ... @@ -639,10 +642,6 @@ div#notice {
639 642  
640 643 /********************* Environment Statistics ************************/
641 644  
642   -#content .environment-statistics-block .block-title {
643   - color: #AAA;
644   - border-bottom: 2px solid #AAA;
645   -}
646 645 #content .environment-statistics-block ul {
647 646 margin: 0px 20px;
648 647 padding: 0px;
... ...