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
ba63e4f1
Commit
ba63e4f1
authored
Dec 06, 2016
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated styles to use scroll icons
parent
16ad6ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
22 deletions
+46
-22
app/assets/stylesheets/pages/builds.scss
app/assets/stylesheets/pages/builds.scss
+46
-22
No files found.
app/assets/stylesheets/pages/builds.scss
View file @
ba63e4f1
...
...
@@ -22,26 +22,44 @@
margin
:
0
0
0
auto
;
}
.
btn
.sticky
,
.
scroll-link
.sticky
,
.autoscroll-container
{
right
:
25px
;
z-index
:
1
;
}
.
btn
{
.
scroll-link
{
display
:
block
;
margin-bottom
:
10px
;
color
:
$white-light
;
border-color
:
$white-light
;
background-color
:
rgba
(
$ci-output-bg
,
.5
);
width
:
16px
;
height
:
33px
;
&
.scroll-top
{
background-image
:
image-url
(
'scroll_up'
);
&
:hover
{
background-image
:
image-url
(
'scroll_up_hover_active'
);
}
}
&
.scroll-bottom
{
background-image
:
image-url
(
'scroll_down'
);
&
:hover
{
background-image
:
image-url
(
'scroll_down_hover_active'
);
}
}
&
.sticky
{
position
:
fixed
;
}
&
:hover
{
color
:
$ci-output-bg
;
background-color
:
$white-light
;
&
.scroll-top
{
top
:
110px
;
}
&
.scroll-bottom
{
bottom
:
-2px
;
}
}
}
...
...
@@ -49,33 +67,41 @@
position
:
absolute
;
.status-message
{
display
:
inline-block
;
color
:
$white-light
;
i
{
display
:
inline-block
;
width
:
16px
;
height
:
33px
;
background-image
:
image-url
(
'scroll_down_hover_active'
);
}
label
{
margin-left
:
5px
;
float
:
left
;
opacity
:
0
;
margin-right
:
10px
;
font-weight
:
normal
;
line-height
:
1
.8
;
transition
:
opacity
1s
ease-out
;
}
}
}
#scroll-top
.btn.sticky
{
top
:
110px
;
}
#scroll-bottom
.btn.sticky
{
bottom
:
-2px
;
&
:hover
label
{
opacity
:
1
;
}
}
}
&
.sidebar-expanded
{
.
btn
.sticky
,
.
scroll-link
.sticky
,
.autoscroll-container
{
right
:
#{
$gutter_width
+
(
$gl-padding
*
2
)
}
;
}
}
@media
(
max-width
:
$screen-sm-max
)
{
.
btn
{
.
scroll-link
{
padding
:
6px
13px
;
}
...
...
@@ -322,8 +348,6 @@
margin-top
:
-17px
;
}
@media
(
min-width
:
$screen-md-min
)
{
.sub-nav.build
{
width
:
calc
(
100%
+
#{
$gutter_width
}
);
...
...
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