forked from mredagad/smart4education
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcarousel.css
More file actions
116 lines (115 loc) · 2.21 KB
/
carousel.css
File metadata and controls
116 lines (115 loc) · 2.21 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.carousel {
text-align: center;
position: relative;
opacity: 0;
margin: 0 auto;
transition: opacity 0.5s;
}
.carousel .carousel-container-inner {
margin: 0 auto;
position: relative;
}
.carousel .carousel-viewport {
overflow: hidden;
white-space: nowrap;
text-align: left;
}
.carousel .carousel-arrow {
position: absolute;
z-index: 1;
color: white;
border: 3px solid;
border-radius: 50%;
bottom: 23px;
height: 32px;
width: 32px;
font-weight: 900;
background: rgba(0, 0, 0, 0.15);
padding: 0;
cursor: pointer;
}
.carousel .carousel-arrow:focus {
outline: none;
}
.carousel .carousel-arrow:before {
font-size: 19px;
display: block;
margin-top: -2px;
}
.carousel .carousel-arrow:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.carousel .carousel-left-arrow {
left: 23px;
}
.carousel .carousel-left-arrow:before {
content: '<';
padding-right: 2px;
}
.carousel .carousel-right-arrow {
right: 23px;
}
.carousel .carousel-right-arrow:before {
content: '>';
padding-left: 2px;
}
.carousel .carousel-track {
list-style: none;
padding: 0;
margin: 0;
touch-action: pan-y pinch-zoom;
}
.carousel .carousel-track .carousel-slide {
display: inline-block;
opacity: 0.7;
transition: opacity 0.5s ease-in-out;
white-space: initial;
}
.carousel .carousel-track .carousel-slide > * {
display: block;
}
.carousel .carousel-track .carousel-slide.carousel-slide-loading {
background: rgba(204, 204, 204, 0.7);
}
.carousel .carousel-track .carousel-slide.carousel-slide-fade {
position: absolute;
left: 50%;
transform: translateX(-50%);
opacity: 0;
}
.carousel .carousel-track .carousel-slide.carousel-slide-selected {
opacity: 1;
z-index: 1;
}
.carousel.loaded {
opacity: 1;
}
.carousel .carousel-dots {
list-style: none;
padding: 0;
margin: 0;
position: absolute;
left: 0;
right: 0;
bottom: -30px;
text-align: center;
}
.carousel .carousel-dots li {
display: inline-block;
}
.carousel .carousel-dots button {
border: 0;
background: transparent;
font-size: 1.1em;
cursor: pointer;
color: #CCC;
padding-left: 6px;
padding-right: 6px;
}
.carousel .carousel-dots button.selected {
color: black;
}
.carousel .carousel-dots button:focus {
outline: none;
}