Commit d144160f authored by Kushal Pandya's avatar Kushal Pandya

Flip embedded SVG on hover

parent 3202c9c0
......@@ -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 {
......
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