BigW Consortium Gitlab

Commit ec01fa29 by Dmitriy Zaporozhets

styled top panel

parent c844723a
...@@ -80,7 +80,6 @@ a { ...@@ -80,7 +80,6 @@ a {
.container-fluid .sidebar { .container-fluid .sidebar {
width: 250px; width: 250px;
border-left: 1px solid $lite_border_color;
height:100%; height:100%;
min-height:450px; min-height:450px;
float:right; float:right;
...@@ -88,15 +87,19 @@ a { ...@@ -88,15 +87,19 @@ a {
nav.main_menu { nav.main_menu {
border-radius: 4px; border-radius: 4px;
box-shadow: 0 1px 2px black;
width: 100%; width: 100%;
margin: auto; margin: auto;
margin-top:20px; margin-top:30px;
margin-bottom:20px; margin-bottom:30px;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595d63), to(#31363e)); background:#f1f1f1;
background-image: -webkit-linear-gradient(#595d63 6.6%, #31363e); border:1px solid #ccc;
background-image: -moz-linear-gradient(#595d63 6.6%, #31363e); height:38px;
background-image: -o-linear-gradient(#595d63 6.6%, #31363e);
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f1f1f1), to(#dfdfdf));
background-image: -webkit-linear-gradient(#f1f1f1 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#f1f1f1 6.6%, #202227);
background-image: -o-linear-gradient(#f1f1f1 6.6%, #202227);
.label { .label {
background:$hover; background:$hover;
...@@ -117,17 +120,15 @@ nav.main_menu { ...@@ -117,17 +120,15 @@ nav.main_menu {
} }
padding: 10px 25px; padding: 10px 25px;
display: inline-block; display: inline-block;
color: #D6DADF; color: $style_color;
border-right: 1px solid #31363E; border-right: 1px solid #ccc;
position: relative; position: relative;
box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1); box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1);
margin: 0; margin: 0;
text-shadow: 0 -1px 0 black; float:left;
text-shadow:0 1px 1px white;
&.current { &.current {
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595d63), to(#2c2f35)); background:#DDD;
background-image: -webkit-linear-gradient(#595d63 6.6%, #2c2f35);
background-image: -moz-linear-gradient(#595d63 6.6%, #202227);
background-image: -o-linear-gradient(#595d63 6.6%, #202227);
} }
} }
} }
...@@ -228,11 +229,6 @@ img.lil_av { ...@@ -228,11 +229,6 @@ img.lil_av {
} }
} }
.well {
a h3 {
color:$link_color;
}
}
.widget { .widget {
padding:20px; padding:20px;
margin-bottom:20px; margin-bottom:20px;
......
%nav.main_menu %nav.main_menu
-#= link_to "Activities", dashboard_path, :class => "#{"active" if current_page?(dashboard_path) || current_page?(root_path) }" = link_to "Projects", projects_path, :class => "#{"current" if current_page?(projects_path) || current_page?(root_path)}"
= link_to "Projects", projects_path, :class => "#{"active" if current_page?(projects_path)}" = link_to "Issues", dashboard_issues_path, :class => "#{"current" if current_page?(dashboard_issues_path)}", :id => "issues_slide"
= 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 => "#{"current" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide"
= link_to "Requests", dashboard_merge_requests_path, :class => "#{"active" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide" = link_to "Help", help_path, :class => "#{"current" if controller.controller_name == "help"}"
= link_to "Help", help_path, :class => "#{"active" if controller.controller_name == "help"}"
%aside.projects %aside.projects
- if current_user.can_create_project? - if current_user.can_create_project?
.alert-message.block-message .widget
You can create at least You can create at least
= current_user.projects_limit = current_user.projects_limit
projects. Click on button to add a new one projects. Click on button to add a new one
.alert-actions %hr
= link_to new_project_path, :class => "btn small" do = link_to new_project_path, :class => "btn small" do
New Project » New Project »
- if current_user.is_admin? - if current_user.is_admin?
.alert-message.block-message .widget
You have administrator privilegies. You can configure application following this button: You have administrator privilegies. You can configure application following this button:
.alert-actions %hr
= link_to admin_root_path, :class => "btn small", :title => "Admin" do = link_to admin_root_path, :class => "btn small", :title => "Admin" do
Visit Admin Area » Visit Admin Area »
- if current_user.projects.count > 0 - if current_user.projects.count > 0
%div.entry = render "widgets/recent_projects"
%h5
Recent Projects:
%ul
- current_user.projects.order("id DESC").limit(5).each do |project|
%li
= link_to project_path(project) do
= project.name
= link_to "More » ", projects_path
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment