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