muck-users 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. data/README.rdoc +12 -3
  2. data/Rakefile +3 -2
  3. data/VERSION +1 -1
  4. data/muck-users.gemspec +257 -37
  5. data/pkg/muck-users-0.1.4.gem +0 -0
  6. data/rdoc/classes/ActiveRecord/SecureMethods.html +216 -0
  7. data/rdoc/classes/ActiveRecord.html +10 -0
  8. data/rdoc/classes/MuckUsers/Tasks.html +6 -6
  9. data/rdoc/created.rid +1 -1
  10. data/rdoc/files/lib/active_record/secure_methods_rb.html +101 -0
  11. data/rdoc/files/lib/muck_users_rb.html +2 -1
  12. data/rdoc/fr_class_index.html +1 -0
  13. data/rdoc/fr_file_index.html +1 -0
  14. data/rdoc/fr_method_index.html +7 -3
  15. data/test/rails_root/.gitignore +8 -0
  16. data/test/rails_root/.rake_tasks +103 -0
  17. data/test/rails_root/Capfile +3 -0
  18. data/test/rails_root/Rakefile +15 -0
  19. data/test/rails_root/app/controllers/application_controller.rb +6 -0
  20. data/test/rails_root/app/controllers/default_controller.rb +7 -0
  21. data/test/rails_root/app/helpers/application_helper.rb +3 -0
  22. data/test/rails_root/app/models/.keep +0 -0
  23. data/test/rails_root/app/models/user.rb +15 -0
  24. data/test/rails_root/app/models/user_session.rb +2 -0
  25. data/test/rails_root/app/views/default/index.html.erb +0 -0
  26. data/test/rails_root/app/views/layouts/default.html.erb +26 -0
  27. data/test/rails_root/config/amazon_s3.yml +14 -0
  28. data/test/rails_root/config/boot.rb +109 -0
  29. data/test/rails_root/config/database.yml +14 -0
  30. data/test/rails_root/config/environment.rb +22 -0
  31. data/test/rails_root/config/environments/development.rb +19 -0
  32. data/test/rails_root/config/environments/production.rb +1 -0
  33. data/test/rails_root/config/environments/test.rb +33 -0
  34. data/test/rails_root/config/global_config.yml +18 -0
  35. data/test/rails_root/config/initializers/inflections.rb +10 -0
  36. data/test/rails_root/config/initializers/mime_types.rb +5 -0
  37. data/test/rails_root/config/initializers/requires.rb +13 -0
  38. data/test/rails_root/config/initializers/session_store.rb +8 -0
  39. data/test/rails_root/config/routes.rb +9 -0
  40. data/test/rails_root/db/.keep +0 -0
  41. data/test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +16 -0
  42. data/test/rails_root/db/migrate/20090602041838_create_users.rb +39 -0
  43. data/test/rails_root/db/schema.rb +131 -0
  44. data/test/rails_root/features/step_definitions/webrat_steps.rb +99 -0
  45. data/test/rails_root/features/support/env.rb +14 -0
  46. data/test/rails_root/public/.htaccess +40 -0
  47. data/test/rails_root/public/404.html +30 -0
  48. data/test/rails_root/public/422.html +30 -0
  49. data/test/rails_root/public/500.html +30 -0
  50. data/test/rails_root/public/dispatch.rb +10 -0
  51. data/test/rails_root/public/favicon.ico +0 -0
  52. data/test/rails_root/public/images/arrow_left.gif +0 -0
  53. data/test/rails_root/public/images/arrow_right.gif +0 -0
  54. data/test/rails_root/public/images/blue/preview.gif +0 -0
  55. data/test/rails_root/public/images/icons/accept.png +0 -0
  56. data/test/rails_root/public/images/icons/add.png +0 -0
  57. data/test/rails_root/public/images/icons/delete.png +0 -0
  58. data/test/rails_root/public/images/icons/vote.png +0 -0
  59. data/test/rails_root/public/images/loading.gif +0 -0
  60. data/test/rails_root/public/images/profile_default.jpg +0 -0
  61. data/test/rails_root/public/images/rails.png +0 -0
  62. data/test/rails_root/public/images/red/preview.gif +0 -0
  63. data/test/rails_root/public/images/spinner.gif +0 -0
  64. data/test/rails_root/public/images/sprites.png +0 -0
  65. data/test/rails_root/public/javascripts/application.js +2 -0
  66. data/test/rails_root/public/javascripts/builder.js +136 -0
  67. data/test/rails_root/public/javascripts/controls.js +963 -0
  68. data/test/rails_root/public/javascripts/dragdrop.js +972 -0
  69. data/test/rails_root/public/javascripts/effects.js +1120 -0
  70. data/test/rails_root/public/javascripts/fancyzoom.min.js +1 -0
  71. data/test/rails_root/public/javascripts/jquery/jquery-ui.js +273 -0
  72. data/test/rails_root/public/javascripts/jquery/jquery.form.js +637 -0
  73. data/test/rails_root/public/javascripts/jquery/jquery.jgrowl.js +2 -0
  74. data/test/rails_root/public/javascripts/jquery/jquery.js +19 -0
  75. data/test/rails_root/public/javascripts/jquery/jquery.tips.js +69 -0
  76. data/test/rails_root/public/javascripts/muck.js +76 -0
  77. data/test/rails_root/public/javascripts/muck_activities.js +100 -0
  78. data/test/rails_root/public/javascripts/prototype.js +4225 -0
  79. data/test/rails_root/public/javascripts/scriptaculous.js +58 -0
  80. data/test/rails_root/public/javascripts/slider.js +277 -0
  81. data/test/rails_root/public/javascripts/sound.js +60 -0
  82. data/test/rails_root/public/robots.txt +1 -0
  83. data/test/rails_root/public/stylesheets/.keep +0 -0
  84. data/test/rails_root/public/stylesheets/admin.css +12 -0
  85. data/test/rails_root/public/stylesheets/blueprint/ie.css +26 -0
  86. data/test/rails_root/public/stylesheets/blueprint/liquid_screen.css +203 -0
  87. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
  88. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
  89. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
  90. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/readme.txt +32 -0
  91. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/screen.css +97 -0
  92. data/test/rails_root/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +14 -0
  93. data/test/rails_root/public/stylesheets/blueprint/plugins/fancy-type/screen.css +71 -0
  94. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
  95. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
  96. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
  97. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
  98. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
  99. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  100. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
  101. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
  102. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/readme.txt +18 -0
  103. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/screen.css +40 -0
  104. data/test/rails_root/public/stylesheets/blueprint/plugins/liquid/liquid.css +134 -0
  105. data/test/rails_root/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +197 -0
  106. data/test/rails_root/public/stylesheets/blueprint/plugins/rtl/readme.txt +10 -0
  107. data/test/rails_root/public/stylesheets/blueprint/plugins/rtl/screen.css +109 -0
  108. data/test/rails_root/public/stylesheets/blueprint/print.css +30 -0
  109. data/test/rails_root/public/stylesheets/blueprint/screen.css +251 -0
  110. data/test/rails_root/public/stylesheets/blueprint/sprite.css +1 -0
  111. data/test/rails_root/public/stylesheets/blueprint/src/forms.css +49 -0
  112. data/test/rails_root/public/stylesheets/blueprint/src/grid.css +213 -0
  113. data/test/rails_root/public/stylesheets/blueprint/src/grid.png +0 -0
  114. data/test/rails_root/public/stylesheets/blueprint/src/ie.css +59 -0
  115. data/test/rails_root/public/stylesheets/blueprint/src/print.css +85 -0
  116. data/test/rails_root/public/stylesheets/blueprint/src/reset.css +38 -0
  117. data/test/rails_root/public/stylesheets/blueprint/src/typography.css +105 -0
  118. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  119. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  120. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
  121. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
  122. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  123. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
  124. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  125. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  126. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
  127. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
  128. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  129. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  130. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  131. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
  132. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
  133. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  134. data/test/rails_root/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +404 -0
  135. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  136. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  137. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  138. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  139. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  140. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  141. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  142. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  143. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  144. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  145. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  146. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  147. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  148. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  149. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  150. data/test/rails_root/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +404 -0
  151. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  152. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  153. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  154. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  155. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  156. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  157. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  158. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  159. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
  160. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  161. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
  162. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
  163. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  164. data/test/rails_root/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +404 -0
  165. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  166. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  167. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  168. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  169. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  170. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  171. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  172. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  173. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  174. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  175. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  176. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  177. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  178. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  179. data/test/rails_root/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +404 -0
  180. data/test/rails_root/public/stylesheets/reset.css +0 -0
  181. data/test/rails_root/public/stylesheets/styles.css +79 -0
  182. data/test/rails_root/public/stylesheets/themes/blue/styles.css +1 -0
  183. data/test/rails_root/public/stylesheets/themes/red/styles.css +1 -0
  184. data/test/rails_root/script/about +3 -0
  185. data/test/rails_root/script/breakpointer +3 -0
  186. data/test/rails_root/script/console +3 -0
  187. data/test/rails_root/script/create_project.rb +52 -0
  188. data/test/rails_root/script/cucumber +7 -0
  189. data/test/rails_root/script/dbconsole +3 -0
  190. data/test/rails_root/script/destroy +3 -0
  191. data/test/rails_root/script/generate +3 -0
  192. data/test/rails_root/script/performance/benchmarker +3 -0
  193. data/test/rails_root/script/performance/profiler +3 -0
  194. data/test/rails_root/script/performance/request +3 -0
  195. data/test/rails_root/script/plugin +3 -0
  196. data/test/rails_root/script/process/inspector +3 -0
  197. data/test/rails_root/script/process/reaper +3 -0
  198. data/test/rails_root/script/process/spawner +3 -0
  199. data/test/rails_root/script/runner +3 -0
  200. data/test/rails_root/script/server +3 -0
  201. data/test/{factories.rb → rails_root/test/factories.rb} +0 -0
  202. data/test/rails_root/test/functional/.keep +0 -0
  203. data/test/{functional → rails_root/test/functional}/activations_controller_test.rb +0 -0
  204. data/test/{functional → rails_root/test/functional}/admin/roles_controller_test.rb +0 -0
  205. data/test/{functional → rails_root/test/functional}/admin/users_controller_test.rb +0 -0
  206. data/test/{functional → rails_root/test/functional}/password_resets_controller_test.rb +0 -0
  207. data/test/{functional → rails_root/test/functional}/user_sessions_controller_test.rb +0 -0
  208. data/test/{functional → rails_root/test/functional}/users_controller_test.rb +0 -0
  209. data/test/rails_root/test/integration/.keep +0 -0
  210. data/test/rails_root/test/mocks/development/.keep +0 -0
  211. data/test/rails_root/test/mocks/test/.keep +0 -0
  212. data/test/{shoulda_macros → rails_root/test/shoulda_macros}/controller.rb +0 -0
  213. data/test/{shoulda_macros → rails_root/test/shoulda_macros}/forms.rb +0 -0
  214. data/test/{shoulda_macros → rails_root/test/shoulda_macros}/models.rb +0 -0
  215. data/test/{shoulda_macros → rails_root/test/shoulda_macros}/pagination.rb +0 -0
  216. data/test/{shoulda_macros → rails_root/test/shoulda_macros}/plugins.rb +0 -0
  217. data/test/{test_helper.rb → rails_root/test/test_helper.rb} +4 -3
  218. data/test/rails_root/test/unit/.keep +0 -0
  219. data/test/{unit → rails_root/test/unit}/muck_user_mailer_test.rb +0 -0
  220. data/test/{unit → rails_root/test/unit}/permission_test.rb +0 -0
  221. data/test/{unit → rails_root/test/unit}/role_test.rb +0 -0
  222. data/test/rails_root/vendor/plugins/ssl_requirement/README +43 -0
  223. data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +62 -0
  224. data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +132 -0
  225. metadata +264 -35
  226. data/pkg/muck-users-0.1.3.gem +0 -0
@@ -0,0 +1,58 @@
1
+ // script.aculo.us scriptaculous.js v1.7.1_beta3, Fri May 25 17:19:41 +0200 2007
2
+
3
+ // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
4
+ //
5
+ // Permission is hereby granted, free of charge, to any person obtaining
6
+ // a copy of this software and associated documentation files (the
7
+ // "Software"), to deal in the Software without restriction, including
8
+ // without limitation the rights to use, copy, modify, merge, publish,
9
+ // distribute, sublicense, and/or sell copies of the Software, and to
10
+ // permit persons to whom the Software is furnished to do so, subject to
11
+ // the following conditions:
12
+ //
13
+ // The above copyright notice and this permission notice shall be
14
+ // included in all copies or substantial portions of the Software.
15
+ //
16
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+ //
24
+ // For details, see the script.aculo.us web site: http://script.aculo.us/
25
+
26
+ var Scriptaculous = {
27
+ Version: '1.7.1_beta3',
28
+ require: function(libraryName) {
29
+ // inserting via DOM fails in Safari 2.0, so brute force approach
30
+ document.write('<script type="text/javascript" src="'+libraryName+'"></script>');
31
+ },
32
+ REQUIRED_PROTOTYPE: '1.5.1',
33
+ load: function() {
34
+ function convertVersionString(versionString){
35
+ var r = versionString.split('.');
36
+ return parseInt(r[0])*100000 + parseInt(r[1])*1000 + parseInt(r[2]);
37
+ }
38
+
39
+ if((typeof Prototype=='undefined') ||
40
+ (typeof Element == 'undefined') ||
41
+ (typeof Element.Methods=='undefined') ||
42
+ (convertVersionString(Prototype.Version) <
43
+ convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))
44
+ throw("script.aculo.us requires the Prototype JavaScript framework >= " +
45
+ Scriptaculous.REQUIRED_PROTOTYPE);
46
+
47
+ $A(document.getElementsByTagName("script")).findAll( function(s) {
48
+ return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
49
+ }).each( function(s) {
50
+ var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
51
+ var includes = s.src.match(/\?.*load=([a-z,]*)/);
52
+ (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
53
+ function(include) { Scriptaculous.require(path+include+'.js') });
54
+ });
55
+ }
56
+ }
57
+
58
+ Scriptaculous.load();
@@ -0,0 +1,277 @@
1
+ // script.aculo.us slider.js v1.7.1_beta3, Fri May 25 17:19:41 +0200 2007
2
+
3
+ // Copyright (c) 2005-2007 Marty Haught, Thomas Fuchs
4
+ //
5
+ // script.aculo.us is freely distributable under the terms of an MIT-style license.
6
+ // For details, see the script.aculo.us web site: http://script.aculo.us/
7
+
8
+ if(!Control) var Control = {};
9
+ Control.Slider = Class.create();
10
+
11
+ // options:
12
+ // axis: 'vertical', or 'horizontal' (default)
13
+ //
14
+ // callbacks:
15
+ // onChange(value)
16
+ // onSlide(value)
17
+ Control.Slider.prototype = {
18
+ initialize: function(handle, track, options) {
19
+ var slider = this;
20
+
21
+ if(handle instanceof Array) {
22
+ this.handles = handle.collect( function(e) { return $(e) });
23
+ } else {
24
+ this.handles = [$(handle)];
25
+ }
26
+
27
+ this.track = $(track);
28
+ this.options = options || {};
29
+
30
+ this.axis = this.options.axis || 'horizontal';
31
+ this.increment = this.options.increment || 1;
32
+ this.step = parseInt(this.options.step || '1');
33
+ this.range = this.options.range || $R(0,1);
34
+
35
+ this.value = 0; // assure backwards compat
36
+ this.values = this.handles.map( function() { return 0 });
37
+ this.spans = this.options.spans ? this.options.spans.map(function(s){ return $(s) }) : false;
38
+ this.options.startSpan = $(this.options.startSpan || null);
39
+ this.options.endSpan = $(this.options.endSpan || null);
40
+
41
+ this.restricted = this.options.restricted || false;
42
+
43
+ this.maximum = this.options.maximum || this.range.end;
44
+ this.minimum = this.options.minimum || this.range.start;
45
+
46
+ // Will be used to align the handle onto the track, if necessary
47
+ this.alignX = parseInt(this.options.alignX || '0');
48
+ this.alignY = parseInt(this.options.alignY || '0');
49
+
50
+ this.trackLength = this.maximumOffset() - this.minimumOffset();
51
+
52
+ this.handleLength = this.isVertical() ?
53
+ (this.handles[0].offsetHeight != 0 ?
54
+ this.handles[0].offsetHeight : this.handles[0].style.height.replace(/px$/,"")) :
55
+ (this.handles[0].offsetWidth != 0 ? this.handles[0].offsetWidth :
56
+ this.handles[0].style.width.replace(/px$/,""));
57
+
58
+ this.active = false;
59
+ this.dragging = false;
60
+ this.disabled = false;
61
+
62
+ if(this.options.disabled) this.setDisabled();
63
+
64
+ // Allowed values array
65
+ this.allowedValues = this.options.values ? this.options.values.sortBy(Prototype.K) : false;
66
+ if(this.allowedValues) {
67
+ this.minimum = this.allowedValues.min();
68
+ this.maximum = this.allowedValues.max();
69
+ }
70
+
71
+ this.eventMouseDown = this.startDrag.bindAsEventListener(this);
72
+ this.eventMouseUp = this.endDrag.bindAsEventListener(this);
73
+ this.eventMouseMove = this.update.bindAsEventListener(this);
74
+
75
+ // Initialize handles in reverse (make sure first handle is active)
76
+ this.handles.each( function(h,i) {
77
+ i = slider.handles.length-1-i;
78
+ slider.setValue(parseFloat(
79
+ (slider.options.sliderValue instanceof Array ?
80
+ slider.options.sliderValue[i] : slider.options.sliderValue) ||
81
+ slider.range.start), i);
82
+ Element.makePositioned(h); // fix IE
83
+ Event.observe(h, "mousedown", slider.eventMouseDown);
84
+ });
85
+
86
+ Event.observe(this.track, "mousedown", this.eventMouseDown);
87
+ Event.observe(document, "mouseup", this.eventMouseUp);
88
+ Event.observe(document, "mousemove", this.eventMouseMove);
89
+
90
+ this.initialized = true;
91
+ },
92
+ dispose: function() {
93
+ var slider = this;
94
+ Event.stopObserving(this.track, "mousedown", this.eventMouseDown);
95
+ Event.stopObserving(document, "mouseup", this.eventMouseUp);
96
+ Event.stopObserving(document, "mousemove", this.eventMouseMove);
97
+ this.handles.each( function(h) {
98
+ Event.stopObserving(h, "mousedown", slider.eventMouseDown);
99
+ });
100
+ },
101
+ setDisabled: function(){
102
+ this.disabled = true;
103
+ },
104
+ setEnabled: function(){
105
+ this.disabled = false;
106
+ },
107
+ getNearestValue: function(value){
108
+ if(this.allowedValues){
109
+ if(value >= this.allowedValues.max()) return(this.allowedValues.max());
110
+ if(value <= this.allowedValues.min()) return(this.allowedValues.min());
111
+
112
+ var offset = Math.abs(this.allowedValues[0] - value);
113
+ var newValue = this.allowedValues[0];
114
+ this.allowedValues.each( function(v) {
115
+ var currentOffset = Math.abs(v - value);
116
+ if(currentOffset <= offset){
117
+ newValue = v;
118
+ offset = currentOffset;
119
+ }
120
+ });
121
+ return newValue;
122
+ }
123
+ if(value > this.range.end) return this.range.end;
124
+ if(value < this.range.start) return this.range.start;
125
+ return value;
126
+ },
127
+ setValue: function(sliderValue, handleIdx){
128
+ if(!this.active) {
129
+ this.activeHandleIdx = handleIdx || 0;
130
+ this.activeHandle = this.handles[this.activeHandleIdx];
131
+ this.updateStyles();
132
+ }
133
+ handleIdx = handleIdx || this.activeHandleIdx || 0;
134
+ if(this.initialized && this.restricted) {
135
+ if((handleIdx>0) && (sliderValue<this.values[handleIdx-1]))
136
+ sliderValue = this.values[handleIdx-1];
137
+ if((handleIdx < (this.handles.length-1)) && (sliderValue>this.values[handleIdx+1]))
138
+ sliderValue = this.values[handleIdx+1];
139
+ }
140
+ sliderValue = this.getNearestValue(sliderValue);
141
+ this.values[handleIdx] = sliderValue;
142
+ this.value = this.values[0]; // assure backwards compat
143
+
144
+ this.handles[handleIdx].style[this.isVertical() ? 'top' : 'left'] =
145
+ this.translateToPx(sliderValue);
146
+
147
+ this.drawSpans();
148
+ if(!this.dragging || !this.event) this.updateFinished();
149
+ },
150
+ setValueBy: function(delta, handleIdx) {
151
+ this.setValue(this.values[handleIdx || this.activeHandleIdx || 0] + delta,
152
+ handleIdx || this.activeHandleIdx || 0);
153
+ },
154
+ translateToPx: function(value) {
155
+ return Math.round(
156
+ ((this.trackLength-this.handleLength)/(this.range.end-this.range.start)) *
157
+ (value - this.range.start)) + "px";
158
+ },
159
+ translateToValue: function(offset) {
160
+ return ((offset/(this.trackLength-this.handleLength) *
161
+ (this.range.end-this.range.start)) + this.range.start);
162
+ },
163
+ getRange: function(range) {
164
+ var v = this.values.sortBy(Prototype.K);
165
+ range = range || 0;
166
+ return $R(v[range],v[range+1]);
167
+ },
168
+ minimumOffset: function(){
169
+ return(this.isVertical() ? this.alignY : this.alignX);
170
+ },
171
+ maximumOffset: function(){
172
+ return(this.isVertical() ?
173
+ (this.track.offsetHeight != 0 ? this.track.offsetHeight :
174
+ this.track.style.height.replace(/px$/,"")) - this.alignY :
175
+ (this.track.offsetWidth != 0 ? this.track.offsetWidth :
176
+ this.track.style.width.replace(/px$/,"")) - this.alignY);
177
+ },
178
+ isVertical: function(){
179
+ return (this.axis == 'vertical');
180
+ },
181
+ drawSpans: function() {
182
+ var slider = this;
183
+ if(this.spans)
184
+ $R(0, this.spans.length-1).each(function(r) { slider.setSpan(slider.spans[r], slider.getRange(r)) });
185
+ if(this.options.startSpan)
186
+ this.setSpan(this.options.startSpan,
187
+ $R(0, this.values.length>1 ? this.getRange(0).min() : this.value ));
188
+ if(this.options.endSpan)
189
+ this.setSpan(this.options.endSpan,
190
+ $R(this.values.length>1 ? this.getRange(this.spans.length-1).max() : this.value, this.maximum));
191
+ },
192
+ setSpan: function(span, range) {
193
+ if(this.isVertical()) {
194
+ span.style.top = this.translateToPx(range.start);
195
+ span.style.height = this.translateToPx(range.end - range.start + this.range.start);
196
+ } else {
197
+ span.style.left = this.translateToPx(range.start);
198
+ span.style.width = this.translateToPx(range.end - range.start + this.range.start);
199
+ }
200
+ },
201
+ updateStyles: function() {
202
+ this.handles.each( function(h){ Element.removeClassName(h, 'selected') });
203
+ Element.addClassName(this.activeHandle, 'selected');
204
+ },
205
+ startDrag: function(event) {
206
+ if(Event.isLeftClick(event)) {
207
+ if(!this.disabled){
208
+ this.active = true;
209
+
210
+ var handle = Event.element(event);
211
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
212
+ var track = handle;
213
+ if(track==this.track) {
214
+ var offsets = Position.cumulativeOffset(this.track);
215
+ this.event = event;
216
+ this.setValue(this.translateToValue(
217
+ (this.isVertical() ? pointer[1]-offsets[1] : pointer[0]-offsets[0])-(this.handleLength/2)
218
+ ));
219
+ var offsets = Position.cumulativeOffset(this.activeHandle);
220
+ this.offsetX = (pointer[0] - offsets[0]);
221
+ this.offsetY = (pointer[1] - offsets[1]);
222
+ } else {
223
+ // find the handle (prevents issues with Safari)
224
+ while((this.handles.indexOf(handle) == -1) && handle.parentNode)
225
+ handle = handle.parentNode;
226
+
227
+ if(this.handles.indexOf(handle)!=-1) {
228
+ this.activeHandle = handle;
229
+ this.activeHandleIdx = this.handles.indexOf(this.activeHandle);
230
+ this.updateStyles();
231
+
232
+ var offsets = Position.cumulativeOffset(this.activeHandle);
233
+ this.offsetX = (pointer[0] - offsets[0]);
234
+ this.offsetY = (pointer[1] - offsets[1]);
235
+ }
236
+ }
237
+ }
238
+ Event.stop(event);
239
+ }
240
+ },
241
+ update: function(event) {
242
+ if(this.active) {
243
+ if(!this.dragging) this.dragging = true;
244
+ this.draw(event);
245
+ if(Prototype.Browser.WebKit) window.scrollBy(0,0);
246
+ Event.stop(event);
247
+ }
248
+ },
249
+ draw: function(event) {
250
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
251
+ var offsets = Position.cumulativeOffset(this.track);
252
+ pointer[0] -= this.offsetX + offsets[0];
253
+ pointer[1] -= this.offsetY + offsets[1];
254
+ this.event = event;
255
+ this.setValue(this.translateToValue( this.isVertical() ? pointer[1] : pointer[0] ));
256
+ if(this.initialized && this.options.onSlide)
257
+ this.options.onSlide(this.values.length>1 ? this.values : this.value, this);
258
+ },
259
+ endDrag: function(event) {
260
+ if(this.active && this.dragging) {
261
+ this.finishDrag(event, true);
262
+ Event.stop(event);
263
+ }
264
+ this.active = false;
265
+ this.dragging = false;
266
+ },
267
+ finishDrag: function(event, success) {
268
+ this.active = false;
269
+ this.dragging = false;
270
+ this.updateFinished();
271
+ },
272
+ updateFinished: function() {
273
+ if(this.initialized && this.options.onChange)
274
+ this.options.onChange(this.values.length>1 ? this.values : this.value, this);
275
+ this.event = null;
276
+ }
277
+ }
@@ -0,0 +1,60 @@
1
+ // script.aculo.us sound.js v1.7.1_beta3, Fri May 25 17:19:41 +0200 2007
2
+
3
+ // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
4
+ //
5
+ // Based on code created by Jules Gravinese (http://www.webveteran.com/)
6
+ //
7
+ // script.aculo.us is freely distributable under the terms of an MIT-style license.
8
+ // For details, see the script.aculo.us web site: http://script.aculo.us/
9
+
10
+ Sound = {
11
+ tracks: {},
12
+ _enabled: true,
13
+ template:
14
+ new Template('<embed style="height:0" id="sound_#{track}_#{id}" src="#{url}" loop="false" autostart="true" hidden="true"/>'),
15
+ enable: function(){
16
+ Sound._enabled = true;
17
+ },
18
+ disable: function(){
19
+ Sound._enabled = false;
20
+ },
21
+ play: function(url){
22
+ if(!Sound._enabled) return;
23
+ var options = Object.extend({
24
+ track: 'global', url: url, replace: false
25
+ }, arguments[1] || {});
26
+
27
+ if(options.replace && this.tracks[options.track]) {
28
+ $R(0, this.tracks[options.track].id).each(function(id){
29
+ var sound = $('sound_'+options.track+'_'+id);
30
+ sound.Stop && sound.Stop();
31
+ sound.remove();
32
+ })
33
+ this.tracks[options.track] = null;
34
+ }
35
+
36
+ if(!this.tracks[options.track])
37
+ this.tracks[options.track] = { id: 0 }
38
+ else
39
+ this.tracks[options.track].id++;
40
+
41
+ options.id = this.tracks[options.track].id;
42
+ if (Prototype.Browser.IE) {
43
+ var sound = document.createElement('bgsound');
44
+ sound.setAttribute('id','sound_'+options.track+'_'+options.id);
45
+ sound.setAttribute('src',options.url);
46
+ sound.setAttribute('loop','1');
47
+ sound.setAttribute('autostart','true');
48
+ $$('body')[0].appendChild(sound);
49
+ }
50
+ else
51
+ new Insertion.Bottom($$('body')[0], Sound.template.evaluate(options));
52
+ }
53
+ };
54
+
55
+ if(Prototype.Browser.Gecko && navigator.userAgent.indexOf("Win") > 0){
56
+ if(navigator.plugins && $A(navigator.plugins).detect(function(p){ return p.name.indexOf('QuickTime') != -1 }))
57
+ Sound.template = new Template('<object id="sound_#{track}_#{id}" width="0" height="0" type="audio/mpeg" data="#{url}"/>')
58
+ else
59
+ Sound.play = function(){}
60
+ }
@@ -0,0 +1 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
File without changes
@@ -0,0 +1,12 @@
1
+ /* main-navigation */
2
+ #main-navigation{float:left;display:inline;}
3
+ #account-navigation {float:right;display:inline;}
4
+
5
+ .navigation ul{float:left;margin:4px 0;padding:2px;display:inline;}
6
+ .navigation ul li{float:left;padding:0 4px 0 10px;list-style:none;font-weight:bold;}
7
+ .navigation ul li a{float:left;text-decoration:none;font-weight:bold;}
8
+ .navigation ul li a:hover{text-decoration:underline;}
9
+
10
+ /* themes */
11
+ #current-theme{clear:both;float:left;width:100%;}
12
+ .theme-block{width:250px;height:300px;float:left;clear:none;margin:10px;}
@@ -0,0 +1,26 @@
1
+ /* -----------------------------------------------------------------------
2
+
3
+
4
+ Blueprint CSS Framework 0.8
5
+ http://blueprintcss.org
6
+
7
+ * Copyright (c) 2007-Present. See LICENSE for more info.
8
+ * See README for instructions on how to use Blueprint.
9
+ * For credits and origins, see AUTHORS.
10
+ * This is a compressed file. See the sources in the 'src' directory.
11
+
12
+ ----------------------------------------------------------------------- */
13
+
14
+ /* ie.css */
15
+ body {text-align:center;}
16
+ .container {text-align:left;}
17
+ * html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;}
18
+ * html legend {margin:0px -8px 16px 0;padding:0;}
19
+ ol {margin-left:2em;}
20
+ sup {vertical-align:text-top;}
21
+ sub {vertical-align:text-bottom;}
22
+ html>body p code {*white-space:normal;}
23
+ hr {margin:-8px auto 11px;}
24
+ .clearfix, .container {display:inline-block;}
25
+ * html .clearfix, * html .container {height:1%;}
26
+ fieldset {padding-top:0;}
@@ -0,0 +1,203 @@
1
+ /* -----------------------------------------------------------------------
2
+
3
+
4
+ Blueprint CSS Framework 0.8
5
+ http://blueprintcss.org
6
+
7
+ * Copyright (c) 2007-Present. See LICENSE for more info.
8
+ * See README for instructions on how to use Blueprint.
9
+ * For credits and origins, see AUTHORS.
10
+ * This is a compressed file. See the sources in the 'src' directory.
11
+
12
+ ----------------------------------------------------------------------- */
13
+
14
+ /* reset.css */
15
+ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
16
+ body {line-height:1.5;}
17
+ table {border-collapse:separate;border-spacing:0;}
18
+ caption, th, td {text-align:left;font-weight:normal;}
19
+ table, td, th {vertical-align:middle;}
20
+ blockquote:before, blockquote:after, q:before, q:after {content:"";}
21
+ blockquote, q {quotes:"" "";}
22
+ a img {border:none;}
23
+
24
+ /* typography.css */
25
+ body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
26
+ h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
27
+ h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
28
+ h2 {font-size:2em;margin-bottom:0.75em;}
29
+ h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
30
+ h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
31
+ h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
32
+ h6 {font-size:1em;font-weight:bold;}
33
+ h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
34
+ p {margin:0 0 1.5em;}
35
+ p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
36
+ p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
37
+ a:focus, a:hover {color:#000;}
38
+ a {color:#009;text-decoration:underline;}
39
+ blockquote {margin:1.5em;color:#666;font-style:italic;}
40
+ strong {font-weight:bold;}
41
+ em, dfn {font-style:italic;}
42
+ dfn {font-weight:bold;}
43
+ sup, sub {line-height:0;}
44
+ abbr, acronym {border-bottom:1px dotted #666;}
45
+ address {margin:0 0 1.5em;font-style:italic;}
46
+ del {color:#666;}
47
+ pre {margin:1.5em 0;white-space:pre;}
48
+ pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
49
+ li ul, li ol {margin:0 1.5em;}
50
+ ul, ol {margin:0 1.5em 1.5em 1.5em;}
51
+ ul {list-style-type:disc;}
52
+ ol {list-style-type:decimal;}
53
+ dl {margin:0 0 1.5em 0;}
54
+ dl dt {font-weight:bold;}
55
+ dd {margin-left:1.5em;}
56
+ table {margin-bottom:1.4em;width:100%;}
57
+ th {font-weight:bold;}
58
+ thead th {background:#c3d9ff;}
59
+ th, td, caption {padding:4px 10px 4px 5px;}
60
+ tr.even td {background:#e5ecf9;}
61
+ tfoot {font-style:italic;}
62
+ caption {background:#eee;}
63
+ .small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
64
+ .large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
65
+ .hide {display:none;}
66
+ .quiet {color:#666;}
67
+ .loud {color:#000;}
68
+ .highlight {background:#ff0;}
69
+ .added {background:#060;color:#fff;}
70
+ .removed {background:#900;color:#fff;}
71
+ .first {margin-left:0;padding-left:0;}
72
+ .last {margin-right:0;padding-right:0;}
73
+ .top {margin-top:0;padding-top:0;}
74
+ .bottom {margin-bottom:0;padding-bottom:0;}
75
+
76
+ /* grid.css */
77
+ .container{min-width:950px;width:80%;margin:0 auto;overflow:hidden;}
78
+ .block{overflow:hidden;}
79
+ .column{float:left;}
80
+ .last{margin-right:0;}
81
+ .span-1{width:4%;}
82
+ .span-2{width:8%;}
83
+ .span-3{width:12%;}
84
+ .span-4{width:16%;}
85
+ .span-5{width:20%;}
86
+ .span-6{width:25%;}
87
+ .span-7{width:29%;}
88
+ .span-8{width:33%;}
89
+ .span-9{width:37%;}
90
+ .span-10{width:41%;}
91
+ .span-11{width:45%;}
92
+ .span-12{width:50%;}
93
+ .span-13{width:54%;}
94
+ .span-14{width:58%;}
95
+ .span-15{width:62%;}
96
+ .span-16{width:66%;}
97
+ .span-17{width:70%;}
98
+ .span-18{width:75%;}
99
+ .span-19{width:79%;}
100
+ .span-20{width:83%;}
101
+ .span-21{width:87%;}
102
+ .span-22{width:91%;}
103
+ .span-23{width:95%;}
104
+ .span-24{width:100%;margin-right:0;}
105
+ .span-1>div,.span-2>div,.span-3>div,.span-4>div,
106
+ .span-5>div,.span-6>div,.span-7>div,.span-8>div,
107
+ .span-9>div,.span-10>div,.span-11>div,.span-12>div,
108
+ .span-13>div,.span-14>div,.span-15>div,.span-16>div,
109
+ .span-17>div,.span-18>div,.span-19>div,.span-20>div,
110
+ .span-21>div,.span-22>div,.span-23>div,.span-24>div{margin:0 0.833em 0 0;overflow:hidden;}
111
+ /* Add these to a column to append empty cols. */
112
+ .append-1{padding-right:4%;}
113
+ .append-2{padding-right:8%;}
114
+ .append-3{padding-right:12%;}
115
+ .append-4{padding-right:16%;}
116
+ .append-5{padding-right:20%;}
117
+ .append-6{padding-right:25%;}
118
+ .append-7{padding-right:29%;}
119
+ .append-8{padding-right:33%;}
120
+ .append-9{padding-right:37%;}
121
+ .append-10{padding-right:41%;}
122
+ .append-11{padding-right:45%;}
123
+ .append-12{padding-right:50%;}
124
+ .append-13{padding-right:54%;}
125
+ .append-14{padding-right:58%;}
126
+ .append-15{padding-right:62%;}
127
+ .append-16{padding-right:66%;}
128
+ .append-17{padding-right:70%;}
129
+ .append-18{padding-right:75%;}
130
+ .append-19{padding-right:79%;}
131
+ .append-20{padding-right:83%;}
132
+ .append-21{padding-right:87%;}
133
+ .append-22{padding-right:91%;}
134
+ .append-23{padding-right:95%;}
135
+ /* Add these to a column to prepend empty cols. */
136
+ .prepend-1{padding-left:4%;}
137
+ .prepend-2{padding-left:8%;}
138
+ .prepend-3{padding-left:12%;}
139
+ .prepend-4{padding-left:16%;}
140
+ .prepend-5{padding-left:20%;}
141
+ .prepend-6{padding-left:25%;}
142
+ .prepend-7{padding-left:29%;}
143
+ .prepend-8{padding-left:33%;}
144
+ .prepend-9{padding-left:37%;}
145
+ .prepend-10{padding-left:41%;}
146
+ .prepend-11{padding-left:45%;}
147
+ .prepend-12{padding-left:50%;}
148
+ .prepend-13{padding-left:54%;}
149
+ .prepend-14{padding-left:58%;}
150
+ .prepend-15{padding-left:62%;}
151
+ .prepend-16{padding-left:66%;}
152
+ .prepend-17{padding-left:70%;}
153
+ .prepend-18{padding-left:75%;}
154
+ .prepend-19{padding-left:79%;}
155
+ .prepend-20{padding-left:83%;}
156
+ .prepend-21{padding-left:87%;}
157
+ .prepend-22{padding-left:91%;}
158
+ .prepend-23{padding-left:95%;}
159
+ /* Border on right hand side of a column. */
160
+ .border{border-right:1px solid #eee;}
161
+ /* Border with more whitespace,spans one column. */
162
+ .colborder{padding-right:2%;margin-right:2%;border-right:1px solid #eee;}
163
+ .colborder>div{margin:0;}
164
+ /* Use these classes on an element to push it into the
165
+ next column,or to pull it into the previous column. */
166
+ .pull-1{margin-left:-3.333em;}
167
+ .pull-2{margin-left:-6.666em;}
168
+ .pull-3{margin-left:-10em;}
169
+ .pull-4{margin-left:-13.333em;}
170
+ .push-0{margin:0 0 0 1.5em;}
171
+ .push-1{margin:0 -3.333em 0 1.5em;}
172
+ .push-2{margin:0 -6.666em 0 1.5em;}
173
+ .push-3{margin:0 -10em 0 1.5em;}
174
+ .push-4{margin:0 -13.333em 0 1.5em;}
175
+ .push-0,.push-1,.push-2,.push-3,.push-4{float:right;}
176
+ /* Misc classes and elements
177
+ -------------------------------------------------------------- */
178
+ /* Use a .box to create a padded box inside a column. */
179
+ .box{padding:1.5em;margin-bottom:1.5em;background:#eee;}
180
+ /* Use this to create a horizontal ruler across a column. */
181
+ hr{background:#ddd;color:#ddd;width:100%;height:0.083em;margin:0 0 1.583em;border:none;}
182
+ hr.space{background:#fff;color:#fff;}
183
+
184
+ .clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
185
+ .clearfix, .container {display:block;}
186
+ .clear {clear:both;}
187
+
188
+ /* forms.css */
189
+ label {font-weight:bold;}
190
+ fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
191
+ legend {font-weight:bold;font-size:1.2em;}
192
+ input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
193
+ input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
194
+ input.text, input.title {width:300px;padding:5px;}
195
+ input.title {font-size:1.5em;}
196
+ textarea {width:390px;height:250px;padding:5px;}
197
+ .error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
198
+ .error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
199
+ .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
200
+ .success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
201
+ .error a {color:#8a1f11;}
202
+ .notice a {color:#514721;}
203
+ .success a {color:#264409;}
@@ -0,0 +1,32 @@
1
+ Buttons
2
+
3
+ * Gives you great looking CSS buttons, for both <a> and <button>.
4
+ * Demo: particletree.com/features/rediscovering-the-button-element
5
+
6
+
7
+ Credits
8
+ ----------------------------------------------------------------
9
+
10
+ * Created by Kevin Hale [particletree.com]
11
+ * Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
12
+
13
+
14
+ Usage
15
+ ----------------------------------------------------------------
16
+
17
+ 1) Add this plugin to lib/settings.yml.
18
+ See compress.rb for instructions.
19
+
20
+ 2) Use the following HTML code to place the buttons on your site:
21
+
22
+ <button type="submit" class="button positive">
23
+ <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
24
+ </button>
25
+
26
+ <a class="button" href="/password/reset/">
27
+ <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
28
+ </a>
29
+
30
+ <a href="#" class="button negative">
31
+ <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
32
+ </a>