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,922 +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
- border: solid 1px;
490
- }
491
-
492
- .active-scaffold fieldset {
493
- clear: both;
494
- }
495
-
496
- .active-scaffold .errorExplanation h2 {
497
- padding: 2px 5px;
498
- font-size: 11px;
499
- margin: 0;
500
- letter-spacing: 0;
501
- font-family: Verdana;
502
- }
503
-
504
- .active-scaffold .errorExplanation ul {
505
- margin: 0;
506
- padding: 0 2px 4px 25px;
507
- list-style: disc;
508
- }
509
-
510
- .active-scaffold .errorExplanation p {
511
- font-size: 11px;
512
- padding: 2px 5px;
513
- font-family: Verdana;
514
- margin: 0;
515
- }
516
-
517
- .active-scaffold .errorExplanation ul li {
518
- font: bold 11px verdana;
519
- letter-spacing: -1px;
520
- margin: 0;
521
- padding: 0;
522
- background-color: transparent;
523
- }
524
-
525
- /* Loading Indicators
526
- ============================== */
527
-
528
- .active-scaffold .loading-indicator {
529
- vertical-align: text-bottom;
530
- width: 16px;
531
- margin: 0;
532
- }
533
-
534
- .active-scaffold .active-scaffold-header .loading-indicator {
535
- margin-top: 3px;
536
- }
537
-
538
- /* Show
539
- ============================= */
540
-
541
- .active-scaffold .show-view dl {
542
- margin-left: 5px;
543
- }
544
- .active-scaffold .show-view dl dl {
545
- margin-left: 0px;
546
- }
547
-
548
- .active-scaffold .show-view dt {
549
- width: 12em;
550
- float: left;
551
- clear: left;
552
- font: normal 11px verdana, sans-serif;
553
- line-height: 16px;
554
- }
555
-
556
- .active-scaffold .show-view dd {
557
- float: left;
558
- font: bold 14px arial;
559
- padding-left: 5px;
560
- margin-bottom: 5px;
561
- }
562
-
563
- /* Form
564
- ============================== */
565
-
566
- .active-scaffold dl {
567
- margin: 0;
568
- }
569
-
570
- .active-scaffold .submit {
571
- font-weight: bold;
572
- font-size: 14px;
573
- font-family: Arial, sans-serif;
574
- letter-spacing: 0;
575
- margin: 0;
576
- margin-top: 5px;
577
- }
578
-
579
- .active-scaffold form p {
580
- clear: both;
581
- }
582
-
583
- .active-scaffold fieldset {
584
- border: none;
585
- }
586
-
587
- .active-scaffold h4,
588
- .active-scaffold h5 {
589
- padding: 2px;
590
- margin: 0;
591
- text-transform: none;
592
- letter-spacing: -1px;
593
- font: bold 16px arial;
594
- }
595
-
596
- .active-scaffold h5 {
597
- padding: 0;
598
- margin: 5px 0 2px 0;
599
- font-size: 14px;
600
- letter-spacing: 0;
601
- }
602
-
603
- .active-scaffold ol {
604
- clear: both;
605
- float: none;
606
- padding: 2px;
607
- margin-left: 5px;
608
- list-style: none;
609
- }
610
-
611
- .active-scaffold p.form-footer {
612
- clear: both;
613
- }
614
-
615
- .active-scaffold a.as_cancel,
616
- .active-scaffold p.form-footer a {
617
- font: bold 14px arial, sans-serif;
618
- letter-spacing: 0;
619
- }
620
-
621
- /* Form :: Fields
622
- ============================== */
623
-
624
- .active-scaffold li.form-element {
625
- clear: both;
626
- }
627
-
628
- .active-scaffold label {
629
- font: normal 11px verdana, sans-serif;
630
- }
631
-
632
- .active-scaffold li.form-element dt {
633
- float: left;
634
- width: 12em;
635
- padding: 6px 0;
636
- }
637
-
638
- .active-scaffold li.form-element dd {
639
- float: left;
640
- }
641
-
642
- .active-scaffold li.form-element dd p,
643
- .active-scaffold li.form-element dd input[type="checkbox"] {
644
- margin-top: 6px;
645
- }
646
-
647
- .active-scaffold .form dd {
648
- margin: 0;
649
- }
650
-
651
-
652
- .active-scaffold .description {
653
- display: inline-block;
654
- font-size: 10px;
655
- margin-left: 5px;
656
- }
657
-
658
- .active-scaffold .required label {
659
- font-weight: bold;
660
- }
661
-
662
- .active-scaffold label.example {
663
- font-size: 11px;
664
- font-family: arial;
665
- }
666
-
667
- .active-scaffold input.text-input,
668
- .active-scaffold select {
669
- font: bold 16px arial;
670
- letter-spacing: -1px;
671
- border: solid 1px;
672
- }
673
-
674
- .active-scaffold input.text-input {
675
- padding: 2px;
676
- }
677
-
678
- .active-scaffold .fieldWithErrors input,
679
- .active-scaffold .field_with_errors input,
680
- .active-scaffold .fieldWithErrors textarea,
681
- .active-scaffold .field_with_errors textarea,
682
- .active-scaffold .fieldWithErrors select,
683
- .active-scaffold .field_with_errors select {
684
- border: solid 1px;
685
- }
686
-
687
- .active-scaffold select {
688
- padding: 1px;
689
- }
690
-
691
-
692
- .active-scaffold textarea {
693
- font-family: Arial, sans-serif;
694
- font-size: 12px;
695
- padding: 1px;
696
- border: solid 1px;
697
- }
698
-
699
- .active-scaffold .checkbox-list {
700
- padding-left: 0px;
701
- }
702
-
703
- .active-scaffold .checkbox-list li {
704
- padding-right: 5px;
705
- display: inline;
706
- }
707
-
708
- .active-scaffold .checkbox-list li label {
709
- padding: 0 0 0 2px;
710
- }
711
-
712
- .active-scaffold .draggable-list {
713
- float: left;
714
- width: 300px;
715
- margin-right: 15px;
716
- min-height: 30px;
717
- max-height: 100px;
718
- overflow: auto;
719
- }
720
-
721
- .active-scaffold .draggable-list.hover {
722
- opacity: 0.5;
723
- }
724
-
725
-
726
- .active-scaffold .draggable-list li {
727
- display: block;
728
- }
729
-
730
- li.draggable-item {
731
- list-style: none;
732
- }
733
- li.draggable-item input,
734
- .active-scaffold .draggable-list input {
735
- display: none;
736
- }
737
-
738
- /* Form :: Sub-Sections
739
- ============================== */
740
-
741
- .active-scaffold li.sub-section {
742
- clear: left;
743
- padding: 5px 0;
744
- }
745
-
746
- /* Form :: Association Sub-Forms
747
- ============================== */
748
-
749
- .active-scaffold .sub-form {
750
- float: left;
751
- clear: left;
752
- padding: 5px 0;
753
- padding-left: 5px;
754
- }
755
-
756
- .active-scaffold .sub-form h5 {
757
- margin-left: -5px;
758
- }
759
-
760
- .active-scaffold .sub-form table,
761
- .active-scaffold .sub-form table td {
762
- width: auto;
763
- background: none;
764
- }
765
-
766
- .active-scaffold .sub-form table th {
767
- font: normal 10px verdana, sans-serif;
768
- padding: 0 5px 0 1px;
769
- background: none;
770
- }
771
-
772
- .active-scaffold .horizontal-sub-form td dt label {
773
- display: none;
774
- }
775
-
776
- .active-scaffold .sub-form .checkbox-list {
777
- padding: 0 2px 2px 2px;
778
- border: solid 1px;
779
- }
780
-
781
- .active-scaffold .sub-form .checkbox-list label {
782
- display: block;
783
- }
784
-
785
- .active-scaffold .sub-form table td {
786
- border: none;
787
- background-color: transparent;
788
- padding: 1px;
789
- vertical-align: top;
790
- }
791
-
792
- .active-scaffold .sub-form .actions {
793
- vertical-align: middle;
794
- background-color: transparent;
795
- clear: left;
796
- }
797
-
798
- .active-scaffold .sub-form .association-record a.destroy {
799
- font-weight: bold;
800
- display: block;
801
- height: 16px;
802
- padding: 0;
803
- width: 16px;
804
- text-indent: -4000px;
805
- background: 0 0 no-repeat;
806
- }
807
-
808
- .active-scaffold .sub-form .locked a.destroy {
809
- display: none;
810
- }
811
-
812
- .active-scaffold .sub-form .association-record a {
813
- font: bold 12px arial;
814
- }
815
-
816
- .active-scaffold .sub-form input.text-input,
817
- .active-scaffold .sub-form select {
818
- letter-spacing: 0;
819
- font: bold 12px arial;
820
- }
821
-
822
- .active-scaffold .sub-form .footer-wrapper {
823
- margin-top: 3px;
824
- margin-right: 10px;
825
- }
826
-
827
- .active-scaffold .sub-form .footer {
828
- padding: 3px 5px;
829
- }
830
-
831
- .active-scaffold .sub-form .footer select,
832
- .active-scaffold .sub-form .footer input {
833
- font-weight: bold;
834
- font-size: 12px;
835
- padding: 0;
836
- }
837
-
838
- .active-scaffold a.visibility-toggle {
839
- font-size: 100%;
840
- }
841
-
842
- .active-scaffold-found {
843
- float:left;
844
- }
845
-
846
- .as_touch a.inline-adapter-close {
847
- width: 25px;
848
- height: 27px;
849
- background: 0 0 no-repeat;
850
- }
851
-
852
- .as_touch .as_paginate {
853
- font-size: 20px;
854
- padding: 3px 10px;
855
- }
856
-
857
- .as_touch .active-scaffold-header div.actions a {
858
- padding: 7px 5px;
859
- }
860
-
861
- .as_touch .active-scaffold .active-scaffold-header div.actions a {
862
- padding: 7px 5px;
863
- }
864
-
865
- .as_touch .active-scaffold-header div.actions .action_group ul {
866
- line-height: 130%;
867
- top: 23px;
868
- }
869
-
870
- .as_touch .active-scaffold .active-scaffold-header div.actions .action_group ul {
871
- top: 23px;
872
- }
873
-
874
- .as_touch .active-scaffold-header div.actions a.new,
875
- .as_touch .active-scaffold-header div.actions a.new_existing,
876
- .as_touch .active-scaffold-header div.actions a.show_search,
877
- .as_touch .active-scaffold-header div.actions a.show_config_list,
878
- .as_touch .active-scaffold-header div.actions div.action_group div {
879
- padding: 7px 5px 7px 25px;
880
- }
881
-
882
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.new,
883
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.new_existing,
884
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.show_search,
885
- .as_touch .active-scaffold .active-scaffold-header div.actions > a.show_config_list,
886
- .as_touch .active-scaffold .active-scaffold-header div.actions div.action_group > div {
887
- padding: 7px 5px 7px 25px;
888
- background-position: 5px 50%;
889
- }
890
-
891
- .as_touch .actions .action_group ul li div {
892
- padding: 7px 5px 7px 25px;
893
- }
894
-
895
- .as_touch .actions .action_group ul li a {
896
- padding: 7px 5px 7px 25px;
897
- }
898
-
899
- .as_touch .active-scaffold-header h2 {
900
- padding: 4px 0px;
901
- }
902
-
903
- .as_touch .active-scaffold .active-scaffold-header div.actions a,
904
- .as_touch .active-scaffold .active-scaffold-header div.actions div {
905
- font: bold 14px arial;
906
- }
907
-
908
- .as_touch .active-scaffold .active-scaffold-header div.actions {
909
- right: 15px;
910
- }
911
-
912
- .as_touch tr.record {
913
- line-height: 130%;
914
- }
915
-
916
- .as_touch th a, .as_touch th a:visited {
917
- padding: 5px 2px 5px 5px;
918
- }
919
-
920
- .as_touch tr.record td {
921
- padding: 5px 10px;
922
- }