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
Léo-Paul Géneau
gitlab-ce
Commits
5f797be0
Commit
5f797be0
authored
Dec 15, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mobile UI fixes for sidebar nav
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
5f63c005
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+0
-2
app/assets/stylesheets/sections/sidebar.scss
app/assets/stylesheets/sections/sidebar.scss
+15
-10
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+1
-1
No files found.
app/assets/stylesheets/sections/header.scss
View file @
5f797be0
...
...
@@ -52,8 +52,6 @@ header {
border-width
:
0
;
font-size
:
18px
;
.app_logo
{
margin-left
:
-15px
;
}
.title
{
@include
str-truncated
(
70%
);
}
...
...
app/assets/stylesheets/sections/sidebar.scss
View file @
5f797be0
...
...
@@ -47,11 +47,6 @@ body.project {
.sidebar-wrapper
{
z-index
:
1000
;
position
:
absolute
;
left
:
250px
;
width
:
0
;
height
:
100%
;
margin-left
:
-250px
;
overflow-y
:
auto
;
background
:
#F5F5F5
;
}
...
...
@@ -63,12 +58,12 @@ body.project {
}
.nav-sidebar
{
position
:
fixed
;
top
:
45px
;
width
:
250px
;
margin
:
0
;
list-style
:
none
;
margin-top
:
20px
;
&
.navbar-collapse
{
padding
:
0px
!
important
;
}
}
.nav-sidebar
li
a
.count
{
...
...
@@ -143,6 +138,17 @@ body.project {
.sidebar-wrapper
{
width
:
250px
;
position
:
absolute
;
left
:
250px
;
height
:
100%
;
margin-left
:
-250px
;
.nav-sidebar
{
margin-top
:
20px
;
position
:
fixed
;
top
:
45px
;
width
:
250px
;
}
}
.content-wrapper
{
...
...
@@ -154,4 +160,3 @@ body.project {
.profiler-results
{
display
:
none
;
}
app/views/layouts/nav/_project.html.haml
View file @
5f797be0
%ul
.project-navigation.nav.nav-sidebar
%ul
.project-navigation.nav.nav-sidebar
.navbar-collapse.collapse
=
nav_link
(
path:
'projects#show'
,
html_options:
{
class:
"home"
})
do
=
link_to
project_path
(
@project
),
title:
'Project'
,
class:
'shortcuts-project'
do
Project
...
...
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