SliderArrow.module.scss
648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@import '../../../../styles/app';
.arrow {
opacity: 0;
transition: 0.3s;
z-index: 99;
width: 50px;
height: 50px;
display: none;
align-items: center;
justify-content: center;
position: absolute;
top: 135px;
border: none;
background-color: rgba(0, 0, 0, 0.15);
&:focus {
outline: none;
}
&:hover {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.25);
}
img {
height: 20px;
width: 20px;
}
}
.arrow--left {
left: 10px;
img {
transform: rotate(180deg);
}
}
.arrow--right {
right: 10px;
}
.active {
opacity: 1;
@include media-breakpoint-down(sm) {
opacity: 0;
}
}