whoops 0.1.10 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/{lib/generators/whoops/templates → app}/assets/javascripts/hideshow.js +0 -0
  2. data/{lib/generators/whoops/templates → app}/assets/javascripts/jquery-1.5.2.min.js +0 -0
  3. data/{lib/generators/whoops/templates → app}/assets/javascripts/jquery.equalHeight.js +0 -0
  4. data/{lib/generators/whoops/templates → app}/assets/javascripts/jquery.form.js +0 -0
  5. data/{lib/generators/whoops/templates → app}/assets/javascripts/jquery.tablesorter.min.js +0 -0
  6. data/{lib/generators/whoops/templates → app}/assets/javascripts/ui.js +0 -0
  7. data/{lib/generators/whoops/templates → app}/assets/javascripts/whoops.js +3 -4
  8. data/app/assets/stylesheets/autocomplete.scss +17 -0
  9. data/app/assets/stylesheets/bootstrap.scss +31 -0
  10. data/app/assets/stylesheets/forms.scss +478 -0
  11. data/app/assets/stylesheets/main.css.scss +0 -0
  12. data/app/assets/stylesheets/mixins.scss +220 -0
  13. data/app/assets/stylesheets/patterns.scss +1060 -0
  14. data/app/assets/stylesheets/reset.scss +141 -0
  15. data/app/assets/stylesheets/scaffolding.scss +108 -0
  16. data/app/assets/stylesheets/tables.scss +224 -0
  17. data/app/assets/stylesheets/type.scss +187 -0
  18. data/app/assets/stylesheets/variables.scss +60 -0
  19. data/app/assets/stylesheets/whoops-application.css +9 -0
  20. data/app/assets/stylesheets/whoops.css.scss +142 -0
  21. data/app/controllers/event_groups_controller.rb +4 -7
  22. data/app/controllers/events_controller.rb +1 -4
  23. data/app/helpers/event_groups_helper.rb +7 -3
  24. data/app/models/whoops/event.rb +5 -4
  25. data/app/models/whoops/event_group.rb +4 -4
  26. data/app/models/whoops/filter.rb +17 -4
  27. data/app/views/event_groups/_list.html.haml +15 -11
  28. data/app/views/event_groups/index.html.haml +14 -9
  29. data/app/views/events/_detail.html.haml +1 -1
  30. data/app/views/events/_details.html.haml +7 -3
  31. data/app/views/events/index.html.haml +20 -14
  32. data/app/views/layouts/whoops.html.haml +13 -30
  33. data/lib/whoops.rb +2 -2
  34. data/lib/whoops/engine.rb +4 -1
  35. metadata +55 -106
  36. data/lib/generators/whoops/assets_generator.rb +0 -16
  37. data/lib/generators/whoops/templates/assets/images/_ui/breadcrumb_divider.png +0 -0
  38. data/lib/generators/whoops/templates/assets/images/_ui/btn_submit.png +0 -0
  39. data/lib/generators/whoops/templates/assets/images/_ui/btn_submit_2.png +0 -0
  40. data/lib/generators/whoops/templates/assets/images/_ui/btn_view_site.png +0 -0
  41. data/lib/generators/whoops/templates/assets/images/_ui/header_bg.png +0 -0
  42. data/lib/generators/whoops/templates/assets/images/_ui/header_shadow.png +0 -0
  43. data/lib/generators/whoops/templates/assets/images/_ui/icn_add_user.png +0 -0
  44. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_error.png +0 -0
  45. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_info.png +0 -0
  46. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_success.png +0 -0
  47. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_warning.png +0 -0
  48. data/lib/generators/whoops/templates/assets/images/_ui/icn_audio.png +0 -0
  49. data/lib/generators/whoops/templates/assets/images/_ui/icn_categories.png +0 -0
  50. data/lib/generators/whoops/templates/assets/images/_ui/icn_edit.png +0 -0
  51. data/lib/generators/whoops/templates/assets/images/_ui/icn_edit_article.png +0 -0
  52. data/lib/generators/whoops/templates/assets/images/_ui/icn_folder.png +0 -0
  53. data/lib/generators/whoops/templates/assets/images/_ui/icn_info.png +0 -0
  54. data/lib/generators/whoops/templates/assets/images/_ui/icn_jump_back.png +0 -0
  55. data/lib/generators/whoops/templates/assets/images/_ui/icn_logout.png +0 -0
  56. data/lib/generators/whoops/templates/assets/images/_ui/icn_new_article.png +0 -0
  57. data/lib/generators/whoops/templates/assets/images/_ui/icn_photo.png +0 -0
  58. data/lib/generators/whoops/templates/assets/images/_ui/icn_profile.png +0 -0
  59. data/lib/generators/whoops/templates/assets/images/_ui/icn_search.png +0 -0
  60. data/lib/generators/whoops/templates/assets/images/_ui/icn_security.png +0 -0
  61. data/lib/generators/whoops/templates/assets/images/_ui/icn_settings.png +0 -0
  62. data/lib/generators/whoops/templates/assets/images/_ui/icn_tags.png +0 -0
  63. data/lib/generators/whoops/templates/assets/images/_ui/icn_trash.png +0 -0
  64. data/lib/generators/whoops/templates/assets/images/_ui/icn_user.png +0 -0
  65. data/lib/generators/whoops/templates/assets/images/_ui/icn_video.png +0 -0
  66. data/lib/generators/whoops/templates/assets/images/_ui/icn_view_users.png +0 -0
  67. data/lib/generators/whoops/templates/assets/images/_ui/module_footer_bg.png +0 -0
  68. data/lib/generators/whoops/templates/assets/images/_ui/post_message.png +0 -0
  69. data/lib/generators/whoops/templates/assets/images/_ui/secondary_bar.png +0 -0
  70. data/lib/generators/whoops/templates/assets/images/_ui/secondary_bar_shadow.png +0 -0
  71. data/lib/generators/whoops/templates/assets/images/_ui/sidebar.png +0 -0
  72. data/lib/generators/whoops/templates/assets/images/_ui/sidebar_divider.png +0 -0
  73. data/lib/generators/whoops/templates/assets/images/_ui/sidebar_shadow.png +0 -0
  74. data/lib/generators/whoops/templates/assets/images/_ui/table_sorter_header.png +0 -0
  75. data/lib/generators/whoops/templates/assets/stylesheets/ie.css +0 -49
  76. data/lib/generators/whoops/templates/assets/stylesheets/sass/_base.scss +0 -18
  77. data/lib/generators/whoops/templates/assets/stylesheets/sass/ie.scss +0 -43
  78. data/lib/generators/whoops/templates/assets/stylesheets/sass/screen.scss +0 -998
  79. data/lib/generators/whoops/templates/assets/stylesheets/screen.css +0 -1082
@@ -1,16 +0,0 @@
1
- require 'rails/generators'
2
-
3
- module Whoops
4
- class AssetsGenerator < Rails::Generators::Base
5
- source_root File.expand_path('../templates', __FILE__)
6
- desc 'Installs assets into your public directory.'
7
-
8
- def install_assets
9
- directory 'assets', 'public/'
10
- end
11
-
12
- def self.source_root
13
- @source_root ||= File.join(File.dirname(__FILE__), 'templates')
14
- end
15
- end
16
- end
@@ -1,49 +0,0 @@
1
- /* line 1, ../../app/stylesheets/ie.scss */
2
- .quick_search {
3
- text-align: center;
4
- padding: 14px 0 0px 0;
5
- }
6
-
7
- /* line 6, ../../app/stylesheets/ie.scss */
8
- .quick_search input[type=text] {
9
- text-align: left;
10
- height: 22px;
11
- width: 88%;
12
- color: #ccc;
13
- padding-left: 2%;
14
- padding-top: 5px;
15
- background: white url(../images/icn_search.png) no-repeat;
16
- background-position: 10px 6px;
17
- }
18
-
19
- /* line 17, ../../app/stylesheets/ie.scss */
20
- .toggleLink {
21
- display: inline;
22
- float: none;
23
- margin-left: 2%;
24
- }
25
-
26
- /* line 23, ../../app/stylesheets/ie.scss */
27
- html ul.tabs li.active, html ul.tabs li.active a:hover {
28
- background: #ccc;
29
- }
30
-
31
- /* line 27, ../../app/stylesheets/ie.scss */
32
- input[type=submit].btn_post_message {
33
- background: url(../images/post_message.png) no-repeat;
34
- }
35
-
36
- /* line 31, ../../app/stylesheets/ie.scss */
37
- fieldset input[type=text] {
38
- margin-left: -10px;
39
- }
40
-
41
- /* line 36, ../../app/stylesheets/ie.scss */
42
- fieldset select {
43
- margin-left: -10px;
44
- }
45
-
46
- /* line 40, ../../app/stylesheets/ie.scss */
47
- fieldset textarea {
48
- margin-left: -10px;
49
- }
@@ -1,18 +0,0 @@
1
- // Imports -------------------------------------------------------------------
2
-
3
- @import "susy";
4
-
5
- // Grid ----------------------------------------------------------------------
6
-
7
- $total-cols : 12;
8
- $col-width : 4em;
9
- $gutter-width : 1em;
10
- $side-gutter-width : $gutter-width;
11
-
12
- $show-grid-backgrounds : true;
13
-
14
- $base-line-height: 27px;
15
- $base-font-size: 16px;
16
-
17
-
18
- $sub-background : #dee4ea;
@@ -1,43 +0,0 @@
1
- .quick_search {
2
- text-align: center;
3
- padding: 14px 0 0px 0;
4
- }
5
-
6
- .quick_search input[type=text] {
7
- text-align: left;
8
- height: 22px;
9
- width: 88%;
10
- color: #ccc;
11
- padding-left: 2%;
12
- padding-top: 5px;
13
- background: #fff url(../images/icn_search.png) no-repeat;
14
- background-position: 10px 6px;
15
- }
16
-
17
- .toggleLink {
18
- display: inline;
19
- float: none;
20
- margin-left: 2%
21
- }
22
-
23
- html ul.tabs li.active, html ul.tabs li.active a:hover {
24
- background: #ccc;
25
- }
26
-
27
- input[type=submit].btn_post_message {
28
- background: url(../images/post_message.png) no-repeat;
29
- }
30
-
31
- fieldset input[type=text] {
32
- margin-left: -10px;
33
- }
34
-
35
-
36
- fieldset select {
37
- margin-left: -10px
38
- }
39
-
40
- fieldset textarea {
41
- margin-left: -10px;
42
- }
43
-
@@ -1,998 +0,0 @@
1
- /* Essentials */
2
- @mixin clearfix {
3
- overflow: hidden;
4
- @include has-layout;
5
- }
6
-
7
- html, div, map, dt, isindex, form, header, aside, section, section, article, footer {
8
- display: block;
9
- }
10
-
11
- html, body {
12
- height: 100%;
13
- margin: 0;
14
- padding: 0;
15
- font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
16
- background: #F8F8F8;
17
- font-size: 12px;
18
- line-height:1.6em;
19
- }
20
-
21
- .clear {
22
- clear: both;
23
- }
24
-
25
- .spacer {
26
- height: 20px;
27
- }
28
-
29
- a:link, a:visited {
30
- color: #77BACE;
31
- text-decoration: none;
32
- }
33
-
34
- a:hover {
35
- text-decoration: underline;
36
- }
37
-
38
-
39
- /* Header */
40
-
41
- header#header {
42
- height: 55px;
43
- width: 100%;
44
- background: #222222 url(../images/_ui/header_bg.png) repeat-x;
45
- }
46
-
47
- header#header h1.site_title, header#header h2.section_title {
48
- float: left;
49
- margin: 0;
50
- font-size: 22px;
51
- display: block;
52
- width: 23%;
53
- height: 55px;
54
- font-weight: normal;
55
- text-align: left;
56
- text-indent: 1.8%;
57
- line-height: 55px;
58
- color: #fff;
59
- text-shadow: 0 -1px 0 #000;
60
- }
61
-
62
- header#header h1.site_title a {
63
- color: #fff;
64
- text-decoration: none;
65
- }
66
-
67
- header#header h2.section_title {
68
- text-align: center;
69
- text-indent: 4.5%;
70
- width: 68%;
71
- background: url(../images/_ui/header_shadow.png) no-repeat left top;
72
- }
73
-
74
- .btn_view_site {
75
- float: left;
76
- width: 9%;
77
- }
78
-
79
- .btn_view_site a {
80
- display: block;
81
- margin-top: 12px;
82
- width: 91px;
83
- height: 27px;
84
- background: url(../images/_ui/btn_view_site.png) no-repeat;
85
- text-align: center;
86
- line-height: 29px;
87
- color: #fff;
88
- text-decoration: none;
89
- text-shadow: 0 -1px 0 #000;}
90
-
91
- .btn_view_site a:hover {
92
- background-position: 0 -27px;
93
- }
94
-
95
- /* Secondary Header Bar */
96
-
97
- section#secondary_bar {
98
- height: 38px;
99
- width: 100%;
100
- background: #F1F1F4 url(../images/_ui/secondary_bar.png) repeat-x;
101
- }
102
-
103
- section#secondary_bar .user {
104
- float: left;
105
- width: 23%;
106
- height: 38px;
107
- }
108
-
109
- .user p {
110
- margin: 0;
111
- padding: 0;
112
- color: #666666;
113
- font-weight: bold;
114
- display: block;
115
- float: left;
116
- width: 85%;
117
- height: 35px;
118
- line-height: 35px;
119
- text-indent: 25px;
120
- text-shadow: 0 1px 0 #fff;
121
- background: url(../images/_ui/icn_user.png) no-repeat center left;
122
- margin-left: 6%;
123
- }
124
-
125
- .user a {
126
- text-decoration: none;
127
- color: #666666}
128
-
129
- .user a:hover {
130
- color: #77BACE;
131
- }
132
-
133
- .user a.logout_user {
134
- float: left;
135
- display: block;
136
- width: 16px;
137
- height: 35px;
138
- text-indent: -5000px;
139
- background: url(../images/_ui/icn_logout.png) center no-repeat;
140
- }
141
-
142
- /* Breadcrumbs */
143
-
144
- section#secondary_bar .breadcrumbs_container {
145
- float: left;
146
- width: 77%;
147
- background: url(../images/_ui/secondary_bar_shadow.png) no-repeat left top;
148
- height: 38px;
149
- }
150
-
151
- article.breadcrumbs {
152
- float: left;
153
- padding: 0 10px;
154
- border: 1px solid #ccc;
155
- -webkit-border-radius: 5px;
156
- -moz-border-radius: 5px;
157
- border-radius: 5px;
158
- -webkit-box-shadow: 0 1px 0 #fff;
159
- -moz-box-shadow: 0 1px 0 #fff;
160
- box-shadow: 0 1px 0 #fff;
161
- height: 23px;
162
- margin: 4px 3%;
163
- }
164
-
165
- .breadcrumbs a {
166
- display: inline-block;
167
- float: left;
168
- height: 24px;
169
- line-height: 23px;
170
- }
171
-
172
- .breadcrumbs a:link, .breadcrumbs a:visited {
173
- color: #44474F;
174
- text-decoration: none;
175
- text-shadow: 0 1px 0 #fff;
176
- font-weight: bold;
177
- }
178
-
179
- .breadcrumbs a:hover {
180
- color: #222222;
181
- }
182
-
183
- .breadcrumbs a.current, .breadcrumbs a:link.current, .breadcrumbs a.current:hover {
184
- color: #9E9E9E;
185
- font-weight: bold;
186
- text-shadow: 0 1px 0 #fff;
187
- text-decoration: none;
188
- }
189
-
190
-
191
- .breadcrumb_divider {
192
- display: inline-block;
193
- width: 12px;
194
- height: 24px;
195
- background: url(../images/_ui/breadcrumb_divider.png) no-repeat;
196
- float: left;
197
- margin: 0 5px;
198
- }
199
-
200
- /* Sidebar */
201
-
202
- aside#sidebar {
203
- width: 23%;
204
- background: #E0E0E3 url(../images/_ui/sidebar.png) repeat;
205
- float: left;
206
- min-height: 500px;
207
- margin-top: -4px;
208
- }
209
-
210
- /* Search */
211
-
212
- .quick_search {
213
- text-align: center;
214
- padding: 14px 0 10px 0;
215
- }
216
-
217
- .quick_search input[type=text] {
218
- -webkit-border-radius: 20px;
219
- -moz-border-radius: 20px;
220
- border-radius: 20px;
221
- border: 1px solid #bbb;
222
- height: 26px;
223
- width: 90%;
224
- color: #ccc;
225
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
226
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
227
- box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
228
- text-indent: 30px;
229
- background: #fff url(../images/_ui/icn_search.png) no-repeat;
230
- background-position: 10px 6px;
231
- }
232
-
233
- .quick_search input[type=text]:focus {
234
- outline: none;
235
- color: #666666;
236
- border: 1px solid #77BACE;
237
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
238
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
239
- box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
240
- }
241
-
242
- /* Sidebar Menu */
243
-
244
- .toggleLink {
245
- color: #999999;
246
- font-size: 10px;
247
- text-decoration: none;
248
- display: block;
249
- float: right;
250
- margin-right: 2%
251
- }
252
-
253
- #sidebar .toggleLink:hover {
254
- color: #77BACE;
255
- text-decoration: none;
256
- }
257
-
258
- #sidebar {
259
- h3 {
260
- color: #1F1F20;
261
- text-transform: uppercase;
262
- text-shadow: 0 1px 0 #fff;
263
- font-size: 13px;
264
- margin: 10px 0 10px 6%;
265
- display: block;
266
- width: 90%;
267
- }
268
- .pagination {
269
- display:block;
270
- font-size:13px;
271
- margin:0 0 2px 12%;
272
- a, em {
273
- float:left;
274
- display:block;
275
- padding: 1px 6px;
276
- }
277
- a:hover, em {
278
- background:white;
279
- }
280
- .previous_page, .next_page {
281
- display:none;
282
- }
283
- }
284
- hr {
285
- border: none;
286
- outline: none;
287
- background: url(../images/_ui/sidebar_divider.png) repeat-x;
288
- display: block;
289
- width: 100%;
290
- height: 2px;
291
- }
292
- ul {
293
- clear: both;
294
- margin: 0; padding: 0;
295
-
296
- li {
297
- list-style: square inside;
298
- margin: 0 0 0 6%; padding: 0 0 0 9px;
299
-
300
- a {
301
- color: #333;
302
- padding-left: 2px;
303
- text-decoration: none;
304
- display: inline-block;
305
- height: 17px;
306
- line-height: 17px;
307
- margin: 2px 0;
308
-
309
- &:visited {
310
- color:#2e3192;
311
- }
312
- }
313
- }
314
- }
315
-
316
- form {
317
- li {
318
- list-style:none;
319
- padding:0 15px 0 0;
320
- }
321
-
322
- textarea {
323
- height:100px;
324
- width:100%;
325
- }
326
- }
327
- }
328
-
329
- #sidebar li a:hover {
330
- color: #444444;
331
- }
332
-
333
- /* Sidebar Icons */
334
-
335
- #sidebar li.icn_new_article a {
336
- background: url(../images/_ui/icn_new_article.png) no-repeat center left;
337
- }
338
- #sidebar li.icn_edit_article a {
339
- background: url(../images/_ui/icn_edit_article.png) no-repeat center left;
340
- }
341
- #sidebar li.icn_categories a {
342
- background: url(../images/_ui/icn_categories.png) no-repeat center left;
343
- }
344
- #sidebar li.icn_tags a {
345
- background: url(../images/_ui/icn_tags.png) no-repeat center left;
346
- }
347
- #sidebar li.icn_add_user a {
348
- background: url(../images/_ui/icn_add_user.png) no-repeat center left;
349
- }
350
- #sidebar li.icn_view_users a {
351
- background: url(../images/_ui/icn_view_users.png) no-repeat center left;
352
- }
353
- #sidebar li.icn_profile a {
354
- background: url(../images/_ui/icn_profile.png) no-repeat center left;
355
- }
356
- #sidebar li.icn_folder a {
357
- background: url(../images/_ui/icn_folder.png) no-repeat center left;
358
- }
359
- #sidebar li.icn_photo a {
360
- background: url(../images/_ui/icn_photo.png) no-repeat center left;
361
- }
362
- #sidebar li.icn_audio a {
363
- background: url(../images/_ui/icn_audio.png) no-repeat center left;
364
- }
365
- #sidebar li.icn_video a {
366
- background: url(../images/_ui/icn_video.png) no-repeat center left;
367
- }
368
- #sidebar li.icn_settings a {
369
- background: url(../images/_ui/icn_settings.png) no-repeat center left;
370
- }
371
- #sidebar li.icn_security a {
372
- background: url(../images/_ui/icn_security.png) no-repeat center left;
373
- }
374
- #sidebar li.icn_jump_back a {
375
- background: url(../images/_ui/icn_jump_back.png) no-repeat center left;
376
- }
377
-
378
- #sidebar p {
379
- color: #666666;
380
- padding-left: 6%;
381
- text-shadow: 0 1px 0 #fff;
382
- margin: 10px 0 0 0;}
383
-
384
- #sidebar a {
385
- color: #666666;
386
- text-decoration: none;
387
-
388
- &:hover {
389
- text-decoration: underline;
390
- }
391
- }
392
-
393
- #sidebar footer {
394
- margin-top: 20%;
395
- }
396
-
397
-
398
- /* Main Content */
399
-
400
-
401
- section#main {
402
- width: 77%;
403
- min-height: 500px;
404
- background: url(../images/_ui/sidebar_shadow.png) repeat-y left top;
405
- float: left;
406
- margin-top: -2px;
407
- }
408
-
409
- #main h3 {
410
- color: #1F1F20;
411
- text-shadow: 0 1px 0 #fff;
412
- font-size: 13px;
413
- margin: 8px 20px;
414
- }
415
-
416
- /* Modules */
417
-
418
- .module {
419
- border: 1px solid #ddd;
420
- width: 100%;
421
- margin: 20px 3% 0 3%;
422
- margin-top: 20px;
423
- -webkit-border-radius: 5px;
424
- -moz-border-radius: 5px;
425
- border-radius: 5px;
426
- background: #ffffff;
427
- }
428
-
429
- #main .module header h3 {
430
- display: block;
431
- width: 90%;
432
- float: left;
433
- }
434
-
435
- .module header {
436
- height: 38px;
437
- width: 100%;
438
- background: #F1F1F4 url(../images/_ui/secondary_bar.png) repeat-x;
439
- -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
440
- -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
441
- border-top-left-radius: 5px; border-top-right-radius: 5px;
442
- }
443
-
444
- .module footer {
445
- height: 32px;
446
- width: 100%;
447
- border-top: 1px solid #9CA1B0;
448
- background: #F1F1F4 url(../images/_ui/module_footer_bg.png) repeat-x;
449
- -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
450
- -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;
451
- -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
452
- }
453
-
454
- .module_content {
455
- margin: 10px 20px;
456
- color: #666;}
457
-
458
- /* Module Widths */
459
-
460
- .width_full {
461
- width: 95%;
462
- }
463
-
464
- .width_half {
465
- width: 46%;
466
- margin-right: 0;
467
- float: left;
468
- }
469
-
470
- .width_quarter {
471
- width: 26%;
472
- margin-right: 0;
473
- float: left;
474
- }
475
-
476
- .width_3_quarter {
477
- width: 66%;
478
- margin-right: 0;
479
- float: left;
480
- }
481
-
482
- /* Stats Module */
483
-
484
- .stats_graph {
485
- width: 64%;
486
- float: left;
487
- }
488
-
489
- .stats_overview {
490
- background: #F6F6F6;
491
- border: 1px solid #ccc;
492
- float: right;
493
- width: 26%;
494
- -webkit-border-radius: 5px;
495
- -moz-border-radius: 5px;
496
- border-radius: 5px;
497
- }
498
-
499
- .overview_today, .overview_previous {
500
- width: 50%;
501
- float: left;}
502
-
503
- .stats_overview p {
504
- margin: 0; padding: 0;
505
- text-align: center;
506
- text-transform: uppercase;
507
- text-shadow: 0 1px 0 #fff;
508
- }
509
-
510
- .stats_overview p.overview_day {
511
- font-size: 12px;
512
- font-weight: bold;
513
- margin: 6px 0;
514
- }
515
-
516
- .stats_overview p.overview_count {
517
- font-size: 26px;
518
- font-weight: bold;
519
- color: #333333;}
520
-
521
- .stats_overview p.overview_type {
522
- font-size: 10px;
523
- color: #999999;
524
- margin-bottom: 8px}
525
-
526
- /* Content Manager */
527
- .selected {
528
- font-weight:bold;
529
- background:white;
530
- }
531
-
532
- table {
533
- width: 100%;
534
- margin: -5px 0 0 0;
535
- border-spacing:0;
536
-
537
- td{
538
- margin: 0;
539
- padding: 15px 10px;
540
- border-bottom: 1px dotted #ccc;
541
- }
542
-
543
- thead tr {
544
- height: 34px;
545
- background: url(../images/_ui/table_sorter_header.png) repeat-x;
546
- text-align: left;
547
- text-indent: 10px;
548
- cursor: pointer;
549
- }
550
-
551
- .tablesorter input[type=image] {
552
- margin-right: 10px;
553
- }
554
- }
555
-
556
- ul.tabs {
557
- margin: 3px 10px 0 0;
558
- padding: 0;
559
- float: right;
560
- list-style: none;
561
- height: 24px; /*--Set height of tabs--*/
562
- -webkit-border-radius: 5px;
563
- -moz-border-radius: 5px;
564
- border-radius: 5px;
565
- -webkit-box-shadow: 0 1px 0 #fff;
566
- -moz-box-shadow: 0 1px 0 #fff;
567
- box-shadow: 0 1px 0 #fff;
568
- border: 1px solid #ccc;
569
- font-weight: bold;
570
- text-shadow: 0 1px 0 #fff;
571
- }
572
- ul.tabs li {
573
- float: left;
574
- margin: 0;
575
- padding: 0;
576
- line-height: 24px;
577
- }
578
- ul.tabs li a {
579
- text-decoration: none;
580
- color: #999;
581
- display: block;
582
- padding: 0 10px;
583
- height: 24px;
584
- }
585
-
586
- ul.tabs li a:hover {
587
- color: #44474F;
588
- }
589
-
590
- html ul.tabs li.active a {
591
- color: #44474F;
592
- }
593
-
594
- html ul.tabs li.active, html ul.tabs li.active a:hover {
595
- background: #F1F2F4;
596
- -webkit-box-shadow: inset 0 2px 3px #818181;
597
- -moz-box-shadow: inset 0 2px 3px #818181;
598
- box-shadow: inset 0 2px 3px #818181;
599
- }
600
-
601
- html ul.tabs li:first-child, html ul.tabs li:first-child a {
602
- -webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
603
- -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px;
604
- border-top-left-radius: 5px; border-bottom-left-radius: 5px;
605
- }
606
-
607
- html ul.tabs li:last-child, html ul.tabs li:last-child a {
608
- -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px;
609
- -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px;
610
- border-top-right-radius: 5px; border-bottom-right-radius: 5px;
611
- }
612
-
613
- #main .module header h3.tabs_involved {
614
- display: block;
615
- width: 60%;
616
- float: left;
617
- }
618
-
619
- /* Messages */
620
-
621
- .message {
622
- border-bottom: 1px dotted #cccccc;
623
- }
624
-
625
- input[type=submit] {
626
- background: #D0D1D4 url(../images/_ui/btn_submit.png) repeat-x;
627
- border: 1px solid #A8A9A8;
628
- -webkit-box-shadow: 0 1px 0 #fff;
629
- -moz-box-shadow: 0 1px 0 #fff;
630
- box-shadow: 0 1px 0 #fff;
631
- font-weight: bold;
632
- height: 22px;
633
- -webkit-border-radius: 5px;
634
- -moz-border-radius: 5px;
635
- border-radius: 5px;
636
- padding: 0 10px;
637
- color: #666;
638
- text-shadow: 0 1px 0 #fff;
639
- cursor: pointer;
640
- }
641
-
642
- input[type=submit]:hover {
643
- color: #333333;
644
- }
645
-
646
- input[type=submit].alt_btn {
647
- background: #D0D1D4 url(../images/_ui/btn_submit_2.png) repeat-x;
648
- border: 1px solid#30B0C8;
649
- -webkit-box-shadow: 0 1px 0 #fff;
650
- -moz-box-shadow: 0 1px 0 #fff;
651
- box-shadow: 0 1px 0 #fff;
652
- font-weight: bold;
653
- height: 22px;
654
- -webkit-border-radius: 5px;
655
- -moz-border-radius: 5px;
656
- border-radius: 5px;
657
- padding: 0 10px;
658
- color: #003E49;
659
- text-shadow: 0 1px 0 #6CDCF9;
660
- cursor: pointer;
661
- }
662
-
663
- input[type=submit].alt_btn:hover {
664
- color: #001217;
665
- }
666
-
667
- input[type=submit].btn_post_message {
668
- background: #D0D1D4 url(../images/_ui/post_message.png) no-repeat;
669
- display: block;
670
- width: 37px;
671
- border: none;
672
- height: 24px;
673
- cursor: pointer;
674
- text-indent: -5000px;
675
- }
676
-
677
- input[type=submit].btn_post_message:hover {
678
- background-position: 0 -24px;
679
- }
680
-
681
- .post_message {
682
- text-align: left;
683
- padding: 5px 0;
684
- }
685
-
686
- .post_message input[type=text] {
687
- -webkit-border-radius: 5px;
688
- -moz-border-radius: 5px;
689
- border-radius: 5px;
690
- border: 1px solid #bbb;
691
- height: 20px;
692
- width: 70%;
693
- color: #ccc;
694
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
695
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
696
- box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
697
- text-indent: 10px;
698
- background-position: 10px 6px;
699
- float: left;
700
- margin: 0 3.5%;
701
- }
702
-
703
- .post_message input[type=text]:focus {
704
- outline: none;
705
- border: 1px solid #77BACE;
706
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
707
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
708
- box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
709
- color: #666666;
710
- }
711
-
712
- .post_message input[type=image] {
713
- float: left;
714
- }
715
-
716
- .message_list {
717
- height: 250px;
718
- overflow-x:hidden;
719
- overflow-y: scroll;
720
- }
721
-
722
- /* New/Edit Article Module */
723
-
724
- fieldset {
725
- -webkit-border-radius: 5px;
726
- -moz-border-radius: 5px;
727
- border-radius: 5px;
728
- background: #F6F6F6;
729
- border: 1px solid #ccc;
730
- padding: 1% 0%;
731
- margin: 10px 0;
732
- }
733
-
734
- fieldset label {
735
- display: block;
736
- float: left;
737
- width: 200px;
738
- height: 25px;
739
- line-height: 25px;
740
- text-shadow: 0 1px 0 #fff;
741
- font-weight: bold;
742
- padding-left: 10px;
743
- margin: -5px 0 5px 0;
744
- text-transform: uppercase;
745
- }
746
-
747
- fieldset input[type=text] {
748
- -webkit-border-radius: 5px;
749
- -moz-border-radius: 5px;
750
- border-radius: 5px;
751
- border: 1px solid #BBBBBB;
752
- height: 20px;
753
- color: #666666;
754
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
755
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
756
- box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
757
- padding-left: 10px;
758
- background-position: 10px 6px;
759
- margin: 0;
760
- display: block;
761
- float: left;
762
- width: 96%;
763
- margin: 0 10px;
764
- }
765
-
766
- fieldset input[type=text]:focus {
767
- outline: none;
768
- border: 1px solid #77BACE;
769
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
770
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
771
- box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
772
- }
773
-
774
- fieldset select {
775
- width: 96%;
776
- margin: 0 10px;
777
- border: 1px solid #bbb;
778
- height: 20px;
779
- color: #666666;
780
- }
781
-
782
- fieldset textarea {
783
- -webkit-border-radius: 5px;
784
- -moz-border-radius: 5px;
785
- border-radius: 5px;
786
- border: 1px solid #BBBBBB;
787
- color: #666666;
788
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
789
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
790
- box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
791
- padding-left: 10px;
792
- background-position: 10px 6px;
793
- margin: 0 0.5%;
794
- display: block;
795
- float: left;
796
- width: 96%;
797
- margin: 0 10px;
798
- }
799
-
800
- fieldset textarea:focus {
801
- outline: none;
802
- border: 1px solid #77BACE;
803
- -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
804
- -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
805
- box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
806
- }
807
-
808
- .submit_link {
809
- float: right;
810
- margin-right: 3%;
811
- padding: 5px 0;
812
- }
813
-
814
- .submit_link select {
815
- width: 150px;
816
- border: 1px solid #bbb;
817
- height: 20px;
818
- color: #666666;
819
- }
820
-
821
- #main .module_content h1 {
822
- color: #333333;
823
- text-transform: none;
824
- text-shadow: 0 1px 0 #fff;
825
- font-size: 22px;
826
- margin: 8px 0px;
827
- }
828
-
829
- #main .module_content h2 {
830
- color: #444444;
831
- text-transform: none;
832
- text-shadow: 0 1px 0 #fff;
833
- font-size: 18px;
834
- margin: 8px 0px;
835
- }
836
-
837
- #main .module_content h3 {
838
- color: #666666;
839
- text-transform: uppercase;
840
- text-shadow: 0 1px 0 #fff;
841
- font-size: 13px;
842
- margin: 8px 0px;
843
- }
844
-
845
- #main .module_content h4 {
846
- color: #666666;
847
- text-transform: none;
848
- text-shadow: 0 1px 0 #fff;
849
- font-size: 13px;
850
- margin: 8px 0px;
851
- }
852
-
853
- #main .module_content li {
854
- line-height: 150%;
855
- }
856
-
857
- /* Alerts */
858
-
859
- #main h4.alert_info {
860
- display: block;
861
- width: 95%;
862
- margin: 20px 3% 0 3%;
863
- margin-top: 20px;
864
- -webkit-border-radius: 5px;
865
- -moz-border-radius: 5px;
866
- border-radius: 5px;
867
- background: #B5E5EF url(../images/_ui/icn_alert_info.png) no-repeat;
868
- background-position: 10px 10px;
869
- border: 1px solid #77BACE;
870
- color: #082B33;
871
- padding: 10px 0;
872
- text-indent: 40px;
873
- font-size: 14px;
874
- font-weight:normal;
875
-
876
- a {
877
- color:#082B33;
878
- text-decoration:underline;
879
- }
880
- }
881
-
882
- #main h4.alert_warning {
883
- display: block;
884
- width: 95%;
885
- margin: 20px 3% 0 3%;
886
- margin-top: 20px;
887
- -webkit-border-radius: 5px;
888
- -moz-border-radius: 5px;
889
- border-radius: 5px;
890
- background: #F5F3BA url(../images/_ui/icn_alert_warning.png) no-repeat;
891
- background-position: 10px 10px;
892
- border: 1px solid #C7A20D;
893
- color: #796616;
894
- padding: 10px 0;
895
- text-indent: 40px;
896
- font-size: 14px;}
897
-
898
- #main h4.alert_error {
899
- display: block;
900
- width: 95%;
901
- margin: 20px 3% 0 3%;
902
- margin-top: 20px;
903
- -webkit-border-radius: 5px;
904
- -moz-border-radius: 5px;
905
- border-radius: 5px;
906
- background: #F3D9D9 url(../images/_ui/icn_alert_error.png) no-repeat;
907
- background-position: 10px 10px;
908
- border: 1px solid #D20009;
909
- color: #7B040F;
910
- padding: 10px 0;
911
- text-indent: 40px;
912
- font-size: 14px;}
913
-
914
- #main h4.alert_success {
915
- display: block;
916
- width: 95%;
917
- margin: 20px 3% 0 3%;
918
- margin-top: 20px;
919
- -webkit-border-radius: 5px;
920
- -moz-border-radius: 5px;
921
- border-radius: 5px;
922
- background: #E2F6C5 url(../images/_ui/icn_alert_success.png) no-repeat;
923
- background-position: 10px 10px;
924
- border: 1px solid #79C20D;
925
- color: #32510F;
926
- padding: 10px 0;
927
- text-indent: 40px;
928
- font-size: 14px;}
929
-
930
-
931
- #main table {
932
- p {
933
- margin-top:0;
934
- }
935
-
936
- td.label {
937
- width:120px;
938
- font-weight:bold;
939
- text-align:right;
940
- vertical-align:top;
941
- }
942
-
943
- td.value {
944
- white-space:nowrap;
945
- overflow-x:auto;
946
- }
947
-
948
- ul {
949
- list-style:none;
950
- margin:0;
951
- padding:0;
952
- li {
953
- margin:0;
954
- padding:0;
955
-
956
- ul {
957
- margin-left:10px;
958
- }
959
- }
960
- }
961
-
962
- &.event-group-list {
963
- td {
964
- display:table-cell;
965
- padding:0px;
966
- }
967
- tbody tr:hover {
968
- background: #ffe;
969
- }
970
- td a {
971
- text-decoration:none;
972
- display:block;
973
- padding: 15px 10px;
974
- height:100%;
975
- }
976
- }
977
- }
978
-
979
- // Info
980
- .info-revealer {
981
- cursor: pointer;
982
- }
983
-
984
- #sidebar .info {
985
- display:none;
986
-
987
- a {
988
- text-decoration:underline;
989
- }
990
- }
991
-
992
- #event-details {
993
- overflow-x:auto;
994
- }
995
-
996
- span.label {
997
- color:blue;
998
- }