compass-jquery-plugin 0.3.0.beta.1 → 0.3.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (344) hide show
  1. data/VERSION.yml +1 -1
  2. data/compass-jquery-plugin.gemspec +2 -2
  3. data/gem_tasks/jrails13.rake +0 -1
  4. data/gem_tasks/jrails14.rake +1 -2
  5. data/lib/jquery.ui.rb +2 -2
  6. data/templates/dynatree/jquery.dynatree.js +2036 -2036
  7. data/templates/dynatree/jquery.dynatree.min.js +59 -59
  8. data/templates/dynatree/jquery.ui/dynatree.aero.scss +144 -144
  9. data/templates/dynatree/jquery.ui/dynatree.aqua.scss +144 -144
  10. data/templates/dynatree/jquery.ui/dynatree.crystal.scss +144 -144
  11. data/templates/dynatree/jquery.ui/dynatree.xp.scss +239 -239
  12. data/templates/dynatree/manifest.rb +127 -127
  13. data/templates/jqgrid/config/initializers/jqgrid.rb +2 -2
  14. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +15 -15
  15. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +15 -15
  16. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +7 -7
  17. data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +8 -8
  18. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +8 -8
  19. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +7 -7
  20. data/templates/jqgrid/i18n/jqgrid/locale-dk.min.js +6 -6
  21. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +13 -13
  22. data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +6 -6
  23. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +12 -12
  24. data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +6 -6
  25. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +126 -126
  26. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +7 -7
  27. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +13 -13
  28. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +7 -7
  29. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +7 -7
  30. data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +10 -10
  31. data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +6 -6
  32. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +6 -6
  33. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +7 -7
  34. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +7 -7
  35. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +7 -7
  36. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +8 -8
  37. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +16 -16
  38. data/templates/jqgrid/i18n/jqgrid/locale-sk.js +127 -127
  39. data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +8 -8
  40. data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +7 -7
  41. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +7 -7
  42. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +7 -7
  43. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +16 -16
  44. data/templates/jqgrid/jquery.jqGrid.js +10477 -10471
  45. data/templates/jqgrid/jquery.jqGrid.min.js +430 -430
  46. data/templates/jqgrid/jquery.ui/jqGrid.scss +669 -669
  47. data/templates/jqgrid/manifest.rb +66 -66
  48. data/templates/jqtouch/jqtouch/iphone-emulator.scss +21 -21
  49. data/templates/jqtouch/jqtouch/jqt.apple.scss +584 -584
  50. data/templates/jqtouch/jqtouch/jqt.jqt.scss +528 -528
  51. data/templates/jqtouch/jqtouch/jqtouch.scss +310 -310
  52. data/templates/jqtouch/jquery.jqtouch.js +1026 -1026
  53. data/templates/jqtouch/jquery.jqtouch.min.js +26 -26
  54. data/templates/jqtouch/manifest.rb +52 -52
  55. data/templates/jrails-1.3/config/initializers/jrails.rb +28 -28
  56. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.js +19 -19
  57. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.min.js +4 -4
  58. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.js +20 -20
  59. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.min.js +4 -4
  60. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.js +18 -18
  61. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.min.js +2 -2
  62. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.js +19 -19
  63. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.min.js +2 -2
  64. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.js +19 -19
  65. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.min.js +2 -2
  66. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.js +19 -19
  67. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.min.js +2 -2
  68. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.js +18 -18
  69. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.min.js +4 -4
  70. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.js +19 -19
  71. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.min.js +2 -2
  72. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.js +18 -18
  73. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.min.js +2 -2
  74. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.js +18 -18
  75. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.min.js +3 -3
  76. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.js +19 -19
  77. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.min.js +2 -2
  78. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.js +18 -18
  79. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.min.js +2 -2
  80. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.js +19 -19
  81. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.min.js +3 -3
  82. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.js +18 -18
  83. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.min.js +2 -2
  84. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.js +19 -19
  85. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.min.js +2 -2
  86. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.js +18 -18
  87. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.min.js +4 -4
  88. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.js +18 -18
  89. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.min.js +2 -2
  90. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.js +18 -18
  91. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.min.js +2 -2
  92. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.js +19 -19
  93. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.min.js +2 -2
  94. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.js +19 -19
  95. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.min.js +2 -2
  96. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.js +18 -18
  97. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.min.js +2 -2
  98. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.js +18 -18
  99. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.min.js +2 -2
  100. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.js +18 -18
  101. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.min.js +2 -2
  102. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.js +18 -18
  103. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.min.js +2 -2
  104. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.js +18 -18
  105. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.min.js +2 -2
  106. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.js +19 -19
  107. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.min.js +2 -2
  108. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.js +19 -19
  109. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.min.js +2 -2
  110. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.js +18 -18
  111. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.min.js +2 -2
  112. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.js +22 -22
  113. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.min.js +2 -2
  114. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.js +18 -18
  115. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.min.js +4 -4
  116. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.js +19 -19
  117. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.min.js +2 -2
  118. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.js +20 -20
  119. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.min.js +2 -2
  120. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.js +19 -19
  121. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.min.js +2 -2
  122. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.js +19 -19
  123. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -2
  124. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.js +19 -19
  125. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.min.js +3 -3
  126. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.js +19 -19
  127. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.min.js +2 -2
  128. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.js +18 -18
  129. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.min.js +4 -4
  130. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.js +18 -18
  131. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.min.js +2 -2
  132. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.js +24 -24
  133. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.min.js +4 -4
  134. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.js +19 -19
  135. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -2
  136. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.js +19 -19
  137. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -2
  138. data/templates/jrails-1.3/jquery-1.3.2.js +7637 -7637
  139. data/templates/jrails-1.3/jquery-1.3.2.min.js +178 -178
  140. data/templates/jrails-1.3/jquery-ui-1.7.2.js +18316 -18316
  141. data/templates/jrails-1.3/jquery-ui-1.7.2.min.js +688 -688
  142. data/templates/jrails-1.3/jquery.contextMenu.js +210 -210
  143. data/templates/jrails-1.3/jquery.contextMenu.min.js +8 -8
  144. data/templates/jrails-1.3/jquery.haml.js +293 -293
  145. data/templates/jrails-1.3/jquery.haml.min.js +5 -5
  146. data/templates/jrails-1.3/jquery.pngFix.js +10 -10
  147. data/templates/jrails-1.3/jquery.pngFix.min.js +2 -2
  148. data/templates/jrails-1.3/jquery.themeswitchertool.js +190 -190
  149. data/templates/jrails-1.3/jquery.themeswitchertool.min.js +8 -8
  150. data/templates/jrails-1.3/jquery.ui/_theme.scss +1281 -1281
  151. data/templates/jrails-1.3/jquery.ui/base.scss +85 -85
  152. data/templates/jrails-1.3/jquery.ui/black-tie.scss +85 -85
  153. data/templates/jrails-1.3/jquery.ui/blitzer.scss +85 -85
  154. data/templates/jrails-1.3/jquery.ui/contextMenu.scss +49 -49
  155. data/templates/jrails-1.3/jquery.ui/cupertino.scss +85 -85
  156. data/templates/jrails-1.3/jquery.ui/dark-hive.scss +85 -85
  157. data/templates/jrails-1.3/jquery.ui/dot-luv.scss +85 -85
  158. data/templates/jrails-1.3/jquery.ui/eggplant.scss +85 -85
  159. data/templates/jrails-1.3/jquery.ui/excite-bike.scss +85 -85
  160. data/templates/jrails-1.3/jquery.ui/flick.scss +85 -85
  161. data/templates/jrails-1.3/jquery.ui/hot-sneaks.scss +85 -85
  162. data/templates/jrails-1.3/jquery.ui/humanity.scss +85 -85
  163. data/templates/jrails-1.3/jquery.ui/le-frog.scss +85 -85
  164. data/templates/jrails-1.3/jquery.ui/mint-choc.scss +85 -85
  165. data/templates/jrails-1.3/jquery.ui/overcast.scss +85 -85
  166. data/templates/jrails-1.3/jquery.ui/pepper-grinder.scss +85 -85
  167. data/templates/jrails-1.3/jquery.ui/redmond.scss +85 -85
  168. data/templates/jrails-1.3/jquery.ui/smoothness.scss +85 -85
  169. data/templates/jrails-1.3/jquery.ui/south-street.scss +85 -85
  170. data/templates/jrails-1.3/jquery.ui/sunny.scss +85 -85
  171. data/templates/jrails-1.3/jquery.ui/swanky-purse.scss +85 -85
  172. data/templates/jrails-1.3/jquery.ui/trontastic.scss +85 -85
  173. data/templates/jrails-1.3/jquery.ui/ui-darkness.scss +85 -85
  174. data/templates/jrails-1.3/jquery.ui/ui-lightness.scss +85 -85
  175. data/templates/jrails-1.3/jquery.ui/vader.scss +85 -85
  176. data/templates/jrails-1.3/jrails.js +197 -197
  177. data/templates/jrails-1.3/jrails.min.js +8 -8
  178. data/templates/jrails-1.3/manifest.rb +496 -496
  179. data/templates/jrails-1.4/config/initializers/jrails.rb +30 -30
  180. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-af.js +23 -23
  181. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-af.min.js +2 -2
  182. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ar.js +23 -23
  183. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ar.min.js +4 -4
  184. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-az.js +22 -22
  185. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-az.min.js +2 -2
  186. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bg.js +24 -24
  187. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bg.min.js +4 -4
  188. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bs.js +22 -22
  189. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bs.min.js +2 -2
  190. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ca.js +22 -22
  191. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ca.min.js +2 -2
  192. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-cs.js +23 -23
  193. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-cs.min.js +2 -2
  194. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-da.js +23 -23
  195. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-da.min.js +2 -2
  196. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-de.js +23 -23
  197. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-de.min.js +2 -2
  198. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-el.js +22 -22
  199. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-el.min.js +4 -4
  200. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-en-GB.js +23 -23
  201. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-en-GB.min.js +2 -2
  202. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eo.js +23 -23
  203. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eo.min.js +2 -2
  204. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-es.js +22 -22
  205. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-es.min.js +2 -2
  206. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-et.js +22 -22
  207. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-et.min.js +2 -2
  208. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eu.js +22 -22
  209. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eu.min.js +2 -2
  210. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fa.js +22 -22
  211. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fa.min.js +3 -3
  212. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fi.js +23 -23
  213. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fi.min.js +2 -2
  214. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fo.js +23 -23
  215. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fo.min.js +2 -2
  216. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr-CH.js +22 -22
  217. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr-CH.min.js +2 -2
  218. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr.js +22 -22
  219. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr.min.js +2 -2
  220. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-he.js +23 -23
  221. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-he.min.js +3 -3
  222. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hr.js +22 -22
  223. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hr.min.js +2 -2
  224. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hu.js +23 -23
  225. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hu.min.js +2 -2
  226. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hy.js +22 -22
  227. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hy.min.js +4 -4
  228. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-id.js +22 -22
  229. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-id.min.js +2 -2
  230. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-is.js +22 -22
  231. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-is.min.js +2 -2
  232. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-it.js +23 -23
  233. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-it.min.js +2 -2
  234. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ja.js +22 -22
  235. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ja.min.js +2 -2
  236. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ko.js +22 -22
  237. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ko.min.js +2 -2
  238. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lt.js +22 -22
  239. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lt.min.js +2 -2
  240. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lv.js +22 -22
  241. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lv.min.js +2 -2
  242. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ms.js +22 -22
  243. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ms.min.js +2 -2
  244. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-nl.js +22 -22
  245. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-nl.min.js +2 -2
  246. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-no.js +23 -23
  247. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-no.min.js +2 -2
  248. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pl.js +23 -23
  249. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pl.min.js +2 -2
  250. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pt-BR.js +22 -22
  251. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pt-BR.min.js +2 -2
  252. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ro.js +26 -26
  253. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ro.min.js +2 -2
  254. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ru.js +22 -22
  255. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ru.min.js +4 -4
  256. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sk.js +23 -23
  257. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sk.min.js +2 -2
  258. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sl.js +24 -24
  259. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sl.min.js +2 -2
  260. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sq.js +23 -23
  261. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sq.min.js +2 -2
  262. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr-SR.js +23 -23
  263. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -2
  264. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr.js +23 -23
  265. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr.min.js +4 -4
  266. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sv.js +23 -23
  267. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sv.min.js +2 -2
  268. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ta.js +23 -23
  269. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ta.min.js +4 -4
  270. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-th.js +22 -22
  271. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-th.min.js +4 -4
  272. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-tr.js +22 -22
  273. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-tr.min.js +2 -2
  274. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-uk.js +22 -22
  275. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-uk.min.js +4 -4
  276. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-vi.js +23 -23
  277. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-vi.min.js +2 -2
  278. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-CN.js +23 -23
  279. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -2
  280. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-HK.js +23 -23
  281. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-HK.min.js +2 -2
  282. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-TW.js +23 -23
  283. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -2
  284. data/templates/jrails-1.4/jquery-1.4.2.js +9501 -9501
  285. data/templates/jrails-1.4/jquery-1.4.2.min.js +210 -210
  286. data/templates/jrails-1.4/jquery-ui-1.8.js +21904 -21904
  287. data/templates/jrails-1.4/jquery-ui-1.8.min.js +766 -766
  288. data/templates/jrails-1.4/jquery.bgiframe.js +9 -9
  289. data/templates/jrails-1.4/jquery.bgiframe.min.js +2 -2
  290. data/templates/jrails-1.4/jquery.compat-1.3.js +291 -291
  291. data/templates/jrails-1.4/jquery.compat-1.3.min.js +6 -6
  292. data/templates/jrails-1.4/jquery.contextMenu.js +210 -210
  293. data/templates/jrails-1.4/jquery.contextMenu.min.js +8 -8
  294. data/templates/jrails-1.4/jquery.haml.js +293 -293
  295. data/templates/jrails-1.4/jquery.haml.min.js +5 -5
  296. data/templates/jrails-1.4/jquery.metadata.js +121 -121
  297. data/templates/jrails-1.4/jquery.metadata.min.js +2 -2
  298. data/templates/jrails-1.4/jquery.pngFix.js +10 -10
  299. data/templates/jrails-1.4/jquery.pngFix.min.js +2 -2
  300. data/templates/jrails-1.4/jquery.themeswitchertool.js +190 -190
  301. data/templates/jrails-1.4/jquery.themeswitchertool.min.js +8 -8
  302. data/templates/jrails-1.4/jquery.ui/_theme.scss +1433 -1433
  303. data/templates/jrails-1.4/jquery.ui/base.scss +90 -90
  304. data/templates/jrails-1.4/jquery.ui/black-tie.scss +90 -90
  305. data/templates/jrails-1.4/jquery.ui/blitzer.scss +90 -90
  306. data/templates/jrails-1.4/jquery.ui/contextMenu.scss +49 -49
  307. data/templates/jrails-1.4/jquery.ui/cupertino.scss +90 -90
  308. data/templates/jrails-1.4/jquery.ui/dark-hive.scss +90 -90
  309. data/templates/jrails-1.4/jquery.ui/dot-luv.scss +90 -90
  310. data/templates/jrails-1.4/jquery.ui/eggplant.scss +90 -90
  311. data/templates/jrails-1.4/jquery.ui/excite-bike.scss +90 -90
  312. data/templates/jrails-1.4/jquery.ui/flick.scss +90 -90
  313. data/templates/jrails-1.4/jquery.ui/hot-sneaks.scss +90 -90
  314. data/templates/jrails-1.4/jquery.ui/humanity.scss +90 -90
  315. data/templates/jrails-1.4/jquery.ui/le-frog.scss +90 -90
  316. data/templates/jrails-1.4/jquery.ui/mint-choc.scss +90 -90
  317. data/templates/jrails-1.4/jquery.ui/overcast.scss +90 -90
  318. data/templates/jrails-1.4/jquery.ui/pepper-grinder.scss +90 -90
  319. data/templates/jrails-1.4/jquery.ui/redmond.scss +90 -90
  320. data/templates/jrails-1.4/jquery.ui/smoothness.scss +90 -90
  321. data/templates/jrails-1.4/jquery.ui/south-street.scss +90 -90
  322. data/templates/jrails-1.4/jquery.ui/start.scss +90 -90
  323. data/templates/jrails-1.4/jquery.ui/sunny.scss +90 -90
  324. data/templates/jrails-1.4/jquery.ui/swanky-purse.scss +90 -90
  325. data/templates/jrails-1.4/jquery.ui/trontastic.scss +90 -90
  326. data/templates/jrails-1.4/jquery.ui/ui-darkness.scss +90 -90
  327. data/templates/jrails-1.4/jquery.ui/ui-lightness.scss +90 -90
  328. data/templates/jrails-1.4/jquery.ui/vader.scss +90 -90
  329. data/templates/jrails-1.4/jrails.js +197 -197
  330. data/templates/jrails-1.4/jrails.min.js +8 -8
  331. data/templates/jrails-1.4/manifest.rb +568 -568
  332. data/templates/ribbon/config/initializers/ribbon.rb +3 -3
  333. data/templates/ribbon/jquery.ribbon.js +225 -225
  334. data/templates/ribbon/jquery.ribbon.min.js +14 -14
  335. data/templates/ribbon/jquery.ui/ribbon.simple.scss +271 -271
  336. data/templates/ribbon/jquery.ui/ribbon.windows7.scss +454 -454
  337. data/templates/ribbon/manifest.rb +52 -52
  338. data/templates/secret_sauce/app/views/ui/_ui_grid_for_without_block.js.haml +144 -144
  339. data/templates/secret_sauce/config/initializers/secret_sauce.rb +6 -6
  340. data/templates/secret_sauce/jquery.ui/secret_sauce.scss +33 -33
  341. data/templates/secret_sauce/manifest.rb +10 -10
  342. data/templates/secret_sauce/secret_sauce.js +11 -11
  343. data/templates/secret_sauce/secret_sauce.min.js +1 -1
  344. metadata +3 -3
@@ -1,190 +1,190 @@
1
- /* jQuery plugin themeswitcher
2
- ---------------------------------------------------------------------*/
3
- $.fn.themeswitcher = function(settings){
4
- var options = jQuery.extend({
5
- loadTheme: null,
6
- initialText: 'Switch Theme',
7
- width: 150,
8
- height: 200,
9
- buttonPreText: 'Theme: ',
10
- closeOnSelect: true,
11
- buttonHeight: 14,
12
- cookieName: 'jquery-ui-theme',
13
- onOpen: function(){},
14
- onClose: function(){},
15
- onSelect: function(){}
16
- }, settings);
17
-
18
- //markup
19
- var button = $('<a href="#" class="jquery-ui-themeswitcher-trigger"><span class="jquery-ui-themeswitcher-icon"></span><span class="jquery-ui-themeswitcher-title">'+ options.initialText +'</span></a>');
20
- var switcherpane = $('<div class="jquery-ui-themeswitcher"><div id="themeGallery"> <ul> <li><a href="compiled/jquery.ui/ui-lightness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_light.png" alt="UI Lightness" title="UI Lightness" /> <span class="themeName">UI lightness</span></a></li> <li><a href="compiled/jquery.ui/ui-darkness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_dark.png" alt="UI Darkness" title="UI Darkness" /> <span class="themeName">UI darkness</span> </a></li> <li><a href="compiled/jquery.ui/smoothness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_smoothness.png" alt="Smoothness" title="Smoothness" /> <span class="themeName">Smoothness</span> </a></li> <li><a href="compiled/jquery.ui/start.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_start_menu.png" alt="Start" title="Start" /> <span class="themeName">Start</span></a></li></li> <li><a href="compiled/jquery.ui/redmond.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_windoze.png" alt="Redmond" title="Redmond" /> <span class="themeName">Redmond</span></a></li></li> <li><a href="compiled/jquery.ui/sunny.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_sunny.png" alt="Sunny" title="Sunny" /> <span class="themeName">Sunny</span></a></li></li> <li><a href="compiled/jquery.ui/overcast.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_overcast.png" alt="Overcast" title="Overcast" /> <span class="themeName">Overcast</span></a></li> <li><a href="compiled/jquery.ui/le-frog.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_le_frog.png" alt="Le Frog" title="Le Frog" /> <span class="themeName">Le Frog</span></a></li></li> <li><a href="compiled/jquery.ui/flick.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_flick.png" alt="Flick" title="Flick" /> <span class="themeName">Flick</span></a></li> <li><a href="compiled/jquery.ui/pepper-grinder.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png" alt="Pepper Grinder" title="Pepper Grinder" /> <span class="themeName">Pepper Grinder</span></a></li> <li><a href="compiled/jquery.ui/eggplant.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_eggplant.png" alt="Eggplant" title="Eggplant" /> <span class="themeName">Eggplant</span></a></li> <li><a href="compiled/jquery.ui/dark-hive.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dark_hive.png" alt="Dark Hive" title="Dark Hive" /> <span class="themeName">Dark Hive</span></a></li></li> <li><a href="compiled/jquery.ui/cupertino.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_cupertino.png" alt="Cupertino" title="Cupertino" /> <span class="themeName">Cupertino</span></a></li> <li><a href="compiled/jquery.ui/south-street.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_south_street.png" alt="South St" title="South St" /> <span class="themeName">South Street</span></a></li> <li><a href="compiled/jquery.ui/blitzer.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_blitzer.png" alt="Blitzer" title="Blitzer" /> <span class="themeName">Blitzer</span></a></li></li> <li><a href="compiled/jquery.ui/humanity.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_humanity.png" alt="Humanity" title="Humanity" /> <span class="themeName">Humanity</span></a></li></li> <li><a href="compiled/jquery.ui/hot-sneaks.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png" alt="Hot Sneaks" title="Hot Sneaks" /> <span class="themeName">Hot sneaks</span></a></li></li> <li><a href="compiled/jquery.ui/excite-bike.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_excite_bike.png" alt="Excite Bike" title="Excite Bike" /> <span class="themeName">Excite Bike</span></a></li> <li><a href="compiled/jquery.ui/vader.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_matte.png" alt="Vader" title="Vader" /> <span class="themeName">Vader</span></a></li> <li><a href="compiled/jquery.ui/dot-luv.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dot_luv.png" alt="Dot Luv" title="Dot Luv" /> <span class="themeName">Dot Luv</span></a></li> <li><a href="compiled/jquery.ui/mint-choc.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_mint_choco.png" alt="Mint Choc" title="Mint Choc" /> <span class="themeName">Mint Choc</span></a></li></li> <li><a href="compiled/jquery.ui/black-tie.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_tie.png" alt="Black Tie" title="Black Tie" /> <span class="themeName">Black Tie</span></a></li></li> <li><a href="compiled/jquery.ui/trontastic.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_trontastic.png" alt="Trontastic" title="Trontastic" /><span class="themeName">Trontastic</span></a></li> <li><a href="compiled/jquery.ui/swanky-purse.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_swanky_purse.png" alt="Swanky Purse" title="Swanky Purse" /> <span class="themeName">Swanky Purse</span></a></li></ul></div></div>').find('div').removeAttr('id');
21
- //button events
22
- button.click(
23
- function(){
24
- if(switcherpane.is(':visible')){ switcherpane.spHide(); }
25
- else{ switcherpane.spShow(); }
26
- return false;
27
- }
28
- );
29
-
30
- //menu events (mouseout didn't work...)
31
- switcherpane.hover(
32
- function(){},
33
- function(){if(switcherpane.is(':visible')){$(this).spHide();}}
34
- );
35
-
36
- //show/hide panel functions
37
- $.fn.spShow = function(){ $(this).css({top: button.offset().top + options.buttonHeight + 6, left: button.offset().left}).slideDown(50); button.css(button_active); options.onOpen(); }
38
- $.fn.spHide = function(){ $(this).slideUp(50, function(){options.onClose();}); button.css(button_default); }
39
-
40
-
41
- /* Theme Loading
42
- ---------------------------------------------------------------------*/
43
- switcherpane.find('a').click(function(){
44
- updateCSS( $(this).attr('href') );
45
- var themeName = $(this).find('span').text();
46
- button.find('.jquery-ui-themeswitcher-title').text( options.buttonPreText + themeName );
47
- $.cookie(options.cookieName, themeName);
48
- options.onSelect();
49
- if(options.closeOnSelect && switcherpane.is(':visible')){ switcherpane.spHide(); }
50
- return false;
51
- });
52
-
53
- //function to append a new theme stylesheet with the new style changes
54
- function updateCSS(locStr){
55
- var cssLink = $('<link href="/stylesheets/'+locStr+'" type="text/css" rel="Stylesheet" class="ui-theme" />');
56
- $("head").append(cssLink);
57
-
58
-
59
- if( $("link.ui-theme").size() > 3){
60
- $("link.ui-theme:first").remove();
61
- }
62
- }
63
-
64
- /* Inline CSS
65
- ---------------------------------------------------------------------*/
66
- var button_default = {
67
- fontFamily: 'Trebuchet MS, Verdana, sans-serif',
68
- fontSize: '11px',
69
- color: '#666',
70
- background: '#eee image_url("jquery.ui/themeSwitcher/buttonbg.png") 50% 50% repeat-x',
71
- border: '1px solid #ccc',
72
- '-moz-border-radius': '6px',
73
- '-webkit-border-radius': '6px',
74
- textDecoration: 'none',
75
- padding: '3px 3px 3px 8px',
76
- width: options.width - 11,//minus must match left and right padding
77
- display: 'block',
78
- height: options.buttonHeight,
79
- outline: '0'
80
- };
81
- var button_hover = {
82
- 'borderColor':'#bbb',
83
- 'background': '#f0f0f0',
84
- cursor: 'pointer',
85
- color: '#444'
86
- };
87
- var button_active = {
88
- color: '#aaa',
89
- background: '#000',
90
- border: '1px solid #ccc',
91
- borderBottom: 0,
92
- '-moz-border-radius-bottomleft': 0,
93
- '-webkit-border-bottom-left-radius': 0,
94
- '-moz-border-radius-bottomright': 0,
95
- '-webkit-border-bottom-right-radius': 0,
96
- outline: '0'
97
- };
98
-
99
- //button css
100
- button.css(button_default)
101
- .hover(
102
- function(){
103
- $(this).css(button_hover);
104
- },
105
- function(){
106
- if( !switcherpane.is(':animated') && switcherpane.is(':hidden') ){ $(this).css(button_default); }
107
- }
108
- )
109
- .find('.jquery-ui-themeswitcher-icon').css({
110
- 'float': 'right',
111
- width: '16px',
112
- height: '16px',
113
- background: 'image_url("jquery.ui/themeSwitcher/icon_color_arrow.gif") 50% 50% no-repeat'
114
- });
115
- //pane css
116
- switcherpane.css({
117
- position: 'absolute',
118
- 'float': 'left',
119
- fontFamily: 'Trebuchet MS, Verdana, sans-serif',
120
- fontSize: '12px',
121
- background: '#000',
122
- color: '#fff',
123
- padding: '8px 3px 3px',
124
- border: '1px solid #ccc',
125
- '-moz-border-radius-bottomleft': '6px',
126
- '-webkit-border-bottom-left-radius': '6px',
127
- '-moz-border-radius-bottomright': '6px',
128
- '-webkit-border-bottom-right-radius': '6px',
129
- borderTop: 0,
130
- zIndex: 999999,
131
- width: options.width-6//minus must match left and right padding
132
- })
133
- .find('ul').css({
134
- listStyle: 'none',
135
- margin: '0',
136
- padding: '0',
137
- overflow: 'auto',
138
- height: options.height
139
- }).end()
140
- .find('li').hover(
141
- function(){
142
- $(this).css({
143
- 'borderColor':'#555',
144
- 'background': 'image_url("jquery.ui/themeSwitcher/menuhoverbg.png") 50% 50% repeat-x',
145
- cursor: 'pointer'
146
- });
147
- },
148
- function(){
149
- $(this).css({
150
- 'borderColor':'#111',
151
- 'background': '#000',
152
- cursor: 'auto'
153
- });
154
- }
155
- ).css({
156
- width: options.width-30,
157
- height: '',
158
- padding: '2px',
159
- margin: '1px',
160
- border: '1px solid #111',
161
- '-moz-border-radius': '4px',
162
- clear: 'left',
163
- 'float': 'left'
164
- }).end()
165
- .find('a').css({
166
- color: '#aaa',
167
- textDecoration: 'none',
168
- 'float': 'left',
169
- width: '100%',
170
- outline: '0'
171
- }).end()
172
- .find('img').css({
173
- 'float': 'left',
174
- border: '1px solid #333',
175
- margin: '0 2px'
176
- }).end()
177
- .find('.themeName').css({
178
- 'float': 'left',
179
- margin: '3px 0'
180
- }).end();
181
-
182
- $(this).append(button);
183
- $('body').append(switcherpane);
184
- switcherpane.hide();
185
- if( $.cookie(options.cookieName) || options.loadTheme ){
186
- var themeName = $.cookie(options.cookieName) || options.loadTheme;
187
- switcherpane.find('a:contains('+ themeName +')').trigger('click');
188
- }
189
- return this;
190
- };
1
+ /* jQuery plugin themeswitcher
2
+ ---------------------------------------------------------------------*/
3
+ $.fn.themeswitcher = function(settings){
4
+ var options = jQuery.extend({
5
+ loadTheme: null,
6
+ initialText: 'Switch Theme',
7
+ width: 150,
8
+ height: 200,
9
+ buttonPreText: 'Theme: ',
10
+ closeOnSelect: true,
11
+ buttonHeight: 14,
12
+ cookieName: 'jquery-ui-theme',
13
+ onOpen: function(){},
14
+ onClose: function(){},
15
+ onSelect: function(){}
16
+ }, settings);
17
+
18
+ //markup
19
+ var button = $('<a href="#" class="jquery-ui-themeswitcher-trigger"><span class="jquery-ui-themeswitcher-icon"></span><span class="jquery-ui-themeswitcher-title">'+ options.initialText +'</span></a>');
20
+ var switcherpane = $('<div class="jquery-ui-themeswitcher"><div id="themeGallery"> <ul> <li><a href="compiled/jquery.ui/ui-lightness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_light.png" alt="UI Lightness" title="UI Lightness" /> <span class="themeName">UI lightness</span></a></li> <li><a href="compiled/jquery.ui/ui-darkness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_dark.png" alt="UI Darkness" title="UI Darkness" /> <span class="themeName">UI darkness</span> </a></li> <li><a href="compiled/jquery.ui/smoothness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_smoothness.png" alt="Smoothness" title="Smoothness" /> <span class="themeName">Smoothness</span> </a></li> <li><a href="compiled/jquery.ui/start.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_start_menu.png" alt="Start" title="Start" /> <span class="themeName">Start</span></a></li></li> <li><a href="compiled/jquery.ui/redmond.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_windoze.png" alt="Redmond" title="Redmond" /> <span class="themeName">Redmond</span></a></li></li> <li><a href="compiled/jquery.ui/sunny.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_sunny.png" alt="Sunny" title="Sunny" /> <span class="themeName">Sunny</span></a></li></li> <li><a href="compiled/jquery.ui/overcast.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_overcast.png" alt="Overcast" title="Overcast" /> <span class="themeName">Overcast</span></a></li> <li><a href="compiled/jquery.ui/le-frog.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_le_frog.png" alt="Le Frog" title="Le Frog" /> <span class="themeName">Le Frog</span></a></li></li> <li><a href="compiled/jquery.ui/flick.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_flick.png" alt="Flick" title="Flick" /> <span class="themeName">Flick</span></a></li> <li><a href="compiled/jquery.ui/pepper-grinder.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png" alt="Pepper Grinder" title="Pepper Grinder" /> <span class="themeName">Pepper Grinder</span></a></li> <li><a href="compiled/jquery.ui/eggplant.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_eggplant.png" alt="Eggplant" title="Eggplant" /> <span class="themeName">Eggplant</span></a></li> <li><a href="compiled/jquery.ui/dark-hive.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dark_hive.png" alt="Dark Hive" title="Dark Hive" /> <span class="themeName">Dark Hive</span></a></li></li> <li><a href="compiled/jquery.ui/cupertino.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_cupertino.png" alt="Cupertino" title="Cupertino" /> <span class="themeName">Cupertino</span></a></li> <li><a href="compiled/jquery.ui/south-street.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_south_street.png" alt="South St" title="South St" /> <span class="themeName">South Street</span></a></li> <li><a href="compiled/jquery.ui/blitzer.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_blitzer.png" alt="Blitzer" title="Blitzer" /> <span class="themeName">Blitzer</span></a></li></li> <li><a href="compiled/jquery.ui/humanity.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_humanity.png" alt="Humanity" title="Humanity" /> <span class="themeName">Humanity</span></a></li></li> <li><a href="compiled/jquery.ui/hot-sneaks.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png" alt="Hot Sneaks" title="Hot Sneaks" /> <span class="themeName">Hot sneaks</span></a></li></li> <li><a href="compiled/jquery.ui/excite-bike.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_excite_bike.png" alt="Excite Bike" title="Excite Bike" /> <span class="themeName">Excite Bike</span></a></li> <li><a href="compiled/jquery.ui/vader.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_matte.png" alt="Vader" title="Vader" /> <span class="themeName">Vader</span></a></li> <li><a href="compiled/jquery.ui/dot-luv.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dot_luv.png" alt="Dot Luv" title="Dot Luv" /> <span class="themeName">Dot Luv</span></a></li> <li><a href="compiled/jquery.ui/mint-choc.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_mint_choco.png" alt="Mint Choc" title="Mint Choc" /> <span class="themeName">Mint Choc</span></a></li></li> <li><a href="compiled/jquery.ui/black-tie.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_tie.png" alt="Black Tie" title="Black Tie" /> <span class="themeName">Black Tie</span></a></li></li> <li><a href="compiled/jquery.ui/trontastic.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_trontastic.png" alt="Trontastic" title="Trontastic" /><span class="themeName">Trontastic</span></a></li> <li><a href="compiled/jquery.ui/swanky-purse.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_swanky_purse.png" alt="Swanky Purse" title="Swanky Purse" /> <span class="themeName">Swanky Purse</span></a></li></ul></div></div>').find('div').removeAttr('id');
21
+ //button events
22
+ button.click(
23
+ function(){
24
+ if(switcherpane.is(':visible')){ switcherpane.spHide(); }
25
+ else{ switcherpane.spShow(); }
26
+ return false;
27
+ }
28
+ );
29
+
30
+ //menu events (mouseout didn't work...)
31
+ switcherpane.hover(
32
+ function(){},
33
+ function(){if(switcherpane.is(':visible')){$(this).spHide();}}
34
+ );
35
+
36
+ //show/hide panel functions
37
+ $.fn.spShow = function(){ $(this).css({top: button.offset().top + options.buttonHeight + 6, left: button.offset().left}).slideDown(50); button.css(button_active); options.onOpen(); }
38
+ $.fn.spHide = function(){ $(this).slideUp(50, function(){options.onClose();}); button.css(button_default); }
39
+
40
+
41
+ /* Theme Loading
42
+ ---------------------------------------------------------------------*/
43
+ switcherpane.find('a').click(function(){
44
+ updateCSS( $(this).attr('href') );
45
+ var themeName = $(this).find('span').text();
46
+ button.find('.jquery-ui-themeswitcher-title').text( options.buttonPreText + themeName );
47
+ $.cookie(options.cookieName, themeName);
48
+ options.onSelect();
49
+ if(options.closeOnSelect && switcherpane.is(':visible')){ switcherpane.spHide(); }
50
+ return false;
51
+ });
52
+
53
+ //function to append a new theme stylesheet with the new style changes
54
+ function updateCSS(locStr){
55
+ var cssLink = $('<link href="/stylesheets/'+locStr+'" type="text/css" rel="Stylesheet" class="ui-theme" />');
56
+ $("head").append(cssLink);
57
+
58
+
59
+ if( $("link.ui-theme").size() > 3){
60
+ $("link.ui-theme:first").remove();
61
+ }
62
+ }
63
+
64
+ /* Inline CSS
65
+ ---------------------------------------------------------------------*/
66
+ var button_default = {
67
+ fontFamily: 'Trebuchet MS, Verdana, sans-serif',
68
+ fontSize: '11px',
69
+ color: '#666',
70
+ background: '#eee image_url("jquery.ui/themeSwitcher/buttonbg.png") 50% 50% repeat-x',
71
+ border: '1px solid #ccc',
72
+ '-moz-border-radius': '6px',
73
+ '-webkit-border-radius': '6px',
74
+ textDecoration: 'none',
75
+ padding: '3px 3px 3px 8px',
76
+ width: options.width - 11,//minus must match left and right padding
77
+ display: 'block',
78
+ height: options.buttonHeight,
79
+ outline: '0'
80
+ };
81
+ var button_hover = {
82
+ 'borderColor':'#bbb',
83
+ 'background': '#f0f0f0',
84
+ cursor: 'pointer',
85
+ color: '#444'
86
+ };
87
+ var button_active = {
88
+ color: '#aaa',
89
+ background: '#000',
90
+ border: '1px solid #ccc',
91
+ borderBottom: 0,
92
+ '-moz-border-radius-bottomleft': 0,
93
+ '-webkit-border-bottom-left-radius': 0,
94
+ '-moz-border-radius-bottomright': 0,
95
+ '-webkit-border-bottom-right-radius': 0,
96
+ outline: '0'
97
+ };
98
+
99
+ //button css
100
+ button.css(button_default)
101
+ .hover(
102
+ function(){
103
+ $(this).css(button_hover);
104
+ },
105
+ function(){
106
+ if( !switcherpane.is(':animated') && switcherpane.is(':hidden') ){ $(this).css(button_default); }
107
+ }
108
+ )
109
+ .find('.jquery-ui-themeswitcher-icon').css({
110
+ 'float': 'right',
111
+ width: '16px',
112
+ height: '16px',
113
+ background: 'image_url("jquery.ui/themeSwitcher/icon_color_arrow.gif") 50% 50% no-repeat'
114
+ });
115
+ //pane css
116
+ switcherpane.css({
117
+ position: 'absolute',
118
+ 'float': 'left',
119
+ fontFamily: 'Trebuchet MS, Verdana, sans-serif',
120
+ fontSize: '12px',
121
+ background: '#000',
122
+ color: '#fff',
123
+ padding: '8px 3px 3px',
124
+ border: '1px solid #ccc',
125
+ '-moz-border-radius-bottomleft': '6px',
126
+ '-webkit-border-bottom-left-radius': '6px',
127
+ '-moz-border-radius-bottomright': '6px',
128
+ '-webkit-border-bottom-right-radius': '6px',
129
+ borderTop: 0,
130
+ zIndex: 999999,
131
+ width: options.width-6//minus must match left and right padding
132
+ })
133
+ .find('ul').css({
134
+ listStyle: 'none',
135
+ margin: '0',
136
+ padding: '0',
137
+ overflow: 'auto',
138
+ height: options.height
139
+ }).end()
140
+ .find('li').hover(
141
+ function(){
142
+ $(this).css({
143
+ 'borderColor':'#555',
144
+ 'background': 'image_url("jquery.ui/themeSwitcher/menuhoverbg.png") 50% 50% repeat-x',
145
+ cursor: 'pointer'
146
+ });
147
+ },
148
+ function(){
149
+ $(this).css({
150
+ 'borderColor':'#111',
151
+ 'background': '#000',
152
+ cursor: 'auto'
153
+ });
154
+ }
155
+ ).css({
156
+ width: options.width-30,
157
+ height: '',
158
+ padding: '2px',
159
+ margin: '1px',
160
+ border: '1px solid #111',
161
+ '-moz-border-radius': '4px',
162
+ clear: 'left',
163
+ 'float': 'left'
164
+ }).end()
165
+ .find('a').css({
166
+ color: '#aaa',
167
+ textDecoration: 'none',
168
+ 'float': 'left',
169
+ width: '100%',
170
+ outline: '0'
171
+ }).end()
172
+ .find('img').css({
173
+ 'float': 'left',
174
+ border: '1px solid #333',
175
+ margin: '0 2px'
176
+ }).end()
177
+ .find('.themeName').css({
178
+ 'float': 'left',
179
+ margin: '3px 0'
180
+ }).end();
181
+
182
+ $(this).append(button);
183
+ $('body').append(switcherpane);
184
+ switcherpane.hide();
185
+ if( $.cookie(options.cookieName) || options.loadTheme ){
186
+ var themeName = $.cookie(options.cookieName) || options.loadTheme;
187
+ switcherpane.find('a:contains('+ themeName +')').trigger('click');
188
+ }
189
+ return this;
190
+ };
@@ -1,8 +1,8 @@
1
- $.fn.themeswitcher=function(e){function g(d){d=$('<link href="/stylesheets/'+d+'" type="text/css" rel="Stylesheet" class="ui-theme" />');$("head").append(d);$("link.ui-theme").size()>3&&$("link.ui-theme:first").remove()}var a=jQuery.extend({loadTheme:null,initialText:"Switch Theme",width:150,height:200,buttonPreText:"Theme: ",closeOnSelect:true,buttonHeight:14,cookieName:"jquery-ui-theme",onOpen:function(){},onClose:function(){},onSelect:function(){}},e),c=$('<a href="#" class="jquery-ui-themeswitcher-trigger"><span class="jquery-ui-themeswitcher-icon"></span><span class="jquery-ui-themeswitcher-title">'+
2
- a.initialText+"</span></a>"),b=$('<div class="jquery-ui-themeswitcher"><div id="themeGallery"> <ul> <li><a href="compiled/jquery.ui/ui-lightness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_light.png" alt="UI Lightness" title="UI Lightness" /> <span class="themeName">UI lightness</span></a></li> <li><a href="compiled/jquery.ui/ui-darkness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_dark.png" alt="UI Darkness" title="UI Darkness" /> <span class="themeName">UI darkness</span> </a></li> <li><a href="compiled/jquery.ui/smoothness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_smoothness.png" alt="Smoothness" title="Smoothness" /> <span class="themeName">Smoothness</span> </a></li> <li><a href="compiled/jquery.ui/start.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_start_menu.png" alt="Start" title="Start" /> <span class="themeName">Start</span></a></li></li> <li><a href="compiled/jquery.ui/redmond.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_windoze.png" alt="Redmond" title="Redmond" /> <span class="themeName">Redmond</span></a></li></li> <li><a href="compiled/jquery.ui/sunny.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_sunny.png" alt="Sunny" title="Sunny" /> <span class="themeName">Sunny</span></a></li></li> <li><a href="compiled/jquery.ui/overcast.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_overcast.png" alt="Overcast" title="Overcast" /> <span class="themeName">Overcast</span></a></li> <li><a href="compiled/jquery.ui/le-frog.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_le_frog.png" alt="Le Frog" title="Le Frog" /> <span class="themeName">Le Frog</span></a></li></li> <li><a href="compiled/jquery.ui/flick.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_flick.png" alt="Flick" title="Flick" /> <span class="themeName">Flick</span></a></li> <li><a href="compiled/jquery.ui/pepper-grinder.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png" alt="Pepper Grinder" title="Pepper Grinder" /> <span class="themeName">Pepper Grinder</span></a></li> <li><a href="compiled/jquery.ui/eggplant.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_eggplant.png" alt="Eggplant" title="Eggplant" /> <span class="themeName">Eggplant</span></a></li> <li><a href="compiled/jquery.ui/dark-hive.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dark_hive.png" alt="Dark Hive" title="Dark Hive" /> <span class="themeName">Dark Hive</span></a></li></li> <li><a href="compiled/jquery.ui/cupertino.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_cupertino.png" alt="Cupertino" title="Cupertino" /> <span class="themeName">Cupertino</span></a></li> <li><a href="compiled/jquery.ui/south-street.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_south_street.png" alt="South St" title="South St" /> <span class="themeName">South Street</span></a></li> <li><a href="compiled/jquery.ui/blitzer.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_blitzer.png" alt="Blitzer" title="Blitzer" /> <span class="themeName">Blitzer</span></a></li></li> <li><a href="compiled/jquery.ui/humanity.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_humanity.png" alt="Humanity" title="Humanity" /> <span class="themeName">Humanity</span></a></li></li> <li><a href="compiled/jquery.ui/hot-sneaks.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png" alt="Hot Sneaks" title="Hot Sneaks" /> <span class="themeName">Hot sneaks</span></a></li></li> <li><a href="compiled/jquery.ui/excite-bike.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_excite_bike.png" alt="Excite Bike" title="Excite Bike" /> <span class="themeName">Excite Bike</span></a></li> <li><a href="compiled/jquery.ui/vader.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_matte.png" alt="Vader" title="Vader" /> <span class="themeName">Vader</span></a></li> <li><a href="compiled/jquery.ui/dot-luv.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dot_luv.png" alt="Dot Luv" title="Dot Luv" /> <span class="themeName">Dot Luv</span></a></li> <li><a href="compiled/jquery.ui/mint-choc.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_mint_choco.png" alt="Mint Choc" title="Mint Choc" /> <span class="themeName">Mint Choc</span></a></li></li> <li><a href="compiled/jquery.ui/black-tie.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_tie.png" alt="Black Tie" title="Black Tie" /> <span class="themeName">Black Tie</span></a></li></li> <li><a href="compiled/jquery.ui/trontastic.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_trontastic.png" alt="Trontastic" title="Trontastic" /><span class="themeName">Trontastic</span></a></li> <li><a href="compiled/jquery.ui/swanky-purse.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_swanky_purse.png" alt="Swanky Purse" title="Swanky Purse" /> <span class="themeName">Swanky Purse</span></a></li></ul></div></div>').find("div").removeAttr("id");
3
- c.click(function(){b.is(":visible")?b.spHide():b.spShow();return false});b.hover(function(){},function(){b.is(":visible")&&$(this).spHide()});$.fn.spShow=function(){$(this).css({top:c.offset().top+a.buttonHeight+6,left:c.offset().left}).slideDown(50);c.css(h);a.onOpen()};$.fn.spHide=function(){$(this).slideUp(50,function(){a.onClose()});c.css(f)};b.find("a").click(function(){g($(this).attr("href"));var d=$(this).find("span").text();c.find(".jquery-ui-themeswitcher-title").text(a.buttonPreText+d);
4
- $.cookie(a.cookieName,d);a.onSelect();a.closeOnSelect&&b.is(":visible")&&b.spHide();return false});var f={fontFamily:"Trebuchet MS, Verdana, sans-serif",fontSize:"11px",color:"#666",background:'#eee image_url("jquery.ui/themeSwitcher/buttonbg.png") 50% 50% repeat-x',border:"1px solid #ccc","-moz-border-radius":"6px","-webkit-border-radius":"6px",textDecoration:"none",padding:"3px 3px 3px 8px",width:a.width-11,display:"block",height:a.buttonHeight,outline:"0"},i={borderColor:"#bbb",background:"#f0f0f0",
5
- cursor:"pointer",color:"#444"},h={color:"#aaa",background:"#000",border:"1px solid #ccc",borderBottom:0,"-moz-border-radius-bottomleft":0,"-webkit-border-bottom-left-radius":0,"-moz-border-radius-bottomright":0,"-webkit-border-bottom-right-radius":0,outline:"0"};c.css(f).hover(function(){$(this).css(i)},function(){!b.is(":animated")&&b.is(":hidden")&&$(this).css(f)}).find(".jquery-ui-themeswitcher-icon").css({"float":"right",width:"16px",height:"16px",background:'image_url("jquery.ui/themeSwitcher/icon_color_arrow.gif") 50% 50% no-repeat'});
6
- b.css({position:"absolute","float":"left",fontFamily:"Trebuchet MS, Verdana, sans-serif",fontSize:"12px",background:"#000",color:"#fff",padding:"8px 3px 3px",border:"1px solid #ccc","-moz-border-radius-bottomleft":"6px","-webkit-border-bottom-left-radius":"6px","-moz-border-radius-bottomright":"6px","-webkit-border-bottom-right-radius":"6px",borderTop:0,zIndex:999999,width:a.width-6}).find("ul").css({listStyle:"none",margin:"0",padding:"0",overflow:"auto",height:a.height}).end().find("li").hover(function(){$(this).css({borderColor:"#555",
7
- background:'image_url("jquery.ui/themeSwitcher/menuhoverbg.png") 50% 50% repeat-x',cursor:"pointer"})},function(){$(this).css({borderColor:"#111",background:"#000",cursor:"auto"})}).css({width:a.width-30,height:"",padding:"2px",margin:"1px",border:"1px solid #111","-moz-border-radius":"4px",clear:"left","float":"left"}).end().find("a").css({color:"#aaa",textDecoration:"none","float":"left",width:"100%",outline:"0"}).end().find("img").css({"float":"left",border:"1px solid #333",margin:"0 2px"}).end().find(".themeName").css({"float":"left",
8
- margin:"3px 0"}).end();$(this).append(c);$("body").append(b);b.hide();if($.cookie(a.cookieName)||a.loadTheme){e=$.cookie(a.cookieName)||a.loadTheme;b.find("a:contains("+e+")").trigger("click")}return this};
1
+ $.fn.themeswitcher=function(e){function g(d){d=$('<link href="/stylesheets/'+d+'" type="text/css" rel="Stylesheet" class="ui-theme" />');$("head").append(d);$("link.ui-theme").size()>3&&$("link.ui-theme:first").remove()}var a=jQuery.extend({loadTheme:null,initialText:"Switch Theme",width:150,height:200,buttonPreText:"Theme: ",closeOnSelect:true,buttonHeight:14,cookieName:"jquery-ui-theme",onOpen:function(){},onClose:function(){},onSelect:function(){}},e),c=$('<a href="#" class="jquery-ui-themeswitcher-trigger"><span class="jquery-ui-themeswitcher-icon"></span><span class="jquery-ui-themeswitcher-title">'+
2
+ a.initialText+"</span></a>"),b=$('<div class="jquery-ui-themeswitcher"><div id="themeGallery"> <ul> <li><a href="compiled/jquery.ui/ui-lightness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_light.png" alt="UI Lightness" title="UI Lightness" /> <span class="themeName">UI lightness</span></a></li> <li><a href="compiled/jquery.ui/ui-darkness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_ui_dark.png" alt="UI Darkness" title="UI Darkness" /> <span class="themeName">UI darkness</span> </a></li> <li><a href="compiled/jquery.ui/smoothness.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_smoothness.png" alt="Smoothness" title="Smoothness" /> <span class="themeName">Smoothness</span> </a></li> <li><a href="compiled/jquery.ui/start.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_start_menu.png" alt="Start" title="Start" /> <span class="themeName">Start</span></a></li></li> <li><a href="compiled/jquery.ui/redmond.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_windoze.png" alt="Redmond" title="Redmond" /> <span class="themeName">Redmond</span></a></li></li> <li><a href="compiled/jquery.ui/sunny.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_sunny.png" alt="Sunny" title="Sunny" /> <span class="themeName">Sunny</span></a></li></li> <li><a href="compiled/jquery.ui/overcast.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_overcast.png" alt="Overcast" title="Overcast" /> <span class="themeName">Overcast</span></a></li> <li><a href="compiled/jquery.ui/le-frog.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_le_frog.png" alt="Le Frog" title="Le Frog" /> <span class="themeName">Le Frog</span></a></li></li> <li><a href="compiled/jquery.ui/flick.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_flick.png" alt="Flick" title="Flick" /> <span class="themeName">Flick</span></a></li> <li><a href="compiled/jquery.ui/pepper-grinder.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png" alt="Pepper Grinder" title="Pepper Grinder" /> <span class="themeName">Pepper Grinder</span></a></li> <li><a href="compiled/jquery.ui/eggplant.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_eggplant.png" alt="Eggplant" title="Eggplant" /> <span class="themeName">Eggplant</span></a></li> <li><a href="compiled/jquery.ui/dark-hive.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dark_hive.png" alt="Dark Hive" title="Dark Hive" /> <span class="themeName">Dark Hive</span></a></li></li> <li><a href="compiled/jquery.ui/cupertino.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_cupertino.png" alt="Cupertino" title="Cupertino" /> <span class="themeName">Cupertino</span></a></li> <li><a href="compiled/jquery.ui/south-street.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_south_street.png" alt="South St" title="South St" /> <span class="themeName">South Street</span></a></li> <li><a href="compiled/jquery.ui/blitzer.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_blitzer.png" alt="Blitzer" title="Blitzer" /> <span class="themeName">Blitzer</span></a></li></li> <li><a href="compiled/jquery.ui/humanity.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_humanity.png" alt="Humanity" title="Humanity" /> <span class="themeName">Humanity</span></a></li></li> <li><a href="compiled/jquery.ui/hot-sneaks.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png" alt="Hot Sneaks" title="Hot Sneaks" /> <span class="themeName">Hot sneaks</span></a></li></li> <li><a href="compiled/jquery.ui/excite-bike.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_excite_bike.png" alt="Excite Bike" title="Excite Bike" /> <span class="themeName">Excite Bike</span></a></li> <li><a href="compiled/jquery.ui/vader.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_matte.png" alt="Vader" title="Vader" /> <span class="themeName">Vader</span></a></li> <li><a href="compiled/jquery.ui/dot-luv.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_dot_luv.png" alt="Dot Luv" title="Dot Luv" /> <span class="themeName">Dot Luv</span></a></li> <li><a href="compiled/jquery.ui/mint-choc.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_mint_choco.png" alt="Mint Choc" title="Mint Choc" /> <span class="themeName">Mint Choc</span></a></li></li> <li><a href="compiled/jquery.ui/black-tie.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_black_tie.png" alt="Black Tie" title="Black Tie" /> <span class="themeName">Black Tie</span></a></li></li> <li><a href="compiled/jquery.ui/trontastic.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_trontastic.png" alt="Trontastic" title="Trontastic" /><span class="themeName">Trontastic</span></a></li> <li><a href="compiled/jquery.ui/swanky-purse.css"> <img src="/images/jquery.ui/themeSwitcher/theme_90_swanky_purse.png" alt="Swanky Purse" title="Swanky Purse" /> <span class="themeName">Swanky Purse</span></a></li></ul></div></div>').find("div").removeAttr("id");
3
+ c.click(function(){b.is(":visible")?b.spHide():b.spShow();return false});b.hover(function(){},function(){b.is(":visible")&&$(this).spHide()});$.fn.spShow=function(){$(this).css({top:c.offset().top+a.buttonHeight+6,left:c.offset().left}).slideDown(50);c.css(h);a.onOpen()};$.fn.spHide=function(){$(this).slideUp(50,function(){a.onClose()});c.css(f)};b.find("a").click(function(){g($(this).attr("href"));var d=$(this).find("span").text();c.find(".jquery-ui-themeswitcher-title").text(a.buttonPreText+d);
4
+ $.cookie(a.cookieName,d);a.onSelect();a.closeOnSelect&&b.is(":visible")&&b.spHide();return false});var f={fontFamily:"Trebuchet MS, Verdana, sans-serif",fontSize:"11px",color:"#666",background:'#eee image_url("jquery.ui/themeSwitcher/buttonbg.png") 50% 50% repeat-x',border:"1px solid #ccc","-moz-border-radius":"6px","-webkit-border-radius":"6px",textDecoration:"none",padding:"3px 3px 3px 8px",width:a.width-11,display:"block",height:a.buttonHeight,outline:"0"},i={borderColor:"#bbb",background:"#f0f0f0",
5
+ cursor:"pointer",color:"#444"},h={color:"#aaa",background:"#000",border:"1px solid #ccc",borderBottom:0,"-moz-border-radius-bottomleft":0,"-webkit-border-bottom-left-radius":0,"-moz-border-radius-bottomright":0,"-webkit-border-bottom-right-radius":0,outline:"0"};c.css(f).hover(function(){$(this).css(i)},function(){!b.is(":animated")&&b.is(":hidden")&&$(this).css(f)}).find(".jquery-ui-themeswitcher-icon").css({"float":"right",width:"16px",height:"16px",background:'image_url("jquery.ui/themeSwitcher/icon_color_arrow.gif") 50% 50% no-repeat'});
6
+ b.css({position:"absolute","float":"left",fontFamily:"Trebuchet MS, Verdana, sans-serif",fontSize:"12px",background:"#000",color:"#fff",padding:"8px 3px 3px",border:"1px solid #ccc","-moz-border-radius-bottomleft":"6px","-webkit-border-bottom-left-radius":"6px","-moz-border-radius-bottomright":"6px","-webkit-border-bottom-right-radius":"6px",borderTop:0,zIndex:999999,width:a.width-6}).find("ul").css({listStyle:"none",margin:"0",padding:"0",overflow:"auto",height:a.height}).end().find("li").hover(function(){$(this).css({borderColor:"#555",
7
+ background:'image_url("jquery.ui/themeSwitcher/menuhoverbg.png") 50% 50% repeat-x',cursor:"pointer"})},function(){$(this).css({borderColor:"#111",background:"#000",cursor:"auto"})}).css({width:a.width-30,height:"",padding:"2px",margin:"1px",border:"1px solid #111","-moz-border-radius":"4px",clear:"left","float":"left"}).end().find("a").css({color:"#aaa",textDecoration:"none","float":"left",width:"100%",outline:"0"}).end().find("img").css({"float":"left",border:"1px solid #333",margin:"0 2px"}).end().find(".themeName").css({"float":"left",
8
+ margin:"3px 0"}).end();$(this).append(c);$("body").append(b);b.hide();if($.cookie(a.cookieName)||a.loadTheme){e=$.cookie(a.cookieName)||a.loadTheme;b.find("a:contains("+e+")").trigger("click")}return this};