vkhater-social_stream-documents 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +15 -0
- data/.rspec +1 -0
- data/Gemfile +5 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +6 -0
- data/Rakefile +26 -0
- data/app/assets/flash/Jplayer.swf +0 -0
- data/app/assets/images/16/audio.png +0 -0
- data/app/assets/images/16/btn_documents.png +0 -0
- data/app/assets/images/16/default.png +0 -0
- data/app/assets/images/16/doc.png +0 -0
- data/app/assets/images/16/mpeg.png +0 -0
- data/app/assets/images/16/pdf.png +0 -0
- data/app/assets/images/16/photo.png +0 -0
- data/app/assets/images/16/plain.png +0 -0
- data/app/assets/images/16/ppt.png +0 -0
- data/app/assets/images/16/rar.png +0 -0
- data/app/assets/images/16/video.png +0 -0
- data/app/assets/images/16/xls.png +0 -0
- data/app/assets/images/16/zip.png +0 -0
- data/app/assets/images/48/audio.png +0 -0
- data/app/assets/images/48/default.png +0 -0
- data/app/assets/images/48/excel.png +0 -0
- data/app/assets/images/48/mpeg.png +0 -0
- data/app/assets/images/48/pdf.png +0 -0
- data/app/assets/images/48/ppt.png +0 -0
- data/app/assets/images/48/rar.png +0 -0
- data/app/assets/images/48/resource.png +0 -0
- data/app/assets/images/48/video.png +0 -0
- data/app/assets/images/48/word.png +0 -0
- data/app/assets/images/48/zip.png +0 -0
- data/app/assets/images/btn/btn_audio.png +0 -0
- data/app/assets/images/btn/btn_document.png +0 -0
- data/app/assets/images/btn/btn_excel.png +0 -0
- data/app/assets/images/btn/btn_pdf.png +0 -0
- data/app/assets/images/btn/btn_picture.png +0 -0
- data/app/assets/images/btn/btn_resource.png +0 -0
- data/app/assets/images/btn/btn_video.png +0 -0
- data/app/assets/images/btn/btn_word.png +0 -0
- data/app/assets/images/btn/document.png +0 -0
- data/app/assets/javascripts/documents.js.erb +71 -0
- data/app/assets/javascripts/social_stream-documents.js +3 -0
- data/app/assets/stylesheets/documents.css.scss +271 -0
- data/app/assets/stylesheets/show.css.scss +111 -0
- data/app/assets/stylesheets/social_stream-documents.css +6 -0
- data/app/controllers/audios_controller.rb +2 -0
- data/app/controllers/documents_controller.rb +97 -0
- data/app/controllers/pictures_controller.rb +2 -0
- data/app/controllers/videos_controller.rb +2 -0
- data/app/helpers/documents_helper.rb +30 -0
- data/app/models/audio.rb +24 -0
- data/app/models/document.rb +78 -0
- data/app/models/picture.rb +30 -0
- data/app/models/video.rb +29 -0
- data/app/views/audios/_audio.html.erb +27 -0
- data/app/views/audios/_audio_focus_search.html.erb +3 -0
- data/app/views/audios/_audio_global_search.html.erb +3 -0
- data/app/views/audios/_audio_processed.html.erb +45 -0
- data/app/views/audios/_audio_processing.html.erb +7 -0
- data/app/views/audios/_audio_show.html.erb +62 -0
- data/app/views/audios/_audio_with_details.html.erb +3 -0
- data/app/views/audios/_new.html.erb +1 -0
- data/app/views/audios/destroy.js.erb +1 -0
- data/app/views/audios/index.html.erb +1 -0
- data/app/views/audios/show.html.erb +2 -0
- data/app/views/common_documents/_document_info.html.erb +48 -0
- data/app/views/common_documents/_edit_form.html.erb +57 -0
- data/app/views/common_documents/_headers.html.erb +72 -0
- data/app/views/common_documents/_index.html.erb +68 -0
- data/app/views/common_documents/_show.html.erb +34 -0
- data/app/views/documents/_document.html.erb +15 -0
- data/app/views/documents/_document_focus_search.html.erb +2 -0
- data/app/views/documents/_document_global_search.html.erb +2 -0
- data/app/views/documents/_document_show.html.erb +7 -0
- data/app/views/documents/_document_with_details.html.erb +13 -0
- data/app/views/documents/_new_activity.html.erb +1 -0
- data/app/views/documents/_new_activity_fields.html.erb +1 -0
- data/app/views/documents/destroy.js.erb +1 -0
- data/app/views/documents/index.html.erb +1 -0
- data/app/views/documents/show.html.erb +2 -0
- data/app/views/pictures/_new.html.erb +1 -0
- data/app/views/pictures/_picture.html.erb +42 -0
- data/app/views/pictures/_picture_focus_search.html.erb +2 -0
- data/app/views/pictures/_picture_global_search.html.erb +2 -0
- data/app/views/pictures/_picture_show.html.erb +26 -0
- data/app/views/pictures/_picture_with_details.html.erb +2 -0
- data/app/views/pictures/destroy.js.erb +1 -0
- data/app/views/pictures/index.html.erb +1 -0
- data/app/views/pictures/show.html.erb +2 -0
- data/app/views/videos/_new.html.erb +1 -0
- data/app/views/videos/_video.html.erb +29 -0
- data/app/views/videos/_video_focus_search.html.erb +2 -0
- data/app/views/videos/_video_global_search.html.erb +2 -0
- data/app/views/videos/_video_processed.html.erb +50 -0
- data/app/views/videos/_video_processing.html.erb +7 -0
- data/app/views/videos/_video_show.html.erb +64 -0
- data/app/views/videos/_video_with_details.html.erb +2 -0
- data/app/views/videos/destroy.js.erb +1 -0
- data/app/views/videos/index.html.erb +1 -0
- data/app/views/videos/show.html.erb +2 -0
- data/app/worker/audioencoder.rb +7 -0
- data/app/worker/videoencoder.rb +7 -0
- data/config/locales/en.yml +67 -0
- data/config/locales/es.yml +67 -0
- data/config/routes.rb +22 -0
- data/db/migrate/20110615143707_create_social_stream_documents.rb +24 -0
- data/db/migrate/20110922173707_add_file_processing_to_document.rb +9 -0
- data/db/migrate/20111005112707_add_title_and_description_to_document.rb +11 -0
- data/lib/generators/social_stream/documents/install_generator.rb +24 -0
- data/lib/social_stream-documents.rb +25 -0
- data/lib/social_stream/documents/engine.rb +46 -0
- data/lib/social_stream/documents/version.rb +5 -0
- data/lib/social_stream/migrations/documents.rb +9 -0
- data/lib/social_stream/toolbar_config/documents.rb +27 -0
- data/social_stream-documents.gemspec +30 -0
- data/spec/controllers/documents_controller_spec.rb +118 -0
- data/spec/controllers/pictures_controller_spec.rb +80 -0
- data/spec/dummy/.gitignore +1 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +22 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +25 -0
- data/spec/dummy/config/environments/production.rb +49 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +176 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/navigation.rb +0 -0
- data/spec/dummy/config/relations.yml +39 -0
- data/spec/dummy/config/routes.rb +60 -0
- data/spec/dummy/db/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/javascripts/application.js +2 -0
- data/spec/dummy/public/javascripts/controls.js +965 -0
- data/spec/dummy/public/javascripts/dragdrop.js +974 -0
- data/spec/dummy/public/javascripts/effects.js +1123 -0
- data/spec/dummy/public/javascripts/prototype.js +6001 -0
- data/spec/dummy/public/javascripts/rails.js +191 -0
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories/document.rb +20 -0
- data/spec/factories/files/privado.png +0 -0
- data/spec/factories/files/rails.png +0 -0
- data/spec/factories/files/small.pdf +157 -0
- data/spec/factories/picture.rb +21 -0
- data/spec/integration/navigation_spec.rb +9 -0
- data/spec/models/video_spec.rb +9 -0
- data/spec/socialstream_documents_spec.rb +7 -0
- data/spec/spec_helper.rb +46 -0
- data/spec/support/cancan.rb +1 -0
- data/spec/support/db.rb +8 -0
- data/spec/support/devise.rb +4 -0
- data/spec/support/mock.rb +4 -0
- data/vendor/assets/javascripts/jquery.jplayer.js +78 -0
- data/vendor/assets/stylesheets/jplayer.blue.monday.css +448 -0
- data/vendor/assets/stylesheets/jplayer.blue.monday.jpg +0 -0
- data/vendor/assets/stylesheets/jplayer.blue.monday.video.play.hover.png +0 -0
- data/vendor/assets/stylesheets/jplayer.blue.monday.video.play.png +0 -0
- data/vendor/assets/stylesheets/jquery.lightbox.css +101 -0
- data/vendor/assets/stylesheets/pbar-ani.gif +0 -0
- metadata +322 -0
data/.gitignore
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
.bundle/
|
2
|
+
log/*.log
|
3
|
+
pkg/
|
4
|
+
spec/dummy/db/*.sqlite3
|
5
|
+
spec/dummy/log/*.log
|
6
|
+
spec/dummy/tmp/
|
7
|
+
*.DS_Store
|
8
|
+
Gemfile.lock
|
9
|
+
.project
|
10
|
+
.idea/*
|
11
|
+
.idea/social_stream-documents.iml
|
12
|
+
app/views/*/.tmp_*
|
13
|
+
**.*swp
|
14
|
+
.idea
|
15
|
+
spec/dummy/db/*sqlite3-journal
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/Gemfile
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2011 VÍCTOR SÁNCHEZ BELMAR
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
require 'bundler/gem_tasks'
|
3
|
+
|
4
|
+
require 'rdoc/task'
|
5
|
+
|
6
|
+
require 'rspec/core'
|
7
|
+
require 'rspec/core/rake_task'
|
8
|
+
|
9
|
+
RSpec::Core::RakeTask.new(:spec)
|
10
|
+
|
11
|
+
task :default => :spec
|
12
|
+
|
13
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
14
|
+
rdoc.rdoc_dir = 'rdoc'
|
15
|
+
rdoc.title = 'SocialStream Documents'
|
16
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
17
|
+
rdoc.rdoc_files.include('README.rdoc')
|
18
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
19
|
+
end
|
20
|
+
|
21
|
+
# Modify this gem's tags
|
22
|
+
class Bundler::GemHelper
|
23
|
+
def version_tag
|
24
|
+
"documents#{version}"
|
25
|
+
end
|
26
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,71 @@
|
|
1
|
+
function removePlayers(){
|
2
|
+
$('.attachment_tile').removeClass("selected");
|
3
|
+
$('.player').remove();
|
4
|
+
$('#downloadButton').remove();
|
5
|
+
}
|
6
|
+
|
7
|
+
$('#closeButton').live("click",function(){
|
8
|
+
removePlayers();
|
9
|
+
});
|
10
|
+
|
11
|
+
function hideJplayer(jplayerid){
|
12
|
+
$("#full_video_"+jplayerid).removeClass("jp-video-270p");
|
13
|
+
$("#jp_interface_"+jplayerid).hide();
|
14
|
+
$("#jp_playlist_"+jplayerid).hide();
|
15
|
+
}
|
16
|
+
|
17
|
+
function showJplayer(jplayerid){
|
18
|
+
$("#full_video_"+jplayerid).addClass("jp-video-270p");
|
19
|
+
$("#jp_interface_"+jplayerid).show();
|
20
|
+
$("#jp_playlist_"+jplayerid).show();
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
$(".video_thumbnail_play_over").livequery("click",function(){
|
25
|
+
the_id = $(this).attr('id');
|
26
|
+
showJplayer(the_id);
|
27
|
+
$(this).parent().hide();
|
28
|
+
$("#jpId"+the_id).jPlayer("play", 0);
|
29
|
+
});
|
30
|
+
|
31
|
+
$(document).ready(function(){
|
32
|
+
//if there are 6 or more commments we only show the last 5 and a link to show the rest
|
33
|
+
$("#document_comments .activity_comments").each(function(){
|
34
|
+
var comments = $(this).children(".subactivity");
|
35
|
+
if (comments.size() > 5){
|
36
|
+
$(this).prepend("<div class='hide_show_comments'><a href='#' onclick='showAllDocumentComments(\""+
|
37
|
+
$(this).attr('id') +"\"); return false;'><%= I18n.t('comment.view_all') %> (" +
|
38
|
+
comments.size() + ")</a></div><div class='space_comments'></div>");
|
39
|
+
comments.slice(0,comments.size()-5).hide();
|
40
|
+
//hide alto space_comments
|
41
|
+
$(this).children(".space_comments").slice(0,comments.size()-5).hide();
|
42
|
+
}
|
43
|
+
});
|
44
|
+
});
|
45
|
+
|
46
|
+
showAllDocumentComments = function(id){
|
47
|
+
$("#"+id).children().show("slow");
|
48
|
+
//and hide the hide_show_comments
|
49
|
+
$("#"+id).children(".hide_show_comments").hide();
|
50
|
+
};
|
51
|
+
|
52
|
+
|
53
|
+
toggleDocumentMenu = function(name){
|
54
|
+
$(".document_menu").each(function(){
|
55
|
+
console.log($(this));
|
56
|
+
if($(this).css("display")!="none"){
|
57
|
+
$(this).slideToggle("slow");
|
58
|
+
$("#" + $(this).attr('id') + "_action").removeClass("selected");
|
59
|
+
}
|
60
|
+
});
|
61
|
+
if($("#document_" + name).css("display")=="none"){
|
62
|
+
$("#document_" + name).slideToggle("slow");
|
63
|
+
$("#document_" + name + "_action").addClass("selected");
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
$(document).ready(function(){
|
68
|
+
$("body").screw({
|
69
|
+
loadingHTML: '<%= image_tag('loading.gif') %>'
|
70
|
+
});
|
71
|
+
});
|
@@ -0,0 +1,271 @@
|
|
1
|
+
@import "colors";
|
2
|
+
|
3
|
+
.attachment
|
4
|
+
{
|
5
|
+
padding-top: 10px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.attachment_content
|
9
|
+
{
|
10
|
+
position: relative;
|
11
|
+
width: 90%;
|
12
|
+
vertical-align: middle;
|
13
|
+
line-height: 20px;
|
14
|
+
height: auto;
|
15
|
+
float:left;
|
16
|
+
font-size:13px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.attachment_text
|
20
|
+
{
|
21
|
+
line-height: 20px;
|
22
|
+
height: auto;
|
23
|
+
font-size:13px;
|
24
|
+
}
|
25
|
+
|
26
|
+
.attachment_text_link
|
27
|
+
{
|
28
|
+
color: #2A3890;
|
29
|
+
padding-left: 10px;
|
30
|
+
}
|
31
|
+
|
32
|
+
.attachment_text audio
|
33
|
+
{
|
34
|
+
position:relative;
|
35
|
+
}
|
36
|
+
|
37
|
+
.attachment_text video
|
38
|
+
{
|
39
|
+
position:relative;
|
40
|
+
height: 180px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.attachment_thumb
|
44
|
+
{
|
45
|
+
position: relative;
|
46
|
+
/*width: 10%;*/
|
47
|
+
float: left;
|
48
|
+
/*height: 50px;*/
|
49
|
+
padding-right:5px;
|
50
|
+
vertical-align: middle;
|
51
|
+
}
|
52
|
+
|
53
|
+
#new_document{
|
54
|
+
margin-left: 10px;
|
55
|
+
clear: both;
|
56
|
+
padding-top: 5px;
|
57
|
+
text-align: left;
|
58
|
+
}
|
59
|
+
|
60
|
+
.attachment_tile{
|
61
|
+
margin: 5px;
|
62
|
+
width: 90px;
|
63
|
+
height: 70px;
|
64
|
+
border-bottom: 2px solid transparent;
|
65
|
+
float: left;
|
66
|
+
text-align: center;
|
67
|
+
overflow: hidden;
|
68
|
+
border: 1px solid transparent;
|
69
|
+
padding: 5px;
|
70
|
+
position: relative;
|
71
|
+
}
|
72
|
+
|
73
|
+
.attachment_tile_thumb img{
|
74
|
+
width: 48px;
|
75
|
+
height: 48px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.attachment_tile_tipsy{
|
79
|
+
position: absolute;
|
80
|
+
top: 0px;
|
81
|
+
right: 9px;
|
82
|
+
}
|
83
|
+
|
84
|
+
.attachment_tile:hover{
|
85
|
+
border: 1px solid $main-color;
|
86
|
+
}
|
87
|
+
|
88
|
+
.attachment_tile.selected{
|
89
|
+
background-color: #e0edf2;
|
90
|
+
border-bottom: 2px solid green;
|
91
|
+
}
|
92
|
+
|
93
|
+
.attachment_section_header{
|
94
|
+
margin-top: 15px;
|
95
|
+
margin-bottom: 5px;
|
96
|
+
padding-left: 10px;
|
97
|
+
position: relative;
|
98
|
+
width:90%;
|
99
|
+
border-left: 3px solid #2A3890;
|
100
|
+
background-color: #e0edf2;
|
101
|
+
}
|
102
|
+
|
103
|
+
.attachment_tile_tipsy_menu.tipsy {
|
104
|
+
padding-top: 0px;
|
105
|
+
display: none;
|
106
|
+
}
|
107
|
+
.attachment_tile_tipsy_menu.tipsy .tipsy-arrow {
|
108
|
+
display: none;
|
109
|
+
}
|
110
|
+
.attachment_tile_tipsy_menu.tipsy .tipsy-inner {
|
111
|
+
background-color: $text-over-main;
|
112
|
+
border-radius: 0px;
|
113
|
+
-moz-border-radius: 0px;
|
114
|
+
-webkit-border-radius: 0px;
|
115
|
+
padding:0px;
|
116
|
+
}
|
117
|
+
.attachment_tile_tipsy_menu.tipsy .actions {
|
118
|
+
border-bottom: 1px solid $main-color;
|
119
|
+
text-align: left;
|
120
|
+
}
|
121
|
+
.attachment_tile_tipsy_menu.tipsy .actions .action {
|
122
|
+
border: 1px solid $main-color;
|
123
|
+
border-bottom: 0px;
|
124
|
+
padding:5px;
|
125
|
+
width: 80px;
|
126
|
+
}
|
127
|
+
.attachment_tile_tipsy_menu.tipsy .actions .action:hover {
|
128
|
+
background-color: $secondary-color;
|
129
|
+
}
|
130
|
+
.attachment_tile_tipsy_menu.tipsy .actions a:hover {
|
131
|
+
text-decoration: none;
|
132
|
+
}
|
133
|
+
.attachment_tile_tipsy_menu.tipsy .actions .action img {
|
134
|
+
vertical-align: middle;
|
135
|
+
padding-bottom: 3px;
|
136
|
+
padding-right: 3px;
|
137
|
+
padding-left: 3px;
|
138
|
+
display: inline-block;
|
139
|
+
}
|
140
|
+
#repository_filter {
|
141
|
+
margin-left: 10px;
|
142
|
+
}
|
143
|
+
|
144
|
+
#repository_filter #order_by{
|
145
|
+
margin: 5px 5px 5px 15px;
|
146
|
+
}
|
147
|
+
|
148
|
+
#repository_filter input {
|
149
|
+
padding: 0 3px 0 22px;
|
150
|
+
background: url('btn/search_icon.png') 5px 50% no-repeat white;
|
151
|
+
font-size: 11px;
|
152
|
+
color: $main-color;
|
153
|
+
border: solid 1px $input-border-color;
|
154
|
+
height: 25px;
|
155
|
+
width: 200px;
|
156
|
+
}
|
157
|
+
|
158
|
+
.player{
|
159
|
+
position: fixed;
|
160
|
+
border-left: 24px solid #2A3890;
|
161
|
+
border-right: 24px solid #2A3890;
|
162
|
+
background-color: #e0edf2;
|
163
|
+
bottom: 0px;
|
164
|
+
right: 0px;
|
165
|
+
max-height: 300px;
|
166
|
+
}
|
167
|
+
|
168
|
+
#downloadButton{
|
169
|
+
position: fixed;
|
170
|
+
bottom: 5px;
|
171
|
+
right: 0px;
|
172
|
+
width: 24px;
|
173
|
+
}
|
174
|
+
|
175
|
+
.media_preview{
|
176
|
+
float:left;
|
177
|
+
margin: 10px;
|
178
|
+
width: 140px;
|
179
|
+
height: 110px;
|
180
|
+
text-align:center;
|
181
|
+
}
|
182
|
+
|
183
|
+
.media_preview_image{
|
184
|
+
position: relative;
|
185
|
+
top: 0px;
|
186
|
+
width:130px;
|
187
|
+
height: 80px;
|
188
|
+
}
|
189
|
+
|
190
|
+
.media_preview_title{
|
191
|
+
position:relative;
|
192
|
+
width: 100%;
|
193
|
+
overflow:hidden;
|
194
|
+
font-size: 12px;
|
195
|
+
color: #2A3890;
|
196
|
+
}
|
197
|
+
|
198
|
+
.media_preview_detail{
|
199
|
+
position: relative;
|
200
|
+
width: 100%;
|
201
|
+
overflow:hidden;
|
202
|
+
font-size: 11px;
|
203
|
+
color: #2A3890;
|
204
|
+
}
|
205
|
+
|
206
|
+
.size_19px {
|
207
|
+
width: 19px;
|
208
|
+
}
|
209
|
+
|
210
|
+
|
211
|
+
#jpId {
|
212
|
+
|
213
|
+
}
|
214
|
+
|
215
|
+
.jp-audio, .jp-video {
|
216
|
+
margin: 5px 0 5px 0;
|
217
|
+
}
|
218
|
+
|
219
|
+
.hidenJplayer {
|
220
|
+
height: 0px;
|
221
|
+
width: 0px;
|
222
|
+
}
|
223
|
+
|
224
|
+
.video_thumbnail_class {
|
225
|
+
width: 180px;
|
226
|
+
height: 135px;
|
227
|
+
}
|
228
|
+
|
229
|
+
.video_thumbnail_image{
|
230
|
+
position: relative;
|
231
|
+
top:0px;
|
232
|
+
width: 180px;
|
233
|
+
z-index:1;
|
234
|
+
width: 180px;
|
235
|
+
height: 135px;
|
236
|
+
overflow: hidden;
|
237
|
+
}
|
238
|
+
|
239
|
+
.video_thumbnail_play_over {
|
240
|
+
background: transparent url("jplayer.blue.monday.video.play.png") no-repeat center;
|
241
|
+
/* position: relative; */
|
242
|
+
position: relative;
|
243
|
+
cursor:pointer;
|
244
|
+
z-index:2;
|
245
|
+
}
|
246
|
+
|
247
|
+
.video_thumbnail_play_over:hover {
|
248
|
+
background: transparent url("jplayer.blue.monday.video.play.hover.png") no-repeat center;
|
249
|
+
}
|
250
|
+
|
251
|
+
.video_thumbnail_play_over {
|
252
|
+
top:-135px;
|
253
|
+
width:180px;
|
254
|
+
height:135px;
|
255
|
+
}
|
256
|
+
|
257
|
+
/* needed to hide the flash element when used */
|
258
|
+
.jpId_size0{
|
259
|
+
width: 0px;
|
260
|
+
height: 0px;
|
261
|
+
}
|
262
|
+
|
263
|
+
|
264
|
+
.processing_text{
|
265
|
+
padding: 10px 0px 10px 50px;
|
266
|
+
}
|
267
|
+
|
268
|
+
.screw{
|
269
|
+
width: 100%;
|
270
|
+
text-align: center;
|
271
|
+
}
|