francois-webby 0.9.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. data/History.txt +218 -0
  2. data/README.rdoc +92 -0
  3. data/Rakefile +62 -0
  4. data/bin/webby +41 -0
  5. data/bin/webby-gen +41 -0
  6. data/examples/blog/Sitefile +7 -0
  7. data/examples/blog/tasks/blog.rake +72 -0
  8. data/examples/blog/templates/atom_feed.erb +40 -0
  9. data/examples/blog/templates/blog/month.erb +22 -0
  10. data/examples/blog/templates/blog/post.erb +16 -0
  11. data/examples/blog/templates/blog/year.erb +22 -0
  12. data/examples/presentation/Sitefile +10 -0
  13. data/examples/presentation/content/css/uv/twilight.css +137 -0
  14. data/examples/presentation/content/presentation/_sample_code.txt +10 -0
  15. data/examples/presentation/content/presentation/index.txt +63 -0
  16. data/examples/presentation/content/presentation/s5/blank.gif +0 -0
  17. data/examples/presentation/content/presentation/s5/bodybg.gif +0 -0
  18. data/examples/presentation/content/presentation/s5/framing.css +23 -0
  19. data/examples/presentation/content/presentation/s5/iepngfix.htc +42 -0
  20. data/examples/presentation/content/presentation/s5/opera.css +7 -0
  21. data/examples/presentation/content/presentation/s5/outline.css +15 -0
  22. data/examples/presentation/content/presentation/s5/pretty.css +86 -0
  23. data/examples/presentation/content/presentation/s5/print.css +25 -0
  24. data/examples/presentation/content/presentation/s5/s5-core.css +9 -0
  25. data/examples/presentation/content/presentation/s5/slides.css +3 -0
  26. data/examples/presentation/content/presentation/s5/slides.js +553 -0
  27. data/examples/presentation/layouts/presentation.txt +43 -0
  28. data/examples/presentation/templates/_code_partial.erb +13 -0
  29. data/examples/presentation/templates/presentation.erb +40 -0
  30. data/examples/tumblog/Sitefile +9 -0
  31. data/examples/tumblog/content/css/tumblog.css +308 -0
  32. data/examples/tumblog/content/images/tumblog/permalink.gif +0 -0
  33. data/examples/tumblog/content/images/tumblog/rss.gif +0 -0
  34. data/examples/tumblog/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
  35. data/examples/tumblog/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
  36. data/examples/tumblog/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
  37. data/examples/tumblog/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
  38. data/examples/tumblog/content/tumblog/200807/up-a-tree/index.txt +13 -0
  39. data/examples/tumblog/content/tumblog/index.txt +37 -0
  40. data/examples/tumblog/content/tumblog/rss.txt +37 -0
  41. data/examples/tumblog/layouts/tumblog/default.txt +44 -0
  42. data/examples/tumblog/layouts/tumblog/post.txt +15 -0
  43. data/examples/tumblog/lib/tumblog_helper.rb +32 -0
  44. data/examples/tumblog/tasks/tumblog.rake +30 -0
  45. data/examples/tumblog/templates/atom_feed.erb +40 -0
  46. data/examples/tumblog/templates/tumblog/conversation.erb +12 -0
  47. data/examples/tumblog/templates/tumblog/link.erb +10 -0
  48. data/examples/tumblog/templates/tumblog/photo.erb +13 -0
  49. data/examples/tumblog/templates/tumblog/post.erb +12 -0
  50. data/examples/tumblog/templates/tumblog/quote.erb +11 -0
  51. data/examples/webby/Sitefile +19 -0
  52. data/examples/webby/content/communicate/index.txt +28 -0
  53. data/examples/webby/content/css/background.gif +0 -0
  54. data/examples/webby/content/css/blueprint/print.css +76 -0
  55. data/examples/webby/content/css/blueprint/screen.css +696 -0
  56. data/examples/webby/content/css/coderay.css +96 -0
  57. data/examples/webby/content/css/site.css +196 -0
  58. data/examples/webby/content/css/uv/twilight.css +137 -0
  59. data/examples/webby/content/index.txt +37 -0
  60. data/examples/webby/content/learn/index.txt +28 -0
  61. data/examples/webby/content/reference/index.txt +204 -0
  62. data/examples/webby/content/release-notes/index.txt +21 -0
  63. data/examples/webby/content/release-notes/rel-0-9-0/index.txt +74 -0
  64. data/examples/webby/content/release-notes/rel-0-9-1/index.txt +93 -0
  65. data/examples/webby/content/release-notes/rel-0-9-2/index.txt +14 -0
  66. data/examples/webby/content/release-notes/rel-0-9-3/index.txt +47 -0
  67. data/examples/webby/content/robots.txt +6 -0
  68. data/examples/webby/content/script/jquery.corner.js +152 -0
  69. data/examples/webby/content/script/jquery.js +31 -0
  70. data/examples/webby/content/sitemap.txt +31 -0
  71. data/examples/webby/content/tips_and_tricks/index.txt +97 -0
  72. data/examples/webby/content/tutorial/index.txt +135 -0
  73. data/examples/webby/content/user-manual/index.txt +419 -0
  74. data/examples/webby/layouts/default.txt +49 -0
  75. data/examples/webby/templates/page.erb +10 -0
  76. data/examples/website/Sitefile +7 -0
  77. data/examples/website/content/css/blueprint/ie.css +26 -0
  78. data/examples/website/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  79. data/examples/website/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
  80. data/examples/website/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  81. data/examples/website/content/css/blueprint/plugins/buttons/readme.txt +32 -0
  82. data/examples/website/content/css/blueprint/plugins/buttons/screen.css +97 -0
  83. data/examples/website/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  84. data/examples/website/content/css/blueprint/plugins/fancy-type/screen.css +71 -0
  85. data/examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  86. data/examples/website/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  87. data/examples/website/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  88. data/examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  89. data/examples/website/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  90. data/examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  91. data/examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  92. data/examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  93. data/examples/website/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  94. data/examples/website/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  95. data/examples/website/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  96. data/examples/website/content/css/blueprint/plugins/rtl/screen.css +109 -0
  97. data/examples/website/content/css/blueprint/print.css +30 -0
  98. data/examples/website/content/css/blueprint/screen.css +251 -0
  99. data/examples/website/content/css/blueprint/src/forms.css +49 -0
  100. data/examples/website/content/css/blueprint/src/grid.css +212 -0
  101. data/examples/website/content/css/blueprint/src/grid.png +0 -0
  102. data/examples/website/content/css/blueprint/src/ie.css +59 -0
  103. data/examples/website/content/css/blueprint/src/print.css +85 -0
  104. data/examples/website/content/css/blueprint/src/reset.css +38 -0
  105. data/examples/website/content/css/blueprint/src/typography.css +105 -0
  106. data/examples/website/content/css/coderay.css +111 -0
  107. data/examples/website/content/css/site.css +67 -0
  108. data/examples/website/content/index.txt +19 -0
  109. data/examples/website/layouts/default.txt +61 -0
  110. data/examples/website/lib/breadcrumbs.rb +28 -0
  111. data/examples/website/templates/_partial.erb +10 -0
  112. data/examples/website/templates/page.erb +18 -0
  113. data/lib/webby/apps/generator.rb +276 -0
  114. data/lib/webby/apps/main.rb +258 -0
  115. data/lib/webby/apps.rb +12 -0
  116. data/lib/webby/auto_builder.rb +157 -0
  117. data/lib/webby/builder.rb +172 -0
  118. data/lib/webby/core_ext/enumerable.rb +11 -0
  119. data/lib/webby/core_ext/hash.rb +28 -0
  120. data/lib/webby/core_ext/kernel.rb +26 -0
  121. data/lib/webby/core_ext/string.rb +163 -0
  122. data/lib/webby/core_ext/time.rb +9 -0
  123. data/lib/webby/filters/basepath.rb +97 -0
  124. data/lib/webby/filters/erb.rb +9 -0
  125. data/lib/webby/filters/haml.rb +18 -0
  126. data/lib/webby/filters/markdown.rb +16 -0
  127. data/lib/webby/filters/maruku.rb +16 -0
  128. data/lib/webby/filters/outline.rb +309 -0
  129. data/lib/webby/filters/sass.rb +17 -0
  130. data/lib/webby/filters/slides.rb +56 -0
  131. data/lib/webby/filters/textile.rb +16 -0
  132. data/lib/webby/filters/tidy.rb +76 -0
  133. data/lib/webby/filters/wiki_words.rb +14 -0
  134. data/lib/webby/filters.rb +85 -0
  135. data/lib/webby/helpers/capture_helper.rb +141 -0
  136. data/lib/webby/helpers/coderay_helper.rb +69 -0
  137. data/lib/webby/helpers/graphviz_helper.rb +136 -0
  138. data/lib/webby/helpers/tag_helper.rb +65 -0
  139. data/lib/webby/helpers/tex_img_helper.rb +133 -0
  140. data/lib/webby/helpers/ultraviolet_helper.rb +63 -0
  141. data/lib/webby/helpers/url_helper.rb +241 -0
  142. data/lib/webby/helpers.rb +30 -0
  143. data/lib/webby/journal.rb +126 -0
  144. data/lib/webby/link_validator.rb +160 -0
  145. data/lib/webby/renderer.rb +389 -0
  146. data/lib/webby/resources/db.rb +251 -0
  147. data/lib/webby/resources/layout.rb +54 -0
  148. data/lib/webby/resources/meta_file.rb +211 -0
  149. data/lib/webby/resources/page.rb +81 -0
  150. data/lib/webby/resources/partial.rb +85 -0
  151. data/lib/webby/resources/resource.rb +201 -0
  152. data/lib/webby/resources/static.rb +36 -0
  153. data/lib/webby/resources.rb +137 -0
  154. data/lib/webby/stelan/mktemp.rb +135 -0
  155. data/lib/webby/stelan/paginator.rb +165 -0
  156. data/lib/webby/tasks/build.rake +27 -0
  157. data/lib/webby/tasks/create.rake +25 -0
  158. data/lib/webby/tasks/deploy.rake +22 -0
  159. data/lib/webby/tasks/growl.rake +16 -0
  160. data/lib/webby/tasks/validate.rake +19 -0
  161. data/lib/webby.rb +232 -0
  162. data/spec/core_ext/hash_spec.rb +47 -0
  163. data/spec/core_ext/string_spec.rb +110 -0
  164. data/spec/core_ext/time_spec.rb +19 -0
  165. data/spec/data/hooligans/bad_meta_data_1.txt +34 -0
  166. data/spec/data/hooligans/bad_meta_data_2.txt +34 -0
  167. data/spec/data/html/anchor.html +11 -0
  168. data/spec/data/html/external.html +10 -0
  169. data/spec/data/html/invalid-relative.html +10 -0
  170. data/spec/data/html/relative-anchor.html +10 -0
  171. data/spec/data/html/relative-invalid-anchor.html +10 -0
  172. data/spec/data/html/relative.html +10 -0
  173. data/spec/data/outline/basic.out +81 -0
  174. data/spec/data/outline/basic.txt +25 -0
  175. data/spec/data/outline/no_clobber.out +86 -0
  176. data/spec/data/outline/numbering.out +81 -0
  177. data/spec/data/outline/numbering_only.out +21 -0
  178. data/spec/data/outline/toc_range_1.out +66 -0
  179. data/spec/data/outline/toc_range_2.out +55 -0
  180. data/spec/data/outline/toc_style.out +81 -0
  181. data/spec/data/site/Sitefile +9 -0
  182. data/spec/data/site/content/_partial.txt +10 -0
  183. data/spec/data/site/content/css/coderay.css +111 -0
  184. data/spec/data/site/content/css/site.css +67 -0
  185. data/spec/data/site/content/css/tumblog.css +308 -0
  186. data/spec/data/site/content/images/tumblog/permalink.gif +0 -0
  187. data/spec/data/site/content/images/tumblog/rss.gif +0 -0
  188. data/spec/data/site/content/index.txt +19 -0
  189. data/spec/data/site/content/photos.txt +21 -0
  190. data/spec/data/site/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
  191. data/spec/data/site/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
  192. data/spec/data/site/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
  193. data/spec/data/site/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
  194. data/spec/data/site/content/tumblog/200807/up-a-tree/index.txt +13 -0
  195. data/spec/data/site/content/tumblog/index.txt +37 -0
  196. data/spec/data/site/content/tumblog/rss.txt +37 -0
  197. data/spec/data/site/layouts/default.txt +58 -0
  198. data/spec/data/site/layouts/tumblog/default.txt +44 -0
  199. data/spec/data/site/layouts/tumblog/post.txt +15 -0
  200. data/spec/data/site/lib/breadcrumbs.rb +28 -0
  201. data/spec/data/site/lib/tumblog_helper.rb +32 -0
  202. data/spec/data/site/tasks/tumblog.rake +30 -0
  203. data/spec/data/site/templates/_partial.erb +10 -0
  204. data/spec/data/site/templates/atom_feed.erb +40 -0
  205. data/spec/data/site/templates/page.erb +18 -0
  206. data/spec/data/site/templates/presentation.erb +40 -0
  207. data/spec/data/site/templates/tumblog/conversation.erb +12 -0
  208. data/spec/data/site/templates/tumblog/link.erb +10 -0
  209. data/spec/data/site/templates/tumblog/photo.erb +13 -0
  210. data/spec/data/site/templates/tumblog/post.erb +12 -0
  211. data/spec/data/site/templates/tumblog/quote.erb +11 -0
  212. data/spec/spec.opts +1 -0
  213. data/spec/spec_helper.rb +58 -0
  214. data/spec/webby/apps/generator_spec.rb +117 -0
  215. data/spec/webby/apps/main_spec.rb +88 -0
  216. data/spec/webby/filters/basepath_spec.rb +167 -0
  217. data/spec/webby/filters/maruku_spec.rb +31 -0
  218. data/spec/webby/filters/outline_spec.rb +92 -0
  219. data/spec/webby/filters/textile_spec.rb +31 -0
  220. data/spec/webby/helpers/capture_helper_spec.rb +56 -0
  221. data/spec/webby/link_validator_spec.rb +154 -0
  222. data/spec/webby/renderer_spec.rb +139 -0
  223. data/spec/webby/resources/db_spec.rb +250 -0
  224. data/spec/webby/resources/layout_spec.rb +83 -0
  225. data/spec/webby/resources/meta_file_spec.rb +171 -0
  226. data/spec/webby/resources/page_spec.rb +111 -0
  227. data/spec/webby/resources/partial_spec.rb +58 -0
  228. data/spec/webby/resources/resource_spec.rb +219 -0
  229. data/spec/webby/resources/static_spec.rb +49 -0
  230. data/spec/webby/resources_spec.rb +69 -0
  231. data/tasks/mswin32.rake +38 -0
  232. data/tasks/website.rake +37 -0
  233. metadata +372 -0
@@ -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:".";display:block;height:0;clear:both;visibility: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; }
@@ -0,0 +1,212 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ grid.css
4
+ * Sets up an easy-to-use grid of 24 columns.
5
+
6
+ By default, the grid is 950px wide, with 24 columns
7
+ spanning 30px, and a 10px margin between columns.
8
+
9
+ If you need fewer or more columns, namespaces or semantic
10
+ element names, use the compressor script (lib/compress.rb)
11
+
12
+ Note: Changes made in this file will not be applied when
13
+ using the compressor: make changes in lib/blueprint/grid.css.rb
14
+
15
+ -------------------------------------------------------------- */
16
+
17
+ /* A container should group all your columns. */
18
+ .container {
19
+ width: 950px;
20
+ margin: 0 auto;
21
+ }
22
+
23
+ /* Use this class on any .span / container to see the grid. */
24
+ .showgrid { background: url(src/grid.png); }
25
+
26
+
27
+ /* Columns
28
+ -------------------------------------------------------------- */
29
+
30
+ /* Sets up basic grid floating and margin. */
31
+ .column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5,
32
+ div.span-6, div.span-7, div.span-8, div.span-9, div.span-10,
33
+ div.span-11, div.span-12, div.span-13, div.span-14, div.span-15,
34
+ div.span-16, div.span-17, div.span-18, div.span-19, div.span-20,
35
+ div.span-21, div.span-22, div.span-23, div.span-24 {
36
+ float: left;
37
+ margin-right: 10px;
38
+ }
39
+
40
+ /* The last column in a row needs this class. */
41
+ .last, div.last { margin-right: 0; }
42
+
43
+ /* Use these classes to set the width of a column. */
44
+ .span-1 { width: 30px; }
45
+ .span-2 { width: 70px; }
46
+ .span-3 { width: 110px; }
47
+ .span-4 { width: 150px; }
48
+ .span-5 { width: 190px; }
49
+ .span-6 { width: 230px; }
50
+ .span-7 { width: 270px; }
51
+ .span-8 { width: 310px; }
52
+ .span-9 { width: 350px; }
53
+ .span-10 { width: 390px; }
54
+ .span-11 { width: 430px; }
55
+ .span-12 { width: 470px; }
56
+ .span-13 { width: 510px; }
57
+ .span-14 { width: 550px; }
58
+ .span-15 { width: 590px; }
59
+ .span-16 { width: 630px; }
60
+ .span-17 { width: 670px; }
61
+ .span-18 { width: 710px; }
62
+ .span-19 { width: 750px; }
63
+ .span-20 { width: 790px; }
64
+ .span-21 { width: 830px; }
65
+ .span-22 { width: 870px; }
66
+ .span-23 { width: 910px; }
67
+ .span-24 { width: 950px; margin: 0; }
68
+
69
+ /* Add these to a column to append empty cols. */
70
+ .append-1 { padding-right: 40px; }
71
+ .append-2 { padding-right: 80px; }
72
+ .append-3 { padding-right: 120px; }
73
+ .append-4 { padding-right: 160px; }
74
+ .append-5 { padding-right: 200px; }
75
+ .append-6 { padding-right: 240px; }
76
+ .append-7 { padding-right: 280px; }
77
+ .append-8 { padding-right: 320px; }
78
+ .append-9 { padding-right: 360px; }
79
+ .append-10 { padding-right: 400px; }
80
+ .append-11 { padding-right: 440px; }
81
+ .append-12 { padding-right: 480px; }
82
+ .append-13 { padding-right: 520px; }
83
+ .append-14 { padding-right: 560px; }
84
+ .append-15 { padding-right: 600px; }
85
+ .append-16 { padding-right: 640px; }
86
+ .append-17 { padding-right: 680px; }
87
+ .append-18 { padding-right: 720px; }
88
+ .append-19 { padding-right: 760px; }
89
+ .append-20 { padding-right: 800px; }
90
+ .append-21 { padding-right: 840px; }
91
+ .append-22 { padding-right: 880px; }
92
+ .append-23 { padding-right: 920px; }
93
+
94
+ /* Add these to a column to prepend empty cols. */
95
+ .prepend-1 { padding-left: 40px; }
96
+ .prepend-2 { padding-left: 80px; }
97
+ .prepend-3 { padding-left: 120px; }
98
+ .prepend-4 { padding-left: 160px; }
99
+ .prepend-5 { padding-left: 200px; }
100
+ .prepend-6 { padding-left: 240px; }
101
+ .prepend-7 { padding-left: 280px; }
102
+ .prepend-8 { padding-left: 320px; }
103
+ .prepend-9 { padding-left: 360px; }
104
+ .prepend-10 { padding-left: 400px; }
105
+ .prepend-11 { padding-left: 440px; }
106
+ .prepend-12 { padding-left: 480px; }
107
+ .prepend-13 { padding-left: 520px; }
108
+ .prepend-14 { padding-left: 560px; }
109
+ .prepend-15 { padding-left: 600px; }
110
+ .prepend-16 { padding-left: 640px; }
111
+ .prepend-17 { padding-left: 680px; }
112
+ .prepend-18 { padding-left: 720px; }
113
+ .prepend-19 { padding-left: 760px; }
114
+ .prepend-20 { padding-left: 800px; }
115
+ .prepend-21 { padding-left: 840px; }
116
+ .prepend-22 { padding-left: 880px; }
117
+ .prepend-23 { padding-left: 920px; }
118
+
119
+
120
+ /* Border on right hand side of a column. */
121
+ .border {
122
+ padding-right: 4px;
123
+ margin-right: 5px;
124
+ border-right: 1px solid #eee;
125
+ }
126
+
127
+ /* Border with more whitespace, spans one column. */
128
+ .colborder {
129
+ padding-right: 24px;
130
+ margin-right: 25px;
131
+ border-right: 1px solid #eee;
132
+ }
133
+
134
+
135
+ /* Use these classes on an element to push it into the
136
+ next column, or to pull it into the previous column. */
137
+
138
+ .pull-1 { margin-left: -40px; }
139
+ .pull-2 { margin-left: -80px; }
140
+ .pull-3 { margin-left: -120px; }
141
+ .pull-4 { margin-left: -160px; }
142
+ .pull-5 { margin-left: -200px; }
143
+
144
+ .pull-1, .pull-2, .pull-3, .pull-4, .pull-5 {
145
+ float:left;
146
+ position:relative;
147
+ }
148
+
149
+ .push-1 { margin: 0 -40px 1.5em 40px; }
150
+ .push-2 { margin: 0 -80px 1.5em 80px; }
151
+ .push-3 { margin: 0 -120px 1.5em 120px; }
152
+ .push-4 { margin: 0 -160px 1.5em 160px; }
153
+ .push-5 { margin: 0 -200px 1.5em 200px; }
154
+
155
+ .push-1, .push-2, .push-3, .push-4, .push-5 {
156
+ float: right;
157
+ position:relative;
158
+ }
159
+
160
+
161
+ /* Misc classes and elements
162
+ -------------------------------------------------------------- */
163
+
164
+ /* In case you need to add a gutter above/below an element */
165
+ .prepend-top {
166
+ margin-top:1.5em;
167
+ }
168
+ .append-bottom {
169
+ margin-bottom:1.5em;
170
+ }
171
+
172
+ /* Use a .box to create a padded box inside a column. */
173
+ .box {
174
+ padding: 1.5em;
175
+ margin-bottom: 1.5em;
176
+ background: #E5ECF9;
177
+ }
178
+
179
+ /* Use this to create a horizontal ruler across a column. */
180
+ hr {
181
+ background: #ddd;
182
+ color: #ddd;
183
+ clear: both;
184
+ float: none;
185
+ width: 100%;
186
+ height: .1em;
187
+ margin: 0 0 1.45em;
188
+ border: none;
189
+ }
190
+ hr.space {
191
+ background: #fff;
192
+ color: #fff;
193
+ }
194
+
195
+
196
+ /* Clearing floats without extra markup
197
+ Based on How To Clear Floats Without Structural Markup by PiE
198
+ [http://www.positioniseverything.net/easyclearing.html] */
199
+
200
+ .clearfix:after, .container:after {
201
+ content: ".";
202
+ display: block;
203
+ height: 0;
204
+ clear: both;
205
+ visibility: hidden;
206
+ }
207
+ .clearfix, .container {display: block;}
208
+
209
+ /* Regular clearing
210
+ apply to column that should drop below previous ones. */
211
+
212
+ .clear { clear:both; }