Commit 3b53b553 authored by Phil Hughes's avatar Phil Hughes

mobile improvements

parent 970a0de0
...@@ -50,15 +50,19 @@ header.navbar-gitlab-new { ...@@ -50,15 +50,19 @@ header.navbar-gitlab-new {
} }
.navbar-collapse { .navbar-collapse {
padding-left: 0;
color: $white-light; color: $white-light;
} }
.container-fluid { .container-fluid {
.navbar-toggle { .navbar-toggle {
min-width: 45px;
padding: 6px $gl-padding; padding: 6px $gl-padding;
margin-right: -5px; margin-right: -5px;
font-size: 14px;
text-align: center;
color: currentColor; color: currentColor;
border-left: 1px solid $white-light; border-left: 1px solid lighten($purple-700, 10%);
&:hover, &:hover,
&:focus, &:focus,
...@@ -68,14 +72,6 @@ header.navbar-gitlab-new { ...@@ -68,14 +72,6 @@ header.navbar-gitlab-new {
} }
} }
.navbar-toggle-left {
right: 0;
margin-right: 0;
margin-left: -16px;
border-left: 0;
border-right: 1px solid $white-light;
}
.navbar-nav { .navbar-nav {
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
padding-right: 10px; padding-right: 10px;
...@@ -116,7 +112,7 @@ header.navbar-gitlab-new { ...@@ -116,7 +112,7 @@ header.navbar-gitlab-new {
> a { > a {
display: block; display: block;
padding: 16px 9px 13px; padding: 16px 10px 13px;
font-size: 13px; font-size: 13px;
color: currentColor; color: currentColor;
border-bottom: 3px solid transparent; border-bottom: 3px solid transparent;
...@@ -135,6 +131,10 @@ header.navbar-gitlab-new { ...@@ -135,6 +131,10 @@ header.navbar-gitlab-new {
} }
} }
.header-user .dropdown-menu-nav {
margin-top: 4px;
}
.search { .search {
form { form {
border-color: $purple-800; border-color: $purple-800;
......
...@@ -16,10 +16,6 @@ ...@@ -16,10 +16,6 @@
- else - else
= render "layouts/nav/new_explore" = render "layouts/nav/new_explore"
%button.navbar-toggle.navbar-toggle-left.hide.hidden-sm.hidden-md.hidden-lg.js-navbar-toggle-left{ type: 'button' }
%span.sr-only Toggle navigation
= icon('chevron-left')
.navbar-collapse.collapse .navbar-collapse.collapse
%ul.nav.navbar-nav %ul.nav.navbar-nav
%li.hidden-sm.hidden-xs %li.hidden-sm.hidden-xs
...@@ -84,9 +80,10 @@ ...@@ -84,9 +80,10 @@
%div %div
= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success' = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success'
%button.navbar-toggle.hidden-sm.hidden-md.hidden-lg.js-navbar-toggle-right{ type: 'button' } %button.navbar-toggle.hidden-sm.hidden-md.hidden-lg{ type: 'button' }
%span.sr-only Toggle navigation %span.sr-only Toggle navigation
= icon('chevron-right') = icon('ellipsis-v', class: 'js-navbar-toggle-right')
= icon('times', class: 'js-navbar-toggle-left', style: 'display: none;')
= yield :header_content = yield :header_content
......
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