active_scaffold 3.1.20 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/app/assets/javascripts/jquery/active_scaffold.js +4 -1
  2. data/app/assets/javascripts/prototype/active_scaffold.js +4 -1
  3. data/app/assets/stylesheets/{active_scaffold.scss~ → active_scaffold.css.scss} +5 -2
  4. data/app/assets/stylesheets/{active_scaffold_colors.scss → active_scaffold_colors.css.scss} +4 -0
  5. data/app/assets/stylesheets/active_scaffold_extensions.css.erb +2 -0
  6. data/app/assets/stylesheets/active_scaffold_images.css.scss +43 -0
  7. data/lib/active_scaffold/actions/core.rb +1 -0
  8. data/lib/active_scaffold/actions/nested.rb +0 -1
  9. data/lib/active_scaffold/extensions/action_view_rendering.rb +1 -1
  10. data/lib/active_scaffold/helpers/form_column_helpers.rb +1 -0
  11. data/lib/active_scaffold/version.rb +2 -2
  12. data/test/mock_app/.gitignore +2 -0
  13. metadata +86 -164
  14. data/app/assets/javascripts/active_scaffold.js.erb~ +0 -16
  15. data/app/assets/javascripts/jquery/active_scaffold.js~ +0 -1053
  16. data/app/assets/javascripts/jquery/draggable_lists.js~ +0 -27
  17. data/app/assets/javascripts/prototype/active_scaffold.js~ +0 -1037
  18. data/app/assets/stylesheets/active_scaffold.css.erb +0 -11
  19. data/app/assets/stylesheets/active_scaffold.css.erb~ +0 -11
  20. data/app/assets/stylesheets/active_scaffold.css.scss.erb~ +0 -1120
  21. data/app/assets/stylesheets/active_scaffold.css.scss~ +0 -11
  22. data/app/assets/stylesheets/active_scaffold.css~ +0 -11
  23. data/app/assets/stylesheets/active_scaffold_colors.css +0 -244
  24. data/app/assets/stylesheets/active_scaffold_colors.css.scss~ +0 -481
  25. data/app/assets/stylesheets/active_scaffold_default.css.erb +0 -47
  26. data/app/assets/stylesheets/active_scaffold_default.css.erb~ +0 -57
  27. data/app/assets/stylesheets/active_scaffold_default.css.scss~ +0 -1092
  28. data/app/assets/stylesheets/active_scaffold_default.css~ +0 -923
  29. data/app/assets/stylesheets/active_scaffold_layout.css~ +0 -922
  30. data/app/assets/stylesheets/blue-theme.css~ +0 -1150
  31. data/config/locales/es.yml~ +0 -120
  32. data/frontends/default/views/_action_group.html.erb~ +0 -24
  33. data/frontends/default/views/_base_form.html.erb~ +0 -42
  34. data/frontends/default/views/_form.html.erb~ +0 -26
  35. data/frontends/default/views/_form_association.html.erb~ +0 -19
  36. data/frontends/default/views/_form_association_footer.html.erb~ +0 -48
  37. data/frontends/default/views/_horizontal_subform.html.erb~ +0 -32
  38. data/frontends/default/views/_horizontal_subform_header.html.erb~ +0 -11
  39. data/frontends/default/views/_horizontal_subform_record.html.erb~ +0 -38
  40. data/frontends/default/views/_list_actions.html.erb~ +0 -15
  41. data/frontends/default/views/_list_inline_adapter.html.erb~ +0 -10
  42. data/frontends/default/views/_list_messages.html.erb~ +0 -30
  43. data/frontends/default/views/_list_pagination.html.erb~ +0 -11
  44. data/frontends/default/views/_list_pagination_links.html.erb~ +0 -0
  45. data/frontends/default/views/_list_with_header.html.erb~ +0 -36
  46. data/frontends/default/views/_render_field.js.erb~ +0 -23
  47. data/frontends/default/views/_row.html.erb~ +0 -6
  48. data/frontends/default/views/_show.html.erb~ +0 -8
  49. data/frontends/default/views/_update_form.html.erb~ +0 -6
  50. data/frontends/default/views/_vertical_subform.html.erb~ +0 -12
  51. data/frontends/default/views/add_existing.js.erb~ +0 -18
  52. data/frontends/default/views/add_existing_form.html.erb~ +0 -5
  53. data/frontends/default/views/create.html.erb~ +0 -5
  54. data/frontends/default/views/edit_associated.js.erb~ +0 -13
  55. data/frontends/default/views/on_create.js.erb~ +0 -45
  56. data/frontends/default/views/on_update.js.erb~ +0 -31
  57. data/frontends/default/views/render_field.js.erb~ +0 -1
  58. data/frontends/default/views/search.html.erb~ +0 -5
  59. data/frontends/default/views/show.html.erb~ +0 -5
  60. data/frontends/default/views/update.html.erb~ +0 -8
  61. data/frontends/default/views/update_column.js.erb~ +0 -16
  62. data/lib/active_scaffold.rb~ +0 -373
  63. data/lib/active_scaffold/actions/core.rb~ +0 -203
  64. data/lib/active_scaffold/actions/create.rb~ +0 -148
  65. data/lib/active_scaffold/actions/list.rb~ +0 -196
  66. data/lib/active_scaffold/actions/nested.rb~ +0 -247
  67. data/lib/active_scaffold/actions/search.rb~ +0 -49
  68. data/lib/active_scaffold/actions/subform.rb~ +0 -27
  69. data/lib/active_scaffold/actions/update.rb~ +0 -150
  70. data/lib/active_scaffold/attribute_params.rb~ +0 -203
  71. data/lib/active_scaffold/bridges/date_picker/helper.rb~ +0 -180
  72. data/lib/active_scaffold/bridges/record_select/helpers.rb~ +0 -86
  73. data/lib/active_scaffold/bridges/shared/date_bridge.rb~ +0 -209
  74. data/lib/active_scaffold/config/base.rb~ +0 -72
  75. data/lib/active_scaffold/config/list.rb~ +0 -195
  76. data/lib/active_scaffold/config/nested.rb~ +0 -41
  77. data/lib/active_scaffold/config/search.rb~ +0 -74
  78. data/lib/active_scaffold/constraints.rb~ +0 -186
  79. data/lib/active_scaffold/data_structures/action_columns.rb~ +0 -140
  80. data/lib/active_scaffold/data_structures/action_link.rb~ +0 -179
  81. data/lib/active_scaffold/data_structures/nested_info.rb~ +0 -147
  82. data/lib/active_scaffold/extensions/action_controller_rendering.rb~ +0 -22
  83. data/lib/active_scaffold/extensions/action_view_rendering.rb~ +0 -120
  84. data/lib/active_scaffold/extensions/active_association_reflection.rb~ +0 -22
  85. data/lib/active_scaffold/extensions/cache_association.rb~ +0 -12
  86. data/lib/active_scaffold/extensions/reverse_associations.rb~ +0 -64
  87. data/lib/active_scaffold/extensions/routing_mapper.rb~ +0 -48
  88. data/lib/active_scaffold/extensions/unsaved_associated.rb~ +0 -62
  89. data/lib/active_scaffold/finder.rb~ +0 -370
  90. data/lib/active_scaffold/helpers/controller_helpers.rb~ +0 -92
  91. data/lib/active_scaffold/helpers/form_column_helpers.rb~ +0 -320
  92. data/lib/active_scaffold/helpers/id_helpers.rb~ +0 -123
  93. data/lib/active_scaffold/helpers/list_column_helpers.rb~ +0 -370
  94. data/lib/active_scaffold/helpers/search_column_helpers.rb~ +0 -263
  95. data/lib/active_scaffold/helpers/view_helpers.rb~ +0 -350
@@ -1,923 +0,0 @@
1
- /*
2
- ActiveScaffold
3
- (c) 2007 Richard White <rrwhite@gmail.com>
4
-
5
- ActiveScaffold is freely distributable under the terms of an MIT-style license.
6
-
7
- For details, see the ActiveScaffold web site: http://www.activescaffold.com/
8
-
9
- */
10
-
11
- .active-scaffold form,
12
- .active-scaffold table,
13
- .active-scaffold p,
14
- .active-scaffold div,
15
- .active-scaffold fieldset {
16
- margin: 0;
17
- padding: 0;
18
- }
19
-
20
- .active-scaffold {
21
- margin: 5px 0;
22
- }
23
-
24
- .active-scaffold table {
25
- width: 100%;
26
- border-collapse: separate;
27
- }
28
-
29
- .active-scaffold a,
30
- .active-scaffold a:visited {
31
- text-decoration: none;
32
- }
33
-
34
- .active-scaffold div.actions a img,
35
- .active-scaffold td.actions a img {
36
- border: none;
37
- vertical-align: middle;
38
- }
39
-
40
- .active-scaffold div.actions a.disabled img,
41
- .active-scaffold td.actions a.disabled img {
42
- opacity: 0.5;
43
- }
44
-
45
- .active-scaffold .clear-fix {
46
- clear: both;
47
- }
48
-
49
- noscript.active-scaffold {
50
- border-left: solid 5px;
51
- font-size: 11px;
52
- font-weight: bold;
53
- padding: 5px 20px 5px 5px;
54
- }
55
-
56
- .active-scaffold .mark_record_column {
57
- width: 1px;
58
- }
59
-
60
- /* Header
61
- ======================== */
62
-
63
- .active-scaffold-header {
64
- position: relative;
65
- }
66
-
67
- .active-scaffold-header h2 {
68
- padding: 2px 0px;
69
- margin: 0;
70
- font: bold 160% arial, sans-serif;
71
- }
72
-
73
- .active-scaffold-header div.actions a,
74
- .active-scaffold-header div.actions {
75
- float: right;
76
- font: bold 14px arial;
77
- letter-spacing: -1px;
78
- text-decoration: none;
79
- padding: 1px 2px;
80
- white-space: nowrap;
81
- margin-left: 5px;
82
- background-position: 1px 50%;
83
- background-repeat: no-repeat;
84
- }
85
-
86
- .active-scaffold-header div.actions a {
87
- padding: 5px 5px;
88
- margin-left: 0px;
89
- }
90
-
91
- .active-scaffold .active-scaffold .active-scaffold-header div.actions > a {
92
- padding: 1px 5px;
93
- }
94
-
95
- .active-scaffold-header div.actions div.action_group {
96
- display: inline;
97
- float: right;
98
- }
99
-
100
- .active-scaffold-header div.actions div.action_group li a,
101
- .active-scaffold-header div.actions div.action_group li div {
102
- float: none;
103
- margin: 0;
104
- }
105
-
106
- .active-scaffold-header div.actions .action_group ul {
107
- line-height: 130%;
108
- top: 19px;
109
- }
110
-
111
- .active-scaffold .active-scaffold .active-scaffold-header div.actions .action_group ul {
112
- top: 14px;
113
- }
114
-
115
- .view .active-scaffold-header div.actions a,
116
- .view .active-scaffold-header div.actions div,
117
- .view .active-scaffold-header div.actions div.action_group {
118
- float: left;
119
- }
120
-
121
- .active-scaffold-header div.actions a.disabled {
122
- opacity: 0.5;
123
- }
124
-
125
- .active-scaffold-header div.actions a.new,
126
- .active-scaffold-header div.actions a.new_existing,
127
- .active-scaffold-header div.actions a.show_search,
128
- .active-scaffold-header div.actions a.show_config_list,
129
- .active-scaffold-header div.actions div.action_group div {
130
- margin:0;
131
- padding: 5px 5px 5px 25px;
132
- background-position: 5px 50%;
133
- background-repeat: no-repeat;
134
- }
135
-
136
- .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.new,
137
- .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.new_existing,
138
- .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.show_search,
139
- .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.show_config_list,
140
- .active-scaffold .active-scaffold .active-scaffold-header div.actions div.action_group > div {
141
- margin:0;
142
- padding: 1px 5px 1px 20px;
143
- background-position: 1px 50%;
144
- background-repeat: no-repeat;
145
- }
146
-
147
- .active-scaffold-header div.actions a.disabled:hover {
148
- background-color: transparent;
149
- cursor: default;
150
- }
151
-
152
- .active-scaffold-header div.actions {
153
- position: absolute;
154
- right: 5px;
155
- top: 5px;
156
- text-align: right;
157
- }
158
-
159
- /* Table :: Column Headers
160
- ============================= */
161
-
162
- .active-scaffold th {
163
- text-align: left;
164
- }
165
-
166
- .active-scaffold th a,
167
- .active-scaffold th p {
168
- font: bold 11px arial, sans-serif;
169
- display: block;
170
- }
171
-
172
- .active-scaffold th a, .active-scaffold th a:visited {
173
- padding: 2px 2px 2px 5px;
174
- }
175
-
176
- .active-scaffold th p {
177
- padding: 2px 5px;
178
- }
179
-
180
- .active-scaffold th.sorted a {
181
- padding-right: 18px;
182
- }
183
-
184
- .active-scaffold th.asc a,
185
- .active-scaffold th.asc a:hover,
186
- .active-scaffold th.desc a,
187
- .active-scaffold th.desc a:hover,
188
- .active-scaffold th.loading a,
189
- .active-scaffold th.loading a:hover {
190
- background: right 50% no-repeat;
191
- }
192
-
193
- .active-scaffold th .mark_heading {
194
- margin-left: 5px;
195
- }
196
-
197
- .active-scaffold th.hidden, .active-scaffold td.hidden {
198
- display: none;
199
- }
200
-
201
- /* Table :: Record Rows
202
- ============================= */
203
-
204
- .active-scaffold tr.record td {
205
- padding: 5px 4px;
206
- font-family: Verdana, sans-serif;
207
- font-size: 11px;
208
- border: solid 1px;
209
- border-width: 0 0 1px 1px;
210
- }
211
-
212
- .active-scaffold tr.record td.messages-container {
213
- padding: 0px;
214
- }
215
-
216
- .active-scaffold tbody.records td.empty {
217
- text-align: center;
218
- }
219
-
220
- .active-scaffold td.numeric,
221
- .active-scaffold-calculations td {
222
- text-align: right;
223
- }
224
-
225
- /* Table :: Actions (Edit, Delete)
226
- ============================= */
227
- .active-scaffold tr.record td.actions {
228
- border-right: solid 1px;
229
- padding: 0;
230
- min-width: 1%;
231
- }
232
-
233
- .active-scaffold tr.record td.actions table {
234
- float: right;
235
- width: auto;
236
- margin-right: 5px;
237
- }
238
-
239
- .active-scaffold tr.record td.actions table td {
240
- border: none;
241
- text-align: right;
242
- padding: 0 2px;
243
- }
244
-
245
- .active-scaffold tr.record td.actions a,
246
- .active-scaffold tr.record td.actions div {
247
- font: bold 11px verdana, sans-serif;
248
- letter-spacing: -1px;
249
- padding: 2px;
250
- margin: 0 2px;
251
- line-height: 16px;
252
- white-space: nowrap;
253
- }
254
-
255
- .active-scaffold tr.record td.actions a.disabled {
256
- opacity: 0.5;
257
- }
258
-
259
- .active-scaffold .actions .action_group {
260
- position: relative;
261
- text-align: left;
262
- }
263
-
264
- .active-scaffold .actions .action_group ul {
265
- border: 2px solid;
266
- list-style-type: none;
267
- margin: 0;
268
- padding: 0;
269
- position: absolute;
270
- line-height: 200%;
271
- display: none;
272
- width: 150px;
273
- right: 0px;
274
- }
275
-
276
- .active-scaffold .actions .action_group ul ul {
277
- display: none;
278
- position: absolute;
279
- top: 0;
280
- right: 150px;
281
- }
282
-
283
- .active-scaffold .actions .action_group ul li {
284
- background: none repeat scroll 0 0;
285
- border-top: 1px dashed;
286
- display: block;
287
- position: relative;
288
- width: auto;
289
- z-index: 2;
290
- }
291
-
292
- .active-scaffold .actions .action_group ul li div {
293
- margin: 0;
294
- padding: 5px 5px 5px 25px;
295
- background-position: 5px 50%;
296
- background-repeat: no-repeat;
297
- }
298
-
299
- .active-scaffold .actions .action_group ul li a {
300
- display: block;
301
- margin: 0;
302
- padding: 5px 5px 5px 25px;
303
- background-position: 5px 50%;
304
- background-repeat: no-repeat;
305
- }
306
-
307
- .active-scaffold .actions .action_group ul li.top {
308
- border-top-width: 0px;
309
- }
310
-
311
- .active-scaffold .actions .action_group:hover ul ul,
312
- .active-scaffold .actions .action_group:hover ul ul ul {
313
- display: none;
314
- }
315
-
316
- .active-scaffold .actions .action_group:hover ul,
317
- .active-scaffold .actions .action_group ul li:hover > ul,
318
- .active-scaffold .actions .action_group ul ul li:hover ul {
319
- display: block;
320
- }
321
-
322
- /* Table :: Inline Adapter
323
- ============================= */
324
-
325
- .active-scaffold .view {
326
- padding: 4px;
327
- border: solid 1px;
328
- }
329
-
330
- .active-scaffold tbody.records td.inline-adapter-cell .view {
331
- border-top: none;
332
- }
333
-
334
- .active-scaffold .before-header td.inline-adapter-cell .view {
335
- border-bottom: none;
336
- }
337
-
338
- .active-scaffold a.inline-adapter-close {
339
- float: right;
340
- text-indent: -4000px;
341
- width: 16px;
342
- height: 17px;
343
- background: 0 0 no-repeat;
344
- }
345
-
346
- /* Nested
347
- ======================== */
348
-
349
- .active-scaffold .active-scaffold .active-scaffold-header {
350
- margin-right: 25px;
351
- }
352
-
353
- .active-scaffold .active-scaffold .active-scaffold-header h2 {
354
- font-size: 12px;
355
- font-weight: bold;
356
- }
357
-
358
-
359
- .active-scaffold .active-scaffold .active-scaffold-header div.actions {
360
- top: 0px;
361
- right: 0px;
362
- }
363
-
364
- .active-scaffold .active-scaffold .active-scaffold-header div.actions a,
365
- .active-scaffold .active-scaffold .active-scaffold-header div.actions div {
366
- font: bold 11px verdana, sans-serif;
367
- }
368
-
369
- .active-scaffold .active-scaffold .view {
370
- background-color: transparent;
371
- padding: 0px;
372
- border: none;
373
- }
374
-
375
- .active-scaffold .active-scaffold td {
376
- border-bottom: solid 1px;
377
- border-left: solid 1px;
378
- }
379
-
380
- .active-scaffold .active-scaffold td.inline-adapter-cell {
381
- padding: 4px;
382
- border: solid 1px;
383
- border-top: none;
384
- }
385
-
386
- .active-scaffold .active-scaffold .active-scaffold td.inline-adapter-cell {
387
- padding: 4px;
388
- border: solid 1px;
389
- border-top: none;
390
- }
391
-
392
- .active-scaffold .active-scaffold .active-scaffold-footer {
393
- font-size: 11px;
394
- }
395
-
396
- /* Footer
397
- ========================== */
398
-
399
- .active-scaffold-calculations td {
400
- border-top: 2px solid;
401
- font: bold 12px arial, sans-serif;
402
- }
403
-
404
- .active-scaffold .active-scaffold-footer {
405
- padding: 3px 0px 2px 0px;
406
- border-bottom: none;
407
- font: bold 12px arial, sans-serif;
408
- }
409
-
410
- .active-scaffold-footer .active-scaffold-pagination {
411
- float: right;
412
- white-space: nowrap;
413
- margin-right: 5px;
414
- }
415
-
416
- .active-scaffold-footer a {
417
- text-decoration: none;
418
- letter-spacing: 0;
419
- padding: 0 2px;
420
- margin: 0 -2px;
421
- font: bold 12px arial, sans-serif;
422
- }
423
-
424
- .active-scaffold-footer .next {
425
- margin-left: 0;
426
- padding-left: 5px;
427
- border-left: solid 1px;
428
- }
429
-
430
- .active-scaffold-footer .previous {
431
- margin-right: 0;
432
- padding-right: 5px;
433
- border-right: solid 1px;
434
- }
435
-
436
- /* Messages
437
- ========================= */
438
-
439
- .active-scaffold .messages-container,
440
- .active-scaffold .active-scaffold .messages-container{
441
- padding: 0;
442
- margin: 0 7px;
443
- border: none;
444
- }
445
-
446
- .active-scaffold .empty-message, .active-scaffold .filtered-message {
447
- padding: 4px;
448
- text-align: center;
449
- }
450
-
451
- .active-scaffold .message {
452
- font-size: 11px;
453
- font-weight: bold;
454
- padding: 5px 20px 5px 5px;
455
- position: relative;
456
- margin: 2px 7px;
457
- line-height: 12px;
458
- }
459
-
460
- .active-scaffold .message a {
461
- position: absolute;
462
- right: 10px;
463
- top: 4px;
464
- padding: 0;
465
- font: bold 11px verdana, sans-serif;
466
- letter-spacing: -1px;
467
- }
468
-
469
- .active-scaffold .messages-container .message {
470
- margin: 0;
471
- }
472
-
473
- .active-scaffold .error-message {
474
- border-left: solid 5px;
475
- }
476
-
477
- .active-scaffold .warning-message {
478
- border-left: solid 5px;
479
- }
480
-
481
- .active-scaffold .info-message {
482
- border-left: solid 5px;
483
- }
484
-
485
- /* Error Styling
486
- ========================== */
487
-
488
- .active-scaffold .errorExplanation {
489
- background-color: $msg_error_bg;
490
- border: solid 1px;
491
- }
492
-
493
- .active-scaffold fieldset {
494
- clear: both;
495
- }
496
-
497
- .active-scaffold .errorExplanation h2 {
498
- padding: 2px 5px;
499
- font-size: 11px;
500
- margin: 0;
501
- letter-spacing: 0;
502
- font-family: Verdana;
503
- }
504
-
505
- .active-scaffold .errorExplanation ul {
506
- margin: 0;
507
- padding: 0 2px 4px 25px;
508
- list-style: disc;
509
- }
510
-
511
- .active-scaffold .errorExplanation p {
512
- font-size: 11px;
513
- padding: 2px 5px;
514
- font-family: Verdana;
515
- margin: 0;
516
- }
517
-
518
- .active-scaffold .errorExplanation ul li {
519
- font: bold 11px verdana;
520
- letter-spacing: -1px;
521
- margin: 0;
522
- padding: 0;
523
- background-color: transparent;
524
- }
525
-
526
- /* Loading Indicators
527
- ============================== */
528
-
529
- .active-scaffold .loading-indicator {
530
- vertical-align: text-bottom;
531
- width: 16px;
532
- margin: 0;
533
- }
534
-
535
- .active-scaffold .active-scaffold-header .loading-indicator {
536
- margin-top: 3px;
537
- }
538
-
539
- /* Show
540
- ============================= */
541
-
542
- .active-scaffold .show-view dl {
543
- margin-left: 5px;
544
- }
545
- .active-scaffold .show-view dl dl {
546
- margin-left: 0px;
547
- }
548
-
549
- .active-scaffold .show-view dt {
550
- width: 12em;
551
- float: left;
552
- clear: left;
553
- font: normal 11px verdana, sans-serif;
554
- line-height: 16px;
555
- }
556
-
557
- .active-scaffold .show-view dd {
558
- float: left;
559
- font: bold 14px arial;
560
- padding-left: 5px;
561
- margin-bottom: 5px;
562
- }
563
-
564
- /* Form
565
- ============================== */
566
-
567
- .active-scaffold dl {
568
- margin: 0;
569
- }
570
-
571
- .active-scaffold .submit {
572
- font-weight: bold;
573
- font-size: 14px;
574
- font-family: Arial, sans-serif;
575
- letter-spacing: 0;
576
- margin: 0;
577
- margin-top: 5px;
578
- }
579
-
580
- .active-scaffold form p {
581
- clear: both;
582
- }
583
-
584
- .active-scaffold fieldset {
585
- border: none;
586
- }
587
-
588
- .active-scaffold h4,
589
- .active-scaffold h5 {
590
- padding: 2px;
591
- margin: 0;
592
- text-transform: none;
593
- letter-spacing: -1px;
594
- font: bold 16px arial;
595
- }
596
-
597
- .active-scaffold h5 {
598
- padding: 0;
599
- margin: 5px 0 2px 0;
600
- font-size: 14px;
601
- letter-spacing: 0;
602
- }
603
-
604
- .active-scaffold ol {
605
- clear: both;
606
- float: none;
607
- padding: 2px;
608
- margin-left: 5px;
609
- list-style: none;
610
- }
611
-
612
- .active-scaffold p.form-footer {
613
- clear: both;
614
- }
615
-
616
- .active-scaffold a.as_cancel,
617
- .active-scaffold p.form-footer a {
618
- font: bold 14px arial, sans-serif;
619
- letter-spacing: 0;
620
- }
621
-
622
- /* Form :: Fields
623
- ============================== */
624
-
625
- .active-scaffold li.form-element {
626
- clear: both;
627
- }
628
-
629
- .active-scaffold label {
630
- font: normal 11px verdana, sans-serif;
631
- }
632
-
633
- .active-scaffold li.form-element dt {
634
- float: left;
635
- width: 12em;
636
- padding: 6px 0;
637
- }
638
-
639
- .active-scaffold li.form-element dd {
640
- float: left;
641
- }
642
-
643
- .active-scaffold li.form-element dd p,
644
- .active-scaffold li.form-element dd input[type="checkbox"] {
645
- margin-top: 6px;
646
- }
647
-
648
- .active-scaffold .form dd {
649
- margin: 0;
650
- }
651
-
652
-
653
- .active-scaffold .description {
654
- display: inline-block;
655
- font-size: 10px;
656
- margin-left: 5px;
657
- }
658
-
659
- .active-scaffold .required label {
660
- font-weight: bold;
661
- }
662
-
663
- .active-scaffold label.example {
664
- font-size: 11px;
665
- font-family: arial;
666
- }
667
-
668
- .active-scaffold input.text-input,
669
- .active-scaffold select {
670
- font: bold 16px arial;
671
- letter-spacing: -1px;
672
- border: solid 1px;
673
- }
674
-
675
- .active-scaffold input.text-input {
676
- padding: 2px;
677
- }
678
-
679
- .active-scaffold .fieldWithErrors input,
680
- .active-scaffold .field_with_errors input,
681
- .active-scaffold .fieldWithErrors textarea,
682
- .active-scaffold .field_with_errors textarea,
683
- .active-scaffold .fieldWithErrors select,
684
- .active-scaffold .field_with_errors select {
685
- border: solid 1px;
686
- }
687
-
688
- .active-scaffold select {
689
- padding: 1px;
690
- }
691
-
692
-
693
- .active-scaffold textarea {
694
- font-family: Arial, sans-serif;
695
- font-size: 12px;
696
- padding: 1px;
697
- border: solid 1px;
698
- }
699
-
700
- .active-scaffold .checkbox-list {
701
- padding-left: 0px;
702
- }
703
-
704
- .active-scaffold .checkbox-list li {
705
- padding-right: 5px;
706
- display: inline;
707
- }
708
-
709
- .active-scaffold .checkbox-list li label {
710
- padding: 0 0 0 2px;
711
- }
712
-
713
- .active-scaffold .draggable-list {
714
- float: left;
715
- width: 300px;
716
- margin-right: 15px;
717
- min-height: 30px;
718
- max-height: 100px;
719
- overflow: auto;
720
- }
721
-
722
- .active-scaffold .draggable-list.hover {
723
- opacity: 0.5;
724
- }
725
-
726
-
727
- .active-scaffold .draggable-list li {
728
- display: block;
729
- }
730
-
731
- li.draggable-item {
732
- list-style: none;
733
- }
734
- li.draggable-item input,
735
- .active-scaffold .draggable-list input {
736
- display: none;
737
- }
738
-
739
- /* Form :: Sub-Sections
740
- ============================== */
741
-
742
- .active-scaffold li.sub-section {
743
- clear: left;
744
- padding: 5px 0;
745
- }
746
-
747
- /* Form :: Association Sub-Forms
748
- ============================== */
749
-
750
- .active-scaffold .sub-form {
751
- float: left;
752
- clear: left;
753
- padding: 5px 0;
754
- padding-left: 5px;
755
- }
756
-
757
- .active-scaffold .sub-form h5 {
758
- margin-left: -5px;
759
- }
760
-
761
- .active-scaffold .sub-form table,
762
- .active-scaffold .sub-form table td {
763
- width: auto;
764
- background: none;
765
- }
766
-
767
- .active-scaffold .sub-form table th {
768
- font: normal 10px verdana, sans-serif;
769
- padding: 0 5px 0 1px;
770
- background: none;
771
- }
772
-
773
- .active-scaffold .horizontal-sub-form td dt label {
774
- display: none;
775
- }
776
-
777
- .active-scaffold .sub-form .checkbox-list {
778
- padding: 0 2px 2px 2px;
779
- border: solid 1px;
780
- }
781
-
782
- .active-scaffold .sub-form .checkbox-list label {
783
- display: block;
784
- }
785
-
786
- .active-scaffold .sub-form table td {
787
- border: none;
788
- background-color: transparent;
789
- padding: 1px;
790
- vertical-align: top;
791
- }
792
-
793
- .active-scaffold .sub-form .actions {
794
- vertical-align: middle;
795
- background-color: transparent;
796
- clear: left;
797
- }
798
-
799
- .active-scaffold .sub-form .association-record a.destroy {
800
- font-weight: bold;
801
- display: block;
802
- height: 16px;
803
- padding: 0;
804
- width: 16px;
805
- text-indent: -4000px;
806
- background: 0 0 no-repeat;
807
- }
808
-
809
- .active-scaffold .sub-form .locked a.destroy {
810
- display: none;
811
- }
812
-
813
- .active-scaffold .sub-form .association-record a {
814
- font: bold 12px arial;
815
- }
816
-
817
- .active-scaffold .sub-form input.text-input,
818
- .active-scaffold .sub-form select {
819
- letter-spacing: 0;
820
- font: bold 12px arial;
821
- }
822
-
823
- .active-scaffold .sub-form .footer-wrapper {
824
- margin-top: 3px;
825
- margin-right: 10px;
826
- }
827
-
828
- .active-scaffold .sub-form .footer {
829
- padding: 3px 5px;
830
- }
831
-
832
- .active-scaffold .sub-form .footer select,
833
- .active-scaffold .sub-form .footer input {
834
- font-weight: bold;
835
- font-size: 12px;
836
- padding: 0;
837
- }
838
-
839
- .active-scaffold a.visibility-toggle {
840
- font-size: 100%;
841
- }
842
-
843
- .active-scaffold-found {
844
- float:left;
845
- }
846
-
847
- .as_touch a.inline-adapter-close {
848
- width: 25px;
849
- height: 27px;
850
- background: 0 0 no-repeat;
851
- }
852
-
853
- .as_touch .as_paginate {
854
- font-size: 20px;
855
- padding: 3px 10px;
856
- }
857
-
858
- .as_touch .active-scaffold-header div.actions a {
859
- padding: 7px 5px;
860
- }
861
-
862
- .as_touch .active-scaffold .active-scaffold-header div.actions a {
863
- padding: 7px 5px;
864
- }
865
-
866
- .as_touch .active-scaffold-header div.actions .action_group ul {
867
- line-height: 130%;
868
- top: 23px;
869
- }
870
-
871
- .as_touch .active-scaffold .active-scaffold-header div.actions .action_group ul {
872
- top: 23px;
873
- }
874
-
875
- .as_touch .active-scaffold-header div.actions a.new,
876
- .as_touch .active-scaffold-header div.actions a.new_existing,
877
- .as_touch .active-scaffold-header div.actions a.show_search,
878
- .as_touch .active-scaffold-header div.actions a.show_config_list,
879
- .as_touch .active-scaffold-header div.actions div.action_group div {
880
- padding: 7px 5px 7px 25px;
881
- }
882
-
883
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.new,
884
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.new_existing,
885
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.show_search,
886
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.show_config_list,
887
- .as_touch .active-scaffold .active-scaffold-header div.actions div.action_group > div {
888
- padding: 7px 5px 7px 25px;
889
- background-position: 5px 50%;
890
- }
891
-
892
- .as_touch .actions .action_group ul li div {
893
- padding: 7px 5px 7px 25px;
894
- }
895
-
896
- .as_touch .actions .action_group ul li a {
897
- padding: 7px 5px 7px 25px;
898
- }
899
-
900
- .as_touch .active-scaffold-header h2 {
901
- padding: 4px 0px;
902
- }
903
-
904
- .as_touch .active-scaffold .active-scaffold-header div.actions a,
905
- .as_touch .active-scaffold .active-scaffold-header div.actions div {
906
- font: bold 14px arial;
907
- }
908
-
909
- .as_touch .active-scaffold .active-scaffold-header div.actions {
910
- right: 15px;
911
- }
912
-
913
- .as_touch tr.record {
914
- line-height: 130%;
915
- }
916
-
917
- .as_touch th a, .as_touch th a:visited {
918
- padding: 5px 2px 5px 5px;
919
- }
920
-
921
- .as_touch tr.record td {
922
- padding: 5px 10px;
923
- }