alfa 0.0.1.pre → 0.0.2.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. data/assets/css/960gs/960.css +653 -0
  2. data/assets/css/960gs/960_12_col.css +357 -0
  3. data/assets/css/960gs/960_12_col_rtl.css +357 -0
  4. data/assets/css/960gs/960_16_col.css +446 -0
  5. data/assets/css/960gs/960_16_col_rtl.css +446 -0
  6. data/assets/css/960gs/960_24_col.css +621 -0
  7. data/assets/css/960gs/960_24_col_rtl.css +621 -0
  8. data/assets/css/960gs/960_rtl.css +653 -0
  9. data/assets/css/960gs/demo.css +55 -0
  10. data/assets/css/960gs/min/960.css +1 -0
  11. data/assets/css/960gs/min/960_12_col.css +1 -0
  12. data/assets/css/960gs/min/960_12_col_rtl.css +1 -0
  13. data/assets/css/960gs/min/960_16_col.css +1 -0
  14. data/assets/css/960gs/min/960_16_col_rtl.css +1 -0
  15. data/assets/css/960gs/min/960_24_col.css +1 -0
  16. data/assets/css/960gs/min/960_24_col_rtl.css +1 -0
  17. data/assets/css/960gs/min/960_rtl.css +1 -0
  18. data/assets/css/960gs/min/reset.css +1 -0
  19. data/assets/css/960gs/min/reset_rtl.css +1 -0
  20. data/assets/css/960gs/min/text.css +1 -0
  21. data/assets/css/960gs/min/text_rtl.css +1 -0
  22. data/assets/css/960gs/reset.css +211 -0
  23. data/assets/css/960gs/reset_rtl.css +211 -0
  24. data/assets/css/960gs/text.css +86 -0
  25. data/assets/css/960gs/text_rtl.css +86 -0
  26. data/assets/js/jquery/jquery-1.3.2.js +4376 -0
  27. data/assets/js/jquery/jquery-1.3.2.min.js +19 -0
  28. data/assets/js/jquery/jquery-1.4.2.js +6240 -0
  29. data/assets/js/jquery/jquery-1.4.2.min.js +154 -0
  30. data/assets/js/jquery/jquery-1.4.4.js +7179 -0
  31. data/assets/js/jquery/jquery-1.4.4.min.js +167 -0
  32. data/assets/js/jquery/jquery-1.8.2.js +9440 -0
  33. data/assets/js/jquery/jquery-1.8.2.min.js +2 -0
  34. data/assets/js/jquery/jquery-latest.js +2 -0
  35. data/assets/js/jquery/plugins/corner.js +178 -0
  36. data/assets/js/jquery/plugins/corner_12x.js +503 -0
  37. data/assets/js/jquery/plugins/datepick/calendar-green.gif +0 -0
  38. data/assets/js/jquery/plugins/datepick/calendar.gif +0 -0
  39. data/assets/js/jquery/plugins/datepick/datepickBasics.html +34 -0
  40. data/assets/js/jquery/plugins/datepick/flora.datepick.css +221 -0
  41. data/assets/js/jquery/plugins/datepick/humanity.datepick.css +192 -0
  42. data/assets/js/jquery/plugins/datepick/jquery.datepick-ar.js +27 -0
  43. data/assets/js/jquery/plugins/datepick/jquery.datepick-az.js +26 -0
  44. data/assets/js/jquery/plugins/datepick/jquery.datepick-bg.js +26 -0
  45. data/assets/js/jquery/plugins/datepick/jquery.datepick-ca.js +26 -0
  46. data/assets/js/jquery/plugins/datepick/jquery.datepick-cs.js +26 -0
  47. data/assets/js/jquery/plugins/datepick/jquery.datepick-da.js +26 -0
  48. data/assets/js/jquery/plugins/datepick/jquery.datepick-de.js +26 -0
  49. data/assets/js/jquery/plugins/datepick/jquery.datepick-el.js +26 -0
  50. data/assets/js/jquery/plugins/datepick/jquery.datepick-eo.js +26 -0
  51. data/assets/js/jquery/plugins/datepick/jquery.datepick-es.js +26 -0
  52. data/assets/js/jquery/plugins/datepick/jquery.datepick-et.js +26 -0
  53. data/assets/js/jquery/plugins/datepick/jquery.datepick-fa.js +26 -0
  54. data/assets/js/jquery/plugins/datepick/jquery.datepick-fi.js +26 -0
  55. data/assets/js/jquery/plugins/datepick/jquery.datepick-fr.js +26 -0
  56. data/assets/js/jquery/plugins/datepick/jquery.datepick-he.js +26 -0
  57. data/assets/js/jquery/plugins/datepick/jquery.datepick-hr.js +26 -0
  58. data/assets/js/jquery/plugins/datepick/jquery.datepick-hu.js +26 -0
  59. data/assets/js/jquery/plugins/datepick/jquery.datepick-hy.js +26 -0
  60. data/assets/js/jquery/plugins/datepick/jquery.datepick-id.js +26 -0
  61. data/assets/js/jquery/plugins/datepick/jquery.datepick-is.js +26 -0
  62. data/assets/js/jquery/plugins/datepick/jquery.datepick-it.js +26 -0
  63. data/assets/js/jquery/plugins/datepick/jquery.datepick-ja.js +26 -0
  64. data/assets/js/jquery/plugins/datepick/jquery.datepick-ko.js +26 -0
  65. data/assets/js/jquery/plugins/datepick/jquery.datepick-lt.js +26 -0
  66. data/assets/js/jquery/plugins/datepick/jquery.datepick-lv.js +26 -0
  67. data/assets/js/jquery/plugins/datepick/jquery.datepick-ms.js +26 -0
  68. data/assets/js/jquery/plugins/datepick/jquery.datepick-nl.js +26 -0
  69. data/assets/js/jquery/plugins/datepick/jquery.datepick-no.js +26 -0
  70. data/assets/js/jquery/plugins/datepick/jquery.datepick-pl.js +26 -0
  71. data/assets/js/jquery/plugins/datepick/jquery.datepick-pt-BR.js +26 -0
  72. data/assets/js/jquery/plugins/datepick/jquery.datepick-ro.js +26 -0
  73. data/assets/js/jquery/plugins/datepick/jquery.datepick-ru.js +26 -0
  74. data/assets/js/jquery/plugins/datepick/jquery.datepick-sk.js +26 -0
  75. data/assets/js/jquery/plugins/datepick/jquery.datepick-sl.js +27 -0
  76. data/assets/js/jquery/plugins/datepick/jquery.datepick-sq.js +26 -0
  77. data/assets/js/jquery/plugins/datepick/jquery.datepick-sr-SR.js +25 -0
  78. data/assets/js/jquery/plugins/datepick/jquery.datepick-sr.js +25 -0
  79. data/assets/js/jquery/plugins/datepick/jquery.datepick-sv.js +26 -0
  80. data/assets/js/jquery/plugins/datepick/jquery.datepick-th.js +26 -0
  81. data/assets/js/jquery/plugins/datepick/jquery.datepick-tr.js +26 -0
  82. data/assets/js/jquery/plugins/datepick/jquery.datepick-uk.js +26 -0
  83. data/assets/js/jquery/plugins/datepick/jquery.datepick-validation.js +141 -0
  84. data/assets/js/jquery/plugins/datepick/jquery.datepick-validation.min.js +8 -0
  85. data/assets/js/jquery/plugins/datepick/jquery.datepick-validation.pack.js +8 -0
  86. data/assets/js/jquery/plugins/datepick/jquery.datepick-zh-CN.js +26 -0
  87. data/assets/js/jquery/plugins/datepick/jquery.datepick-zh-TW.js +26 -0
  88. data/assets/js/jquery/plugins/datepick/jquery.datepick.css +216 -0
  89. data/assets/js/jquery/plugins/datepick/jquery.datepick.ent +76 -0
  90. data/assets/js/jquery/plugins/datepick/jquery.datepick.js +1974 -0
  91. data/assets/js/jquery/plugins/datepick/jquery.datepick.min.js +8 -0
  92. data/assets/js/jquery/plugins/datepick/jquery.datepick.pack.js +8 -0
  93. data/assets/js/jquery/plugins/datepick/redmond.datepick.css +204 -0
  94. data/assets/js/jquery/plugins/datepick/smoothness.datepick.css +205 -0
  95. data/assets/js/jquery/plugins/fancybox/blank.gif +0 -0
  96. data/assets/js/jquery/plugins/fancybox/fancy_close.png +0 -0
  97. data/assets/js/jquery/plugins/fancybox/fancy_loading.png +0 -0
  98. data/assets/js/jquery/plugins/fancybox/fancy_nav_left.png +0 -0
  99. data/assets/js/jquery/plugins/fancybox/fancy_nav_right.png +0 -0
  100. data/assets/js/jquery/plugins/fancybox/fancy_shadow_e.png +0 -0
  101. data/assets/js/jquery/plugins/fancybox/fancy_shadow_n.png +0 -0
  102. data/assets/js/jquery/plugins/fancybox/fancy_shadow_ne.png +0 -0
  103. data/assets/js/jquery/plugins/fancybox/fancy_shadow_nw.png +0 -0
  104. data/assets/js/jquery/plugins/fancybox/fancy_shadow_s.png +0 -0
  105. data/assets/js/jquery/plugins/fancybox/fancy_shadow_se.png +0 -0
  106. data/assets/js/jquery/plugins/fancybox/fancy_shadow_sw.png +0 -0
  107. data/assets/js/jquery/plugins/fancybox/fancy_shadow_w.png +0 -0
  108. data/assets/js/jquery/plugins/fancybox/fancy_title_left.png +0 -0
  109. data/assets/js/jquery/plugins/fancybox/fancy_title_main.png +0 -0
  110. data/assets/js/jquery/plugins/fancybox/fancy_title_over.png +0 -0
  111. data/assets/js/jquery/plugins/fancybox/fancy_title_right.png +0 -0
  112. data/assets/js/jquery/plugins/fancybox/fancybox-x.png +0 -0
  113. data/assets/js/jquery/plugins/fancybox/fancybox-y.png +0 -0
  114. data/assets/js/jquery/plugins/fancybox/fancybox.png +0 -0
  115. data/assets/js/jquery/plugins/fancybox/jquery.easing-1.3.pack.js +72 -0
  116. data/assets/js/jquery/plugins/fancybox/jquery.fancybox-1.3.2.css +359 -0
  117. data/assets/js/jquery/plugins/fancybox/jquery.fancybox-1.3.2.js +1136 -0
  118. data/assets/js/jquery/plugins/fancybox/jquery.fancybox-1.3.2.pack.js +46 -0
  119. data/assets/js/jquery/plugins/fancybox/jquery.fancybox-1.3.4.css +359 -0
  120. data/assets/js/jquery/plugins/fancybox/jquery.fancybox-1.3.4.js +1156 -0
  121. data/assets/js/jquery/plugins/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
  122. data/assets/js/jquery/plugins/fancybox/jquery.mousewheel-3.0.4.pack.js +14 -0
  123. data/assets/js/jquery/plugins/jquery.cookie.js +96 -0
  124. data/assets/js/jquery/plugins/jquery.easing.1.3.js +205 -0
  125. data/assets/js/jquery/plugins/jquery.flash.js +288 -0
  126. data/assets/js/jquery/plugins/jquery.flash.min.js +1 -0
  127. data/assets/js/jquery/plugins/jquery.ifixpng.js +137 -0
  128. data/assets/js/jquery/plugins/jquery.mousewheel.js +84 -0
  129. data/assets/js/jquery/plugins/jquery.mousewheel.min.js +12 -0
  130. data/assets/js/jquery/plugins/jquery.numberformatter-1.2.2.js +486 -0
  131. data/assets/js/jquery/plugins/jquery.sifr.js +224 -0
  132. data/assets/js/jquery/plugins/jquery.sifr.min.js +1 -0
  133. data/assets/js/jquery/plugins/jquery.swfobject.js +1 -0
  134. data/assets/js/jquery/plugins/jquery.timers-1.1.2.js +147 -0
  135. data/assets/js/jquery/plugins/simplegallery.js +167 -0
  136. data/assets/js/jquery/ui/external/jquery.bgiframe-2.1.2.js +39 -0
  137. data/assets/js/jquery/ui/external/jquery.cookie.js +89 -0
  138. data/assets/js/jquery/ui/external/jquery.metadata.js +122 -0
  139. data/assets/js/jquery/ui/external/qunit.css +153 -0
  140. data/assets/js/jquery/ui/external/qunit.js +1261 -0
  141. data/assets/js/jquery/ui/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  142. data/assets/js/jquery/ui/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  143. data/assets/js/jquery/ui/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  144. data/assets/js/jquery/ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  145. data/assets/js/jquery/ui/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  146. data/assets/js/jquery/ui/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  147. data/assets/js/jquery/ui/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  148. data/assets/js/jquery/ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  149. data/assets/js/jquery/ui/images/ui-icons_222222_256x240.png +0 -0
  150. data/assets/js/jquery/ui/images/ui-icons_2e83ff_256x240.png +0 -0
  151. data/assets/js/jquery/ui/images/ui-icons_454545_256x240.png +0 -0
  152. data/assets/js/jquery/ui/images/ui-icons_888888_256x240.png +0 -0
  153. data/assets/js/jquery/ui/images/ui-icons_cd0a0a_256x240.png +0 -0
  154. data/assets/js/jquery/ui/jquery-ui-latest.min.js +778 -0
  155. data/assets/js/jquery/ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  156. data/assets/js/jquery/ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  157. data/assets/js/jquery/ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  158. data/assets/js/jquery/ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  159. data/assets/js/jquery/ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  160. data/assets/js/jquery/ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  161. data/assets/js/jquery/ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  162. data/assets/js/jquery/ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  163. data/assets/js/jquery/ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
  164. data/assets/js/jquery/ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  165. data/assets/js/jquery/ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
  166. data/assets/js/jquery/ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
  167. data/assets/js/jquery/ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  168. data/assets/js/jquery/ui/themes/base/jquery.ui.accordion.css +19 -0
  169. data/assets/js/jquery/ui/themes/base/jquery.ui.all.css +11 -0
  170. data/assets/js/jquery/ui/themes/base/jquery.ui.autocomplete.css +53 -0
  171. data/assets/js/jquery/ui/themes/base/jquery.ui.base.css +11 -0
  172. data/assets/js/jquery/ui/themes/base/jquery.ui.button.css +38 -0
  173. data/assets/js/jquery/ui/themes/base/jquery.ui.core.css +41 -0
  174. data/assets/js/jquery/ui/themes/base/jquery.ui.datepicker.css +68 -0
  175. data/assets/js/jquery/ui/themes/base/jquery.ui.dialog.css +21 -0
  176. data/assets/js/jquery/ui/themes/base/jquery.ui.progressbar.css +11 -0
  177. data/assets/js/jquery/ui/themes/base/jquery.ui.resizable.css +20 -0
  178. data/assets/js/jquery/ui/themes/base/jquery.ui.selectable.css +10 -0
  179. data/assets/js/jquery/ui/themes/base/jquery.ui.slider.css +24 -0
  180. data/assets/js/jquery/ui/themes/base/jquery.ui.tabs.css +18 -0
  181. data/assets/js/jquery/ui/themes/base/jquery.ui.theme.css +252 -0
  182. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  183. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  184. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  185. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  186. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  187. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  188. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  189. data/assets/js/jquery/ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  190. data/assets/js/jquery/ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  191. data/assets/js/jquery/ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  192. data/assets/js/jquery/ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  193. data/assets/js/jquery/ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  194. data/assets/js/jquery/ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  195. data/assets/js/jquery/ui/themes/smoothness/jquery-ui-1.8.6.custom.css +572 -0
  196. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.accordion.css +19 -0
  197. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.all.css +11 -0
  198. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.autocomplete.css +53 -0
  199. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.base.css +11 -0
  200. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.button.css +38 -0
  201. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.core.css +41 -0
  202. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.datepicker.css +68 -0
  203. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.dialog.css +21 -0
  204. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.progressbar.css +11 -0
  205. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.resizable.css +20 -0
  206. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.selectable.css +10 -0
  207. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.slider.css +24 -0
  208. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.tabs.css +18 -0
  209. data/assets/js/jquery/ui/themes/smoothness/jquery.ui.theme.css +254 -0
  210. data/bin/alfa +15 -0
  211. data/lib/alfa/application.rb +36 -0
  212. data/lib/alfa/cli_application.rb +11 -3
  213. data/lib/alfa/commands/new.rb +4 -0
  214. data/lib/alfa/config.rb +11 -0
  215. data/lib/alfa/controller.rb +1 -1
  216. data/lib/alfa/database/mysql.rb +60 -8
  217. data/lib/alfa/database.rb +2 -1
  218. data/lib/alfa/logger.rb +38 -0
  219. data/lib/alfa/models/base.rb +1 -1
  220. data/lib/alfa/models/base_sql.rb +1 -1
  221. data/lib/alfa/models/dummy.rb +1 -1
  222. data/lib/alfa/models/mysql.rb +36 -26
  223. data/lib/alfa/models.rb +1 -1
  224. data/lib/alfa/query_logger.rb +29 -0
  225. data/lib/alfa/router.rb +155 -0
  226. data/lib/alfa/support.rb +58 -2
  227. data/lib/alfa/tfile.rb +97 -0
  228. data/lib/alfa/web_application.rb +106 -85
  229. data/lib/alfa.rb +1 -1
  230. data/lib/ruty/bugfix.rb +21 -0
  231. data/lib/ruty/tags/resources.rb +45 -2
  232. data/lib/ruty/upgrade.rb +61 -0
  233. data/test/data/test_router/config/routes.rb +4 -0
  234. data/test/test_alfa.rb +1 -52
  235. data/test/test_router.rb +132 -0
  236. data/test/test_support.rb +26 -0
  237. data/test/test_tfile.rb +186 -0
  238. metadata +259 -100
@@ -0,0 +1,11 @@
1
+ @import url("jquery.ui.core.css");
2
+ @import url("jquery.ui.resizable.css");
3
+ @import url("jquery.ui.selectable.css");
4
+ @import url("jquery.ui.accordion.css");
5
+ @import url("jquery.ui.autocomplete.css");
6
+ @import url("jquery.ui.button.css");
7
+ @import url("jquery.ui.dialog.css");
8
+ @import url("jquery.ui.slider.css");
9
+ @import url("jquery.ui.tabs.css");
10
+ @import url("jquery.ui.datepicker.css");
11
+ @import url("jquery.ui.progressbar.css");
@@ -0,0 +1,38 @@
1
+ /*
2
+ * jQuery UI Button 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Button#theming
9
+ */
10
+ .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
11
+ .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
12
+ button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
13
+ .ui-button-icons-only { width: 3.4em; }
14
+ button.ui-button-icons-only { width: 3.7em; }
15
+
16
+ /*button text element */
17
+ .ui-button .ui-button-text { display: block; line-height: 1.4; }
18
+ .ui-button-text-only .ui-button-text { padding: .4em 1em; }
19
+ .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
20
+ .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
21
+ .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
22
+ .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
23
+ /* no icon support for input elements, provide padding by default */
24
+ input.ui-button { padding: .4em 1em; }
25
+
26
+ /*button icon element(s) */
27
+ .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
28
+ .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
29
+ .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
30
+ .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
31
+ .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
32
+
33
+ /*button sets*/
34
+ .ui-buttonset { margin-right: 7px; }
35
+ .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
36
+
37
+ /* workarounds */
38
+ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
@@ -0,0 +1,41 @@
1
+ /*
2
+ * jQuery UI CSS Framework 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Theming/API
9
+ */
10
+
11
+ /* Layout helpers
12
+ ----------------------------------*/
13
+ .ui-helper-hidden { display: none; }
14
+ .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
15
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
+ .ui-helper-clearfix { display: inline-block; }
18
+ /* required comment for clearfix to work in Opera \*/
19
+ * html .ui-helper-clearfix { height:1%; }
20
+ .ui-helper-clearfix { display:block; }
21
+ /* end clearfix */
22
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
+
24
+
25
+ /* Interaction Cues
26
+ ----------------------------------*/
27
+ .ui-state-disabled { cursor: default !important; }
28
+
29
+
30
+ /* Icons
31
+ ----------------------------------*/
32
+
33
+ /* states and images */
34
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
+
36
+
37
+ /* Misc visuals
38
+ ----------------------------------*/
39
+
40
+ /* Overlays */
41
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
@@ -0,0 +1,68 @@
1
+ /*
2
+ * jQuery UI Datepicker 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Datepicker#theming
9
+ */
10
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; }
11
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
12
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
13
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
14
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
15
+ .ui-datepicker .ui-datepicker-next { right:2px; }
16
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
17
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
18
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
19
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
20
+ .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
21
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
22
+ .ui-datepicker select.ui-datepicker-month,
23
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
24
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
25
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
26
+ .ui-datepicker td { border: 0; padding: 1px; }
27
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
28
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
29
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
30
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
31
+
32
+ /* with multiple calendars */
33
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
34
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
35
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
36
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
37
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
38
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
39
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
40
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
41
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
42
+ .ui-datepicker-row-break { clear:both; width:100%; }
43
+
44
+ /* RTL support */
45
+ .ui-datepicker-rtl { direction: rtl; }
46
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
47
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
48
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
49
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
50
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
51
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
52
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
53
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
54
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
55
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
56
+
57
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
58
+ .ui-datepicker-cover {
59
+ display: none; /*sorry for IE5*/
60
+ display/**/: block; /*sorry for IE5*/
61
+ position: absolute; /*must have*/
62
+ z-index: -1; /*must have*/
63
+ filter: mask(); /*must have*/
64
+ top: -4px; /*must have*/
65
+ left: -4px; /*must have*/
66
+ width: 200px; /*must have*/
67
+ height: 200px; /*must have*/
68
+ }
@@ -0,0 +1,21 @@
1
+ /*
2
+ * jQuery UI Dialog 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Dialog#theming
9
+ */
10
+ .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
11
+ .ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
12
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; }
13
+ .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
14
+ .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
15
+ .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
16
+ .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
17
+ .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
18
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
19
+ .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
20
+ .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
21
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
@@ -0,0 +1,11 @@
1
+ /*
2
+ * jQuery UI Progressbar 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Progressbar#theming
9
+ */
10
+ .ui-progressbar { height:2em; text-align: left; }
11
+ .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
@@ -0,0 +1,20 @@
1
+ /*
2
+ * jQuery UI Resizable 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Resizable#theming
9
+ */
10
+ .ui-resizable { position: relative;}
11
+ .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
12
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
13
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
14
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
15
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
16
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
17
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
18
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
19
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
20
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
@@ -0,0 +1,10 @@
1
+ /*
2
+ * jQuery UI Selectable 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Selectable#theming
9
+ */
10
+ .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * jQuery UI Slider 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Slider#theming
9
+ */
10
+ .ui-slider { position: relative; text-align: left; }
11
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
12
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
13
+
14
+ .ui-slider-horizontal { height: .8em; }
15
+ .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
16
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
17
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
18
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
19
+
20
+ .ui-slider-vertical { width: .8em; height: 100px; }
21
+ .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
22
+ .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
23
+ .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
24
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }
@@ -0,0 +1,18 @@
1
+ /*
2
+ * jQuery UI Tabs 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Tabs#theming
9
+ */
10
+ .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
11
+ .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
12
+ .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
13
+ .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
14
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
15
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
16
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
17
+ .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
18
+ .ui-tabs .ui-tabs-hide { display: none !important; }
@@ -0,0 +1,254 @@
1
+
2
+
3
+ /*
4
+ * jQuery UI CSS Framework 1.8.6
5
+ *
6
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
7
+ * Dual licensed under the MIT or GPL Version 2 licenses.
8
+ * http://jquery.org/license
9
+ *
10
+ * http://docs.jquery.com/UI/Theming/API
11
+ *
12
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
13
+ */
14
+
15
+
16
+ /* Component containers
17
+ ----------------------------------*/
18
+ .ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
19
+ .ui-widget .ui-widget { font-size: 1em; }
20
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
21
+ .ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
22
+ .ui-widget-content a { color: #222222; }
23
+ .ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
24
+ .ui-widget-header a { color: #222222; }
25
+
26
+ /* Interaction states
27
+ ----------------------------------*/
28
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
29
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
30
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
31
+ .ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
32
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
33
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
34
+ .ui-widget :active { outline: none; }
35
+
36
+ /* Interaction Cues
37
+ ----------------------------------*/
38
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
39
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
40
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
41
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
42
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
43
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
44
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
45
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
46
+
47
+ /* Icons
48
+ ----------------------------------*/
49
+
50
+ /* states and images */
51
+ .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
52
+ .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
53
+ .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
54
+ .ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
55
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
56
+ .ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
57
+ .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
58
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
59
+
60
+ /* positioning */
61
+ .ui-icon-carat-1-n { background-position: 0 0; }
62
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
63
+ .ui-icon-carat-1-e { background-position: -32px 0; }
64
+ .ui-icon-carat-1-se { background-position: -48px 0; }
65
+ .ui-icon-carat-1-s { background-position: -64px 0; }
66
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
67
+ .ui-icon-carat-1-w { background-position: -96px 0; }
68
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
69
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
70
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
71
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
72
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
73
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
74
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
75
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
76
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
77
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
78
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
79
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
80
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
81
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
82
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
83
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
84
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
85
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
86
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
87
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
88
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
89
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
90
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
91
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
92
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
93
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
94
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
95
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
96
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
97
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
98
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
99
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
100
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
101
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
102
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
103
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
104
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
105
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
106
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
107
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
108
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
109
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
110
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
111
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
112
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
113
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
114
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
115
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
116
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
117
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
118
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
119
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
120
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
121
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
122
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
123
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
124
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
125
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
126
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
127
+ .ui-icon-extlink { background-position: -32px -80px; }
128
+ .ui-icon-newwin { background-position: -48px -80px; }
129
+ .ui-icon-refresh { background-position: -64px -80px; }
130
+ .ui-icon-shuffle { background-position: -80px -80px; }
131
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
132
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
133
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
134
+ .ui-icon-folder-open { background-position: -16px -96px; }
135
+ .ui-icon-document { background-position: -32px -96px; }
136
+ .ui-icon-document-b { background-position: -48px -96px; }
137
+ .ui-icon-note { background-position: -64px -96px; }
138
+ .ui-icon-mail-closed { background-position: -80px -96px; }
139
+ .ui-icon-mail-open { background-position: -96px -96px; }
140
+ .ui-icon-suitcase { background-position: -112px -96px; }
141
+ .ui-icon-comment { background-position: -128px -96px; }
142
+ .ui-icon-person { background-position: -144px -96px; }
143
+ .ui-icon-print { background-position: -160px -96px; }
144
+ .ui-icon-trash { background-position: -176px -96px; }
145
+ .ui-icon-locked { background-position: -192px -96px; }
146
+ .ui-icon-unlocked { background-position: -208px -96px; }
147
+ .ui-icon-bookmark { background-position: -224px -96px; }
148
+ .ui-icon-tag { background-position: -240px -96px; }
149
+ .ui-icon-home { background-position: 0 -112px; }
150
+ .ui-icon-flag { background-position: -16px -112px; }
151
+ .ui-icon-calendar { background-position: -32px -112px; }
152
+ .ui-icon-cart { background-position: -48px -112px; }
153
+ .ui-icon-pencil { background-position: -64px -112px; }
154
+ .ui-icon-clock { background-position: -80px -112px; }
155
+ .ui-icon-disk { background-position: -96px -112px; }
156
+ .ui-icon-calculator { background-position: -112px -112px; }
157
+ .ui-icon-zoomin { background-position: -128px -112px; }
158
+ .ui-icon-zoomout { background-position: -144px -112px; }
159
+ .ui-icon-search { background-position: -160px -112px; }
160
+ .ui-icon-wrench { background-position: -176px -112px; }
161
+ .ui-icon-gear { background-position: -192px -112px; }
162
+ .ui-icon-heart { background-position: -208px -112px; }
163
+ .ui-icon-star { background-position: -224px -112px; }
164
+ .ui-icon-link { background-position: -240px -112px; }
165
+ .ui-icon-cancel { background-position: 0 -128px; }
166
+ .ui-icon-plus { background-position: -16px -128px; }
167
+ .ui-icon-plusthick { background-position: -32px -128px; }
168
+ .ui-icon-minus { background-position: -48px -128px; }
169
+ .ui-icon-minusthick { background-position: -64px -128px; }
170
+ .ui-icon-close { background-position: -80px -128px; }
171
+ .ui-icon-closethick { background-position: -96px -128px; }
172
+ .ui-icon-key { background-position: -112px -128px; }
173
+ .ui-icon-lightbulb { background-position: -128px -128px; }
174
+ .ui-icon-scissors { background-position: -144px -128px; }
175
+ .ui-icon-clipboard { background-position: -160px -128px; }
176
+ .ui-icon-copy { background-position: -176px -128px; }
177
+ .ui-icon-contact { background-position: -192px -128px; }
178
+ .ui-icon-image { background-position: -208px -128px; }
179
+ .ui-icon-video { background-position: -224px -128px; }
180
+ .ui-icon-script { background-position: -240px -128px; }
181
+ .ui-icon-alert { background-position: 0 -144px; }
182
+ .ui-icon-info { background-position: -16px -144px; }
183
+ .ui-icon-notice { background-position: -32px -144px; }
184
+ .ui-icon-help { background-position: -48px -144px; }
185
+ .ui-icon-check { background-position: -64px -144px; }
186
+ .ui-icon-bullet { background-position: -80px -144px; }
187
+ .ui-icon-radio-off { background-position: -96px -144px; }
188
+ .ui-icon-radio-on { background-position: -112px -144px; }
189
+ .ui-icon-pin-w { background-position: -128px -144px; }
190
+ .ui-icon-pin-s { background-position: -144px -144px; }
191
+ .ui-icon-play { background-position: 0 -160px; }
192
+ .ui-icon-pause { background-position: -16px -160px; }
193
+ .ui-icon-seek-next { background-position: -32px -160px; }
194
+ .ui-icon-seek-prev { background-position: -48px -160px; }
195
+ .ui-icon-seek-end { background-position: -64px -160px; }
196
+ .ui-icon-seek-start { background-position: -80px -160px; }
197
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
198
+ .ui-icon-seek-first { background-position: -80px -160px; }
199
+ .ui-icon-stop { background-position: -96px -160px; }
200
+ .ui-icon-eject { background-position: -112px -160px; }
201
+ .ui-icon-volume-off { background-position: -128px -160px; }
202
+ .ui-icon-volume-on { background-position: -144px -160px; }
203
+ .ui-icon-power { background-position: 0 -176px; }
204
+ .ui-icon-signal-diag { background-position: -16px -176px; }
205
+ .ui-icon-signal { background-position: -32px -176px; }
206
+ .ui-icon-battery-0 { background-position: -48px -176px; }
207
+ .ui-icon-battery-1 { background-position: -64px -176px; }
208
+ .ui-icon-battery-2 { background-position: -80px -176px; }
209
+ .ui-icon-battery-3 { background-position: -96px -176px; }
210
+ .ui-icon-circle-plus { background-position: 0 -192px; }
211
+ .ui-icon-circle-minus { background-position: -16px -192px; }
212
+ .ui-icon-circle-close { background-position: -32px -192px; }
213
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
214
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
215
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
216
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
217
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
218
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
219
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
220
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
221
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
222
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
223
+ .ui-icon-circle-check { background-position: -208px -192px; }
224
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
225
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
226
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
227
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
228
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
229
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
230
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
231
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
232
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
233
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
234
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
235
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
236
+
237
+
238
+ /* Misc visuals
239
+ ----------------------------------*/
240
+
241
+ /* Corner radius */
242
+ .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
243
+ .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
244
+ .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
245
+ .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
246
+ .ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
247
+ .ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
248
+ .ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
249
+ .ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
250
+ .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
251
+
252
+ /* Overlays */
253
+ .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
254
+ .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
data/bin/alfa ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ if File.exists?(File.join(File.expand_path('../..', __FILE__), '.git'))
4
+ $:.unshift(File.expand_path('../../lib', __FILE__))
5
+ end
6
+
7
+ begin
8
+ if $*[0] == 'new' and $*[1]
9
+ require 'alfa/commands/new'
10
+ else
11
+ puts "format: alfa new PROJECT_NAME"
12
+ end
13
+ rescue StandardError => e
14
+ puts "Error: #{e}"
15
+ end
@@ -0,0 +1,36 @@
1
+ require 'alfa/logger'
2
+ require 'alfa/config'
3
+
4
+ module Alfa
5
+ class Application
6
+ private_class_method :new
7
+
8
+ include Alfa::ClassInheritance
9
+ inheritable_attributes :config
10
+
11
+ @config = Alfa::Config.new
12
+
13
+ def self.config args=nil
14
+ return @config if args.nil?
15
+ @config.merge args
16
+ end
17
+
18
+ def self.init!
19
+ @log_file = File.open(File.join(@config[:log][:file]), File::WRONLY | File::APPEND | File::CREAT)
20
+ @logger = Alfa::Logger.new(@log_file)
21
+ str = "Application (pid=#{$$}) started at #{DateTime.now}"
22
+ @logger.info "#{'='*str.length}\n#{str}"
23
+ @logger.info " PROJECT_ROOT: #{@config[:project_root]}"
24
+ @logger.info " DOCUMENT_ROOT: #{@config[:document_root]}\n"
25
+ @log_file.flush
26
+ ObjectSpace.define_finalizer(@logger, Proc.new {@logger.info "Application (pid=#{$$}) stopped at #{DateTime.now}\n\n"})
27
+ @config[:db].each_value { |db| db.loggers = [@logger] }
28
+ @inited = true
29
+ end
30
+
31
+ def self.load_database path
32
+ Kernel.require path
33
+ end
34
+
35
+ end
36
+ end
@@ -1,5 +1,13 @@
1
- module Alfa
2
- class CliApplication
1
+ require 'rbconfig'
2
+ require 'alfa/support'
3
+ require 'alfa/exceptions'
4
+ require 'alfa/application'
5
+ require 'alfa/tfile'
3
6
 
7
+ module Alfa
8
+ class CliApplication < Alfa::Application
9
+ def self.load_tasks
10
+ Kernel.load 'alfa/tasks/assets.rake'
11
+ end
4
12
  end
5
- end
13
+ end
@@ -0,0 +1,4 @@
1
+ project_name = $*[1]
2
+ target_dir = File.join(Dir.pwd, project_name)
3
+ raise "file or directory #{project_name} already exists" if File.exists?(target_dir)
4
+ Dir.mkdir project_name
@@ -0,0 +1,11 @@
1
+ module Alfa
2
+ class Config < ::Hash
3
+ #attr_accessor :project_root, :document_root, :db
4
+
5
+ def initialize
6
+ self[:db] = {}
7
+ self[:log] = {}
8
+ end
9
+
10
+ end
11
+ end
@@ -4,4 +4,4 @@ module Alfa
4
4
  Hash[instance_variables.map { |name| [name.to_s[1..-1].to_sym, instance_variable_get(name)] } ]
5
5
  end
6
6
  end
7
- end
7
+ end