Commit 63ca9fd0 authored by Kushal Pandya's avatar Kushal Pandya

Combine common rules

parent 3f2fd48c
...@@ -78,42 +78,24 @@ ...@@ -78,42 +78,24 @@
display: block; display: block;
margin-bottom: 10px; margin-bottom: 10px;
&.scroll-top { &.scroll-top .gitlab-icon-scroll-up-hover,
top: 110px; &.scroll-top:hover .gitlab-icon-scroll-up,
&.scroll-bottom .gitlab-icon-scroll-down-hover,
.gitlab-icon-scroll-up-hover { &.scroll-bottom:hover .gitlab-icon-scroll-down {
display: none; display: none;
} }
&:hover { &.scroll-top:hover .gitlab-icon-scroll-up-hover,
&.scroll-bottom:hover .gitlab-icon-scroll-down-hover {
.gitlab-icon-scroll-up {
display: none;
}
.gitlab-icon-scroll-up-hover {
display: inline-block; display: inline-block;
} }
}
&.scroll-top {
top: 110px;
} }
&.scroll-bottom { &.scroll-bottom {
bottom: -2px; bottom: -2px;
.gitlab-icon-scroll-down-hover {
display: none;
}
&:hover {
.gitlab-icon-scroll-down {
display: none;
}
.gitlab-icon-scroll-down-hover {
display: inline-block;
}
}
} }
} }
...@@ -217,8 +199,7 @@ ...@@ -217,8 +199,7 @@
position: relative; position: relative;
width: 6px; width: 6px;
height: 6px; height: 6px;
margin-bottom: 12px; margin: auto auto 12px 2px;
margin-left: 2px;
border-radius: 50%; border-radius: 50%;
animation: blinking-dots 1s linear infinite; animation: blinking-dots 1s linear infinite;
} }
......
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