card 0.0.1 → 1.15.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (514) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +4 -0
  3. data/GPL +331 -0
  4. data/LICENSE +16 -0
  5. data/VERSION +1 -0
  6. data/card.gemspec +48 -19
  7. data/config/initializers/01_init_ruby_extensions.rb +7 -0
  8. data/config/initializers/inflections.rb +13 -0
  9. data/config/initializers/mime_types.rb +13 -0
  10. data/config/initializers/notification.rb +4 -0
  11. data/config/initializers/recaptcha.rb +6 -0
  12. data/config/initializers/uuid_state_file.rb +3 -0
  13. data/db/bootstrap/card_actions.yml +3872 -0
  14. data/db/bootstrap/card_acts.yml +7 -0
  15. data/db/bootstrap/card_changes.yml +11909 -0
  16. data/db/bootstrap/card_references.yml +3970 -0
  17. data/db/bootstrap/cards.yml +10805 -0
  18. data/db/migrate/20110511221913_require_earlier_migrations.rb +19 -0
  19. data/db/migrate/20120105203350_require_1_8_migrations.rb +15 -0
  20. data/db/migrate/20121111025347_require_1_10_migrations.rb +15 -0
  21. data/db/migrate/20121118114000_split_link_type.rb +16 -0
  22. data/db/migrate/20121118115000_update_link_type.rb +19 -0
  23. data/db/migrate/20130106052640_table_cleanup.rb +25 -0
  24. data/db/migrate/20130109015336_trunk_left.rb +14 -0
  25. data/db/migrate/20130411210957_update_codenames.rb +14 -0
  26. data/db/migrate/20140822073704_create_new_revision_tables.rb +43 -0
  27. data/db/migrate/20141001105348_move_revisions_to_actions.rb +62 -0
  28. data/db/migrate/20141121172918_rename_card_migration_table.rb +15 -0
  29. data/db/migrate/20141208132159_remove_present_from_reference_table.rb +9 -0
  30. data/db/migrate/20141216053032_better_index_names.rb +24 -0
  31. data/db/migrate_core_cards/20130411191151_renaming_for_menu.rb +49 -0
  32. data/db/migrate_core_cards/20130411211600_delete_old_related_tab_cards.rb +18 -0
  33. data/db/migrate_core_cards/20130419215612_import_help_text.rb +13 -0
  34. data/db/migrate_core_cards/20130823192433_add_style_cards.rb +87 -0
  35. data/db/migrate_core_cards/20130910183318_move_styles_to_content.rb +11 -0
  36. data/db/migrate_core_cards/20130920214038_jsonize_tinymce.rb +15 -0
  37. data/db/migrate_core_cards/20130920291703_update_stylesheets.rb +18 -0
  38. data/db/migrate_core_cards/20130927191728_account_events.rb +21 -0
  39. data/db/migrate_core_cards/20131016172445_common_css_patch.rb +12 -0
  40. data/db/migrate_core_cards/20140110193325_reset_account_request_type.rb +11 -0
  41. data/db/migrate_core_cards/20140307231621_user_data_to_cards.rb +73 -0
  42. data/db/migrate_core_cards/20140317035504_account_requests_to_signups.rb +51 -0
  43. data/db/migrate_core_cards/20140512155840_add_script_cards.rb +83 -0
  44. data/db/migrate_core_cards/20140629222005_add_email_cards.rb +134 -0
  45. data/db/migrate_core_cards/20140725180118_config_card_updates.rb +9 -0
  46. data/db/migrate_core_cards/20141111083921_delete_machine_output.rb +9 -0
  47. data/db/migrate_core_cards/20141115034214_config_descriptions_etc.rb +14 -0
  48. data/db/migrate_core_cards/20141119001955_make_symlinks_relative.rb +15 -0
  49. data/db/migrate_core_cards/20141120120605_fix_notification_html_message.rb +10 -0
  50. data/db/migrate_core_cards/20141204061304_watchers_to_following.rb +38 -0
  51. data/db/migrate_core_cards/20141208132416_partial_reference_type.rb +7 -0
  52. data/db/migrate_core_cards/20141208162106_add_ace_script.rb +12 -0
  53. data/db/migrate_core_cards/20141216155251_add_more_following_cards.rb +24 -0
  54. data/db/migrate_core_cards/20141230204340_uri_codename.rb +13 -0
  55. data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +17 -0
  56. data/db/migrate_core_cards/20150220134731_following_to_follow_rule.rb +18 -0
  57. data/db/migrate_core_cards/data/1.11_help_text.json +410 -0
  58. data/db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss +100 -0
  59. data/db/migrate_core_cards/data/1.12_stylesheets/common.scss +226 -0
  60. data/db/migrate_core_cards/data/1.12_stylesheets/right_sidebar.scss +27 -0
  61. data/db/migrate_core_cards/data/1.12_stylesheets/traditional.scss +152 -0
  62. data/db/migrate_core_cards/data/1.13_config_text.json +32 -0
  63. data/db/migrate_core_cards/data/1.14_config_descriptions_etc.json +77 -0
  64. data/db/migrate_core_cards/data/bootstrap_layout.json +81 -0
  65. data/db/migrate_core_cards/data/mailer/follower_notification_email.html +9 -0
  66. data/db/migrate_core_cards/data/mailer/follower_notification_email.txt +11 -0
  67. data/db/migrate_core_cards/data/mailer/mail_config.json +22 -0
  68. data/db/migrate_core_cards/data/mailer/password_reset_email.html +10 -0
  69. data/db/migrate_core_cards/data/mailer/password_reset_email.txt +11 -0
  70. data/db/migrate_core_cards/data/mailer/signup_alert_email.html +7 -0
  71. data/db/migrate_core_cards/data/mailer/signup_alert_email.txt +5 -0
  72. data/db/migrate_core_cards/data/mailer/verification_email.html +9 -0
  73. data/db/migrate_core_cards/data/mailer/verification_email.txt +8 -0
  74. data/db/schema.rb +128 -0
  75. data/db/seeds.rb +8 -0
  76. data/db/version.txt +1 -0
  77. data/db/version_core_cards.txt +1 -0
  78. data/lib/card.rb +46 -3
  79. data/lib/card/active_record_ext.rb +77 -0
  80. data/lib/card/auth.rb +181 -0
  81. data/lib/card/cache.rb +199 -0
  82. data/lib/card/chunk.rb +104 -0
  83. data/lib/card/codename.rb +72 -0
  84. data/lib/card/content.rb +211 -0
  85. data/lib/card/core_ext.rb +105 -0
  86. data/lib/card/core_migration.rb +6 -0
  87. data/lib/card/diff.rb +430 -0
  88. data/lib/card/env.rb +52 -0
  89. data/lib/card/exceptions.rb +44 -0
  90. data/lib/card/format.rb +563 -0
  91. data/lib/card/loader.rb +165 -0
  92. data/lib/card/log.rb +450 -0
  93. data/lib/card/mailer.rb +37 -0
  94. data/lib/card/migration.rb +145 -0
  95. data/lib/card/name.rb +45 -0
  96. data/lib/card/query.rb +81 -0
  97. data/lib/card/query/card_clause.rb +527 -0
  98. data/lib/card/query/clause.rb +21 -0
  99. data/lib/card/query/ref_clause.rb +47 -0
  100. data/lib/card/query/value_clause.rb +65 -0
  101. data/lib/card/reference.rb +63 -0
  102. data/lib/card/set.rb +369 -0
  103. data/lib/card/set_pattern.rb +168 -0
  104. data/lib/card/simplecov_helper.rb +61 -0
  105. data/lib/card/spec_helper.rb +68 -0
  106. data/lib/card/version.rb +9 -2
  107. data/lib/cardio.rb +145 -0
  108. data/lib/generators/card.rb +32 -0
  109. data/lib/generators/card/format/USAGE +9 -0
  110. data/lib/generators/card/format/format_generator.rb +27 -0
  111. data/lib/generators/card/format/templates/format_spec_template.erb +5 -0
  112. data/lib/generators/card/format/templates/format_template.erb +3 -0
  113. data/lib/generators/card/migration/USAGE +24 -0
  114. data/lib/generators/card/migration/migration_generator.rb +38 -0
  115. data/lib/generators/card/migration/templates/card_migration.erb +10 -0
  116. data/lib/generators/card/set/USAGE +15 -0
  117. data/lib/generators/card/set/set_generator.rb +29 -0
  118. data/lib/generators/card/set/templates/set_spec_template.erb +5 -0
  119. data/lib/generators/card/set/templates/set_template.erb +1 -0
  120. data/mod/01_core/chunk/include.rb +85 -0
  121. data/mod/01_core/chunk/link.rb +87 -0
  122. data/mod/01_core/chunk/literal.rb +24 -0
  123. data/mod/01_core/chunk/reference.rb +53 -0
  124. data/mod/01_core/chunk/uri.rb +135 -0
  125. data/mod/01_core/format/data_format.rb +2 -0
  126. data/mod/01_core/format/html_format.rb +129 -0
  127. data/mod/01_core/format/text_format.rb +10 -0
  128. data/mod/01_core/layout/blank.html +5 -0
  129. data/mod/01_core/layout/default.html +20 -0
  130. data/mod/01_core/layout/noside.html +16 -0
  131. data/mod/01_core/layout/pre.html +2 -0
  132. data/mod/01_core/layout/simple.html +5 -0
  133. data/mod/01_core/set/all/active_card.rb +35 -0
  134. data/mod/01_core/set/all/collection.rb +142 -0
  135. data/mod/01_core/set/all/content.rb +64 -0
  136. data/mod/01_core/set/all/erb.rb +11 -0
  137. data/mod/01_core/set/all/fetch.rb +228 -0
  138. data/mod/01_core/set/all/haml.rb +7 -0
  139. data/mod/01_core/set/all/initialize.rb +49 -0
  140. data/mod/01_core/set/all/name.rb +275 -0
  141. data/mod/01_core/set/all/pattern.rb +56 -0
  142. data/mod/01_core/set/all/permissions.rb +284 -0
  143. data/mod/01_core/set/all/phases.rb +185 -0
  144. data/mod/01_core/set/all/references.rb +118 -0
  145. data/mod/01_core/set/all/rules.rb +315 -0
  146. data/mod/01_core/set/all/states.rb +16 -0
  147. data/mod/01_core/set/all/templating.rb +120 -0
  148. data/mod/01_core/set/all/tracked_attributes.rb +114 -0
  149. data/mod/01_core/set/all/trash.rb +50 -0
  150. data/mod/01_core/set/all/type.rb +85 -0
  151. data/mod/01_core/set/all/utils.rb +85 -0
  152. data/mod/01_core/set_pattern/01_all.rb +11 -0
  153. data/mod/01_core/set_pattern/02_all_plus.rb +13 -0
  154. data/mod/01_core/set_pattern/03_type.rb +23 -0
  155. data/mod/01_core/set_pattern/04_star.rb +15 -0
  156. data/mod/01_core/set_pattern/05_rstar.rb +17 -0
  157. data/mod/01_core/set_pattern/06_right.rb +20 -0
  158. data/mod/01_core/set_pattern/07_type_plus_right.rb +23 -0
  159. data/mod/01_core/set_pattern/08_self.rb +19 -0
  160. data/mod/01_core/spec/chunk/literal_spec.rb +14 -0
  161. data/mod/01_core/spec/chunk/uri_spec.rb +292 -0
  162. data/mod/01_core/spec/format/data_format_spec.rb +5 -0
  163. data/mod/01_core/spec/format/html_format_spec.rb +140 -0
  164. data/mod/01_core/spec/format/text_format_spec.rb +5 -0
  165. data/mod/01_core/spec/set/all/active_card_spec.rb +5 -0
  166. data/mod/01_core/spec/set/all/attribute_tracking_spec.rb +21 -0
  167. data/mod/01_core/spec/set/all/collection_spec.rb +65 -0
  168. data/mod/01_core/spec/set/all/content_spec.rb +15 -0
  169. data/mod/01_core/spec/set/all/fetch_spec.rb +204 -0
  170. data/mod/01_core/spec/set/all/initialize_spec.rb +58 -0
  171. data/mod/01_core/spec/set/all/name_spec.rb +61 -0
  172. data/mod/01_core/spec/set/all/pattern_spec.rb +81 -0
  173. data/mod/01_core/spec/set/all/permissions_spec.rb +505 -0
  174. data/mod/01_core/spec/set/all/phases_spec.rb +6 -0
  175. data/mod/01_core/spec/set/all/references_spec.rb +8 -0
  176. data/mod/01_core/spec/set/all/rules2_spec.rb +250 -0
  177. data/mod/01_core/spec/set/all/rules_spec.rb +130 -0
  178. data/mod/01_core/spec/set/all/states_spec.rb +5 -0
  179. data/mod/01_core/spec/set/all/templating_spec.rb +111 -0
  180. data/mod/01_core/spec/set/all/tracked_attributes_spec.rb +328 -0
  181. data/mod/01_core/spec/set/all/trash_spec.rb +34 -0
  182. data/mod/01_core/spec/set/all/type_spec.rb +71 -0
  183. data/mod/01_core/spec/set/all/utils_spec.rb +5 -0
  184. data/mod/01_history/lib/card/act.rb +60 -0
  185. data/mod/01_history/lib/card/action.rb +176 -0
  186. data/mod/01_history/lib/card/change.rb +29 -0
  187. data/mod/01_history/set/all/actions.rb +47 -0
  188. data/mod/01_history/set/all/content_history.rb +131 -0
  189. data/mod/01_history/set/all/history.rb +296 -0
  190. data/mod/02_basic_types/format/css_format.rb +6 -0
  191. data/mod/02_basic_types/format/csv_format.rb +6 -0
  192. data/mod/02_basic_types/format/file_format.rb +3 -0
  193. data/mod/02_basic_types/format/js_format.rb +6 -0
  194. data/mod/02_basic_types/format/json_format.rb +6 -0
  195. data/mod/02_basic_types/format/rss_format.rb +11 -0
  196. data/mod/02_basic_types/format/xml_format.rb +6 -0
  197. data/mod/02_basic_types/set/all/all_css.rb +42 -0
  198. data/mod/02_basic_types/set/all/all_csv.rb +52 -0
  199. data/mod/02_basic_types/set/all/all_js.rb +7 -0
  200. data/mod/02_basic_types/set/all/base.rb +122 -0
  201. data/mod/02_basic_types/set/all/file.rb +13 -0
  202. data/mod/02_basic_types/set/all/json.rb +66 -0
  203. data/mod/02_basic_types/set/all/rss.rb +72 -0
  204. data/mod/02_basic_types/set/all/text.rb +8 -0
  205. data/mod/02_basic_types/set/type/plain_text.rb +10 -0
  206. data/mod/02_basic_types/set/type/pointer.rb +323 -0
  207. data/mod/02_basic_types/spec/set/all/all_css_spec.rb +10 -0
  208. data/mod/02_basic_types/spec/set/all/all_csv_spec.rb +9 -0
  209. data/mod/02_basic_types/spec/set/all/base_spec.rb +57 -0
  210. data/mod/02_basic_types/spec/set/all/file_spec.rb +5 -0
  211. data/mod/02_basic_types/spec/set/all/json_spec.rb +26 -0
  212. data/mod/02_basic_types/spec/set/all/rss_spec.rb +8 -0
  213. data/mod/02_basic_types/spec/set/all/text_spec.rb +5 -0
  214. data/mod/02_basic_types/spec/set/type/plain_text_spec.rb +11 -0
  215. data/mod/02_basic_types/spec/set/type/pointer_spec.rb +103 -0
  216. data/mod/03_machines/lib/card/machine.rb +185 -0
  217. data/mod/03_machines/lib/card/machine_input.rb +40 -0
  218. data/mod/03_machines/lib/javascript/ace.js +18204 -0
  219. data/mod/03_machines/lib/javascript/html5shiv-printshiv.js +1 -0
  220. data/mod/03_machines/lib/javascript/jquery-ui.js +14913 -0
  221. data/mod/03_machines/lib/javascript/jquery.autosize.js +274 -0
  222. data/mod/03_machines/lib/javascript/jquery.fileupload.js +1114 -0
  223. data/mod/03_machines/lib/javascript/jquery.iframe-transport.js +185 -0
  224. data/mod/03_machines/lib/javascript/jquery.js +4 -0
  225. data/mod/03_machines/lib/javascript/jquery.ui.autocomplete.html.js +41 -0
  226. data/mod/03_machines/lib/javascript/jquery_ujs.js +469 -0
  227. data/mod/03_machines/lib/javascript/jquerymobile.js +15454 -0
  228. data/mod/03_machines/lib/javascript/theme-textmate.js +130 -0
  229. data/mod/03_machines/lib/javascript/tinymce.js +13 -0
  230. data/mod/03_machines/lib/javascript/wagn.js.coffee +336 -0
  231. data/mod/03_machines/lib/javascript/wagn_menu.js +72 -0
  232. data/mod/03_machines/lib/javascript/wagn_mod.js.coffee +446 -0
  233. data/mod/03_machines/lib/stylesheets/functional.scss +184 -0
  234. data/mod/03_machines/lib/stylesheets/jquery-ui-smoothness.css +1178 -0
  235. data/mod/03_machines/lib/stylesheets/standard.scss +760 -0
  236. data/mod/03_machines/set/right/machine_output.rb +20 -0
  237. data/mod/03_machines/set/self/script_ace.rb +8 -0
  238. data/mod/03_machines/set/self/script_card_menu.rb +8 -0
  239. data/mod/03_machines/set/self/script_html5shiv_printshiv.rb +7 -0
  240. data/mod/03_machines/set/self/script_jquery.rb +8 -0
  241. data/mod/03_machines/set/self/script_jquery_helper.rb +14 -0
  242. data/mod/03_machines/set/self/script_slot.rb +9 -0
  243. data/mod/03_machines/set/self/script_tinymce.rb +8 -0
  244. data/mod/03_machines/set/self/style_functional.rb +8 -0
  245. data/mod/03_machines/set/self/style_jquery_ui_smoothness.rb +8 -0
  246. data/mod/03_machines/set/self/style_standard.rb +8 -0
  247. data/mod/03_machines/set/type/coffee_script.rb +61 -0
  248. data/mod/03_machines/set/type/css.rb +45 -0
  249. data/mod/03_machines/set/type/java_script.rb +38 -0
  250. data/mod/03_machines/set/type/scss.rb +23 -0
  251. data/mod/03_machines/set/type/skin.rb +12 -0
  252. data/mod/03_machines/spec/lib/shared_machine_examples.rb +175 -0
  253. data/mod/03_machines/spec/lib/shared_machine_input_examples.rb +65 -0
  254. data/mod/03_machines/spec/set/right/machine_output_spec.rb +5 -0
  255. data/mod/03_machines/spec/set/self/style_functional_spec.rb +5 -0
  256. data/mod/03_machines/spec/set/self/style_jquery_ui_smoothness_spec.rb +5 -0
  257. data/mod/03_machines/spec/set/self/style_standard_spec.rb +5 -0
  258. data/mod/03_machines/spec/set/type/coffeescript_spec.rb +29 -0
  259. data/mod/03_machines/spec/set/type/css_spec.rb +34 -0
  260. data/mod/03_machines/spec/set/type/javascript_spec.rb +28 -0
  261. data/mod/03_machines/spec/set/type/scss_spec.rb +56 -0
  262. data/mod/03_machines/spec/set/type/skin_spec.rb +70 -0
  263. data/mod/04_settings/lib/card/setting.rb +65 -0
  264. data/mod/04_settings/set/right/add_help.rb +11 -0
  265. data/mod/04_settings/set/right/comment.rb +91 -0
  266. data/mod/04_settings/set/right/create.rb +3 -0
  267. data/mod/04_settings/set/right/default.rb +3 -0
  268. data/mod/04_settings/set/right/delete.rb +4 -0
  269. data/mod/04_settings/set/right/help.rb +3 -0
  270. data/mod/04_settings/set/right/read.rb +2 -0
  271. data/mod/04_settings/set/right/script.rb +10 -0
  272. data/mod/04_settings/set/right/structure.rb +4 -0
  273. data/mod/04_settings/set/right/style.rb +10 -0
  274. data/mod/04_settings/set/right/update.rb +2 -0
  275. data/mod/04_settings/set/self/accountable.rb +3 -0
  276. data/mod/04_settings/set/self/add_help.rb +2 -0
  277. data/mod/04_settings/set/self/autoname.rb +2 -0
  278. data/mod/04_settings/set/self/captcha.rb +2 -0
  279. data/mod/04_settings/set/self/comment.rb +2 -0
  280. data/mod/04_settings/set/self/create.rb +2 -0
  281. data/mod/04_settings/set/self/default.rb +2 -0
  282. data/mod/04_settings/set/self/delete.rb +2 -0
  283. data/mod/04_settings/set/self/help.rb +2 -0
  284. data/mod/04_settings/set/self/input.rb +2 -0
  285. data/mod/04_settings/set/self/layout.rb +2 -0
  286. data/mod/04_settings/set/self/on_create.rb +2 -0
  287. data/mod/04_settings/set/self/on_delete.rb +2 -0
  288. data/mod/04_settings/set/self/on_update.rb +2 -0
  289. data/mod/04_settings/set/self/options.rb +2 -0
  290. data/mod/04_settings/set/self/options_label.rb +2 -0
  291. data/mod/04_settings/set/self/read.rb +2 -0
  292. data/mod/04_settings/set/self/script.rb +2 -0
  293. data/mod/04_settings/set/self/structure.rb +2 -0
  294. data/mod/04_settings/set/self/style.rb +2 -0
  295. data/mod/04_settings/set/self/table_of_contents.rb +2 -0
  296. data/mod/04_settings/set/self/thanks.rb +2 -0
  297. data/mod/04_settings/set/self/update.rb +2 -0
  298. data/mod/04_settings/set/type/setting.rb +82 -0
  299. data/mod/04_settings/spec/set/right/add_help_spec.rb +5 -0
  300. data/mod/04_settings/spec/set/right/comment_spec.rb +41 -0
  301. data/mod/04_settings/spec/set/right/create_spec.rb +10 -0
  302. data/mod/04_settings/spec/set/right/default_spec.rb +5 -0
  303. data/mod/04_settings/spec/set/right/delete_spec.rb +5 -0
  304. data/mod/04_settings/spec/set/right/help_spec.rb +5 -0
  305. data/mod/04_settings/spec/set/right/read_spec.rb +5 -0
  306. data/mod/04_settings/spec/set/right/script_spec.rb +24 -0
  307. data/mod/04_settings/spec/set/right/structure_spec.rb +17 -0
  308. data/mod/04_settings/spec/set/right/style_spec.rb +29 -0
  309. data/mod/04_settings/spec/set/right/update_spec.rb +5 -0
  310. data/mod/04_settings/spec/set/type/setting_spec.rb +10 -0
  311. data/mod/05_email/format/email_html_format.rb +9 -0
  312. data/mod/05_email/format/email_text_format.rb +11 -0
  313. data/mod/05_email/lib/card/follow_option.rb +90 -0
  314. data/mod/05_email/set/all/email_html.rb +5 -0
  315. data/mod/05_email/set/all/email_text.rb +5 -0
  316. data/mod/05_email/set/all/follow.rb +256 -0
  317. data/mod/05_email/set/all/notify.rb +223 -0
  318. data/mod/05_email/set/all/observer.rb +27 -0
  319. data/mod/05_email/set/right/bcc.rb +45 -0
  320. data/mod/05_email/set/right/cc.rb +3 -0
  321. data/mod/05_email/set/right/follow.rb +9 -0
  322. data/mod/05_email/set/right/follow_fields.rb +3 -0
  323. data/mod/05_email/set/right/followers.rb +30 -0
  324. data/mod/05_email/set/right/following.rb +52 -0
  325. data/mod/05_email/set/right/from.rb +3 -0
  326. data/mod/05_email/set/right/html_message.rb +3 -0
  327. data/mod/05_email/set/right/to.rb +3 -0
  328. data/mod/05_email/set/self/always.rb +14 -0
  329. data/mod/05_email/set/self/created.rb +21 -0
  330. data/mod/05_email/set/self/edited.rb +24 -0
  331. data/mod/05_email/set/self/follow.rb +2 -0
  332. data/mod/05_email/set/self/follow_defaults.rb +66 -0
  333. data/mod/05_email/set/self/never.rb +15 -0
  334. data/mod/05_email/set/type/email_template.rb +113 -0
  335. data/mod/05_email/set/type_plus_right/user/follow.rb +176 -0
  336. data/mod/05_email/spec/set/all/follow_spec.rb +133 -0
  337. data/mod/05_email/spec/set/all/notify_spec.rb +364 -0
  338. data/mod/05_email/spec/set/all/observer_spec.rb +76 -0
  339. data/mod/05_email/spec/set/right/followers_spec.rb +126 -0
  340. data/mod/05_email/spec/set/right/following_spec.rb +4 -0
  341. data/mod/05_email/spec/set/self/follow_defaults_spec.rb +18 -0
  342. data/mod/05_standard/file/103/icon-6566.ico +0 -0
  343. data/mod/05_standard/file/103/large-6566.ico +0 -0
  344. data/mod/05_standard/file/103/medium-6566.ico +0 -0
  345. data/mod/05_standard/file/103/original-6566.ico +0 -0
  346. data/mod/05_standard/file/103/small-6566.ico +0 -0
  347. data/mod/05_standard/file/79/icon-6556.png +0 -0
  348. data/mod/05_standard/file/79/large-6556.png +0 -0
  349. data/mod/05_standard/file/79/medium-6556.png +0 -0
  350. data/mod/05_standard/file/79/original-6556.png +0 -0
  351. data/mod/05_standard/file/79/small-6556.png +0 -0
  352. data/mod/05_standard/file/790/icon-6419.png +0 -0
  353. data/mod/05_standard/file/790/large-6419.png +0 -0
  354. data/mod/05_standard/file/790/medium-6419.png +0 -0
  355. data/mod/05_standard/file/790/original-6419.png +0 -0
  356. data/mod/05_standard/file/790/small-6419.png +0 -0
  357. data/mod/05_standard/set/all/account.rb +67 -0
  358. data/mod/05_standard/set/all/attach.rb +152 -0
  359. data/mod/05_standard/set/all/comment.rb +39 -0
  360. data/mod/05_standard/set/all/error.rb +214 -0
  361. data/mod/05_standard/set/all/event_viz.rb +62 -0
  362. data/mod/05_standard/set/all/links.rb +110 -0
  363. data/mod/05_standard/set/all/rich_html/content.rb +173 -0
  364. data/mod/05_standard/set/all/rich_html/editing.rb +145 -0
  365. data/mod/05_standard/set/all/rich_html/form.rb +234 -0
  366. data/mod/05_standard/set/all/rich_html/header.rb +64 -0
  367. data/mod/05_standard/set/all/rich_html/wrapper.rb +105 -0
  368. data/mod/05_standard/set/right/account.rb +180 -0
  369. data/mod/05_standard/set/right/email.rb +52 -0
  370. data/mod/05_standard/set/right/password.rb +39 -0
  371. data/mod/05_standard/set/right/salt.rb +5 -0
  372. data/mod/05_standard/set/right/stats.rb +35 -0
  373. data/mod/05_standard/set/right/status.rb +9 -0
  374. data/mod/05_standard/set/right/token.rb +5 -0
  375. data/mod/05_standard/set/right/when_created.rb +5 -0
  376. data/mod/05_standard/set/right/when_last_edited.rb +5 -0
  377. data/mod/05_standard/set/rstar/rules.rb +407 -0
  378. data/mod/05_standard/set/self/account_links.rb +61 -0
  379. data/mod/05_standard/set/self/alerts.rb +5 -0
  380. data/mod/05_standard/set/self/all.rb +21 -0
  381. data/mod/05_standard/set/self/foot.rb +8 -0
  382. data/mod/05_standard/set/self/head.rb +121 -0
  383. data/mod/05_standard/set/self/navbox.rb +20 -0
  384. data/mod/05_standard/set/self/now.rb +6 -0
  385. data/mod/05_standard/set/self/recent.rb +48 -0
  386. data/mod/05_standard/set/self/search.rb +43 -0
  387. data/mod/05_standard/set/self/signin.rb +121 -0
  388. data/mod/05_standard/set/self/stats.rb +91 -0
  389. data/mod/05_standard/set/self/version.rb +9 -0
  390. data/mod/05_standard/set/type/basic.rb +46 -0
  391. data/mod/05_standard/set/type/cardtype.rb +43 -0
  392. data/mod/05_standard/set/type/date.rb +8 -0
  393. data/mod/05_standard/set/type/file.rb +85 -0
  394. data/mod/05_standard/set/type/html.rb +22 -0
  395. data/mod/05_standard/set/type/image.rb +67 -0
  396. data/mod/05_standard/set/type/layout_type.rb +14 -0
  397. data/mod/05_standard/set/type/number.rb +19 -0
  398. data/mod/05_standard/set/type/phrase.rb +3 -0
  399. data/mod/05_standard/set/type/search_type.rb +243 -0
  400. data/mod/05_standard/set/type/set.rb +198 -0
  401. data/mod/05_standard/set/type/signup.rb +144 -0
  402. data/mod/05_standard/set/type/toggle.rb +12 -0
  403. data/mod/05_standard/set/type/uri.rb +11 -0
  404. data/mod/05_standard/set/type/user.rb +72 -0
  405. data/mod/05_standard/spec/chunk/include_spec.rb +186 -0
  406. data/mod/05_standard/spec/chunk/link_spec.rb +61 -0
  407. data/mod/05_standard/spec/format/css_format_spec.rb +5 -0
  408. data/mod/05_standard/spec/format/csv_format_spec.rb +5 -0
  409. data/mod/05_standard/spec/format/email_html_format_spec.rb +5 -0
  410. data/mod/05_standard/spec/format/file_format_spec.rb +5 -0
  411. data/mod/05_standard/spec/format/js_format_spec.rb +5 -0
  412. data/mod/05_standard/spec/format/json_format_spec.rb +5 -0
  413. data/mod/05_standard/spec/format/rss_format_spec.rb +5 -0
  414. data/mod/05_standard/spec/format/xml_format_spec.rb +5 -0
  415. data/mod/05_standard/spec/set/all/account_spec.rb +137 -0
  416. data/mod/05_standard/spec/set/all/attach_spec.rb +9 -0
  417. data/mod/05_standard/spec/set/all/comment_spec.rb +5 -0
  418. data/mod/05_standard/spec/set/all/email_html_spec.rb +15 -0
  419. data/mod/05_standard/spec/set/all/error_spec.rb +9 -0
  420. data/mod/05_standard/spec/set/all/event_viz_spec.rb +9 -0
  421. data/mod/05_standard/spec/set/all/history_spec.rb +173 -0
  422. data/mod/05_standard/spec/set/all/rich_html/form_spec.rb +43 -0
  423. data/mod/05_standard/spec/set/all/rich_html/wrapper_spec.rb +28 -0
  424. data/mod/05_standard/spec/set/right/account_spec.rb +162 -0
  425. data/mod/05_standard/spec/set/right/email_spec.rb +55 -0
  426. data/mod/05_standard/spec/set/right/password_spec.rb +45 -0
  427. data/mod/05_standard/spec/set/right/salt_spec.rb +5 -0
  428. data/mod/05_standard/spec/set/right/stats_spec.rb +13 -0
  429. data/mod/05_standard/spec/set/right/status_spec.rb +5 -0
  430. data/mod/05_standard/spec/set/right/token_spec.rb +5 -0
  431. data/mod/05_standard/spec/set/right/when_created_spec.rb +7 -0
  432. data/mod/05_standard/spec/set/right/when_last_edited_spec.rb +7 -0
  433. data/mod/05_standard/spec/set/rstar/rules_spec.rb +25 -0
  434. data/mod/05_standard/spec/set/self/account_links_spec.rb +9 -0
  435. data/mod/05_standard/spec/set/self/alerts_spec.rb +5 -0
  436. data/mod/05_standard/spec/set/self/all_spec.rb +48 -0
  437. data/mod/05_standard/spec/set/self/foot_spec.rb +5 -0
  438. data/mod/05_standard/spec/set/self/head_spec.rb +17 -0
  439. data/mod/05_standard/spec/set/self/navbox_spec.rb +7 -0
  440. data/mod/05_standard/spec/set/self/now_spec.rb +7 -0
  441. data/mod/05_standard/spec/set/self/recent_spec.rb +5 -0
  442. data/mod/05_standard/spec/set/self/search_spec.rb +5 -0
  443. data/mod/05_standard/spec/set/self/signin_spec.rb +73 -0
  444. data/mod/05_standard/spec/set/self/stats_spec.rb +12 -0
  445. data/mod/05_standard/spec/set/self/version_spec.rb +7 -0
  446. data/mod/05_standard/spec/set/type/basic_spec.rb +5 -0
  447. data/mod/05_standard/spec/set/type/cardtype_spec.rb +5 -0
  448. data/mod/05_standard/spec/set/type/date_spec.rb +7 -0
  449. data/mod/05_standard/spec/set/type/email_template_spec.rb +208 -0
  450. data/mod/05_standard/spec/set/type/file_spec.rb +5 -0
  451. data/mod/05_standard/spec/set/type/html_spec.rb +23 -0
  452. data/mod/05_standard/spec/set/type/image_spec.rb +16 -0
  453. data/mod/05_standard/spec/set/type/layout_type_spec.rb +7 -0
  454. data/mod/05_standard/spec/set/type/number_spec.rb +7 -0
  455. data/mod/05_standard/spec/set/type/phrase_spec.rb +7 -0
  456. data/mod/05_standard/spec/set/type/search_type_spec.rb +27 -0
  457. data/mod/05_standard/spec/set/type/set_spec.rb +26 -0
  458. data/mod/05_standard/spec/set/type/signup_spec.rb +228 -0
  459. data/mod/05_standard/spec/set/type/toggle_spec.rb +12 -0
  460. data/mod/05_standard/spec/set/type/uri_spec.rb +41 -0
  461. data/mod/05_standard/spec/set/type/user_spec.rb +5 -0
  462. data/mod/06_bootstrap/lib/javascript/bootstrap.js +2306 -0
  463. data/mod/06_bootstrap/lib/javascript/bootstrap.min.js +7 -0
  464. data/mod/06_bootstrap/lib/stylesheets/bootstrap-theme.css +476 -0
  465. data/mod/06_bootstrap/lib/stylesheets/bootstrap.css +6565 -0
  466. data/mod/06_bootstrap/lib/stylesheets/darkly.css +6583 -0
  467. data/mod/06_bootstrap/set/all/bootstrap/form.rb +37 -0
  468. data/mod/06_bootstrap/set/all/bootstrap/header.rb +29 -0
  469. data/mod/06_bootstrap/set/all/bootstrap/wrapper.rb +12 -0
  470. data/mod/06_bootstrap/set/all/rich_bootstrap.rb +28 -0
  471. data/mod/06_bootstrap/set/self/bootstrap_css.rb +7 -0
  472. data/mod/06_bootstrap/set/self/bootstrap_js.rb +7 -0
  473. data/mod/06_bootstrap/set/self/bootstrap_theme_css.rb +7 -0
  474. data/mod/06_bootstrap/set/self/navbox.rb +32 -0
  475. data/mod/06_bootstrap/set/type/search_type.rb +79 -0
  476. data/mod/06_bootstrap/spec/set/all/bootstrap/form_spec.rb +13 -0
  477. data/spec/lib/card/action_spec.rb +14 -0
  478. data/spec/lib/card/auth_spec.rb +17 -0
  479. data/spec/lib/card/cache_spec.rb +122 -0
  480. data/spec/lib/card/chunk_spec.rb +17 -0
  481. data/spec/lib/card/codename_spec.rb +25 -0
  482. data/spec/lib/card/content_spec.rb +314 -0
  483. data/spec/lib/card/diff_spec.rb +210 -0
  484. data/spec/lib/card/format_spec.rb +82 -0
  485. data/spec/lib/card/loader_spec.rb +39 -0
  486. data/spec/lib/card/log_spec.rb +270 -0
  487. data/spec/lib/card/name_spec.rb +279 -0
  488. data/spec/lib/card/query_spec.rb +456 -0
  489. data/spec/lib/card/reference_spec.rb +213 -0
  490. data/spec/lib/card/set_pattern_spec.rb +56 -0
  491. data/spec/lib/card/set_spec.rb +88 -0
  492. data/spec/mailers/mailer_spec.rb +64 -0
  493. data/spec/models/card/cardtype_spec.rb +216 -0
  494. data/spec/models/card/create_spec.rb +82 -0
  495. data/spec/models/card/trash_spec.rb +260 -0
  496. data/spec/models/card/type_transition_spec.rb +161 -0
  497. data/spec/models/card/validation_spec.rb +36 -0
  498. data/spec/models/card_spec.rb +177 -0
  499. data/spec/spec_helper.rb +130 -0
  500. data/test/fixtures/.gitkeep +0 -0
  501. data/test/fixtures/card_actions.yml +5706 -0
  502. data/test/fixtures/card_acts.yml +835 -0
  503. data/test/fixtures/card_changes.yml +17182 -0
  504. data/test/fixtures/card_references.yml +5405 -0
  505. data/test/fixtures/cards.yml +15533 -0
  506. data/test/fixtures/mao2.jpg +0 -0
  507. data/test/fixtures/rails.gif +0 -0
  508. data/test/seed.rb +201 -0
  509. metadata +762 -38
  510. data/.gitignore +0 -17
  511. data/Gemfile +0 -4
  512. data/LICENSE.txt +0 -22
  513. data/README.md +0 -29
  514. data/Rakefile +0 -1
@@ -0,0 +1,184 @@
1
+ /*!!
2
+ ~~~~~~~~~~~~~~~~~~~~
3
+ * Wagn: [[http://wagn.org]]
4
+ * Copyright 2013 Grass Commons and other contributors; Licensed GPL
5
+ */
6
+
7
+ /*
8
+ This "functional" CSS is generally needed for Wagn views to behave as advertised.
9
+ Without the following, menus will be barely usable, "closed" view will not appear on one line,
10
+ and certain hidden information will show up.
11
+
12
+ Only the following CSS properties are governed here:
13
+ display
14
+ overflow
15
+ white-space
16
+ word-wrap
17
+ position
18
+ z-index
19
+ float
20
+ clear
21
+ }
22
+
23
+ Note that this CSS is taken from code so that it will be updated automatically with releases.
24
+ If you don't want certain rules, you may (a) override them, or (b) choose not to include this card
25
+ in your skin. Choosing (b) will mean your CSS will not be affected by automated updates.
26
+ */
27
+
28
+ /* -- resets -- */
29
+
30
+ .card-frame,
31
+ .card-body,
32
+ .ALL {
33
+ overflow: auto;
34
+ white-space: normal;
35
+ }
36
+
37
+ /* NOTE: we recommend against styling ".card-slot", which is heavily used by javascript */
38
+
39
+
40
+ /* -- hidden info -- */
41
+
42
+ .ui-loader,
43
+ .card-notice,
44
+ .new-current-revision-id,
45
+ .editor .revision-navigation,
46
+ .editor .autosave-alert,
47
+ .confirm_rename-view,
48
+ .renamer-updater,
49
+ .confirm_update_all-view,
50
+ .follow-updater,
51
+ .admin-error-message,
52
+ .labeled-view .card-menu-link {
53
+ display: none
54
+ }
55
+
56
+
57
+ /* -- card-headers and menus--*/
58
+
59
+ .card-header {
60
+ .card-header-title {
61
+ display: inline-block;
62
+ overflow: hidden;
63
+ }
64
+ .toggler {
65
+ display: inline-block;
66
+ position: relative;
67
+ }
68
+ }
69
+ .card-menu {
70
+ display: none;
71
+ position: absolute;
72
+ z-index: 1;
73
+ li {
74
+ white-space: nowrap;
75
+ }
76
+ }
77
+ .card-menu-link {
78
+ margin-left: 5px;
79
+ display: inline-block;
80
+ float: right;
81
+ }
82
+
83
+
84
+ /*-- closed and labeled views --*/
85
+
86
+ .closed-view {
87
+ white-space: nowrap !important;
88
+ overflow: hidden;
89
+ .card-header {
90
+ display: inline-block;
91
+ }
92
+ }
93
+ .closed-content {
94
+ display: inline;
95
+ white-space: nowrap !important;
96
+
97
+ table, thead, tbody, tr, th, td, p, h1, h2, h3, h4, h5, h6, ul, li, pre, ol, div, span, a, blockquote, img, label, i {
98
+ display: inline !important;
99
+ white-space: nowrap !important;
100
+ float: none !important;
101
+ }
102
+ br, hr, input, textarea, object {
103
+ display: none !important;
104
+ }
105
+ }
106
+
107
+ .labeled-view:hover .card-menu-link {
108
+ display: inline-block;
109
+ }
110
+
111
+ /* -- change view --*/
112
+
113
+ .change-view {
114
+ clear: both;
115
+ .last-update {
116
+ float:right;
117
+ text-align: right;
118
+ a {
119
+ white-space: nowrap;
120
+ }
121
+ }
122
+ }
123
+
124
+
125
+
126
+ /* -- template-editor (editing template rule inclusions inline) -- */
127
+
128
+ .template_editor-view > div {
129
+ float: left;
130
+ }
131
+ .template-editor-close {
132
+ float: right;
133
+ }
134
+ .template_link-view {
135
+ display: inline;
136
+ }
137
+
138
+
139
+
140
+ fieldset {
141
+ clear: both;
142
+ float: none !important;
143
+ > .button-area,
144
+ > .editor {
145
+ float: right;
146
+ }
147
+ > legend {
148
+ white-space: inherit;
149
+ float:left;
150
+ }
151
+ }
152
+
153
+ .navbox-item-label {
154
+ float: left;
155
+ position: relative;
156
+ }
157
+
158
+
159
+ /*-- misc --*/
160
+ .card-editor {
161
+ white-space: normal;
162
+ }
163
+ pre,
164
+ .TYPE-plain_text.card-content,
165
+ .SELF-Xhead.card-content {
166
+ white-space: pre-wrap; /* css-3 */
167
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
168
+ white-space: -pre-wrap; /* Opera 4-6 */
169
+ white-space: -o-pre-wrap; /* Opera 7 */
170
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
171
+ }
172
+ .missing-view a {
173
+ display: inline;
174
+ }
175
+
176
+ .SELF-Xstat > .card-content {
177
+ table {
178
+ width: 100%;
179
+ }
180
+ tr:nth-child(even) {
181
+ background: #eee;
182
+ }
183
+ }
184
+
@@ -0,0 +1,1178 @@
1
+ /*! jQuery UI - v1.10.4 - 2014-03-19
2
+ * http://jqueryui.com
3
+ * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
5
+ * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
6
+
7
+ /* Layout helpers
8
+ ----------------------------------*/
9
+ .ui-helper-hidden {
10
+ display: none;
11
+ }
12
+ .ui-helper-hidden-accessible {
13
+ border: 0;
14
+ clip: rect(0 0 0 0);
15
+ height: 1px;
16
+ margin: -1px;
17
+ overflow: hidden;
18
+ padding: 0;
19
+ position: absolute;
20
+ width: 1px;
21
+ }
22
+ .ui-helper-reset {
23
+ margin: 0;
24
+ padding: 0;
25
+ border: 0;
26
+ outline: 0;
27
+ line-height: 1.3;
28
+ text-decoration: none;
29
+ font-size: 100%;
30
+ list-style: none;
31
+ }
32
+ .ui-helper-clearfix:before,
33
+ .ui-helper-clearfix:after {
34
+ content: "";
35
+ display: table;
36
+ border-collapse: collapse;
37
+ }
38
+ .ui-helper-clearfix:after {
39
+ clear: both;
40
+ }
41
+ .ui-helper-clearfix {
42
+ min-height: 0; /* support: IE7 */
43
+ }
44
+ .ui-helper-zfix {
45
+ width: 100%;
46
+ height: 100%;
47
+ top: 0;
48
+ left: 0;
49
+ position: absolute;
50
+ opacity: 0;
51
+ filter:Alpha(Opacity=0);
52
+ }
53
+
54
+ .ui-front {
55
+ z-index: 100;
56
+ }
57
+
58
+
59
+ /* Interaction Cues
60
+ ----------------------------------*/
61
+ .ui-state-disabled {
62
+ cursor: default !important;
63
+ }
64
+
65
+
66
+ /* Icons
67
+ ----------------------------------*/
68
+
69
+ /* states and images */
70
+ .ui-icon {
71
+ display: block;
72
+ text-indent: -99999px;
73
+ overflow: hidden;
74
+ background-repeat: no-repeat;
75
+ }
76
+
77
+
78
+ /* Misc visuals
79
+ ----------------------------------*/
80
+
81
+ /* Overlays */
82
+ .ui-widget-overlay {
83
+ position: fixed;
84
+ top: 0;
85
+ left: 0;
86
+ width: 100%;
87
+ height: 100%;
88
+ }
89
+ .ui-resizable {
90
+ position: relative;
91
+ }
92
+ .ui-resizable-handle {
93
+ position: absolute;
94
+ font-size: 0.1px;
95
+ display: block;
96
+ }
97
+ .ui-resizable-disabled .ui-resizable-handle,
98
+ .ui-resizable-autohide .ui-resizable-handle {
99
+ display: none;
100
+ }
101
+ .ui-resizable-n {
102
+ cursor: n-resize;
103
+ height: 7px;
104
+ width: 100%;
105
+ top: -5px;
106
+ left: 0;
107
+ }
108
+ .ui-resizable-s {
109
+ cursor: s-resize;
110
+ height: 7px;
111
+ width: 100%;
112
+ bottom: -5px;
113
+ left: 0;
114
+ }
115
+ .ui-resizable-e {
116
+ cursor: e-resize;
117
+ width: 7px;
118
+ right: -5px;
119
+ top: 0;
120
+ height: 100%;
121
+ }
122
+ .ui-resizable-w {
123
+ cursor: w-resize;
124
+ width: 7px;
125
+ left: -5px;
126
+ top: 0;
127
+ height: 100%;
128
+ }
129
+ .ui-resizable-se {
130
+ cursor: se-resize;
131
+ width: 12px;
132
+ height: 12px;
133
+ right: 1px;
134
+ bottom: 1px;
135
+ }
136
+ .ui-resizable-sw {
137
+ cursor: sw-resize;
138
+ width: 9px;
139
+ height: 9px;
140
+ left: -5px;
141
+ bottom: -5px;
142
+ }
143
+ .ui-resizable-nw {
144
+ cursor: nw-resize;
145
+ width: 9px;
146
+ height: 9px;
147
+ left: -5px;
148
+ top: -5px;
149
+ }
150
+ .ui-resizable-ne {
151
+ cursor: ne-resize;
152
+ width: 9px;
153
+ height: 9px;
154
+ right: -5px;
155
+ top: -5px;
156
+ }
157
+ .ui-selectable-helper {
158
+ position: absolute;
159
+ z-index: 100;
160
+ border: 1px dotted black;
161
+ }
162
+ .ui-accordion .ui-accordion-header {
163
+ display: block;
164
+ cursor: pointer;
165
+ position: relative;
166
+ margin-top: 2px;
167
+ padding: .5em .5em .5em .7em;
168
+ min-height: 0; /* support: IE7 */
169
+ }
170
+ .ui-accordion .ui-accordion-icons {
171
+ padding-left: 2.2em;
172
+ }
173
+ .ui-accordion .ui-accordion-noicons {
174
+ padding-left: .7em;
175
+ }
176
+ .ui-accordion .ui-accordion-icons .ui-accordion-icons {
177
+ padding-left: 2.2em;
178
+ }
179
+ .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
180
+ position: absolute;
181
+ left: .5em;
182
+ top: 50%;
183
+ margin-top: -8px;
184
+ }
185
+ .ui-accordion .ui-accordion-content {
186
+ padding: 1em 2.2em;
187
+ border-top: 0;
188
+ overflow: auto;
189
+ }
190
+ .ui-autocomplete {
191
+ position: absolute;
192
+ top: 0;
193
+ left: 0;
194
+ cursor: default;
195
+ }
196
+ .ui-button {
197
+ display: inline-block;
198
+ position: relative;
199
+ padding: 0;
200
+ line-height: normal;
201
+ margin-right: .1em;
202
+ cursor: pointer;
203
+ vertical-align: middle;
204
+ text-align: center;
205
+ overflow: visible; /* removes extra width in IE */
206
+ }
207
+ .ui-button,
208
+ .ui-button:link,
209
+ .ui-button:visited,
210
+ .ui-button:hover,
211
+ .ui-button:active {
212
+ text-decoration: none;
213
+ }
214
+ /* to make room for the icon, a width needs to be set here */
215
+ .ui-button-icon-only {
216
+ width: 2.2em;
217
+ }
218
+ /* button elements seem to need a little more width */
219
+ button.ui-button-icon-only {
220
+ width: 2.4em;
221
+ }
222
+ .ui-button-icons-only {
223
+ width: 3.4em;
224
+ }
225
+ button.ui-button-icons-only {
226
+ width: 3.7em;
227
+ }
228
+
229
+ /* button text element */
230
+ .ui-button .ui-button-text {
231
+ display: block;
232
+ line-height: normal;
233
+ }
234
+ .ui-button-text-only .ui-button-text {
235
+ padding: .4em 1em;
236
+ }
237
+ .ui-button-icon-only .ui-button-text,
238
+ .ui-button-icons-only .ui-button-text {
239
+ padding: .4em;
240
+ text-indent: -9999999px;
241
+ }
242
+ .ui-button-text-icon-primary .ui-button-text,
243
+ .ui-button-text-icons .ui-button-text {
244
+ padding: .4em 1em .4em 2.1em;
245
+ }
246
+ .ui-button-text-icon-secondary .ui-button-text,
247
+ .ui-button-text-icons .ui-button-text {
248
+ padding: .4em 2.1em .4em 1em;
249
+ }
250
+ .ui-button-text-icons .ui-button-text {
251
+ padding-left: 2.1em;
252
+ padding-right: 2.1em;
253
+ }
254
+ /* no icon support for input elements, provide padding by default */
255
+ input.ui-button {
256
+ padding: .4em 1em;
257
+ }
258
+
259
+ /* button icon element(s) */
260
+ .ui-button-icon-only .ui-icon,
261
+ .ui-button-text-icon-primary .ui-icon,
262
+ .ui-button-text-icon-secondary .ui-icon,
263
+ .ui-button-text-icons .ui-icon,
264
+ .ui-button-icons-only .ui-icon {
265
+ position: absolute;
266
+ top: 50%;
267
+ margin-top: -8px;
268
+ }
269
+ .ui-button-icon-only .ui-icon {
270
+ left: 50%;
271
+ margin-left: -8px;
272
+ }
273
+ .ui-button-text-icon-primary .ui-button-icon-primary,
274
+ .ui-button-text-icons .ui-button-icon-primary,
275
+ .ui-button-icons-only .ui-button-icon-primary {
276
+ left: .5em;
277
+ }
278
+ .ui-button-text-icon-secondary .ui-button-icon-secondary,
279
+ .ui-button-text-icons .ui-button-icon-secondary,
280
+ .ui-button-icons-only .ui-button-icon-secondary {
281
+ right: .5em;
282
+ }
283
+
284
+ /* button sets */
285
+ .ui-buttonset {
286
+ margin-right: 7px;
287
+ }
288
+ .ui-buttonset .ui-button {
289
+ margin-left: 0;
290
+ margin-right: -.3em;
291
+ }
292
+
293
+ /* workarounds */
294
+ /* reset extra padding in Firefox, see h5bp.com/l */
295
+ input.ui-button::-moz-focus-inner,
296
+ button.ui-button::-moz-focus-inner {
297
+ border: 0;
298
+ padding: 0;
299
+ }
300
+ .ui-datepicker {
301
+ width: 17em;
302
+ padding: .2em .2em 0;
303
+ display: none;
304
+ }
305
+ .ui-datepicker .ui-datepicker-header {
306
+ position: relative;
307
+ padding: .2em 0;
308
+ }
309
+ .ui-datepicker .ui-datepicker-prev,
310
+ .ui-datepicker .ui-datepicker-next {
311
+ position: absolute;
312
+ top: 2px;
313
+ width: 1.8em;
314
+ height: 1.8em;
315
+ }
316
+ .ui-datepicker .ui-datepicker-prev-hover,
317
+ .ui-datepicker .ui-datepicker-next-hover {
318
+ top: 1px;
319
+ }
320
+ .ui-datepicker .ui-datepicker-prev {
321
+ left: 2px;
322
+ }
323
+ .ui-datepicker .ui-datepicker-next {
324
+ right: 2px;
325
+ }
326
+ .ui-datepicker .ui-datepicker-prev-hover {
327
+ left: 1px;
328
+ }
329
+ .ui-datepicker .ui-datepicker-next-hover {
330
+ right: 1px;
331
+ }
332
+ .ui-datepicker .ui-datepicker-prev span,
333
+ .ui-datepicker .ui-datepicker-next span {
334
+ display: block;
335
+ position: absolute;
336
+ left: 50%;
337
+ margin-left: -8px;
338
+ top: 50%;
339
+ margin-top: -8px;
340
+ }
341
+ .ui-datepicker .ui-datepicker-title {
342
+ margin: 0 2.3em;
343
+ line-height: 1.8em;
344
+ text-align: center;
345
+ }
346
+ .ui-datepicker .ui-datepicker-title select {
347
+ font-size: 1em;
348
+ margin: 1px 0;
349
+ }
350
+ .ui-datepicker select.ui-datepicker-month,
351
+ .ui-datepicker select.ui-datepicker-year {
352
+ width: 49%;
353
+ }
354
+ .ui-datepicker table {
355
+ width: 100%;
356
+ font-size: .9em;
357
+ border-collapse: collapse;
358
+ margin: 0 0 .4em;
359
+ }
360
+ .ui-datepicker th {
361
+ padding: .7em .3em;
362
+ text-align: center;
363
+ font-weight: bold;
364
+ border: 0;
365
+ }
366
+ .ui-datepicker td {
367
+ border: 0;
368
+ padding: 1px;
369
+ }
370
+ .ui-datepicker td span,
371
+ .ui-datepicker td a {
372
+ display: block;
373
+ padding: .2em;
374
+ text-align: right;
375
+ text-decoration: none;
376
+ }
377
+ .ui-datepicker .ui-datepicker-buttonpane {
378
+ background-image: none;
379
+ margin: .7em 0 0 0;
380
+ padding: 0 .2em;
381
+ border-left: 0;
382
+ border-right: 0;
383
+ border-bottom: 0;
384
+ }
385
+ .ui-datepicker .ui-datepicker-buttonpane button {
386
+ float: right;
387
+ margin: .5em .2em .4em;
388
+ cursor: pointer;
389
+ padding: .2em .6em .3em .6em;
390
+ width: auto;
391
+ overflow: visible;
392
+ }
393
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
394
+ float: left;
395
+ }
396
+
397
+ /* with multiple calendars */
398
+ .ui-datepicker.ui-datepicker-multi {
399
+ width: auto;
400
+ }
401
+ .ui-datepicker-multi .ui-datepicker-group {
402
+ float: left;
403
+ }
404
+ .ui-datepicker-multi .ui-datepicker-group table {
405
+ width: 95%;
406
+ margin: 0 auto .4em;
407
+ }
408
+ .ui-datepicker-multi-2 .ui-datepicker-group {
409
+ width: 50%;
410
+ }
411
+ .ui-datepicker-multi-3 .ui-datepicker-group {
412
+ width: 33.3%;
413
+ }
414
+ .ui-datepicker-multi-4 .ui-datepicker-group {
415
+ width: 25%;
416
+ }
417
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
418
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
419
+ border-left-width: 0;
420
+ }
421
+ .ui-datepicker-multi .ui-datepicker-buttonpane {
422
+ clear: left;
423
+ }
424
+ .ui-datepicker-row-break {
425
+ clear: both;
426
+ width: 100%;
427
+ font-size: 0;
428
+ }
429
+
430
+ /* RTL support */
431
+ .ui-datepicker-rtl {
432
+ direction: rtl;
433
+ }
434
+ .ui-datepicker-rtl .ui-datepicker-prev {
435
+ right: 2px;
436
+ left: auto;
437
+ }
438
+ .ui-datepicker-rtl .ui-datepicker-next {
439
+ left: 2px;
440
+ right: auto;
441
+ }
442
+ .ui-datepicker-rtl .ui-datepicker-prev:hover {
443
+ right: 1px;
444
+ left: auto;
445
+ }
446
+ .ui-datepicker-rtl .ui-datepicker-next:hover {
447
+ left: 1px;
448
+ right: auto;
449
+ }
450
+ .ui-datepicker-rtl .ui-datepicker-buttonpane {
451
+ clear: right;
452
+ }
453
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button {
454
+ float: left;
455
+ }
456
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
457
+ .ui-datepicker-rtl .ui-datepicker-group {
458
+ float: right;
459
+ }
460
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
461
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
462
+ border-right-width: 0;
463
+ border-left-width: 1px;
464
+ }
465
+ .ui-dialog {
466
+ overflow: hidden;
467
+ position: absolute;
468
+ top: 0;
469
+ left: 0;
470
+ padding: .2em;
471
+ outline: 0;
472
+ }
473
+ .ui-dialog .ui-dialog-titlebar {
474
+ padding: .4em 1em;
475
+ position: relative;
476
+ }
477
+ .ui-dialog .ui-dialog-title {
478
+ float: left;
479
+ margin: .1em 0;
480
+ white-space: nowrap;
481
+ width: 90%;
482
+ overflow: hidden;
483
+ text-overflow: ellipsis;
484
+ }
485
+ .ui-dialog .ui-dialog-titlebar-close {
486
+ position: absolute;
487
+ right: .3em;
488
+ top: 50%;
489
+ width: 20px;
490
+ margin: -10px 0 0 0;
491
+ padding: 1px;
492
+ height: 20px;
493
+ }
494
+ .ui-dialog .ui-dialog-content {
495
+ position: relative;
496
+ border: 0;
497
+ padding: .5em 1em;
498
+ background: none;
499
+ overflow: auto;
500
+ }
501
+ .ui-dialog .ui-dialog-buttonpane {
502
+ text-align: left;
503
+ border-width: 1px 0 0 0;
504
+ background-image: none;
505
+ margin-top: .5em;
506
+ padding: .3em 1em .5em .4em;
507
+ }
508
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
509
+ float: right;
510
+ }
511
+ .ui-dialog .ui-dialog-buttonpane button {
512
+ margin: .5em .4em .5em 0;
513
+ cursor: pointer;
514
+ }
515
+ .ui-dialog .ui-resizable-se {
516
+ width: 12px;
517
+ height: 12px;
518
+ right: -5px;
519
+ bottom: -5px;
520
+ background-position: 16px 16px;
521
+ }
522
+ .ui-draggable .ui-dialog-titlebar {
523
+ cursor: move;
524
+ }
525
+ .ui-menu {
526
+ list-style: none;
527
+ padding: 2px;
528
+ margin: 0;
529
+ display: block;
530
+ outline: none;
531
+ }
532
+ .ui-menu .ui-menu {
533
+ margin-top: -3px;
534
+ position: absolute;
535
+ }
536
+ .ui-menu .ui-menu-item {
537
+ margin: 0;
538
+ padding: 0;
539
+ width: 100%;
540
+ /* support: IE10, see #8844 */
541
+ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
542
+ }
543
+ .ui-menu .ui-menu-divider {
544
+ margin: 5px -2px 5px -2px;
545
+ height: 0;
546
+ font-size: 0;
547
+ line-height: 0;
548
+ border-width: 1px 0 0 0;
549
+ }
550
+ .ui-menu .ui-menu-item a {
551
+ text-decoration: none;
552
+ display: block;
553
+ padding: 2px .4em;
554
+ line-height: 1.5;
555
+ min-height: 0; /* support: IE7 */
556
+ font-weight: normal;
557
+ }
558
+ .ui-menu .ui-menu-item a.ui-state-focus,
559
+ .ui-menu .ui-menu-item a.ui-state-active {
560
+ font-weight: normal;
561
+ margin: -1px;
562
+ }
563
+
564
+ .ui-menu .ui-state-disabled {
565
+ font-weight: normal;
566
+ margin: .4em 0 .2em;
567
+ line-height: 1.5;
568
+ }
569
+ .ui-menu .ui-state-disabled a {
570
+ cursor: default;
571
+ }
572
+
573
+ /* icon support */
574
+ .ui-menu-icons {
575
+ position: relative;
576
+ }
577
+ .ui-menu-icons .ui-menu-item a {
578
+ position: relative;
579
+ padding-left: 2em;
580
+ }
581
+
582
+ /* left-aligned */
583
+ .ui-menu .ui-icon {
584
+ position: absolute;
585
+ top: .2em;
586
+ left: .2em;
587
+ }
588
+
589
+ /* right-aligned */
590
+ .ui-menu .ui-menu-icon {
591
+ position: static;
592
+ float: right;
593
+ }
594
+ .ui-progressbar {
595
+ height: 2em;
596
+ text-align: left;
597
+ overflow: hidden;
598
+ }
599
+ .ui-progressbar .ui-progressbar-value {
600
+ margin: -1px;
601
+ height: 100%;
602
+ }
603
+ .ui-progressbar .ui-progressbar-overlay {
604
+ background: url([[/assets/smoothness/animated-overlay.gif]]);
605
+ height: 100%;
606
+ filter: alpha(opacity=25);
607
+ opacity: 0.25;
608
+ }
609
+ .ui-progressbar-indeterminate .ui-progressbar-value {
610
+ background-image: none;
611
+ }
612
+ .ui-slider {
613
+ position: relative;
614
+ text-align: left;
615
+ }
616
+ .ui-slider .ui-slider-handle {
617
+ position: absolute;
618
+ z-index: 2;
619
+ width: 1.2em;
620
+ height: 1.2em;
621
+ cursor: default;
622
+ }
623
+ .ui-slider .ui-slider-range {
624
+ position: absolute;
625
+ z-index: 1;
626
+ font-size: .7em;
627
+ display: block;
628
+ border: 0;
629
+ background-position: 0 0;
630
+ }
631
+
632
+ /* For IE8 - See #6727 */
633
+ .ui-slider.ui-state-disabled .ui-slider-handle,
634
+ .ui-slider.ui-state-disabled .ui-slider-range {
635
+ filter: inherit;
636
+ }
637
+
638
+ .ui-slider-horizontal {
639
+ height: .8em;
640
+ }
641
+ .ui-slider-horizontal .ui-slider-handle {
642
+ top: -.3em;
643
+ margin-left: -.6em;
644
+ }
645
+ .ui-slider-horizontal .ui-slider-range {
646
+ top: 0;
647
+ height: 100%;
648
+ }
649
+ .ui-slider-horizontal .ui-slider-range-min {
650
+ left: 0;
651
+ }
652
+ .ui-slider-horizontal .ui-slider-range-max {
653
+ right: 0;
654
+ }
655
+
656
+ .ui-slider-vertical {
657
+ width: .8em;
658
+ height: 100px;
659
+ }
660
+ .ui-slider-vertical .ui-slider-handle {
661
+ left: -.3em;
662
+ margin-left: 0;
663
+ margin-bottom: -.6em;
664
+ }
665
+ .ui-slider-vertical .ui-slider-range {
666
+ left: 0;
667
+ width: 100%;
668
+ }
669
+ .ui-slider-vertical .ui-slider-range-min {
670
+ bottom: 0;
671
+ }
672
+ .ui-slider-vertical .ui-slider-range-max {
673
+ top: 0;
674
+ }
675
+ .ui-spinner {
676
+ position: relative;
677
+ display: inline-block;
678
+ overflow: hidden;
679
+ padding: 0;
680
+ vertical-align: middle;
681
+ }
682
+ .ui-spinner-input {
683
+ border: none;
684
+ background: none;
685
+ color: inherit;
686
+ padding: 0;
687
+ margin: .2em 0;
688
+ vertical-align: middle;
689
+ margin-left: .4em;
690
+ margin-right: 22px;
691
+ }
692
+ .ui-spinner-button {
693
+ width: 16px;
694
+ height: 50%;
695
+ font-size: .5em;
696
+ padding: 0;
697
+ margin: 0;
698
+ text-align: center;
699
+ position: absolute;
700
+ cursor: default;
701
+ display: block;
702
+ overflow: hidden;
703
+ right: 0;
704
+ }
705
+ /* more specificity required here to override default borders */
706
+ .ui-spinner a.ui-spinner-button {
707
+ border-top: none;
708
+ border-bottom: none;
709
+ border-right: none;
710
+ }
711
+ /* vertically center icon */
712
+ .ui-spinner .ui-icon {
713
+ position: absolute;
714
+ margin-top: -8px;
715
+ top: 50%;
716
+ left: 0;
717
+ }
718
+ .ui-spinner-up {
719
+ top: 0;
720
+ }
721
+ .ui-spinner-down {
722
+ bottom: 0;
723
+ }
724
+
725
+ /* TR overrides */
726
+ .ui-spinner .ui-icon-triangle-1-s {
727
+ /* need to fix icons sprite */
728
+ background-position: -65px -16px;
729
+ }
730
+ .ui-tabs {
731
+ position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
732
+ padding: .2em;
733
+ }
734
+ .ui-tabs .ui-tabs-nav {
735
+ margin: 0;
736
+ padding: .2em .2em 0;
737
+ }
738
+ .ui-tabs .ui-tabs-nav li {
739
+ list-style: none;
740
+ float: left;
741
+ position: relative;
742
+ top: 0;
743
+ margin: 1px .2em 0 0;
744
+ border-bottom-width: 0;
745
+ padding: 0;
746
+ white-space: nowrap;
747
+ }
748
+ .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
749
+ float: left;
750
+ padding: .5em 1em;
751
+ text-decoration: none;
752
+ }
753
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active {
754
+ margin-bottom: -1px;
755
+ padding-bottom: 1px;
756
+ }
757
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
758
+ .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
759
+ .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
760
+ cursor: text;
761
+ }
762
+ .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
763
+ cursor: pointer;
764
+ }
765
+ .ui-tabs .ui-tabs-panel {
766
+ display: block;
767
+ border-width: 0;
768
+ padding: 1em 1.4em;
769
+ background: none;
770
+ }
771
+ .ui-tooltip {
772
+ padding: 8px;
773
+ position: absolute;
774
+ z-index: 9999;
775
+ max-width: 300px;
776
+ -webkit-box-shadow: 0 0 5px #aaa;
777
+ box-shadow: 0 0 5px #aaa;
778
+ }
779
+ body .ui-tooltip {
780
+ border-width: 2px;
781
+ }
782
+
783
+ /* Component containers
784
+ ----------------------------------*/
785
+ .ui-widget {
786
+ font-family: Verdana,Arial,sans-serif;
787
+ font-size: 1.1em;
788
+ }
789
+ .ui-widget .ui-widget {
790
+ font-size: 1em;
791
+ }
792
+ .ui-widget input,
793
+ .ui-widget select,
794
+ .ui-widget textarea,
795
+ .ui-widget button {
796
+ font-family: Verdana,Arial,sans-serif;
797
+ font-size: 1em;
798
+ }
799
+ .ui-widget-content {
800
+ border: 1px solid #aaaaaa;
801
+ background: #ffffff url([[/assets/smoothness/ui-bg_flat_75_ffffff_40x100.png]]) 50% 50% repeat-x;
802
+ color: #222222;
803
+ }
804
+ .ui-widget-content a {
805
+ color: #222222;
806
+ }
807
+ .ui-widget-header {
808
+ border: 1px solid #aaaaaa;
809
+ background: #cccccc url([[/assets/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png]]) 50% 50% repeat-x;
810
+ color: #222222;
811
+ font-weight: bold;
812
+ }
813
+ .ui-widget-header a {
814
+ color: #222222;
815
+ }
816
+
817
+ /* Interaction states
818
+ ----------------------------------*/
819
+ .ui-state-default,
820
+ .ui-widget-content .ui-state-default,
821
+ .ui-widget-header .ui-state-default {
822
+ border: 1px solid #d3d3d3;
823
+ background: #e6e6e6 url([[/assets/smoothness/ui-bg_glass_75_e6e6e6_1x400.png]]) 50% 50% repeat-x;
824
+ font-weight: normal;
825
+ color: #555555;
826
+ }
827
+ .ui-state-default a,
828
+ .ui-state-default a:link,
829
+ .ui-state-default a:visited {
830
+ color: #555555;
831
+ text-decoration: none;
832
+ }
833
+ .ui-state-hover,
834
+ .ui-widget-content .ui-state-hover,
835
+ .ui-widget-header .ui-state-hover,
836
+ .ui-state-focus,
837
+ .ui-widget-content .ui-state-focus,
838
+ .ui-widget-header .ui-state-focus {
839
+ border: 1px solid #999999;
840
+ background: #dadada url([[/assets/smoothness/ui-bg_glass_75_dadada_1x400.png]]) 50% 50% repeat-x;
841
+ font-weight: normal;
842
+ color: #212121;
843
+ }
844
+ .ui-state-hover a,
845
+ .ui-state-hover a:hover,
846
+ .ui-state-hover a:link,
847
+ .ui-state-hover a:visited,
848
+ .ui-state-focus a,
849
+ .ui-state-focus a:hover,
850
+ .ui-state-focus a:link,
851
+ .ui-state-focus a:visited {
852
+ color: #212121;
853
+ text-decoration: none;
854
+ }
855
+ .ui-state-active,
856
+ .ui-widget-content .ui-state-active,
857
+ .ui-widget-header .ui-state-active {
858
+ border: 1px solid #aaaaaa;
859
+ background: #ffffff url([[/assets/smoothness/ui-bg_glass_65_ffffff_1x400.png]]) 50% 50% repeat-x;
860
+ font-weight: normal;
861
+ color: #212121;
862
+ }
863
+ .ui-state-active a,
864
+ .ui-state-active a:link,
865
+ .ui-state-active a:visited {
866
+ color: #212121;
867
+ text-decoration: none;
868
+ }
869
+
870
+ /* Interaction Cues
871
+ ----------------------------------*/
872
+ .ui-state-highlight,
873
+ .ui-widget-content .ui-state-highlight,
874
+ .ui-widget-header .ui-state-highlight {
875
+ border: 1px solid #fcefa1;
876
+ background: #fbf9ee url([[/assets/smoothness/ui-bg_glass_55_fbf9ee_1x400.png]]) 50% 50% repeat-x;
877
+ color: #363636;
878
+ }
879
+ .ui-state-highlight a,
880
+ .ui-widget-content .ui-state-highlight a,
881
+ .ui-widget-header .ui-state-highlight a {
882
+ color: #363636;
883
+ }
884
+ .ui-state-error,
885
+ .ui-widget-content .ui-state-error,
886
+ .ui-widget-header .ui-state-error {
887
+ border: 1px solid #cd0a0a;
888
+ background: #fef1ec url([[/assets/smoothness/ui-bg_glass_95_fef1ec_1x400.png]]) 50% 50% repeat-x;
889
+ color: #cd0a0a;
890
+ }
891
+ .ui-state-error a,
892
+ .ui-widget-content .ui-state-error a,
893
+ .ui-widget-header .ui-state-error a {
894
+ color: #cd0a0a;
895
+ }
896
+ .ui-state-error-text,
897
+ .ui-widget-content .ui-state-error-text,
898
+ .ui-widget-header .ui-state-error-text {
899
+ color: #cd0a0a;
900
+ }
901
+ .ui-priority-primary,
902
+ .ui-widget-content .ui-priority-primary,
903
+ .ui-widget-header .ui-priority-primary {
904
+ font-weight: bold;
905
+ }
906
+ .ui-priority-secondary,
907
+ .ui-widget-content .ui-priority-secondary,
908
+ .ui-widget-header .ui-priority-secondary {
909
+ opacity: .7;
910
+ filter:Alpha(Opacity=70);
911
+ font-weight: normal;
912
+ }
913
+ .ui-state-disabled,
914
+ .ui-widget-content .ui-state-disabled,
915
+ .ui-widget-header .ui-state-disabled {
916
+ opacity: .35;
917
+ filter:Alpha(Opacity=35);
918
+ background-image: none;
919
+ }
920
+ .ui-state-disabled .ui-icon {
921
+ filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
922
+ }
923
+
924
+ /* Icons
925
+ ----------------------------------*/
926
+
927
+ /* states and images */
928
+ .ui-icon {
929
+ width: 16px;
930
+ height: 16px;
931
+ }
932
+ .ui-icon,
933
+ .ui-widget-content .ui-icon {
934
+ background-image: url([[/assets/smoothness/ui-icons_222222_256x240.png]]);
935
+ }
936
+ .ui-widget-header .ui-icon {
937
+ background-image: url([[/assets/smoothness/ui-icons_222222_256x240.png]]);
938
+ }
939
+ .ui-state-default .ui-icon {
940
+ background-image: url([[/assets/smoothness/ui-icons_888888_256x240.png]]);
941
+ }
942
+ .ui-state-hover .ui-icon,
943
+ .ui-state-focus .ui-icon {
944
+ background-image: url([[/assets/smoothness/ui-icons_454545_256x240.png]]);
945
+ }
946
+ .ui-state-active .ui-icon {
947
+ background-image: url([[/assets/smoothness/ui-icons_454545_256x240.png]]);
948
+ }
949
+ .ui-state-highlight .ui-icon {
950
+ background-image: url([[/assets/smoothness/ui-icons_2e83ff_256x240.png]]);
951
+ }
952
+ .ui-state-error .ui-icon,
953
+ .ui-state-error-text .ui-icon {
954
+ background-image: url([[/assets/smoothness/ui-icons_cd0a0a_256x240.png]]);
955
+ }
956
+
957
+ /* positioning */
958
+ .ui-icon-blank { background-position: 16px 16px; }
959
+ .ui-icon-carat-1-n { background-position: 0 0; }
960
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
961
+ .ui-icon-carat-1-e { background-position: -32px 0; }
962
+ .ui-icon-carat-1-se { background-position: -48px 0; }
963
+ .ui-icon-carat-1-s { background-position: -64px 0; }
964
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
965
+ .ui-icon-carat-1-w { background-position: -96px 0; }
966
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
967
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
968
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
969
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
970
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
971
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
972
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
973
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
974
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
975
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
976
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
977
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
978
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
979
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
980
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
981
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
982
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
983
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
984
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
985
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
986
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
987
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
988
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
989
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
990
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
991
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
992
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
993
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
994
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
995
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
996
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
997
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
998
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
999
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
1000
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
1001
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
1002
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
1003
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
1004
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
1005
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
1006
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
1007
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
1008
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
1009
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
1010
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
1011
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
1012
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
1013
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
1014
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
1015
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
1016
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
1017
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
1018
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
1019
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
1020
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
1021
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
1022
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
1023
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
1024
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
1025
+ .ui-icon-extlink { background-position: -32px -80px; }
1026
+ .ui-icon-newwin { background-position: -48px -80px; }
1027
+ .ui-icon-refresh { background-position: -64px -80px; }
1028
+ .ui-icon-shuffle { background-position: -80px -80px; }
1029
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
1030
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
1031
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
1032
+ .ui-icon-folder-open { background-position: -16px -96px; }
1033
+ .ui-icon-document { background-position: -32px -96px; }
1034
+ .ui-icon-document-b { background-position: -48px -96px; }
1035
+ .ui-icon-note { background-position: -64px -96px; }
1036
+ .ui-icon-mail-closed { background-position: -80px -96px; }
1037
+ .ui-icon-mail-open { background-position: -96px -96px; }
1038
+ .ui-icon-suitcase { background-position: -112px -96px; }
1039
+ .ui-icon-comment { background-position: -128px -96px; }
1040
+ .ui-icon-person { background-position: -144px -96px; }
1041
+ .ui-icon-print { background-position: -160px -96px; }
1042
+ .ui-icon-trash { background-position: -176px -96px; }
1043
+ .ui-icon-locked { background-position: -192px -96px; }
1044
+ .ui-icon-unlocked { background-position: -208px -96px; }
1045
+ .ui-icon-bookmark { background-position: -224px -96px; }
1046
+ .ui-icon-tag { background-position: -240px -96px; }
1047
+ .ui-icon-home { background-position: 0 -112px; }
1048
+ .ui-icon-flag { background-position: -16px -112px; }
1049
+ .ui-icon-calendar { background-position: -32px -112px; }
1050
+ .ui-icon-cart { background-position: -48px -112px; }
1051
+ .ui-icon-pencil { background-position: -64px -112px; }
1052
+ .ui-icon-clock { background-position: -80px -112px; }
1053
+ .ui-icon-disk { background-position: -96px -112px; }
1054
+ .ui-icon-calculator { background-position: -112px -112px; }
1055
+ .ui-icon-zoomin { background-position: -128px -112px; }
1056
+ .ui-icon-zoomout { background-position: -144px -112px; }
1057
+ .ui-icon-search { background-position: -160px -112px; }
1058
+ .ui-icon-wrench { background-position: -176px -112px; }
1059
+ .ui-icon-gear { background-position: -192px -112px; }
1060
+ .ui-icon-heart { background-position: -208px -112px; }
1061
+ .ui-icon-star { background-position: -224px -112px; }
1062
+ .ui-icon-link { background-position: -240px -112px; }
1063
+ .ui-icon-cancel { background-position: 0 -128px; }
1064
+ .ui-icon-plus { background-position: -16px -128px; }
1065
+ .ui-icon-plusthick { background-position: -32px -128px; }
1066
+ .ui-icon-minus { background-position: -48px -128px; }
1067
+ .ui-icon-minusthick { background-position: -64px -128px; }
1068
+ .ui-icon-close { background-position: -80px -128px; }
1069
+ .ui-icon-closethick { background-position: -96px -128px; }
1070
+ .ui-icon-key { background-position: -112px -128px; }
1071
+ .ui-icon-lightbulb { background-position: -128px -128px; }
1072
+ .ui-icon-scissors { background-position: -144px -128px; }
1073
+ .ui-icon-clipboard { background-position: -160px -128px; }
1074
+ .ui-icon-copy { background-position: -176px -128px; }
1075
+ .ui-icon-contact { background-position: -192px -128px; }
1076
+ .ui-icon-image { background-position: -208px -128px; }
1077
+ .ui-icon-video { background-position: -224px -128px; }
1078
+ .ui-icon-script { background-position: -240px -128px; }
1079
+ .ui-icon-alert { background-position: 0 -144px; }
1080
+ .ui-icon-info { background-position: -16px -144px; }
1081
+ .ui-icon-notice { background-position: -32px -144px; }
1082
+ .ui-icon-help { background-position: -48px -144px; }
1083
+ .ui-icon-check { background-position: -64px -144px; }
1084
+ .ui-icon-bullet { background-position: -80px -144px; }
1085
+ .ui-icon-radio-on { background-position: -96px -144px; }
1086
+ .ui-icon-radio-off { background-position: -112px -144px; }
1087
+ .ui-icon-pin-w { background-position: -128px -144px; }
1088
+ .ui-icon-pin-s { background-position: -144px -144px; }
1089
+ .ui-icon-play { background-position: 0 -160px; }
1090
+ .ui-icon-pause { background-position: -16px -160px; }
1091
+ .ui-icon-seek-next { background-position: -32px -160px; }
1092
+ .ui-icon-seek-prev { background-position: -48px -160px; }
1093
+ .ui-icon-seek-end { background-position: -64px -160px; }
1094
+ .ui-icon-seek-start { background-position: -80px -160px; }
1095
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
1096
+ .ui-icon-seek-first { background-position: -80px -160px; }
1097
+ .ui-icon-stop { background-position: -96px -160px; }
1098
+ .ui-icon-eject { background-position: -112px -160px; }
1099
+ .ui-icon-volume-off { background-position: -128px -160px; }
1100
+ .ui-icon-volume-on { background-position: -144px -160px; }
1101
+ .ui-icon-power { background-position: 0 -176px; }
1102
+ .ui-icon-signal-diag { background-position: -16px -176px; }
1103
+ .ui-icon-signal { background-position: -32px -176px; }
1104
+ .ui-icon-battery-0 { background-position: -48px -176px; }
1105
+ .ui-icon-battery-1 { background-position: -64px -176px; }
1106
+ .ui-icon-battery-2 { background-position: -80px -176px; }
1107
+ .ui-icon-battery-3 { background-position: -96px -176px; }
1108
+ .ui-icon-circle-plus { background-position: 0 -192px; }
1109
+ .ui-icon-circle-minus { background-position: -16px -192px; }
1110
+ .ui-icon-circle-close { background-position: -32px -192px; }
1111
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
1112
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
1113
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
1114
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
1115
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
1116
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
1117
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
1118
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
1119
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
1120
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
1121
+ .ui-icon-circle-check { background-position: -208px -192px; }
1122
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
1123
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
1124
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
1125
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
1126
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
1127
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
1128
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
1129
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
1130
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
1131
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
1132
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
1133
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
1134
+
1135
+
1136
+ /* Misc visuals
1137
+ ----------------------------------*/
1138
+
1139
+ /* Corner radius */
1140
+ .ui-corner-all,
1141
+ .ui-corner-top,
1142
+ .ui-corner-left,
1143
+ .ui-corner-tl {
1144
+ border-top-left-radius: 4px;
1145
+ }
1146
+ .ui-corner-all,
1147
+ .ui-corner-top,
1148
+ .ui-corner-right,
1149
+ .ui-corner-tr {
1150
+ border-top-right-radius: 4px;
1151
+ }
1152
+ .ui-corner-all,
1153
+ .ui-corner-bottom,
1154
+ .ui-corner-left,
1155
+ .ui-corner-bl {
1156
+ border-bottom-left-radius: 4px;
1157
+ }
1158
+ .ui-corner-all,
1159
+ .ui-corner-bottom,
1160
+ .ui-corner-right,
1161
+ .ui-corner-br {
1162
+ border-bottom-right-radius: 4px;
1163
+ }
1164
+
1165
+ /* Overlays */
1166
+ .ui-widget-overlay {
1167
+ background: #aaaaaa url([[/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100.png]]) 50% 50% repeat-x;
1168
+ opacity: .3;
1169
+ filter: Alpha(Opacity=30);
1170
+ }
1171
+ .ui-widget-shadow {
1172
+ margin: -8px 0 0 -8px;
1173
+ padding: 8px;
1174
+ background: #aaaaaa url([[/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100.png]]) 50% 50% repeat-x;
1175
+ opacity: .3;
1176
+ filter: Alpha(Opacity=30);
1177
+ border-radius: 8px;
1178
+ }