compass-jquery-plugin 0.2.4.5 → 0.2.4.99

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.
Files changed (65) hide show
  1. data/README.textile +36 -4
  2. data/VERSION.yml +1 -1
  3. data/compass-jquery-plugin.gemspec +49 -3
  4. data/gem_tasks/calendar.rake +2 -2
  5. data/gem_tasks/dynatree.rake +2 -2
  6. data/gem_tasks/jqgrid.rake +2 -2
  7. data/gem_tasks/jqtouch.rake +114 -0
  8. data/gem_tasks/jrails.rake +20 -4
  9. data/gem_tasks/rubygems.rake +4 -1
  10. data/gem_tasks/secret_sauce.rake +2 -2
  11. data/lib/jquery/jqgrid/jqgrid.rb +435 -0
  12. data/lib/jquery/jqgrid/jqgrid2xml.rb +50 -0
  13. data/lib/jquery/jqgrid.rb +3 -419
  14. data/lib/jquery/jqtouch.rb +4 -0
  15. data/templates/dynatree/jquery.ui/dynatree.vista/folder.png +0 -0
  16. data/templates/dynatree/manifest.rb +0 -1
  17. data/templates/jqtouch/config/initializers/jqtouch.rb +3 -0
  18. data/templates/jqtouch/jqtouch/apple/backButton.png +0 -0
  19. data/templates/jqtouch/jqtouch/apple/blueButton.png +0 -0
  20. data/templates/jqtouch/jqtouch/apple/cancel.png +0 -0
  21. data/templates/jqtouch/jqtouch/apple/chevron.png +0 -0
  22. data/templates/jqtouch/jqtouch/apple/grayButton.png +0 -0
  23. data/templates/jqtouch/jqtouch/apple/listArrowSel.png +0 -0
  24. data/templates/jqtouch/jqtouch/apple/listGroup.png +0 -0
  25. data/templates/jqtouch/jqtouch/apple/loading.gif +0 -0
  26. data/templates/jqtouch/jqtouch/apple/on_off.png +0 -0
  27. data/templates/jqtouch/jqtouch/apple/pinstripes.png +0 -0
  28. data/templates/jqtouch/jqtouch/apple/selection.png +0 -0
  29. data/templates/jqtouch/jqtouch/apple/thumb.png +0 -0
  30. data/templates/jqtouch/jqtouch/apple/toggle.png +0 -0
  31. data/templates/jqtouch/jqtouch/apple/toggleOn.png +0 -0
  32. data/templates/jqtouch/jqtouch/apple/toolButton.png +0 -0
  33. data/templates/jqtouch/jqtouch/apple/toolbar.png +0 -0
  34. data/templates/jqtouch/jqtouch/apple/whiteButton.png +0 -0
  35. data/templates/jqtouch/jqtouch/apple.sass +651 -0
  36. data/templates/jqtouch/jqtouch/icons/iphone_16x16.png +0 -0
  37. data/templates/jqtouch/jqtouch/iphone-emulator.sass +17 -0
  38. data/templates/jqtouch/jqtouch/iphone_fullsize.png +0 -0
  39. data/templates/jqtouch/jqtouch/jqt/back_button.png +0 -0
  40. data/templates/jqtouch/jqtouch/jqt/back_button_clicked.png +0 -0
  41. data/templates/jqtouch/jqtouch/jqt/button.png +0 -0
  42. data/templates/jqtouch/jqtouch/jqt/button_clicked.png +0 -0
  43. data/templates/jqtouch/jqtouch/jqt/chevron.png +0 -0
  44. data/templates/jqtouch/jqtouch/jqt/chevron_circle.png +0 -0
  45. data/templates/jqtouch/jqtouch/jqt/grayButton.png +0 -0
  46. data/templates/jqtouch/jqtouch/jqt/loading.gif +0 -0
  47. data/templates/jqtouch/jqtouch/jqt/on_off.png +0 -0
  48. data/templates/jqtouch/jqtouch/jqt/rowhead.png +0 -0
  49. data/templates/jqtouch/jqtouch/jqt/toggle.png +0 -0
  50. data/templates/jqtouch/jqtouch/jqt/toggleOn.png +0 -0
  51. data/templates/jqtouch/jqtouch/jqt/toolbar.png +0 -0
  52. data/templates/jqtouch/jqtouch/jqt/whiteButton.png +0 -0
  53. data/templates/jqtouch/jqtouch/jqt.sass +580 -0
  54. data/templates/jqtouch/jqtouch/jqtouch.sass +75 -0
  55. data/templates/jqtouch/jquery.jqtouch.js +1007 -0
  56. data/templates/jqtouch/jquery.jqtouch.min.js +1 -0
  57. data/templates/jqtouch/manifest.rb +43 -0
  58. data/templates/jrails/config/initializers/jrails.rb +2 -0
  59. data/templates/jrails/jquery.compat-1.3.js +288 -0
  60. data/templates/jrails/jquery.compat-1.3.min.js +1 -0
  61. data/templates/jrails/jquery.js +4483 -2570
  62. data/templates/jrails/jquery.min.js +12 -8
  63. data/templates/jrails/manifest.rb +2 -0
  64. metadata +49 -3
  65. data/templates/dynatree/jquery.ui/dynatree.vista/folder_open.png +0 -0
@@ -0,0 +1,651 @@
1
+ // Generated by compass-jquery-plugin/gem-tasks/jqtouch.rake
2
+
3
+ body
4
+ background: rgb(0,0,0)
5
+
6
+ > *
7
+ background: rgb(197,204,211) url("/images/jqtouch/apple/pinstripes.png")
8
+
9
+
10
+ h1, h2
11
+ font: bold 18px Helvetica
12
+ text-shadow: rgba(255,255,255,.2) 0 1px 1px
13
+ color: rgb(76, 86, 108)
14
+ margin: 10px 20px 6px
15
+
16
+
17
+ .toolbar
18
+ -webkit-box-sizing: border-box
19
+ border-bottom: 1px solid #2d3642
20
+ padding: 10px
21
+ height: 45px
22
+ background: url("/images/jqtouch/apple/toolbar.png") #6d84a2 repeat-x
23
+ position: relative
24
+
25
+
26
+ .black-translucent .toolbar
27
+ margin-top: 20px
28
+
29
+
30
+ .toolbar > h1
31
+ position: absolute
32
+ overflow: hidden
33
+ left: 50%
34
+ top: 10px
35
+ line-height: 1em
36
+ margin: 1px 0 0 -75px
37
+ height: 40px
38
+ font-size: 20px
39
+ width: 150px
40
+ font-weight: bold
41
+ text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0
42
+ text-align: center
43
+ text-overflow: ellipsis
44
+ white-space: nowrap
45
+ color: #fff
46
+
47
+
48
+ body.landscape .toolbar > h1
49
+ margin-left: -125px
50
+ width: 250px
51
+
52
+
53
+ .button, .back, .cancel, .add
54
+ position: absolute
55
+ overflow: hidden
56
+ top: 8px
57
+ right: 6px
58
+ margin: 0
59
+ border-width: 0 5px
60
+ padding: 0 3px
61
+ width: auto
62
+ height: 30px
63
+ line-height: 30px
64
+ font-family: inherit
65
+ font-size: 12px
66
+ font-weight: bold
67
+ color: #fff
68
+ text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0
69
+ text-overflow: ellipsis
70
+ text-decoration: none
71
+ white-space: nowrap
72
+ background: none
73
+ -webkit-border-image: url("/images/jqtouch/apple/toolButton.png") 0 5 0 5
74
+
75
+
76
+ .button.active, .back.active, .cancel.active, .add.active
77
+ -webkit-border-image: url("/images/jqtouch/apple/toolButton.png") 0 5 0 5
78
+
79
+
80
+ .blueButton
81
+ -webkit-border-image: url("/images/jqtouch/apple/blueButton.png") 0 5 0 5
82
+ border-width: 0 5px
83
+
84
+
85
+ .back
86
+ left: 6px
87
+ right: auto
88
+ padding: 0
89
+ max-width: 55px
90
+ border-width: 0 8px 0 14px
91
+ -webkit-border-image: url("/images/jqtouch/apple/backButton.png") 0 8 0 14
92
+
93
+
94
+ .leftButton, .cancel
95
+ left: 6px
96
+ right: auto
97
+
98
+
99
+ .add
100
+ font-size: 24px
101
+ line-height: 24px
102
+ font-weight: bold
103
+
104
+
105
+ .whiteButton, .grayButton
106
+ display: block
107
+ border-width: 0 12px
108
+ padding: 10px
109
+ text-align: center
110
+ font-size: 20px
111
+ font-weight: bold
112
+ text-decoration: inherit
113
+ color: inherit
114
+
115
+
116
+ .whiteButton
117
+ -webkit-border-image: url("/images/jqtouch/apple/whiteButton.png") 0 12 0 12
118
+ text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0
119
+
120
+
121
+ .grayButton
122
+ -webkit-border-image: url("/images/jqtouch/apple/grayButton.png") 0 12 0 12
123
+ color: #FFFFFF
124
+
125
+
126
+ h1 + ul, h2 + ul, h3 + ul, h4 + ul, h5 + ul, h6 + ul
127
+ margin-top: 0
128
+
129
+
130
+ ul
131
+ color: black
132
+ background: #fff
133
+ border: 1px solid #B4B4B4
134
+ font: bold 17px Helvetica
135
+ padding: 0
136
+ margin: 15px 10px 17px 10px
137
+ -webkit-border-radius: 8px
138
+
139
+ li
140
+ color: #666
141
+ border-top: 1px solid #B4B4B4
142
+ list-style-type: none
143
+ padding: 10px 10px 10px 10px
144
+
145
+
146
+ li
147
+ &:first-child
148
+ border-top: 0
149
+ -webkit-border-top-left-radius: 8px
150
+ -webkit-border-top-right-radius: 8px
151
+
152
+ a
153
+ border-top: 0
154
+ -webkit-border-top-left-radius: 8px
155
+ -webkit-border-top-right-radius: 8px
156
+
157
+ &:last-child
158
+ -webkit-border-bottom-left-radius: 8px
159
+ -webkit-border-bottom-right-radius: 8px
160
+
161
+ a
162
+ -webkit-border-bottom-left-radius: 8px
163
+ -webkit-border-bottom-right-radius: 8px
164
+
165
+
166
+ ul li.arrow
167
+ background-image: url("/images/jqtouch/apple/chevron.png")
168
+ background-position: right center
169
+ background-repeat: no-repeat
170
+
171
+
172
+ #plastic ul li.arrow, #metal ul li.arrow
173
+ background-image: url(../images/chevron_dg.png")
174
+ background-position: right center
175
+ background-repeat: no-repeat
176
+
177
+
178
+ ul li a, li.img a + a
179
+ color: #000
180
+ text-decoration: none
181
+ text-overflow: ellipsis
182
+ white-space: nowrap
183
+ overflow: hidden
184
+ display: block
185
+ padding: 12px 10px 12px 10px
186
+ margin: -10px
187
+ -webkit-tap-highlight-color: rgba(0,0,0,0)
188
+
189
+
190
+ ul
191
+ li
192
+ a
193
+ &.active
194
+ background: #194fdb url("/images/jqtouch/apple/selection.png") 0 0 repeat-x
195
+ color: #fff
196
+
197
+ &.button
198
+ background-color: #194fdb
199
+ color: #fff
200
+
201
+ &.img a +
202
+ a
203
+ margin: -10px 10px -20px -5px
204
+ font-size: 17px
205
+ font-weight: bold
206
+
207
+ + a
208
+ font-size: 14px
209
+ font-weight: normal
210
+ margin-left: -10px
211
+ margin-bottom: -10px
212
+ margin-top: 0
213
+
214
+ small + a
215
+ margin-left: -5px
216
+
217
+ + a
218
+ margin-left: -10px
219
+ margin-top: -20px
220
+ margin-bottom: -10px
221
+ font-size: 14px
222
+ font-weight: normal
223
+
224
+ + a
225
+ margin-left: 0px !important
226
+ margin-bottom: 0
227
+
228
+ a + a
229
+ color: #000
230
+ font: 14px Helvetica
231
+ text-overflow: ellipsis
232
+ white-space: nowrap
233
+ overflow: hidden
234
+ display: block
235
+ margin: 0
236
+ padding: 0
237
+
238
+ + a
239
+ color: #666
240
+ font: 13px Helvetica
241
+ margin: 0
242
+ text-overflow: ellipsis
243
+ white-space: nowrap
244
+ overflow: hidden
245
+ display: block
246
+ padding: 0
247
+
248
+ &.img a +
249
+ a + a + a, small + a + a + a
250
+ color: #666
251
+ font: 13px Helvetica
252
+ margin: 0
253
+ text-overflow: ellipsis
254
+ white-space: nowrap
255
+ overflow: hidden
256
+ display: block
257
+ padding: 0
258
+
259
+ &.form li
260
+ padding: 7px 10px
261
+
262
+ &.error
263
+ border: 2px solid red
264
+
265
+ + li.error
266
+ border-top: 0
267
+
268
+ &:hover
269
+ background: #fff
270
+
271
+ li
272
+ input
273
+ &[type="text"], &[type="password"]
274
+ color: #777
275
+ background: #fff url(../.png)
276
+ border: 0
277
+ font: normal 17px Helvetica
278
+ padding: 0
279
+ display: inline-block
280
+ margin-left: 0px
281
+ width: 100%
282
+ -webkit-appearance: textarea
283
+
284
+ textarea, select
285
+ color: #777
286
+ background: #fff url(../.png)
287
+ border: 0
288
+ font: normal 17px Helvetica
289
+ padding: 0
290
+ display: inline-block
291
+ margin-left: 0px
292
+ width: 100%
293
+ -webkit-appearance: textarea
294
+
295
+ textarea
296
+ height: 120px
297
+ padding: 0
298
+ text-indent: -2px
299
+
300
+ select
301
+ text-indent: 0px
302
+ background: transparent url(../images/chevron.png) no-repeat 103% 3px
303
+ -webkit-appearance: textfield
304
+ margin-left: -6px
305
+ width: 104%
306
+
307
+ input
308
+ &[type="checkbox"], &[type="radio"]
309
+ margin: 0
310
+ color: rgb(50,79,133)
311
+ padding: 10px 10px
312
+
313
+ &[type="checkbox"]:after, &[type="radio"]:after
314
+ content: attr(title)
315
+ font: 17px Helvetica
316
+ display: block
317
+ width: 246px
318
+ margin: -12px 0 0 17px
319
+
320
+
321
+ .edgetoedge
322
+ margin: 0
323
+ padding: 0
324
+ background-color: rgb(255,255,255)
325
+
326
+ h4
327
+ color: #fff
328
+ background: rgb(154,159,170) url("/images/jqtouch/apple/listGroup.png") top left repeat-x
329
+ border-top: 1px solid rgb(165,177,186)
330
+ text-shadow: #666 0 1px 0
331
+ margin: 0
332
+ padding: 2px 10px
333
+
334
+
335
+ .metal
336
+ margin: 0
337
+ padding: 0
338
+ background-color: rgb(255,255,255)
339
+
340
+
341
+ .edgetoedge ul, .metal ul, .plastic ul
342
+ -webkit-border-radius: 0
343
+ margin: 0
344
+ border-left: 0
345
+ border-right: 0
346
+ border-top: 0
347
+
348
+
349
+ .metal ul
350
+ border-top: 0
351
+ border-bottom: 0
352
+ background: rgb(180,180,180)
353
+
354
+
355
+ .edgetoedge ul li
356
+ &:first-child, &:last-child
357
+ -webkit-border-radius: 0
358
+
359
+ a
360
+ -webkit-border-radius: 0
361
+
362
+
363
+ .metal ul li
364
+ &:first-child a, &:last-child a
365
+ -webkit-border-radius: 0
366
+
367
+
368
+ .edgetoedge
369
+ ul li small
370
+ font-size: 16px
371
+ line-height: 28px
372
+
373
+ li
374
+ -webkit-border-radius: 0
375
+
376
+
377
+ .metal li
378
+ -webkit-border-radius: 0
379
+
380
+
381
+ .edgetoedge
382
+ li em
383
+ font-weight: normal
384
+ font-style: normal
385
+
386
+ h4 + ul
387
+ border-top: 1px solid rgb(152,158,164)
388
+ border-bottom: 1px solid rgb(113,125,133)
389
+
390
+
391
+ ul li
392
+ small
393
+ color: #369
394
+ font: 17px Helvetica
395
+ text-align: right
396
+ text-overflow: ellipsis
397
+ white-space: nowrap
398
+ overflow: hidden
399
+ display: block
400
+ width: 23%
401
+ float: right
402
+ padding: 3px 0px
403
+
404
+ &.arrow small
405
+ padding: 0 15px
406
+
407
+ small.counter
408
+ font-size: 17px !important
409
+ line-height: 13px !important
410
+ font-weight: bold
411
+ background: rgb(154,159,170)
412
+ color: #fff
413
+ -webkit-border-radius: 11px
414
+ padding: 4px 10px 5px 10px
415
+ display: inline !important
416
+ width: auto
417
+ margin-top: -22px
418
+
419
+ &.arrow small.counter
420
+ margin-right: 15px
421
+
422
+
423
+ #plastic ul li.arrow, #metal ul li.arrow
424
+ background-image: url("/images/jqtouch/apple/listArrow.png")
425
+ background-position: right center
426
+ background-repeat: no-repeat
427
+
428
+
429
+ .edgetoedge ul, .metal ul, .plastic ul
430
+ -webkit-border-radius: 0
431
+ margin: 0
432
+ border-left: 0
433
+ border-right: 0
434
+ border-top: 0
435
+
436
+
437
+ .metal ul li
438
+ border-top: 1px solid rgb(238,238,238)
439
+ border-bottom: 1px solid rgb(156,158,165)
440
+ background: url(../images/bgMetal.png) top left repeat-x
441
+ font-size: 26px
442
+ text-shadow: #fff 0 1px 0
443
+
444
+ a
445
+ line-height: 26px
446
+ margin: 0
447
+ padding: 13px 0
448
+
449
+ &:hover
450
+ color: rgb(0,0,0)
451
+
452
+ &:hover small
453
+ color: inherit
454
+
455
+ a em
456
+ display: block
457
+ font-size: 14px
458
+ font-style: normal
459
+ color: #444
460
+ width: 50%
461
+ line-height: 14px
462
+
463
+ small
464
+ float: right
465
+ position: relative
466
+ margin-top: 10px
467
+ font-weight: bold
468
+
469
+ &.arrow
470
+ background: url(../images/bgMetal.png) top left repeat-x,
471
+ url(../images/chevron_dg.png) right center no-repeat
472
+
473
+ a small
474
+ padding-right: 0
475
+ line-height: 17px
476
+
477
+
478
+ .plastic
479
+ margin: 0
480
+ padding: 0
481
+ background: rgb(173,173,173)
482
+
483
+ ul
484
+ -webkit-border-radius: 0
485
+ margin: 0
486
+ border-left: 0
487
+ border-right: 0
488
+ border-top: 0
489
+ background-color: rgb(173,173,173)
490
+
491
+ li
492
+ -webkit-border-radius: 0
493
+ border-top: 1px solid rgb(191,191,191)
494
+ border-bottom: 1px solid rgb(157,157,157)
495
+
496
+ &:nth-child(odd)
497
+ background-color: rgb(152,152,152)
498
+ border-top: 1px solid rgb(181,181,181)
499
+ border-bottom: 1px solid rgb(138,138,138)
500
+
501
+ + p
502
+ font-size: 11px
503
+ color: #2f3237
504
+ text-shadow: none
505
+ padding: 10px 10px
506
+
507
+ strong
508
+ font-size: 14px
509
+ line-height: 18px
510
+ text-shadow: #fff 0 1px 0
511
+
512
+ li
513
+ a
514
+ text-shadow: rgb(211,211,211) 0 1px 0
515
+
516
+ &:nth-child(odd) a
517
+ text-shadow: rgb(191,191,191) 0 1px 0
518
+
519
+ small
520
+ color: #3C3C3C
521
+ text-shadow: rgb(211,211,211) 0 1px 0
522
+ font-size: 13px
523
+ font-weight: bold
524
+ text-transform: uppercase
525
+ line-height: 24px
526
+
527
+
528
+ #plastic ul
529
+ &.minibanner
530
+ margin: 10px
531
+ border: 0
532
+ height: 81px
533
+ clear: both
534
+
535
+ &.bigbanner
536
+ margin: 10px
537
+ border: 0
538
+ height: 81px
539
+ clear: both
540
+ height: 140px !important
541
+
542
+ &.minibanner li
543
+ border: 1px solid rgb(138,138,138)
544
+ background-color: rgb(152,152,152)
545
+ width: 145px
546
+ height: 81px
547
+ float: left
548
+ -webkit-border-radius: 5px
549
+ padding: 0
550
+
551
+ &.bigbanner li
552
+ border: 1px solid rgb(138,138,138)
553
+ background-color: rgb(152,152,152)
554
+ width: 296px
555
+ height: 140px
556
+ float: left
557
+ -webkit-border-radius: 5px
558
+ padding: 0
559
+ margin-bottom: 4px
560
+
561
+ &.minibanner li
562
+ &:first-child
563
+ margin-right: 6px
564
+
565
+ a
566
+ color: transparent
567
+ text-shadow: none
568
+ display: block
569
+ width: 145px
570
+ height: 81px
571
+
572
+ &.bigbanner li a
573
+ color: transparent
574
+ text-shadow: none
575
+ display: block
576
+ width: 296px
577
+ height: 145px
578
+
579
+
580
+ ul.individual
581
+ border: 0
582
+ background: none
583
+ clear: both
584
+ overflow: hidden
585
+
586
+ li
587
+ color: rgb(183,190,205)
588
+ background: white
589
+ border: 1px solid rgb(180,180,180)
590
+ font-size: 14px
591
+ text-align: center
592
+ -webkit-border-radius: 8px
593
+ -webkit-box-sizing: border-box
594
+ width: 48%
595
+ float: left
596
+ display: block
597
+ padding: 11px 10px 14px 10px
598
+
599
+ + li
600
+ float: right
601
+
602
+ a
603
+ color: rgb(50,79,133)
604
+ line-height: 16px
605
+ margin: -11px -10px -14px -10px
606
+ padding: 11px 10px 14px 10px
607
+ -webkit-border-radius: 8px
608
+
609
+ &:hover
610
+ color: #fff
611
+ background: #36c
612
+
613
+
614
+ .toggle
615
+ width: 94px
616
+ position: relative
617
+ height: 27px
618
+ display: block
619
+ overflow: hidden
620
+ float: right
621
+
622
+ input[type="checkbox"]
623
+ -webkit-tap-highlight-color: rgba(0,0,0,0)
624
+ margin: 0
625
+ -webkit-border-radius: 5px
626
+ background: #fff url("/images/jqtouch/apple/on_off.png") 0 0 no-repeat
627
+ height: 27px
628
+ overflow: hidden
629
+ width: 149px
630
+ border: 0
631
+ -webkit-appearance: textarea
632
+ background-color: transparent
633
+ -webkit-transition: left .15s
634
+ position: absolute
635
+ top: 0
636
+ left: -55px
637
+
638
+ &:checked
639
+ left: 0px
640
+
641
+
642
+ .info
643
+ background: #dce1eb
644
+ font-size: 12px
645
+ line-height: 16px
646
+ text-align: center
647
+ text-shadow: rgba(255,255,255,.8) 0 1px 0
648
+ color: rgb(76, 86, 108)
649
+ padding: 15px
650
+ border-top: 1px solid rgba(76, 86, 108, .3)
651
+ font-weight: bold
@@ -0,0 +1,17 @@
1
+ // Generated by compass-jquery-plugin/gem-tasks/jqtouch.rake
2
+
3
+ .iphone .emulator
4
+ background: url("/images/jqtouch/iphone_fullsize.png") no-repeat
5
+ width: 416px
6
+ height: 754px
7
+
8
+ .display-area
9
+ position: relative
10
+ top: 152px
11
+ width: 320px
12
+ height: 460px
13
+ max-height: 460px
14
+ color: #ffffff
15
+
16
+ a
17
+ color: #ff5500