Commit 265750c8 authored by Jacob Schatz's avatar Jacob Schatz

adds css for `left-top-menu`. Also hides buttons in certain for factors.

parent 48ecb614
...@@ -374,9 +374,9 @@ table { ...@@ -374,9 +374,9 @@ table {
} }
} }
.center-top-menu { .center-top-menu, .left-top-menu {
@include nav-menu; @include nav-menu;
text-align: left; text-align: center;
margin-top: 5px; margin-top: 5px;
margin-bottom: $gl-padding; margin-bottom: $gl-padding;
height: auto; height: auto;
...@@ -409,6 +409,10 @@ table { ...@@ -409,6 +409,10 @@ table {
} }
} }
.left-top-menu {
text-align: left;
}
.center-middle-menu { .center-middle-menu {
@include nav-menu; @include nav-menu;
padding: 0; padding: 0;
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
display: none; display: none;
} }
.center-top-menu { .center-top-menu, .left-top-menu {
li a { li a {
font-size: 14px; font-size: 14px;
padding: 19px 10px; padding: 19px 10px;
......
...@@ -338,7 +338,7 @@ ul.nav.nav-projects-tabs { ...@@ -338,7 +338,7 @@ ul.nav.nav-projects-tabs {
.top-area { .top-area {
border-bottom: 1px solid #EEE; border-bottom: 1px solid #EEE;
ul.center-top-menu { ul.left-top-menu {
display: inline-block; display: inline-block;
width: 50%; width: 50%;
margin-bottom: 0px; margin-bottom: 0px;
...@@ -350,12 +350,19 @@ ul.nav.nav-projects-tabs { ...@@ -350,12 +350,19 @@ ul.nav.nav-projects-tabs {
display: inline-block; display: inline-block;
float: right; float: right;
padding-top: 7px; padding-top: 7px;
text-align: right;
.btn-green { .btn-green {
margin-top: -2px; margin-top: -2px;
margin-left: 10px; margin-left: 10px;
} }
} }
@media (max-width: $screen-xs-max) {
.projects-search-form {
padding-top: 15px;
}
}
} }
.fork-namespaces { .fork-namespaces {
......
= content_for :flash_message do = content_for :flash_message do
= render 'shared/project_limit' = render 'shared/project_limit'
.top-area .top-area
%ul.center-top-menu %ul.left-top-menu
= nav_link(page: [dashboard_projects_path, root_path]) do = nav_link(page: [dashboard_projects_path, root_path]) do
= link_to dashboard_projects_path, title: 'Home', class: 'shortcuts-activity', data: {placement: 'right'} do = link_to dashboard_projects_path, title: 'Home', class: 'shortcuts-activity', data: {placement: 'right'} do
Your Projects Your Projects
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
Explore Projects Explore Projects
.projects-search-form .projects-search-form
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name...', class: 'projects-list-filter form-control', spellcheck: false = search_field_tag :filter_projects, nil, placeholder: 'Filter by name...', class: 'projects-list-filter form-control hidden-xs', spellcheck: false
- if current_user.can_create_project? - if current_user.can_create_project?
= link_to new_project_path, class: 'btn btn-green' do = link_to new_project_path, class: 'btn btn-green' do
%i.fa.fa-plus %i.fa.fa-plus
......
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