social_stream-documents 2.0.0.beta1 → 2.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass +5 -2
  3. data/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +6 -2
  4. data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-1200px-min.css.sass +6 -1
  5. data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-768px-979px.css.sass +3 -8
  6. data/app/assets/stylesheets/social_stream/documents/show/_show.css.sass +1 -1
  7. data/app/assets/stylesheets/social_stream/documents/show/layout/_show.css.sass +1 -1
  8. data/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +43 -4
  9. data/app/views/audios/_audio_processed.html.erb +4 -0
  10. data/app/views/audios/_audio_show.html.erb +2 -2
  11. data/app/views/common_documents/_show.html.erb +4 -7
  12. data/app/views/videos/_video_show.html.erb +1 -1
  13. data/lib/social_stream/documents/version.rb +1 -1
  14. data/social_stream-documents.gemspec +1 -1
  15. data/vendor/assets/stylesheets/jplayer.blue.monday.css +449 -449
  16. data/vendor/assets/stylesheets/jplayer.blue.monday.png +0 -0
  17. metadata +5 -39
  18. data/app/assets/images/16/audio.png +0 -0
  19. data/app/assets/images/16/btn_documents.png +0 -0
  20. data/app/assets/images/16/default.png +0 -0
  21. data/app/assets/images/16/doc.png +0 -0
  22. data/app/assets/images/16/mpeg.png +0 -0
  23. data/app/assets/images/16/pdf.png +0 -0
  24. data/app/assets/images/16/photo.png +0 -0
  25. data/app/assets/images/16/plain.png +0 -0
  26. data/app/assets/images/16/ppt.png +0 -0
  27. data/app/assets/images/16/rar.png +0 -0
  28. data/app/assets/images/16/video.png +0 -0
  29. data/app/assets/images/16/xls.png +0 -0
  30. data/app/assets/images/16/zip.png +0 -0
  31. data/app/assets/images/48/audio.png +0 -0
  32. data/app/assets/images/48/default.png +0 -0
  33. data/app/assets/images/48/doc.png +0 -0
  34. data/app/assets/images/48/mpeg.png +0 -0
  35. data/app/assets/images/48/pdf.png +0 -0
  36. data/app/assets/images/48/ppt.png +0 -0
  37. data/app/assets/images/48/rar.png +0 -0
  38. data/app/assets/images/48/resource.png +0 -0
  39. data/app/assets/images/48/video.png +0 -0
  40. data/app/assets/images/48/xls.png +0 -0
  41. data/app/assets/images/48/zip.png +0 -0
  42. data/app/assets/images/80/default.png +0 -0
  43. data/app/assets/images/btn/btn_audio.png +0 -0
  44. data/app/assets/images/btn/btn_document.png +0 -0
  45. data/app/assets/images/btn/btn_excel.png +0 -0
  46. data/app/assets/images/btn/btn_pdf.png +0 -0
  47. data/app/assets/images/btn/btn_picture.png +0 -0
  48. data/app/assets/images/btn/btn_resource.png +0 -0
  49. data/app/assets/images/btn/btn_video.png +0 -0
  50. data/app/assets/images/btn/btn_word.png +0 -0
  51. data/app/assets/images/btn/document.png +0 -0
  52. data/vendor/assets/stylesheets/jplayer.blue.monday.jpg +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21343b627b82723ae7bc741d39e7750f5d435862
4
- data.tar.gz: c267351a0ad8192a6decb3b1e379bea0a68a15cf
3
+ metadata.gz: 8568d3d2c736a125d68969748994d8dc0ab24880
4
+ data.tar.gz: 602f2f76290dc012d7d037fe648b379fa61a5979
5
5
  SHA512:
6
- metadata.gz: e21074e415ac60ea399f4217d5e6a37bec96704db37c8d443b3036752a6799bdf2bae072907e507f45cc7a6c5fd9203818e74311245c572349377774f4f653d0
7
- data.tar.gz: 3fb4e86053d6186c783e027f7033affff5d8dee57685d367aa849884eb3ed72379cd27367a4945d30373976f8ce3071796b99541181f30ba93fe141afcaa7a29
6
+ metadata.gz: 072dec6f09394891a0618b46bbc1098da87dacee668ec1f1d6c53674a626129e2b12a29c1bf2c30d147a3d41018d3e5f5a68f49bdc3e6fbbf86ff59191299b04
7
+ data.tar.gz: a761a093b9d586c53b36d2725beffc938c8076041b622dfee8091bfaaea9548f636949a652f16955dd731bcb8651b9654ccd6dbc95891a08021238b0b0490038
@@ -1,4 +1,7 @@
1
1
  #repository
2
- .btn
3
- @extend .btn-blue
2
+ .repository
3
+ h1
4
+ @include colorfont-big-size
5
+ .btn
6
+ @include btn-primary
4
7
 
@@ -1,9 +1,12 @@
1
- .repository
1
+ div.repository
2
2
  @include grid-core-span(10, $fluidGridColumnWidth, $fluidGridGutterWidth)
3
- display: block
4
3
  float: left
5
4
  margin-left: 2.5%
6
5
 
6
+ section.repository
7
+ display: block
8
+ clear: both
9
+
7
10
  #repository
8
11
 
9
12
  .repository_show
@@ -17,6 +20,7 @@
17
20
  float: right
18
21
 
19
22
  .btn
23
+ @include btn-secundary
20
24
  float: right
21
25
  width: 90px
22
26
  display: inline-block
@@ -18,4 +18,9 @@
18
18
  .avatar
19
19
  width: 11%
20
20
  form.new_comment
21
- width: 86.8%
21
+ width: 86.8%
22
+
23
+ #documents
24
+ .details
25
+ .tab-content
26
+ margin-top: -1px
@@ -13,9 +13,10 @@
13
13
  .video,
14
14
  .document
15
15
  .central
16
- @include grid-core-span(8, $fluidGridColumnWidth, $fluidGridGutterWidth)
16
+ @include grid-core-span(7, $fluidGridColumnWidth, $fluidGridGutterWidth)
17
+ margin-left: 20px
17
18
  .details
18
- width: 26% !important
19
+ width: 20% !important
19
20
  float: left
20
21
  margin-left: 20px !important
21
22
  section
@@ -46,9 +47,3 @@
46
47
  display: inline-block
47
48
  @include size (70px, 90% !important)
48
49
  width: 90% !important
49
-
50
-
51
- #repository
52
- .repository
53
- @include grid-core-span(12, $fluidGridColumnWidth, $fluidGridGutterWidth)
54
-
@@ -67,6 +67,6 @@
67
67
  form.new_comment
68
68
  input
69
69
  &[type="submit"]
70
- @include buttonBackground($blueDark, $blue, $textColor: #fff, $textShadow: 0 -1px 0 rgba(0,0,0,.25))
70
+ @include btn-secundary
71
71
 
72
72
 
@@ -50,7 +50,7 @@
50
50
 
51
51
  .details
52
52
  @extend .hidden-phone
53
- width: 21.8%
53
+ width: 20%
54
54
  float: left
55
55
  margin-left: 30px
56
56
  h4
@@ -5,17 +5,56 @@
5
5
  border: none
6
6
 
7
7
  div.jp-progress
8
+ width: 98.5% !important
9
+ border-bottom: 2px solid #ddd
10
+ border-right: 2px solid #666
8
11
  div.jp-seek-bar
9
12
  background: none
13
+ width: 100%
14
+ border: 2px solid #555
15
+ img
16
+ height: 100%
17
+ width: 100%
10
18
 
11
19
  div.jp-play-bar
12
- background: none black
13
-
14
-
15
- .jp-interface
20
+ background: none $blue
21
+ div.down
22
+ div.jp-current-time
23
+ width: 123px !important
24
+ background-color: rgba(0, 0, 0, .1)
25
+ @include border-radius(8px)
26
+ color: rgba(245, 245, 245, 0.3)
27
+ padding: 0 3px
28
+ border-top: 1px solid #333
29
+
30
+ div.jp-interface
16
31
  border: none !important
32
+ @include gradient-radial ($innerColor: #666, $outerColor: #333)
17
33
 
18
34
 
19
35
  div.jp-playlist
20
36
  border: none
21
37
 
38
+ div.jp.audio
39
+ color: #c9c9c9
40
+
41
+ div.jp.controls
42
+ jp.play,
43
+ jp.pause,
44
+ jp.mute,
45
+ jp.unmute
46
+ margin-left: 10px
47
+
48
+ div.jp.volume-bar
49
+ margin-left: 6px
50
+ margin-top: 5px
51
+
52
+ .play_over
53
+ z-index: 600
54
+ position: relative
55
+ min-height: 96px
56
+ background: rgba (250, 250, 250, .1) url('jplayer.blue.monday.video.play.png') no-repeat center center
57
+ &:hover
58
+ background: rgba (250, 250, 250, .1) url('jplayer.blue.monday.video.play.hover.png') no-repeat center center
59
+
60
+
@@ -43,4 +43,8 @@
43
43
  <div id="jp_playlist_<%= dom_id audio %>" class="jp-playlist"></div>
44
44
  </div>
45
45
  </div>
46
+
47
+ <%= render partial: 'objects/timeline_description',
48
+ object: audio,
49
+ as: :obj %>
46
50
  </div>
@@ -8,7 +8,7 @@
8
8
  },
9
9
  supplied: "webma",
10
10
  preload: "none",
11
- swfPath: "<%= asset_path("") %>",
11
+ swfPath: "<%= asset_path "Jplayer.swf" %>",
12
12
  cssSelectorAncestor: "#jp_interface_<%=audio.id%>"
13
13
  });
14
14
 
@@ -59,4 +59,4 @@
59
59
  </div>
60
60
  <% end %>
61
61
 
62
- <% end %>
62
+ <% end %>
@@ -18,17 +18,14 @@
18
18
  <%= document.title %>
19
19
  </h6>
20
20
  <div class="actions">
21
- <% if can? :destroy, document %>
22
-
23
- <%= link_to raw("<i class='icon_tool16-save'></i> "), download_document_path(document), title: t('document.actions.download') %>
24
-
25
- <% end %>
21
+ <%= link_to raw("<i class='icon_tool16-save'></i> "), download_document_path(document), title: t('document.actions.download') %>
26
22
 
27
- <%= link_to raw("<i class='icon_tool16-trash'></i> "), document,
23
+ <% if can? :destroy, document %>
24
+ <%= link_to raw("<i class='icon_tool16-trash'></i> "), document,
28
25
  confirm: t('confirm_delete', scope: document.class.to_s.underscore),
29
26
  title: t('document.actions.delete'),
30
27
  method: :delete %>
31
-
28
+ <% end %>
32
29
  </div>
33
30
  </div>
34
31
 
@@ -60,7 +60,7 @@
60
60
  solution:"flash, html",
61
61
  preload: "none",
62
62
  supplied: "webmv, flv, mp4",
63
- swfPath: "<%= asset_path(nil) %>",
63
+ swfPath: "<%= asset_path('Jplayer.swf') %>",
64
64
  cssSelectorAncestor: "#jp_interface_<%=video.id%>"
65
65
  });
66
66
  <% end %>
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Documents
3
- VERSION = "2.0.0.beta1".freeze
3
+ VERSION = "2.0.0.beta2".freeze
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.files = `git ls-files`.split("\n")
13
13
 
14
14
  # Gem dependencies
15
- s.add_runtime_dependency('social_stream-base', '~> 2.0.0.beta1')
15
+ s.add_runtime_dependency('social_stream-base', '~> 2.0.0.beta2')
16
16
  s.add_runtime_dependency('paperclip','~> 3.3.0')
17
17
  s.add_runtime_dependency('paperclip-ffmpeg', '~> 0.9.0')
18
18
  s.add_runtime_dependency('delayed_paperclip','>= 2.4.5.2')
@@ -1,449 +1,449 @@
1
- /*
2
- * Skin for jPlayer Plugin (jQuery JavaScript Library)
3
- * http://www.happyworm.com/jquery/jplayer
4
- *
5
- * Skin Name: Blue Monday
6
- *
7
- * Copyright (c) 2010 Happyworm Ltd
8
- * Dual licensed under the MIT and GPL licenses.
9
- * - http://www.opensource.org/licenses/mit-license.php
10
- * - http://www.gnu.org/copyleft/gpl.html
11
- *
12
- * Author: Silvia Benvenuti
13
- * Skin Version: 3.0 (jPlayer 2.0.0)
14
- * Date: 20th December 2010
15
- */
16
-
17
- div.jp-audio,
18
- div.jp-video {
19
-
20
- /* Edit the font-size to counteract inherited font sizing.
21
- * Eg. 1.25em = 1 / 0.8em
22
- */
23
-
24
- font-size:1.25em;
25
-
26
- font-family:Verdana, Arial, sans-serif;
27
- line-height:1.6;
28
- color: #666;
29
- }
30
- div.jp-audio {
31
- width:330px;
32
- }
33
- div.jp-video-270p {
34
- width:480px;
35
- }
36
- div.jp-video-360p {
37
- width:640px;
38
- }
39
- div.jp-interface {
40
- position: relative;
41
- background-color:#eee;
42
- /* width:418px; */
43
- width:100%;
44
- border:1px solid #009be3;
45
- }
46
- div.jp-audio div.jp-type-single div.jp-interface {
47
- height:40px;
48
- border-bottom:none;
49
- }
50
- div.jp-audio div.jp-type-playlist div.jp-interface {
51
- height:80px;
52
- }
53
- div.jp-video div.jp-type-single div.jp-interface {
54
- height:60px;
55
- border-bottom:none;
56
- }
57
- div.jp-video div.jp-type-playlist div.jp-interface {
58
- height:60px;
59
- }
60
- div.jp-interface ul.jp-controls {
61
- list-style-type:none;
62
- padding:0;
63
- margin: 0;
64
- }
65
- div.jp-interface ul.jp-controls li {
66
- /* position: absolute; */
67
- display:inline;
68
- }
69
- div.jp-interface ul.jp-controls a {
70
- position: absolute;
71
- overflow:hidden;
72
- text-indent:-9999px;
73
- }
74
- a.jp-play,
75
- a.jp-pause {
76
- width:40px;
77
- height:40px;
78
- z-index:1;
79
- }
80
- div.jp-audio div.jp-type-single a.jp-play,
81
- div.jp-audio div.jp-type-single a.jp-pause {
82
- top:0px;
83
- left:10px;
84
- }
85
- div.jp-audio div.jp-type-playlist a.jp-play,
86
- div.jp-audio div.jp-type-playlist a.jp-pause {
87
- top:0px;
88
- left:10px;
89
- }
90
- div.jp-video a.jp-play,
91
- div.jp-video a.jp-pause {
92
- top:15px;
93
- }
94
- div.jp-video-270p div.jp-type-single a.jp-play,
95
- div.jp-video-270p div.jp-type-single a.jp-pause {
96
- left:195px;
97
- }
98
- div.jp-video-270p div.jp-type-playlist a.jp-play,
99
- div.jp-video-270p div.jp-type-playlist a.jp-pause {
100
- left:220px;
101
- }
102
- div.jp-video-360p div.jp-type-single a.jp-play,
103
- div.jp-video-360p div.jp-type-single a.jp-pause {
104
- left:275px;
105
- }
106
- div.jp-video-360p div.jp-type-playlist a.jp-play,
107
- div.jp-video-360p div.jp-type-playlist a.jp-pause {
108
- left:300px;
109
- }
110
- a.jp-play {
111
- background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
112
- }
113
- a.jp-play:hover {
114
- background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
115
- }
116
- a.jp-pause {
117
- background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
118
- display: none;
119
- }
120
- a.jp-pause:hover {
121
- background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
122
- }
123
- div.jp-audio div.jp-type-single a.jp-stop {
124
- top:6px;
125
- left:60px;
126
- }
127
- div.jp-audio div.jp-type-playlist a.jp-stop {
128
- top:6px;
129
- left:96px;
130
- }
131
- div.jp-video a.jp-stop {
132
- top:21px;
133
- }
134
- div.jp-video-270p div.jp-type-single a.jp-stop {
135
- left:245px;
136
- }
137
- div.jp-video-270p div.jp-type-playlist a.jp-stop {
138
- left:298px;
139
- }
140
- div.jp-video-360p div.jp-type-single a.jp-stop {
141
- left:325px;
142
- }
143
- div.jp-video-360p div.jp-type-playlist a.jp-stop {
144
- left:378px;
145
- }
146
- a.jp-stop {
147
- background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
148
- width:28px;
149
- height:28px;
150
- z-index:1;
151
- }
152
- a.jp-stop:hover {
153
- background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
154
- }
155
- div.jp-audio div.jp-type-playlist a.jp-previous {
156
- left:20px;
157
- top:26px;
158
- }
159
- div.jp-video div.jp-type-playlist a.jp-previous {
160
- top:21px;
161
- }
162
- div.jp-video-270p div.jp-type-playlist a.jp-previous {
163
- left:192px;
164
- }
165
- div.jp-video-360p div.jp-type-playlist a.jp-previous {
166
- left:272px;
167
- }
168
- a.jp-previous {
169
- background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
170
- width:28px;
171
- height:28px;
172
- }
173
- a.jp-previous:hover {
174
- background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
175
- }
176
- div.jp-audio div.jp-type-playlist a.jp-next {
177
- left:88px;
178
- top:26px;
179
- }
180
- div.jp-video div.jp-type-playlist a.jp-next {
181
- top:21px;
182
- }
183
- div.jp-video-270p div.jp-type-playlist a.jp-next {
184
- left:260px;
185
- }
186
- div.jp-video-360p div.jp-type-playlist a.jp-next {
187
- left:340px;
188
- }
189
- a.jp-next {
190
- background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
191
- width:28px;
192
- height:28px;
193
- }
194
- a.jp-next:hover {
195
- background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
196
- }
197
- div.jp-progress {
198
- position: absolute;
199
- overflow:hidden;
200
- background-color: #ddd;
201
- }
202
- div.jp-audio div.jp-type-single div.jp-progress {
203
- top:13px;
204
- left:100px;
205
- width:122px;
206
- height:15px;
207
- }
208
- div.jp-audio div.jp-type-playlist div.jp-progress {
209
- top:13px;
210
- left:134px;
211
- width:122px;
212
- height:15px;
213
- }
214
- div.jp-video div.jp-progress {
215
- top:0px;
216
- left:0px;
217
- width:100%;
218
- height:10px;
219
- }
220
- div.jp-seek-bar {
221
- background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
222
- width:0px;
223
- /* height:15px; */
224
- height:100%;
225
- cursor: pointer;
226
- }
227
- div.jp-play-bar {
228
- background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
229
- width:0px;
230
- /* height:15px; */
231
- height:100%;
232
- }
233
-
234
- /* The seeking class is added/removed inside jPlayer */
235
- div.jp-seeking-bg {
236
- background: url("pbar-ani.gif");
237
- }
238
-
239
- a.jp-mute,
240
- a.jp-unmute {
241
- width:18px;
242
- height:15px;
243
- }
244
- div.jp-audio div.jp-type-single a.jp-mute,
245
- div.jp-audio div.jp-type-single a.jp-unmute {
246
- top:13px;
247
- left:244px;
248
- }
249
- div.jp-audio div.jp-type-playlist a.jp-mute,
250
- div.jp-audio div.jp-type-playlist a.jp-unmute {
251
- top:13px;
252
- left:266px;
253
- }
254
- div.jp-video a.jp-mute,
255
- div.jp-video a.jp-unmute {
256
- top:27px;
257
- }
258
- div.jp-video-270p div.jp-type-single a.jp-mute,
259
- div.jp-video-270p div.jp-type-single a.jp-unmute {
260
- left:304px;
261
- }
262
- div.jp-video-270p div.jp-type-playlist a.jp-unmute,
263
- div.jp-video-270p div.jp-type-playlist a.jp-mute {
264
- left:363px;
265
- }
266
- div.jp-video-360p div.jp-type-single a.jp-mute,
267
- div.jp-video-360p div.jp-type-single a.jp-unmute {
268
- left:384px;
269
- }
270
- div.jp-video-360p div.jp-type-playlist a.jp-mute,
271
- div.jp-video-360p div.jp-type-playlist a.jp-unmute {
272
- left:443px;
273
- }
274
- a.jp-mute {
275
- background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
276
- }
277
- a.jp-mute:hover {
278
- background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
279
- }
280
- a.jp-unmute {
281
- background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
282
- display: none;
283
- }
284
- a.jp-unmute:hover {
285
- background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
286
- }
287
- div.jp-volume-bar {
288
- position: absolute;
289
- overflow:hidden;
290
- background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
291
- width:46px;
292
- height:5px;
293
- cursor: pointer;
294
- }
295
- div.jp-audio div.jp-type-single div.jp-volume-bar {
296
- top:18px;
297
- left:272px;
298
- }
299
- div.jp-audio div.jp-type-playlist div.jp-volume-bar {
300
- top:18px;
301
- left:194px;
302
- }
303
- div.jp-video div.jp-volume-bar {
304
- top:32px;
305
- }
306
- div.jp-video-270p div.jp-type-single div.jp-volume-bar {
307
- left:332px;
308
- }
309
- div.jp-video-270p div.jp-type-playlist div.jp-volume-bar {
310
- left:391px;
311
- }
312
- div.jp-video-360p div.jp-type-single div.jp-volume-bar {
313
- left:412px;
314
- }
315
- div.jp-video-360p div.jp-type-playlist div.jp-volume-bar {
316
- left:471px;
317
- }
318
- div.jp-volume-bar-value {
319
- background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
320
- width:0px;
321
- height:5px;
322
- }
323
- //*
324
- div.jp-current-time,
325
- div.jp-duration {
326
- position: absolute;
327
- font-size:.64em;
328
- font-style:oblique;
329
- }
330
- div.jp-duration {
331
- text-align: right;
332
- }
333
- div.jp-audio div.jp-type-single div.jp-current-time,
334
- div.jp-audio div.jp-type-single div.jp-duration {
335
- top:30px;
336
- left:100px;
337
- width:122px;
338
- }
339
- div.jp-audio div.jp-type-playlist div.jp-current-time,
340
- div.jp-audio div.jp-type-playlist div.jp-duration {
341
- top:30px;
342
- left:134px;
343
- width:122px;
344
- }
345
- div.jp-video div.jp-current-time,
346
- div.jp-video div.jp-duration {
347
- top:10px;
348
- left:0px;
349
- width:98%;
350
- padding:0 1%;
351
- }*//
352
- div.jp-playlist {
353
- /* width:418px; */
354
- width:100%;
355
- background-color:#ccc;
356
- border:1px solid #009be3;
357
- border-top:none;
358
- }
359
- div.jp-playlist ul {
360
- list-style-type:none;
361
- margin:0;
362
- padding:0 20px;
363
- /* background-color:#ccc; */
364
- /* border:1px solid #009be3; */
365
- /* border-top:none; */
366
- /* width:378px; */
367
- font-size:.72em;
368
- }
369
-
370
-
371
- div.jp-type-single div.jp-playlist li {
372
- padding:5px 0 5px 20px;
373
- font-weight:bold;
374
- }
375
- div.jp-type-playlist div.jp-playlist li {
376
- padding:5px 0 4px 20px;
377
- border-bottom:1px solid #eee;
378
- }
379
- /*
380
- div.jp-video div.jp-playlist li {
381
- padding:5px 0 5px 20px;
382
- font-weight:bold;
383
- }
384
- */
385
- div.jp-type-playlist div.jp-playlist li.jp-playlist-last {
386
- padding:5px 0 5px 20px;
387
- border-bottom:none;
388
- }
389
- div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
390
- list-style-type:square;
391
- list-style-position:inside;
392
- padding-left:8px;
393
- }
394
- div.jp-type-playlist div.jp-playlist a {
395
- color: #666;
396
- text-decoration: none;
397
- }
398
- div.jp-type-playlist div.jp-playlist a:hover {
399
- color:#0d88c1;
400
- }
401
- div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
402
- color:#0d88c1;
403
- }
404
- div.jp-type-playlist div.jp-playlist div.jp-free-media {
405
- display:inline;
406
- margin-left:20px;
407
- }
408
-
409
- div.jp-video div.jp-video-play {
410
- background: transparent url("jplayer.blue.monday.video.play.png") no-repeat center;
411
- /* position: relative; */
412
- position: absolute;
413
- cursor:pointer;
414
- z-index:2;
415
- }
416
- div.jp-video div.jp-video-play:hover {
417
- background: transparent url("jplayer.blue.monday.video.play.hover.png") no-repeat center;
418
- }
419
- div.jp-video-270p div.jp-video-play {
420
- top:-270px;
421
- width:480px;
422
- height:270px;
423
- }
424
- div.jp-video-360p div.jp-video-play {
425
- top:-360px;
426
- width:640px;
427
- height:360px;
428
- }
429
-
430
- div.jp-jplayer {
431
- width:0px;
432
- height:0px;
433
- }
434
- div.jp-video div.jp-jplayer {
435
- border:1px solid #009be3;
436
- border-bottom:none;
437
- z-index:1;
438
- }
439
- div.jp-video-270p div.jp-jplayer {
440
- width:480px;
441
- height:270px;
442
- }
443
- div.jp-video-360p div.jp-jplayer {
444
- width:640px;
445
- height:360px;
446
- }
447
- div.jp-jplayer {
448
- background-color: #000000;
449
- }
1
+ /*
2
+ * Skin for jPlayer Plugin (jQuery JavaScript Library)
3
+ * http://www.happyworm.com/jquery/jplayer
4
+ *
5
+ * Skin Name: Blue Monday
6
+ *
7
+ * Copyright (c) 2010 Happyworm Ltd
8
+ * Dual licensed under the MIT and GPL licenses.
9
+ * - http://www.opensource.org/licenses/mit-license.php
10
+ * - http://www.gnu.org/copyleft/gpl.html
11
+ *
12
+ * Author: Silvia Benvenuti
13
+ * Skin Version: 3.0 (jPlayer 2.0.0)
14
+ * Date: 20th December 2010
15
+ */
16
+
17
+ div.jp-audio,
18
+ div.jp-video {
19
+
20
+ /* Edit the font-size to counteract inherited font sizing.
21
+ * Eg. 1.25em = 1 / 0.8em
22
+ */
23
+
24
+ font-size:1.25em;
25
+
26
+ font-family:Verdana, Arial, sans-serif;
27
+ line-height:1.6;
28
+ color: #666;
29
+ }
30
+ div.jp-audio {
31
+ width:330px;
32
+ }
33
+ div.jp-video-270p {
34
+ width:480px;
35
+ }
36
+ div.jp-video-360p {
37
+ width:640px;
38
+ }
39
+ div.jp-interface {
40
+ position: relative;
41
+ background-color:#eee;
42
+ /* width:418px; */
43
+ width:100%;
44
+ border:1px solid #009be3;
45
+ }
46
+ div.jp-audio div.jp-type-single div.jp-interface {
47
+ height:40px;
48
+ border-bottom:none;
49
+ }
50
+ div.jp-audio div.jp-type-playlist div.jp-interface {
51
+ height:80px;
52
+ }
53
+ div.jp-video div.jp-type-single div.jp-interface {
54
+ height:60px;
55
+ border-bottom:none;
56
+ }
57
+ div.jp-video div.jp-type-playlist div.jp-interface {
58
+ height:60px;
59
+ }
60
+ div.jp-interface ul.jp-controls {
61
+ list-style-type:none;
62
+ padding:0;
63
+ margin: 0;
64
+ }
65
+ div.jp-interface ul.jp-controls li {
66
+ /* position: absolute; */
67
+ display:inline;
68
+ }
69
+ div.jp-interface ul.jp-controls a {
70
+ position: absolute;
71
+ overflow:hidden;
72
+ text-indent:-9999px;
73
+ }
74
+ a.jp-play,
75
+ a.jp-pause {
76
+ width:40px;
77
+ height:40px;
78
+ z-index:1;
79
+ }
80
+ div.jp-audio div.jp-type-single a.jp-play,
81
+ div.jp-audio div.jp-type-single a.jp-pause {
82
+ top:0px;
83
+ left:10px;
84
+ }
85
+ div.jp-audio div.jp-type-playlist a.jp-play,
86
+ div.jp-audio div.jp-type-playlist a.jp-pause {
87
+ top:0px;
88
+ left:10px;
89
+ }
90
+ div.jp-video a.jp-play,
91
+ div.jp-video a.jp-pause {
92
+ top:15px;
93
+ }
94
+ div.jp-video-270p div.jp-type-single a.jp-play,
95
+ div.jp-video-270p div.jp-type-single a.jp-pause {
96
+ left:195px;
97
+ }
98
+ div.jp-video-270p div.jp-type-playlist a.jp-play,
99
+ div.jp-video-270p div.jp-type-playlist a.jp-pause {
100
+ left:220px;
101
+ }
102
+ div.jp-video-360p div.jp-type-single a.jp-play,
103
+ div.jp-video-360p div.jp-type-single a.jp-pause {
104
+ left:275px;
105
+ }
106
+ div.jp-video-360p div.jp-type-playlist a.jp-play,
107
+ div.jp-video-360p div.jp-type-playlist a.jp-pause {
108
+ left:300px;
109
+ }
110
+ a.jp-play {
111
+ background: url("jplayer.blue.monday.png") 0 0 no-repeat;
112
+ }
113
+ a.jp-play:hover {
114
+ background: url("jplayer.blue.monday.png") -41px 0 no-repeat;
115
+ }
116
+ a.jp-pause {
117
+ background: url("jplayer.blue.monday.png") 0 -42px no-repeat;
118
+ display: none;
119
+ }
120
+ a.jp-pause:hover {
121
+ background: url("jplayer.blue.monday.png") -41px -42px no-repeat;
122
+ }
123
+ div.jp-audio div.jp-type-single a.jp-stop {
124
+ top:6px;
125
+ left:60px;
126
+ }
127
+ div.jp-audio div.jp-type-playlist a.jp-stop {
128
+ top:6px;
129
+ left:96px;
130
+ }
131
+ div.jp-video a.jp-stop {
132
+ top:21px;
133
+ }
134
+ div.jp-video-270p div.jp-type-single a.jp-stop {
135
+ left:245px;
136
+ }
137
+ div.jp-video-270p div.jp-type-playlist a.jp-stop {
138
+ left:298px;
139
+ }
140
+ div.jp-video-360p div.jp-type-single a.jp-stop {
141
+ left:325px;
142
+ }
143
+ div.jp-video-360p div.jp-type-playlist a.jp-stop {
144
+ left:378px;
145
+ }
146
+ a.jp-stop {
147
+ background: url("jplayer.blue.monday.png") 0 -83px no-repeat;
148
+ width:28px;
149
+ height:28px;
150
+ z-index:1;
151
+ }
152
+ a.jp-stop:hover {
153
+ background: url("jplayer.blue.monday.png") -29px -83px no-repeat;
154
+ }
155
+ div.jp-audio div.jp-type-playlist a.jp-previous {
156
+ left:20px;
157
+ top:26px;
158
+ }
159
+ div.jp-video div.jp-type-playlist a.jp-previous {
160
+ top:21px;
161
+ }
162
+ div.jp-video-270p div.jp-type-playlist a.jp-previous {
163
+ left:192px;
164
+ }
165
+ div.jp-video-360p div.jp-type-playlist a.jp-previous {
166
+ left:272px;
167
+ }
168
+ a.jp-previous {
169
+ background: url("jplayer.blue.monday.png") 0 -112px no-repeat;
170
+ width:28px;
171
+ height:28px;
172
+ }
173
+ a.jp-previous:hover {
174
+ background: url("jplayer.blue.monday.png") -29px -112px no-repeat;
175
+ }
176
+ div.jp-audio div.jp-type-playlist a.jp-next {
177
+ left:88px;
178
+ top:26px;
179
+ }
180
+ div.jp-video div.jp-type-playlist a.jp-next {
181
+ top:21px;
182
+ }
183
+ div.jp-video-270p div.jp-type-playlist a.jp-next {
184
+ left:260px;
185
+ }
186
+ div.jp-video-360p div.jp-type-playlist a.jp-next {
187
+ left:340px;
188
+ }
189
+ a.jp-next {
190
+ background: url("jplayer.blue.monday.png") 0 -141px no-repeat;
191
+ width:28px;
192
+ height:28px;
193
+ }
194
+ a.jp-next:hover {
195
+ background: url("jplayer.blue.monday.png") -29px -141px no-repeat;
196
+ }
197
+ div.jp-progress {
198
+ position: absolute;
199
+ overflow:hidden;
200
+ background-color: #ddd;
201
+ }
202
+ div.jp-audio div.jp-type-single div.jp-progress {
203
+ top:13px;
204
+ left:100px;
205
+ width:122px;
206
+ height:15px;
207
+ }
208
+ div.jp-audio div.jp-type-playlist div.jp-progress {
209
+ top:13px;
210
+ left:134px;
211
+ width:122px;
212
+ height:15px;
213
+ }
214
+ div.jp-video div.jp-progress {
215
+ top:0px;
216
+ left:0px;
217
+ width:100%;
218
+ height:10px;
219
+ }
220
+ div.jp-seek-bar {
221
+ background: url("jplayer.blue.monday.png") 0 -202px repeat-x;
222
+ width:0px;
223
+ /* height:15px; */
224
+ height:100%;
225
+ cursor: pointer;
226
+ }
227
+ div.jp-play-bar {
228
+ background: url("jplayer.blue.monday.png") 0 -218px repeat-x ;
229
+ width:0px;
230
+ /* height:15px; */
231
+ height:100%;
232
+ }
233
+
234
+ /* The seeking class is added/removed inside jPlayer */
235
+ div.jp-seeking-bg {
236
+ background: url("pbar-ani.gif");
237
+ }
238
+
239
+ a.jp-mute,
240
+ a.jp-unmute {
241
+ width:18px;
242
+ height:15px;
243
+ }
244
+ div.jp-audio div.jp-type-single a.jp-mute,
245
+ div.jp-audio div.jp-type-single a.jp-unmute {
246
+ top:13px;
247
+ left:244px;
248
+ }
249
+ div.jp-audio div.jp-type-playlist a.jp-mute,
250
+ div.jp-audio div.jp-type-playlist a.jp-unmute {
251
+ top:13px;
252
+ left:266px;
253
+ }
254
+ div.jp-video a.jp-mute,
255
+ div.jp-video a.jp-unmute {
256
+ top:27px;
257
+ }
258
+ div.jp-video-270p div.jp-type-single a.jp-mute,
259
+ div.jp-video-270p div.jp-type-single a.jp-unmute {
260
+ left:304px;
261
+ }
262
+ div.jp-video-270p div.jp-type-playlist a.jp-unmute,
263
+ div.jp-video-270p div.jp-type-playlist a.jp-mute {
264
+ left:363px;
265
+ }
266
+ div.jp-video-360p div.jp-type-single a.jp-mute,
267
+ div.jp-video-360p div.jp-type-single a.jp-unmute {
268
+ left:384px;
269
+ }
270
+ div.jp-video-360p div.jp-type-playlist a.jp-mute,
271
+ div.jp-video-360p div.jp-type-playlist a.jp-unmute {
272
+ left:443px;
273
+ }
274
+ a.jp-mute {
275
+ background: url("jplayer.blue.monday.png") 0 -186px no-repeat;
276
+ }
277
+ a.jp-mute:hover {
278
+ background: url("jplayer.blue.monday.png") -19px -170px no-repeat;
279
+ }
280
+ a.jp-unmute {
281
+ background: url("jplayer.blue.monday.png") 0 -170px no-repeat;
282
+ display: none;
283
+ }
284
+ a.jp-unmute:hover {
285
+ background: url("jplayer.blue.monday.png") -19px -186px no-repeat;
286
+ }
287
+ div.jp-volume-bar {
288
+ position: absolute;
289
+ overflow:hidden;
290
+ background: url("jplayer.blue.monday.png") 0 -250px repeat-x;
291
+ width:46px;
292
+ height:5px;
293
+ cursor: pointer;
294
+ }
295
+ div.jp-audio div.jp-type-single div.jp-volume-bar {
296
+ top:18px;
297
+ left:272px;
298
+ }
299
+ div.jp-audio div.jp-type-playlist div.jp-volume-bar {
300
+ top:18px;
301
+ left:194px;
302
+ }
303
+ div.jp-video div.jp-volume-bar {
304
+ top:32px;
305
+ }
306
+ div.jp-video-270p div.jp-type-single div.jp-volume-bar {
307
+ left:332px;
308
+ }
309
+ div.jp-video-270p div.jp-type-playlist div.jp-volume-bar {
310
+ left:391px;
311
+ }
312
+ div.jp-video-360p div.jp-type-single div.jp-volume-bar {
313
+ left:412px;
314
+ }
315
+ div.jp-video-360p div.jp-type-playlist div.jp-volume-bar {
316
+ left:471px;
317
+ }
318
+ div.jp-volume-bar-value {
319
+ background: url("jplayer.blue.monday.png") 0 -256px repeat-x;
320
+ width:0px;
321
+ height:5px;
322
+ }
323
+ //*
324
+ div.jp-current-time,
325
+ div.jp-duration {
326
+ position: absolute;
327
+ font-size:.64em;
328
+ font-style:oblique;
329
+ }
330
+ div.jp-duration {
331
+ text-align: right;
332
+ }
333
+ div.jp-audio div.jp-type-single div.jp-current-time,
334
+ div.jp-audio div.jp-type-single div.jp-duration {
335
+ top:30px;
336
+ left:100px;
337
+ width:122px;
338
+ }
339
+ div.jp-audio div.jp-type-playlist div.jp-current-time,
340
+ div.jp-audio div.jp-type-playlist div.jp-duration {
341
+ top:30px;
342
+ left:134px;
343
+ width:122px;
344
+ }
345
+ div.jp-video div.jp-current-time,
346
+ div.jp-video div.jp-duration {
347
+ top:10px;
348
+ left:0px;
349
+ width:98%;
350
+ padding:0 1%;
351
+ }*//
352
+ div.jp-playlist {
353
+ /* width:418px; */
354
+ width:100%;
355
+ background-color:#ccc;
356
+ border:1px solid #009be3;
357
+ border-top:none;
358
+ }
359
+ div.jp-playlist ul {
360
+ list-style-type:none;
361
+ margin:0;
362
+ padding:0 20px;
363
+ /* background-color:#ccc; */
364
+ /* border:1px solid #009be3; */
365
+ /* border-top:none; */
366
+ /* width:378px; */
367
+ font-size:.72em;
368
+ }
369
+
370
+
371
+ div.jp-type-single div.jp-playlist li {
372
+ padding:5px 0 5px 20px;
373
+ font-weight:bold;
374
+ }
375
+ div.jp-type-playlist div.jp-playlist li {
376
+ padding:5px 0 4px 20px;
377
+ border-bottom:1px solid #eee;
378
+ }
379
+ /*
380
+ div.jp-video div.jp-playlist li {
381
+ padding:5px 0 5px 20px;
382
+ font-weight:bold;
383
+ }
384
+ */
385
+ div.jp-type-playlist div.jp-playlist li.jp-playlist-last {
386
+ padding:5px 0 5px 20px;
387
+ border-bottom:none;
388
+ }
389
+ div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
390
+ list-style-type:square;
391
+ list-style-position:inside;
392
+ padding-left:8px;
393
+ }
394
+ div.jp-type-playlist div.jp-playlist a {
395
+ color: #666;
396
+ text-decoration: none;
397
+ }
398
+ div.jp-type-playlist div.jp-playlist a:hover {
399
+ color:#0d88c1;
400
+ }
401
+ div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
402
+ color:#0d88c1;
403
+ }
404
+ div.jp-type-playlist div.jp-playlist div.jp-free-media {
405
+ display:inline;
406
+ margin-left:20px;
407
+ }
408
+
409
+ div.jp-video div.jp-video-play {
410
+ background: transparent url("jplayer.blue.monday.video.play.png") no-repeat center;
411
+ /* position: relative; */
412
+ position: absolute;
413
+ cursor:pointer;
414
+ z-index:2;
415
+ }
416
+ div.jp-video div.jp-video-play:hover {
417
+ background: transparent url("jplayer.blue.monday.video.play.hover.png") no-repeat center;
418
+ }
419
+ div.jp-video-270p div.jp-video-play {
420
+ top:-270px;
421
+ width:480px;
422
+ height:270px;
423
+ }
424
+ div.jp-video-360p div.jp-video-play {
425
+ top:-360px;
426
+ width:640px;
427
+ height:360px;
428
+ }
429
+
430
+ div.jp-jplayer {
431
+ width:0px;
432
+ height:0px;
433
+ }
434
+ div.jp-video div.jp-jplayer {
435
+ border:1px solid #009be3;
436
+ border-bottom:none;
437
+ z-index:1;
438
+ }
439
+ div.jp-video-270p div.jp-jplayer {
440
+ width:480px;
441
+ height:270px;
442
+ }
443
+ div.jp-video-360p div.jp-jplayer {
444
+ width:640px;
445
+ height:360px;
446
+ }
447
+ div.jp-jplayer {
448
+ background-color: #000000;
449
+ }