Fix minor issues
This commit is contained in:
parent
e992152a75
commit
72eaca7a3b
2 changed files with 49 additions and 36 deletions
|
|
@ -43,6 +43,7 @@ $slider-size: 40px;
|
|||
transform: translateY(-$slider-size / 2 + $line-height / 2) scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue