active_scaffold 3.2.17 → 3.2.18

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