base_rails_app 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. data/LICENSE +1 -0
  2. data/README +1 -0
  3. data/lib/app/controllers/application_controller.rb +55 -0
  4. data/lib/app/controllers/password_resets_controller.rb +45 -0
  5. data/lib/app/controllers/user_sessions_controller.rb +25 -0
  6. data/lib/app/controllers/users_controller.rb +37 -0
  7. data/lib/app/helpers/application_helper.rb +4 -0
  8. data/lib/app/helpers/user_sessions_helper.rb +2 -0
  9. data/lib/app/helpers/users_helper.rb +2 -0
  10. data/lib/app/models/postman.rb +20 -0
  11. data/lib/app/models/user.rb +12 -0
  12. data/lib/app/models/user_session.rb +2 -0
  13. data/lib/app/views/application/404_not_found.html.erb +8 -0
  14. data/lib/app/views/layouts/application.html.erb +57 -0
  15. data/lib/app/views/password_resets/_sidebar.html.erb +0 -0
  16. data/lib/app/views/password_resets/edit.html.erb +33 -0
  17. data/lib/app/views/password_resets/new.html.erb +26 -0
  18. data/lib/app/views/postman/password_reset_instructions.html.erb +3 -0
  19. data/lib/app/views/postman/welcome_email.html.erb +3 -0
  20. data/lib/app/views/user_sessions/_form.html.erb +19 -0
  21. data/lib/app/views/user_sessions/_sidebar.html.erb +13 -0
  22. data/lib/app/views/user_sessions/new.html.erb +15 -0
  23. data/lib/app/views/users/_form.html.erb +28 -0
  24. data/lib/app/views/users/_sidebar.html.erb +6 -0
  25. data/lib/app/views/users/edit.html.erb +19 -0
  26. data/lib/app/views/users/new.html.erb +15 -0
  27. data/lib/app/views/users/show.html.erb +46 -0
  28. data/lib/base_rails_app.rb +5 -0
  29. data/lib/base_rails_app/boot.rb +2 -0
  30. data/lib/base_rails_app/tasks.rb +12 -0
  31. data/lib/config/configatron/cucumber.rb +0 -0
  32. data/lib/config/configatron/defaults.rb +4 -0
  33. data/lib/config/configatron/development.rb +1 -0
  34. data/lib/config/configatron/production.rb +0 -0
  35. data/lib/config/configatron/test.rb +0 -0
  36. data/lib/config/database.yml +25 -0
  37. data/lib/config/deploy.rb +15 -0
  38. data/lib/config/environments/cucumber.rb +22 -0
  39. data/lib/config/environments/development.rb +17 -0
  40. data/lib/config/environments/production.rb +28 -0
  41. data/lib/config/environments/test.rb +28 -0
  42. data/lib/config/gemtronics.rb +36 -0
  43. data/lib/config/initializers/backtrace_silencers.rb +7 -0
  44. data/lib/config/initializers/configatron.rb +1 -0
  45. data/lib/config/initializers/hoptoad.rb +3 -0
  46. data/lib/config/initializers/inflections.rb +10 -0
  47. data/lib/config/initializers/mailers.rb +1 -0
  48. data/lib/config/initializers/mime_types.rb +5 -0
  49. data/lib/config/initializers/new_rails_defaults.rb +21 -0
  50. data/lib/config/initializers/session_store.rb +17 -0
  51. data/lib/config/locales/en.yml +5 -0
  52. data/lib/config/routes.rb +51 -0
  53. data/lib/config/schedule.rb +20 -0
  54. data/lib/db/migrate/20090809175903_create_users.rb +30 -0
  55. data/lib/db/migrate/20090809204840_acts_as_taggable_on_migration.rb +29 -0
  56. data/lib/db/migrate/20090912171353_create_delayed_jobs.rb +20 -0
  57. data/lib/db/migrate/20090912171829_add_delayed_job_extras.rb +11 -0
  58. data/lib/db/migrate/20090929201455_add_more_time_columns_to_dj.rb +11 -0
  59. data/lib/db/schema.rb +72 -0
  60. data/lib/db/seeds.rb +7 -0
  61. data/lib/lib/tasks/cucumber.rake +36 -0
  62. data/lib/lib/tasks/rcov.rake +27 -0
  63. data/lib/lib/tasks/rspec.rake +183 -0
  64. data/lib/vendor/plugins/delayed_job/generators/delayed_job/delayed_job_generator.rb +22 -0
  65. data/lib/vendor/plugins/delayed_job/generators/delayed_job/templates/migration.rb +20 -0
  66. data/lib/vendor/plugins/delayed_job/init.rb +2 -0
  67. data/lib/vendor/plugins/delayed_job/lib/delayed/command.rb +65 -0
  68. data/lib/vendor/plugins/delayed_job/lib/delayed/job.rb +271 -0
  69. data/lib/vendor/plugins/delayed_job/lib/delayed/message_sending.rb +18 -0
  70. data/lib/vendor/plugins/delayed_job/lib/delayed/performable_method.rb +55 -0
  71. data/lib/vendor/plugins/delayed_job/lib/delayed/tasks.rb +15 -0
  72. data/lib/vendor/plugins/delayed_job/lib/delayed/worker.rb +54 -0
  73. data/lib/vendor/plugins/delayed_job/lib/delayed_job.rb +13 -0
  74. data/lib/vendor/plugins/delayed_job/recipes/delayed_job.rb +26 -0
  75. data/lib/vendor/plugins/delayed_job/tasks/jobs.rake +1 -0
  76. data/lib/vendor/plugins/hoptoad_notifier/install.rb +1 -0
  77. data/lib/vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier.rb +418 -0
  78. data/lib/vendor/plugins/hoptoad_notifier/lib/hoptoad_tasks.rb +26 -0
  79. data/lib/vendor/plugins/hoptoad_notifier/recipes/hoptoad.rb +22 -0
  80. data/lib/vendor/plugins/hoptoad_notifier/tasks/hoptoad_notifier_tasks.rake +66 -0
  81. data/lib/vendor/plugins/inherited_resources/README.rdoc +524 -0
  82. data/lib/vendor/plugins/inherited_resources/inherited_resources.gemspec +71 -0
  83. data/lib/vendor/plugins/inherited_resources/init.rb +1 -0
  84. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources.rb +23 -0
  85. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/actions.rb +79 -0
  86. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/base.rb +42 -0
  87. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/base_helpers.rb +363 -0
  88. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/belongs_to_helpers.rb +89 -0
  89. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/class_methods.rb +338 -0
  90. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/dsl.rb +26 -0
  91. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/dumb_responder.rb +20 -0
  92. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/has_scope_helpers.rb +83 -0
  93. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/legacy/respond_to.rb +156 -0
  94. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/legacy/responder.rb +200 -0
  95. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/polymorphic_helpers.rb +155 -0
  96. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/singleton_helpers.rb +95 -0
  97. data/lib/vendor/plugins/inherited_resources/lib/inherited_resources/url_helpers.rb +179 -0
  98. data/lib/vendor/plugins/inherited_resources/test/aliases_test.rb +139 -0
  99. data/lib/vendor/plugins/inherited_resources/test/association_chain_test.rb +125 -0
  100. data/lib/vendor/plugins/inherited_resources/test/base_test.rb +225 -0
  101. data/lib/vendor/plugins/inherited_resources/test/belongs_to_test.rb +87 -0
  102. data/lib/vendor/plugins/inherited_resources/test/class_methods_test.rb +138 -0
  103. data/lib/vendor/plugins/inherited_resources/test/customized_base_test.rb +162 -0
  104. data/lib/vendor/plugins/inherited_resources/test/customized_belongs_to_test.rb +76 -0
  105. data/lib/vendor/plugins/inherited_resources/test/defaults_test.rb +70 -0
  106. data/lib/vendor/plugins/inherited_resources/test/flash_test.rb +88 -0
  107. data/lib/vendor/plugins/inherited_resources/test/has_scope_test.rb +139 -0
  108. data/lib/vendor/plugins/inherited_resources/test/locales/en.yml +17 -0
  109. data/lib/vendor/plugins/inherited_resources/test/nested_belongs_to_test.rb +108 -0
  110. data/lib/vendor/plugins/inherited_resources/test/optional_belongs_to_test.rb +164 -0
  111. data/lib/vendor/plugins/inherited_resources/test/polymorphic_test.rb +186 -0
  112. data/lib/vendor/plugins/inherited_resources/test/redirect_to_test.rb +51 -0
  113. data/lib/vendor/plugins/inherited_resources/test/respond_to_test.rb +155 -0
  114. data/lib/vendor/plugins/inherited_resources/test/singleton_test.rb +83 -0
  115. data/lib/vendor/plugins/inherited_resources/test/test_helper.rb +38 -0
  116. data/lib/vendor/plugins/inherited_resources/test/url_helpers_test.rb +537 -0
  117. data/lib/vendor/plugins/inherited_resources/test/views/cars/edit.html.erb +1 -0
  118. data/lib/vendor/plugins/inherited_resources/test/views/cars/index.html.erb +1 -0
  119. data/lib/vendor/plugins/inherited_resources/test/views/cars/new.html.erb +1 -0
  120. data/lib/vendor/plugins/inherited_resources/test/views/cars/show.html.erb +1 -0
  121. data/lib/vendor/plugins/inherited_resources/test/views/cities/edit.html.erb +1 -0
  122. data/lib/vendor/plugins/inherited_resources/test/views/cities/index.html.erb +1 -0
  123. data/lib/vendor/plugins/inherited_resources/test/views/cities/new.html.erb +1 -0
  124. data/lib/vendor/plugins/inherited_resources/test/views/cities/show.html.erb +1 -0
  125. data/lib/vendor/plugins/inherited_resources/test/views/comments/edit.html.erb +1 -0
  126. data/lib/vendor/plugins/inherited_resources/test/views/comments/index.html.erb +1 -0
  127. data/lib/vendor/plugins/inherited_resources/test/views/comments/new.html.erb +1 -0
  128. data/lib/vendor/plugins/inherited_resources/test/views/comments/show.html.erb +1 -0
  129. data/lib/vendor/plugins/inherited_resources/test/views/employees/edit.html.erb +1 -0
  130. data/lib/vendor/plugins/inherited_resources/test/views/employees/index.html.erb +1 -0
  131. data/lib/vendor/plugins/inherited_resources/test/views/employees/new.html.erb +1 -0
  132. data/lib/vendor/plugins/inherited_resources/test/views/employees/show.html.erb +1 -0
  133. data/lib/vendor/plugins/inherited_resources/test/views/managers/edit.html.erb +1 -0
  134. data/lib/vendor/plugins/inherited_resources/test/views/managers/new.html.erb +1 -0
  135. data/lib/vendor/plugins/inherited_resources/test/views/managers/show.html.erb +1 -0
  136. data/lib/vendor/plugins/inherited_resources/test/views/painters/edit.html.erb +1 -0
  137. data/lib/vendor/plugins/inherited_resources/test/views/painters/index.html.erb +1 -0
  138. data/lib/vendor/plugins/inherited_resources/test/views/painters/new.html.erb +1 -0
  139. data/lib/vendor/plugins/inherited_resources/test/views/painters/show.html.erb +1 -0
  140. data/lib/vendor/plugins/inherited_resources/test/views/pets/edit.html.erb +1 -0
  141. data/lib/vendor/plugins/inherited_resources/test/views/pets/index.html.erb +1 -0
  142. data/lib/vendor/plugins/inherited_resources/test/views/pets/new.html.erb +1 -0
  143. data/lib/vendor/plugins/inherited_resources/test/views/pets/show.html.erb +1 -0
  144. data/lib/vendor/plugins/inherited_resources/test/views/products/edit.html.erb +1 -0
  145. data/lib/vendor/plugins/inherited_resources/test/views/products/index.html.erb +1 -0
  146. data/lib/vendor/plugins/inherited_resources/test/views/products/new.html.erb +1 -0
  147. data/lib/vendor/plugins/inherited_resources/test/views/products/show.html.erb +1 -0
  148. data/lib/vendor/plugins/inherited_resources/test/views/professors/edit.html.erb +1 -0
  149. data/lib/vendor/plugins/inherited_resources/test/views/professors/index.html.erb +1 -0
  150. data/lib/vendor/plugins/inherited_resources/test/views/professors/new.html.erb +1 -0
  151. data/lib/vendor/plugins/inherited_resources/test/views/professors/show.html.erb +1 -0
  152. data/lib/vendor/plugins/inherited_resources/test/views/projects/index.html.erb +1 -0
  153. data/lib/vendor/plugins/inherited_resources/test/views/projects/index.json.erb +1 -0
  154. data/lib/vendor/plugins/inherited_resources/test/views/projects/respond_to_skip_default_template.html.erb +1 -0
  155. data/lib/vendor/plugins/inherited_resources/test/views/projects/respond_with_resource.html.erb +1 -0
  156. data/lib/vendor/plugins/inherited_resources/test/views/students/edit.html.erb +1 -0
  157. data/lib/vendor/plugins/inherited_resources/test/views/students/new.html.erb +1 -0
  158. data/lib/vendor/plugins/inherited_resources/test/views/trees/edit.html.erb +1 -0
  159. data/lib/vendor/plugins/inherited_resources/test/views/trees/index.html.erb +1 -0
  160. data/lib/vendor/plugins/inherited_resources/test/views/trees/new.html.erb +1 -0
  161. data/lib/vendor/plugins/inherited_resources/test/views/trees/show.html.erb +1 -0
  162. data/lib/vendor/plugins/inherited_resources/test/views/users/edit.html.erb +1 -0
  163. data/lib/vendor/plugins/inherited_resources/test/views/users/index.html.erb +1 -0
  164. data/lib/vendor/plugins/inherited_resources/test/views/users/new.html.erb +1 -0
  165. data/lib/vendor/plugins/inherited_resources/test/views/users/show.html.erb +1 -0
  166. data/lib/vendor/plugins/web-app-theme/README.md +22 -0
  167. data/lib/vendor/plugins/web-app-theme/images/avatar.png +0 -0
  168. data/lib/vendor/plugins/web-app-theme/index.html +473 -0
  169. data/lib/vendor/plugins/web-app-theme/javascripts/jquery-1.3.min.js +19 -0
  170. data/lib/vendor/plugins/web-app-theme/javascripts/jquery.localscroll.js +104 -0
  171. data/lib/vendor/plugins/web-app-theme/javascripts/jquery.scrollTo.js +150 -0
  172. data/lib/vendor/plugins/web-app-theme/rails_generators/theme/templates/view_layout_administration.html.erb +48 -0
  173. data/lib/vendor/plugins/web-app-theme/rails_generators/theme/templates/view_layout_sign.html.erb +15 -0
  174. data/lib/vendor/plugins/web-app-theme/rails_generators/theme/theme_generator.rb +38 -0
  175. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_edit.html.erb +20 -0
  176. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_form.html.erb +10 -0
  177. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_new.html.erb +19 -0
  178. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_show.html.erb +23 -0
  179. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_sidebar.html.erb +13 -0
  180. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_signin.html.erb +39 -0
  181. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_signup.html.erb +56 -0
  182. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/templates/view_tables.html.erb +50 -0
  183. data/lib/vendor/plugins/web-app-theme/rails_generators/themed/themed_generator.rb +89 -0
  184. data/lib/vendor/plugins/web-app-theme/stylesheets/base.css +336 -0
  185. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/bec-green/style.css +290 -0
  186. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/bec/style.css +301 -0
  187. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/blue/style.css +280 -0
  188. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/default/style.css +267 -0
  189. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/djime-cerulean/style.css +298 -0
  190. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/drastic-dark/style.css +373 -0
  191. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/kathleene/style.css +272 -0
  192. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/orange/style.css +263 -0
  193. data/lib/vendor/plugins/web-app-theme/stylesheets/themes/reidb-greenish/style.css +301 -0
  194. metadata +257 -0
@@ -0,0 +1,298 @@
1
+ /**
2
+ * Cerulean web-app-theme made for Djime: http://github.com/mikl/djime/
3
+ *
4
+ * Please note that we're using CSSEdit's @group comment syntax.
5
+ *
6
+ * Colour sheme:
7
+ * Cerulean: #007BA7
8
+ * Bright blue: #01B8DE
9
+ * Near-white: #F7F7F8
10
+ * Silver grey: #C2C8D1
11
+ * Dark blue: #001C26
12
+ *
13
+ * http://www.colourlovers.com/palette/646252/Cerulean_touch
14
+ */
15
+
16
+ /* @group General styles */
17
+
18
+ .small { font-size:11px; }
19
+ .gray { color:#999; }
20
+ .hightlight { background-color:#ffc; }
21
+
22
+ a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #007BA7; }
23
+
24
+ body {
25
+ color: #222;
26
+ background: #C2C8D1;
27
+ font-family: "Helvetica Neue",Helvetica,Arial,"Bitstream Vera Sans",sans-serif;
28
+ }
29
+
30
+ hr {
31
+ background: #EEF0F0;
32
+ color: #EEF0F0;
33
+ }
34
+
35
+ /* @end */
36
+
37
+ /* @group Header */
38
+
39
+ #header {
40
+ background: #007BA7;
41
+ }
42
+
43
+ #header h1 {
44
+ padding: 20px 0;
45
+ }
46
+
47
+ #header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
48
+ color: #F7F7F8;
49
+ }
50
+
51
+ /* @end */
52
+
53
+ #user-navigation {
54
+ top: auto;
55
+ bottom: 5px;
56
+ right: 25px;
57
+ }
58
+
59
+ #main .block .content {
60
+ background: #F7F7F8;
61
+ padding-top: 1px;
62
+ }
63
+
64
+ #main .block .content h2 {
65
+ margin-left: 15px;
66
+ }
67
+
68
+
69
+
70
+ /* @group Main navigation */
71
+
72
+ #main-navigation ul li {
73
+ padding-left: 0;
74
+ }
75
+
76
+ #main-navigation ul li a {
77
+ padding: 8px 0;
78
+ }
79
+
80
+ #main-navigation ul li a {
81
+ padding: 8px 15px;
82
+ }
83
+
84
+ #main-navigation {
85
+ background-color: #005573;
86
+ }
87
+
88
+ #main-navigation ul li a:hover {
89
+ background-color: #001C26;
90
+ }
91
+
92
+ #main-navigation ul li.active a {
93
+ background-color: #C2C8D1;
94
+ background: -webkit-gradient(linear, left top, left bottom, from(#C2C8D1), to(#C2C8D1), color-stop(0.5, #F7F7F8), color-stop(0.5, #F7F7F8));
95
+
96
+ }
97
+
98
+ /* @end */
99
+
100
+ /* @group Secondary navigation */
101
+
102
+ .secondary-navigation li a:hover {
103
+ background: #005573;
104
+ }
105
+
106
+ .secondary-navigation {
107
+ background: #007BA7;
108
+ border-bottom-width: 7px;
109
+ border-bottom-color: #005573;
110
+ }
111
+
112
+ .secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
113
+ background-color: #005573;
114
+ }
115
+
116
+ /* @end */
117
+
118
+ /* @group Sidebar */
119
+
120
+ #sidebar .block {
121
+ background: #F7F7F8;
122
+ }
123
+
124
+ #sidebar h3 {
125
+ background: #007BA7;
126
+ color: #F7F7F8;
127
+ border-bottom: 7px solid #005573;
128
+ }
129
+
130
+ #sidebar ul li a:link, #sidebar ul li a:visited {
131
+ background: #F7F7F8;
132
+ border-bottom: 1px solid #EEF0F0;
133
+ text-decoration: none;
134
+ }
135
+
136
+ #sidebar ul li a:hover, #sidebar ul li a:active {
137
+ background: #005573;
138
+ color: #F7F7F8;
139
+ }
140
+
141
+ /* @end */
142
+
143
+ #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
144
+ .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
145
+ #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
146
+ text-decoration: none;
147
+ color: #F7F7F8;
148
+ }
149
+
150
+ #main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
151
+ color: #001C26;
152
+ }
153
+
154
+ #footer .block {
155
+ color: #F7F7F8;
156
+ background: #005573;
157
+ }
158
+
159
+ #footer .block p {
160
+ margin: 0;
161
+ padding: 10px;
162
+ }
163
+
164
+ /* pagination */
165
+
166
+ .pagination span.current {
167
+ background: #005573;
168
+ color: #F7F7F8;
169
+ border-color: #005573;
170
+ }
171
+
172
+ .pagination a,
173
+ .pagination span {
174
+ color: #001C26;
175
+ border-color: #005573;
176
+ }
177
+
178
+ .pagination a:hover {
179
+ color: #F7F7F8;
180
+ background: #005573;
181
+ }
182
+
183
+ /* tables */
184
+
185
+ .table th {
186
+ background: #C2C8D1;
187
+ color: #001C26;
188
+ }
189
+
190
+ .table td {
191
+ border-bottom:1px solid #EEF0F0;
192
+ }
193
+
194
+ /* forms */
195
+
196
+ .form input.text_field, .form textarea.text_area {
197
+ width: 100%;
198
+ border: 1px solid #001C26;
199
+ }
200
+
201
+ .form input.button {
202
+ background: #EEE;
203
+ color: #001C26;
204
+ padding: 2px 5px;
205
+ border: 1px solid #001C26;
206
+ cursor: pointer;
207
+ }
208
+
209
+ .form .description {
210
+ color: #8C8C8C;
211
+ font-size: .9em;
212
+ }
213
+
214
+ /* @group Flash messages */
215
+
216
+ .flash .message {
217
+ -moz-border-radius: 3px;
218
+ -webkit-border-radius: 3px;
219
+ text-align:center;
220
+ margin: 0 auto 15px;
221
+ }
222
+
223
+ .flash .message p {
224
+ margin:8px;
225
+ }
226
+ .flash .error {
227
+ border: 1px solid #fbb;
228
+ background-color: #fdd;
229
+ }
230
+ .flash .warning {
231
+ border: 1px solid #e0d300;
232
+ background-color: #ffffcc;
233
+ }
234
+ .flash .notice {
235
+ border: 1px solid #8ec4df;
236
+ background-color: #dffaff;
237
+ }
238
+
239
+ /* @end */
240
+
241
+ /* lists */
242
+
243
+ ul.list li {
244
+ border-bottom-color: #EEF0F0;
245
+ border-bottom-width: 1px;
246
+ border-bottom-style: solid;
247
+ }
248
+
249
+ ul.list li .item .avatar {
250
+ border-color: #EEF0F0;
251
+ border-width: 1px;
252
+ border-style: solid;
253
+ padding: 2px;
254
+ }
255
+
256
+ /* box */
257
+
258
+ #box .block {
259
+ background: #F7F7F8;
260
+ }
261
+
262
+ #box .block h2 {
263
+ background: #005573;
264
+ color: #F7F7F8;
265
+ }
266
+
267
+
268
+ /* rounded borders */
269
+
270
+ #main, #main-navigation, #main-navigation li, #main-navigation li a, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
271
+ #footer .block, .form input.button, #box .block, #box .block h2 {
272
+ -moz-border-radius-topleft: 4px;
273
+ -webkit-border-top-left-radius: 4px;
274
+ -moz-border-radius-topright: 4px;
275
+ -webkit-border-top-right-radius: 4px;
276
+ }
277
+
278
+ .secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
279
+ -moz-border-radius-topleft: 4px;
280
+ -webkit-border-top-left-radius: 4px;
281
+ }
282
+
283
+ .table th.last {
284
+ -moz-border-radius-topright: 4px;
285
+ -webkit-border-top-right-radius: 4px;
286
+ }
287
+
288
+ .secondary-navigation ul li.first {
289
+ -moz-border-radius-topleft: 4px;
290
+ -webkit-border-top-left-radius: 4px;
291
+ }
292
+
293
+ #sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
294
+ -moz-border-radius-bottomleft: 4px;
295
+ -webkit-border-bottom-left-radius: 4px;
296
+ -moz-border-radius-bottomright: 4px;
297
+ -webkit-border-bottom-right-radius: 4px;
298
+ }
@@ -0,0 +1,373 @@
1
+ /*
2
+
3
+ Drastic Dark
4
+ by Juan Maria Martinez Arce
5
+ juan[at]insignia4u.com
6
+
7
+ light grey: #cfcfcf
8
+ medium grey: #36393d
9
+ dark grey: #1a1a1a
10
+ interactive action yellow #ffff88
11
+ red #cc0000
12
+ light blue #E6EEFC
13
+ dark blue #0B43A8
14
+
15
+ */
16
+
17
+ .small {
18
+ font-size: 11px;
19
+ font-style: normal;
20
+ font-weight: normal;
21
+ text-transform: normal;
22
+ letter-spacing: normal;
23
+ line-height: 1.4em;
24
+ }
25
+
26
+ .gray {
27
+ color:#999999;
28
+ font-family: Georgia, serif;
29
+ font-size: 13px;
30
+ font-style: italic;
31
+ font-weight: normal;
32
+ text-transform: normal;
33
+ letter-spacing: normal;
34
+ line-height: 1.6em;
35
+ }
36
+
37
+ .hightlight {
38
+ background-color: #ffff88;
39
+ font-weight: bold;
40
+ color: #36393d;
41
+ }
42
+
43
+ a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #36393d; }
44
+ a { -moz-outline: none; }
45
+
46
+ body {
47
+ color: #222;
48
+ background: #cfcfcf;
49
+ font-family: helvetica, arial, sans-serif;
50
+ }
51
+
52
+ hr {
53
+ background: #f0f0ee;
54
+ color: #f0f0ee;
55
+ }
56
+
57
+ #header {
58
+ background: #36393d;
59
+ }
60
+
61
+ #header h1 {
62
+ padding: 15px 0;
63
+ font-size: 28px;
64
+ font-style: normal;
65
+ font-weight: bold;
66
+ text-transform: normal;
67
+ letter-spacing: -1px;
68
+ line-height: 1.2em;
69
+ }
70
+
71
+ #header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
72
+ color: #FFF;
73
+ }
74
+
75
+ #user-navigation {
76
+ top: auto;
77
+ bottom: 5px;
78
+ right: 25px;
79
+ }
80
+
81
+ #user-navigation a.logout {
82
+ background: #cc0000;
83
+ padding: 1px 4px;
84
+ -moz-border-radius: 4px;
85
+ }
86
+
87
+ #main .block .content {
88
+ background: #FFF;
89
+ padding-top: 1px;
90
+ }
91
+
92
+ #main .block .content h2 {
93
+ margin-left: 15px;
94
+ font-size: 22px;
95
+ font-style: normal;
96
+ font-weight: bold;
97
+ text-transform: normal;
98
+ letter-spacing: -1px;
99
+ line-height: 1.2em;
100
+ }
101
+
102
+ #main .block .content p {
103
+ font-size: 13px;
104
+ font-style: normal;
105
+ font-weight: normal;
106
+ text-transform: normal;
107
+ letter-spacing: normal;
108
+ line-height: 1.45em;
109
+ }
110
+
111
+ #sidebar .block {
112
+ background: #FFF;
113
+ }
114
+
115
+ #sidebar .block h4 {
116
+ font-weight: bold;
117
+ }
118
+
119
+ #sidebar .notice {
120
+ background: #E6EEFC;
121
+ }
122
+
123
+ #sidebar .notice h4 {
124
+ color: #0B43A8;
125
+ }
126
+
127
+ #sidebar h3 {
128
+ background: #36393d;
129
+ color: #FFF;
130
+ border-bottom: 5px solid #1a1a1a;
131
+ }
132
+
133
+ #main-navigation ul li {
134
+ padding-left: 15px;
135
+ }
136
+
137
+ #main-navigation ul li a {
138
+ padding: 8px 0;
139
+ }
140
+
141
+ #main-navigation ul li.active {
142
+ padding: 0;
143
+ margin-left: 15px;
144
+ }
145
+
146
+ #main-navigation ul li.active {
147
+ margin-left: 15px;
148
+ }
149
+
150
+ #main-navigation ul li.active a {
151
+ padding: 8px 15px;
152
+ }
153
+
154
+ #sidebar ul li a:link, #sidebar ul li a:visited {
155
+ background: #FFF;
156
+ border-bottom: 1px solid #F0F0EE;
157
+ text-decoration: none;
158
+ }
159
+
160
+ #sidebar ul li a:hover, #sidebar ul li a:active {
161
+ background: #666666;
162
+ color: #ffffff;;
163
+ }
164
+
165
+ #main-navigation {
166
+ background: #1a1a1a;
167
+ }
168
+
169
+ #main-navigation ul li {
170
+ background: #1a1a1a;
171
+ margin-right: 0;
172
+ }
173
+
174
+ #main-navigation ul li.active {
175
+ background: #f0f0ee;
176
+ }
177
+
178
+ #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
179
+ .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
180
+ #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
181
+ text-decoration: none;
182
+ color: #FFF;
183
+ }
184
+
185
+ .secondary-navigation li a:hover {
186
+ background: #666666;
187
+ }
188
+
189
+ #main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
190
+ color: #1a1a1a;
191
+ }
192
+
193
+ .secondary-navigation {
194
+ background: #36393d;
195
+ border-bottom-color: #1a1a1a;
196
+ }
197
+
198
+ .secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
199
+ background-color: #1a1a1a;
200
+ }
201
+
202
+ #footer .block {
203
+ color: #FFF;
204
+ background: #1a1a1a;
205
+ }
206
+
207
+ #footer .block p {
208
+ margin: 0;
209
+ padding: 10px;
210
+ }
211
+
212
+ /* pagination */
213
+
214
+ .pagination a, .pagination span {
215
+ background: #cfcfcf;
216
+ -moz-border-radius: 3px;
217
+ border: 1px solid #c1c1c1;
218
+ }
219
+
220
+ .pagination span.current {
221
+ background: #36393d;
222
+ color: #FFF;
223
+ border: 1px solid #36393d;
224
+ }
225
+
226
+ .pagination a {
227
+ color: #1a1a1a;
228
+ }
229
+
230
+ .pagination a:hover {
231
+ border: 1px solid #666;
232
+ }
233
+
234
+ /* tables */
235
+
236
+ .table th {
237
+ background: #36393d;
238
+ border-bottom: 3px solid #700000;
239
+ color: #FFF;
240
+ }
241
+
242
+ .table td {
243
+ border-bottom:1px solid #F0F0EE;
244
+ }
245
+
246
+ .table tr.even {
247
+ background: #ebebeb;
248
+ }
249
+
250
+ /* forms */
251
+
252
+ .form label.label {
253
+ color: #666666;
254
+ }
255
+
256
+ .form input.text_field, .form textarea.text_area {
257
+ width: 100%;
258
+ border: 1px solid #cfcfcf;
259
+ }
260
+
261
+ .form input.button {
262
+ background: #cfcfcf;
263
+ -moz-border-radius: 5px;
264
+ border: 1px solid #c1c1c1;
265
+ padding: 2px 5px;
266
+ cursor: pointer;
267
+ color: #36393d;
268
+ font-weight: bold;
269
+ font-size: 11px;
270
+ }
271
+
272
+ .form input.button:hover {
273
+ border: 1px solid #666;
274
+ }
275
+
276
+ .form .description {
277
+ font-style: italic;
278
+ color: #8C8C8C;
279
+ font-size: .9em;
280
+ }
281
+
282
+ .form .navform a {
283
+ color: #cc0000;
284
+ }
285
+
286
+ /* flash-messages */
287
+ .flash .message {
288
+ -moz-border-radius: 3px;
289
+ -webkit-border-radius: 3px;
290
+ text-align:center;
291
+ margin: 0 auto 15px;
292
+
293
+ }
294
+
295
+ .flash .message p {
296
+ margin:8px;
297
+ }
298
+ .flash .error {
299
+ border: 1px solid #fbb;
300
+ background-color: #fdd;
301
+ }
302
+ .flash .warning {
303
+ border: 1px solid #fffaaa;
304
+ background-color: #ffffcc;
305
+ }
306
+ .flash .notice {
307
+ border: 1px solid #1FDF00;
308
+ background-color: #BBFFB6;
309
+ }
310
+
311
+ /* lists */
312
+
313
+ ul.list li {
314
+ border-bottom-color: #F0F0EE;
315
+ border-bottom-width: 1px;
316
+ border-bottom-style: solid;
317
+ }
318
+
319
+ ul.list li .item .avatar {
320
+ border-color: #F0F0EE;
321
+ border-width: 1px;
322
+ border-style: solid;
323
+ padding: 2px;
324
+ }
325
+
326
+ /* box */
327
+
328
+ #box .block {
329
+ background: #FFF;
330
+ }
331
+
332
+ #box .block h2 {
333
+ background: #36393d;
334
+ color: #FFF;
335
+ }
336
+
337
+
338
+ /* rounded borders */
339
+
340
+ #main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
341
+ #footer .block, .form input.button, #box .block, #box .block h2 {
342
+ -moz-border-radius-topleft: 4px;
343
+ -webkit-border-top-left-radius: 4px;
344
+ -moz-border-radius-topright: 4px;
345
+ -webkit-border-top-right-radius: 4px;
346
+ }
347
+
348
+ .secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
349
+ -moz-border-radius-topleft: 4px;
350
+ -webkit-border-top-left-radius: 4px;
351
+ }
352
+
353
+ .table th.last {
354
+ -moz-border-radius-topright: 4px;
355
+ -webkit-border-top-right-radius: 4px;
356
+ }
357
+
358
+ .secondary-navigation ul li.first {
359
+ -moz-border-radius-topleft: 4px;
360
+ -webkit-border-top-left-radius: 4px;
361
+ }
362
+
363
+ #sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
364
+ -moz-border-radius-bottomleft: 4px;
365
+ -webkit-border-bottom-left-radius: 4px;
366
+ -moz-border-radius-bottomright: 4px;
367
+ -webkit-border-bottom-right-radius: 4px;
368
+ }
369
+
370
+ .secondary-navigation {
371
+ border-bottom-width: 5px;
372
+ }
373
+