Skip to content
Snippets Groups Projects
Commit 3b53b553 authored by Phil Hughes's avatar Phil Hughes
Browse files

mobile improvements

parent 970a0de0
No related branches found
No related tags found
No related merge requests found
Loading
@@ -50,15 +50,19 @@ header.navbar-gitlab-new {
Loading
@@ -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,
Loading
@@ -68,14 +72,6 @@ header.navbar-gitlab-new {
Loading
@@ -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;
Loading
@@ -116,7 +112,7 @@ header.navbar-gitlab-new {
Loading
@@ -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;
Loading
@@ -135,6 +131,10 @@ header.navbar-gitlab-new {
Loading
@@ -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;
Loading
Loading
Loading
@@ -16,10 +16,6 @@
Loading
@@ -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
Loading
@@ -84,9 +80,10 @@
Loading
@@ -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
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment