fine_uploader 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/Vendorfile +9 -0
- data/fine_uploader.gemspec +21 -0
- data/lib/fine_uploader/version.rb +3 -0
- data/lib/fine_uploader.rb +8 -0
- data/vendor/assets/images/loading.gif +0 -0
- data/vendor/assets/javascripts/fine_uploader.js +1634 -0
- data/vendor/assets/stylesheets/fine_uploader.css.scss +126 -0
- metadata +73 -0
@@ -0,0 +1,126 @@
|
|
1
|
+
/*
|
2
|
+
* VERSION 2.1.1
|
3
|
+
* Original version: 1.0 © 2010 Andrew Valums ( andrew(at)valums.com )
|
4
|
+
* Current Maintainer (2.0+): 2012, Ray Nicholus ( fineuploader(at)garstasio.com )
|
5
|
+
*
|
6
|
+
* Licensed under MIT license, GNU GPL 2 or later, GNU LGPL 2 or later, see license.txt.
|
7
|
+
*/
|
8
|
+
.qq-uploader {
|
9
|
+
position: relative;
|
10
|
+
width: 100%;
|
11
|
+
}
|
12
|
+
.qq-upload-button {
|
13
|
+
display: block;
|
14
|
+
/*or inline-block*/
|
15
|
+
width: 105px;
|
16
|
+
padding: 7px 0;
|
17
|
+
text-align: center;
|
18
|
+
background: #880000;
|
19
|
+
border-bottom: 1px solid #DDD;
|
20
|
+
color: #FFF;
|
21
|
+
}
|
22
|
+
.qq-upload-button-hover {
|
23
|
+
background: #CC0000;
|
24
|
+
}
|
25
|
+
.qq-upload-button-focus {
|
26
|
+
outline: 1px dotted #000000;
|
27
|
+
}
|
28
|
+
.qq-upload-drop-area, .qq-upload-extra-drop-area {
|
29
|
+
position: absolute;
|
30
|
+
top: 0;
|
31
|
+
left: 0;
|
32
|
+
width: 100%;
|
33
|
+
height: 100%;
|
34
|
+
min-height: 30px;
|
35
|
+
z-index: 2;
|
36
|
+
background: #FF9797;
|
37
|
+
text-align: center;
|
38
|
+
}
|
39
|
+
.qq-upload-drop-area span {
|
40
|
+
display: block;
|
41
|
+
position: absolute;
|
42
|
+
top: 50%;
|
43
|
+
width: 100%;
|
44
|
+
margin-top: -8px;
|
45
|
+
font-size: 16px;
|
46
|
+
}
|
47
|
+
.qq-upload-extra-drop-area {
|
48
|
+
position: relative;
|
49
|
+
margin-top: 50px;
|
50
|
+
font-size: 16px;
|
51
|
+
padding-top: 30px;
|
52
|
+
height: 20px;
|
53
|
+
min-height: 40px;
|
54
|
+
}
|
55
|
+
.qq-upload-drop-area-active {
|
56
|
+
background: #FF7171;
|
57
|
+
}
|
58
|
+
.qq-upload-list {
|
59
|
+
margin: 0;
|
60
|
+
padding: 0;
|
61
|
+
list-style: none;
|
62
|
+
}
|
63
|
+
.qq-upload-list li {
|
64
|
+
margin: 0;
|
65
|
+
padding: 9px;
|
66
|
+
line-height: 15px;
|
67
|
+
font-size: 16px;
|
68
|
+
background-color: #FFF0BD;
|
69
|
+
}
|
70
|
+
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-failed-text, .qq-upload-finished {
|
71
|
+
margin-right: 12px;
|
72
|
+
}
|
73
|
+
.qq-upload-file {
|
74
|
+
}
|
75
|
+
.qq-upload-spinner {
|
76
|
+
display: inline-block;
|
77
|
+
background: image-url("loading.gif");
|
78
|
+
width: 15px;
|
79
|
+
height: 15px;
|
80
|
+
vertical-align: text-bottom;
|
81
|
+
}
|
82
|
+
.qq-upload-finished {
|
83
|
+
display:none;
|
84
|
+
width:15px;
|
85
|
+
height:15px;
|
86
|
+
vertical-align:text-bottom;
|
87
|
+
}
|
88
|
+
.qq-upload-size, .qq-upload-cancel {
|
89
|
+
font-size: 12px;
|
90
|
+
font-weight: normal;
|
91
|
+
}
|
92
|
+
.qq-upload-failed-text {
|
93
|
+
display: none;
|
94
|
+
font-style: italic;
|
95
|
+
font-weight: bold;
|
96
|
+
}
|
97
|
+
.qq-upload-failed-icon {
|
98
|
+
display:none;
|
99
|
+
width:15px;
|
100
|
+
height:15px;
|
101
|
+
vertical-align:text-bottom;
|
102
|
+
}
|
103
|
+
.qq-upload-fail .qq-upload-failed-text {
|
104
|
+
display: inline;
|
105
|
+
}
|
106
|
+
.qq-upload-list li.qq-upload-success {
|
107
|
+
background-color: #5DA30C;
|
108
|
+
color: #FFFFFF;
|
109
|
+
}
|
110
|
+
.qq-upload-list li.qq-upload-fail {
|
111
|
+
background-color: #D60000;
|
112
|
+
color: #FFFFFF;
|
113
|
+
}
|
114
|
+
.qq-progress-bar {
|
115
|
+
background: -moz-linear-gradient(top, rgba(30,87,153,1) 0%, rgba(41,137,216,1) 50%, rgba(32,124,202,1) 51%, rgba(125,185,232,1) 100%); /* FF3.6+ */
|
116
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(50%,rgba(41,137,216,1)), color-stop(51%,rgba(32,124,202,1)), color-stop(100%,rgba(125,185,232,1))); /* Chrome,Safari4+ */
|
117
|
+
background: -webkit-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* Chrome10+,Safari5.1+ */
|
118
|
+
background: -o-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* Opera 11.10+ */
|
119
|
+
background: -ms-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* IE10+ */
|
120
|
+
background: linear-gradient(to bottom, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* W3C */
|
121
|
+
width: 0%;
|
122
|
+
height: 15px;
|
123
|
+
border-radius: 6px;
|
124
|
+
margin-bottom: 3px;
|
125
|
+
display: none;
|
126
|
+
}
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fine_uploader
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Alif Rachmawadi
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: vendorer
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
description: User-friendly file-uploading experience over the web
|
31
|
+
email:
|
32
|
+
- subosito@gmail.com
|
33
|
+
executables: []
|
34
|
+
extensions: []
|
35
|
+
extra_rdoc_files: []
|
36
|
+
files:
|
37
|
+
- .gitignore
|
38
|
+
- Gemfile
|
39
|
+
- LICENSE.txt
|
40
|
+
- README.md
|
41
|
+
- Rakefile
|
42
|
+
- Vendorfile
|
43
|
+
- fine_uploader.gemspec
|
44
|
+
- lib/fine_uploader.rb
|
45
|
+
- lib/fine_uploader/version.rb
|
46
|
+
- vendor/assets/images/loading.gif
|
47
|
+
- vendor/assets/javascripts/fine_uploader.js
|
48
|
+
- vendor/assets/stylesheets/fine_uploader.css.scss
|
49
|
+
homepage: https://github.com/subosito/fine_uploader
|
50
|
+
licenses: []
|
51
|
+
post_install_message:
|
52
|
+
rdoc_options: []
|
53
|
+
require_paths:
|
54
|
+
- lib
|
55
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
requirements: []
|
68
|
+
rubyforge_project:
|
69
|
+
rubygems_version: 1.8.23
|
70
|
+
signing_key:
|
71
|
+
specification_version: 3
|
72
|
+
summary: User-friendly file-uploading experience over the web
|
73
|
+
test_files: []
|