plupload-rails 1.0.6 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/GPL-LICENSE.txt +278 -0
  3. data/MIT-LICENSE.txt +20 -0
  4. data/README.md +44 -15
  5. data/app/assets/javascripts/plupload.settings.js.erb +4 -4
  6. data/lib/plupload/rails/version.rb +2 -3
  7. data/plupload-rails.gemspec +4 -3
  8. data/vendor/assets/images/jquery.plupload.queue/backgrounds.gif +0 -0
  9. data/vendor/assets/images/jquery.plupload.queue/buttons-disabled.png +0 -0
  10. data/vendor/assets/images/jquery.plupload.queue/buttons.png +0 -0
  11. data/vendor/assets/images/jquery.plupload.queue/delete.gif +0 -0
  12. data/vendor/assets/images/jquery.plupload.queue/done.gif +0 -0
  13. data/vendor/assets/images/jquery.plupload.queue/error.gif +0 -0
  14. data/vendor/assets/images/jquery.plupload.queue/throbber.gif +0 -0
  15. data/vendor/assets/images/jquery.plupload.queue/transp50.png +0 -0
  16. data/vendor/assets/images/jquery.ui.plupload/loading.gif +0 -0
  17. data/vendor/assets/images/jquery.ui.plupload/plupload.png +0 -0
  18. data/vendor/assets/javascripts/jquery.plupload.queue.js +414 -1
  19. data/vendor/assets/javascripts/jquery.ui.plupload.js +1216 -1
  20. data/vendor/assets/javascripts/moxie.js +10439 -0
  21. data/vendor/assets/javascripts/plupload.dev.js +2083 -0
  22. data/vendor/assets/javascripts/plupload/i18n/bs.js +1 -0
  23. data/vendor/assets/javascripts/plupload/i18n/cs.js +1 -14
  24. data/vendor/assets/javascripts/plupload/i18n/cy.js +1 -0
  25. data/vendor/assets/javascripts/plupload/i18n/da.js +1 -12
  26. data/vendor/assets/javascripts/plupload/i18n/de.js +1 -24
  27. data/vendor/assets/javascripts/plupload/i18n/el.js +1 -0
  28. data/vendor/assets/javascripts/plupload/i18n/en.js +1 -0
  29. data/vendor/assets/javascripts/plupload/i18n/es.js +1 -25
  30. data/vendor/assets/javascripts/plupload/i18n/et.js +1 -0
  31. data/vendor/assets/javascripts/plupload/i18n/fa.js +1 -0
  32. data/vendor/assets/javascripts/plupload/i18n/fi.js +1 -33
  33. data/vendor/assets/javascripts/plupload/i18n/fr.js +1 -25
  34. data/vendor/assets/javascripts/plupload/i18n/hr.js +1 -25
  35. data/vendor/assets/javascripts/plupload/i18n/hu.js +1 -33
  36. data/vendor/assets/javascripts/plupload/i18n/hy.js +1 -0
  37. data/vendor/assets/javascripts/plupload/i18n/it.js +1 -24
  38. data/vendor/assets/javascripts/plupload/i18n/ja.js +1 -37
  39. data/vendor/assets/javascripts/plupload/i18n/ka.js +1 -0
  40. data/vendor/assets/javascripts/plupload/i18n/ko.js +1 -0
  41. data/vendor/assets/javascripts/plupload/i18n/lt.js +1 -0
  42. data/vendor/assets/javascripts/plupload/i18n/lv.js +1 -33
  43. data/vendor/assets/javascripts/plupload/i18n/nl.js +1 -21
  44. data/vendor/assets/javascripts/plupload/i18n/pl.js +1 -24
  45. data/vendor/assets/javascripts/plupload/i18n/pt_BR.js +1 -0
  46. data/vendor/assets/javascripts/plupload/i18n/ro.js +1 -24
  47. data/vendor/assets/javascripts/plupload/i18n/ru.js +1 -21
  48. data/vendor/assets/javascripts/plupload/i18n/sk.js +1 -0
  49. data/vendor/assets/javascripts/plupload/i18n/sr.js +1 -14
  50. data/vendor/assets/javascripts/plupload/i18n/sv.js +1 -12
  51. data/vendor/assets/javascripts/plupload/i18n/th_TH.js +1 -0
  52. data/vendor/assets/javascripts/plupload/i18n/tr.js +1 -0
  53. data/vendor/assets/javascripts/plupload/i18n/uk_UA.js +1 -0
  54. data/vendor/assets/javascripts/plupload/i18n/zh_CN.js +1 -0
  55. data/vendor/assets/misc/Moxie.swf +0 -0
  56. data/vendor/assets/misc/Moxie.xap +0 -0
  57. data/vendor/assets/stylesheets/jquery.plupload.queue.scss +177 -177
  58. data/vendor/assets/stylesheets/jquery.ui.plupload.scss +362 -147
  59. metadata +42 -28
  60. data/vendor/assets/images/jquery.ui.plupload/plupload-bw.png +0 -0
  61. data/vendor/assets/javascripts/plupload.browserplus.js +0 -1
  62. data/vendor/assets/javascripts/plupload.flash.js +0 -1
  63. data/vendor/assets/javascripts/plupload.full.js +0 -2
  64. data/vendor/assets/javascripts/plupload.gears.js +0 -1
  65. data/vendor/assets/javascripts/plupload.html4.js +0 -1
  66. data/vendor/assets/javascripts/plupload.html5.js +0 -1
  67. data/vendor/assets/javascripts/plupload.js +0 -2
  68. data/vendor/assets/javascripts/plupload.silverlight.js +0 -1
  69. data/vendor/assets/javascripts/plupload/i18n/pt-br.js +0 -35
  70. data/vendor/assets/misc/plupload.flash.swf +0 -0
  71. data/vendor/assets/misc/plupload.silverlight.xap +0 -0
@@ -0,0 +1 @@
1
+ plupload.addI18n({"Stop Upload":"Zastaviť nahrávanie","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"","Size":"Veľkosť","Close":"Close","Init error.":"Chyba inicializácie.","Add files to the upload queue and click the start button.":"Pridajte súbory do zoznamu a potom spustite nahrávanie.","Filename":"Názov súboru","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Stav","HTTP Error.":"HTTP Chyba.","Start Upload":"Start Upload","mb":"","kb":"","Duplicate file error.":"","File size error.":"Súbor je príliš veľký.","N/A":"N/A","gb":"","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"Vyberte súbory","%s already present in the queue.":"","File: %s":"File: %s","b":"","Uploaded %d/%d files":"Nahraných %d/%d súborov","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d súborov pridaných do zoznamu","File: %s, size: %d, max file size: %d":"","Drag files here.":"Sem pretiahnite súbory.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"File count error.","File extension error.":"Chybný typ súboru.","Error: File too large:":"Error: File too large:","Add Files":"Add Files"});
@@ -1,14 +1 @@
1
- // Serbian
2
- plupload.addI18n({
3
- 'Select files' : 'Izaberite fajlove',
4
- 'Add files to the upload queue and click the start button.' : 'Dodajte fajlove u listu i kliknite na dugme Start.',
5
- 'Filename' : 'Naziv fajla',
6
- 'Status' : 'Status',
7
- 'Size' : 'Veličina',
8
- 'Add Files' : 'Dodaj fajlove',
9
- 'Stop current upload' : 'Zaustavi upload',
10
- 'Start uploading queue' : 'Počni upload',
11
- 'Drag files here.' : 'Prevucite fajlove ovde.',
12
- 'Start Upload': 'Počni upload',
13
- 'Uploaded %d/%d files': 'Snimljeno %d/%d fajlova'
14
- });
1
+ plupload.addI18n({"Stop Upload":"Stop Upload","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"","Size":"Veličina","Close":"Close","Init error.":"Init error.","Add files to the upload queue and click the start button.":"Dodajte fajlove u listu i kliknite na dugme Start.","Filename":"Naziv fajla","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Status","HTTP Error.":"HTTP Error.","Start Upload":"Počni upload","mb":"","kb":"","Duplicate file error.":"","File size error.":"File size error.","N/A":"N/A","gb":"","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"Izaberite fajlove","%s already present in the queue.":"","File: %s":"File: %s","b":"","Uploaded %d/%d files":"Snimljeno %d/%d fajlova","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d files queued","File: %s, size: %d, max file size: %d":"","Drag files here.":"Prevucite fajlove ovde.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"File count error.","File extension error.":"File extension error.","Error: File too large:":"Error: File too large:","Add Files":"Dodaj fajlove"});
@@ -1,12 +1 @@
1
- // .po file like language pack
2
- plupload.addI18n({
3
- 'Select files' : 'Välj filer',
4
- 'Add files to the upload queue and click the start button.' : 'Lägg till filer till kön och tryck på start.',
5
- 'Filename' : 'Filnamn',
6
- 'Status' : 'Status',
7
- 'Size' : 'Storlek',
8
- 'Add files' : 'Lägg till filer',
9
- 'Stop current upload' : 'Stoppa uppladdningen',
10
- 'Start uploading queue' : 'Starta uppladdningen',
11
- 'Drag files here.' : 'Dra filer hit'
12
- });
1
+ plupload.addI18n({"Stop Upload":"Stop Upload","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"","Size":"Storlek","Close":"Close","Init error.":"Init error.","Add files to the upload queue and click the start button.":"Lägg till filer till kön och tryck på start.","Filename":"Filnamn","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Status","HTTP Error.":"HTTP Error.","Start Upload":"Start Upload","mb":"","kb":"","Duplicate file error.":"","File size error.":"File size error.","N/A":"N/A","gb":"","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"Välj filer","%s already present in the queue.":"","File: %s":"File: %s","b":"","Uploaded %d/%d files":"Uploaded %d/%d files","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d files queued","File: %s, size: %d, max file size: %d":"","Drag files here.":"Dra filer hit","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"File count error.","File extension error.":"File extension error.","Error: File too large:":"Error: File too large:","Add Files":"Add Files"});
@@ -0,0 +1 @@
1
+ plupload.addI18n({"Stop Upload":"หยุดอัพโหลด","Upload URL might be wrong or doesn't exist.":"URL ของการอัพโหลดอาจจะผิดหรือไม่มีอยู่","tb":"เทราไบต์","Size":"ขนาด","Close":"ปิด","Init error.":"Init เกิดข้อผิดพลาด","Add files to the upload queue and click the start button.":"เพิ่มไฟล์ไปยังคิวอัพโหลดและคลิกที่ปุ่มเริ่ม","Filename":"ชื่อไฟล์","Image format either wrong or not supported.":"รูปแบบรูปภาพทั้งสองผิดหรือไม่รองรับ","Status":"สถานะ","HTTP Error.":"HTTP เกิดข้อผิดพลาด","Start Upload":"เริ่มอัพโหลด","mb":"เมกะไบต์","kb":"กิโลไบต์","Duplicate file error.":"ไฟล์ที่ซ้ำกันเกิดข้อผิดพลาด","File size error.":"ขนาดไฟล์เกิดข้อผิดพลาด","N/A":"N/A","gb":"กิกะไบต์","Error: Invalid file extension:":"ข้อผิดพลาด: นามสกุลไฟล์ไม่ถูกต้อง:","Select files":"เลือกไฟล์","%s already present in the queue.":"%s อยู่ในคิวแล้ว","File: %s":"ไฟล์: %s","b":"ไบต์","Uploaded %d/%d files":"อัพโหลดแล้ว %d/%d ไฟล์","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"การอัพโหลดจะยอมรับเฉพาะ %d ไฟล์(s) ในช่วงเวลาเดียวกัน เมื่อไฟล์พิเศษถูกปลดออก","%d files queued":"%d ไฟล์ที่อยู่ในคิว","File: %s, size: %d, max file size: %d":"ไฟล์: %s, ขนาด: %d, ขนาดไฟล์สูงสุด: %d","Drag files here.":"ลากไฟล์มาที่นี่","Runtime ran out of available memory.":"รันไทม์วิ่งออกมาจากหน่วยความจำ","File count error.":"การนับไฟล์เกิดข้อผิดพลาด","File extension error.":"นามสกุลไฟล์เกิดข้อผิดพลาด","Error: File too large:":"ข้อผิดพลาด: ไฟล์ใหญ่เกินไป:","Add Files":"เพิ่มไฟล์"});
@@ -0,0 +1 @@
1
+ plupload.addI18n({"Stop Upload":"Yüklemeyi durdur","Upload URL might be wrong or doesn't exist.":"URL yok ya da hatalı olabilir.","tb":"tb","Size":"Boyut","Close":"Kapat","Init error.":"Başlangıç hatası.","Add files to the upload queue and click the start button.":"Dosyaları kuyruğa ekleyin ve başlatma butonuna tıklayın.","Filename":"Dosya adı","Image format either wrong or not supported.":"Resim formatı yanlış ya da desteklenmiyor.","Status":"Durum","HTTP Error.":"HTTP hatası.","Start Upload":"Yüklemeyi başlat","mb":"mb","kb":"kb","Duplicate file error.":"Yinelenen dosya hatası.","File size error.":"Dosya boyutu hatası.","N/A":"-","gb":"gb","Error: Invalid file extension:":"Hata: Geçersiz dosya uzantısı:","Select files":"Dosyaları seç","%s already present in the queue.":"%s kuyrukta zaten mevcut.","File: %s":"Dosya: %s","b":"bayt","Uploaded %d/%d files":"%d/%d dosya yüklendi","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Yükleme elemanı aynı anda %d dosya kabul eder. Ekstra dosyalar işleme konulmaz.","%d files queued":"Kuyrukta %d dosya var.","File: %s, size: %d, max file size: %d":"Dosya: %s, boyut: %d, maksimum dosya boyutu: %d","Drag files here.":"Dosyaları buraya bırakın.","Runtime ran out of available memory.":"İşlem için yeterli bellek yok.","File count error.":"Dosya sayım hatası.","File extension error.":"Dosya uzantısı hatası.","Error: File too large:":"Hata: Dosya çok büyük:","Add Files":"Dosya ekle"});
@@ -0,0 +1 @@
1
+ plupload.addI18n({"Stop Upload":"Зупинити завантаження","Upload URL might be wrong or doesn't exist.":"Адреса завантаження неправильна або не існує.","tb":"","Size":"Розмір","Close":"Закрити","Init error.":"Помилка ініціалізації.","Add files to the upload queue and click the start button.":"Додайте файли в чергу та натисніть кнопку \"Завантажити файли\".","Filename":"Назва файлу","Image format either wrong or not supported.":"Формат картинки не правильний або не підтримується.","Status":"Статус","HTTP Error.":"Помилка HTTP.","Start Upload":"Почати завантаження","mb":"","kb":"","Duplicate file error.":"","File size error.":"Неправильний розмір файлу.","N/A":"Н/Д","gb":"","Error: Invalid file extension:":"Помилка: У файлу неправильне розширення:","Select files":"Оберіть файли","%s already present in the queue.":"","File: %s":"Файл: %s","b":"","Uploaded %d/%d files":"Завантажено %d/%d файлів","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"","%d files queued":"В черзі %d файл(ів)","File: %s, size: %d, max file size: %d":"","Drag files here.":"Перетягніть файли сюди.","Runtime ran out of available memory.":"Робоче середовище перевищило ліміт доступної пам'яті.","File count error.":"Занадто багато файлів.","File extension error.":"Неправильне розширення файлу.","Error: File too large:":"Помилка: Файл занадто великий:","Add Files":"Додати файли"});
@@ -0,0 +1 @@
1
+ plupload.addI18n({"Stop Upload":"停止上传","Upload URL might be wrong or doesn't exist.":"上传的URL可能是错误的或不存在。","tb":"tb","Size":"大小","Close":"关闭","Init error.":"初始化错误。","Add files to the upload queue and click the start button.":"将文件添加到上传队列,然后点击”开始上传“按钮。","Filename":"文件名","Image format either wrong or not supported.":"图片格式错误或者不支持。","Status":"状态","HTTP Error.":"HTTP 错误。","Start Upload":"开始上传","mb":"mb","kb":"kb","Duplicate file error.":"重复文件错误。","File size error.":"文件大小错误。","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"错误:无效的文件扩展名:","Select files":"选择文件","%s already present in the queue.":"%s 已经在当前队列里。","File: %s":"文件: %s","b":"b","Uploaded %d/%d files":"已上传 %d/%d 个文件","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"每次只接受同时上传 %d 个文件,多余的文件将会被删除。","%d files queued":"%d 个文件加入到队列","File: %s, size: %d, max file size: %d":"文件: %s, 大小: %d, 最大文件大小: %d","Drag files here.":"把文件拖到这里。","Runtime ran out of available memory.":"运行时已消耗所有可用内存。","File count error.":"文件数量错误。","File extension error.":"文件扩展名错误。","Error: File too large:":"错误: 文件太大:","Add Files":"增加文件"});
@@ -1,177 +1,177 @@
1
- /*
2
- Plupload
3
- ------------------------------------------------------------------- */
4
-
5
- .plupload_button {
6
- display: -moz-inline-box; /* FF < 3*/
7
- display: inline-block;
8
- font: normal 12px sans-serif;
9
- text-decoration: none;
10
- color: #42454a;
11
- border: 1px solid #bababa;
12
- padding: 2px 8px 3px 20px;
13
- margin-right: 4px;
14
- background: #f3f3f3 image-url('jquery.plupload.queue/buttons.png') no-repeat 0 center;
15
- outline: 0;
16
-
17
- /* Optional rounded corners for browsers that support it */
18
- -moz-border-radius: 3px;
19
- -khtml-border-radius: 3px;
20
- -webkit-border-radius: 3px;
21
- border-radius: 3px;
22
- }
23
-
24
- .plupload_button:hover {
25
- color: #000;
26
- text-decoration: none;
27
- }
28
-
29
- .plupload_disabled, a.plupload_disabled:hover {
30
- color: #737373;
31
- border-color: #c5c5c5;
32
- background: #ededed image-url('jquery.plupload.queue/buttons-disabled.png') no-repeat 0 center;
33
- cursor: default;
34
- }
35
-
36
- .plupload_add {
37
- background-position: -181px center;
38
- }
39
-
40
- .plupload_wrapper {
41
- font: normal 11px Verdana,sans-serif;
42
- width: 100%;
43
- }
44
-
45
- .plupload_container {
46
- padding: 8px;
47
- background: image-url('jquery.plupload.queue/transp50.png');
48
- /*-moz-border-radius: 5px;*/
49
- }
50
-
51
- .plupload_container input {
52
- border: 1px solid #DDD;
53
- font: normal 11px Verdana,sans-serif;
54
- width: 98%;
55
- }
56
-
57
- .plupload_header {background: #2A2C2E image-url('jquery.plupload.queue/backgrounds.gif') repeat-x;}
58
- .plupload_header_content {
59
- background: image-url('jquery.plupload.queue/backgrounds.gif') no-repeat 0 -317px;
60
- min-height: 56px;
61
- padding-left: 60px;
62
- color: #FFF;
63
- }
64
- .plupload_header_title {
65
- font: normal 18px sans-serif;
66
- padding: 6px 0 3px;
67
- }
68
- .plupload_header_text {
69
- font: normal 12px sans-serif;
70
- }
71
-
72
- .plupload_filelist {
73
- margin: 0;
74
- padding: 0;
75
- list-style: none;
76
- }
77
-
78
- .plupload_scroll .plupload_filelist {
79
- height: 185px;
80
- background: #F5F5F5;
81
- overflow-y: scroll;
82
- }
83
-
84
- .plupload_filelist li {
85
- padding: 10px 8px;
86
- background: #F5F5F5 image-url('jquery.plupload.queue/backgrounds.gif') repeat-x 0 -156px;
87
- border-bottom: 1px solid #DDD;
88
- }
89
-
90
- .plupload_filelist_header, .plupload_filelist_footer {
91
- background: #DFDFDF;
92
- padding: 8px 8px;
93
- color: #42454A;
94
- }
95
- .plupload_filelist_header {
96
- border-top: 1px solid #EEE;
97
- border-bottom: 1px solid #CDCDCD;
98
- }
99
-
100
- .plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px; line-height: 20px; vertical-align: middle;}
101
- .plupload_file_name {float: left; overflow: hidden}
102
- .plupload_file_status {color: #777;}
103
- .plupload_file_status span {color: #42454A;}
104
- .plupload_file_size, .plupload_file_status, .plupload_progress {
105
- float: right;
106
- width: 80px;
107
- }
108
- .plupload_file_size, .plupload_file_status, .plupload_file_action {text-align: right;}
109
-
110
- .plupload_filelist .plupload_file_name {width: 205px}
111
-
112
- .plupload_file_action {
113
- float: right;
114
- width: 16px;
115
- height: 16px;
116
- margin-left: 15px;
117
- }
118
-
119
- .plupload_file_action * {
120
- display: none;
121
- width: 16px;
122
- height: 16px;
123
- }
124
-
125
- li.plupload_uploading {background: #ECF3DC image-url('jquery.plupload.queue/backgrounds.gif') repeat-x 0 -238px;}
126
- li.plupload_done {color:#AAA}
127
-
128
- li.plupload_delete a {
129
- background: image-url('jquery.plupload.queue/delete.gif');
130
- }
131
-
132
- li.plupload_failed a {
133
- background: image-url('jquery.plupload.queue/error.gif');
134
- cursor: default;
135
- }
136
-
137
- li.plupload_done a {
138
- background: image-url('jquery.plupload.queue/done.gif');
139
- cursor: default;
140
- }
141
-
142
- .plupload_progress, .plupload_upload_status {
143
- display: none;
144
- }
145
-
146
- .plupload_progress_container {
147
- margin-top: 3px;
148
- border: 1px solid #CCC;
149
- background: #FFF;
150
- padding: 1px;
151
- }
152
- .plupload_progress_bar {
153
- width: 0px;
154
- height: 7px;
155
- background: #CDEB8B;
156
- }
157
-
158
- .plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action {
159
- margin-right: 17px;
160
- }
161
-
162
- /* Floats */
163
-
164
- .plupload_clear,.plupload_clearer {clear: both;}
165
- .plupload_clearer, .plupload_progress_bar {
166
- display: block;
167
- font-size: 0;
168
- line-height: 0;
169
- }
170
-
171
- li.plupload_droptext {
172
- background: transparent;
173
- text-align: center;
174
- vertical-align: middle;
175
- border: 0;
176
- line-height: 165px;
177
- }
1
+ /*
2
+ Plupload
3
+ ------------------------------------------------------------------- */
4
+
5
+ .plupload_button {
6
+ display: -moz-inline-box; /* FF < 3*/
7
+ display: inline-block;
8
+ font: normal 12px sans-serif;
9
+ text-decoration: none;
10
+ color: #42454a;
11
+ border: 1px solid #bababa;
12
+ padding: 2px 8px 3px 20px;
13
+ margin-right: 4px;
14
+ background: #f3f3f3 image-url('jquery.plupload.queue/buttons.png') no-repeat 0 center;
15
+ outline: 0;
16
+
17
+ /* Optional rounded corners for browsers that support it */
18
+ -moz-border-radius: 3px;
19
+ -khtml-border-radius: 3px;
20
+ -webkit-border-radius: 3px;
21
+ border-radius: 3px;
22
+ }
23
+
24
+ .plupload_button:hover {
25
+ color: #000;
26
+ text-decoration: none;
27
+ }
28
+
29
+ .plupload_disabled, a.plupload_disabled:hover {
30
+ color: #737373;
31
+ border-color: #c5c5c5;
32
+ background: #ededed image-url('jquery.plupload.queue/buttons-disabled.png') no-repeat 0 center;
33
+ cursor: default;
34
+ }
35
+
36
+ .plupload_add {
37
+ background-position: -181px center;
38
+ }
39
+
40
+ .plupload_wrapper {
41
+ font: normal 11px Verdana,sans-serif;
42
+ width: 100%;
43
+ }
44
+
45
+ .plupload_container {
46
+ padding: 8px;
47
+ background: image-url('jquery.plupload.queue/transp50.png');
48
+ /*-moz-border-radius: 5px;*/
49
+ }
50
+
51
+ .plupload_container input {
52
+ border: 1px solid #DDD;
53
+ font: normal 11px Verdana,sans-serif;
54
+ width: 98%;
55
+ }
56
+
57
+ .plupload_header {background: #2A2C2E image-url('jquery.plupload.queue/backgrounds.gif') repeat-x;}
58
+ .plupload_header_content {
59
+ background: image-url('jquery.plupload.queue/backgrounds.gif') no-repeat 0 -317px;
60
+ min-height: 56px;
61
+ padding-left: 60px;
62
+ color: #FFF;
63
+ }
64
+ .plupload_header_title {
65
+ font: normal 18px sans-serif;
66
+ padding: 6px 0 3px;
67
+ }
68
+ .plupload_header_text {
69
+ font: normal 12px sans-serif;
70
+ }
71
+
72
+ .plupload_filelist {
73
+ margin: 0;
74
+ padding: 0;
75
+ list-style: none;
76
+ }
77
+
78
+ .plupload_scroll .plupload_filelist {
79
+ height: 185px;
80
+ background: #F5F5F5;
81
+ overflow-y: scroll;
82
+ }
83
+
84
+ .plupload_filelist li {
85
+ padding: 10px 8px;
86
+ background: #F5F5F5 image-url('jquery.plupload.queue/backgrounds.gif') repeat-x 0 -156px;
87
+ border-bottom: 1px solid #DDD;
88
+ }
89
+
90
+ .plupload_filelist_header, .plupload_filelist_footer {
91
+ background: #DFDFDF;
92
+ padding: 8px 8px;
93
+ color: #42454A;
94
+ }
95
+ .plupload_filelist_header {
96
+ border-top: 1px solid #EEE;
97
+ border-bottom: 1px solid #CDCDCD;
98
+ }
99
+
100
+ .plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px; line-height: 20px; vertical-align: middle;}
101
+ .plupload_file_name {float: left; overflow: hidden}
102
+ .plupload_file_status {color: #777;}
103
+ .plupload_file_status span {color: #42454A;}
104
+ .plupload_file_size, .plupload_file_status, .plupload_progress {
105
+ float: right;
106
+ width: 80px;
107
+ }
108
+ .plupload_file_size, .plupload_file_status, .plupload_file_action {text-align: right;}
109
+
110
+ .plupload_filelist .plupload_file_name {width: 205px}
111
+
112
+ .plupload_file_action {
113
+ float: right;
114
+ width: 16px;
115
+ height: 16px;
116
+ margin-left: 15px;
117
+ }
118
+
119
+ .plupload_file_action * {
120
+ display: none;
121
+ width: 16px;
122
+ height: 16px;
123
+ }
124
+
125
+ li.plupload_uploading {background: #ECF3DC image-url('jquery.plupload.queue/backgrounds.gif') repeat-x 0 -238px;}
126
+ li.plupload_done {color:#AAA}
127
+
128
+ li.plupload_delete a {
129
+ background: image-url('jquery.plupload.queue/delete.gif');
130
+ }
131
+
132
+ li.plupload_failed a {
133
+ background: image-url('jquery.plupload.queue/error.gif');
134
+ cursor: default;
135
+ }
136
+
137
+ li.plupload_done a {
138
+ background: image-url('jquery.plupload.queue/done.gif');
139
+ cursor: default;
140
+ }
141
+
142
+ .plupload_progress, .plupload_upload_status {
143
+ display: none;
144
+ }
145
+
146
+ .plupload_progress_container {
147
+ margin-top: 3px;
148
+ border: 1px solid #CCC;
149
+ background: #FFF;
150
+ padding: 1px;
151
+ }
152
+ .plupload_progress_bar {
153
+ width: 0px;
154
+ height: 7px;
155
+ background: #CDEB8B;
156
+ }
157
+
158
+ .plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action {
159
+ margin-right: 17px;
160
+ }
161
+
162
+ /* Floats */
163
+
164
+ .plupload_clear,.plupload_clearer {clear: both;}
165
+ .plupload_clearer, .plupload_progress_bar {
166
+ display: block;
167
+ font-size: 0;
168
+ line-height: 0;
169
+ }
170
+
171
+ li.plupload_droptext {
172
+ background: transparent;
173
+ text-align: center;
174
+ vertical-align: middle;
175
+ border: 0;
176
+ line-height: 165px;
177
+ }
@@ -1,147 +1,362 @@
1
- /*
2
- Plupload
3
- ------------------------------------------------------------------- */
4
-
5
- .plupload_button {cursor: pointer;}
6
-
7
- .plupload_wrapper {
8
- font: normal 11px Verdana,sans-serif;
9
- width: 100%;
10
- }
11
-
12
- .plupload .plupload_container input {width: 98%;}
13
- .plupload .plupload_filelist_footer {border-width: 1px 0 0 0}
14
- .plupload .plupload_filelist_header {border-width: 0 0 1px 0}
15
- div.plupload .plupload_file {border-width: 0 0 1px 0}
16
- div.plupload div.plupload_header {border-width: 0 0 1px 0; position: relative;}
17
-
18
- .plupload_file .ui-icon {
19
- cursor:pointer;
20
- }
21
-
22
- .plupload_header_content {
23
- background-image: image-url('jquery.ui.plupload/plupload.png');
24
- background-repeat: no-repeat;
25
- background-position: 8px center;
26
- min-height: 56px;
27
- padding-left: 60px;
28
- position:relative;
29
- }
30
- .plupload_header_content_bw {background-image: image-url('jquery.ui.plupload/plupload-bw.png');}
31
- .plupload_header_title {
32
- font: normal 18px sans-serif;
33
- padding: 6px 0 3px;
34
- }
35
- .plupload_header_text {font: normal 12px sans-serif;}
36
-
37
- .plupload_filelist,
38
- .plupload_filelist_content {
39
- border-collapse: collapse;
40
- margin: 0;
41
- padding: 0;
42
- width: 100%;
43
- -moz-user-select:none;
44
- -webkit-user-select:none;
45
- user-select:none;
46
- }
47
-
48
- .plupload_cell {padding: 8px 6px;}
49
-
50
- .plupload_file {
51
- border-left: none;
52
- border-right: none;
53
- }
54
-
55
- .plupload .ui-sortable-helper,
56
- .plupload .ui-sortable .plupload_file {
57
- cursor:move;
58
- }
59
-
60
- .plupload_scroll {
61
- max-height: 180px;
62
- min-height: 168px;
63
- _height: 168px;
64
- overflow-y: auto;
65
- }
66
-
67
- .plupload_file_size, .plupload_file_status {text-align: right;}
68
- .plupload_file_size, .plupload_file_status {width: 52px;}
69
- .plupload_file_action {width: 16px;}
70
- .plupload_file_name {
71
- overflow: hidden;
72
- padding-left: 10px;
73
- }
74
-
75
- .plupload_file_rename {
76
- width:95%;
77
- }
78
-
79
- .plupload_progress {width: 60px;}
80
- .plupload_progress_container {padding: 1px;}
81
-
82
-
83
- /* Floats */
84
-
85
- .plupload_right {float: right;}
86
- .plupload_left {float: left;}
87
- .plupload_clear,.plupload_clearer {clear: both;}
88
- .plupload_clearer, .plupload_progress_bar {
89
- display: block;
90
- font-size: 0;
91
- line-height: 0;
92
- }
93
- .plupload_clearer {height: 0;}
94
-
95
- /* Misc */
96
- .plupload_hidden {display: none;}
97
- .plupload_droptext {
98
- background: transparent;
99
- text-align: center;
100
- vertical-align: middle;
101
- border: 0;
102
- line-height: 165px;
103
- }
104
-
105
- .plupload_buttons, .plupload_upload_status {float: left}
106
-
107
- .plupload_message {
108
- position: absolute;
109
- top: 0px;
110
- left: 0px;
111
- height: 100%;
112
- width: 100%;
113
- }
114
-
115
- .plupload_message p {
116
- padding:0.7em;
117
- margin:0;
118
- }
119
-
120
- .plupload_message strong {
121
- font-weight: bold;
122
- }
123
-
124
- plupload_message i {
125
- font-style: italic;
126
- }
127
-
128
- .plupload_message p span.ui-icon {
129
- float: left;
130
- margin-right: 0.3em;
131
- }
132
-
133
- .plupload_header_content .ui-state-error,
134
- .plupload_header_content .ui-state-highlight {
135
- border:none;
136
- }
137
-
138
- .plupload_message_close {
139
- position:absolute;
140
- top:5px;
141
- right:5px;
142
- cursor:pointer;
143
- }
144
-
145
- .plupload .ui-sortable-placeholder {
146
- height:35px;
147
- }
1
+ /*
2
+ Plupload
3
+ ------------------------------------------------------------------- */
4
+
5
+ .plupload_button {
6
+ cursor: pointer;
7
+ outline: none;
8
+ }
9
+
10
+ .plupload_wrapper {
11
+ font: normal 11px Verdana,sans-serif;
12
+ width: 100%;
13
+ min-width: 520px;
14
+ }
15
+
16
+ .plupload_container {
17
+ _height: 300px;
18
+ min-height: 300px;
19
+ position: relative;
20
+ }
21
+
22
+ .plupload_filelist_footer {border-width: 1px 0 0 0}
23
+ .plupload_file {border-width: 0 0 1px 0}
24
+ .plupload_container .plupload_header {border-width: 0 0 1px 0; position: relative;}
25
+
26
+ .plupload_delete .ui-icon,
27
+ .plupload_done .ui-icon,
28
+ .plupload_failed .ui-icon {
29
+ cursor:pointer;
30
+ }
31
+
32
+ .plupload_header_content {
33
+ height: 56px;
34
+ padding: 0 160px 0 60px;
35
+ position: relative;
36
+ }
37
+
38
+ .plupload_logo {
39
+ width: 40px;
40
+ height: 40px;
41
+ background: image-url('jquery.ui.plupload/plupload.png') no-repeat 0 0;
42
+ position: absolute;
43
+ top: 8px;
44
+ left: 8px;
45
+ }
46
+
47
+ .plupload_header_content_bw .plupload_logo {
48
+ background-position: -40px 0;
49
+ }
50
+
51
+ .plupload_header_title {
52
+ font: normal 18px sans-serif;
53
+ padding: 6px 0 3px;
54
+ }
55
+
56
+ .plupload_header_text {
57
+ font: normal 12px sans-serif;
58
+ }
59
+
60
+ .plupload_view_switch {
61
+ position: absolute;
62
+ right: 16px;
63
+ bottom: 8px;
64
+ margin: 0;
65
+ display: none;
66
+ }
67
+
68
+ .plupload_view_switch .ui-button {
69
+ margin-right: -0.31em;
70
+ }
71
+
72
+ .plupload_content {
73
+ position: absolute;
74
+ top: 87px;
75
+ bottom: 44px;
76
+ left: 0;
77
+ right: 0;
78
+ overflow-y: auto;
79
+ width: 100%;
80
+ }
81
+
82
+ .plupload_filelist {
83
+ border-collapse: collapse;
84
+ border-left: none;
85
+ border-right: none;
86
+ margin: 0;
87
+ padding: 0;
88
+ width: 100%;
89
+ -moz-user-select: none;
90
+ -webkit-user-select: none;
91
+ user-select: none;
92
+ }
93
+
94
+ .plupload_filelist_content {
95
+ padding: 0;
96
+ margin: 0;
97
+ }
98
+
99
+ .plupload_cell {padding: 8px 6px;}
100
+
101
+ .plupload_file {
102
+ list-style: none;
103
+ display: block;
104
+ position: relative;
105
+ overflow: hidden;
106
+ width: 100%;
107
+ }
108
+
109
+ .plupload_file_thumb {
110
+ position: absolute;
111
+ left: 6px;
112
+ top: 6px;
113
+ background: #eee url(../img/loading.gif) center no-repeat;
114
+ }
115
+
116
+ .plupload_file_thumb_loaded {
117
+ background-image: none;
118
+ }
119
+
120
+ .plupload_file_name {
121
+ overflow: hidden;
122
+ text-overflow: ellipsis;
123
+ white-space: nowrap;
124
+ }
125
+
126
+ .plupload_filelist_header {
127
+ border-top: none;
128
+ }
129
+
130
+ .plupload_filelist_footer {
131
+ position: absolute;
132
+ bottom: 0;
133
+ left: 0;
134
+ right: 0;
135
+ }
136
+
137
+ .plupload_buttons {
138
+ position: relative;
139
+ }
140
+
141
+ /* list view */
142
+ .plupload_view_list .plupload_file {
143
+ border-left: none;
144
+ border-right: none;
145
+ border-top: none;
146
+ height: 29px;
147
+ }
148
+
149
+ .plupload_view_list div.plupload_file_size,
150
+ .plupload_view_list div.plupload_file_status,
151
+ .plupload_view_list div.plupload_file_action {
152
+ padding: 8px 6px;
153
+ position: absolute;
154
+ top: 0;
155
+ right: 0;
156
+ }
157
+
158
+ .plupload_view_list div.plupload_file_name {
159
+ margin-right: 156px;
160
+ padding: 8px 6px;
161
+ _width: 75%;
162
+ }
163
+
164
+ .plupload_view_list div.plupload_file_size {
165
+ right: 28px;
166
+ }
167
+
168
+ .plupload_view_list div.plupload_file_status {
169
+ right: 82px;
170
+ }
171
+
172
+ .plupload_view_list .plupload_file_rename {
173
+ margin-left: -2px;
174
+ }
175
+
176
+ .plupload_view_list .plupload_file_size,
177
+ .plupload_view_list .plupload_file_status,
178
+ .plupload_filelist_footer .plupload_file_size,
179
+ .plupload_filelist_footer .plupload_file_status {
180
+ text-align: right;
181
+ width: 52px;
182
+ }
183
+
184
+ .plupload_view_list .plupload_file_thumb,
185
+ .plupload_view_list .plupload_file_dummy {
186
+ top: -999px;
187
+ }
188
+
189
+ .plupload_view_list .plupload_file_progress {
190
+ display: none;
191
+ }
192
+
193
+
194
+ /* thumbs view */
195
+ .plupload_view_thumbs .plupload_content {
196
+ top: 57px;
197
+ }
198
+
199
+ .plupload_view_thumbs .plupload_filelist_header {
200
+ display: none;
201
+ }
202
+
203
+ .plupload_view_thumbs .plupload_file {
204
+ width: 100px;
205
+ padding: 72px 6px 6px;
206
+ margin: 10px;
207
+ border: 1px solid #fff;
208
+ float: left;
209
+ }
210
+
211
+ .plupload_view_thumbs .plupload_file_thumb,
212
+ .plupload_view_thumbs .plupload_file_dummy {
213
+ width: 100px;
214
+ height: 60px;
215
+ text-align: center;
216
+ overflow: hidden;
217
+ }
218
+
219
+ .plupload_view_thumbs .plupload_file_dummy {
220
+ font-size: 21px;
221
+ font-weight: bold;
222
+ text-transform: lowercase;
223
+ overflow: hidden;
224
+ line-height: 60px;
225
+ border: none;
226
+ }
227
+
228
+ .plupload_view_thumbs div.plupload_file_action {
229
+ position: absolute;
230
+ top: 0;
231
+ right: 0;
232
+ }
233
+
234
+ .plupload_view_thumbs div.plupload_file_name {
235
+ padding: 0;
236
+ font-weight: bold;
237
+ }
238
+
239
+ .plupload_view_thumbs .plupload_file_rename {
240
+ padding: 1px 0;
241
+ width: 100% !important;
242
+ }
243
+
244
+ .plupload_view_thumbs div.plupload_file_size {
245
+ font-size: 0.8em;
246
+ font-weight: normal;
247
+ }
248
+
249
+ .plupload_view_thumbs div.plupload_file_status {
250
+ position: absolute;
251
+ top: 67px;
252
+ left: 6px;
253
+ width: 100px;
254
+ height: 3px;
255
+ overflow: hidden;
256
+ text-indent: -999px;
257
+ }
258
+
259
+ .plupload_view_thumbs div.plupload_file_progress {
260
+ border: none;
261
+ height: 100%;
262
+ }
263
+
264
+ .plupload .ui-sortable-helper,
265
+ .plupload .ui-sortable .plupload_file {
266
+ cursor:move;
267
+ }
268
+
269
+ .plupload_file_action {width: 16px;}
270
+ .plupload_file_name {
271
+ overflow: hidden;
272
+ padding-left: 10px;
273
+ }
274
+
275
+ .plupload_file_rename {
276
+ border: none;
277
+ font: normal 11px Verdana, sans-serif;
278
+ padding: 1px 2px;
279
+ line-height: 11px;
280
+ height: 11px;
281
+ }
282
+
283
+ .plupload_progress {width: 60px;}
284
+ .plupload_progress_container {padding: 1px;}
285
+
286
+
287
+ /* Floats */
288
+
289
+ .plupload_right {float: right;}
290
+ .plupload_left {float: left;}
291
+ .plupload_clear,.plupload_clearer {clear: both;}
292
+ .plupload_clearer, .plupload_progress_bar {
293
+ display: block;
294
+ font-size: 0;
295
+ line-height: 0;
296
+ }
297
+ .plupload_clearer {height: 0;}
298
+
299
+ /* Misc */
300
+ .plupload_hidden {display: none;}
301
+
302
+ .plupload_droptext {
303
+ position: absolute;
304
+ top: 0;
305
+ left: 0;
306
+ right: 0;
307
+ bottom: 0;
308
+ background: transparent;
309
+ text-align: center;
310
+ vertical-align: middle;
311
+ border: 0;
312
+ line-height: 160px;
313
+ display: none;
314
+ }
315
+
316
+ .plupload_dropbox .plupload_droptext {
317
+ display: block;
318
+ }
319
+
320
+ .plupload_buttons, .plupload_upload_status {float: left}
321
+
322
+ .plupload_message {
323
+ position: absolute;
324
+ top: -1px;
325
+ left: -1px;
326
+ height: 100%;
327
+ width: 100%;
328
+ }
329
+
330
+ .plupload_message p {
331
+ padding:0.7em;
332
+ margin:0;
333
+ }
334
+
335
+ .plupload_message strong {
336
+ font-weight: bold;
337
+ }
338
+
339
+ plupload_message i {
340
+ font-style: italic;
341
+ }
342
+
343
+ .plupload_message p span.ui-icon {
344
+ float: left;
345
+ margin-right: 0.3em;
346
+ }
347
+
348
+ .plupload_header_content .ui-state-error,
349
+ .plupload_header_content .ui-state-highlight {
350
+ border:none;
351
+ }
352
+
353
+ .plupload_message_close {
354
+ position:absolute;
355
+ top:5px;
356
+ right:5px;
357
+ cursor:pointer;
358
+ }
359
+
360
+ .plupload .ui-sortable-placeholder {
361
+ height:35px;
362
+ }