forked from revolunet/angular-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathangular-carousel.css
More file actions
executable file
·77 lines (72 loc) · 1.83 KB
/
angular-carousel.css
File metadata and controls
executable file
·77 lines (72 loc) · 1.83 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
/* variables */
/* general */
.rn-carousel-container {
overflow: hidden;
position: relative; }
.rn-carousel-slides {
-webkit-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
position: relative;
white-space: nowrap;
overflow: visible;
padding: 0;
margin: 0; }
/* IE 9 */
:root .rn-carousel-slides {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
position: relative;
white-space: nowrap;
overflow: visible;
padding: 0;
margin: 0; }
.rn-carousel-slide {
white-space: normal;
vertical-align: top;
display: inline-block;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
-ms-backface-visibility: hidden;
backface-visibility: hidden; }
/* indicators */
.rn-carousel-indicator {
width: 100%;
text-align: center;
height: 20px;
background-color: black;
background-color: rgba(0, 0, 0, 0.6);
position: relative;
bottom: 0;
cursor: pointer; }
.rn-carousel-indicator span {
-webkit-transition: color .2s ease-out;
transition: color .2s ease-out;
padding: 0 5px;
color: #333; }
.rn-carousel-indicator span:before {
content: "\25cf"; }
.rn-carousel-indicator .active {
color: white; }
/* controls */
.rn-carousel-control {
-webkit-transition: opacity 0.2s ease-out;
transition: opacity 0.2s ease-out;
font-size: 30px;
position: absolute;
top: 50%;
margin-top: -35px;
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: ">"; }