Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
926a8146
Commit
926a8146
authored
Apr 23, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve navbar toggle for mobile devices
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
27289599
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
13 deletions
+3
-13
app/assets/stylesheets/generic/header.scss
app/assets/stylesheets/generic/header.scss
+1
-8
app/assets/stylesheets/themes/gitlab-theme.scss
app/assets/stylesheets/themes/gitlab-theme.scss
+2
-5
No files found.
app/assets/stylesheets/generic/header.scss
View file @
926a8146
...
@@ -76,15 +76,10 @@ header {
...
@@ -76,15 +76,10 @@ header {
}
}
.navbar-toggle
{
.navbar-toggle
{
color
:
$style_color
;
color
:
#666
;
margin
:
0
;
margin
:
0
;
padding
:
10px
;
border-radius
:
0
;
border-radius
:
0
;
button
i
{
font-size
:
22px
;
}
&
.collapsed
{
background-color
:
transparent
!
important
;}
&
:hover
{
&
:hover
{
background-color
:
#EEE
;
background-color
:
#EEE
;
}
}
...
@@ -106,8 +101,6 @@ header {
...
@@ -106,8 +101,6 @@ header {
.navbar-collapse
{
.navbar-collapse
{
margin-top
:
47px
;
margin-top
:
47px
;
padding-right
:
0
;
padding-left
:
0
;
}
}
.navbar-nav
{
.navbar-nav
{
...
...
app/assets/stylesheets/themes/gitlab-theme.scss
View file @
926a8146
...
@@ -2,15 +2,12 @@
...
@@ -2,15 +2,12 @@
header
{
header
{
&
.navbar-gitlab
{
&
.navbar-gitlab
{
.navbar-inner
{
.navbar-inner
{
.navbar-toggle
{
.app_logo
{
color
:
#FFF
;
background-color
:
$color-darker
;
}
.app_logo
,
.navbar-toggle
{
a
{
a
{
color
:
$color-light
;
color
:
$color-light
;
}
}
background-color
:
$color-darker
;
&
:hover
{
&
:hover
{
background-color
:
$color-dark
;
background-color
:
$color-dark
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment