corn_js 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/assets/javascripts/corn.js +2 -1
- data/app/assets/javascripts/corn_js/corn.js +367 -229
- data/app/assets/javascripts/corn_js/fileuploader.js +1307 -0
- data/app/assets/stylesheets/corn.css +13 -0
- data/app/assets/stylesheets/corn_js/23states.css +10 -4
- data/app/assets/stylesheets/corn_js/corn.css +108 -8
- data/app/assets/stylesheets/corn_js/fileuploader.css +63 -0
- data/lib/corn_js/version.rb +1 -1
- metadata +11 -8
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
@@ -1,11 +1,15 @@
|
|
1
1
|
/*
|
2
2
|
* Widget for 2 3 states display
|
3
3
|
*/
|
4
|
+
div._23states {
|
5
|
+
display: block;
|
6
|
+
width: 160px;
|
7
|
+
height: 32px;
|
8
|
+
}
|
4
9
|
._23states input[type="radio"]{
|
5
10
|
-webkit-appearance:none;
|
6
11
|
display:none;
|
7
12
|
}
|
8
|
-
|
9
13
|
._23states input[type="radio"]+label{
|
10
14
|
background-color:#dae2e8;
|
11
15
|
float: left;
|
@@ -16,8 +20,7 @@
|
|
16
20
|
text-align: center;
|
17
21
|
font-weight: bold;
|
18
22
|
border: 1px solid #c3ccd1;
|
19
|
-
}
|
20
|
-
|
23
|
+
}
|
21
24
|
._23states input[type="radio"]+label span{
|
22
25
|
display: block;
|
23
26
|
line-height:22px;
|
@@ -29,18 +32,21 @@
|
|
29
32
|
text-decoration: none;
|
30
33
|
}
|
31
34
|
._23states input[type="radio"]+label.true {
|
35
|
+
color: #888;
|
32
36
|
border-right: none;
|
33
37
|
-moz-border-radius: 3px 0 0 3px;
|
34
38
|
-webkit-border-radius: 3px 0 0 3px;
|
35
39
|
border-radius: 3px 0 0 3px;
|
36
40
|
}
|
37
41
|
._23states input[type="radio"]+label.false {
|
42
|
+
color: #888;
|
38
43
|
border-left: none;
|
39
44
|
-moz-border-radius: 0 3px 3px 0;
|
40
45
|
-webkit-border-radius: 0 3px 3px 0;
|
41
46
|
border-radius: 0 3px 3px 0;
|
42
47
|
}
|
43
48
|
._23states input[type="radio"]+label.nil {
|
49
|
+
color: #888;
|
44
50
|
border-left: none;
|
45
51
|
border-right: none;
|
46
52
|
}
|
@@ -73,4 +79,4 @@
|
|
73
79
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, from(#e8e8e8), to(white));
|
74
80
|
background-image: -moz-linear-gradient(-90deg, #e8e8e8, white);
|
75
81
|
text-shadow: 0 1px 0 white;
|
76
|
-
}
|
82
|
+
}
|
@@ -16,8 +16,8 @@ a:hover {
|
|
16
16
|
width: 160px;
|
17
17
|
min-height:20px;
|
18
18
|
overflow: visible;
|
19
|
-
position:
|
20
|
-
z-index:
|
19
|
+
position: absolute;
|
20
|
+
z-index: 800;
|
21
21
|
margin-top: 4px;
|
22
22
|
}
|
23
23
|
.popcorn .popcorn-body {
|
@@ -36,12 +36,16 @@ a:hover {
|
|
36
36
|
/* ----------------*/
|
37
37
|
/* grip */
|
38
38
|
.fatpopcorn_grip {
|
39
|
-
|
39
|
+
display: inline-block ;
|
40
40
|
position: relative;
|
41
|
-
z-index:
|
41
|
+
z-index: 800;
|
42
|
+
/*height: 30px;*/
|
43
|
+
width: 160px;
|
44
|
+
margin-top: 4px;
|
42
45
|
}
|
43
46
|
.fatpopcorn_grip:hover {
|
44
|
-
background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcpJREFUeNqUU02rgVEQft73ykJJkixkI99+gYWFJCt+gGQnNvyGu7KwJMrCRpbWJFlIWStfiY0sKF/ZSp1rprhX93V1nzrNnM48z5yZM0cSQkAJ5/NZTKdT9j0eD3Q6naQUp3pFzmazOJ1OvNfr9SgUCkJJRFYSqNVqTPb5fLzIr9frijf9JbBarUSn04Esy0gkEojH4+y3221sNhuhWEKv1+N6F4sFlsslH4TDYZjNZvYDgQC63S5SqRRsNptwOp3cF7/fL30YDAZB1yPi8XhkgsPhQDqdhkaj4b3dbsdoNOJSKIYSDQYD7Pf7TykSiQiVSoVkMsmBtwz4C5RoPp+jWq3ier1CDoVC7IzHY1itVrwDxVC5xCGuHIvFoNVq0e/3UalU3gpQDMUSh7jyrQdSLpfjw1arhUaj8ZI8HA7pJWA0GkEc4oImkVaz2RTUj3K5LP6B7znY7XZsSf0/eAhst1u2JpOJ7eFw4HppkU+g2qPRKPL5PG2lp7+gVqvZXi4XlEolHhzqNIGmMBgMwuVyPcWyyv033sZXFIvFp+vdJu2R+ScymQw9ofQkcBeZTCZwu908qhaLhYPW6zWP+mw2g9frfZAJXwIMABU5CfhlmG8GAAAAAElFTkSuQmCC") no-repeat scroll
|
47
|
+
background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcpJREFUeNqUU02rgVEQft73ykJJkixkI99+gYWFJCt+gGQnNvyGu7KwJMrCRpbWJFlIWStfiY0sKF/ZSp1rprhX93V1nzrNnM48z5yZM0cSQkAJ5/NZTKdT9j0eD3Q6naQUp3pFzmazOJ1OvNfr9SgUCkJJRFYSqNVqTPb5fLzIr9frijf9JbBarUSn04Esy0gkEojH4+y3221sNhuhWEKv1+N6F4sFlsslH4TDYZjNZvYDgQC63S5SqRRsNptwOp3cF7/fL30YDAZB1yPi8XhkgsPhQDqdhkaj4b3dbsdoNOJSKIYSDQYD7Pf7TykSiQiVSoVkMsmBtwz4C5RoPp+jWq3ier1CDoVC7IzHY1itVrwDxVC5xCGuHIvFoNVq0e/3UalU3gpQDMUSh7jyrQdSLpfjw1arhUaj8ZI8HA7pJWA0GkEc4oImkVaz2RTUj3K5LP6B7znY7XZsSf0/eAhst1u2JpOJ7eFw4HppkU+g2qPRKPL5PG2lp7+gVqvZXi4XlEolHhzqNIGmMBgMwuVyPcWyyv033sZXFIvFp+vdJu2R+ScymQw9ofQkcBeZTCZwu908qhaLhYPW6zWP+mw2g9frfZAJXwIMABU5CfhlmG8GAAAAAElFTkSuQmCC") no-repeat scroll 100% 4px;
|
48
|
+
|
45
49
|
}
|
46
50
|
|
47
51
|
/* generic classes */
|
@@ -53,11 +57,17 @@ a:hover {
|
|
53
57
|
position: absolute;
|
54
58
|
}
|
55
59
|
.fatpopcorn h1 {
|
60
|
+
font: bold 12px/14px "Segoe UI","Lucida Grande",Arial,sans-serif;
|
61
|
+
|
56
62
|
margin: 12px 0 4px 0;
|
57
63
|
padding-left: 15px;
|
58
64
|
font-size: 12px;
|
59
65
|
color: #303030;
|
60
66
|
}
|
67
|
+
.fatpopcorn .watchlist h1 {
|
68
|
+
background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbZJREFUeNpMUjtrmmEUfj4/b4NQlA8cFAshqAiKDkqgVTInCJkSCIE0m0sG/0RA+hccajKGLtKukkI2RSoFL4ilRRfxMqigeM1zXiJ4lpdze87znPNq6XQa7+ba7XaXi8XifLVafaa/tVqtrzab7Yemad/pj6VIe2842mw233RdT8ZiMQQCAYXQarVQrVax3W5/MfeFoX/SYKzX62en03mayWQQj8fBJAaDARhHu91GPp/HZDL5yfi17vf7bzjyPpvNIplMwmw2I5fLwW63g3F4vV643W6Uy2U//d+m0Wh0EQ6HkUgk9loUsslkAmliOBzC5/MhEolguVxemQuFwicKU8iHZrFYQNHgItQ0wzAEIKyqZPShiYZGowGHw6EaXC6XmqpylUrldDweH6dSKVUoNDganU4H0+lUxGI+n6PX6wm9Fz0ajX7o9/tnFA+Px4Nut6vohUIhBINBiD7qRKlUEsCvOnf+n6gn9Xr9o3AV27+z2Qy1Wg3FYhE86AsX8bA/3DGbnoh8IsiyRuHOyWg2m+DlX4l+y7q/2sHXMFh0R/6XbA7J1yDAH27rmUt5pD+SojcBBgBCW8Ar7p88wQAAAABJRU5ErkJggg==") no-repeat scroll 0 2px;
|
69
|
+
}
|
70
|
+
|
61
71
|
.fatpopcorn .attachment h1 {
|
62
72
|
background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABh0RVh0Q3JlYXRpb24gVGltZQAxMS0wMS0yMDEytcl2IgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAADESURBVCiRfdAhcgJBEAXQtywCVHIEZGQcOLhByA1WEscRkMjIyI1DIpEcYeMikUjiggJBDzW1lc2vmprpqf/7/+5CN5aY4QE/OGDV6yDXuGCPIu66S1CjwWt0nWEUZ1q2yO844glbbOJ/gm8Mcocq8o6yCMnxhBU+i4w8beXN483dltCUGfkLA6yDvIx6jkUIpRnOGOMtcxxjGHPsUu4+HvESW/kv3h2HECU8B6lqE/NIDX7jvY764y9B6rgN+73bkJ24AvtdK0qIEWRDAAAAAElFTkSuQmCC") no-repeat scroll 0 2px;
|
63
73
|
}
|
@@ -144,6 +154,7 @@ a:hover {
|
|
144
154
|
/* stream classes */
|
145
155
|
.fatpopcorn .stream {
|
146
156
|
padding: 10px 0px 10px 10px;
|
157
|
+
display: none;
|
147
158
|
}
|
148
159
|
.fatpopcorn .stream .content {
|
149
160
|
max-height: 400px;
|
@@ -167,6 +178,37 @@ a:hover {
|
|
167
178
|
vertical-align: bottom;
|
168
179
|
white-space: nowrap;
|
169
180
|
}
|
181
|
+
.fatpopcorn .stream .content > div {
|
182
|
+
padding: 1px;
|
183
|
+
margin-top: 4px;
|
184
|
+
}
|
185
|
+
.fatpopcorn .stream .content > div.note:hover, .fatpopcorn .stream .content > div.attachment:hover {
|
186
|
+
-webkit-box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.50);
|
187
|
+
-moz-box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.50);
|
188
|
+
box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.50);
|
189
|
+
}
|
190
|
+
|
191
|
+
.fatpopcorn .stream div > h1 {
|
192
|
+
margin-top: 4px;
|
193
|
+
}
|
194
|
+
|
195
|
+
.fatpopcorn .stream div > h1 > span.star, .fatpopcorn .stream div > h1 > span.delete {
|
196
|
+
display: block;
|
197
|
+
width: 12px;
|
198
|
+
height: 12px;
|
199
|
+
color: transparent;
|
200
|
+
float: right;
|
201
|
+
margin-left: 2px;
|
202
|
+
}
|
203
|
+
|
204
|
+
div > h1 > span.delete {
|
205
|
+
background: url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAYCAYAAADOMhxqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2tJREFUeNqUVF1IU2EYfs/Ojtv82ZSxWju0ZCsRSoVExEYZWOEQcRFEQbjqVgi6CIJuuulGhNON0EXlVdEP/TGsQd3ovFEswWwrFRRpZlrOn83N7Zzz9XwfBN32wnd+3vP+Pc/7cCTGGP2PSZqm2ZB0b3d3t6tUKq1WVVWp8HdJkuQ1TbO/rKwsuLW1lXY4HCn4z1hxuZnP53tcLldNIBDwTE5OEpI+oEDKMIxgfX09pdNpNZfLqSj8mCdcl2XZ1dvbywNF2/HxcQduTY2NjdTa2koVFRU0ODhIiLvAE3J2u921uLhIDQ0NFA6HCaOQ1WqVOzo6CKNRKpWi7e1tqqys/CZ3dnbOIenizMyMCKytraW6ujryeDxUXl5O09PTNDw8TE6n8/Pa2toA7xBDldf4GBkbG6OWlhYxAjCRrusUi8VEF/gzNpttiCccBDv5nZ0dampqIjwTp5oHYSzy+/3CDzwhTHCEJ/QXCoWzzc3N1NbWRtXV1ZRMJimTyVAoFKJoNCqIKBaLcjwef8UTegBagOVVJyYmaGRkhLLZrOjAWUIwjY6O0sLCwkEO+gToCqysrBB4p0QiQRgvD4qV2dlZwtw0NTXFqdZR8C3fNN/sGCp6VVW1r6+v66isAUcSZwjJv7BtN2LmFEWJSnFVtZmQxoZpdmVNc9WvKEIaMpG3xFi/02IJLuh62iPLQhoWLo2fhtFTqyie7pMnDy+VStXwfciY5i2cYPDYMWq22VQUOAX/Y0KHjSdeLystLTFuP86fZ4N79vCjf29vZ7tfvjBjY4PFfD72XlUZ75BzyzLlsCBu3qdP6Syqnjt9WvbF46QcOkTZZ8/oO5ZYYOwb79CNw4b27mWrfX3srxXn58U9o2nsESZA9ek7bvcVDpow3ysAjCyD1uinT2T1+UQ3VijQ/QMHyIL9RK5eHbXU1LQLaYCdPIBT99GjxCARLISgZZKw0DNcV9eukauvLwTdHOEjvXyIcZYjEQGQ2+aDB2ztxg32rxmbmywdDs/xBOMNGDCLRcZ0nf2+fZu92LeP3fV4xPPf4JXLlwVL8iWn84RNkgL2d++IQTMfNY1WDSO/32pVpqArfy5HmYEBep5I6KD0LQctpLGs697jDof9a7Go2yVJw78kqUMawPYL23bjfa7SYolK//ub+SPAAGX01NPxCvd+AAAAAElFTkSuQmCC") no-repeat scroll transparent;
|
206
|
+
}
|
207
|
+
|
208
|
+
div > h1 > span.delete:hover {
|
209
|
+
background-position: left bottom;
|
210
|
+
cursor: pointer;
|
211
|
+
}
|
170
212
|
|
171
213
|
/* history classes*/
|
172
214
|
.fatpopcorn .history {
|
@@ -206,10 +248,12 @@ a:hover {
|
|
206
248
|
.fatpopcorn .edit .watchlist {
|
207
249
|
margin: 10px 10px 16px 10px;
|
208
250
|
}
|
209
|
-
|
210
251
|
.fatpopcorn .edit .note {
|
211
252
|
margin: 10px 10px 26px 10px;
|
212
253
|
}
|
254
|
+
.fatpopcorn .edit #send_note {
|
255
|
+
padding-right: 6px;
|
256
|
+
}
|
213
257
|
.fatpopcorn .edit .attachment {
|
214
258
|
margin: 10px 10px 26px 10px;
|
215
259
|
}
|
@@ -219,6 +263,19 @@ a:hover {
|
|
219
263
|
.fatpopcorn .edit .watchlist .on-off {
|
220
264
|
display: inline;
|
221
265
|
float: right;
|
266
|
+
width: auto !important;
|
267
|
+
}
|
268
|
+
.fatpopcorn .qq-upload-button {
|
269
|
+
font-style: italic;
|
270
|
+
cursor: pointer;
|
271
|
+
color: #0066ff;
|
272
|
+
text-decoration: none;
|
273
|
+
font-style: italic;
|
274
|
+
font-size: 12px;
|
275
|
+
float: right;
|
276
|
+
}
|
277
|
+
.fatpopcorn .qq-upload-button-hover {
|
278
|
+
color: #f56a00;
|
222
279
|
}
|
223
280
|
.fatpopcorn .edit .info {
|
224
281
|
background-color: #f3f3f3;
|
@@ -264,6 +321,14 @@ a:hover {
|
|
264
321
|
text-align: right;
|
265
322
|
float: right;
|
266
323
|
}
|
324
|
+
.fatpopcorn .content .no-content {
|
325
|
+
position:absolute;
|
326
|
+
top:50%;
|
327
|
+
font-size: 20px;
|
328
|
+
color: #ccc;
|
329
|
+
background:transparent;
|
330
|
+
text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
|
331
|
+
}
|
267
332
|
.fatpopcorn .loader {
|
268
333
|
display: none;
|
269
334
|
background: white url("data:image/gif;charset=utf-8;base64,R0lGODlhEAALAPQAAP///3F/j+rs7uTn6fL09XSCkXF/j4qWo7nAx6avuNjc4IOQnZqkr73Ey6ixutre4oaSn3OBkJymsfDy8+jr7fj5+ZCbp+vt7/f4+Nba3snP1OHk5/X29wAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAALAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAALAAAFLSAgjmRpnqSgCuLKAq5AEIM4zDVw03ve27ifDgfkEYe04kDIDC5zrtYKRa2WQgAh+QQACwABACwAAAAAEAALAAAFJGBhGAVgnqhpHIeRvsDawqns0qeN5+y967tYLyicBYE7EYkYAgAh+QQACwACACwAAAAAEAALAAAFNiAgjothLOOIJAkiGgxjpGKiKMkbz7SN6zIawJcDwIK9W/HISxGBzdHTuBNOmcJVCyoUlk7CEAAh+QQACwADACwAAAAAEAALAAAFNSAgjqQIRRFUAo3jNGIkSdHqPI8Tz3V55zuaDacDyIQ+YrBH+hWPzJFzOQQaeavWi7oqnVIhACH5BAALAAQALAAAAAAQAAsAAAUyICCOZGme1rJY5kRRk7hI0mJSVUXJtF3iOl7tltsBZsNfUegjAY3I5sgFY55KqdX1GgIAIfkEAAsABQAsAAAAABAACwAABTcgII5kaZ4kcV2EqLJipmnZhWGXaOOitm2aXQ4g7P2Ct2ER4AMul00kj5g0Al8tADY2y6C+4FIIACH5BAALAAYALAAAAAAQAAsAAAUvICCOZGme5ERRk6iy7qpyHCVStA3gNa/7txxwlwv2isSacYUc+l4tADQGQ1mvpBAAIfkEAAsABwAsAAAAABAACwAABS8gII5kaZ7kRFGTqLLuqnIcJVK0DeA1r/u3HHCXC/aKxJpxhRz6Xi0ANAZDWa+kEAA7AAAAAAAAAAAA") no-repeat 50% 50%;
|
@@ -272,5 +337,40 @@ a:hover {
|
|
272
337
|
top: 0;
|
273
338
|
width: 100%;
|
274
339
|
height: 100%;
|
275
|
-
z-index:
|
276
|
-
}
|
340
|
+
z-index: 810;
|
341
|
+
}
|
342
|
+
.fatpopcorn .qq-upload-drop-area {
|
343
|
+
position:absolute;
|
344
|
+
top:0;
|
345
|
+
left:0;
|
346
|
+
width:100%;
|
347
|
+
height:100%;
|
348
|
+
max-height: 100px;
|
349
|
+
min-height: 50px;
|
350
|
+
z-index:802;
|
351
|
+
background:#ffffff;
|
352
|
+
text-align:center;
|
353
|
+
border: 2px dashed #566476;
|
354
|
+
border-radius: 4px;
|
355
|
+
background:#ffffff;
|
356
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.5);
|
357
|
+
}
|
358
|
+
.fatpopcorn .qq-upload-drop-area span {
|
359
|
+
display:block;
|
360
|
+
position:absolute;
|
361
|
+
top: 50%;
|
362
|
+
width:100%;
|
363
|
+
margin-top:-8px;
|
364
|
+
font-size:16px;
|
365
|
+
color: #ccc;
|
366
|
+
background:transparent;
|
367
|
+
text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
|
368
|
+
}
|
369
|
+
.fatpopcorn .qq-upload-drop-area-active span {
|
370
|
+
color: #566476;
|
371
|
+
}
|
372
|
+
.fatpopcorn .qq-upload-drop-area-active {
|
373
|
+
color: #566476;
|
374
|
+
background:#E4EDF5;
|
375
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.5);
|
376
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
.qq-uploader { position:relative; width: 100%;}
|
2
|
+
|
3
|
+
.qq-uploader input[file]{width: 200000px;}
|
4
|
+
|
5
|
+
.qq-upload-button {
|
6
|
+
display:block; /* or inline-block */
|
7
|
+
width: 65px; padding:0; text-align:center;
|
8
|
+
background:transparent; color:#0066CC;
|
9
|
+
font-weight: bold;
|
10
|
+
font-style: italic;
|
11
|
+
font-size: 10px;
|
12
|
+
}
|
13
|
+
.qq-upload-button-hover {background:transparent;}
|
14
|
+
.qq-upload-button-focus {outline:1px dotted black;}
|
15
|
+
|
16
|
+
.qq-upload-drop-area {
|
17
|
+
display:none;
|
18
|
+
position:absolute;
|
19
|
+
top:0;
|
20
|
+
left:0;
|
21
|
+
width:100%;
|
22
|
+
height:100%;
|
23
|
+
max-height: 100px;
|
24
|
+
min-height: 50px;
|
25
|
+
z-index:2;
|
26
|
+
background:#ffffff;
|
27
|
+
text-align:center;
|
28
|
+
border: 2px dashed #566476;
|
29
|
+
border-radius: 4px;
|
30
|
+
background:#ffffff;
|
31
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.5);
|
32
|
+
}
|
33
|
+
.qq-upload-drop-area span {
|
34
|
+
display:block;
|
35
|
+
position:absolute;
|
36
|
+
top: 50%;
|
37
|
+
width:100%;
|
38
|
+
margin-top:-8px;
|
39
|
+
font-size:16px;
|
40
|
+
color: #ccc;
|
41
|
+
background:transparent;
|
42
|
+
text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
|
43
|
+
}
|
44
|
+
.qq-upload-drop-area-active span {
|
45
|
+
color: #566476;
|
46
|
+
}
|
47
|
+
.qq-upload-drop-area-active {
|
48
|
+
color: #566476;
|
49
|
+
background:#E4EDF5;
|
50
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.5);
|
51
|
+
}
|
52
|
+
.qq-upload-list {margin:15px 35px; padding:0; list-style:none;}
|
53
|
+
.qq-upload-list li { margin:0; padding:0; line-height:15px; font-size:12px;}
|
54
|
+
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-failed-text {
|
55
|
+
margin-right: 7px;
|
56
|
+
}
|
57
|
+
|
58
|
+
.qq-upload-file {}
|
59
|
+
.qq-upload-spinner {display:inline-block; background: url("/assets/ajax-loader_small.gif"); width:15px; height:15px; vertical-align:text-bottom;}
|
60
|
+
.qq-upload-size,.qq-upload-cancel {font-size:11px;}
|
61
|
+
|
62
|
+
.qq-upload-failed-text {display:none;}
|
63
|
+
.qq-upload-fail .qq-upload-failed-text {display:inline;}
|
data/lib/corn_js/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corn_js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-17 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70118779504420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70118779504420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &70118779504000 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70118779504000
|
36
36
|
description: It's possible to use the generic popcorn and the app specific fat popcorn
|
37
37
|
plugin
|
38
38
|
email:
|
@@ -43,8 +43,11 @@ extra_rdoc_files: []
|
|
43
43
|
files:
|
44
44
|
- app/assets/javascripts/corn.js
|
45
45
|
- app/assets/javascripts/corn_js/corn.js
|
46
|
+
- app/assets/javascripts/corn_js/fileuploader.js
|
47
|
+
- app/assets/stylesheets/corn.css
|
46
48
|
- app/assets/stylesheets/corn_js/23states.css
|
47
49
|
- app/assets/stylesheets/corn_js/corn.css
|
50
|
+
- app/assets/stylesheets/corn_js/fileuploader.css
|
48
51
|
- config/routes.rb
|
49
52
|
- lib/corn_js/engine.rb
|
50
53
|
- lib/corn_js/version.rb
|
@@ -66,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
69
|
version: '0'
|
67
70
|
segments:
|
68
71
|
- 0
|
69
|
-
hash:
|
72
|
+
hash: -4203106786295094410
|
70
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
74
|
none: false
|
72
75
|
requirements:
|
@@ -75,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
78
|
version: '0'
|
76
79
|
segments:
|
77
80
|
- 0
|
78
|
-
hash:
|
81
|
+
hash: -4203106786295094410
|
79
82
|
requirements: []
|
80
83
|
rubyforge_project:
|
81
84
|
rubygems_version: 1.8.10
|