-
Notifications
You must be signed in to change notification settings - Fork 9
/
jquery.liScroll.css
81 lines (79 loc) · 2.35 KB
/
jquery.liScroll.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
/*
jquery.liScroll
-----------------------------------------------*/
.liScroll-container { /* the outer div with the black border */
border: 1px solid #ccc;
background: #fff;
height: 20px;
margin: 0 0 15px;
padding: 2px 85px 2px 5px;
position: relative;
overflow: hidden;
}
.liScroll-container .liScroll-mask { /* that serves as a mask. so you get a sort of padding both left and right */
position: relative;
overflow: hidden;
}
.liScroll-ticker { /* that's your list */
position: relative;
left: 300px;
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
}
.liScroll-ticker ul {
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
}
.liScroll-ticker li {
float: left; /* important: display inline gives incorrect results when you check for elem's width */
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
background: #fff;
}
.liScroll-ticker a {
color: #b21226;
white-space: nowrap;
padding: 0;
margin: 0 50px 0 0;
text-decoration: none;
}
.liScroll-ticker a:hover {
text-decoration: underline;
}
.liScroll-ticker span {
margin: 0 10px 0 0;
}
.liScroll-container .liScroll-prev,
.liScroll-container .liScroll-play,
.liScroll-container .liScroll-next {
background: url(sprites.gif) no-repeat 1px 2px;
cursor: pointer;
height: 25px;
position: absolute;
text-align: left;
text-indent: -9999px;
top: 0px;
}
.liScroll-container .liScroll-prev {
right: 55px;
width: 25px;
}
.liScroll-container .liScroll-play {
background-position: -25px -24px;
right: 25px;
width: 25px;
}
.liScroll-playing .liScroll-play {
background-position: -25px 2px;
}
.liScroll-container .liScroll-next {
background-position: -100px 2px;
right: 0px;
width: 25px;
}