savage-beast 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. data/.gitignore +2 -0
  2. data/README.rdoc +42 -0
  3. data/Rakefile +25 -0
  4. data/VERSION +1 -0
  5. data/app/controllers/application.rb +6 -0
  6. data/app/controllers/beast_application_controller.rb +3 -0
  7. data/app/controllers/forums_controller.rb +64 -0
  8. data/app/controllers/moderators_controller.rb +10 -0
  9. data/app/controllers/monitorships_controller.rb +22 -0
  10. data/app/controllers/posts_controller.rb +134 -0
  11. data/app/controllers/topics_controller.rb +110 -0
  12. data/app/helpers/count_helper.rb +13 -0
  13. data/app/helpers/forums_helper.rb +15 -0
  14. data/app/helpers/moderators_helper.rb +2 -0
  15. data/app/helpers/monitorships_helper.rb +2 -0
  16. data/app/helpers/posts_helper.rb +3 -0
  17. data/app/helpers/topics_helper.rb +3 -0
  18. data/app/models/forum.rb +26 -0
  19. data/app/models/moderatorship.rb +6 -0
  20. data/app/models/monitorship.rb +5 -0
  21. data/app/models/monitorships_sweeper.rb +9 -0
  22. data/app/models/post.rb +33 -0
  23. data/app/models/posts_sweeper.rb +12 -0
  24. data/app/models/topic.rb +94 -0
  25. data/app/views/forums/_form.html.erb +21 -0
  26. data/app/views/forums/edit.html.erb +12 -0
  27. data/app/views/forums/index.html.erb +77 -0
  28. data/app/views/forums/new.html.erb +10 -0
  29. data/app/views/forums/show.html.erb +94 -0
  30. data/app/views/layouts/_head.html.erb +34 -0
  31. data/app/views/layouts/_post.rss.builder +9 -0
  32. data/app/views/layouts/application.html.erb +29 -0
  33. data/app/views/layouts/beast.html.erb +29 -0
  34. data/app/views/monitorships/create.js.rjs +4 -0
  35. data/app/views/monitorships/destroy.js.rjs +4 -0
  36. data/app/views/posts/_edit.html.erb +38 -0
  37. data/app/views/posts/edit.html.erb +14 -0
  38. data/app/views/posts/edit.js.rjs +6 -0
  39. data/app/views/posts/index.html.erb +53 -0
  40. data/app/views/posts/index.rss.builder +20 -0
  41. data/app/views/posts/monitored.html.erb +55 -0
  42. data/app/views/posts/monitored.rss.builder +15 -0
  43. data/app/views/posts/update.js.rjs +3 -0
  44. data/app/views/topics/_form.html.erb +28 -0
  45. data/app/views/topics/edit.html.erb +10 -0
  46. data/app/views/topics/index.html.erb +2 -0
  47. data/app/views/topics/new.html.erb +18 -0
  48. data/app/views/topics/show.html.erb +183 -0
  49. data/app/views/topics/show.rss.builder +16 -0
  50. data/config/routes.rb +18 -0
  51. data/generators/beast/beast_generator.rb +88 -0
  52. data/generators/beast/templates/migrations/create_savage_tables.rb +73 -0
  53. data/generators/beast/templates/public/images/clearbits/_readme.txt +12 -0
  54. data/generators/beast/templates/public/images/clearbits/add.gif +0 -0
  55. data/generators/beast/templates/public/images/clearbits/addressbook.gif +0 -0
  56. data/generators/beast/templates/public/images/clearbits/alert.gif +0 -0
  57. data/generators/beast/templates/public/images/clearbits/apple.gif +0 -0
  58. data/generators/beast/templates/public/images/clearbits/arrow1_e.gif +0 -0
  59. data/generators/beast/templates/public/images/clearbits/arrow1_n.gif +0 -0
  60. data/generators/beast/templates/public/images/clearbits/arrow1_ne.gif +0 -0
  61. data/generators/beast/templates/public/images/clearbits/arrow1_nw.gif +0 -0
  62. data/generators/beast/templates/public/images/clearbits/arrow1_s.gif +0 -0
  63. data/generators/beast/templates/public/images/clearbits/arrow1_se.gif +0 -0
  64. data/generators/beast/templates/public/images/clearbits/arrow1_sw.gif +0 -0
  65. data/generators/beast/templates/public/images/clearbits/arrow1_w.gif +0 -0
  66. data/generators/beast/templates/public/images/clearbits/arrow2_e.gif +0 -0
  67. data/generators/beast/templates/public/images/clearbits/arrow2_n.gif +0 -0
  68. data/generators/beast/templates/public/images/clearbits/arrow2_ne.gif +0 -0
  69. data/generators/beast/templates/public/images/clearbits/arrow2_nw.gif +0 -0
  70. data/generators/beast/templates/public/images/clearbits/arrow2_s.gif +0 -0
  71. data/generators/beast/templates/public/images/clearbits/arrow2_se.gif +0 -0
  72. data/generators/beast/templates/public/images/clearbits/arrow2_sw.gif +0 -0
  73. data/generators/beast/templates/public/images/clearbits/arrow2_w.gif +0 -0
  74. data/generators/beast/templates/public/images/clearbits/arrow3_e.gif +0 -0
  75. data/generators/beast/templates/public/images/clearbits/arrow3_n.gif +0 -0
  76. data/generators/beast/templates/public/images/clearbits/arrow3_ne.gif +0 -0
  77. data/generators/beast/templates/public/images/clearbits/arrow3_nw.gif +0 -0
  78. data/generators/beast/templates/public/images/clearbits/arrow3_s.gif +0 -0
  79. data/generators/beast/templates/public/images/clearbits/arrow3_se.gif +0 -0
  80. data/generators/beast/templates/public/images/clearbits/arrow3_sw.gif +0 -0
  81. data/generators/beast/templates/public/images/clearbits/arrow3_w.gif +0 -0
  82. data/generators/beast/templates/public/images/clearbits/ascii.gif +0 -0
  83. data/generators/beast/templates/public/images/clearbits/back.gif +0 -0
  84. data/generators/beast/templates/public/images/clearbits/bg_blank.gif +0 -0
  85. data/generators/beast/templates/public/images/clearbits/bg_circle.gif +0 -0
  86. data/generators/beast/templates/public/images/clearbits/bg_rounded.gif +0 -0
  87. data/generators/beast/templates/public/images/clearbits/bg_rounded_ne.gif +0 -0
  88. data/generators/beast/templates/public/images/clearbits/bg_rounded_nw.gif +0 -0
  89. data/generators/beast/templates/public/images/clearbits/bg_rounded_se.gif +0 -0
  90. data/generators/beast/templates/public/images/clearbits/bg_rounded_sw.gif +0 -0
  91. data/generators/beast/templates/public/images/clearbits/bigsmile.gif +0 -0
  92. data/generators/beast/templates/public/images/clearbits/binary.gif +0 -0
  93. data/generators/beast/templates/public/images/clearbits/blah.gif +0 -0
  94. data/generators/beast/templates/public/images/clearbits/bstop.gif +0 -0
  95. data/generators/beast/templates/public/images/clearbits/buy.gif +0 -0
  96. data/generators/beast/templates/public/images/clearbits/calday.gif +0 -0
  97. data/generators/beast/templates/public/images/clearbits/calendar.gif +0 -0
  98. data/generators/beast/templates/public/images/clearbits/camera.gif +0 -0
  99. data/generators/beast/templates/public/images/clearbits/cart.gif +0 -0
  100. data/generators/beast/templates/public/images/clearbits/cd.gif +0 -0
  101. data/generators/beast/templates/public/images/clearbits/cellphone.gif +0 -0
  102. data/generators/beast/templates/public/images/clearbits/chat.gif +0 -0
  103. data/generators/beast/templates/public/images/clearbits/check.gif +0 -0
  104. data/generators/beast/templates/public/images/clearbits/close.gif +0 -0
  105. data/generators/beast/templates/public/images/clearbits/comment.gif +0 -0
  106. data/generators/beast/templates/public/images/clearbits/cube.gif +0 -0
  107. data/generators/beast/templates/public/images/clearbits/day.gif +0 -0
  108. data/generators/beast/templates/public/images/clearbits/denied.gif +0 -0
  109. data/generators/beast/templates/public/images/clearbits/document.gif +0 -0
  110. data/generators/beast/templates/public/images/clearbits/download.gif +0 -0
  111. data/generators/beast/templates/public/images/clearbits/edit.gif +0 -0
  112. data/generators/beast/templates/public/images/clearbits/eject.gif +0 -0
  113. data/generators/beast/templates/public/images/clearbits/equalizer.gif +0 -0
  114. data/generators/beast/templates/public/images/clearbits/first.gif +0 -0
  115. data/generators/beast/templates/public/images/clearbits/flag.gif +0 -0
  116. data/generators/beast/templates/public/images/clearbits/flash.gif +0 -0
  117. data/generators/beast/templates/public/images/clearbits/folder.gif +0 -0
  118. data/generators/beast/templates/public/images/clearbits/forward.gif +0 -0
  119. data/generators/beast/templates/public/images/clearbits/frown.gif +0 -0
  120. data/generators/beast/templates/public/images/clearbits/ftp.gif +0 -0
  121. data/generators/beast/templates/public/images/clearbits/graph.gif +0 -0
  122. data/generators/beast/templates/public/images/clearbits/heart.gif +0 -0
  123. data/generators/beast/templates/public/images/clearbits/home.gif +0 -0
  124. data/generators/beast/templates/public/images/clearbits/html.gif +0 -0
  125. data/generators/beast/templates/public/images/clearbits/ipod.gif +0 -0
  126. data/generators/beast/templates/public/images/clearbits/last.gif +0 -0
  127. data/generators/beast/templates/public/images/clearbits/lock.gif +0 -0
  128. data/generators/beast/templates/public/images/clearbits/loop.gif +0 -0
  129. data/generators/beast/templates/public/images/clearbits/mail.gif +0 -0
  130. data/generators/beast/templates/public/images/clearbits/man.gif +0 -0
  131. data/generators/beast/templates/public/images/clearbits/manman.gif +0 -0
  132. data/generators/beast/templates/public/images/clearbits/music.gif +0 -0
  133. data/generators/beast/templates/public/images/clearbits/mute.gif +0 -0
  134. data/generators/beast/templates/public/images/clearbits/mute_centered.gif +0 -0
  135. data/generators/beast/templates/public/images/clearbits/newwindow.gif +0 -0
  136. data/generators/beast/templates/public/images/clearbits/next.gif +0 -0
  137. data/generators/beast/templates/public/images/clearbits/night.gif +0 -0
  138. data/generators/beast/templates/public/images/clearbits/open.gif +0 -0
  139. data/generators/beast/templates/public/images/clearbits/pause.gif +0 -0
  140. data/generators/beast/templates/public/images/clearbits/phone.gif +0 -0
  141. data/generators/beast/templates/public/images/clearbits/play.gif +0 -0
  142. data/generators/beast/templates/public/images/clearbits/previous.gif +0 -0
  143. data/generators/beast/templates/public/images/clearbits/quicktime.gif +0 -0
  144. data/generators/beast/templates/public/images/clearbits/redo.gif +0 -0
  145. data/generators/beast/templates/public/images/clearbits/reload.gif +0 -0
  146. data/generators/beast/templates/public/images/clearbits/sad.gif +0 -0
  147. data/generators/beast/templates/public/images/clearbits/save.gif +0 -0
  148. data/generators/beast/templates/public/images/clearbits/scream.gif +0 -0
  149. data/generators/beast/templates/public/images/clearbits/search.gif +0 -0
  150. data/generators/beast/templates/public/images/clearbits/seconds.gif +0 -0
  151. data/generators/beast/templates/public/images/clearbits/smile.gif +0 -0
  152. data/generators/beast/templates/public/images/clearbits/smirk.gif +0 -0
  153. data/generators/beast/templates/public/images/clearbits/star.gif +0 -0
  154. data/generators/beast/templates/public/images/clearbits/stop.gif +0 -0
  155. data/generators/beast/templates/public/images/clearbits/subtract.gif +0 -0
  156. data/generators/beast/templates/public/images/clearbits/switch.gif +0 -0
  157. data/generators/beast/templates/public/images/clearbits/target.gif +0 -0
  158. data/generators/beast/templates/public/images/clearbits/tcp.gif +0 -0
  159. data/generators/beast/templates/public/images/clearbits/time.gif +0 -0
  160. data/generators/beast/templates/public/images/clearbits/toggle.gif +0 -0
  161. data/generators/beast/templates/public/images/clearbits/tongue.gif +0 -0
  162. data/generators/beast/templates/public/images/clearbits/tools.gif +0 -0
  163. data/generators/beast/templates/public/images/clearbits/trackback.gif +0 -0
  164. data/generators/beast/templates/public/images/clearbits/trash.gif +0 -0
  165. data/generators/beast/templates/public/images/clearbits/tv.gif +0 -0
  166. data/generators/beast/templates/public/images/clearbits/type.gif +0 -0
  167. data/generators/beast/templates/public/images/clearbits/undo.gif +0 -0
  168. data/generators/beast/templates/public/images/clearbits/unlock.gif +0 -0
  169. data/generators/beast/templates/public/images/clearbits/upload.gif +0 -0
  170. data/generators/beast/templates/public/images/clearbits/user.gif +0 -0
  171. data/generators/beast/templates/public/images/clearbits/video.gif +0 -0
  172. data/generators/beast/templates/public/images/clearbits/volume_high.gif +0 -0
  173. data/generators/beast/templates/public/images/clearbits/volume_low.gif +0 -0
  174. data/generators/beast/templates/public/images/clearbits/wifi.gif +0 -0
  175. data/generators/beast/templates/public/images/clearbits/window.gif +0 -0
  176. data/generators/beast/templates/public/images/clearbits/woman.gif +0 -0
  177. data/generators/beast/templates/public/images/clearbits/womanman.gif +0 -0
  178. data/generators/beast/templates/public/images/clearbits/work.gif +0 -0
  179. data/generators/beast/templates/public/images/clearbits/zoomin.gif +0 -0
  180. data/generators/beast/templates/public/images/clearbits/zoomout.gif +0 -0
  181. data/generators/beast/templates/public/images/feed-icon.png +0 -0
  182. data/generators/beast/templates/public/images/rails.png +0 -0
  183. data/generators/beast/templates/public/images/reply_background.png +0 -0
  184. data/generators/beast/templates/public/images/small_circle.gif +0 -0
  185. data/generators/beast/templates/public/images/spinner.gif +0 -0
  186. data/generators/beast/templates/public/images/spinner_black.gif +0 -0
  187. data/generators/beast/templates/public/images/spinner_bounce.gif +0 -0
  188. data/generators/beast/templates/public/javascripts/beast.js +80 -0
  189. data/generators/beast/templates/public/stylesheets/display.css +941 -0
  190. data/lang/en.yml +206 -0
  191. data/lib/beast.rb +79 -0
  192. data/lib/savage_beast/application_helper.rb +91 -0
  193. data/lib/savage_beast/authentication_system.rb +47 -0
  194. data/lib/savage_beast/user_init.rb +79 -0
  195. data/lib/tasks/capistrano.rake +90 -0
  196. data/lib/tasks/deploy_edge.rake +44 -0
  197. data/lib/tasks/savage_beast.rake +133 -0
  198. data/po/beast.pot +712 -0
  199. data/po/nl/beast.po +700 -0
  200. data/tested_plugins/acts_as_list/README +23 -0
  201. data/tested_plugins/acts_as_list/init.rb +3 -0
  202. data/tested_plugins/acts_as_list/lib/active_record/acts/list.rb +256 -0
  203. data/tested_plugins/acts_as_list/test/list_test.rb +332 -0
  204. data/tested_plugins/gibberish/LICENSE +18 -0
  205. data/tested_plugins/gibberish/README +118 -0
  206. data/tested_plugins/gibberish/Rakefile +14 -0
  207. data/tested_plugins/gibberish/init.rb +3 -0
  208. data/tested_plugins/gibberish/lang/es.yml +3 -0
  209. data/tested_plugins/gibberish/lang/fr.yml +3 -0
  210. data/tested_plugins/gibberish/lib/gibberish.rb +8 -0
  211. data/tested_plugins/gibberish/lib/gibberish/localize.rb +88 -0
  212. data/tested_plugins/gibberish/lib/gibberish/string_ext.rb +17 -0
  213. data/tested_plugins/gibberish/test/gibberish_test.rb +203 -0
  214. data/tested_plugins/gibberish/test/lang/es.yml +1 -0
  215. data/tested_plugins/gibberish/test/lang/fr.yml +1 -0
  216. data/tested_plugins/mislav-will_paginate/CHANGELOG.rdoc +110 -0
  217. data/tested_plugins/mislav-will_paginate/LICENSE +18 -0
  218. data/tested_plugins/mislav-will_paginate/README.rdoc +107 -0
  219. data/tested_plugins/mislav-will_paginate/Rakefile +53 -0
  220. data/tested_plugins/mislav-will_paginate/examples/apple-circle.gif +0 -0
  221. data/tested_plugins/mislav-will_paginate/examples/index.haml +69 -0
  222. data/tested_plugins/mislav-will_paginate/examples/index.html +92 -0
  223. data/tested_plugins/mislav-will_paginate/examples/pagination.css +90 -0
  224. data/tested_plugins/mislav-will_paginate/examples/pagination.sass +91 -0
  225. data/tested_plugins/mislav-will_paginate/init.rb +1 -0
  226. data/tested_plugins/mislav-will_paginate/lib/will_paginate.rb +78 -0
  227. data/tested_plugins/mislav-will_paginate/lib/will_paginate/array.rb +16 -0
  228. data/tested_plugins/mislav-will_paginate/lib/will_paginate/collection.rb +146 -0
  229. data/tested_plugins/mislav-will_paginate/lib/will_paginate/core_ext.rb +32 -0
  230. data/tested_plugins/mislav-will_paginate/lib/will_paginate/finder.rb +264 -0
  231. data/tested_plugins/mislav-will_paginate/lib/will_paginate/named_scope.rb +170 -0
  232. data/tested_plugins/mislav-will_paginate/lib/will_paginate/named_scope_patch.rb +37 -0
  233. data/tested_plugins/mislav-will_paginate/lib/will_paginate/version.rb +9 -0
  234. data/tested_plugins/mislav-will_paginate/lib/will_paginate/view_helpers.rb +402 -0
  235. data/tested_plugins/mislav-will_paginate/test/boot.rb +21 -0
  236. data/tested_plugins/mislav-will_paginate/test/collection_test.rb +143 -0
  237. data/tested_plugins/mislav-will_paginate/test/console +8 -0
  238. data/tested_plugins/mislav-will_paginate/test/database.yml +22 -0
  239. data/tested_plugins/mislav-will_paginate/test/finder_test.rb +476 -0
  240. data/tested_plugins/mislav-will_paginate/test/fixtures/admin.rb +3 -0
  241. data/tested_plugins/mislav-will_paginate/test/fixtures/developer.rb +14 -0
  242. data/tested_plugins/mislav-will_paginate/test/fixtures/developers_projects.yml +13 -0
  243. data/tested_plugins/mislav-will_paginate/test/fixtures/project.rb +15 -0
  244. data/tested_plugins/mislav-will_paginate/test/fixtures/projects.yml +6 -0
  245. data/tested_plugins/mislav-will_paginate/test/fixtures/replies.yml +29 -0
  246. data/tested_plugins/mislav-will_paginate/test/fixtures/reply.rb +7 -0
  247. data/tested_plugins/mislav-will_paginate/test/fixtures/schema.rb +38 -0
  248. data/tested_plugins/mislav-will_paginate/test/fixtures/topic.rb +10 -0
  249. data/tested_plugins/mislav-will_paginate/test/fixtures/topics.yml +30 -0
  250. data/tested_plugins/mislav-will_paginate/test/fixtures/user.rb +2 -0
  251. data/tested_plugins/mislav-will_paginate/test/fixtures/users.yml +35 -0
  252. data/tested_plugins/mislav-will_paginate/test/helper.rb +40 -0
  253. data/tested_plugins/mislav-will_paginate/test/lib/activerecord_test_case.rb +43 -0
  254. data/tested_plugins/mislav-will_paginate/test/lib/activerecord_test_connector.rb +75 -0
  255. data/tested_plugins/mislav-will_paginate/test/lib/load_fixtures.rb +11 -0
  256. data/tested_plugins/mislav-will_paginate/test/lib/view_test_process.rb +178 -0
  257. data/tested_plugins/mislav-will_paginate/test/tasks.rake +59 -0
  258. data/tested_plugins/mislav-will_paginate/test/view_test.rb +365 -0
  259. data/tested_plugins/white_list/README +29 -0
  260. data/tested_plugins/white_list/Rakefile +22 -0
  261. data/tested_plugins/white_list/init.rb +2 -0
  262. data/tested_plugins/white_list/lib/white_list_helper.rb +97 -0
  263. data/tested_plugins/white_list/test/white_list_test.rb +132 -0
  264. data/tested_plugins/white_list_formatted_content/init.rb +27 -0
  265. metadata +322 -0
@@ -0,0 +1,80 @@
1
+
2
+ var TopicForm = {
3
+ editNewTitle: function(txtField) {
4
+ $('new_topic').innerHTML = (txtField.value.length > 5) ? txtField.value : 'New Topic';
5
+ }
6
+ }
7
+
8
+ var LoginForm = {
9
+ setToPassword: function() {
10
+ $('openid_fields').hide();
11
+ $('password_fields').show();
12
+ },
13
+
14
+ setToOpenID: function() {
15
+ $('password_fields').hide();
16
+ $('openid_fields').show();
17
+ }
18
+ }
19
+
20
+ var EditForm = {
21
+ // show the form
22
+ init: function(postId) {
23
+ $('edit-post-' + postId + '_spinner').show();
24
+ this.clearReplyId();
25
+ },
26
+
27
+ // sets the current post id we're editing
28
+ setReplyId: function(postId) {
29
+ $('edit').setAttribute('post_id', postId.toString());
30
+ $('post_' + postId + '-row').addClassName('editing');
31
+ if($('reply')) $('reply').hide();
32
+ },
33
+
34
+ // clears the current post id
35
+ clearReplyId: function() {
36
+ var currentId = this.currentReplyId()
37
+ if(!currentId || currentId == '') return;
38
+
39
+ var row = $('post_' + currentId + '-row');
40
+ if(row) row.removeClassName('editing');
41
+ $('edit').setAttribute('post_id', '');
42
+ },
43
+
44
+ // gets the current post id we're editing
45
+ currentReplyId: function() {
46
+ return $('edit').getAttribute('post_id');
47
+ },
48
+
49
+ // checks whether we're editing this post already
50
+ isEditing: function(postId) {
51
+ if (this.currentReplyId() == postId.toString())
52
+ {
53
+ $('edit').show();
54
+ $('edit_post_body').focus();
55
+ return true;
56
+ }
57
+ return false;
58
+ },
59
+
60
+ // close reply, clear current reply id
61
+ cancel: function() {
62
+ this.clearReplyId();
63
+ $('edit').hide()
64
+ }
65
+ }
66
+
67
+ var ReplyForm = {
68
+ // yes, i use setTimeout for a reason
69
+ init: function() {
70
+ EditForm.cancel();
71
+ $('reply').toggle();
72
+ $('post_body').focus();
73
+ // for Safari which is sometime weird
74
+ // setTimeout('$(\"post_body\").focus();',50);
75
+ }
76
+ }
77
+
78
+ Event.addBehavior({
79
+ '#search,#monitor_submit': function() { this.hide(); }
80
+ })
@@ -0,0 +1,941 @@
1
+ body
2
+ {
3
+ margin:0;
4
+ padding:0;
5
+ background:#d7d7d7;
6
+ font-family:Arial, Helvetica, sans-serif;
7
+ }
8
+
9
+ a { color: #24b; }
10
+
11
+ #container
12
+ {
13
+ width:92%;
14
+ margin:0 auto;
15
+ min-width:760px;
16
+ }
17
+
18
+ #content
19
+ {
20
+ margin:1em 0;
21
+ width:70%;
22
+ background:white;
23
+ padding:25px;
24
+ border:5px solid #bbb;
25
+ border-width:0 5px 5px 0;
26
+ float:left;
27
+ min-width:425px;
28
+ min-height:165px;
29
+ }
30
+
31
+ #right
32
+ {
33
+ margin-top:1em;
34
+ float:left;
35
+ width:19%;
36
+ font-family:'Lucida Grande', 'Trebuchet MS', Arial, Helvetica, sans-serif;
37
+ margin-left:1.25em;
38
+ margin-left:3%;
39
+ margin-right:0;
40
+ }
41
+
42
+ #right p
43
+ {
44
+ font-size:0.75em;
45
+ }
46
+ #right a.hidden { color:black; text-decoration:none; border-bottom:1px solid #999; }
47
+ #right a.hidden:hover { color:blue; text-decoration:none; border-bottom:1px solid #963; }
48
+
49
+ #right p.help
50
+ {
51
+ font-weight:normal;
52
+ font-size:0.75em;
53
+ }
54
+
55
+ #footer
56
+ {
57
+ margin:0 auto;
58
+ margin-bottom:1em;
59
+ font-family:'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
60
+ font-size:0.75em;
61
+ color:#333;
62
+
63
+ margin-left:3%;
64
+ width:67%;
65
+ min-width:545px;
66
+ padding:0px 15px;
67
+ margin-bottom:3.5em;
68
+ }
69
+
70
+
71
+ #content form {margin-bottom:0;}
72
+
73
+ #content p.subtle {
74
+ margin:0 0 0.5em;
75
+ float:right;
76
+ }
77
+ #content .subtle a
78
+ {
79
+ color:#999;
80
+ font-size:0.7em;
81
+ }
82
+
83
+ #header
84
+ {
85
+ background:#111;
86
+ padding:10px 4%;
87
+ border-bottom:3px solid #999;
88
+ }
89
+
90
+ #search_box {
91
+ font-size:0.85em;
92
+ }
93
+
94
+ img { border-width:0; }
95
+
96
+ p.pages
97
+ {
98
+ xfloat:right;
99
+ font-size:0.85em;
100
+ margin-top:1.2em;
101
+ }
102
+
103
+ span.pipe
104
+ {
105
+ color:#999;
106
+ margin:0 0.15em;
107
+ }
108
+
109
+ div.news
110
+ {
111
+ background:#cfc;
112
+ text-align:center;
113
+ margin:0 auto;
114
+ width:40em;
115
+ margin-top:1em;
116
+ padding:7px 15px;
117
+ font-size:0.7em;
118
+ font-weight:bold;
119
+ }
120
+ div.news p { margin:0; }
121
+
122
+ p.notice,
123
+ p.sections
124
+ {
125
+ background:#df9;
126
+ padding:7px 15px;
127
+ border:1px solid #bd7;
128
+ margin-top:0;
129
+ font-size:0.8em;
130
+ }
131
+
132
+ p.error
133
+ {
134
+ background:#c00;
135
+ color:white;
136
+ }
137
+
138
+
139
+
140
+ p.sections a.action { color:#c00; }
141
+
142
+ .hasfile
143
+ {
144
+ color:#090;
145
+ font-weight:bold;
146
+ margin-left:10em;
147
+ }
148
+
149
+ h1,h2,h3,h4,h5,h6
150
+ {
151
+ font-family:'Lucida Grande', 'Trebuchet MS', Arial, Helvetica, sans-serif;
152
+ }
153
+
154
+ h1 {
155
+ font-size:1.3em;
156
+ }
157
+
158
+ h1 img { vertical-align:middle; }
159
+
160
+ p.subtitle
161
+ {
162
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
163
+ font-size:0.75em;
164
+ color:#888;
165
+ font-weight:bold;
166
+ margin-top:-0.8em;
167
+ }
168
+ p.subtitle img { vertical-align: bottom; }
169
+
170
+ h1 span { font-size:0.7em; color:#999; font-weight:normal; padding-left: 1em;}
171
+
172
+ h2 {
173
+ font-size:1.0em; }
174
+
175
+ h2 span
176
+ {
177
+ color:#999;
178
+ font-size:0.7em;
179
+ margin-left:1em;
180
+ }
181
+
182
+ h3
183
+ {
184
+ padding:2px 10px 3px;
185
+ background:#333;
186
+ color:white;
187
+ font-size:0.70em;
188
+ border-bottom:1px solid #999;
189
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
190
+ }
191
+
192
+ h6 { margin-bottom:0; }
193
+
194
+ pre.explain
195
+ {
196
+ background:#e7e7e7;
197
+ padding:7px 15px;
198
+ border:1px solid #ccc;
199
+ margin:0 2em;
200
+ }
201
+
202
+ hr
203
+ {
204
+ height:0;
205
+ border:0;
206
+ border-bottom:1px solid #ccc;
207
+ margin:1em 0;
208
+ }
209
+
210
+ #right hr { border-color:#bbb; }
211
+
212
+ #monitor_topic {
213
+ font-size: 12px;
214
+ }
215
+ #monitor_topic .icon {
216
+ background-image:none;
217
+ }
218
+
219
+ /* footer */
220
+
221
+ #footer p
222
+ {margin:0}
223
+ #footer p.credit
224
+ {
225
+ float:right;
226
+ text-align:right;
227
+ }
228
+ #footer p.credit a.subtle
229
+ {
230
+ color:#333;
231
+ }
232
+ #footer p.legal
233
+ {
234
+ float:left;
235
+ margin-right:1.5em;
236
+ }
237
+
238
+ #footer p.disclaim
239
+ {
240
+ float:left;
241
+ color:#080;
242
+ }
243
+
244
+ ul.quotes,
245
+ ul.flat
246
+ {
247
+ margin-left:0;
248
+ padding-left:0;
249
+ font-size:0.75em;
250
+ list-style-type:none;
251
+ }
252
+ ul.talking li span
253
+ {
254
+ color:#666;
255
+ font-size:0.8em;
256
+ }
257
+
258
+ ul.flat li
259
+ {
260
+ background:url(/plugin_assets/savage_beast/images/small_circle.gif) no-repeat 5px 6px;
261
+ padding-left:15px;
262
+ }
263
+ ul.ways li span
264
+ {
265
+ color:#666;
266
+ font-size:0.9em;
267
+ }
268
+
269
+ ul.quotes
270
+ {
271
+ font-size:0.8em;
272
+ }
273
+ ul.quotes li {margin-bottom:1em; }
274
+ ul.quotes span
275
+ {
276
+ color:#666;
277
+ font-size:0.9em;
278
+ }
279
+
280
+
281
+ ul.why
282
+ {
283
+ font-family:'Lucida Grande', Arial, Helvetica, sans-serif;
284
+ font-size:1em;
285
+ line-height:1.25em;
286
+ margin-top:2em;
287
+ }
288
+ ul.why li p
289
+ {
290
+ margin-top:0.5em;
291
+ color:#666;
292
+ font-size:0.9em;
293
+ }
294
+ ul.why li p strong { color:#c00; }
295
+
296
+ a.utility
297
+ {
298
+ font-weight:normal;
299
+ color:#c00;
300
+ font-size:0.8em;
301
+ }
302
+ a.remove { color:#c00; }
303
+ a.utility:hover
304
+ {
305
+ color:#c00;
306
+ text-decoration:underline;
307
+ }
308
+ a.subtle { color:#369; }
309
+ a.subtle:hover { color:blue; }
310
+
311
+ div.asset
312
+ {
313
+ background:#e7e7e7;
314
+ padding:7px 15px;
315
+ border-bottom:1px solid #ccc;
316
+ font-family:'Lucida Grande',Tahoma, Arial, Helvetica, sans-serif;
317
+ font-size:0.8em;
318
+ margin-bottom:1em;
319
+ text-align:center;
320
+ }
321
+
322
+ input.primary
323
+ {
324
+ font-size:1.2em;
325
+
326
+ }
327
+
328
+ input.submit
329
+ {
330
+ margin-right:1em;
331
+ float:right;
332
+ }
333
+
334
+ /* layout of paste */
335
+
336
+ .pastebox
337
+ {
338
+ width:100%;
339
+ }
340
+
341
+ p.private,
342
+ #content .legend
343
+ {
344
+ margin-top:0;
345
+ color:#999;
346
+ font-size:0.8em;
347
+ }
348
+ #content .legend span strong { color: black; }
349
+ #content .legend span
350
+ {
351
+ margin-right:5em;
352
+ }
353
+
354
+ p.private img { vertical-align:bottom;}
355
+ p.private
356
+ {
357
+ xcolor:white;
358
+ color:#c00;
359
+ font-weight:bold;
360
+ }
361
+ p.psmall {
362
+ font-size:0.7em;
363
+ font-weight:normal;
364
+ }
365
+
366
+ div.upload
367
+ {
368
+ margin-top:-0.5em;
369
+ xbackground:#e7e7e7;
370
+ padding:7px 0;
371
+ float:left;
372
+ xwidth:63%;
373
+ margin-left:0.5em;
374
+ }
375
+ div.upload p label { font-size:0.7em; font-weight:bold;}
376
+ div.upload p {margin:0}
377
+ div.upload input { margin-left:0.75em;}
378
+ div.upload a
379
+ {
380
+ color:#666;
381
+ font-size:0.8em;
382
+ }
383
+
384
+ .pastePreview pre { font-size:0.9em; }
385
+
386
+ .pastePreview p
387
+ {
388
+ color:#777;
389
+ font-size:0.7em;
390
+ margin:0 0 0.5em;
391
+ }
392
+
393
+ .pastePreview .when { float:right; }
394
+ .pastePreview .when strong { color:black; }
395
+
396
+ p
397
+ {
398
+ font-family:'Lucida Grande', 'Trebuchet MS', Arial, Helvetica, sans-serif;
399
+ }
400
+
401
+
402
+ #news
403
+ {
404
+ background:#248;
405
+ background:#475f30;
406
+ border:2px solid #778f60;
407
+ border-width:2px 0;
408
+ padding:5px 4%;
409
+ color:#ffc;
410
+ font-size:0.70em;
411
+ text-align:center;
412
+
413
+ position:fixed;
414
+ bottom:0;
415
+ width:100%;
416
+ padding:6px 0 7px;
417
+ z-index:50;
418
+ }
419
+ #news a.subtle { color:#ffc; font-weight:normal;}
420
+ #news a {color:gold; font-weight:bold}
421
+ #news p {margin:0;}
422
+
423
+
424
+ #header img
425
+ {
426
+ vertical-align:bottom;
427
+ margin-right:0.25em;
428
+ }
429
+
430
+ #header h1,
431
+ #header h1 a
432
+ {
433
+ font-weight:normal;
434
+ margin:0;
435
+ color:#cf4;
436
+ border:0;
437
+ text-decoration:none;
438
+ }
439
+
440
+ #header h1 .count
441
+ {
442
+ color:#ddd;
443
+ font-size:0.6em;
444
+ font-weight:normal;
445
+ padding-left:1em;
446
+ }
447
+
448
+ #header ul#nav
449
+ {
450
+ float:right;
451
+ list-style-type:none;
452
+ margin:0;
453
+ margin-top:0.4em;
454
+ }
455
+
456
+ #header ul#nav li
457
+ {
458
+ color:gold;
459
+ font-family:'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
460
+ font-size:0.7em;
461
+ float:left;
462
+ margin-left:2em;
463
+ }
464
+
465
+ #header ul#nav li a
466
+ {
467
+ display:block;
468
+ float:left;
469
+ xcolor:#a86;
470
+ color:#9c6;
471
+ xpadding:3px 1em;
472
+ }
473
+
474
+ #header ul#nav li.login a {
475
+ color:gold;
476
+ text-decoration: none;
477
+ }
478
+
479
+ #header ul#nav li.active a
480
+ {
481
+ font-weight:bold;
482
+ xbackground:#222;
483
+ color:#ca8;
484
+ }
485
+
486
+ #header ul#nav li.hot a
487
+ {
488
+ color:orange;
489
+ }
490
+ #header ul#nav li.logout a
491
+ {
492
+ color:#666;
493
+ }
494
+
495
+ .line_numbers,
496
+ .lineNumbers
497
+ {
498
+ color:#999;
499
+ padding-right:0.5em;
500
+ text-align:right;
501
+ }
502
+ .line_numbers strong { color:#555; }
503
+
504
+ td.code,
505
+ .thePaste
506
+ {
507
+ padding-left:0.75em;
508
+ }
509
+
510
+
511
+ label
512
+ {
513
+ font-family:'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
514
+ color:#666;
515
+ font-size:0.75em;
516
+ font-weight:normal;
517
+ }
518
+
519
+ /* random */
520
+
521
+ .photo
522
+ {
523
+ background:#aaa url(/plugin_assets/savage_beast/images/clearbits/smile.gif) no-repeat 8px 8px;
524
+ }
525
+
526
+ .smallutils
527
+ {
528
+ xfloat:right;
529
+ margin-top:-0.5em;
530
+ margin-bottom:0em;
531
+ text-align:right;
532
+ }
533
+ .smallutils a
534
+ {
535
+ color:#666;
536
+ font-size:0.7em;
537
+ }
538
+ .smallutils a:hover {color:#369;}
539
+
540
+
541
+ /* tables */
542
+
543
+ table.noborder td
544
+ {
545
+ border:0;
546
+ }
547
+
548
+ table.nopad td
549
+ {
550
+ padding-left:0;
551
+ }
552
+
553
+ table
554
+ {
555
+ border-collapse:collapse;
556
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
557
+ }
558
+ table.wide { width:100%; }
559
+ table tr th
560
+ {
561
+ background:#333;
562
+ color:white;
563
+ font-size:0.8em;
564
+ padding:3px 10px;
565
+ border:1px solid #222;
566
+ }
567
+ table tr td
568
+ {
569
+ padding:7px;
570
+ border:1px solid #ddd;
571
+ }
572
+
573
+ /* topics */
574
+
575
+ #forum_description,
576
+ #topic_body
577
+ {
578
+ width:99%;
579
+ }
580
+
581
+ /* specific table styles */
582
+
583
+ table.forums,
584
+ table.topics
585
+ { font-size:0.8em; }
586
+ table.forums tr th { font-size:0.8em; }
587
+ table.forums tr td .title {
588
+ font-size:1.4em;
589
+ }
590
+
591
+ table.forums tr td .desc {
592
+ margin:0.5em 0;
593
+ }
594
+ table.forums tr td
595
+ {
596
+ padding:4px 15px;
597
+ }
598
+ table.forums a.tiny
599
+ {
600
+ font-size:0.8em;
601
+ color:#666;
602
+ }
603
+
604
+ table.forums .posts
605
+ {
606
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
607
+ color:#666;
608
+ font-size:0.8em;
609
+ }
610
+
611
+ table tr th.la { text-align:left; }
612
+ table tr td.ca { text-align:center; }
613
+ table tr td.inv { background:#eee; }
614
+ table tr td.vat { vertical-align:top; }
615
+
616
+ table tr td.narrow { padding:2px 5px;}
617
+
618
+ /* users */
619
+
620
+ a.admin
621
+ {
622
+ color:#c00;
623
+ font-weight:bold;
624
+ }
625
+
626
+ /* last post */
627
+ table tr td.lp {
628
+ font-size:0.85em;
629
+ color:#333; }
630
+ table tr td.lp span { color:#666; }
631
+ table tr td.lp span a { color:#369; }
632
+
633
+ table.topics tr td.c1
634
+ { border-right:0; padding-right:2px; }
635
+ table.topics tr td.c2
636
+ { border-left:0; padding-left:2px; }
637
+
638
+
639
+ table.topics tr td.c3 { border-left:0; }
640
+
641
+ table.forums tr td.c1 { border-right:0; padding-right:5px; padding-top:7px; }
642
+ table.forums tr td.c2 { border-width:1px 0; padding-left:5px; }
643
+ table.forums tr td.c3 { border-left:0; padding-left:5px; }
644
+
645
+
646
+ table.topics tr td.c2 small a,
647
+ .crumbs small a
648
+ { color:#666; }
649
+ table.topics tr td.stat { font-size:0.9em; }
650
+
651
+ table.topics tr td .flag {
652
+ background:#333;
653
+ color:white;
654
+ padding:1px 5px;
655
+ margin-right:0.5em; }
656
+
657
+ /* misc */
658
+
659
+ .button_or
660
+ {
661
+ color:#666;
662
+ padding-left:0.5em;
663
+ font-size:0.75em;
664
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
665
+ }
666
+ .button_or a { color:#c00; }
667
+
668
+ form.dialog
669
+ {
670
+ margin-top:3em;
671
+ background:#eee;
672
+ width:300px;
673
+ padding:15px;
674
+ }
675
+
676
+ form .entryhelp
677
+ {
678
+ font-size:0.7em;
679
+ }
680
+
681
+ form .help
682
+ {
683
+ font-size:0.8em;
684
+ }
685
+
686
+ span.arrow
687
+ {
688
+ font-weight:normal;
689
+ font-size:0.9em;
690
+ color:#999;
691
+ }
692
+
693
+ div.stats
694
+ {
695
+ margin-top:2em;
696
+ background:#ded;
697
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
698
+ font-size:0.8em;
699
+ padding:15px 15px;
700
+ border:2px solid #393;
701
+ border-width:1px 0;
702
+ }
703
+ div.stats .posts { float:right; text-align:right; }
704
+
705
+ /* breadcrumbs */
706
+
707
+ .crumbs
708
+ {
709
+ font-size:0.75em;
710
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
711
+ }
712
+ .crumbs a { color:#468; }
713
+ .crumbs a:hover { color:#00c; text-decoration:underline; }
714
+
715
+ /* posts */
716
+
717
+ table.posts
718
+ {
719
+ border-bottom:2px solid #eee;
720
+ }
721
+
722
+ table.posts tr td
723
+ {
724
+ border:0;
725
+ }
726
+ table.posts tr.spacer td
727
+ {
728
+ font-size:1px;
729
+ }
730
+
731
+ /* fade edit links */
732
+ .post .author .edit a
733
+ {
734
+ font-size:0.7em;
735
+ color:#666;
736
+ }
737
+
738
+ .post .author img {
739
+ float:left;
740
+ margin-right:0.5em;
741
+ }
742
+ .post .author
743
+ {
744
+ border-top:2px solid #eee;
745
+ padding:5px 10px;
746
+ background:#eee;
747
+ font-weight:bold;
748
+ color:#333;
749
+ font-size:0.9em;
750
+ min-height:32px;
751
+ width:10em;
752
+ min-width:8em;
753
+ vertical-align:top;
754
+ }
755
+
756
+ .post .author .posts,
757
+ .post .author .admin
758
+ {
759
+ display:block;
760
+ font-size:0.75em;
761
+ color:black;
762
+ color:#666;
763
+ }
764
+ .post .author a
765
+ {
766
+ color:#333;
767
+ text-decoration:none;
768
+ }
769
+ .post .author a.threadauthor
770
+ {
771
+ color:#080;
772
+ }
773
+ .post .author a:hover
774
+ {
775
+ color:#369;
776
+ text-decoration:underline;
777
+ }
778
+
779
+ .post .date
780
+ {
781
+ font-size:0.75em;
782
+ color:#666;
783
+ font-weight:normal;
784
+ margin-bottom:0.5em;
785
+ }
786
+
787
+ .posts .post .body
788
+ {
789
+ border-top:2px solid #eee;
790
+ font-size:0.9em;
791
+ padding:10px 20px;
792
+ }
793
+
794
+ .posts .post .body blockquote
795
+ {
796
+ border:1px solid #cda;
797
+ border-left:3px solid #9a7;
798
+ border-right:0;
799
+ background:#efc;
800
+ padding:1px 10px;
801
+ margin-left:0;
802
+ }
803
+
804
+ .posts .post .body pre
805
+ {
806
+ font-size:0.8em;
807
+ background:#eee;
808
+ padding:5px 10px;
809
+ border:1px solid #ccc;
810
+ border-left:3px solid #ddd;
811
+ border-right:0;
812
+ overflow:auto;
813
+ font-family: "Monaco", "Bitstream Vera Sans Mono", "Courier New", serif;
814
+ }
815
+
816
+ .posts .post .body a:hover { color:brown; }
817
+
818
+ .posts .post .body blockquote p
819
+ {
820
+ margin:0.5em 0;
821
+ }
822
+
823
+ .post .body p.topic
824
+ {
825
+ font-size:0.8em;
826
+ font-weight:bold;
827
+ background:#eee;
828
+ padding:2px 10px;
829
+ }
830
+
831
+ /* editing posts */
832
+
833
+ /*
834
+ table.posts .editing td {
835
+ }
836
+ table.posts .editing td.author {
837
+ background:#030;
838
+ }
839
+
840
+ table.posts .editing td.author * { color:#ccc; }
841
+ table.posts .editing td.body { }
842
+ */
843
+
844
+ /* other stuff */
845
+
846
+ p.online {margin-bottom:0;}
847
+
848
+ img.icon
849
+ {
850
+ background:#696;
851
+ background-image: url(/plugin_assets/savage_beast/images/clearbits/bg_rounded.gif);
852
+ background-repeat: no-repeat;
853
+ vertical-align: bottom;
854
+ }
855
+ img.reply { float:right; }
856
+ img.orange { background-color:darkorange; }
857
+ img.grey { background-color:#ccc; }
858
+ img.darkgrey { background-color:#999; }
859
+ img.green { background-color:#0c0;}
860
+
861
+ .post .author .icon
862
+ {
863
+ float:right;
864
+ }
865
+
866
+ /* reply */
867
+
868
+ div.editbox
869
+ {
870
+ background:url(/plugin_assets/savage_beast/images/reply_background.png);
871
+ border:2px solid #333;
872
+ border-width:2px 0;
873
+ position:fixed;
874
+ bottom:0;
875
+ left:0;
876
+ width:100%;
877
+ padding:6px 0 7px;
878
+ z-index:50;
879
+ }
880
+
881
+ div.editbox .container
882
+ {
883
+ width:92%;
884
+ margin:0 auto;
885
+ min-width:760px;
886
+ }
887
+
888
+ div.editbox p { margin:0.5em 0;}
889
+ div.editbox textarea
890
+ {
891
+ width:100%;
892
+ background:white;
893
+ opacity:1;
894
+ font-size:0.8em;
895
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
896
+ }
897
+ div.editbox .button_or a
898
+ {
899
+ color:#ccc;
900
+ }
901
+ div.editbox table td { border:0; }
902
+ div.editbox a.utility
903
+ {
904
+ color: #f99;
905
+ font-size: 0.65em;
906
+ padding: 2px 5px 4px;
907
+ display: block;
908
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
909
+ float: right;
910
+ text-align: right;
911
+ margin-top: 0.2em;
912
+ }
913
+
914
+ div.editbox h5
915
+ {
916
+ background:#222;
917
+ color:white;
918
+ padding:2px 10px 3px;
919
+ font-size:0.7em;
920
+ margin:0.2em 0 0.5em;
921
+ }
922
+
923
+ div.editbox p.help span,
924
+ div.editbox ul.help span { color:#666; }
925
+ div.editbox p.help,
926
+ div.editbox ul.help
927
+ {
928
+ padding:3px 10px;
929
+ font-size:0.75em;
930
+ color:#ccc;
931
+ font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
932
+ }
933
+ div.editbox ul.help { margin:0; }
934
+
935
+ div.editbox ul.help {
936
+ list-style-type:none; }
937
+
938
+ #monitor_topic a
939
+ {
940
+ color: #666;
941
+ }