compass-jquery-plugin 0.3.0.beta.21 → 0.3.0.beta.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/README.textile +212 -211
  2. data/VERSION.yml +5 -5
  3. data/compass-jquery-plugin.gemspec +25 -2
  4. data/gem_tasks/jqtouch.rake +221 -201
  5. data/gem_tasks/jrails.rake +322 -311
  6. data/lib/compiler.jar +0 -0
  7. data/lib/jquery/flash_messages.rb +45 -45
  8. data/lib/jquery/gridify/grid.rb +147 -147
  9. data/lib/jquery/gridify/grid_column.rb +134 -134
  10. data/lib/jquery/gridify/grid_finder.rb +223 -211
  11. data/lib/jquery/gridify/grid_options.rb +279 -279
  12. data/lib/jquery/gridify/grid_view.rb +435 -436
  13. data/lib/jquery/gridify.rb +42 -42
  14. data/templates/dynatree/jquery.dynatree.min.js +1 -1
  15. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +6 -15
  16. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +6 -15
  17. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +5 -6
  18. data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +5 -8
  19. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +6 -8
  20. data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +6 -6
  21. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +7 -7
  22. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +7 -13
  23. data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +7 -7
  24. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +6 -12
  25. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +7 -7
  26. data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +7 -7
  27. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +6 -13
  28. data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +6 -8
  29. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +6 -7
  30. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +4 -4
  31. data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +5 -10
  32. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +6 -6
  33. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +6 -7
  34. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +6 -7
  35. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +4 -5
  36. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +7 -8
  37. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +7 -16
  38. data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +6 -8
  39. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +6 -7
  40. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +6 -7
  41. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +7 -16
  42. data/templates/jqgrid/jquery.jqGrid.js +11567 -11565
  43. data/templates/jqgrid/jquery.jqGrid.min.js +472 -472
  44. data/templates/jqical/jquery.jqical.js +5 -9
  45. data/templates/jqical/jquery.jqical.min.js +44 -44
  46. data/templates/jqical/jquery.ui/jqical.scss +1 -1
  47. data/templates/jqtouch/config/initializers/jqtouch.rb +5 -4
  48. data/templates/jqtouch/jqtouch/apple/activeButton.png +0 -0
  49. data/templates/jqtouch/jqtouch/default/backButton.png +0 -0
  50. data/templates/jqtouch/jqtouch/default/backButtonActive.png +0 -0
  51. data/templates/jqtouch/jqtouch/default/bigButton.png +0 -0
  52. data/templates/jqtouch/jqtouch/default/bigButtonActive.png +0 -0
  53. data/templates/jqtouch/jqtouch/default/button.png +0 -0
  54. data/templates/jqtouch/jqtouch/default/buttonActive.png +0 -0
  55. data/templates/jqtouch/jqtouch/default/chevron.png +0 -0
  56. data/templates/jqtouch/jqtouch/default/chevronActive.png +0 -0
  57. data/templates/jqtouch/jqtouch/default/chevronCircle.png +0 -0
  58. data/templates/jqtouch/jqtouch/default/chevronCircleActive.png +0 -0
  59. data/templates/jqtouch/jqtouch/default/loading.gif +0 -0
  60. data/templates/jqtouch/jqtouch/default/toggleSwitch.png +0 -0
  61. data/templates/jqtouch/jqtouch/default/toolbarBackground.png +0 -0
  62. data/templates/jqtouch/jqtouch/jqt/back_button_clicked.png +0 -0
  63. data/templates/jqtouch/jqtouch/jqt.apple.scss +24 -11
  64. data/templates/jqtouch/jqtouch/jqt.default.scss +537 -0
  65. data/templates/jqtouch/jqtouch/jqt.jqt.scss +20 -6
  66. data/templates/jqtouch/jqtouch/jqtouch.scss +173 -1
  67. data/templates/jqtouch/jqtouch/photo/btnBack.png +0 -0
  68. data/templates/jqtouch/jqtouch/photo/loading.gif +0 -0
  69. data/templates/jqtouch/jqtouch/photo/navNext.png +0 -0
  70. data/templates/jqtouch/jqtouch/photo/navPause.png +0 -0
  71. data/templates/jqtouch/jqtouch/photo/navPlay.png +0 -0
  72. data/templates/jqtouch/jqtouch/photo/navPrev.png +0 -0
  73. data/templates/jqtouch/jqtouch/photo/toolbar.png +0 -0
  74. data/templates/jqtouch/jquery.jqtouch.js +8219 -632
  75. data/templates/jqtouch/jquery.jqtouch.min.js +60 -1
  76. data/templates/jqtouch/manifest.rb +21 -0
  77. data/templates/jrails/config/initializers/jrails.rb +1 -0
  78. data/templates/jrails/haml.js +2 -2
  79. data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +2 -4
  80. data/templates/jrails/i18n/jquery.ui/datepicker-az.min.js +2 -2
  81. data/templates/jrails/i18n/jquery.ui/datepicker-bg.min.js +2 -4
  82. data/templates/jrails/i18n/jquery.ui/datepicker-bs.min.js +2 -2
  83. data/templates/jrails/i18n/jquery.ui/datepicker-cs.min.js +2 -2
  84. data/templates/jrails/i18n/jquery.ui/datepicker-da.min.js +2 -2
  85. data/templates/jrails/i18n/jquery.ui/datepicker-de.min.js +2 -2
  86. data/templates/jrails/i18n/jquery.ui/datepicker-el.min.js +2 -4
  87. data/templates/jrails/i18n/jquery.ui/datepicker-eo.min.js +2 -2
  88. data/templates/jrails/i18n/jquery.ui/datepicker-et.min.js +2 -2
  89. data/templates/jrails/i18n/jquery.ui/datepicker-fa.min.js +2 -3
  90. data/templates/jrails/i18n/jquery.ui/datepicker-fo.min.js +2 -2
  91. data/templates/jrails/i18n/jquery.ui/datepicker-fr-CH.min.js +2 -2
  92. data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +2 -2
  93. data/templates/jrails/i18n/jquery.ui/datepicker-he.min.js +2 -3
  94. data/templates/jrails/i18n/jquery.ui/datepicker-hr.min.js +2 -2
  95. data/templates/jrails/i18n/jquery.ui/datepicker-hu.min.js +2 -2
  96. data/templates/jrails/i18n/jquery.ui/datepicker-hy.min.js +2 -4
  97. data/templates/jrails/i18n/jquery.ui/datepicker-ja.min.js +2 -2
  98. data/templates/jrails/i18n/jquery.ui/datepicker-ko.min.js +2 -2
  99. data/templates/jrails/i18n/jquery.ui/datepicker-kz.min.js +2 -4
  100. data/templates/jrails/i18n/jquery.ui/datepicker-lt.min.js +2 -2
  101. data/templates/jrails/i18n/jquery.ui/datepicker-lv.min.js +2 -2
  102. data/templates/jrails/i18n/jquery.ui/datepicker-nl.min.js +2 -2
  103. data/templates/jrails/i18n/jquery.ui/datepicker-no.min.js +2 -2
  104. data/templates/jrails/i18n/jquery.ui/datepicker-pl.min.js +2 -2
  105. data/templates/jrails/i18n/jquery.ui/datepicker-ro.min.js +2 -2
  106. data/templates/jrails/i18n/jquery.ui/datepicker-ru.min.js +2 -4
  107. data/templates/jrails/i18n/jquery.ui/datepicker-sk.min.js +2 -2
  108. data/templates/jrails/i18n/jquery.ui/datepicker-sq.min.js +2 -2
  109. data/templates/jrails/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -2
  110. data/templates/jrails/i18n/jquery.ui/datepicker-sr.min.js +2 -4
  111. data/templates/jrails/i18n/jquery.ui/datepicker-sv.min.js +2 -2
  112. data/templates/jrails/i18n/jquery.ui/datepicker-ta.min.js +2 -4
  113. data/templates/jrails/i18n/jquery.ui/datepicker-th.min.js +2 -4
  114. data/templates/jrails/i18n/jquery.ui/datepicker-tr.min.js +2 -2
  115. data/templates/jrails/i18n/jquery.ui/datepicker-uk.min.js +2 -4
  116. data/templates/jrails/i18n/jquery.ui/datepicker-vi.min.js +2 -2
  117. data/templates/jrails/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -2
  118. data/templates/jrails/i18n/jquery.ui/datepicker-zh-HK.min.js +2 -2
  119. data/templates/jrails/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -2
  120. data/templates/jrails/jquery-1.4.2.min.js +156 -156
  121. data/templates/jrails/jquery-ui-1.8.5.js +23753 -23341
  122. data/templates/jrails/jquery-ui-1.8.5.min.js +823 -808
  123. data/templates/jrails/jquery.contextMenu.min.js +1 -1
  124. data/templates/jrails/jquery.sparkline.js +1050 -0
  125. data/templates/jrails/jquery.sparkline.min.js +31 -0
  126. data/templates/jrails/jquery.ui/_theme.scss +1699 -1634
  127. data/templates/jrails/manifest.rb +13 -11
  128. data/templates/jstree/jquery.jstree.min.js +10 -10
  129. data/templates/ribbon/jquery.ribbon.min.js +6 -6
  130. metadata +27 -4
@@ -380,20 +380,43 @@ body {
380
380
  overflow: hidden;
381
381
  height: 370px; }
382
382
 
383
+ .fullscreen.profile {
384
+ .vertical-scroll, .vertical-slide {
385
+ height: 420px; } }
386
+
383
387
  .landscape {
384
388
  .vertical-scroll, .vertical-slide {
385
389
  height: 230px; } }
386
390
 
391
+ .fullscreen.landscape {
392
+ .vertical-scroll, .vertical-slide {
393
+ height: 255px; } }
394
+
387
395
  .vertical-scroll > div, .vertical-slide > div {
388
- margin: 0 auto; }
396
+ margin: 0 auto;
397
+ padding-bottom: 5px; }
398
+
399
+ .fullscreen {
400
+ .vertical-scroll > div, .vertical-slide > div {
401
+ padding-bottom: 10px; }
402
+ .vertical-scroll.use-bottom-toolbar > div, .vertical-slide.use-bottom-toolbar > div {
403
+ padding-bottom: 0; } }
389
404
 
390
405
  .vertical-scroll.use-bottom-toolbar, .vertical-slide.use-bottom-toolbar {
391
406
  height: 325px !important; }
392
407
 
408
+ .fullscreen.profile {
409
+ .vertical-scroll.use-bottom-toolbar, .vertical-slide.use-bottom-toolbar {
410
+ height: 370px !important; } }
411
+
393
412
  .landscape {
394
413
  .vertical-scroll.use-bottom-toolbar, .vertical-slide.use-bottom-toolbar {
395
414
  height: 185px !important; } }
396
415
 
416
+ .fullscreen.landscape {
417
+ .vertical-scroll.use-bottom-toolbar, .vertical-slide.use-bottom-toolbar {
418
+ height: 210px !important; } }
419
+
397
420
  #sw-wrapper {
398
421
  position: absolute;
399
422
  z-index: 1000;
@@ -673,3 +696,152 @@ body {
673
696
  width: 50px; } } }
674
697
 
675
698
  /*** Events ***/
699
+
700
+ /**
701
+ *
702
+ *
703
+ * @author Sam Shull <http://www.google.com/profiles/brickysam26>
704
+ * @copyright 2010 Sam Shull <http://www.google.com/profiles/brickysam26>
705
+ *
706
+ * Special Thanks to Steve Simitzis <http://saturn5.com>
707
+ *
708
+ * @license <http://www.opensource.org/licenses/mit-license.html>
709
+ *
710
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
711
+ * of this software and associated documentation files (the "Software"), to deal
712
+ * in the Software without restriction, including without limitation the rights
713
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
714
+ * copies of the Software, and to permit persons to whom the Software is
715
+ * furnished to do so, subject to the following conditions:
716
+ *
717
+ * The above copyright notice and this permission notice shall be included in
718
+ * all copies or substantial portions of the Software.
719
+ *
720
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
721
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
722
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
723
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
724
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
725
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
726
+ * THE SOFTWARE.
727
+ *
728
+ *
729
+ */
730
+
731
+ #jqt .jqt-photo {
732
+ &.jqt-photo-toolbar-hidden .toolbar {
733
+ opacity: 0;
734
+ display: none; }
735
+ .jqt-photo-image-slide {
736
+ .jqt-photo-not-loaded {
737
+ background: black image_url("jqtouch/photo/loading.gif") no-repeat center center; }
738
+ .jqt-photo-img {
739
+ max-width: 100%;
740
+ max-height: 100%;
741
+ vertical-align: middle;
742
+ border: none;
743
+ outline: none;
744
+ background: #000; }
745
+ img.jqt-photo-presized {
746
+ max-width: auto;
747
+ max-height: auto; }
748
+ > div {
749
+ position: relative;
750
+ .jqt-photo-caption {
751
+ position: absolute;
752
+ line-height: 20px;
753
+ vertical-align: top;
754
+ width: 100%;
755
+ z-index: 10;
756
+ text-align: center;
757
+ color: #FFF; } } }
758
+ .jqt-photo-table {
759
+ height: 100%;
760
+ background: #000; }
761
+ height: 100%;
762
+ width: 100%;
763
+ overflow: hidden;
764
+ background: #000;
765
+ color: #FFF;
766
+ &.animating {
767
+ display: block; }
768
+ .jqt-photo-image-slide > div {
769
+ display: box;
770
+ box-orient: horizontal;
771
+ box-orient: vertical;
772
+ box-align: stretch;
773
+ box-pack: center;
774
+ display: -webkit-box;
775
+ -webkit-box-orient: horizontal;
776
+ -webkit-box-orient: vertical;
777
+ -webkit-box-align: stretch;
778
+ -webkit-box-pack: center;
779
+ border-spacing: 0 10px 0 0;
780
+ overflow: hidden;
781
+ text-align: center; }
782
+ &.jqt-photo-toolbar-animation-in .toolbar {
783
+ opacity: 1; }
784
+ &.jqt-photo-toolbar-animation-out .toolbar {
785
+ opacity: 0; }
786
+ .toolbar {
787
+ width: 100%;
788
+ position: absolute;
789
+ top: 0;
790
+ z-index: 20;
791
+ background: transparent image_url("jqtouch/photo/toolbar.png") repeat-x;
792
+ -webkit-transition-duration: .65s;
793
+ -webkit-transition-property: opacity;
794
+ .back {
795
+ -webkit-border-image: image_url("jqtouch/photo/btnBack.png") 0 5 0 15; } }
796
+ .toolbar-bottom {
797
+ padding: 0;
798
+ font-size: 30px;
799
+ text-align: center;
800
+ vertical-align: top;
801
+ div {
802
+ display: inline-block;
803
+ padding: 0;
804
+ width: 50px;
805
+ height: 100%; } }
806
+ .jqt-photo-prev {
807
+ background: image_url("jqtouch/photo/navPrev.png") no-repeat center center; }
808
+ .jqt-photo-play {
809
+ background: image_url("jqtouch/photo/navPlay.png") no-repeat center center; }
810
+ .jqt-photo-next {
811
+ background: image_url("jqtouch/photo/navNext.png") no-repeat center center; }
812
+ .toolbar-bottom .jqt-photo-pause {
813
+ display: none;
814
+ background: image_url("jqtouch/photo/navPause.png") no-repeat center center; }
815
+ .jqt-photo-prev.hover {
816
+ background: -webkit-gradient(radial, 50% 50%, 2, 50% 50%, 25, from(rgba(255, 255, 255, 1)), to(rgba(255, 255, 255, 0))) no-repeat center center, image_url("jqtouch/photo/navPrev.png") no-repeat center center; }
817
+ .jqt-photo-play.hover {
818
+ background: -webkit-gradient(radial, 50% 50%, 2, 50% 50%, 25, from(rgba(255, 255, 255, 1)), to(rgba(255, 255, 255, 0))) no-repeat center center, image_url("jqtouch/photo/navPlay.png") no-repeat center center; }
819
+ .jqt-photo-next.hover {
820
+ background: -webkit-gradient(radial, 50% 50%, 2, 50% 50%, 25, from(rgba(255, 255, 255, 1)), to(rgba(255, 255, 255, 0))) no-repeat center center, image_url("jqtouch/photo/navNext.png") no-repeat center center; }
821
+ .toolbar-bottom .jqt-photo-pause.hover {
822
+ background: -webkit-gradient(radial, 50% 50%, 2, 50% 50%, 25, from(rgba(255, 255, 255, 1)), to(rgba(255, 255, 255, 0))) no-repeat center center, image_url("jqtouch/photo/navPause.png") no-repeat center center; }
823
+ &.jqt-photo-playing {
824
+ .jqt-photo-pause {
825
+ display: inline-block; }
826
+ .jqt-photo-play {
827
+ display: none; } } }
828
+
829
+ /* animations are part off jqtouch */
830
+
831
+ /* toolbar */
832
+
833
+ /* slideshow no images - doesn't look right * /
834
+ #jqt .jqt-photo .toolbar-bottom{line-height:100%;vertical-align:middle;font-size:1.5em;}
835
+ #jqt .jqt-photo .jqt-photo-play:before{content:"\25B6";}
836
+ #jqt .jqt-photo .jqt-photo-prev:before,
837
+ #jqt .jqt-photo .jqt-photo-next:before{content:"\27A1";}
838
+ #jqt .jqt-photo .jqt-photo-prev{-webkit-transform:matrix(-1,0,0,1,0,0);}/* webkit doesnt support leftward arrow, so we flip the rightward arrow * /
839
+ #jqt .jqt-photo .jqt-photo-pause:before{content:"\2759\2759";}
840
+ #jqt .jqt-photo .toolbar-bottom .jqt-photo-pause{display:none;}
841
+
842
+
843
+ /* slideshow images */
844
+
845
+ /* hovers */
846
+
847
+ /* */