Commit c1fc0260b733dc48bc532582b2b8480edb85819a
1 parent
7b34f8a1
Exists in
master
and in
29 other branches
Allowing more flexibility for themes
Showing
3 changed files
with
5 additions
and
6 deletions
Show diff stats
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
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; |