Commit b620c41c4c94a126349903482b499005273eacca
1 parent
3a767530
Exists in
staging
and in
42 other branches
Some finishing touches in scarletred theme
(ActionItem1529)
Showing
4 changed files
with
7 additions
and
2 deletions
Show diff stats
5.96 KB
No preview for this file type
public/designs/themes/scarletred/site_title.rhtml
| 1 | -<%= link_to(image_tag("/designs/themes/#{environment.theme}/imgs/thin-logo.png"), environment.top_url) %> | |
| 1 | +<% if File.exists?(File.join(Rails.root, 'public', "/designs/themes/#{environment.theme}/images/thin-logo.png")) %> | |
| 2 | + <%= link_to(image_tag("/designs/themes/#{environment.theme}/images/thin-logo.png"), environment.top_url) %> | |
| 3 | +<% else %> | |
| 4 | + <%= link_to(environment.name, environment.top_url) %> | |
| 5 | +<% end %> | ... | ... |
public/designs/themes/scarletred/style.css
| ... | ... | @@ -32,7 +32,7 @@ body { |
| 32 | 32 | |
| 33 | 33 | #user { |
| 34 | 34 | top: -23px; |
| 35 | - right: 10px; | |
| 35 | + right: 0px; | |
| 36 | 36 | height: 20px; |
| 37 | 37 | } |
| 38 | 38 | |
| ... | ... | @@ -158,6 +158,7 @@ body { |
| 158 | 158 | #site-title a { |
| 159 | 159 | display: block; |
| 160 | 160 | top: 0px; |
| 161 | + left: 0px; | |
| 161 | 162 | height: 20px; |
| 162 | 163 | } |
| 163 | 164 | ... | ... |