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
Tatuya Kamada
gitlab-ce
Commits
67ad6cc7
Commit
67ad6cc7
authored
Jul 14, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
parents
bf3c970b
2280cb23
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
124 additions
and
3 deletions
+124
-3
app/assets/javascripts/application.js.coffee
app/assets/javascripts/application.js.coffee
+3
-0
app/assets/stylesheets/generic/sidebar.scss
app/assets/stylesheets/generic/sidebar.scss
+2
-1
app/assets/stylesheets/themes/gitlab-theme.scss
app/assets/stylesheets/themes/gitlab-theme.scss
+0
-1
app/views/layouts/_page.html.haml
app/views/layouts/_page.html.haml
+1
-1
vendor/assets/javascripts/jquery.nicescroll.min.js
vendor/assets/javascripts/jquery.nicescroll.min.js
+118
-0
No files found.
app/assets/javascripts/application.js.coffee
View file @
67ad6cc7
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
#= require shortcuts_issuable
#= require shortcuts_issuable
#= require shortcuts_network
#= require shortcuts_network
#= require cal-heatmap
#= require cal-heatmap
#= require jquery.nicescroll.min
#= require_tree .
#= require_tree .
window
.
slugify
=
(
text
)
->
window
.
slugify
=
(
text
)
->
...
@@ -104,6 +105,8 @@ if location.hash
...
@@ -104,6 +105,8 @@ if location.hash
window
.
addEventListener
"hashchange"
,
shiftWindow
window
.
addEventListener
"hashchange"
,
shiftWindow
$
->
$
->
$
(
".nicescroll"
).
niceScroll
(
cursoropacitymax
:
'0.4'
,
cursorcolor
:
'#FFF'
,
cursorborder
:
"1px solid #FFF"
)
# Click a .js-select-on-focus field, select the contents
# Click a .js-select-on-focus field, select the contents
$
(
".js-select-on-focus"
).
on
"focusin"
,
->
$
(
".js-select-on-focus"
).
on
"focusin"
,
->
# Prevent a mouseup event from deselecting the input
# Prevent a mouseup event from deselecting the input
...
...
app/assets/stylesheets/generic/sidebar.scss
View file @
67ad6cc7
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
position
:
fixed
;
position
:
fixed
;
top
:
0
;
top
:
0
;
bottom
:
0
;
bottom
:
0
;
overflow-y
:
scroll
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
left
:
0
;
left
:
0
;
height
:
100%
;
height
:
100%
;
transition-duration
:
.3s
;
transition-duration
:
.3s
;
...
...
app/assets/stylesheets/themes/gitlab-theme.scss
View file @
67ad6cc7
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
.sidebar-wrapper
{
.sidebar-wrapper
{
background
:
$color-darker
;
background
:
$color-darker
;
border-right
:
1px
solid
$color-darker
;
.sidebar-user
{
.sidebar-user
{
background
:
$color-darker
;
background
:
$color-darker
;
...
...
app/views/layouts/_page.html.haml
View file @
67ad6cc7
.page-with-sidebar
{
class:
nav_sidebar_class
}
.page-with-sidebar
{
class:
nav_sidebar_class
}
=
render
"layouts/broadcast"
=
render
"layouts/broadcast"
.sidebar-wrapper
.sidebar-wrapper
.nicescroll
-
if
defined?
(
sidebar
)
&&
sidebar
-
if
defined?
(
sidebar
)
&&
sidebar
=
render
"layouts/nav/
#{
sidebar
}
"
=
render
"layouts/nav/
#{
sidebar
}
"
-
elsif
current_user
-
elsif
current_user
...
...
vendor/assets/javascripts/jquery.nicescroll.min.js
0 → 100644
View file @
67ad6cc7
This diff is collapsed.
Click to expand it.
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