muck-engine 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +23 -0
  3. data/Rakefile +67 -0
  4. data/VERSION +1 -0
  5. data/app/controllers/admin/muck/base_controller.rb +24 -0
  6. data/app/helpers/muck_custom_form_builder.rb +186 -0
  7. data/app/helpers/muck_engine_helper.rb +60 -0
  8. data/app/models/country.rb +13 -0
  9. data/app/models/language.rb +3 -0
  10. data/app/models/state.rb +13 -0
  11. data/app/views/forms/_base_field.html.erb +11 -0
  12. data/app/views/forms/_color_picker_field.html.erb +27 -0
  13. data/app/views/forms/_default.html.erb +1 -0
  14. data/app/views/forms/_field.html.erb +3 -0
  15. data/app/views/forms/_field_with_tips.html.erb +4 -0
  16. data/app/views/forms/_menu_field.erb +4 -0
  17. data/app/views/forms/_menu_field.html.erb +3 -0
  18. data/app/views/forms/_tips.html.erb +7 -0
  19. data/app/views/layouts/admin.html.erb +39 -0
  20. data/app/views/layouts/default.html.erb +39 -0
  21. data/app/views/shared/_error_box.html.erb +7 -0
  22. data/app/views/shared/_field_error.html.erb +3 -0
  23. data/app/views/shared/_flash_error_box.html.erb +4 -0
  24. data/app/views/shared/_flash_messages.html.erb +7 -0
  25. data/app/views/shared/_growl.html.erb +11 -0
  26. data/app/views/shared/_growl_box.html.erb +3 -0
  27. data/app/views/shared/_no_result.html.erb +1 -0
  28. data/db/migrate/20090402234137_create_languages.rb +18 -0
  29. data/db/migrate/20090426041056_create_countries.rb +15 -0
  30. data/db/migrate/20090426041103_create_states.rb +18 -0
  31. data/install.rb +1 -0
  32. data/lib/action_controller/muck_application.rb +74 -0
  33. data/lib/active_record/muck_model.rb +34 -0
  34. data/lib/muck-engine.rb +5 -0
  35. data/locales/en.yml +17 -0
  36. data/public/images/arrow_down.gif +0 -0
  37. data/public/images/arrow_left.gif +0 -0
  38. data/public/images/arrow_right.gif +0 -0
  39. data/public/images/arrow_up.gif +0 -0
  40. data/public/images/icons/accept.png +0 -0
  41. data/public/images/icons/add.png +0 -0
  42. data/public/images/icons/delete.png +0 -0
  43. data/public/images/icons/vote.png +0 -0
  44. data/public/images/loading.gif +0 -0
  45. data/public/images/spinner.gif +0 -0
  46. data/public/javascripts/application.js +76 -0
  47. data/public/javascripts/fancyzoom.min.js +1 -0
  48. data/public/javascripts/jquery/jquery-ui.js +273 -0
  49. data/public/javascripts/jquery/jquery.form.js +637 -0
  50. data/public/javascripts/jquery/jquery.jgrowl.js +2 -0
  51. data/public/javascripts/jquery/jquery.js +19 -0
  52. data/public/javascripts/jquery/jquery.tips.js +69 -0
  53. data/public/stylesheets/admin.css +12 -0
  54. data/public/stylesheets/blueprint/ie.css +26 -0
  55. data/public/stylesheets/blueprint/liquid_screen.css +203 -0
  56. data/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
  57. data/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
  58. data/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
  59. data/public/stylesheets/blueprint/plugins/buttons/readme.txt +32 -0
  60. data/public/stylesheets/blueprint/plugins/buttons/screen.css +97 -0
  61. data/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +14 -0
  62. data/public/stylesheets/blueprint/plugins/fancy-type/screen.css +71 -0
  63. data/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
  64. data/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
  65. data/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
  66. data/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
  67. data/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
  68. data/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  69. data/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
  70. data/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
  71. data/public/stylesheets/blueprint/plugins/link-icons/readme.txt +18 -0
  72. data/public/stylesheets/blueprint/plugins/link-icons/screen.css +40 -0
  73. data/public/stylesheets/blueprint/plugins/liquid/liquid.css +134 -0
  74. data/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +197 -0
  75. data/public/stylesheets/blueprint/plugins/rtl/readme.txt +10 -0
  76. data/public/stylesheets/blueprint/plugins/rtl/screen.css +109 -0
  77. data/public/stylesheets/blueprint/print.css +30 -0
  78. data/public/stylesheets/blueprint/screen.css +251 -0
  79. data/public/stylesheets/blueprint/src/forms.css +49 -0
  80. data/public/stylesheets/blueprint/src/grid.css +213 -0
  81. data/public/stylesheets/blueprint/src/grid.png +0 -0
  82. data/public/stylesheets/blueprint/src/ie.css +59 -0
  83. data/public/stylesheets/blueprint/src/print.css +85 -0
  84. data/public/stylesheets/blueprint/src/reset.css +38 -0
  85. data/public/stylesheets/blueprint/src/typography.css +105 -0
  86. data/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  87. data/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  88. data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
  89. data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
  90. data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  91. data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
  92. data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  93. data/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  94. data/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
  95. data/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
  96. data/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  97. data/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  98. data/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  99. data/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
  100. data/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
  101. data/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  102. data/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +404 -0
  103. data/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  104. data/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  105. data/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  106. data/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  107. data/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  108. data/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  109. data/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  110. data/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  111. data/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  112. data/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  113. data/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  114. data/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  115. data/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  116. data/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  117. data/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  118. data/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +404 -0
  119. data/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  120. data/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  121. data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  122. data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  123. data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  124. data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  125. data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  126. data/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  127. data/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
  128. data/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  129. data/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
  130. data/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
  131. data/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  132. data/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +404 -0
  133. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  134. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  135. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  136. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  137. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  138. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  139. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  140. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  141. data/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  142. data/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  143. data/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  144. data/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  145. data/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  146. data/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  147. data/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +404 -0
  148. data/public/stylesheets/reset.css +0 -0
  149. data/public/stylesheets/styles.css +76 -0
  150. data/rails/init.rb +3 -0
  151. data/tasks/languages.txt +183 -0
  152. data/test/muck_engine_test.rb +8 -0
  153. data/test/test_helper.rb +3 -0
  154. data/uninstall.rb +1 -0
  155. metadata +207 -0
@@ -0,0 +1,10 @@
1
+ RTL
2
+ * Mirrors Blueprint, so it can be used with Right-to-Left languages.
3
+
4
+ By Ran Yaniv Hartstein, ranh.co.il
5
+
6
+ Usage
7
+ ----------------------------------------------------------------
8
+
9
+ 1) Add this line to your HTML:
10
+ <link rel="stylesheet" href="css/blueprint/plugins/rtl/screen.css" type="text/css" media="screen, projection">
@@ -0,0 +1,109 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ rtl.css
4
+ * Mirrors Blueprint for left-to-right languages
5
+
6
+ By Ran Yaniv Hartstein [ranh.co.il]
7
+
8
+ -------------------------------------------------------------- */
9
+
10
+ body .container { direction: rtl; }
11
+ body .column {
12
+ float: right;
13
+ margin-right: 0;
14
+ margin-left: 10px;
15
+ }
16
+
17
+ body div.last { margin-left: 0; }
18
+ body table .last { padding-left: 0; }
19
+
20
+ body .append-1 { padding-right: 0; padding-left: 40px; }
21
+ body .append-2 { padding-right: 0; padding-left: 80px; }
22
+ body .append-3 { padding-right: 0; padding-left: 120px; }
23
+ body .append-4 { padding-right: 0; padding-left: 160px; }
24
+ body .append-5 { padding-right: 0; padding-left: 200px; }
25
+ body .append-6 { padding-right: 0; padding-left: 240px; }
26
+ body .append-7 { padding-right: 0; padding-left: 280px; }
27
+ body .append-8 { padding-right: 0; padding-left: 320px; }
28
+ body .append-9 { padding-right: 0; padding-left: 360px; }
29
+ body .append-10 { padding-right: 0; padding-left: 400px; }
30
+ body .append-11 { padding-right: 0; padding-left: 440px; }
31
+ body .append-12 { padding-right: 0; padding-left: 480px; }
32
+ body .append-13 { padding-right: 0; padding-left: 520px; }
33
+ body .append-14 { padding-right: 0; padding-left: 560px; }
34
+ body .append-15 { padding-right: 0; padding-left: 600px; }
35
+ body .append-16 { padding-right: 0; padding-left: 640px; }
36
+ body .append-17 { padding-right: 0; padding-left: 680px; }
37
+ body .append-18 { padding-right: 0; padding-left: 720px; }
38
+ body .append-19 { padding-right: 0; padding-left: 760px; }
39
+ body .append-20 { padding-right: 0; padding-left: 800px; }
40
+ body .append-21 { padding-right: 0; padding-left: 840px; }
41
+ body .append-22 { padding-right: 0; padding-left: 880px; }
42
+ body .append-23 { padding-right: 0; padding-left: 920px; }
43
+
44
+ body .prepend-1 { padding-left: 0; padding-right: 40px; }
45
+ body .prepend-2 { padding-left: 0; padding-right: 80px; }
46
+ body .prepend-3 { padding-left: 0; padding-right: 120px; }
47
+ body .prepend-4 { padding-left: 0; padding-right: 160px; }
48
+ body .prepend-5 { padding-left: 0; padding-right: 200px; }
49
+ body .prepend-6 { padding-left: 0; padding-right: 240px; }
50
+ body .prepend-7 { padding-left: 0; padding-right: 280px; }
51
+ body .prepend-8 { padding-left: 0; padding-right: 320px; }
52
+ body .prepend-9 { padding-left: 0; padding-right: 360px; }
53
+ body .prepend-10 { padding-left: 0; padding-right: 400px; }
54
+ body .prepend-11 { padding-left: 0; padding-right: 440px; }
55
+ body .prepend-12 { padding-left: 0; padding-right: 480px; }
56
+ body .prepend-13 { padding-left: 0; padding-right: 520px; }
57
+ body .prepend-14 { padding-left: 0; padding-right: 560px; }
58
+ body .prepend-15 { padding-left: 0; padding-right: 600px; }
59
+ body .prepend-16 { padding-left: 0; padding-right: 640px; }
60
+ body .prepend-17 { padding-left: 0; padding-right: 680px; }
61
+ body .prepend-18 { padding-left: 0; padding-right: 720px; }
62
+ body .prepend-19 { padding-left: 0; padding-right: 760px; }
63
+ body .prepend-20 { padding-left: 0; padding-right: 800px; }
64
+ body .prepend-21 { padding-left: 0; padding-right: 840px; }
65
+ body .prepend-22 { padding-left: 0; padding-right: 880px; }
66
+ body .prepend-23 { padding-left: 0; padding-right: 920px; }
67
+
68
+ body .border {
69
+ padding-right: 0;
70
+ padding-left: 4px;
71
+ margin-right: 0;
72
+ margin-left: 5px;
73
+ border-right: none;
74
+ border-left: 1px solid #eee;
75
+ }
76
+
77
+ body .colborder {
78
+ padding-right: 0;
79
+ padding-left: 24px;
80
+ margin-right: 0;
81
+ margin-left: 25px;
82
+ border-right: none;
83
+ border-left: 1px solid #eee;
84
+ }
85
+
86
+ body .pull-1 { margin-left: 0; margin-right: -40px; }
87
+ body .pull-2 { margin-left: 0; margin-right: -80px; }
88
+ body .pull-3 { margin-left: 0; margin-right: -120px; }
89
+ body .pull-4 { margin-left: 0; margin-right: -160px; }
90
+
91
+ body .push-0 { margin: 0 18px 0 0; }
92
+ body .push-1 { margin: 0 18px 0 -40px; }
93
+ body .push-2 { margin: 0 18px 0 -80px; }
94
+ body .push-3 { margin: 0 18px 0 -120px; }
95
+ body .push-4 { margin: 0 18px 0 -160px; }
96
+ body .push-0, body .push-1, body .push-2,
97
+ body .push-3, body .push-4 { float: left; }
98
+
99
+
100
+ /* Typography with RTL support */
101
+ body h1,body h2,body h3,
102
+ body h4,body h5,body h6 { font-family: Arial, sans-serif; }
103
+ html body { font-family: Arial, sans-serif; }
104
+ body pre,body code,body tt { font-family: monospace; }
105
+
106
+ /* Mirror floats and margins on typographic elements */
107
+ body p img { float: right; margin: 1.5em 0 1.5em 1.5em; }
108
+ body dd, body ul, body ol { margin-left: 0; margin-right: 1.5em;}
109
+ body td, body th { text-align:right; }
@@ -0,0 +1,30 @@
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
+ /* print.css */
15
+ body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;}
16
+ .container {background:none;}
17
+ hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;}
18
+ hr.space {background:#fff;color:#fff;}
19
+ h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;}
20
+ code {font:.9em "Courier New", Monaco, Courier, monospace;}
21
+ img {float:left;margin:1.5em 1.5em 1.5em 0;}
22
+ a img {border:none;}
23
+ p img.top {margin-top:0;}
24
+ blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;}
25
+ .small {font-size:.9em;}
26
+ .large {font-size:1.1em;}
27
+ .quiet {color:#999;}
28
+ .hide {display:none;}
29
+ a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;}
30
+ a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;}
@@ -0,0 +1,251 @@
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 {width:950px;margin:0 auto;}
78
+ .showgrid {background:url(src/grid.png);}
79
+ .column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24 {float:left;margin-right:10px;}
80
+ .last, div.last {margin-right:0;}
81
+ .span-1 {width:30px;}
82
+ .span-2 {width:70px;}
83
+ .span-3 {width:110px;}
84
+ .span-4 {width:150px;}
85
+ .span-5 {width:190px;}
86
+ .span-6 {width:230px;}
87
+ .span-7 {width:270px;}
88
+ .span-8 {width:310px;}
89
+ .span-9 {width:350px;}
90
+ .span-10 {width:390px;}
91
+ .span-11 {width:430px;}
92
+ .span-12 {width:470px;}
93
+ .span-13 {width:510px;}
94
+ .span-14 {width:550px;}
95
+ .span-15 {width:590px;}
96
+ .span-16 {width:630px;}
97
+ .span-17 {width:670px;}
98
+ .span-18 {width:710px;}
99
+ .span-19 {width:750px;}
100
+ .span-20 {width:790px;}
101
+ .span-21 {width:830px;}
102
+ .span-22 {width:870px;}
103
+ .span-23 {width:910px;}
104
+ .span-24, div.span-24 {width:950px;margin:0;}
105
+ input.span-1, textarea.span-1, select.span-1 {width:30px!important;}
106
+ input.span-2, textarea.span-2, select.span-2 {width:50px!important;}
107
+ input.span-3, textarea.span-3, select.span-3 {width:90px!important;}
108
+ input.span-4, textarea.span-4, select.span-4 {width:130px!important;}
109
+ input.span-5, textarea.span-5, select.span-5 {width:170px!important;}
110
+ input.span-6, textarea.span-6, select.span-6 {width:210px!important;}
111
+ input.span-7, textarea.span-7, select.span-7 {width:250px!important;}
112
+ input.span-8, textarea.span-8, select.span-8 {width:290px!important;}
113
+ input.span-9, textarea.span-9, select.span-9 {width:330px!important;}
114
+ input.span-10, textarea.span-10, select.span-10 {width:370px!important;}
115
+ input.span-11, textarea.span-11, select.span-11 {width:410px!important;}
116
+ input.span-12, textarea.span-12, select.span-12 {width:450px!important;}
117
+ input.span-13, textarea.span-13, select.span-13 {width:490px!important;}
118
+ input.span-14, textarea.span-14, select.span-14 {width:530px!important;}
119
+ input.span-15, textarea.span-15, select.span-15 {width:570px!important;}
120
+ input.span-16, textarea.span-16, select.span-16 {width:610px!important;}
121
+ input.span-17, textarea.span-17, select.span-17 {width:650px!important;}
122
+ input.span-18, textarea.span-18, select.span-18 {width:690px!important;}
123
+ input.span-19, textarea.span-19, select.span-19 {width:730px!important;}
124
+ input.span-20, textarea.span-20, select.span-20 {width:770px!important;}
125
+ input.span-21, textarea.span-21, select.span-21 {width:810px!important;}
126
+ input.span-22, textarea.span-22, select.span-22 {width:850px!important;}
127
+ input.span-23, textarea.span-23, select.span-23 {width:890px!important;}
128
+ input.span-24, textarea.span-24, select.span-24 {width:940px!important;}
129
+ .append-1 {padding-right:40px;}
130
+ .append-2 {padding-right:80px;}
131
+ .append-3 {padding-right:120px;}
132
+ .append-4 {padding-right:160px;}
133
+ .append-5 {padding-right:200px;}
134
+ .append-6 {padding-right:240px;}
135
+ .append-7 {padding-right:280px;}
136
+ .append-8 {padding-right:320px;}
137
+ .append-9 {padding-right:360px;}
138
+ .append-10 {padding-right:400px;}
139
+ .append-11 {padding-right:440px;}
140
+ .append-12 {padding-right:480px;}
141
+ .append-13 {padding-right:520px;}
142
+ .append-14 {padding-right:560px;}
143
+ .append-15 {padding-right:600px;}
144
+ .append-16 {padding-right:640px;}
145
+ .append-17 {padding-right:680px;}
146
+ .append-18 {padding-right:720px;}
147
+ .append-19 {padding-right:760px;}
148
+ .append-20 {padding-right:800px;}
149
+ .append-21 {padding-right:840px;}
150
+ .append-22 {padding-right:880px;}
151
+ .append-23 {padding-right:920px;}
152
+ .prepend-1 {padding-left:40px;}
153
+ .prepend-2 {padding-left:80px;}
154
+ .prepend-3 {padding-left:120px;}
155
+ .prepend-4 {padding-left:160px;}
156
+ .prepend-5 {padding-left:200px;}
157
+ .prepend-6 {padding-left:240px;}
158
+ .prepend-7 {padding-left:280px;}
159
+ .prepend-8 {padding-left:320px;}
160
+ .prepend-9 {padding-left:360px;}
161
+ .prepend-10 {padding-left:400px;}
162
+ .prepend-11 {padding-left:440px;}
163
+ .prepend-12 {padding-left:480px;}
164
+ .prepend-13 {padding-left:520px;}
165
+ .prepend-14 {padding-left:560px;}
166
+ .prepend-15 {padding-left:600px;}
167
+ .prepend-16 {padding-left:640px;}
168
+ .prepend-17 {padding-left:680px;}
169
+ .prepend-18 {padding-left:720px;}
170
+ .prepend-19 {padding-left:760px;}
171
+ .prepend-20 {padding-left:800px;}
172
+ .prepend-21 {padding-left:840px;}
173
+ .prepend-22 {padding-left:880px;}
174
+ .prepend-23 {padding-left:920px;}
175
+ div.border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;}
176
+ div.colborder {padding-right:24px;margin-right:25px;border-right:1px solid #eee;}
177
+ .pull-1 {margin-left:-40px;}
178
+ .pull-2 {margin-left:-80px;}
179
+ .pull-3 {margin-left:-120px;}
180
+ .pull-4 {margin-left:-160px;}
181
+ .pull-5 {margin-left:-200px;}
182
+ .pull-6 {margin-left:-240px;}
183
+ .pull-7 {margin-left:-280px;}
184
+ .pull-8 {margin-left:-320px;}
185
+ .pull-9 {margin-left:-360px;}
186
+ .pull-10 {margin-left:-400px;}
187
+ .pull-11 {margin-left:-440px;}
188
+ .pull-12 {margin-left:-480px;}
189
+ .pull-13 {margin-left:-520px;}
190
+ .pull-14 {margin-left:-560px;}
191
+ .pull-15 {margin-left:-600px;}
192
+ .pull-16 {margin-left:-640px;}
193
+ .pull-17 {margin-left:-680px;}
194
+ .pull-18 {margin-left:-720px;}
195
+ .pull-19 {margin-left:-760px;}
196
+ .pull-20 {margin-left:-800px;}
197
+ .pull-21 {margin-left:-840px;}
198
+ .pull-22 {margin-left:-880px;}
199
+ .pull-23 {margin-left:-920px;}
200
+ .pull-24 {margin-left:-960px;}
201
+ .pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float:left;position:relative;}
202
+ .push-1 {margin:0 -40px 1.5em 40px;}
203
+ .push-2 {margin:0 -80px 1.5em 80px;}
204
+ .push-3 {margin:0 -120px 1.5em 120px;}
205
+ .push-4 {margin:0 -160px 1.5em 160px;}
206
+ .push-5 {margin:0 -200px 1.5em 200px;}
207
+ .push-6 {margin:0 -240px 1.5em 240px;}
208
+ .push-7 {margin:0 -280px 1.5em 280px;}
209
+ .push-8 {margin:0 -320px 1.5em 320px;}
210
+ .push-9 {margin:0 -360px 1.5em 360px;}
211
+ .push-10 {margin:0 -400px 1.5em 400px;}
212
+ .push-11 {margin:0 -440px 1.5em 440px;}
213
+ .push-12 {margin:0 -480px 1.5em 480px;}
214
+ .push-13 {margin:0 -520px 1.5em 520px;}
215
+ .push-14 {margin:0 -560px 1.5em 560px;}
216
+ .push-15 {margin:0 -600px 1.5em 600px;}
217
+ .push-16 {margin:0 -640px 1.5em 640px;}
218
+ .push-17 {margin:0 -680px 1.5em 680px;}
219
+ .push-18 {margin:0 -720px 1.5em 720px;}
220
+ .push-19 {margin:0 -760px 1.5em 760px;}
221
+ .push-20 {margin:0 -800px 1.5em 800px;}
222
+ .push-21 {margin:0 -840px 1.5em 840px;}
223
+ .push-22 {margin:0 -880px 1.5em 880px;}
224
+ .push-23 {margin:0 -920px 1.5em 920px;}
225
+ .push-24 {margin:0 -960px 1.5em 960px;}
226
+ .push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float:right;position:relative;}
227
+ .prepend-top {margin-top:1.5em;}
228
+ .append-bottom {margin-bottom:1.5em;}
229
+ .box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
230
+ hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
231
+ hr.space {background:#fff;color:#fff;}
232
+ .clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
233
+ .clearfix, .container {display:block;}
234
+ .clear {clear:both;}
235
+
236
+ /* forms.css */
237
+ label {font-weight:bold;}
238
+ fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
239
+ legend {font-weight:bold;font-size:1.2em;}
240
+ input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
241
+ input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
242
+ input.text, input.title {width:300px;padding:5px;}
243
+ input.title {font-size:1.5em;}
244
+ textarea {width:390px;height:250px;padding:5px;}
245
+ .error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
246
+ .error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
247
+ .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
248
+ .success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
249
+ .error a {color:#8a1f11;}
250
+ .notice a {color:#514721;}
251
+ .success a {color:#264409;}
@@ -0,0 +1,49 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ forms.css
4
+ * Sets up some default styling for forms
5
+ * Gives you classes to enhance your forms
6
+
7
+ Usage:
8
+ * For text fields, use class .title or .text
9
+
10
+ -------------------------------------------------------------- */
11
+
12
+ label { font-weight: bold; }
13
+ fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
14
+ legend { font-weight: bold; font-size:1.2em; }
15
+
16
+
17
+ /* Form fields
18
+ -------------------------------------------------------------- */
19
+
20
+ input.text, input.title,
21
+ textarea, select {
22
+ margin:0.5em 0;
23
+ border:1px solid #bbb;
24
+ }
25
+
26
+ input.text:focus, input.title:focus,
27
+ textarea:focus, select:focus {
28
+ border:1px solid #666;
29
+ }
30
+
31
+ input.text,
32
+ input.title { width: 300px; padding:5px; }
33
+ input.title { font-size:1.5em; }
34
+ textarea { width: 390px; height: 250px; padding:5px; }
35
+
36
+
37
+ /* Success, notice and error boxes
38
+ -------------------------------------------------------------- */
39
+
40
+ .error,
41
+ .notice,
42
+ .success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
43
+
44
+ .error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
45
+ .notice { background: #FFF6BF; color: #514721; border-color: #FFD324; }
46
+ .success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
47
+ .error a { color: #8a1f11; }
48
+ .notice a { color: #514721; }
49
+ .success a { color: #264409; }