-
Notifications
You must be signed in to change notification settings - Fork 588
Expand file tree
/
Copy pathCarousel.css
More file actions
87 lines (87 loc) · 1.75 KB
/
Copy pathCarousel.css
File metadata and controls
87 lines (87 loc) · 1.75 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.nuka-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.nuka-container {
position: relative;
}
.nuka-slide-container {
position: relative;
}
.nuka-overflow {
overflow: scroll;
scroll-behavior: smooth;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.nuka-overflow::-webkit-scrollbar {
display: none;
}
.nuka-wrapper {
display: flex;
}
.nuka-nav-button {
position: absolute;
top: calc(50% - 2rem);
margin: 1rem;
display: none;
height: 2rem;
width: 2rem;
cursor: pointer;
background-color: rgba(146, 148, 151, 0.5);
color: white;
border-radius: 9999px;
font-size: 1rem;
user-select: none;
border: 0;
display: flex;
align-items: center;
justify-content: center;
}
.nuka-nav-button.nuka-nav-button-prev {
left: 0;
margin-right: 1rem;
}
.nuka-nav-button.nuka-nav-button-next {
right: 0;
margin-left: 1rem;
}
.nuka-nav-button:hover {
background-color: rgba(146, 148, 151, 0.65);
}
.nuka-container-auto-hide .nuka-nav-button {
display: none;
}
.nuka-container-auto-hide:hover .nuka-nav-button-enabled {
display: block;
}
.nuka-page-container {
padding-top: 1rem;
padding-bottom: 1rem;
display: flex;
gap: 0.5rem;
justify-content: center;
align-items: center;
}
.nuka-page-indicator {
width: 0.75rem;
height: 0.75rem;
cursor: pointer;
border-radius: 9999px;
border-style: none;
background-color: rgba(146, 148, 151, 0.65);
}
.nuka-page-indicator.nuka-page-indicator-active,
.nuka-page-indicator.nuka-page-indicator-active:hover {
background-color: rgb(229 231 235 / 1);
}
.nuka-page-indicator:hover {
background-color: rgb(229 231 235 / 1);
}