forked from revolunet/angular-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular-carousel.css
executable file
·64 lines (59 loc) · 1.51 KB
/
angular-carousel.css
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
input[type=range] {
width: 300px; }
ul[rn-carousel] {
overflow: hidden;
padding: 0;
white-space: nowrap;
position: relative;
-webkit-perspective: 1000px;
-ms-perspective: 1000px;
perspective: 1000px;
-ms-touch-action: pan-y;
touch-action: pan-y; }
ul[rn-carousel] > li {
color: black;
-webkit-backface-visibility: hidden;
-ms-backface-visibility: hidden;
backface-visibility: hidden;
overflow: visible;
vertical-align: top;
position: absolute;
left: 0;
right: 0;
white-space: normal;
padding: 0;
margin: 0;
list-style-type: none;
width: 100%;
height: 100%;
display: inline-block; }
/* prevent flickering when moving buffer */
ul[rn-carousel-buffered] > li {
display: none; }
ul[rn-carousel-transition="hexagon"] {
overflow: visible; }
/* indicators */
div.rn-carousel-indicator span {
cursor: pointer;
color: #666; }
div.rn-carousel-indicator span.active {
color: white; }
/* prev/next controls */
.rn-carousel-control {
-webkit-transition: opacity 0.2s ease-out;
transition: opacity 0.2s ease-out;
font-size: 2rem;
position: absolute;
top: 40%;
opacity: 0.75;
cursor: pointer; }
.rn-carousel-control:hover {
opacity: 1; }
.rn-carousel-control.rn-carousel-control-prev {
left: 0.5em; }
.rn-carousel-control.rn-carousel-control-prev:before {
content: "<"; }
.rn-carousel-control.rn-carousel-control-next {
right: 0.5em; }
.rn-carousel-control.rn-carousel-control-next:before {
content: ">"; }