-
Notifications
You must be signed in to change notification settings - Fork 13.5k
/
_slide-box.scss
71 lines (61 loc) · 1.08 KB
/
_slide-box.scss
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
/**
* Slide Box
* --------------------------------------------------
*/
.slider {
position: relative;
visibility: hidden;
// Make sure items don't scroll over ever
overflow: hidden;
}
.slider-slides {
position: relative;
height: 100%;
}
.slider-slide {
position: relative;
display: block;
float: left;
width: 100%;
height: 100%;
vertical-align: top;
}
.slider-slide-image {
> img {
width: 100%;
}
}
.slider-pager {
position: absolute;
bottom: 20px;
z-index: $z-index-slider-pager;
width: 100%;
height: 15px;
text-align: center;
.slider-pager-page {
display: inline-block;
margin: 0px 3px;
width: 15px;
color: #000;
text-decoration: none;
opacity: 0.3;
&.active {
@include transition(opacity 0.4s ease-in);
opacity: 1;
}
}
}
//Disable animate service animations
.slider-slide,
.slider-pager-page {
&.ng-enter,
&.ng-leave,
&.ng-animate {
-webkit-transition: none !important;
transition: none !important;
}
&.ng-animate {
-webkit-animation: none 0s;
animation: none 0s;
}
}