diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-09 19:06:21 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-21 13:16:17 +0530 |
commit | d144160f9f1f7b59ea2cc49d511b6a195b8b6e2d (patch) | |
tree | d48fe0d8b5a3dadc3c81cbf902143693311fab35 | |
parent | 3202c9c01b6c638ed9a8b7195b83b862b97ee33d (diff) | |
download | gitlab-ce-d144160f9f1f7b59ea2cc49d511b6a195b8b6e2d.tar.gz |
Flip embedded SVG on hover
-rw-r--r-- | app/assets/stylesheets/pages/builds.scss | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss index 23028ae01de..04cd9db2acf 100644 --- a/app/assets/stylesheets/pages/builds.scss +++ b/app/assets/stylesheets/pages/builds.scss @@ -80,18 +80,36 @@ height: 33px; &.scroll-top { - background-image: image-url('scroll_up'); + .gitlab-icon-scroll-up-hover { + display: none; + } &:hover { - background-image: image-url('scroll_up_hover_active'); + + .gitlab-icon-scroll-up { + display: none; + } + + .gitlab-icon-scroll-up-hover { + display: inline-block; + } } } &.scroll-bottom { - background-image: image-url('scroll_down'); + .gitlab-icon-scroll-down-hover { + display: none; + } &:hover { - background-image: image-url('scroll_down_hover_active'); + + .gitlab-icon-scroll-down { + display: none; + } + + .gitlab-icon-scroll-down-hover { + display: inline-block; + } } } @@ -129,7 +147,6 @@ display: inline-block; width: 16px; height: 33px; - background-image: image-url('scroll_down_hover_active'); } .status-text { |