mitamirri 0.13.8 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. data/Capfile +4 -0
  2. data/Gemfile +29 -0
  3. data/README.rdoc +6 -55
  4. data/Rakefile +34 -21
  5. data/VERSION +1 -1
  6. data/app/controllers/admin/tracking/reports_controller.rb +78 -0
  7. data/app/controllers/admin/tracking/trackable_sessions_controller.rb +7 -0
  8. data/app/controllers/application_controller.rb +1 -8
  9. data/app/controllers/trackable_actions_controller.rb +0 -2
  10. data/app/helpers/application_helper.rb +21 -0
  11. data/app/helpers/layout_helper.rb +18 -0
  12. data/app/models/content_report.rb +35 -0
  13. data/app/models/content_stat.rb +4 -0
  14. data/app/models/destination.rb +4 -0
  15. data/app/models/intersite_traffic_report.rb +47 -0
  16. data/app/models/keyword_stat.rb +4 -0
  17. data/app/models/lead.rb +3 -0
  18. data/app/models/lead_stat.rb +5 -0
  19. data/app/models/leads_report.rb +32 -0
  20. data/app/models/location_stat.rb +37 -0
  21. data/app/models/referrer_stat.rb +4 -0
  22. data/app/models/report.rb +83 -0
  23. data/app/models/stat_base.rb +11 -0
  24. data/app/models/trackable_action.rb +114 -91
  25. data/app/models/trackable_base.rb +12 -0
  26. data/app/models/trackable_location.rb +7 -13
  27. data/app/models/trackable_session.rb +255 -171
  28. data/app/models/trackable_stat.rb +45 -27
  29. data/app/models/traffic_explorer_report.rb +92 -0
  30. data/app/models/traffic_summary_report.rb +142 -0
  31. data/app/models/user_agent_stat.rb +4 -0
  32. data/app/models/visit.rb +6 -0
  33. data/app/models/visit_stat.rb +5 -0
  34. data/app/models/visitor.rb +4 -0
  35. data/app/models/visitor_profile_report.rb +23 -0
  36. data/app/views/admin/tracking/reports/_content.html.erb +28 -0
  37. data/app/views/admin/tracking/reports/_conversion_rate.html.erb +30 -0
  38. data/app/views/admin/tracking/reports/_criteria.html.erb +33 -0
  39. data/app/views/admin/tracking/reports/_entrance_pages.html.erb +29 -0
  40. data/app/views/admin/tracking/reports/_exit_pages.html.erb +28 -0
  41. data/app/views/admin/tracking/reports/_explorer_criteria.html.erb +22 -0
  42. data/app/views/admin/tracking/reports/_explorer_summary.html.erb +22 -0
  43. data/app/views/admin/tracking/reports/_intersite_destinations.html.erb +28 -0
  44. data/app/views/admin/tracking/reports/_intersite_referrals.html.erb +30 -0
  45. data/app/views/admin/tracking/reports/_leads.html.erb +30 -0
  46. data/app/views/admin/tracking/reports/_locations.html.erb +47 -0
  47. data/app/views/admin/tracking/reports/_recent_visits.html.erb +33 -0
  48. data/app/views/admin/tracking/reports/_referring_keywords.html.erb +28 -0
  49. data/app/views/admin/tracking/reports/_referring_sites.html.erb +28 -0
  50. data/app/views/admin/tracking/reports/_traffic_summary.html.erb +26 -0
  51. data/app/views/admin/tracking/reports/_user_agents.html.erb +28 -0
  52. data/app/views/{trackable_sessions/_visits_graph.html.erb → admin/tracking/reports/_visits_by_kind.html.erb} +3 -3
  53. data/app/views/admin/tracking/reports/content.html.erb +12 -0
  54. data/app/views/admin/tracking/reports/explorer.html.erb +13 -0
  55. data/app/views/admin/tracking/reports/index.html.erb +16 -0
  56. data/app/views/admin/tracking/reports/intersite.html.erb +11 -0
  57. data/app/views/admin/tracking/reports/leads.html.erb +11 -0
  58. data/app/views/admin/tracking/reports/summary.html.erb +16 -0
  59. data/app/views/admin/tracking/reports/visitor_profile.html.erb +11 -0
  60. data/app/views/{trackable_sessions → admin/tracking/trackable_sessions}/show.html.erb +5 -4
  61. data/app/views/layouts/application.html.erb +51 -18
  62. data/config.ru +4 -0
  63. data/config/application.rb +13 -0
  64. data/config/boot.rb +13 -110
  65. data/config/cucumber.yml +10 -0
  66. data/config/deploy.rb +40 -0
  67. data/config/environment.rb +4 -23
  68. data/config/environments/development.rb +24 -13
  69. data/config/environments/production.rb +41 -20
  70. data/config/environments/test.rb +28 -24
  71. data/config/initializers/formats.rb +19 -0
  72. data/config/initializers/metric_fu.rb +9 -0
  73. data/config/initializers/secret_token.rb +7 -0
  74. data/config/initializers/session_store.rb +3 -10
  75. data/config/locales/en.yml +1 -1
  76. data/config/mongoid.yml +19 -0
  77. data/config/routes.rb +16 -10
  78. data/features/access_reports.feature +26 -0
  79. data/features/step_definitions/reports_steps.rb +9 -0
  80. data/features/step_definitions/web_steps.rb +219 -0
  81. data/features/support/env.rb +32 -0
  82. data/features/support/hooks.rb +1 -0
  83. data/features/support/paths.rb +33 -0
  84. data/features/traffic_summary_report.feature +43 -0
  85. data/init.rb +0 -7
  86. data/lib/mitamirri.rb +9 -12
  87. data/lib/mitamirri/engine.rb +7 -0
  88. data/lib/mitamirri/helper.rb +13 -29
  89. data/lib/mitamirri/railtie.rb +10 -0
  90. data/lib/tasks/cucumber.rake +60 -0
  91. data/lib/tasks/rcov.rake +44 -0
  92. data/mitamirri.gemspec +228 -100
  93. data/public/404.html +26 -0
  94. data/public/422.html +26 -0
  95. data/public/500.html +26 -0
  96. data/{config/database.yml → public/favicon.ico} +0 -0
  97. data/public/images/icons/add.png +0 -0
  98. data/public/images/icons/collapsed.gif +0 -0
  99. data/public/images/icons/delete.png +0 -0
  100. data/public/images/icons/drag.png +0 -0
  101. data/public/images/icons/edit.png +0 -0
  102. data/public/images/icons/expanded.gif +0 -0
  103. data/public/images/icons/help_icon.png +0 -0
  104. data/public/images/icons/link_icon.png +0 -0
  105. data/public/images/icons/move.png +0 -0
  106. data/public/images/icons/move_white.png +0 -0
  107. data/public/images/icons/note.png +0 -0
  108. data/public/images/icons/note_white.png +0 -0
  109. data/public/images/icons/notification_icon_sprite.png +0 -0
  110. data/public/images/icons/spinner.gif +0 -0
  111. data/public/images/icons/view.png +0 -0
  112. data/public/images/icons/warning.png +0 -0
  113. data/public/images/icons/warning_2.png +0 -0
  114. data/public/images/icons/warning_box.png +0 -0
  115. data/public/images/icons/warning_icon.png +0 -0
  116. data/public/images/icons/warning_white.png +0 -0
  117. data/public/images/layout/arrow_asc.png +0 -0
  118. data/public/images/layout/arrow_desc.png +0 -0
  119. data/public/images/layout/back.png +0 -0
  120. data/public/images/layout/black_bar.png +0 -0
  121. data/public/images/layout/branding.png +0 -0
  122. data/public/images/layout/breadcrumb_bg.png +0 -0
  123. data/public/images/layout/button_bg.png +0 -0
  124. data/public/images/layout/content_left_bg.png +0 -0
  125. data/public/images/layout/content_right_bg.png +0 -0
  126. data/public/images/layout/footer_bg.png +0 -0
  127. data/public/images/layout/h1_bg.png +0 -0
  128. data/public/images/layout/h2_bg.png +0 -0
  129. data/public/images/layout/h2_bg_for_table.png +0 -0
  130. data/public/images/layout/header_bg_grey.png +0 -0
  131. data/public/images/layout/header_bg_purple.png +0 -0
  132. data/public/images/layout/legend_bg.png +0 -0
  133. data/public/images/layout/menu_box_bg.png +0 -0
  134. data/public/images/layout/shadow_border.png +0 -0
  135. data/public/images/layout/shadow_border_2.png +0 -0
  136. data/public/images/layout/shadow_border_3.png +0 -0
  137. data/public/images/layout/shadow_border_4.png +0 -0
  138. data/public/images/layout/tab.png +0 -0
  139. data/public/images/layout/tab_active.png +0 -0
  140. data/public/images/layout/table_header.png +0 -0
  141. data/public/images/layout/text_field_bg.jpg +0 -0
  142. data/public/images/layout/text_field_error_bg.png +0 -0
  143. data/public/images/layout/th_bg.png +0 -0
  144. data/public/images/layout/th_bg_selected.png +0 -0
  145. data/public/images/menu_icons/content_report.png +0 -0
  146. data/public/images/menu_icons/content_report_on.png +0 -0
  147. data/public/images/menu_icons/funnel.png +0 -0
  148. data/public/images/menu_icons/funnel_on.png +0 -0
  149. data/public/images/menu_icons/intersite_traffic.png +0 -0
  150. data/public/images/menu_icons/intersite_traffic_on.png +0 -0
  151. data/public/images/menu_icons/leads.png +0 -0
  152. data/public/images/menu_icons/leads_on.png +0 -0
  153. data/public/images/menu_icons/traffic_explorer.png +0 -0
  154. data/public/images/menu_icons/traffic_explorer_on.png +0 -0
  155. data/public/images/menu_icons/traffic_summary.png +0 -0
  156. data/public/images/menu_icons/traffic_summary_on.png +0 -0
  157. data/public/images/menu_icons/visitor_profile.png +0 -0
  158. data/public/images/menu_icons/visitor_profile_on.png +0 -0
  159. data/public/index.html +8 -0
  160. data/public/javascripts/application.js +2 -0
  161. data/public/javascripts/controls.js +965 -0
  162. data/public/javascripts/dragdrop.js +974 -0
  163. data/public/javascripts/effects.js +1123 -0
  164. data/public/javascripts/prototype.js +6001 -0
  165. data/public/javascripts/rails.js +175 -0
  166. data/public/robots.txt +5 -0
  167. data/public/stylesheets/.gitkeep +0 -0
  168. data/public/stylesheets/application.css +876 -0
  169. data/public/stylesheets/core.css +1146 -0
  170. data/public/stylesheets/core_ie.css +52 -0
  171. data/public/stylesheets/csshover3.htc +14 -0
  172. data/public/stylesheets/mitamirri.css +37 -724
  173. data/public/stylesheets/mitamirri_print.css +3 -0
  174. data/script/cucumber +10 -0
  175. data/script/rails +6 -0
  176. data/spec/blueprints.rb +13 -0
  177. data/spec/helpers/application_helper_spec.rb +23 -35
  178. data/spec/{lib → models}/content_report_spec.rb +12 -8
  179. data/spec/{lib → models}/intersite_traffic_report_spec.rb +6 -9
  180. data/spec/{lib → models}/leads_report_spec.rb +11 -12
  181. data/spec/models/location_stat_spec.rb +18 -0
  182. data/spec/models/trackable_action_spec.rb +46 -14
  183. data/spec/models/trackable_base_spec.rb +27 -0
  184. data/spec/models/trackable_session_spec.rb +181 -57
  185. data/spec/{lib/session_report_spec.rb → models/traffic_explorer_report_spec.rb} +8 -25
  186. data/spec/spec_helper.rb +8 -28
  187. data/{lib/mitamirri/tasks.rb → tasks/mitamirri.rake} +6 -7
  188. data/vendor/plugins/.gitkeep +0 -0
  189. metadata +316 -77
  190. data/.gitignore +0 -26
  191. data/app/controllers/trackable_sessions_controller.rb +0 -100
  192. data/app/views/trackable_sessions/_keywords_graph.html.erb +0 -24
  193. data/app/views/trackable_sessions/_print_buttons.html.erb +0 -3
  194. data/app/views/trackable_sessions/_sessions.html.erb +0 -26
  195. data/app/views/trackable_sessions/_top_referrers.html.erb +0 -24
  196. data/app/views/trackable_sessions/_traffic_summary_all.html.erb +0 -64
  197. data/app/views/trackable_sessions/_traffic_summary_by_kind.html.erb +0 -48
  198. data/app/views/trackable_sessions/content.html.erb +0 -119
  199. data/app/views/trackable_sessions/explorer.html.erb +0 -67
  200. data/app/views/trackable_sessions/export.xls.erb +0 -5
  201. data/app/views/trackable_sessions/index.html.erb +0 -47
  202. data/app/views/trackable_sessions/intersite.html.erb +0 -97
  203. data/app/views/trackable_sessions/leads.html.erb +0 -98
  204. data/app/views/trackable_sessions/visitor_profile.html.erb +0 -114
  205. data/config/initializers/backtrace_silencers.rb +0 -7
  206. data/config/initializers/database.rb +0 -1
  207. data/config/initializers/inflections.rb +0 -10
  208. data/config/initializers/mime_types.rb +0 -5
  209. data/config/initializers/new_rails_defaults.rb +0 -21
  210. data/db/development.sqlite3 +0 -0
  211. data/db/migrate/20100810173533_create_trackable_sessions.rb +0 -23
  212. data/db/migrate/20100810173605_create_trackable_actions.rb +0 -20
  213. data/db/test.sqlite3 +0 -1
  214. data/lib/mitamirri/content_report.rb +0 -75
  215. data/lib/mitamirri/intersite_traffic_report.rb +0 -122
  216. data/lib/mitamirri/leads_report.rb +0 -90
  217. data/lib/mitamirri/session_report.rb +0 -219
  218. data/lib/mitamirri/stat_report.rb +0 -216
  219. data/lib/mitamirri/visitor_profile_report.rb +0 -127
  220. data/script/about +0 -4
  221. data/script/console +0 -3
  222. data/script/dbconsole +0 -3
  223. data/script/destroy +0 -3
  224. data/script/generate +0 -3
  225. data/script/performance/benchmarker +0 -3
  226. data/script/performance/profiler +0 -3
  227. data/script/plugin +0 -3
  228. data/script/runner +0 -3
  229. data/script/server +0 -3
  230. data/spec/controllers/trackable_actions_controller_spec.rb +0 -5
  231. data/spec/controllers/trackable_sessions_controller_spec.rb +0 -5
  232. data/spec/custom_matchers.rb +0 -23
  233. data/spec/lib/stat_report_spec.rb +0 -106
  234. data/spec/rcov.opts +0 -4
  235. data/spec/schema.rb +0 -34
  236. data/spec/spec.opts +0 -4
@@ -0,0 +1,1146 @@
1
+ /* @group Normalization */
2
+
3
+ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
4
+ margin: 0;
5
+ padding: 0;
6
+ }
7
+
8
+ h1, h2, h3, h4, h5, h6 {
9
+ font-size: 100%;
10
+ margin: .67em 0;
11
+ }
12
+
13
+ ul {
14
+ list-style: bullet;
15
+ margin-top: 1em;
16
+ }
17
+
18
+ ol li, ul li {
19
+ font-size: .9em;
20
+ margin-bottom: 1em;
21
+ margin-left: 2em;
22
+ }
23
+
24
+ address, caption, cite, code, dfn, em, strong, th, var {
25
+ font-style: normal;
26
+ font-weight: normal;
27
+ }
28
+
29
+ table {
30
+ border-collapse: collapse;
31
+ border-spacing: 0;
32
+ }
33
+
34
+ table td {
35
+ vertical-align: top;
36
+ padding: .5em;
37
+ }
38
+
39
+ fieldset, img {
40
+ border: 0;
41
+ }
42
+
43
+ caption, th {
44
+ text-align: left;
45
+ }
46
+
47
+ q:before, q:after {
48
+ content: '';
49
+ }
50
+
51
+
52
+ /* @end */
53
+
54
+ /* @group Layout */
55
+
56
+ html {
57
+ text-align: center;
58
+ }
59
+
60
+ body {
61
+ position: relative;
62
+ width: 900px;
63
+ margin: 0 auto;
64
+ background-color: #dddddd;
65
+ }
66
+
67
+ div#header {
68
+ position: absolute;
69
+ top: 0em;
70
+ left: 0em;
71
+ min-height: 7em;
72
+ background-color: #765e9a;
73
+ width: 900px;
74
+ padding: 0em;
75
+ background: #333333 url(/images/layout/header_bg_grey.png) no-repeat;
76
+ border-bottom: 1px solid #999999;
77
+ margin-top: 10px;
78
+ }
79
+
80
+ div#branding {
81
+ position: absolute;
82
+ top: 15%;
83
+ width: 30em;
84
+ }
85
+
86
+ div#breadcrumbs {
87
+ margin: 0 0 1.5em 0;
88
+ position: relative;
89
+ z-index: 1;
90
+ }
91
+
92
+ div#metanav {
93
+ position: absolute;
94
+ top: 0px;
95
+ right: 72px;
96
+ margin: 15px 0px 25% 0px;
97
+ height: 50%;
98
+ width: 120px;
99
+ color: #ffffff;
100
+ }
101
+
102
+ div#content {
103
+ position: relative;
104
+ margin-top: 0em;
105
+ width: 900px;
106
+ height: 100%;
107
+ padding: 0em;
108
+ }
109
+
110
+ div#content_main {
111
+ position: absolute;
112
+ top: 9em;
113
+ left: 0em;
114
+ min-height: 450px;
115
+ width: 874px;
116
+ padding: 0em;
117
+ padding-bottom: 0px;
118
+ margin-top: 11px;
119
+ border-right: 1px solid #666666;
120
+ border-left: 1px solid #666666;
121
+ border-bottom: 1px solid #666666;
122
+ }
123
+
124
+ div#footer {
125
+ clear: both;
126
+ position: absolute;
127
+ margin: 1em -1.2em 1em -1.2em;
128
+ z-index: 100;
129
+ bottom: -43px;
130
+ margin-left: -13px;
131
+ width: 890px;
132
+ background: url(/images/layout/footer_bg.png) no-repeat 0 bottom;
133
+ }
134
+
135
+ div#navigation {
136
+ position: absolute;
137
+ top: 7em;
138
+ text-align: left;
139
+ height: 2em;
140
+ background-color: #99cc00;
141
+ margin-top: 10px;
142
+ border: 1px solid #666666;
143
+ width: 898px;
144
+ padding: 0em;
145
+ /*
146
+ background: url(/images/layout/navigation_bg.png) repeat-x;
147
+ */
148
+ }
149
+
150
+ div.subcolumn {
151
+ float: left;
152
+ width: 45%;
153
+ margin: 0em 5% 0em 0em;
154
+ }
155
+
156
+
157
+ /* @end */
158
+
159
+ /* @group General Typography */
160
+
161
+ a:link {
162
+ color: #756b7f;
163
+ }
164
+
165
+ a:hover {
166
+ color: #665577;
167
+ }
168
+
169
+ a:active {
170
+ color: #665577;
171
+ }
172
+
173
+ a:visited {
174
+ color: #756b7f;
175
+ }
176
+
177
+ .align_left {
178
+ text-align: left !important;
179
+ }
180
+
181
+ .align_right {
182
+ text-align: right !important;
183
+ }
184
+
185
+ body {
186
+ font-family: Verdana, Arial, Sans-Serif;
187
+ font-size: .8em;
188
+ text-align: left;
189
+ }
190
+
191
+ h1 {
192
+ font-size: 1.5em;
193
+ font-weight: bold;
194
+ padding: 0em;
195
+ color: #666666;
196
+ margin: 0em 0em 0em 0em;
197
+ }
198
+
199
+ h2 {
200
+ color: #333333;
201
+ font-weight: bold;
202
+ font-size: 1.1em;
203
+ margin: 1.5em 0em .5em 0em;
204
+ }
205
+
206
+ h2 a:link {
207
+ color: #333333;
208
+ }
209
+
210
+ h2 a:hover {
211
+ color: #333333;
212
+ }
213
+
214
+ h2 a:active {
215
+ color: #333333;
216
+ }
217
+
218
+ h2 a:visited {
219
+ color: #333333;
220
+ }
221
+
222
+ h3 {
223
+ color: #333333;
224
+ font-weight: bold;
225
+ font-size: 1em;
226
+ margin: 1.5em 0em .5em 0em;
227
+ }
228
+
229
+ p {
230
+ margin-bottom: 1.5em;
231
+ }
232
+
233
+
234
+ dt {
235
+ font-weight: bold;
236
+ margin: .5em 0em .5em 1em;
237
+ }
238
+
239
+ dd {
240
+ display: block;
241
+ margin: .5em 0em .5em 1em;
242
+ }
243
+
244
+ em {
245
+ font-weight: bold;
246
+ }
247
+
248
+ .indented {
249
+ margin-left: 2em;
250
+ }
251
+
252
+ td.indented {
253
+ padding-left: 2em !important;
254
+ }
255
+
256
+ ul.indented li {
257
+ margin-left: 1em;
258
+ }
259
+
260
+ ul.bulleted {
261
+ list-style-type: bullet;
262
+ }
263
+
264
+ .inactive {
265
+ color: #aaaaaa;
266
+ font-style: italic;
267
+ }
268
+
269
+ .inactive a:link, .inactive a:hover, .inactive a:visited {
270
+ color: #aaaaaa !important;
271
+ font-style: italic;
272
+ text-decoration: none;
273
+ }
274
+
275
+ pre {
276
+ font-family: Verdana, Arial, Sans-Serif;
277
+ font-size: .9em;
278
+ text-align: left;
279
+ }
280
+
281
+ .two_column{
282
+ float: left;
283
+ width: 40%;
284
+ margin-right: 1em;
285
+ }
286
+
287
+ .three_column{
288
+ float: left;
289
+ width: 30%;
290
+ margin-right: 1em;
291
+ }
292
+
293
+ .four_column{
294
+ float: left;
295
+ width: 20%;
296
+ margin-right: 1em;
297
+ }
298
+
299
+ div.column_left {
300
+ float: left;
301
+ width: 350px;
302
+ margin-right: 5%;
303
+ }
304
+
305
+ div.column_right {
306
+ float: left;
307
+ width: 400px;
308
+ }
309
+
310
+ /* @end */
311
+
312
+ /* @group Component Typography */
313
+
314
+ div#branding {
315
+ padding: .75em 0em 0em 4.25em;
316
+ text-align: left;
317
+ font-size: 1.2em;
318
+ font-weight: bold;
319
+ color: #ffffff;
320
+ line-height: 1.5em;
321
+
322
+ }
323
+
324
+ div#breadcrumbs {
325
+ color: #999999;
326
+ font-family: Arial, sans-serif;
327
+ font-size: .9em;
328
+ }
329
+
330
+ div#breadcrumbs a:link {
331
+ color: #999999;
332
+ text-decoration: none;
333
+ }
334
+
335
+ div#breadcrumbs a:active {
336
+ color: #999999;
337
+ text-decoration: underline;
338
+ }
339
+
340
+ div#breadcrumbs a:hover {
341
+ color: #999999;
342
+ text-decoration: underline;
343
+ }
344
+
345
+ div#breadcrumbs a:visited {
346
+ color: #999999;
347
+ text-decoration: none;
348
+ }
349
+
350
+ div#content_main {
351
+ padding: 1em 1em;
352
+ background-color: #ffffff;
353
+ }
354
+
355
+ .graph {
356
+ border: 1px solid #999999;
357
+ }
358
+
359
+ div#metanav {
360
+ padding: 0em;
361
+ text-align: left;
362
+ font-size: .8em;
363
+ }
364
+
365
+ div#metanav p {
366
+ margin: 0em 0em .5em 0em;
367
+ }
368
+
369
+ div#metanav ul li {
370
+ margin-left: 1.5em;
371
+ list-style-type: square;
372
+ }
373
+
374
+ div#metanav ul li a:link {
375
+ color: #ffffff;
376
+ text-decoration: none;
377
+ }
378
+
379
+ div#metanav ul li a:visited {
380
+ color: #ffffff;
381
+ text-decoration: none;
382
+ }
383
+
384
+ div#metanav ul li a:active {
385
+ color: #ffffff;
386
+ text-decoration: underline;
387
+ }
388
+
389
+ div#metanav ul li a:hover {
390
+ color: #ffffff;
391
+ text-decoration: underline;
392
+ }
393
+
394
+ div#navigation {
395
+ padding: 0em;
396
+ }
397
+
398
+ div#navigation ul {
399
+ text-transform: uppercase;
400
+ }
401
+
402
+ div#navigation ul li {
403
+ display: block;
404
+ float: left;
405
+ color: #000000;
406
+ text-transform: uppercase;
407
+ font-size: .8em;
408
+ font-weight: bold;
409
+ background-color: #9c0;
410
+ background: none;
411
+ margin: 0em;
412
+ padding: .6em 1em .4em 1em;
413
+ height: 1.5em;
414
+ border-right: 1px solid #666666;
415
+ }
416
+
417
+ div#navigation ul :first-child {
418
+ border-left: none;
419
+ }
420
+
421
+ div#navigation ul li.here {
422
+ background-color: #aae10c;
423
+ }
424
+
425
+ div#navigation ul li:hover {
426
+ color: #ffffff !important;
427
+ background: #88aa33;
428
+ cursor: pointer;
429
+ }
430
+
431
+ div#navigation ul li:hover a:link {
432
+ color: #ffffff !important;
433
+ background: #88aa33;
434
+ cursor: pointer;
435
+ }
436
+
437
+ div#navigation ul li a:link {
438
+ color: #333333;
439
+ font-weight: normal;
440
+ text-decoration: none;
441
+ }
442
+
443
+ div#navigation ul li a:hover {
444
+ color: #ffffff;
445
+ font-weight: normal;
446
+ text-decoration: none;
447
+ }
448
+
449
+ div#navigation ul li a:visited {
450
+ color: #333333;
451
+ font-weight: normal;
452
+ text-decoration: none;
453
+ }
454
+
455
+ div#content_main ul {
456
+ margin-left: 1.5em;
457
+ list-style-type: disc;
458
+ margin-bottom: 1.5em;
459
+ }
460
+
461
+ div#footer {
462
+ border-top: 1px solid #999999;
463
+ font-size: .8em;
464
+ line-height: 150%;
465
+ padding: 1em 0em 1em 1em;
466
+ }
467
+
468
+ div#footer a:link {
469
+ color: #ffffff;
470
+ }
471
+
472
+ div#footer a:visited {
473
+ color: #ffffff;
474
+ }
475
+
476
+ table.results {
477
+ width: 100%;
478
+ margin-top: 0px;
479
+ margin-bottom: .5em;
480
+ padding: 0px;
481
+ border-collapse: collapse;
482
+ border: 1px solid #888888;
483
+ }
484
+
485
+ table.results thead tr {
486
+ border: 1px solid #888888;
487
+ }
488
+
489
+ table.results tr.odd {
490
+ background-color: #eeeeee;
491
+ }
492
+
493
+ table.results tr.even {
494
+ background-color: #ffffff;
495
+ }
496
+
497
+ table.results tr.highlight {
498
+ color: #C00;
499
+ }
500
+
501
+ table.results tfoot tr {
502
+ border: 1px solid #888888;
503
+ }
504
+
505
+ table.results th {
506
+ vertical-align: middle;
507
+ text-align: left;
508
+ font-size: .7em;
509
+ background-color: #888888;
510
+ color: #ffffff;
511
+ padding: 3px;
512
+ margin: 0px;
513
+ text-transform: uppercase;
514
+ }
515
+
516
+ table.results th a:link, table.results th a:visited {
517
+ text-decoration: none !important;
518
+ color: #ffffff;
519
+ }
520
+
521
+ table.results th a:hover {
522
+ text-decoration: underline !important;
523
+ color: #ffffff;
524
+ }
525
+
526
+ table th div.sort_link {
527
+ padding-bottom: 1em;
528
+ }
529
+
530
+ table tr th div.sort_link.sort_desc {
531
+ background: url(../images/layout/arrow_desc.png) no-repeat right bottom;
532
+ }
533
+
534
+ table tr th div.sort_link.sort_asc {
535
+ background: url(../images/layout/arrow_asc.png) no-repeat right bottom;
536
+ }
537
+
538
+ table.results tfoot td {
539
+ text-align: left;
540
+ font-size: .7em;
541
+ background-color: #888888;
542
+ color: #ffffff;
543
+ padding: 3px;
544
+ margin: 0px;
545
+ text-transform: uppercase;
546
+ }
547
+
548
+ table.results tfoot td a {
549
+ color: #ffffff !important;
550
+ }
551
+
552
+ table.results td {
553
+ text-align: left;
554
+ font-size: .75em;
555
+ padding: 6px 6px 6px 6px;
556
+ margin: 0px;
557
+ vertical-align: top;
558
+ }
559
+
560
+ /* @end */
561
+
562
+
563
+ /* @group Forms */
564
+
565
+ .button {
566
+ display: block;
567
+ float: left;
568
+ color: #333333;
569
+ text-transform: uppercase;
570
+ font-size: .8em;
571
+ font-weight: normal !important;
572
+ margin: 2em 1.5em 1.5em 0em;
573
+ border: 1px solid #666666;
574
+ padding: .5em;
575
+ cursor: pointer;
576
+ background-color: #9dbd40;
577
+ text-decoration: none !important;
578
+ min-width: 5em;
579
+ text-align: center;
580
+ }
581
+
582
+ .button.inline {
583
+ display: inline;
584
+ float: none;
585
+ margin: 0em 0em 1em 1em;
586
+ }
587
+
588
+ img.inline_icon:hover {
589
+ cursor: pointer;
590
+ }
591
+
592
+ .button a:link {
593
+ color: #333333;
594
+ cursor: pointer;
595
+ }
596
+
597
+ .button a:visited {
598
+ color: #333333;
599
+ cursor: pointer;
600
+ }
601
+
602
+ .button a:visited {
603
+ color: #333333;
604
+ cursor: pointer;
605
+ }
606
+
607
+ .explanation {
608
+ font-size: 10px;
609
+ }
610
+
611
+ .faux_field {
612
+ display: block;
613
+ color: #666666;
614
+ width: 1em;
615
+ padding: .5em;
616
+ border: 1px solid #cccccc;
617
+ background-color: #eeeeee;
618
+ /*width: 21.5em;*/
619
+ width: 35em;
620
+ min-height: 1em;
621
+ margin: .25em 0em 1em 0em;
622
+ font-size: .8em;
623
+ text-align: left;
624
+ overflow: auto;
625
+ }
626
+
627
+ div.fieldWithErrors input {
628
+ background: #ffdddd !important;
629
+ color: #ff0000;
630
+ }
631
+
632
+ .form_container {
633
+ background-color: #eeeeee;
634
+ padding: 1em;
635
+ border: 1px solid #999999;
636
+ margin-top: 1.5em;
637
+ }
638
+
639
+ .form_container p {
640
+ margin-top: 1em;
641
+ }
642
+
643
+ fieldset {
644
+ margin: .5em 0em .5em 0em;
645
+ }
646
+
647
+ fieldset.inline_label {
648
+ margin-bottom: 1.5em;
649
+ }
650
+
651
+ fieldset p {
652
+ color: #333333;
653
+ }
654
+
655
+ .form_column {
656
+ float: left;
657
+ width: 45%;
658
+ margin-right: 5%;
659
+ }
660
+
661
+ .inline_help {
662
+ margin-top: -1em;
663
+ }
664
+
665
+ .inline_help p {
666
+ font-size: 9px;
667
+ color: #666666;
668
+ width: 275px;
669
+ }
670
+
671
+ input[type="text"] {
672
+ color: #666666;
673
+ margin: 0em 0em 1em 0em;
674
+ padding: 3px;
675
+ width: 23.75em;
676
+ background: #ffffff url(/images/layout/text_field_bg.jpg) repeat-x;
677
+ height: auto;
678
+ }
679
+
680
+ input[type="text"].short {
681
+ width: 3em;
682
+ }
683
+
684
+ input[type="password"] {
685
+ color: #666666;
686
+ margin: 0em 0em 1em 0em;
687
+ padding: 3px;
688
+ width: 23.75em;
689
+ background: #ffffff url(/images/layout/text_field_bg.jpg) repeat-x;
690
+ height: auto;
691
+
692
+ }
693
+
694
+ input[type="radio"] {
695
+ margin: .5em;
696
+ }
697
+
698
+ textarea {
699
+ background: #ffffff url(/images/layout/text_field_bg.jpg) repeat-x;
700
+ font-size: 1em;
701
+ }
702
+
703
+ legend {
704
+ padding: .5em;
705
+ background-color: #7e7587;
706
+ color: #ffffff;
707
+ margin-left: -1.4em;
708
+ width: 26.5em;
709
+ font-weight: bold;
710
+ font-size: .8em;
711
+ text-transform: uppercase;
712
+ padding-left: 1em;
713
+ }
714
+
715
+ .help_icon {
716
+ display: block;
717
+ float: left;
718
+ margin-top: -16px;
719
+ margin-left: 290px;
720
+ border-left: 1px solid #444444;
721
+ padding: 3px 6px;
722
+ cursor: pointer;
723
+ }
724
+
725
+ div.popup_help {
726
+ color: #666666;
727
+ width: 98%;
728
+ background: #ffffff;
729
+ padding: 1em;
730
+ border: 1px solid #999999;
731
+ margin: 1em 0em;
732
+ }
733
+
734
+
735
+ label {
736
+ display: block;
737
+ font-weight: bold;
738
+ color: #333333;
739
+ margin: 0em 0em -1em 0em;
740
+ font-size: .8em;
741
+ }
742
+
743
+ label.inline {
744
+ display: inline;
745
+ margin-left: .5em;
746
+ font-size: .8em;
747
+ font-weight: normal;
748
+ }
749
+
750
+ label span.instructions {
751
+ font-weight: normal;
752
+ display: block;
753
+ }
754
+
755
+ select {
756
+ color: #666666;
757
+ margin: 0em 0em 1em 0em;
758
+ }
759
+
760
+ textarea {
761
+ color: #666666;
762
+ padding: .5em;
763
+ margin: 0em 0em 1em 0em;
764
+ height: 10em;
765
+ width: 23.75em;
766
+ font-family: Verdana, Arial, Sans-Serif;
767
+ color: #666666;
768
+ }
769
+
770
+ textarea.long {
771
+ height: 25em;
772
+ }
773
+
774
+ textarea.wide {
775
+ width: 70em;
776
+ }
777
+
778
+ /* @end */
779
+
780
+ /* @group Tables */
781
+
782
+ tr.odd {
783
+ background-color: #efefef;
784
+ }
785
+
786
+ tr.even {
787
+ background-color: #FFF;
788
+ }
789
+
790
+ table.results {
791
+ width: 100%;
792
+ margin-top: 1em;
793
+ margin-bottom: 20px;
794
+ padding: 0px;
795
+ border-collapse: collapse;
796
+ border: 1px solid #888888;
797
+ }
798
+
799
+ table.results thead tr {
800
+ border: 1px solid #888888;
801
+ }
802
+
803
+ table.results tfoot tr {
804
+ border: 1px solid #888888;
805
+ }
806
+
807
+ # FIXME: this is a duplicate definition with slightly different values -RM
808
+ table.results th {
809
+ vertical-align: middle;
810
+ text-align: left;
811
+ font-size: .75em;
812
+ background-color: #888888;
813
+ color: #ffffff;
814
+ padding: 1em .5em 1em .5em;
815
+ margin: 0px;
816
+ text-transform: uppercase;
817
+ }
818
+
819
+ table.results tfoot td {
820
+ text-align: left;
821
+ font-size: .7em;
822
+ background-color: #888888;
823
+ color: #ffffff;
824
+ padding: 3px;
825
+ margin: 0px;
826
+ text-transform: uppercase;
827
+ }
828
+
829
+ table.results tfoot td a {
830
+ color: #ffffff !important;
831
+ }
832
+
833
+ table.results td {
834
+ text-align: left;
835
+ font-size: .9em !important;
836
+ padding: 6px 6px 6px 6px;
837
+ height: auto !important;
838
+ margin: 0px;
839
+ vertical-align: top;
840
+ }
841
+
842
+ table.results td.crud_links {
843
+ text-align: right;
844
+ }
845
+
846
+ table.standard {
847
+ width: 100%;
848
+ text-align: left;
849
+ margin-top: 0em;
850
+ margin-bottom: 0em;
851
+ border: 1px solid #999999;
852
+ }
853
+
854
+ table.standard th {
855
+ text-align: left;
856
+ border: 1px solid #7e7587;
857
+ background-color: #7e7587;
858
+ color: #ffffff;
859
+ font-weight: bold;
860
+ text-transform: uppercase;
861
+ font-size: .8em;
862
+ padding: 1em .5em 1em .5em;
863
+ }
864
+
865
+ table.standard th a {
866
+ text-decoration: none !important;
867
+ }
868
+
869
+ table.standard th a.arrow-desc:after{
870
+ content: "\25BC";
871
+ margin-left: 1em;
872
+ }
873
+
874
+ table.standard th a.arrow-asc:after {
875
+ content: "\25B2";
876
+ margin-left: 1em;
877
+ }
878
+
879
+ table.standard td.crud_links {
880
+ text-align: right;
881
+ }
882
+
883
+ table.standard td.nowrap {
884
+ white-space: nowrap;
885
+ }
886
+
887
+ table.standard tr.muted th {
888
+ border: 1px solid #999999;
889
+ background-color: #999999;
890
+ }
891
+
892
+ table.standard tr.summary {
893
+ background-color: #cccccc;
894
+ border-top: 1px solid #999999;
895
+ }
896
+
897
+ table.standard tr.odd {
898
+ background-color: #ffffff;
899
+ }
900
+
901
+ table.standard tr.even {
902
+ background-color: #efefef;
903
+ }
904
+
905
+ table.standard tr:hover {
906
+ background-color: #dddddd;
907
+ }
908
+
909
+ table.standard td {
910
+ padding: .5em;
911
+ text-align: left;
912
+ font-size: .9em;
913
+ }
914
+
915
+ table.standard td span.emphasis {
916
+ font-weight: bold;
917
+ }
918
+
919
+ table.standard td.nowrap {
920
+ white-space: nowrap;
921
+ }
922
+
923
+ /* @end */
924
+
925
+ /* @group Show/Hide Controls */
926
+
927
+ .show_link {
928
+ display: block;
929
+ float: left;
930
+ margin-top: 1px;
931
+ margin-right: 4px;
932
+ height: 9px;
933
+ width: 9px;
934
+ background-image: url(../images/icons/collapsed.gif);
935
+ }
936
+
937
+ .show_link:hover {
938
+ cursor: pointer;
939
+ }
940
+
941
+ .hide_link {
942
+ display: block;
943
+ float: left;
944
+ margin-top: 1px;
945
+ margin-right: 4px;
946
+ height: 9px;
947
+ width: 9px;
948
+ background-image: url(../images/icons/expanded.gif);
949
+ }
950
+
951
+ .hide_link:hover {
952
+ cursor: pointer;
953
+ }
954
+
955
+ h2 .hide_link{
956
+ margin-top: 1px;
957
+ margin-left: -18px;
958
+ /*float: right;
959
+ margin-top: 1px;
960
+ margin-right: 15px;*/
961
+ }
962
+
963
+ h2 .show_link {
964
+ margin-top: 1px;
965
+ margin-left: -18px;
966
+ }
967
+
968
+ legend .show_link {
969
+ float: right;
970
+ margin-top: 0px;
971
+ margin-right: 25px;
972
+ }
973
+
974
+ legend .hide_link {
975
+ float: right;
976
+ margin-top: 0px;
977
+ margin-right: 25px;
978
+ }
979
+
980
+ .faux_legend .show_link {
981
+ float: right;
982
+ margin-top: 0px;
983
+ margin-right: 25px;
984
+ }
985
+
986
+ .faux_legend .hide_link {
987
+ float: right;
988
+ margin-top: 0px;
989
+ margin-right: 25px;
990
+ }
991
+
992
+ /* @end */
993
+
994
+ /* @group Rails-Specific */
995
+
996
+ div#washout {
997
+ position: absolute;
998
+ top: 0em;
999
+ left: 0em;
1000
+ background-color: #ffffff;
1001
+ opacity: .9;
1002
+ width: 100%;
1003
+ height: 200%;
1004
+ z-index: 999;
1005
+ }
1006
+
1007
+ div.flash_notice_static {
1008
+ padding: 2em;
1009
+ border: 1px solid #999999;
1010
+ background-color: #eeeeee;
1011
+ color: #000000;
1012
+ font-weight: bold;
1013
+ }
1014
+
1015
+ div.flash_notice {
1016
+ position: absolute;
1017
+ top: 10em;
1018
+ width: 50%;
1019
+ margin-left: 25%;
1020
+ z-index: 1000;
1021
+ padding: 2em;
1022
+ border: 1px solid #999999;
1023
+ background-color: #eeeeee;
1024
+ color: #000000;
1025
+ font-weight: bold;
1026
+ }
1027
+
1028
+ div.flash_error {
1029
+ color: #990000;
1030
+ font-weight: bold;
1031
+ margin-bottom: 1.5em;
1032
+ }
1033
+
1034
+ .field_with_errors select {
1035
+ border: 1px solid #990000;
1036
+ }
1037
+
1038
+ .field_with_errors input {
1039
+ border: 1px solid #990000;
1040
+ background-image: url(/images/layout/text_field_error_bg.png);
1041
+ }
1042
+
1043
+ #error_explanation {
1044
+ background: #eeeeee;
1045
+ padding: 1em;
1046
+ border: 1px solid #990000;
1047
+ }
1048
+
1049
+ #error_explanation h2 {
1050
+ background: none;
1051
+ color: #990000;
1052
+ padding: 0px !important;
1053
+ margin: 0px;
1054
+ }
1055
+
1056
+ #error_explanation ul {
1057
+ width: 25%;
1058
+ float: left;
1059
+ margin-left: 1em;
1060
+ }
1061
+
1062
+ #error_explanation ul li {
1063
+ list-style: disc;
1064
+ margin-left: 1em;
1065
+ }
1066
+
1067
+ img.crud_icon {
1068
+ margin-left: 7px;
1069
+ }
1070
+
1071
+ .crud_link {
1072
+ margin-left: .5em;
1073
+ }
1074
+
1075
+ /* @end */
1076
+
1077
+ /* @group Pagination */
1078
+
1079
+ .pagination {
1080
+ font-size: 10px;
1081
+ padding: 3px;
1082
+ margin: 10px;
1083
+ text-align: right;
1084
+ white-space: nowrap;
1085
+ }
1086
+
1087
+ .pagination_label {
1088
+ float: left;
1089
+ width: 30%;
1090
+ font-size: 10px;
1091
+ padding-top: 1em;
1092
+ }
1093
+
1094
+ .pagination_controls {
1095
+ float: right;
1096
+ width: 60%;
1097
+ }
1098
+
1099
+ .pagination a {
1100
+ padding: 2px 5px 2px 5px;
1101
+ margin: 2px;
1102
+ border: 1px solid #999999;
1103
+ color: #666666;
1104
+ }
1105
+
1106
+ .pagination a:hover, .pagination a:active {
1107
+ border: 1px solid #999999;
1108
+ background-color: #eeeeee;
1109
+ color: #000;
1110
+ }
1111
+
1112
+ .pagination span.current {
1113
+ padding: 2px 5px 2px 5px;
1114
+ margin: 2px;
1115
+ border: 1px solid #999999;
1116
+ font-weight: bold;
1117
+ background-color: #eeeeee;
1118
+ color: #000000;
1119
+ }
1120
+
1121
+ .pagination span.disabled {
1122
+ padding: 2px 5px 2px 5px;
1123
+ margin: 2px;
1124
+ border: 1px solid #999999;
1125
+ color: #cccccc;
1126
+ }
1127
+
1128
+ /* @end */
1129
+
1130
+ /* @group Workarounds */
1131
+
1132
+ .clearfix:after {
1133
+ content: ".";
1134
+ display: block;
1135
+ height: 0;
1136
+ clear: both;
1137
+ visibility: hidden;
1138
+ }
1139
+
1140
+ /* Hides from IE-mac \*/
1141
+ * html .clearfix {height: 1%;}
1142
+ /* End hide from IE-mac */
1143
+
1144
+ #preload { height: 0; overflow: hidden; }
1145
+
1146
+ /* @end */