BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d52034b2
Commit
d52034b2
authored
Jun 30, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '34036-sidebar-mobile' into 'master'
Automatically hide sidebar on smaller screens See merge request !12538
parents
daa7cdb3
7541362f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
new_sidebar.scss
app/assets/stylesheets/new_sidebar.scss
+7
-0
No files found.
app/assets/stylesheets/new_sidebar.scss
View file @
d52034b2
...
@@ -49,6 +49,7 @@ $new-sidebar-width: 220px;
...
@@ -49,6 +49,7 @@ $new-sidebar-width: 220px;
position
:
fixed
;
position
:
fixed
;
z-index
:
400
;
z-index
:
400
;
width
:
$new-sidebar-width
;
width
:
$new-sidebar-width
;
transition
:
width
$sidebar-transition-duration
;
top
:
50px
;
top
:
50px
;
bottom
:
0
;
bottom
:
0
;
left
:
0
;
left
:
0
;
...
@@ -62,6 +63,8 @@ $new-sidebar-width: 220px;
...
@@ -62,6 +63,8 @@ $new-sidebar-width: 220px;
}
}
li
{
li
{
white-space
:
nowrap
;
a
{
a
{
display
:
block
;
display
:
block
;
padding
:
12px
14px
;
padding
:
12px
14px
;
...
@@ -72,6 +75,10 @@ $new-sidebar-width: 220px;
...
@@ -72,6 +75,10 @@ $new-sidebar-width: 220px;
color
:
$gl-text-color
;
color
:
$gl-text-color
;
text-decoration
:
none
;
text-decoration
:
none
;
}
}
@media
(
max-width
:
$screen-xs-max
)
{
width
:
0
;
}
}
}
.sidebar-sub-level-items
{
.sidebar-sub-level-items
{
...
...
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