Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2016-12-09 17:36:03 +0300
committerKushal Pandya <kushal@gitlab.com>2016-12-21 10:46:17 +0300
commit719e59c71066748f10bedab35b4006e37e3d025f (patch)
tree7a3ac0af644a1d08296e2b7e8d410e14bb5764a7 /app/assets/stylesheets/pages/builds.scss
parentdf0aeae7da14fa3627c5627c11c521d91170aca9 (diff)
Make scroll buttons sticky always
Diffstat (limited to 'app/assets/stylesheets/pages/builds.scss')
-rw-r--r--app/assets/stylesheets/pages/builds.scss23
1 files changed, 7 insertions, 16 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index 04cd9db2acf..173bc2d80cf 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -67,19 +67,20 @@
margin: 0 0 0 auto;
}
- .scroll-link.sticky,
+ .scroll-link,
.autoscroll-container {
right: 25px;
z-index: 1;
}
.scroll-link {
+ position: fixed;
display: block;
margin-bottom: 10px;
- width: 16px;
- height: 33px;
&.scroll-top {
+ top: 110px;
+
.gitlab-icon-scroll-up-hover {
display: none;
}
@@ -97,6 +98,8 @@
}
&.scroll-bottom {
+ bottom: -2px;
+
.gitlab-icon-scroll-down-hover {
display: none;
}
@@ -112,18 +115,6 @@
}
}
}
-
- &.sticky {
- position: fixed;
-
- &.scroll-top {
- top: 110px;
- }
-
- &.scroll-bottom {
- bottom: -2px;
- }
- }
}
.autoscroll-container {
@@ -132,7 +123,7 @@
&.sidebar-expanded {
- .scroll-link.sticky,
+ .scroll-link,
.autoscroll-container {
right: ($gutter_width + ($gl-padding * 2));
}