From 0aa0cb790373e426766596e0270b90310fd49098 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 19 Jan 2012 22:18:15 +0200 Subject: [PATCH] lil css fixed --- app/assets/stylesheets/top_panel.scss | 7 ++++--- app/views/layouts/_head_panel.html.haml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/top_panel.scss b/app/assets/stylesheets/top_panel.scss index d4b695d8..6299f7d0 100644 --- a/app/assets/stylesheets/top_panel.scss +++ b/app/assets/stylesheets/top_panel.scss @@ -100,7 +100,7 @@ body header { color: #666; border: 1px solid #AAA; padding: 0 10px 0 30px; - background: white url('images.png') no-repeat 8px -42px; + background: transparent url('images.png') no-repeat 8px -42px; width: 160px; height:26px; } @@ -121,12 +121,13 @@ body header { } .chzn-single { - background:white; + background:transparent; -moz-border-radius: 4px; border-radius: 4px; div { - background:white; + background:transparent; + border-left:none; } span { diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml index eb8e8ef4..5f775228 100644 --- a/app/views/layouts/_head_panel.html.haml +++ b/app/views/layouts/_head_panel.html.haml @@ -19,7 +19,7 @@ - else .dashboard_links = link_to "Activities", dashboard_path, :class => "#{"active" if current_page?(dashboard_path) || current_page?(root_path) }" - -#= link_to "Projects", projects_path, :class => "#{"active" if current_page?(projects_path)}" + = link_to "Projects", projects_path, :class => "#{"active" if current_page?(projects_path)}" = link_to "Issues", dashboard_issues_path, :class => "#{"active" if current_page?(dashboard_issues_path)}", :id => "issues_slide" = link_to "Requests", dashboard_merge_requests_path, :class => "#{"active" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide" - if current_user.is_admin?