-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathangular-carousel.css
64 lines (62 loc) · 1.38 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
/**
* @license AngularJS v1.2.0
* (c) 2015 Lifely
* License: MIT
*/
.ng-carousel {
display: block;
width: 100%;
height: 300px;
white-space: nowrap;
position: relative;
overflow: hidden;
}
.ng-carousel slidecontainer {
display: block;
position: absolute;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
font-size: 0;
}
.ng-carousel slidecontainer.carousel-ignore-first-slide {
-webkit-transform: translate(-100%, 0);
-moz-transform: translate(-100%, 0);
-o-transform: translate(-100%, 0);
-ms-transform: translate(-100%, 0);
transform: translate(-100%, 0);
}
.ng-carousel slidecontainer.carousel-animate {
-webkit-transition: -webkit-transform 0.5s ease-out 0s;
-moz-transition: -moz-transform 0.5s ease-out 0s;
-ms-transition: -ms-transform 0.5s ease-out 0s;
-o-transition: -o-transform 0.5s ease-out 0s;
transition: transform 0.5s ease-out 0s;
}
.ng-carousel slide {
position: relative;
display: inline-block;
vertical-align: top;
font-size: 16px;
width: 100%;
height: 100%;
-webkit-background-size: cover;
background-size: cover;
background-position: center;
}
.ng-carousel .carousel-arrow {
display: inline-block;
position: absolute;
top: 0;
bottom: 0;
z-index: 1;
width: 100px;
text-align: center;
}
.ng-carousel .carousel-arrow.carousel-arrow-left {
left: 0;
}
.ng-carousel .carousel-arrow.carousel-arrow-right {
right: 0;
}