-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
163 lines (131 loc) · 3.15 KB
/
index.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
body {
background:#dbdfe4;
margin-top:100px;
}
.player {
width:450px;
height:450px;
overflow:hidden;
position:relative;
margin:0 auto;
-webkit-box-shadow: 0 0 6px -3px #000;
-moz-box-shadow: 0 0 6px -3px #000;
box-shadow: 0 0 6px -3px #000; /* inset offset-x offset-y blur spread color */
}
.player-poster {
width:450px;
height:450px;
}
.player-bar {
top:-94px;
position:relative;
background:#fff;
width:444px;
margin:0 auto;
overflow:hidden;
}
.roll-holder {
position:relative;
height:80px;
padding:5px 0 5px 0;
-webkit-transition: -webkit-transform 300ms ease-in ;
-moz-transition: -moz-transform 300ms ease-in ;
-ms-transition: -ms-transform 300ms ease-in ;
-o-transition: -o-transform 300ms ease-in ;
transition: transform 300ms ease-in ;
}
.active .roll-holder {
-webkit-transform: translate3d(183px,0,0);
-moz-transform: translate3d(183px,0,0);
-ms-transform: translate3d(183px,0,0);
-o-transform: translate3d(183px,0,0);
transform: translate3d(183px,0,0);
}
/*
.roll-holder:before {
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px solid red;
display: block;
position: absolute;
top: -10px;
left: 5px;
content: "";
z-index: 5;
}*/
.roll {
height:80px;
margin:0;
padding:0;
-webkit-transition: opacity 300ms ease-in;
-moz-transition: opacity 300ms ease-in;
-ms-transition: opacity 300ms ease-in;
-o-transition: opacity 300ms ease-in;
transition: opacity 200ms ease-in;
float:left;
opacity:0;
width:450px;
}
.ready .roll {
opacity:.7;
}
.active .roll {
opacity:1;
}
.roll li {
float:left;
width:80px;
height:80px;
margin:0 3px 0 0;
background:#fff;
list-style:none;
overflow:hidden;
-webkit-transition: width 300ms ease-in;
-moz-transition: width 300ms ease-in;
-ms-transition: width 300ms ease-in;
-o-transition: width 300ms ease-in;
transition: width 300ms ease-in;
}
.roll img {
width:80px;
height:80px;
}
.playPause {
background:url(images/play.png) ;
width: 74px;
height: 74px;
display: block;
position: absolute;
bottom:52px;
left: 50%;
text-align: center;
line-height: 40px;
z-index:2;
margin-left:-37px;
-webkit-user-seect: none;
-moz-user-select: none;
-khtml-user-select: none;
-o-user-seect: none;
cursor:pointer;
-webkit-transition: opacity 250ms ease-in 1s;
-moz-transition: opacity 250ms ease-in 1s;
-ms-transition: opacity 250ms ease-in 1s;
-o-transition: opacity 250ms ease-in 1s;
transition: opacity 250ms ease-in 1s; /* transition-property transition-duration(ms/s) transition-timing-function(ease-out/ease/linear/ease-in-out/ease-in/cubic-bezier(0.42, 0, 1.0, 1.0)/step-start/steps(3)/steps(3,start)/step-end) transition-delay(+-ms/s) */
overflow:hidden;
text-indent:-999em;
user-select: none;
}
.paused {
background: green;
}
.player:hover .playPause, .paused {
opacity:1;
-webkit-transition-delay: 0s;
-moz-transition-delay: 0s;
-ms-transition-delay: 0s;
-o-transition-delay: 0s;
transition-delay: 0s;
}