-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjs-image-slider.css
124 lines (107 loc) · 2.86 KB
/
js-image-slider.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
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
116
117
118
119
120
121
122
123
/* http://www.menucool.com */
#sliderFrame, #sliderFrame div {
box-sizing: content-box;
}
/*slider frame*/
#sliderFrame {
width:960px;
margin: 0 auto; /*center-aligned*/
background-color:White;
padding-top:6px;
border-radius: 6px 6px 0 0;
}
#slider, #slider div.sliderInner {
width:960px;height:400px;/* Must be the same size as the slider images */
}
#slider {
background:transparent url("pics/images/loading.gif") no-repeat 50% 50%;
position:relative;
margin:0 auto; /*center-aligned*/
transform: translate3d(0,0,0);
}
/* the link style (if slide image is wrapped in a link) */
#slider a.imgLink, #slider .video {
z-index:2;
position:absolute;
top:0px;left:0px;border:0;padding:0;margin:0;
width:100%;height:100%;
}
#slider .video {
background:transparent url(pics/images/video.png) no-repeat 50% 50%;
}
/* Caption styles */
#slider div.mc-caption-bg, #slider div.mc-caption-bg2 {
position:absolute;
width:190px;
height:auto;
padding:20px;
right:30px; /* or left: ??px; */
bottom:30px;/* or top: ??px; */
z-index:3;
overflow:hidden;
font-size:0;
}
#slider div.mc-caption-bg {
/* NOTE: Its opacity is to be set through the sliderOptions.captionOpacity setting in the js-image-slider.js file.*/
background:White;/* or any other colors such as Black, or: background:none; */
border-radius: 5px;
}
#slider div.mc-caption-bg2 {
background:none;
}
#slider div.mc-caption {
font:bold 15px/20px Arial;
color:#000000;
z-index:4;
padding:0px;
text-align:center;
background:none;
}
#slider div.mc-caption a {
color:#66FFFF;
}
/* ------ built-in navigation bullets wrapper that is relative to the #slider ------*/
#slider div.navBulletsWrapper {
display:none;
}
/* --------- Others ------- */
#slider div.loading
{
width:100%; height:100%;
background:transparent url(pics/images/loading.gif) no-repeat 50% 50%;
filter: alpha(opacity=60);
opacity:0.6;
position:absolute;
left:0;
top:0;
z-index:9;
}
#slider img, #slider>b, #slider a>b {
position:absolute; border:none; display:none;
}
#slider div.sliderInner {
overflow:hidden;
-webkit-transform: rotate(0.000001deg);/* fixed the Chrome not crop border-radius bug*/
position:absolute; top:0; left:0;
}
#slider>a, #slider video, #slider audio {display:none;}
#slider div {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
/* -- thumbnails -- */
#thumbs
{
background:white url(pics/images/thumbs-bar.gif) repeat-x 0 0;
border:1px solid white; text-align:center;
font-size:0px;
line-height:45px;
}
#thumbs .thumb
{
width:60px;height:45px;
cursor:pointer;
text-align:center;
border-left:1px solid #FFF; border-right:1px solid #DDD;
display:inline-block;
*display:inline;zoom:1; /*IE Hack*/
}
#thumbs .thumb-on {background-image: url(pics/images/active-bg.png);}
#thumbs .thumb img {vertical-align:middle;}