-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathCarousel.scss
More file actions
48 lines (39 loc) · 827 Bytes
/
Carousel.scss
File metadata and controls
48 lines (39 loc) · 827 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
@import '~tc-ui/src/styles/tc-includes';
$pager-bg-color: #737380;
:global {
.Carousel {
display: flex;
flex-direction: row;
.page-down {
width: 20px;
margin-right: 15px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
&.hidden {
display: none;
}
}
.page-up {
width: 20px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
&.hidden {
display: none;
}
}
.visible-area {
display: flex;
flex-direction: row;
overflow: hidden;
.carousel-item:not(:first-child) {
margin-left: 30px;
}
}
}
}