campfire_logic 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/Capfile +4 -0
  2. data/Gemfile +29 -0
  3. data/Gemfile.local +27 -0
  4. data/README.rdoc +17 -0
  5. data/Rakefile +43 -0
  6. data/VERSION +1 -0
  7. data/app/controllers/application_controller.rb +5 -0
  8. data/app/controllers/directory_controller.rb +65 -0
  9. data/app/controllers/locations_controller.rb +65 -0
  10. data/app/controllers/services_controller.rb +46 -0
  11. data/app/helpers/application_helper.rb +27 -0
  12. data/app/models/google_maps_geocoder.rb +108 -0
  13. data/app/models/locale.rb +204 -0
  14. data/app/models/location.rb +216 -0
  15. data/app/models/location_import.rb +48 -0
  16. data/app/models/service.rb +27 -0
  17. data/app/models/zip_code.rb +48 -0
  18. data/app/models/zip_code_import.rb +19 -0
  19. data/app/views/directory/_search_form.html.erb +4 -0
  20. data/app/views/directory/_show_children.html.erb +29 -0
  21. data/app/views/directory/_show_location.html.erb +14 -0
  22. data/app/views/directory/search.html.erb +31 -0
  23. data/app/views/directory/show.html.erb +32 -0
  24. data/app/views/layouts/application.html.erb +49 -0
  25. data/app/views/locations/_form.html.erb +69 -0
  26. data/app/views/locations/edit.html.erb +3 -0
  27. data/app/views/locations/export.erb +4 -0
  28. data/app/views/locations/import.html.erb +13 -0
  29. data/app/views/locations/index.html.erb +37 -0
  30. data/app/views/locations/new.html.erb +3 -0
  31. data/app/views/locations/show.html.erb +70 -0
  32. data/app/views/services/_form.html.erb +29 -0
  33. data/app/views/services/edit.html.erb +3 -0
  34. data/app/views/services/index.html.erb +25 -0
  35. data/app/views/services/new.html.erb +3 -0
  36. data/app/views/services/show.html.erb +15 -0
  37. data/app/views/shared/_location.html.erb +18 -0
  38. data/app/views/shared/_map.html.erb +2 -0
  39. data/app/views/shared/_nav_tabs.html.erb +5 -0
  40. data/autotest/discover.rb +1 -0
  41. data/campfire_logic.gemspec +208 -0
  42. data/config/application.rb +44 -0
  43. data/config/boot.rb +13 -0
  44. data/config/cucumber.yml +10 -0
  45. data/config/deploy.rb +40 -0
  46. data/config/environment.rb +6 -0
  47. data/config/environments/development.rb +28 -0
  48. data/config/environments/production.rb +49 -0
  49. data/config/environments/test.rb +35 -0
  50. data/config/initializers/campfire_logic.rb +3 -0
  51. data/config/initializers/metric_fu.rb +9 -0
  52. data/config/initializers/secret_token.rb +7 -0
  53. data/config/initializers/session_store.rb +8 -0
  54. data/config/locales/en.yml +5 -0
  55. data/config/mongoid.yml +25 -0
  56. data/config/routes.rb +96 -0
  57. data/config.ru +4 -0
  58. data/db/seeds.rb +5 -0
  59. data/db/zip_codes.txt +42742 -0
  60. data/doc/google_maps_response.rb +56 -0
  61. data/features/admin_manages_locations.feature +10 -0
  62. data/features/customer_browses_directory.feature +25 -0
  63. data/features/customer_searches_directory.feature +29 -0
  64. data/features/step_definitions/directory_steps.rb +22 -0
  65. data/features/step_definitions/location_steps.rb +10 -0
  66. data/features/step_definitions/web_steps.rb +211 -0
  67. data/features/support/env.rb +31 -0
  68. data/features/support/paths.rb +33 -0
  69. data/features/support/selectors.rb +39 -0
  70. data/init.rb +1 -0
  71. data/lib/campfire_logic/engine.rb +7 -0
  72. data/lib/campfire_logic/railtie.rb +10 -0
  73. data/lib/campfire_logic.rb +31 -0
  74. data/lib/tasks/campfire_logic.rake +7 -0
  75. data/lib/tasks/cucumber.rake +71 -0
  76. data/public/404.html +26 -0
  77. data/public/422.html +26 -0
  78. data/public/500.html +26 -0
  79. data/public/favicon.ico +0 -0
  80. data/public/images/icons/collapsed.gif +0 -0
  81. data/public/images/icons/delete.png +0 -0
  82. data/public/images/icons/drag.png +0 -0
  83. data/public/images/icons/edit.png +0 -0
  84. data/public/images/icons/expanded.gif +0 -0
  85. data/public/images/icons/help_icon.png +0 -0
  86. data/public/images/icons/link_icon.png +0 -0
  87. data/public/images/icons/move.png +0 -0
  88. data/public/images/icons/move_white.png +0 -0
  89. data/public/images/icons/note.png +0 -0
  90. data/public/images/icons/note_white.png +0 -0
  91. data/public/images/icons/notification_icon_sprite.png +0 -0
  92. data/public/images/icons/spinner.gif +0 -0
  93. data/public/images/icons/view.png +0 -0
  94. data/public/images/icons/warning.png +0 -0
  95. data/public/images/icons/warning_2.png +0 -0
  96. data/public/images/icons/warning_box.png +0 -0
  97. data/public/images/icons/warning_icon.png +0 -0
  98. data/public/images/icons/warning_white.png +0 -0
  99. data/public/images/layout/arrow_asc.png +0 -0
  100. data/public/images/layout/arrow_desc.png +0 -0
  101. data/public/images/layout/black_bar.png +0 -0
  102. data/public/images/layout/branding.png +0 -0
  103. data/public/images/layout/button_bg.png +0 -0
  104. data/public/images/layout/content_left_bg.png +0 -0
  105. data/public/images/layout/content_right_bg.png +0 -0
  106. data/public/images/layout/footer_bg.png +0 -0
  107. data/public/images/layout/h2_bg.png +0 -0
  108. data/public/images/layout/h2_bg_for_table.png +0 -0
  109. data/public/images/layout/header_bg_grey.png +0 -0
  110. data/public/images/layout/header_bg_purple.png +0 -0
  111. data/public/images/layout/legend_bg.png +0 -0
  112. data/public/images/layout/text_field_bg.jpg +0 -0
  113. data/public/images/layout/text_field_error_bg.png +0 -0
  114. data/public/images/layout/th_bg.png +0 -0
  115. data/public/images/layout/th_bg_selected.png +0 -0
  116. data/public/images/rails.png +0 -0
  117. data/public/index.html +9 -0
  118. data/public/javascripts/application.js +2 -0
  119. data/public/javascripts/controls.js +965 -0
  120. data/public/javascripts/dragdrop.js +974 -0
  121. data/public/javascripts/effects.js +1123 -0
  122. data/public/javascripts/prototype.js +6001 -0
  123. data/public/javascripts/rails.js +175 -0
  124. data/public/robots.txt +6 -0
  125. data/public/sample-locations.xls +1 -0
  126. data/public/stylesheets/.gitkeep +0 -0
  127. data/public/stylesheets/application.css +682 -0
  128. data/public/stylesheets/core.css +1147 -0
  129. data/public/stylesheets/core_ie.css +52 -0
  130. data/public/stylesheets/csshover3.htc +14 -0
  131. data/script/cucumber +10 -0
  132. data/script/rails +6 -0
  133. data/spec/controllers/directory_controller_spec.rb +11 -0
  134. data/spec/controllers/services_controller_spec.rb +62 -0
  135. data/spec/models/google_maps_geocoder_spec.rb +62 -0
  136. data/spec/models/locale_spec.rb +64 -0
  137. data/spec/models/location_import_spec.rb +41 -0
  138. data/spec/models/location_spec.rb +195 -0
  139. data/spec/rcov.opts +2 -0
  140. data/spec/spec_helper.rb +12 -0
  141. data/spec/test-locations.xls +1 -0
  142. metadata +361 -0
@@ -0,0 +1,682 @@
1
+ /*
2
+ --------------------------------
3
+ COLOR SCHEME
4
+ --------------------------------
5
+ purple: #7e7587
6
+ red: #793441
7
+ yellow: #827e38
8
+ green: #6b7c35
9
+ grey borders: #cccccc
10
+ grey backgrounds: #eeeeee
11
+ --------------------------------
12
+
13
+ --------------------------------
14
+ CHART COLORS
15
+ --------------------------------
16
+ blue: #324F69
17
+ green: #919E4B
18
+ red: #A34D4D
19
+ tan: #BEC8BE
20
+ --------------------------------
21
+
22
+ */
23
+
24
+ /* @group General Typography */
25
+
26
+ html {
27
+ height: 100%;
28
+ }
29
+
30
+ a:visited {
31
+ color: #999999;
32
+ }
33
+
34
+ body {
35
+ position: relative;
36
+ width: 100%;
37
+ height: 100%;
38
+ min-width: 1030px;
39
+ font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
40
+ background: #ffffff url(/images/layout/content_left_bg.png) repeat-y;
41
+ }
42
+
43
+ .bold {
44
+ font-weight: bold;
45
+ }
46
+
47
+ h1 {
48
+ color: #333333;
49
+ margin-top: -15px;
50
+ padding-bottom: 1em;
51
+ width: 75%;
52
+ border-bottom: 1px dotted #cccccc;
53
+ font-size: 1.2em;
54
+ }
55
+
56
+ h2 {
57
+ background: url(../images/layout/h2_bg.png) no-repeat 0 8px;
58
+ border: none;
59
+ margin: none;
60
+ margin-left: -12px;
61
+ color: #ffffff;
62
+ padding: 0em;
63
+ padding-left: 2em;
64
+ padding-top: 18px;
65
+ padding-bottom: 0em;
66
+ width: 290px;
67
+ height: 26px;
68
+ font-weight: bold;
69
+ font-size: 1.1em;
70
+ text-transform: uppercase;
71
+ text-shadow: #999999 0 0 3px;
72
+ }
73
+
74
+ h2.for_table {
75
+ position: relative;
76
+ margin-top: 0em;
77
+ margin-bottom: -25px;
78
+ z-index: 1000;
79
+ padding-top: 21px;
80
+ height: 40px;
81
+ background-image: url(../images/layout/h2_bg_for_table.png);
82
+ }
83
+
84
+ ul.bulleted {
85
+ list-style-type: disc;
86
+ margin-left: 1.5em;
87
+ }
88
+
89
+ ul.no_bullets {
90
+ list-style-type: none;
91
+ }
92
+
93
+ .subtle {
94
+ color: #999999;
95
+ }
96
+
97
+ .subtle a:link, .subtle a:visited {
98
+ text-decoration: none;
99
+ color: #999999;
100
+ }
101
+
102
+ .subtle a:hover {
103
+ color: #756b7f;
104
+ /*text-decoration: underline;*/
105
+ }
106
+
107
+ /* @end */
108
+
109
+ /* @group Layout Tricks */
110
+
111
+ div#container {
112
+ min-height: 100%;
113
+ position: relative;
114
+ background: url(/images/layout/content_right_bg.png) repeat-y right 0;
115
+ }
116
+
117
+ /* @end */
118
+
119
+
120
+ /* @group Header */
121
+
122
+ div#header {
123
+ margin-top: 0em;
124
+ background: none;
125
+ background-color: #000000;
126
+ height: 10px;
127
+ background: url(/images/layout/black_bar.png) repeat-x top;
128
+ width: 100%;
129
+ border: none;
130
+ }
131
+
132
+ div#page_header {
133
+ padding-top: 63px;
134
+ padding-left: 45px;
135
+ }
136
+
137
+ div#branding {
138
+ position: absolute;
139
+ top: 0px;
140
+ right: 15px;
141
+ margin: 0em;
142
+ padding: 0em;
143
+ background: url(/images/layout/branding.png) no-repeat;
144
+ height: 90px;
145
+ width: 344px;
146
+ }
147
+
148
+ /* @end */
149
+
150
+ /* @group Navbar */
151
+
152
+ div#navigation {
153
+ font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
154
+ position: absolute;
155
+ top: -9px;
156
+ width: auto;
157
+ margin-top: 0em;
158
+ margin-left: 35px;
159
+ margin-right: auto;
160
+ background: none;
161
+ border: none;
162
+ }
163
+
164
+ div#navigation ul li {
165
+ background: none;
166
+ border: none;
167
+ }
168
+
169
+ div#navigation ul li:hover {
170
+ background: none !important;
171
+ color: #ffffff;
172
+ }
173
+
174
+ div#navigation ul li:hover a:link {
175
+ background: none !important;
176
+ }
177
+
178
+ div#navigation ul li a:link {
179
+ color: #aaaaaa;
180
+ text-decoration: none;
181
+ }
182
+
183
+ div#navigation ul li a:hover {
184
+ color: #ffffff !important;
185
+ background: none;
186
+ }
187
+
188
+ div#navigation ul li a:visited {
189
+ color: #aaaaaa;
190
+ text-decoration: none;
191
+ }
192
+
193
+ /* @end */
194
+
195
+ /* @group Breadcrumbs */
196
+
197
+ div#breadcrumbs {
198
+ display: block;
199
+ margin-top: .5em;
200
+ margin-bottom: 30px;
201
+ font-size: .8em;
202
+ color: #aaaaaa;
203
+ }
204
+
205
+ div#breadcrumbs a:link {
206
+ text-decoration: none;
207
+ }
208
+
209
+ /* @end */
210
+
211
+ /* @group Content Area */
212
+
213
+ div#content_area {
214
+ padding: 10px 45px 35px 45px;
215
+ height: 100%;
216
+ font-size: 11px;
217
+ }
218
+
219
+ /* @end */
220
+
221
+ /* @group Footer */
222
+
223
+ div#footer {
224
+ position: absolute;
225
+ bottom: 0px;
226
+ height: 35px;
227
+ width: 100%;
228
+ padding: 0px;
229
+ margin: 0px !important;
230
+ background: url(/images/layout/black_bar.png) repeat-x bottom;
231
+ color: #aaaaaa;
232
+ border: none;
233
+ font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
234
+ font-size: 11px;
235
+ }
236
+
237
+ div#footer p {
238
+ margin: 12px 50px 0px 50px;
239
+ }
240
+
241
+ div#footer a:link, div#footer a:visited {
242
+ text-decoration: none;
243
+ color: #aaaaaa;
244
+ }
245
+
246
+ div#footer a:hover {
247
+ text-decoration: underline;
248
+ }
249
+
250
+ /* @end */
251
+
252
+
253
+ /* @group Forms */
254
+
255
+ .faux_legend {
256
+ background: url(../images/layout/legend_bg.png) no-repeat 0 0px;
257
+ margin-top: -28px;
258
+ margin-left: -27px;
259
+ padding: 0em;
260
+ padding-left: 27px;
261
+ padding-top: 11px;
262
+ padding-bottom: 10px;
263
+ width: 319px !important;
264
+ height: 13px;
265
+ font-weight: bold;
266
+ font-size: 10px;
267
+ color: #ffffff;
268
+ text-transform: uppercase;
269
+ text-shadow: #333333 0 0 5px;
270
+ border: none;
271
+ }
272
+
273
+ legend {
274
+ background: url(../images/layout/legend_bg.png) no-repeat 0 0px;
275
+ margin-left: -27px;
276
+ padding: 0em;
277
+ padding-left: 27px;
278
+ padding-top: 11px;
279
+ padding-bottom: 10px;
280
+ width: 319px !important;
281
+ height: 13px;
282
+ font-weight: bold;
283
+ font-size: 10px;
284
+ color: #ffffff;
285
+ text-transform: uppercase;
286
+ text-shadow: #333333 0 0 5px;
287
+ border: none;
288
+ }
289
+
290
+ legend a:hover, .faux_legend a:hover {
291
+ color: #ffffff !important;
292
+ }
293
+
294
+ .form_container {
295
+ background-color: #efefef;
296
+ border: 1px solid #dddddd;
297
+ padding: 1em 1em 1em 1em;
298
+ margin-top: 2.5em;
299
+ margin-bottom: .5em;
300
+ text-align: left;
301
+ }
302
+
303
+ .three_column {
304
+ width: 33%;
305
+ text-align: left;
306
+ padding: 0em;
307
+ margin: 0em;
308
+ }
309
+
310
+ .faux_field {
311
+ background-color: #fafafa;
312
+ border: 1px solid #dddddd;
313
+ width: 75%;
314
+ }
315
+
316
+ .button {
317
+ color: #555555 !important;
318
+ background-color: #cccccc;
319
+ border: 1px solid #aaaaaa;
320
+ background-image: url(../images/layout/button_bg.png);
321
+ font-size: 9px;
322
+ }
323
+
324
+ .button a:link {
325
+ color: #555555 !important;
326
+ cursor: pointer;
327
+ }
328
+
329
+ .button a:visited {
330
+ color: #555555 !important;
331
+ cursor: pointer;
332
+ }
333
+
334
+ .button a:visited {
335
+ color: #555555 !important;
336
+ cursor: pointer;
337
+ }
338
+
339
+ .button:active {
340
+ background-color: #999999;
341
+ border: 1px solid #333333;
342
+ background-image: url(../images/layout/button_bg.png);
343
+ }
344
+
345
+ fieldset.inline {
346
+ margin-right: 1em;
347
+ float: left;
348
+ }
349
+
350
+ /* @end */
351
+
352
+ /* @group Tables */
353
+
354
+ table {
355
+ border: 1px solid #aaaaaa !important;
356
+ }
357
+
358
+ th {
359
+ /*background: #7e7587 !important;*/
360
+ font-size: .8em !important;
361
+ padding: .5em;
362
+ }
363
+
364
+ td {
365
+ font-size: .8em;
366
+ }
367
+
368
+ table.report {
369
+ }
370
+
371
+ table.report td {
372
+ text-align: right;
373
+ border: 1px solid #cccccc;
374
+ }
375
+
376
+ table.report td.metric, table.report th.metric {
377
+ width: auto;
378
+ text-align: left !important;
379
+ }
380
+
381
+ table.report td.metric {
382
+ background-color: #e0e0e0;
383
+ }
384
+
385
+ table.report td.metric a:link, table.report td.metric a:visited {
386
+ text-decoration: none;
387
+ }
388
+
389
+ table.report td.metric a:hover {
390
+ text-decoration: underline;
391
+ }
392
+
393
+ table.report td.data, table.report th.data {
394
+ width: 6%;
395
+ text-align: right;
396
+ padding-right: 1em;
397
+ }
398
+
399
+ table.report td.gained {
400
+ background-color: #ccddcc;
401
+ }
402
+
403
+ table.report td.lost {
404
+ background-color: #ddcccc;
405
+ }
406
+
407
+ table.report td.new {
408
+ background-color: #fff5cc;
409
+ color: #444444;
410
+ }
411
+
412
+ table.results th {
413
+ }
414
+
415
+ table.report th.transparent {
416
+ background: none;
417
+ border: 1px solid #eeeeee;
418
+ border-bottom: 1px solid #cccccc;
419
+ }
420
+
421
+ table.bifurcated_results th {
422
+ vertical-align: middle;
423
+ text-align: center !important;
424
+ font-size: .75em;
425
+ background-color: #888888;
426
+ color: #ffffff;
427
+ padding: .3em;
428
+ margin: 0px;
429
+ text-transform: uppercase;
430
+ }
431
+
432
+ table.standard tr:hover td, table.results tr:hover td {
433
+ background-color: #cccccc !important;
434
+ }
435
+
436
+ table.results tr.summary {
437
+ font-weight: bold;
438
+ }
439
+
440
+ table.results tr td {
441
+ height: 3em;
442
+ vertical-align: top;
443
+ }
444
+
445
+ table.standard td {
446
+ }
447
+
448
+ table.standard td a:link, table.standard td a:visited {
449
+ text-decoration: none;
450
+ }
451
+
452
+ table tr.parent {
453
+ border-top: 1px solid #cccccc;
454
+ }
455
+
456
+ table.drag_highlight {
457
+ /*background-color: #aaaaaa !important;*/
458
+ border: 3px solid #999999;
459
+ }
460
+
461
+ tr.drag_highlight td {
462
+ /*background-color: #cccccc !important;*/
463
+ border: none;
464
+ border-bottom: 3px solid #999999;
465
+ }
466
+
467
+ table.with_form_fields td {
468
+ padding: 1em;
469
+ padding-bottom: 0em;
470
+ }
471
+
472
+ /* @end */
473
+
474
+ /* @group Charts */
475
+
476
+ .geochart {
477
+ border: 1px solid #cccccc;
478
+ width: 556px;
479
+ float: left;
480
+ margin-right: 1em;
481
+ }
482
+
483
+
484
+ /* @end */
485
+
486
+
487
+ /* @group Components */
488
+
489
+ ul.admin_menu_block {
490
+ padding: 0em 4em .5em 0em;
491
+ height: 15em;
492
+ }
493
+
494
+ ul.admin_menu_block li {
495
+ margin: 0em 2em 2em 0em;
496
+ border-right: 1px dotted #cccccc;
497
+ float: left;
498
+ width: 200px;
499
+ font-size: 1em;
500
+ }
501
+
502
+ ul.admin_menu_block li ul li {
503
+ border: none;
504
+ }
505
+
506
+ .admin_menu_block.two_column {
507
+ width: 40%;
508
+ }
509
+
510
+ .admin_menu_block h2 {
511
+ background: none;
512
+ color: #333333;
513
+ font-size: 1.1em;
514
+ margin: 0em;
515
+ padding: .5em 0em;
516
+ }
517
+
518
+ ul.admin_menu li {
519
+ margin-bottom: 1em;
520
+ }
521
+
522
+ ul.admin_menu li ul li {
523
+ margin-bottom: 0em;
524
+ font-size: .9em;
525
+ }
526
+
527
+ div.jump_links {
528
+ position: absolute;
529
+ color: #aaaaaa;
530
+ width: 91%;
531
+ text-align: right;
532
+ margin-top: 1em;
533
+ }
534
+
535
+ ul.client_menu_block li {
536
+ float: left;
537
+ width: 40%;
538
+ margin: 0em 2em 2em 0em;
539
+ padding-right: 3%;
540
+ border-right: 1px dotted #cccccc;
541
+ font-size: 1em;
542
+ }
543
+
544
+ ul.client_menu_block li ul.client_menu li {
545
+ display: block;
546
+ float: none;
547
+ font-size: 1em;
548
+ width: 100%;
549
+ border: none;
550
+ }
551
+
552
+ .jump_links a:link, .jump_links a:visited {
553
+ color: #aaaaaa;
554
+ text-decoration: none;
555
+ }
556
+
557
+ .jump_links ul {
558
+ display: inline;
559
+ float: right;
560
+ }
561
+
562
+ .jump_links ul li {
563
+ float: left;
564
+ margin-left: 1em;
565
+ }
566
+
567
+ img.move_icon {
568
+ margin-top: 4px;
569
+ visibility: hidden;
570
+ }
571
+
572
+ tr:hover td img.move_icon {
573
+ visibility: visible;
574
+ }
575
+
576
+ /* @end */
577
+
578
+ /* @group Info Icons */
579
+
580
+ div.note {
581
+ color: #000000;
582
+ margin-top: 1em;
583
+ margin-bottom: 2em;
584
+ background-color: #eeeeee;
585
+ border: 1px solid #999999;
586
+ font-size: 1em;
587
+ }
588
+
589
+ div.note span.notification {
590
+ float: left;
591
+ display: block;
592
+ margin-top: -25px;
593
+ margin-left: -15px;
594
+ height: 45px;
595
+ width: 40px;
596
+ }
597
+
598
+ span.notification.detail {
599
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat 0px 0px;
600
+ }
601
+
602
+ span.notification.info {
603
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat 0px -45px;
604
+ }
605
+
606
+ span.notification.reminder {
607
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat 0px -90px;
608
+ }
609
+
610
+ span.notification.error {
611
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat -45px 0px;
612
+ }
613
+
614
+ span.notification.alert {
615
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat -45px -45px;
616
+ }
617
+
618
+ span.notification.idea {
619
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat -45px -90px;
620
+ }
621
+
622
+ span.notification.clarification {
623
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat -90px 0px;
624
+ }
625
+
626
+ span.notification.question {
627
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat -90px -45px;
628
+ }
629
+
630
+ span.notification.confusion {
631
+ background: url(../images/icons/notification_icon_sprite.png) no-repeat -90px -90px;
632
+ }
633
+
634
+ div.note p {
635
+ margin-top: 1.5em;
636
+ padding: 1em 1em .5em 1em;
637
+ }
638
+
639
+
640
+
641
+ /* @end */
642
+
643
+ /* @group Reports */
644
+
645
+ .negative {
646
+ color: #793441;
647
+ font-weight: bold;
648
+ }
649
+
650
+ .new {
651
+ color: #827e38;
652
+ font-weight: bold;
653
+ }
654
+
655
+ .positive {
656
+ color: #6b7c35;
657
+ font-weight: bold;
658
+ }
659
+
660
+ /* @end */
661
+
662
+
663
+ /* @group Rails Overrides */
664
+
665
+ div#flash_error {
666
+ border: 1px solid #aaaaaa;
667
+ color: #660000;
668
+ padding: 1em;
669
+ background-color: #eeeeee;
670
+ }
671
+
672
+ .errorExplanation h2 {
673
+ display: none;
674
+ }
675
+
676
+ .errorExplanation ul li {
677
+ margin-left: 1.5em;
678
+ list-style-type: disc;
679
+ }
680
+
681
+ /* @end */
682
+