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