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
Jérome Perrin
gitlab-ce
Commits
719e59c7
Commit
719e59c7
authored
Dec 09, 2016
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make scroll buttons sticky always
parent
df0aeae7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
16 deletions
+7
-16
app/assets/stylesheets/pages/builds.scss
app/assets/stylesheets/pages/builds.scss
+7
-16
No files found.
app/assets/stylesheets/pages/builds.scss
View file @
719e59c7
...
@@ -67,19 +67,20 @@
...
@@ -67,19 +67,20 @@
margin
:
0
0
0
auto
;
margin
:
0
0
0
auto
;
}
}
.scroll-link
.sticky
,
.scroll-link
,
.autoscroll-container
{
.autoscroll-container
{
right
:
25px
;
right
:
25px
;
z-index
:
1
;
z-index
:
1
;
}
}
.scroll-link
{
.scroll-link
{
position
:
fixed
;
display
:
block
;
display
:
block
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
width
:
16px
;
height
:
33px
;
&
.scroll-top
{
&
.scroll-top
{
top
:
110px
;
.gitlab-icon-scroll-up-hover
{
.gitlab-icon-scroll-up-hover
{
display
:
none
;
display
:
none
;
}
}
...
@@ -97,6 +98,8 @@
...
@@ -97,6 +98,8 @@
}
}
&
.scroll-bottom
{
&
.scroll-bottom
{
bottom
:
-2px
;
.gitlab-icon-scroll-down-hover
{
.gitlab-icon-scroll-down-hover
{
display
:
none
;
display
:
none
;
}
}
...
@@ -112,18 +115,6 @@
...
@@ -112,18 +115,6 @@
}
}
}
}
}
}
&
.sticky
{
position
:
fixed
;
&
.scroll-top
{
top
:
110px
;
}
&
.scroll-bottom
{
bottom
:
-2px
;
}
}
}
}
.autoscroll-container
{
.autoscroll-container
{
...
@@ -132,7 +123,7 @@
...
@@ -132,7 +123,7 @@
&
.sidebar-expanded
{
&
.sidebar-expanded
{
.scroll-link
.sticky
,
.scroll-link
,
.autoscroll-container
{
.autoscroll-container
{
right
:
(
$gutter_width
+
(
$gl-padding
*
2
));
right
:
(
$gutter_width
+
(
$gl-padding
*
2
));
}
}
...
...
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