Commit 467d7f67 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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