-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery.carousel.scss
More file actions
87 lines (82 loc) · 1.68 KB
/
jquery.carousel.scss
File metadata and controls
87 lines (82 loc) · 1.68 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
78
79
80
81
82
83
84
85
86
87
.carousel_container {
position: relative;
padding: 8px 0;
&.pager {
padding-bottom: 30px;
.carousel_pager {
display: block;
}
}
.carousel_clip {
position: relative;
overflow: hidden;
height: 70px;
.carousel_list {
width: 50000px;
position: absolute;
left: 0;
.carousel_item {
float: left;
list-style: none outside none;
margin-right: 6px;
img {
float: left;
padding: 2px;
border: 1px solid #ddd;
&:hover {
border-color: #000;
}
}
}
}
}
.carousel_pager {
position: absolute;
left: 0;
bottom: 12px;
display: none;
width: 100%;
height: 10px;
text-align: center;
.carousel_page {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 5px;
background: url(/img/pager_dots_10x10.png) 0 -30px no-repeat transparent;
cursor: pointer;
&.on, &.on:hover {
background-position: 0 -50px;
}
&:hover {
background-position: 0 -10px;
}
}
}
.carousel_next, .carousel_prev {
position: absolute;
bottom: 5px;
width: 20px;
height: 20px;
background: no-repeat 0 -60px transparent;
cursor: pointer;
z-index: 2;
}
.carousel_next.disabled, .carousel_prev.disabled {
display: none;
}
.carousel_next {
background-image: url(/img/pager_right_20x20.png);
right: 0;
&:hover {
background-position: 0 -20px;
}
}
.carousel_prev {
background-image: url(/img/pager_left_20x20.png);
left: 0;
&:hover {
background-position: 0 -20px;
}
}
}