Fix minor issues

This commit is contained in:
schmelczerandras 2019-08-27 14:58:43 +02:00
commit 72eaca7a3b
2 changed files with 49 additions and 36 deletions

View file

@ -43,6 +43,7 @@ $slider-size: 40px;
transform: translateY(-$slider-size / 2 + $line-height / 2) scale(1.1);
}
}
cursor: pointer;
position: relative;

View file

@ -50,13 +50,15 @@
transition: box-shadow $long-animation-time, left $long-animation-time, transform $long-animation-time;
}
&:hover:after {
box-shadow: $shadow;
transform: translateX(2px);
}
@media (min-width: $mobile-width) {
&:hover:after {
box-shadow: $shadow;
transform: translateX(2px);
}
&.on:hover:after {
transform: translateX(-2px);
&.on:hover:after {
transform: translateX(-2px);
}
}
&.on:after {