Commit d144160f authored by Kushal Pandya's avatar Kushal Pandya

Flip embedded SVG on hover

parent 3202c9c0
...@@ -80,18 +80,36 @@ ...@@ -80,18 +80,36 @@
height: 33px; height: 33px;
&.scroll-top { &.scroll-top {
background-image: image-url('scroll_up'); .gitlab-icon-scroll-up-hover {
display: none;
}
&:hover { &: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 { &.scroll-bottom {
background-image: image-url('scroll_down'); .gitlab-icon-scroll-down-hover {
display: none;
}
&:hover { &: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 @@ ...@@ -129,7 +147,6 @@
display: inline-block; display: inline-block;
width: 16px; width: 16px;
height: 33px; height: 33px;
background-image: image-url('scroll_down_hover_active');
} }
.status-text { .status-text {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment