diff --git a/app/assets/images/logo_tr.png b/app/assets/images/logo_tr.png new file mode 100644 index 00000000..7a934bbb Binary files /dev/null and b/app/assets/images/logo_tr.png differ diff --git a/app/assets/stylesheets/top_panel.scss b/app/assets/stylesheets/top_panel.scss index 32b455ab..a07fce17 100644 --- a/app/assets/stylesheets/top_panel.scss +++ b/app/assets/stylesheets/top_panel.scss @@ -27,7 +27,7 @@ body header { margin:0; margin-right:30px; font-size:20px; - line-height:28px; + line-height:34px; font-weight:bold; color:#666; text-shadow: 0 1px 1px #FFF; @@ -57,12 +57,34 @@ body header { } } } -.main_links { - width:155px; + +.app_logo { + width:230px; float:left; a { float:left; + + h1 { + float:left; + margin-left:5px; + font-size:20px; + line-height:34px; + font-weight:bold; + color:#aaa; + text-shadow: 0 1px 1px #FFF; + + &:hover { + color:$active_link_color; + } + } + + img { + float: left; + position: relative; + top: -9px; + width:46px; + } } } diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml index 3def23b1..1b62ecf4 100644 --- a/app/views/layouts/_head_panel.html.haml +++ b/app/views/layouts/_head_panel.html.haml @@ -2,12 +2,13 @@ %header.top_panel_holder .wrapper .top_panel_content - %div.main_links + %div.app_logo = link_to root_path, :class => "home", :title => "Home" do - = image_tag "logo.png", :width => 100 + = image_tag "logo_tr.png", :width => 50 + %h1 GITLAB %h1.project_name= title - .search= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input xlarge" + .search= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input" .account-box