admin_data 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/lib/admin_data.rb +1 -1
  2. data/lib/admin_data/version.rb +1 -1
  3. data/lib/public/images/add.png +0 -0
  4. data/lib/public/images/no.png +0 -0
  5. data/lib/public/images/site.png +0 -0
  6. data/lib/public/javascripts/advance_search/act_on_result.js +45 -0
  7. data/lib/public/javascripts/advance_search/advance_search.js +83 -0
  8. data/lib/public/javascripts/advance_search/advance_search_structure.js +79 -0
  9. data/lib/public/javascripts/advance_search/ajaxify_advance_search.js +28 -0
  10. data/lib/public/javascripts/advance_search/build_first_row.js +8 -0
  11. data/lib/public/javascripts/advance_search/event_bindings.js +76 -0
  12. data/lib/public/javascripts/advance_search/global_ajax_setting.js +10 -0
  13. data/lib/public/javascripts/advance_search/trigger_submit_on_domready.js +6 -0
  14. data/lib/public/javascripts/misc/drop_down_change.js +8 -0
  15. data/lib/public/javascripts/misc/js_util.js +58 -0
  16. data/lib/public/javascripts/misc/quick_search_input_focus.js +6 -0
  17. data/lib/public/javascripts/test/act_on_result.js +120 -0
  18. data/lib/public/javascripts/test/advance_search.js +80 -0
  19. data/lib/public/javascripts/test/ajaxify_advance_search.js +29 -0
  20. data/lib/public/javascripts/test/build_first_row.js +10 -0
  21. data/lib/public/javascripts/test/event_bindings.js +100 -0
  22. data/lib/public/javascripts/vendor/jack.js +903 -0
  23. data/lib/public/javascripts/vendor/jquery-1.4.2.js +6240 -0
  24. data/lib/public/javascripts/vendor/jquery-ui-1.7.2.custom.min.js +298 -0
  25. data/lib/public/javascripts/vendor/jquery.ba-isjquery.js +21 -0
  26. data/lib/public/javascripts/vendor/jquery_form.js +814 -0
  27. data/lib/public/javascripts/vendor/log.js +9 -0
  28. data/lib/public/javascripts/vendor/qunit.js +1043 -0
  29. data/lib/public/javascripts/vendor/rails.js +132 -0
  30. data/lib/public/stylesheets/base.css +1109 -0
  31. data/lib/public/stylesheets/vendor/jquery-ui-1.7.2.custom.css +406 -0
  32. metadata +32 -3
@@ -0,0 +1,132 @@
1
+ jQuery(function ($) {
2
+ var csrf_token = $('meta[name=csrf-token]').attr('content'),
3
+ csrf_param = $('meta[name=csrf-param]').attr('content');
4
+
5
+ $.fn.extend({
6
+ /**
7
+ * Triggers a custom event on an element and returns the event result
8
+ * this is used to get around not being able to ensure callbacks are placed
9
+ * at the end of the chain.
10
+ *
11
+ * TODO: deprecate with jQuery 1.4.2 release, in favor of subscribing to our
12
+ * own events and placing ourselves at the end of the chain.
13
+ */
14
+ triggerAndReturn: function (name, data) {
15
+ var event = new $.Event(name);
16
+ this.trigger(event, data);
17
+
18
+ return event.result !== false;
19
+ },
20
+
21
+ /**
22
+ * Handles execution of remote calls firing overridable events along the way
23
+ */
24
+ callRemote: function () {
25
+ var el = this,
26
+ method = el.attr('method') || el.attr('data-method') || 'GET',
27
+ url = el.attr('action') || el.attr('href'),
28
+ dataType = el.attr('data-type') || 'script';
29
+
30
+ if (url === undefined) {
31
+ throw "No URL specified for remote call (action or href must be present).";
32
+ } else {
33
+ if (el.triggerAndReturn('ajax:before')) {
34
+ var data = el.is('form') ? el.serializeArray() : [];
35
+ $.ajax({
36
+ url: url,
37
+ data: data,
38
+ dataType: dataType,
39
+ type: method.toUpperCase(),
40
+ beforeSend: function (xhr) {
41
+ el.trigger('ajax:loading', xhr);
42
+ },
43
+ success: function (data, status, xhr) {
44
+ el.trigger('ajax:success', [data, status, xhr]);
45
+ },
46
+ complete: function (xhr) {
47
+ el.trigger('ajax:complete', xhr);
48
+ },
49
+ error: function (xhr, status, error) {
50
+ el.trigger('ajax:failure', [xhr, status, error]);
51
+ }
52
+ });
53
+ }
54
+
55
+ el.trigger('ajax:after');
56
+ }
57
+ }
58
+ });
59
+
60
+ /**
61
+ * confirmation handler
62
+ */
63
+ $('a[data-confirm],input[data-confirm]').live('click', function () {
64
+ var el = $(this);
65
+ if (el.triggerAndReturn('confirm')) {
66
+ if (!confirm(el.attr('data-confirm'))) {
67
+ return false;
68
+ }
69
+ }
70
+ });
71
+
72
+
73
+ /**
74
+ * remote handlers
75
+ */
76
+ $('form[data-remote]').live('submit', function (e) {
77
+ $(this).callRemote();
78
+ e.preventDefault();
79
+ });
80
+
81
+ $('a[data-remote],input[data-remote]').live('click', function (e) {
82
+ $(this).callRemote();
83
+ e.preventDefault();
84
+ });
85
+
86
+ $('a[data-method]:not([data-remote])').live('click', function (e){
87
+ var link = $(this),
88
+ href = link.attr('href'),
89
+ method = link.attr('data-method'),
90
+ form = $('<form method="post" action="'+href+'"></form>'),
91
+ metadata_input = '<input name="_method" value="'+method+'" type="hidden" />';
92
+
93
+ if (csrf_param != null && csrf_token != null) {
94
+ metadata_input += '<input name="'+csrf_param+'" value="'+csrf_token+'" type="hidden" />';
95
+ }
96
+
97
+ form.hide()
98
+ .append(metadata_input)
99
+ .appendTo('body');
100
+
101
+ e.preventDefault();
102
+ form.submit();
103
+ });
104
+
105
+ /**
106
+ * disable-with handlers
107
+ */
108
+ var disable_with_input_selector = 'input[data-disable-with]';
109
+ var disable_with_form_remote_selector = 'form[data-remote]:has(' + disable_with_input_selector + ')';
110
+ var disable_with_form_not_remote_selector = 'form:not([data-remote]):has(' + disable_with_input_selector + ')';
111
+
112
+ var disable_with_input_function = function () {
113
+ $(this).find(disable_with_input_selector).each(function () {
114
+ var input = $(this);
115
+ input.data('enable-with', input.val())
116
+ .attr('value', input.attr('data-disable-with'))
117
+ .attr('disabled', 'disabled');
118
+ });
119
+ };
120
+
121
+ $(disable_with_form_remote_selector).live('ajax:before', disable_with_input_function);
122
+ $(disable_with_form_not_remote_selector).live('submit', disable_with_input_function);
123
+
124
+ $(disable_with_form_remote_selector).live('ajax:complete', function () {
125
+ $(this).find(disable_with_input_selector).each(function () {
126
+ var input = $(this);
127
+ input.removeAttr('disabled')
128
+ .val(input.data('enable-with'));
129
+ });
130
+ });
131
+
132
+ });
@@ -0,0 +1,1109 @@
1
+ * {
2
+ margin: 0;
3
+ padding:0
4
+ }
5
+
6
+ .clear { clear: both; height: 0; }
7
+
8
+ h1 { margin: 15px 0; font-size: 22px; font-weight: normal; }
9
+ h2 { font-size: 22px; margin: 15px 0; font-weight: normal;}
10
+ h3 { font-size: 18px; margin: 10px 0; font-weight: normal;}
11
+ h4 { font-size: 16px; margin: 10px 0; font-weight: normal;}
12
+ hr {height: 1px; border: 0; }
13
+ p { margin: 15px 0;}
14
+ a img { border: none; }
15
+
16
+ body {
17
+ font-size: 15px;
18
+ font-family: sans-serif;
19
+ background: #fff;
20
+ }
21
+
22
+ #container {
23
+ min-width: 940px;
24
+ margin: 0 10px;
25
+ background: #B3D8EF;
26
+ background: #0f61a1;
27
+ background: #e4e4e4;
28
+ }
29
+
30
+ #header {
31
+ padding: 0 20px;
32
+ }
33
+ #wrapper {
34
+ padding: 0 20px;
35
+ margin: 0;
36
+ }
37
+
38
+ #header {
39
+ position: relative;
40
+ padding-top: 0px;
41
+ margin-top: 0px;
42
+ margin-bottom: 15px;
43
+ margin:0;
44
+ background: #ddd;
45
+ float: left;
46
+ width: 100%;
47
+ font-size: 20px;
48
+ background-color: #D5E9F6;
49
+ }
50
+
51
+ #header h1 {
52
+ margin: 0;
53
+ padding: 10px 0;
54
+ font-size: 40px;
55
+ float: left;
56
+ padding: 15px 45px 15px 10px;
57
+ font-style: normal;
58
+ font-weight: bold;
59
+ text-transform: normal;
60
+ letter-spacing: 1px;
61
+ line-height: 1.2em;
62
+ }
63
+
64
+ #header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
65
+ text-decoration: none;
66
+ font-family: "Helvetica Neue Light","HelveticaNeue-Light","Helvetica Neue",Calibri,Helvetica,Arial;
67
+ color: #000;
68
+ }
69
+
70
+
71
+ #main {
72
+ width: 70%;
73
+ float: left;
74
+ background: #fff;
75
+ padding: 0 20px;
76
+ }
77
+
78
+ .actions-bar {
79
+ padding: 10px 1px;
80
+ }
81
+
82
+ .actions-bar .actions {
83
+ float: left;
84
+ }
85
+
86
+
87
+ .actions-bar .pagination {
88
+ float: right;
89
+ padding: 1px 0;
90
+ }
91
+
92
+ #sidebar {
93
+ width: 25%;
94
+ float: right;
95
+ }
96
+
97
+ #sidebar h3 {
98
+ padding: 10px 15px;
99
+ margin: 0;
100
+ font-size: 13px;
101
+ }
102
+
103
+ #sidebar .block {
104
+ margin-bottom: 20px;
105
+ padding-bottom: 10px;
106
+ }
107
+
108
+ #sidebar .block .content {
109
+ padding: 0 15px;
110
+ }
111
+
112
+ #sidebar ul.navigation li a:link, #sidebar ul.navigation li a:visited {
113
+ display: block;
114
+ padding: 10px 15px;
115
+ }
116
+
117
+ #sidebar .block .sidebar-block, #sidebar .notice {
118
+ padding:10px;
119
+ }
120
+
121
+ #wrapper {
122
+ padding-top: 10px;
123
+ }
124
+
125
+ #main .block {
126
+ margin-bottom: 20px;
127
+ padding-top: 1px;
128
+ }
129
+
130
+ #main .block .content .inner {
131
+ padding: 0 15px 15px;
132
+ }
133
+
134
+ #main .main p.first {
135
+ margin-top: 0;
136
+ }
137
+
138
+ #user-navigation {
139
+ position: absolute;
140
+ top: 0px;
141
+ right: 20px;
142
+ }
143
+
144
+ #main-navigation {
145
+ width: 100%;
146
+ }
147
+
148
+ #user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation {
149
+ margin: 0;
150
+ padding: 0;
151
+ list-style-type: none;
152
+ }
153
+
154
+ #user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li {
155
+ float: left;
156
+ }
157
+
158
+ #main-navigation ul li {
159
+ margin-right: 5px;
160
+ }
161
+
162
+ #user-navigation ul li {
163
+ padding: 5px 10px;
164
+ }
165
+
166
+ #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
167
+ .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
168
+ #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
169
+ text-decoration: none;
170
+ }
171
+
172
+ #main-navigation ul li a {
173
+ font-size: 15px;
174
+ display: block;
175
+ padding: 8px 15px;
176
+ }
177
+
178
+ .secondary-navigation {
179
+ font-size: 13px;
180
+ border-bottom-width: 10px;
181
+ border-bottom-style: solid;
182
+ }
183
+
184
+ .secondary-navigation ul li a {
185
+ display: block;
186
+ padding: 10px 15px;
187
+ }
188
+
189
+ #footer {
190
+ padding-bottom: 20px;
191
+ }
192
+
193
+ /* pagination */
194
+
195
+ .pagination a, .pagination span, .pagination em {
196
+ padding: 2px 5px;
197
+ margin-right: 5px;
198
+ display: block;
199
+ float: left;
200
+ border-style: solid;
201
+ border-width: 1px;
202
+ }
203
+
204
+ .pagination em {
205
+ font-weight: bold;
206
+ }
207
+
208
+ .pagination a {
209
+ text-decoration: none;
210
+ }
211
+
212
+ /* tables */
213
+ .table {
214
+ width: 100%;
215
+ border-collapse: collapse;
216
+ margin-bottom: 15px;
217
+ }
218
+
219
+ .table th {
220
+ padding: 10px;
221
+ font-weight: bold;
222
+ text-align: left;
223
+ }
224
+
225
+ .table th.first {
226
+ width: 30px;
227
+ }
228
+
229
+ .table th.last {
230
+ width: 200px;
231
+ }
232
+
233
+ .table .checkbox {
234
+ margin-left: 10px;
235
+ }
236
+
237
+ .table td {
238
+ padding: 10px;
239
+ }
240
+
241
+ .table td.last {
242
+ text-align: right;
243
+ }
244
+
245
+ /* forms */
246
+
247
+ input.checkbox {
248
+ margin: 0;
249
+ padding: 0;
250
+ }
251
+
252
+ .form .group {
253
+ margin-bottom: 15px;
254
+ }
255
+
256
+ .form div.left {
257
+ width: 20%;
258
+ float: left;
259
+ }
260
+
261
+ .form div.right {
262
+ width: 75%;
263
+ float: right;
264
+ }
265
+
266
+ .form .columns .column {
267
+ width: 48%;
268
+ }
269
+
270
+ .form .columns .left {
271
+ float: left;
272
+ }
273
+
274
+ .form .columns .right {
275
+ float: right;
276
+ }
277
+
278
+ .form label.label, .form input.text_field, .form textarea.text_area {
279
+ font-size: 1.2em;
280
+ padding: 1px 0;
281
+ margin: 0;
282
+ }
283
+
284
+ .form label.right {
285
+ text-align: right;
286
+ }
287
+
288
+ .form input.checkbox, .form input.radio {
289
+ margin-right: 5px;
290
+ }
291
+
292
+ .form label.checkbox, .form label.radio {
293
+ line-height: 1.5em;
294
+ }
295
+
296
+ .form label.label {
297
+ display: block;
298
+ padding-bottom: 2px;
299
+ font-weight: bold;
300
+ }
301
+
302
+ .form div.fieldWithErrors label.label {
303
+ display: inline;
304
+ }
305
+
306
+ .form .fieldWithErrors .error {
307
+ color: red;
308
+ }
309
+
310
+ .form input.text_field, .form textarea.text_area {
311
+ width: 100%;
312
+ border-width: 1px;
313
+ border-style: solid;
314
+ }
315
+
316
+ /* lists */
317
+
318
+ ul.list {
319
+ margin: 0;
320
+ padding: 0;
321
+ list-style-type: none;
322
+ }
323
+
324
+ ul.list li {
325
+ clear: left;
326
+ padding-bottom: 5px;
327
+ }
328
+
329
+ ul.list li .left {
330
+ float: left;
331
+ }
332
+
333
+ ul.list li .left .avatar {
334
+ width: 50px;
335
+ height: 50px;
336
+ }
337
+
338
+ ul.list li .item {
339
+ margin-left: 80px;
340
+ }
341
+
342
+ ul.list li .item .avatar {
343
+ float: left;
344
+ margin: 0 5px 5px 0;
345
+ width: 30px;
346
+ height: 30px;
347
+ }
348
+
349
+ /* box */
350
+
351
+ #box {
352
+ width: 500px;
353
+ margin: 50px auto;
354
+ }
355
+
356
+ #box .block {
357
+ margin-bottom: 20px;
358
+ }
359
+
360
+ #box .block h2 {
361
+ padding: 10px 15px;
362
+ margin: 0;
363
+ }
364
+
365
+ #box .block .content {
366
+ padding: 10px 20px;
367
+ }
368
+
369
+
370
+ /*
371
+
372
+ Drastic Dark
373
+ by Juan Maria Martinez Arce
374
+ juan[at]insignia4u.com
375
+
376
+ light grey: #ededec
377
+ medium grey: #36393d
378
+ dark grey: #1a1a1a
379
+ interactive action yellow #ffff88
380
+ red #cc0000
381
+ light blue #E6EEFC
382
+ dark blue #0B43A8
383
+
384
+ */
385
+
386
+ .small {
387
+ font-size: 11px;
388
+ font-style: normal;
389
+ font-weight: normal;
390
+ text-transform: normal;
391
+ letter-spacing: normal;
392
+ line-height: 1.4em;
393
+ }
394
+
395
+ .gray {
396
+ color:#999999;
397
+ font-family: Georgia, serif;
398
+ font-size: 13px;
399
+ font-style: italic;
400
+ font-weight: normal;
401
+ text-transform: normal;
402
+ letter-spacing: normal;
403
+ line-height: 1.6em;
404
+ }
405
+
406
+ .hightlight {
407
+ background-color: #ffff88;
408
+ font-weight: bold;
409
+ color: #36393d;
410
+ }
411
+
412
+ a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #36393d; }
413
+ a { -moz-outline: none; }
414
+
415
+ body {
416
+ color: #222;
417
+ background: #ededec;
418
+ background: #0F61FF;
419
+ background: #0072bc;
420
+ background: #fff;
421
+ background: #0f61a1;
422
+ background: #e4e4e4;
423
+ font-family: helvetica, arial, sans-serif;
424
+ }
425
+
426
+ hr {
427
+ background: #f0f0ee;
428
+ color: #f0f0ee;
429
+ }
430
+
431
+
432
+ #user-navigation {
433
+ top: auto;
434
+ bottom: 5px;
435
+ right: 25px;
436
+ }
437
+
438
+ #user-navigation a.logout {
439
+ background: #cc0000;
440
+ padding: 1px 4px;
441
+ -moz-border-radius: 4px;
442
+ -webkit-border-radius: 3px;
443
+ }
444
+
445
+ #main .block .content {
446
+ background: #FFF;
447
+ padding-top: 1px;
448
+ }
449
+
450
+ #main .block .content h2 {
451
+ margin-left: 15px;
452
+ font-size: 22px;
453
+ font-style: normal;
454
+ font-weight: bold;
455
+ text-transform: normal;
456
+ letter-spacing: -1px;
457
+ line-height: 1.2em;
458
+ }
459
+
460
+ #main .block .content p {
461
+ font-size: 13px;
462
+ font-style: normal;
463
+ font-weight: normal;
464
+ text-transform: normal;
465
+ letter-spacing: normal;
466
+ line-height: 1.45em;
467
+ }
468
+
469
+ #sidebar .block {
470
+ background: #FFF;
471
+ }
472
+
473
+ #sidebar .block h4 {
474
+ font-weight: bold;
475
+ }
476
+
477
+ #sidebar .notice {
478
+ background: #E6EEFC;
479
+ }
480
+
481
+ #sidebar .notice h4 {
482
+ color: #0B43A8;
483
+ }
484
+
485
+ #sidebar h3 {
486
+ background: #36393d;
487
+ color: #FFF;
488
+ border-bottom: 5px solid #1a1a1a;
489
+ }
490
+
491
+ #main-navigation ul li {
492
+ padding-left: 15px;
493
+ }
494
+
495
+ #main-navigation ul li a {
496
+ padding: 8px 0;
497
+ }
498
+
499
+ #main-navigation ul li.active {
500
+ padding: 0;
501
+ margin-left: 15px;
502
+ }
503
+
504
+ #main-navigation ul li.active {
505
+ margin-left: 15px;
506
+ }
507
+
508
+ #main-navigation ul li.active a {
509
+ padding: 8px 15px;
510
+ }
511
+
512
+ #sidebar ul li a:link, #sidebar ul li a:visited {
513
+ background: #FFF;
514
+ border-bottom: 1px solid #F0F0EE;
515
+ text-decoration: none;
516
+ }
517
+
518
+ #sidebar ul li a:hover, #sidebar ul li a:active {
519
+ background: #666666;
520
+ color: #ffffff;;
521
+ }
522
+
523
+ #main-navigation {
524
+ background: #1a1a1a;
525
+ }
526
+
527
+ #main-navigation ul li {
528
+ background: #1a1a1a;
529
+ margin-right: 0;
530
+ }
531
+
532
+ #main-navigation ul li.active {
533
+ background: #f0f0ee;
534
+ }
535
+
536
+ #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
537
+ .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
538
+ #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
539
+ text-decoration: none;
540
+ color: #FFF;
541
+ }
542
+
543
+ .secondary-navigation li a:hover {
544
+ background: #666666;
545
+ }
546
+
547
+ #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 {
548
+ color: #1a1a1a;
549
+ }
550
+
551
+ .secondary-navigation {
552
+ background: #36393d;
553
+ border-bottom-color: #4F8AFF;
554
+ }
555
+
556
+ .secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
557
+ background: #1a1a1a;
558
+ background: #4F8AFF;
559
+ }
560
+
561
+ #footer .block {
562
+ color: #FFF;
563
+ background: #1a1a1a;
564
+ }
565
+
566
+ #footer .block p {
567
+ margin: 0;
568
+ padding: 10px;
569
+ }
570
+
571
+ /* pagination */
572
+
573
+ .pagination a, .pagination span {
574
+ background: #ededec;
575
+ -moz-border-radius: 3px;
576
+ border: 1px solid #c1c1c1;
577
+ }
578
+
579
+ .pagination span.current {
580
+ background: #36393d;
581
+ color: #FFF;
582
+ border: 1px solid #36393d;
583
+ }
584
+
585
+ .pagination a {
586
+ color: #1a1a1a;
587
+ }
588
+
589
+ .pagination a:hover {
590
+ border: 1px solid #666;
591
+ }
592
+
593
+ /* tables */
594
+
595
+ .table th {
596
+ background: #36393d;
597
+ color: #FFF;
598
+ }
599
+
600
+ .table td {
601
+ border-bottom:1px solid #F0F0EE;
602
+ }
603
+
604
+ .table tr.even {
605
+ background: #ebebeb;
606
+ }
607
+
608
+ /* forms */
609
+
610
+ .form label.label {
611
+ color: #666666;
612
+ }
613
+
614
+ .form input.text_field, .form textarea.text_area {
615
+ width: 100%;
616
+ border: 1px solid #ededec;
617
+ }
618
+
619
+ .form input.button {
620
+ background: #ededec;
621
+ -moz-border-radius: 5px;
622
+ border: 1px solid #c1c1c1;
623
+ padding: 2px 5px;
624
+ cursor: pointer;
625
+ color: #36393d;
626
+ font-weight: bold;
627
+ font-size: 11px;
628
+ }
629
+
630
+ .form input.button:hover {
631
+ border: 1px solid #666;
632
+ }
633
+
634
+ .form .description {
635
+ font-style: italic;
636
+ color: #8C8C8C;
637
+ font-size: .9em;
638
+ }
639
+
640
+ .form .navform a {
641
+ color: #cc0000;
642
+ }
643
+
644
+ /* flash-messages */
645
+ .flash .message {
646
+ -moz-border-radius: 3px;
647
+ -webkit-border-radius: 3px;
648
+ text-align:center;
649
+ margin: 0 auto 15px;
650
+
651
+ }
652
+
653
+ .flash .message p {
654
+ margin:8px;
655
+ }
656
+ .flash .error {
657
+ border: 1px solid #fbb;
658
+ background-color: #fdd;
659
+ }
660
+ .flash .warning {
661
+ border: 1px solid #fffaaa;
662
+ background-color: #ffffcc;
663
+ }
664
+ .flash .notice {
665
+ border: 1px solid #1FDF00;
666
+ background-color: #BBFFB6;
667
+ }
668
+
669
+ /* lists */
670
+
671
+ ul.list li {
672
+ border-bottom-color: #F0F0EE;
673
+ border-bottom-width: 1px;
674
+ border-bottom-style: solid;
675
+ }
676
+
677
+ ul.list li .item .avatar {
678
+ border-color: #F0F0EE;
679
+ border-width: 1px;
680
+ border-style: solid;
681
+ padding: 2px;
682
+ }
683
+
684
+ /* box */
685
+
686
+ #box .block {
687
+ background: #FFF;
688
+ }
689
+
690
+ #box .block h2 {
691
+ background: #36393d;
692
+ color: #FFF;
693
+ }
694
+
695
+
696
+ /* rounded borders */
697
+
698
+ #main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
699
+ #footer .block, .form input.button, #box .block, #box .block h2 {
700
+ -moz-border-radius-topleft: 4px;
701
+ -webkit-border-top-left-radius: 4px;
702
+ -moz-border-radius-topright: 4px;
703
+ -webkit-border-top-right-radius: 4px;
704
+ }
705
+
706
+ .secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
707
+ -moz-border-radius-topleft: 4px;
708
+ -webkit-border-top-left-radius: 4px;
709
+ }
710
+
711
+ .table th.last {
712
+ -moz-border-radius-topright: 4px;
713
+ -webkit-border-top-right-radius: 4px;
714
+ }
715
+
716
+ .secondary-navigation ul li.first {
717
+ -moz-border-radius-topleft: 4px;
718
+ -webkit-border-top-left-radius: 4px;
719
+ }
720
+
721
+ #sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
722
+ -moz-border-radius-bottomleft: 4px;
723
+ -webkit-border-bottom-left-radius: 4px;
724
+ -moz-border-radius-bottomright: 4px;
725
+ -webkit-border-bottom-right-radius: 4px;
726
+ }
727
+
728
+ .secondary-navigation {
729
+ border-bottom-width: 5px;
730
+ }
731
+
732
+ .umbrella {
733
+ font-family:lucida grande,verdana;
734
+ font-size:12px;
735
+ text-align:left;
736
+ }
737
+ .umbrella h1 {
738
+ color:#000000;
739
+ font-size: 26px;
740
+ font-weight: bold;
741
+ border-bottom: 1px dotted #CCCCCC;
742
+ }
743
+ #main .block .umbrella h2 {
744
+ color:#000000;
745
+ font-size:16px;
746
+ margin: 10px 0 2px 0;
747
+ padding:0;
748
+ font-family:"Lucida Grande",arial,sans-serif;
749
+ }
750
+ .umbrella h2 span {
751
+ color: #666;
752
+ font-size: 12px;
753
+ font-weight: normal;
754
+ }
755
+ .umbrella input {
756
+ font-size:14px;
757
+ margin-bottom:10px;
758
+ padding:3px;
759
+ }
760
+ .umbrella input.button {
761
+ font-size:14px;
762
+ margin:10px 0 0;
763
+ padding:3px;
764
+ width:auto;
765
+ }
766
+
767
+ input[type="button"] { cursor: pointer; }
768
+ input.button { cursor: pointer; }
769
+
770
+ .element { border: 1px solid red; }
771
+
772
+ .rounded{
773
+ -moz-border-radius: 5px; /* Firefox */
774
+ -webkit-border-radius: 5px; /* Safari */
775
+ }
776
+
777
+ .flash .error {
778
+ background: #c00;
779
+ color: #fff;
780
+ }
781
+
782
+ .flash .message {
783
+ text-align: left;
784
+ }
785
+
786
+
787
+ #iheader {
788
+ margin: 0 auto;
789
+ width: 950px;
790
+ }
791
+
792
+ #header ul {
793
+ list-style: none;
794
+ padding: 10px 0 0 20px;
795
+ margin: 0;
796
+ }
797
+
798
+ #header ul li {
799
+ float: left;
800
+ border: 1px solid;
801
+ border-bottom-width: 0;
802
+ margin: 0 0.5em 0 0;
803
+ }
804
+
805
+ #header ul li#selected {
806
+ position: relative;
807
+ top: 1px;
808
+ }
809
+
810
+ #header ul li a {
811
+ display: block;
812
+ padding: 5px 6px 0 6px;
813
+ text-decoration: none;
814
+ color: white;
815
+ background: #1a4f85;
816
+ }
817
+
818
+ #header ul li#selected a {
819
+ background: #fff;
820
+ color: #1a4f85;
821
+ }
822
+
823
+ #header ul li a:hover {
824
+ background: #539ADF;
825
+ }
826
+
827
+
828
+
829
+ #footer {
830
+ padding-left:30px;
831
+ }
832
+
833
+ .search_form {
834
+ margin:15px 5px 5px 5px;
835
+ padding:5px;
836
+ }
837
+
838
+ .breadcrum {
839
+ margin-bottom: 15px;
840
+ background: #fff;
841
+ padding: 10px 4px;
842
+ }
843
+
844
+ #quick_search_input { font-size: 15px; }
845
+
846
+ table.with_border td{
847
+ border:2px solid #DEDEDE;
848
+ padding:5px;
849
+ }
850
+
851
+ table {
852
+ border-collapse: collapse;
853
+ border-spacing: 0;
854
+ }
855
+
856
+ .advtable {
857
+ font-size: 15px;
858
+ }
859
+
860
+ #advance_search_table select {
861
+ font-size: 15px;
862
+ width: 280px;
863
+ padding: 2px;
864
+ margin: 2px;
865
+ }
866
+
867
+ #advance_search_table select option {
868
+ padding: 2px 5px;
869
+ }
870
+
871
+ .advtable td {
872
+ border-bottom: 1px solid #F0F0EE;
873
+ padding: 10px;
874
+ }
875
+
876
+ .ram_input_field_col3 {
877
+ font-size: 15px;
878
+ }
879
+
880
+ /*IE6 will ignore this*/
881
+ input[disabled], input[readonly], select[disabled], select[readonly], checkbox[disabled], checkbox[readonly], textarea[disabled], textarea[readonly]
882
+ {
883
+ background-color: #dcdcdc;
884
+ border: 1px solid gray;
885
+ color: #000000;
886
+ cursor: default;
887
+ }
888
+
889
+ input.col3 {
890
+ height: 20px;
891
+ font-size: 16px;
892
+ }
893
+
894
+ span.searching_message{
895
+ color: red;
896
+ font-size: 25px;
897
+ margin: 20px 0 20px 0;
898
+ }
899
+
900
+ table#view_table {
901
+ padding: 0;
902
+ margin: 5px 0 5px 0;
903
+ border-collapse: collapse;
904
+ border-spacing: 0;
905
+ }
906
+
907
+ table#view_table th {
908
+ border: 1px solid #ccc;
909
+ letter-spacing: 2px;
910
+ text-align: left;
911
+ padding: 6px 6px 6px 12px;
912
+ }
913
+
914
+
915
+ table#view_table td {
916
+ border: 1px solid #DEDEDE;
917
+ padding: 6px 6px 6px 12px;
918
+ }
919
+
920
+ table#view_table tr:hover {
921
+ background: #FFFFC0;
922
+ }
923
+
924
+
925
+ #model_drop_down {
926
+ position: absolute;
927
+ top: 10px;
928
+ left: 100px;
929
+ }
930
+
931
+ .drop_down_value_klass {
932
+ width: 300px;
933
+ font-size: 14px;
934
+ padding: 5px;
935
+ height: 40px;
936
+ line-height: 40px;
937
+ }
938
+
939
+ .drop_down_value_klass option {
940
+ padding: 2px;
941
+ }
942
+
943
+
944
+ .klass_box {
945
+ margin: 15px 0 15px 0;
946
+ padding: 15px 20px 15px 0;
947
+ line-height: 40px;
948
+ font-size: 16px;
949
+ }
950
+
951
+ .klass_description {
952
+ font-size: 90%;
953
+ }
954
+
955
+ #footer p {
956
+ float: left;
957
+ font-size: 11px;
958
+ padding: 2px 10px 2px 2px;
959
+ }
960
+
961
+ #main {
962
+ width: 100%;
963
+ }
964
+
965
+
966
+ .main2 {
967
+ background-color: #FFF;
968
+ padding: 5px;
969
+ margin: 10px 2px 10px 2px;
970
+ float: left;
971
+ }
972
+
973
+ .error {
974
+ color: red;
975
+ font-size: 16px;
976
+ }
977
+
978
+ #noscript-warning {
979
+ background-color:#AE0000;
980
+ color:#FFFFFF;
981
+ font-family:Arial,Helvetica,sans-serif;
982
+ font-size:140%;
983
+ font-weight:bold;
984
+ left:0;
985
+ padding:5px 0;
986
+ position:fixed;
987
+ text-align:center;
988
+ top:0;
989
+ width:100%;
990
+ z-index:101;
991
+ }
992
+
993
+ a:link, a:visited, a:active {
994
+ text-decoration: none;
995
+ color: green;
996
+ }
997
+
998
+ a:hover {
999
+ text-decoration: underline;
1000
+ color: #f03;
1001
+ }
1002
+
1003
+ #footer a, .group a, .pagination a {
1004
+ color: #36393d;
1005
+ }
1006
+
1007
+ .association_info {
1008
+ line-height: 20px;
1009
+ }
1010
+
1011
+ table#missing_index tr td {
1012
+ height: 25px;
1013
+ }
1014
+
1015
+ .clear { clear: both; }
1016
+
1017
+ .rounded {
1018
+ -moz-border-radius: 5px; /* Firefox */
1019
+ -webkit-border-radius: 5px; /* Safari */
1020
+ }
1021
+
1022
+ .powered_by {
1023
+ font-family: Arial;
1024
+ font-size: 12px;
1025
+ }
1026
+
1027
+ .submit_search {
1028
+ -moz-border-radius: 5px; /* Firefox */
1029
+ -webkit-border-radius: 5px; /* Safari */
1030
+ float: left;
1031
+ border: 1px solid #000;
1032
+ color: #000;
1033
+ /*background: #4F8AFF;*/
1034
+ padding: 3px;
1035
+ font-weight: bold;
1036
+ font-size: 16px;
1037
+ cursor: pointer;
1038
+ }
1039
+
1040
+
1041
+ .add_row_link, .remove_row {
1042
+ font-size: 30px;
1043
+ text-decoration: none;
1044
+ color: #fff;
1045
+ padding: 0 3px;
1046
+ margin: 0;
1047
+ }
1048
+
1049
+ #advance_search_table a {
1050
+ color: #fff;
1051
+ }
1052
+
1053
+ ul#subnav {
1054
+ background: #fff9d8;
1055
+ display: inline;
1056
+ padding: 10px 6px;
1057
+ position: absolute;
1058
+ text-align: right;
1059
+ top: 0;
1060
+ right: 200px;
1061
+
1062
+ }
1063
+
1064
+ ul#subnav li {
1065
+ display: inline;
1066
+ border: 0;
1067
+ }
1068
+
1069
+ ul#subnav li a, ul#subnav li a:hover {
1070
+ color: #000;
1071
+ background-color: #fff9d8;
1072
+ font-size: 14px;
1073
+ font-weight: bold;
1074
+ margin-left: 10px;
1075
+ margin-right: 5px;
1076
+ text-decoration: none;
1077
+ }
1078
+
1079
+ ul#subnav li a:hover {
1080
+ text-decoration: underline;
1081
+ }
1082
+
1083
+
1084
+ .col_box {
1085
+ border-top: 1px dotted #efefef;
1086
+ }
1087
+
1088
+ #main .block .content p.error {
1089
+ font-weight: bold;
1090
+ font-size: 18px;
1091
+ }
1092
+ #main h2.search_path {
1093
+ float:left;
1094
+ font-weight:bold;
1095
+ font-size: 35px;
1096
+ }
1097
+
1098
+ .listing_klass {
1099
+ float:left;
1100
+ font-weight:bold;
1101
+ font-size: 35px;
1102
+ }
1103
+
1104
+ .total_records_info_klass {
1105
+ float:left;
1106
+ margin:22px 0 0 10px;
1107
+ color:gray;
1108
+ }
1109
+