Improve UI of project sidebar

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a3b60982
......@@ -210,8 +210,13 @@ ul.nav.nav-projects-tabs {
}
.panel {
@include border-radius(3px);
.panel-heading, .panel-footer {
background-color: #fcfcfc;
font-weight: normal;
background-color: transparent;
color: #666;
border-color: #EEE;
}
.actions {
......@@ -225,7 +230,7 @@ ul.nav.nav-projects-tabs {
}
.nav {
margin-bottom: 10px;
margin-bottom: 15px;
}
}
......
......@@ -20,23 +20,23 @@
= icon('search')
%li
= link_to help_path, title: 'Help', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('question-circle')
= icon('question-circle fw')
%li
= link_to explore_root_path, title: 'Explore', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('globe')
= icon('globe fw')
%li
= link_to user_snippets_path(current_user), title: 'Your snippets', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('clipboard')
= icon('clipboard fw')
- if current_user.is_admin?
%li
= link_to admin_root_path, title: 'Admin area', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('wrench')
= icon('wrench fw')
- if current_user.can_create_project?
%li
= link_to new_project_path, title: 'New project', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('plus')
= icon('plus fw')
%li
= link_to profile_path, title: 'Profile settings', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('cog')
= icon('cog fw')
= render 'shared/outdated_browser'
......@@ -56,7 +56,7 @@
- unless @project.empty_repo?
.panel.panel-default
.panel-heading
= icon("archive fw")
= icon("folder-o fw")
Repository
.panel-body
%ul.nav.nav-pills
......
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