active_scaffold_clarity 3.0.24.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. data/CHANGELOG +179 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README +73 -0
  4. data/frontends/default/images/add.gif +0 -0
  5. data/frontends/default/images/arrow_down.gif +0 -0
  6. data/frontends/default/images/arrow_up.gif +0 -0
  7. data/frontends/default/images/close.gif +0 -0
  8. data/frontends/default/images/close_touch.png +0 -0
  9. data/frontends/default/images/config.png +0 -0
  10. data/frontends/default/images/cross.png +0 -0
  11. data/frontends/default/images/gears.png +0 -0
  12. data/frontends/default/images/indicator-small.gif +0 -0
  13. data/frontends/default/images/indicator.gif +0 -0
  14. data/frontends/default/images/magnifier.png +0 -0
  15. data/frontends/default/javascripts/jquery/active_scaffold.js +1049 -0
  16. data/frontends/default/javascripts/jquery/jquery.editinplace.js +743 -0
  17. data/frontends/default/javascripts/prototype/active_scaffold.js +1031 -0
  18. data/frontends/default/javascripts/prototype/dhtml_history.js +870 -0
  19. data/frontends/default/javascripts/prototype/form_enhancements.js +117 -0
  20. data/frontends/default/javascripts/prototype/rico_corner.js +370 -0
  21. data/frontends/default/stylesheets/stylesheet-ie.css +35 -0
  22. data/frontends/default/stylesheets/stylesheet.css +1093 -0
  23. data/frontends/default/views/_action_group.html.erb +24 -0
  24. data/frontends/default/views/_add_existing_form.html.erb +30 -0
  25. data/frontends/default/views/_base_form.html.erb +51 -0
  26. data/frontends/default/views/_create_form.html.erb +8 -0
  27. data/frontends/default/views/_create_form_on_list.html.erb +6 -0
  28. data/frontends/default/views/_field_search.html.erb +32 -0
  29. data/frontends/default/views/_form.html.erb +26 -0
  30. data/frontends/default/views/_form_association.html.erb +19 -0
  31. data/frontends/default/views/_form_association_footer.html.erb +47 -0
  32. data/frontends/default/views/_form_attribute.html.erb +20 -0
  33. data/frontends/default/views/_form_hidden_attribute.html.erb +2 -0
  34. data/frontends/default/views/_form_messages.html.erb +5 -0
  35. data/frontends/default/views/_horizontal_subform.html.erb +29 -0
  36. data/frontends/default/views/_horizontal_subform_header.html.erb +11 -0
  37. data/frontends/default/views/_horizontal_subform_record.html.erb +38 -0
  38. data/frontends/default/views/_human_conditions.html.erb +1 -0
  39. data/frontends/default/views/_list.html.erb +18 -0
  40. data/frontends/default/views/_list_actions.html.erb +15 -0
  41. data/frontends/default/views/_list_calculations.html.erb +16 -0
  42. data/frontends/default/views/_list_column_headings.html.erb +12 -0
  43. data/frontends/default/views/_list_header.html.erb +10 -0
  44. data/frontends/default/views/_list_inline_adapter.html.erb +10 -0
  45. data/frontends/default/views/_list_messages.html.erb +32 -0
  46. data/frontends/default/views/_list_pagination.html.erb +11 -0
  47. data/frontends/default/views/_list_pagination_links.html.erb +9 -0
  48. data/frontends/default/views/_list_record.html.erb +14 -0
  49. data/frontends/default/views/_list_record_columns.html.erb +8 -0
  50. data/frontends/default/views/_list_with_header.html.erb +32 -0
  51. data/frontends/default/views/_messages.html.erb +10 -0
  52. data/frontends/default/views/_render_field.js.rjs +14 -0
  53. data/frontends/default/views/_row.html.erb +12 -0
  54. data/frontends/default/views/_search.html.erb +34 -0
  55. data/frontends/default/views/_search_attribute.html.erb +10 -0
  56. data/frontends/default/views/_show.html.erb +8 -0
  57. data/frontends/default/views/_show_columns.html.erb +15 -0
  58. data/frontends/default/views/_update_actions.html.erb +9 -0
  59. data/frontends/default/views/_update_form.html.erb +6 -0
  60. data/frontends/default/views/_vertical_subform.html.erb +12 -0
  61. data/frontends/default/views/_vertical_subform_record.html.erb +38 -0
  62. data/frontends/default/views/action_confirmation.html.erb +13 -0
  63. data/frontends/default/views/add_existing.js.rjs +17 -0
  64. data/frontends/default/views/add_existing_form.html.erb +5 -0
  65. data/frontends/default/views/create.html.erb +5 -0
  66. data/frontends/default/views/delete.html.erb +13 -0
  67. data/frontends/default/views/destroy.js.rjs +23 -0
  68. data/frontends/default/views/edit_associated.js.rjs +11 -0
  69. data/frontends/default/views/field_search.html.erb +5 -0
  70. data/frontends/default/views/form_messages.js.rjs +1 -0
  71. data/frontends/default/views/list.html.erb +1 -0
  72. data/frontends/default/views/list.js.rjs +1 -0
  73. data/frontends/default/views/on_action_update.js.rjs +10 -0
  74. data/frontends/default/views/on_create.js.rjs +41 -0
  75. data/frontends/default/views/on_mark_all.js.rjs +12 -0
  76. data/frontends/default/views/on_update.js.rjs +28 -0
  77. data/frontends/default/views/render_field.js.rjs +1 -0
  78. data/frontends/default/views/search.html.erb +5 -0
  79. data/frontends/default/views/show.html.erb +5 -0
  80. data/frontends/default/views/update.html.erb +8 -0
  81. data/frontends/default/views/update_column.js.rjs +13 -0
  82. data/frontends/default/views/update_row.js.rjs +1 -0
  83. data/lib/active_scaffold.rb +386 -0
  84. data/lib/active_scaffold/actions/common_search.rb +22 -0
  85. data/lib/active_scaffold/actions/core.rb +191 -0
  86. data/lib/active_scaffold/actions/create.rb +149 -0
  87. data/lib/active_scaffold/actions/delete.rb +75 -0
  88. data/lib/active_scaffold/actions/field_search.rb +82 -0
  89. data/lib/active_scaffold/actions/list.rb +194 -0
  90. data/lib/active_scaffold/actions/mark.rb +75 -0
  91. data/lib/active_scaffold/actions/nested.rb +254 -0
  92. data/lib/active_scaffold/actions/search.rb +47 -0
  93. data/lib/active_scaffold/actions/show.rb +61 -0
  94. data/lib/active_scaffold/actions/subform.rb +27 -0
  95. data/lib/active_scaffold/actions/update.rb +151 -0
  96. data/lib/active_scaffold/active_record_permissions.rb +134 -0
  97. data/lib/active_scaffold/attribute_params.rb +212 -0
  98. data/lib/active_scaffold/bridges/ancestry/bridge.rb +5 -0
  99. data/lib/active_scaffold/bridges/ancestry/lib/ancestry_bridge.rb +39 -0
  100. data/lib/active_scaffold/bridges/bridge.rb +59 -0
  101. data/lib/active_scaffold/bridges/calendar_date_select/bridge.rb +16 -0
  102. data/lib/active_scaffold/bridges/calendar_date_select/lib/as_cds_bridge.rb +83 -0
  103. data/lib/active_scaffold/bridges/cancan/bridge.rb +12 -0
  104. data/lib/active_scaffold/bridges/cancan/lib/cancan_bridge.rb +107 -0
  105. data/lib/active_scaffold/bridges/carrierwave/bridge.rb +9 -0
  106. data/lib/active_scaffold/bridges/carrierwave/lib/carrierwave_bridge.rb +33 -0
  107. data/lib/active_scaffold/bridges/carrierwave/lib/carrierwave_bridge_helpers.rb +12 -0
  108. data/lib/active_scaffold/bridges/carrierwave/lib/form_ui.rb +45 -0
  109. data/lib/active_scaffold/bridges/carrierwave/lib/list_ui.rb +17 -0
  110. data/lib/active_scaffold/bridges/country_helper/bridge.rb +9 -0
  111. data/lib/active_scaffold/bridges/country_helper/lib/country_helper_bridge.rb +358 -0
  112. data/lib/active_scaffold/bridges/date_picker/bridge.rb +24 -0
  113. data/lib/active_scaffold/bridges/date_picker/lib/datepicker_bridge.rb +234 -0
  114. data/lib/active_scaffold/bridges/date_picker/public/javascripts/date_picker_bridge.js +22 -0
  115. data/lib/active_scaffold/bridges/dragonfly/bridge.rb +9 -0
  116. data/lib/active_scaffold/bridges/dragonfly/lib/dragonfly_bridge.rb +36 -0
  117. data/lib/active_scaffold/bridges/dragonfly/lib/dragonfly_bridge_helpers.rb +12 -0
  118. data/lib/active_scaffold/bridges/dragonfly/lib/form_ui.rb +27 -0
  119. data/lib/active_scaffold/bridges/dragonfly/lib/list_ui.rb +16 -0
  120. data/lib/active_scaffold/bridges/file_column/bridge.rb +11 -0
  121. data/lib/active_scaffold/bridges/file_column/lib/as_file_column_bridge.rb +46 -0
  122. data/lib/active_scaffold/bridges/file_column/lib/file_column_helpers.rb +59 -0
  123. data/lib/active_scaffold/bridges/file_column/lib/form_ui.rb +37 -0
  124. data/lib/active_scaffold/bridges/file_column/lib/list_ui.rb +26 -0
  125. data/lib/active_scaffold/bridges/file_column/test/functional/file_column_keep_test.rb +43 -0
  126. data/lib/active_scaffold/bridges/file_column/test/mock_model.rb +9 -0
  127. data/lib/active_scaffold/bridges/file_column/test/test_helper.rb +15 -0
  128. data/lib/active_scaffold/bridges/paperclip/bridge.rb +12 -0
  129. data/lib/active_scaffold/bridges/paperclip/lib/form_ui.rb +27 -0
  130. data/lib/active_scaffold/bridges/paperclip/lib/list_ui.rb +16 -0
  131. data/lib/active_scaffold/bridges/paperclip/lib/paperclip_bridge.rb +38 -0
  132. data/lib/active_scaffold/bridges/paperclip/lib/paperclip_bridge_helpers.rb +26 -0
  133. data/lib/active_scaffold/bridges/record_select/bridge.rb +5 -0
  134. data/lib/active_scaffold/bridges/record_select/lib/record_select_bridge.rb +92 -0
  135. data/lib/active_scaffold/bridges/semantic_attributes/bridge.rb +5 -0
  136. data/lib/active_scaffold/bridges/semantic_attributes/lib/semantic_attributes_bridge.rb +20 -0
  137. data/lib/active_scaffold/bridges/shared/date_bridge.rb +209 -0
  138. data/lib/active_scaffold/bridges/tiny_mce/bridge.rb +5 -0
  139. data/lib/active_scaffold/bridges/tiny_mce/lib/tiny_mce_bridge.rb +61 -0
  140. data/lib/active_scaffold/bridges/validation_reflection/bridge.rb +8 -0
  141. data/lib/active_scaffold/bridges/validation_reflection/lib/validation_reflection_bridge.rb +21 -0
  142. data/lib/active_scaffold/config/base.rb +62 -0
  143. data/lib/active_scaffold/config/core.rb +220 -0
  144. data/lib/active_scaffold/config/create.rb +51 -0
  145. data/lib/active_scaffold/config/delete.rb +34 -0
  146. data/lib/active_scaffold/config/field_search.rb +75 -0
  147. data/lib/active_scaffold/config/form.rb +53 -0
  148. data/lib/active_scaffold/config/list.rb +188 -0
  149. data/lib/active_scaffold/config/mark.rb +35 -0
  150. data/lib/active_scaffold/config/nested.rb +45 -0
  151. data/lib/active_scaffold/config/search.rb +69 -0
  152. data/lib/active_scaffold/config/show.rb +35 -0
  153. data/lib/active_scaffold/config/subform.rb +35 -0
  154. data/lib/active_scaffold/config/update.rb +46 -0
  155. data/lib/active_scaffold/configurable.rb +29 -0
  156. data/lib/active_scaffold/constraints.rb +184 -0
  157. data/lib/active_scaffold/data_structures/action_columns.rb +137 -0
  158. data/lib/active_scaffold/data_structures/action_link.rb +175 -0
  159. data/lib/active_scaffold/data_structures/action_links.rb +185 -0
  160. data/lib/active_scaffold/data_structures/actions.rb +45 -0
  161. data/lib/active_scaffold/data_structures/column.rb +366 -0
  162. data/lib/active_scaffold/data_structures/columns.rb +75 -0
  163. data/lib/active_scaffold/data_structures/error_message.rb +24 -0
  164. data/lib/active_scaffold/data_structures/nested_info.rb +123 -0
  165. data/lib/active_scaffold/data_structures/set.rb +62 -0
  166. data/lib/active_scaffold/data_structures/sorting.rb +168 -0
  167. data/lib/active_scaffold/extensions/action_controller_rendering.rb +22 -0
  168. data/lib/active_scaffold/extensions/action_view_rendering.rb +111 -0
  169. data/lib/active_scaffold/extensions/action_view_resolver.rb +7 -0
  170. data/lib/active_scaffold/extensions/active_association_reflection.rb +13 -0
  171. data/lib/active_scaffold/extensions/active_record_offset.rb +12 -0
  172. data/lib/active_scaffold/extensions/array.rb +7 -0
  173. data/lib/active_scaffold/extensions/localize.rb +10 -0
  174. data/lib/active_scaffold/extensions/name_option_for_datetime.rb +12 -0
  175. data/lib/active_scaffold/extensions/nil_id_in_url_params.rb +7 -0
  176. data/lib/active_scaffold/extensions/paginator_extensions.rb +26 -0
  177. data/lib/active_scaffold/extensions/reverse_associations.rb +62 -0
  178. data/lib/active_scaffold/extensions/routing_mapper.rb +34 -0
  179. data/lib/active_scaffold/extensions/to_label.rb +8 -0
  180. data/lib/active_scaffold/extensions/unsaved_associated.rb +61 -0
  181. data/lib/active_scaffold/extensions/unsaved_record.rb +20 -0
  182. data/lib/active_scaffold/extensions/usa_state.rb +46 -0
  183. data/lib/active_scaffold/finder.rb +345 -0
  184. data/lib/active_scaffold/helpers/association_helpers.rb +42 -0
  185. data/lib/active_scaffold/helpers/controller_helpers.rb +87 -0
  186. data/lib/active_scaffold/helpers/form_column_helpers.rb +321 -0
  187. data/lib/active_scaffold/helpers/human_condition_helpers.rb +59 -0
  188. data/lib/active_scaffold/helpers/id_helpers.rb +127 -0
  189. data/lib/active_scaffold/helpers/list_column_helpers.rb +375 -0
  190. data/lib/active_scaffold/helpers/pagination_helpers.rb +55 -0
  191. data/lib/active_scaffold/helpers/search_column_helpers.rb +254 -0
  192. data/lib/active_scaffold/helpers/show_column_helpers.rb +50 -0
  193. data/lib/active_scaffold/helpers/view_helpers.rb +379 -0
  194. data/lib/active_scaffold/locale/de.yml +111 -0
  195. data/lib/active_scaffold/locale/en.yml +115 -0
  196. data/lib/active_scaffold/locale/es.yml +115 -0
  197. data/lib/active_scaffold/locale/fr.yml +118 -0
  198. data/lib/active_scaffold/locale/hu.yml +63 -0
  199. data/lib/active_scaffold/locale/ja.yml +64 -0
  200. data/lib/active_scaffold/locale/ru.yml +119 -0
  201. data/lib/active_scaffold/marked_model.rb +38 -0
  202. data/lib/active_scaffold/paginator.rb +136 -0
  203. data/lib/active_scaffold/responds_to_parent.rb +70 -0
  204. data/lib/active_scaffold/version.rb +10 -0
  205. data/lib/active_scaffold_assets.rb +45 -0
  206. data/lib/active_scaffold_env.rb +13 -0
  207. data/lib/generators/active_scaffold/USAGE +29 -0
  208. data/lib/generators/active_scaffold/active_scaffold_generator.rb +20 -0
  209. data/lib/generators/active_scaffold_controller/USAGE +19 -0
  210. data/lib/generators/active_scaffold_controller/active_scaffold_controller_generator.rb +29 -0
  211. data/lib/generators/active_scaffold_controller/templates/controller.rb +4 -0
  212. data/lib/generators/active_scaffold_controller/templates/helper.rb +2 -0
  213. data/lib/generators/active_scaffold_setup/USAGE +10 -0
  214. data/lib/generators/active_scaffold_setup/active_scaffold_setup_generator.rb +59 -0
  215. data/public/blank.html +33 -0
  216. data/shoulda_macros/macros.rb +136 -0
  217. data/test/bridges/bridge_test.rb +47 -0
  218. data/test/config/base_test.rb +15 -0
  219. data/test/config/create_test.rb +55 -0
  220. data/test/config/list_test.rb +74 -0
  221. data/test/config/show_test.rb +43 -0
  222. data/test/config/update_test.rb +17 -0
  223. data/test/const_mocker.rb +36 -0
  224. data/test/data_structures/action_columns_test.rb +113 -0
  225. data/test/data_structures/action_link_test.rb +78 -0
  226. data/test/data_structures/action_links_test.rb +78 -0
  227. data/test/data_structures/actions_test.rb +25 -0
  228. data/test/data_structures/association_column_test.rb +42 -0
  229. data/test/data_structures/column_test.rb +185 -0
  230. data/test/data_structures/columns_test.rb +69 -0
  231. data/test/data_structures/error_message_test.rb +28 -0
  232. data/test/data_structures/set_test.rb +86 -0
  233. data/test/data_structures/sorting_test.rb +126 -0
  234. data/test/data_structures/standard_column_test.rb +24 -0
  235. data/test/data_structures/virtual_column_test.rb +23 -0
  236. data/test/extensions/active_record_test.rb +45 -0
  237. data/test/extensions/array_test.rb +12 -0
  238. data/test/helpers/form_column_helpers_test.rb +31 -0
  239. data/test/helpers/list_column_helpers_test.rb +31 -0
  240. data/test/helpers/pagination_helpers_test.rb +55 -0
  241. data/test/misc/active_record_permissions_test.rb +154 -0
  242. data/test/misc/attribute_params_test.rb +110 -0
  243. data/test/misc/configurable_test.rb +96 -0
  244. data/test/misc/constraints_test.rb +193 -0
  245. data/test/misc/finder_test.rb +93 -0
  246. data/test/misc/lang_test.rb +12 -0
  247. data/test/mock_app/app/controllers/application_controller.rb +10 -0
  248. data/test/mock_app/app/helpers/application_helper.rb +3 -0
  249. data/test/mock_app/config/boot.rb +110 -0
  250. data/test/mock_app/config/database.yml +16 -0
  251. data/test/mock_app/config/environment.rb +43 -0
  252. data/test/mock_app/config/environments/development.rb +17 -0
  253. data/test/mock_app/config/environments/production.rb +28 -0
  254. data/test/mock_app/config/environments/test.rb +28 -0
  255. data/test/mock_app/config/initializers/backtrace_silencers.rb +7 -0
  256. data/test/mock_app/config/initializers/inflections.rb +10 -0
  257. data/test/mock_app/config/initializers/mime_types.rb +5 -0
  258. data/test/mock_app/config/initializers/new_rails_defaults.rb +19 -0
  259. data/test/mock_app/config/initializers/session_store.rb +15 -0
  260. data/test/mock_app/config/locales/en.yml +5 -0
  261. data/test/mock_app/config/routes.rb +43 -0
  262. data/test/mock_app/db/test.sqlite3 +1 -0
  263. data/test/mock_app/public/blank.html +33 -0
  264. data/test/mock_app/public/images/active_scaffold/DO_NOT_EDIT +2 -0
  265. data/test/mock_app/public/images/active_scaffold/default/add.gif +0 -0
  266. data/test/mock_app/public/images/active_scaffold/default/arrow_down.gif +0 -0
  267. data/test/mock_app/public/images/active_scaffold/default/arrow_up.gif +0 -0
  268. data/test/mock_app/public/images/active_scaffold/default/close.gif +0 -0
  269. data/test/mock_app/public/images/active_scaffold/default/cross.png +0 -0
  270. data/test/mock_app/public/images/active_scaffold/default/indicator-small.gif +0 -0
  271. data/test/mock_app/public/images/active_scaffold/default/indicator.gif +0 -0
  272. data/test/mock_app/public/images/active_scaffold/default/magnifier.png +0 -0
  273. data/test/mock_app/public/javascripts/active_scaffold/DO_NOT_EDIT +2 -0
  274. data/test/mock_app/public/javascripts/active_scaffold/default/active_scaffold.js +532 -0
  275. data/test/mock_app/public/javascripts/active_scaffold/default/dhtml_history.js +867 -0
  276. data/test/mock_app/public/javascripts/active_scaffold/default/form_enhancements.js +117 -0
  277. data/test/mock_app/public/javascripts/active_scaffold/default/rico_corner.js +370 -0
  278. data/test/mock_app/public/stylesheets/active_scaffold/DO_NOT_EDIT +2 -0
  279. data/test/mock_app/public/stylesheets/active_scaffold/default/stylesheet-ie.css +35 -0
  280. data/test/mock_app/public/stylesheets/active_scaffold/default/stylesheet.css +842 -0
  281. data/test/model_stub.rb +55 -0
  282. data/test/run_all.rb +8 -0
  283. data/test/test_helper.rb +39 -0
  284. metadata +470 -0
@@ -0,0 +1,35 @@
1
+ /* IE hacks
2
+ ==================================== */
3
+
4
+ * html .active-scaffold-header,
5
+ .active-scaffold li.form-element,
6
+ .active-scaffold li.sub-section {
7
+ zoom: 1;
8
+ }
9
+
10
+ * html .active-scaffold td .messages-container {
11
+ border-top: solid 1px #DAFFCD;
12
+ }
13
+
14
+ * html .active-scaffold-header div.actions a.show_search {
15
+ background-image: none;
16
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../../images/active_scaffold/default/magnifier.png', sizingMethod='crop');
17
+ }
18
+
19
+ * html .active-scaffold .sub-form .association-record a.destroy {
20
+ background-image: none;
21
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../../images/active_scaffold/default/cross.png', sizingMethod='crop');
22
+ }
23
+
24
+ .active-scaffold-header div.actions a.disabled {
25
+ filter: alpha(opacity=50);
26
+ }
27
+
28
+ .active-scaffold .show-view dd,
29
+ .active-scaffold li.form-element dd {
30
+ float: none;
31
+ }
32
+
33
+ .active-scaffold li.form-element dt {
34
+ padding: 4px 0;
35
+ }
@@ -0,0 +1,1093 @@
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
+ .active-scaffold form,
11
+ .active-scaffold table,
12
+ .active-scaffold p,
13
+ .active-scaffold div,
14
+ .active-scaffold fieldset {
15
+ margin: 0;
16
+ padding: 0;
17
+ }
18
+
19
+ .active-scaffold {
20
+ margin: 5px 0;
21
+ }
22
+
23
+ .active-scaffold table {
24
+ width: 100%;
25
+ border-collapse: separate;
26
+ }
27
+
28
+ .active-scaffold a,
29
+ .active-scaffold a:visited {
30
+ color: #06c;
31
+ text-decoration: none;
32
+ }
33
+
34
+ .active-scaffold a.disabled {
35
+ color: #999;
36
+ }
37
+
38
+ .active-scaffold a:hover, .active-scaffold div.hover, .active-scaffold td span.hover {
39
+ background-color: #ff8;
40
+ }
41
+
42
+ .active-scaffold div.actions a img,
43
+ .active-scaffold td.actions a img {
44
+ border: none;
45
+ vertical-align: middle;
46
+ }
47
+
48
+ .active-scaffold div.actions a.disabled img,
49
+ .active-scaffold td.actions a.disabled img {
50
+ opacity: 0.5;
51
+ }
52
+
53
+ .active-scaffold .clear-fix {
54
+ clear: both;
55
+ }
56
+
57
+ noscript.active-scaffold {
58
+ border-left: solid 5px #f66;
59
+ background-color: #fbb;
60
+ font-size: 11px;
61
+ font-weight: bold;
62
+ padding: 5px 20px 5px 5px;
63
+ color: #333;
64
+ }
65
+
66
+ /* Header
67
+ ======================== */
68
+
69
+ .active-scaffold-header {
70
+ position: relative;
71
+ }
72
+
73
+ .blue-theme .active-scaffold-header {
74
+ background-color: #005CB8;
75
+ }
76
+
77
+ .active-scaffold-header h2 {
78
+ padding: 2px 0px;
79
+ margin: 0;
80
+ color: #555;
81
+ font: bold 160% arial, sans-serif;
82
+ }
83
+
84
+ .blue-theme .active-scaffold-header h2 {
85
+ color: #fff;
86
+ padding: 2px 5px 4px 5px;
87
+ }
88
+
89
+ .active-scaffold-header div.actions a,
90
+ .active-scaffold-header div.actions {
91
+ float: right;
92
+ font: bold 14px arial;
93
+ letter-spacing: -1px;
94
+ text-decoration: none;
95
+ padding: 1px 2px;
96
+ white-space: nowrap;
97
+ margin-left: 5px;
98
+ background-position: 1px 50%;
99
+ background-repeat: no-repeat;
100
+ }
101
+
102
+ .active-scaffold-header div.actions a {
103
+ padding: 5px 5px;
104
+ margin-left: 0px;
105
+ }
106
+
107
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions > a {
108
+ padding: 1px 5px;
109
+ }
110
+
111
+ .active-scaffold-header div.actions div.action_group {
112
+ display: inline;
113
+ float: right;
114
+ }
115
+
116
+ .active-scaffold-header div.actions div.action_group li a,
117
+ .active-scaffold-header div.actions div.action_group li div {
118
+ float: none;
119
+ margin: 0;
120
+ }
121
+
122
+ .active-scaffold-header div.actions .action_group ul {
123
+ line-height: 130%;
124
+ top: 19px;
125
+ }
126
+
127
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions .action_group ul {
128
+ top: 14px;
129
+ }
130
+
131
+ .view .active-scaffold-header div.actions a,
132
+ .view .active-scaffold-header div.actions div,
133
+ .view .active-scaffold-header div.actions div.action_group {
134
+ float: left;
135
+ }
136
+
137
+ .blue-theme .active-scaffold-header div.actions a {
138
+ color: #fff;
139
+ }
140
+
141
+ .active-scaffold-header div.actions a.disabled {
142
+ color: #666;
143
+ opacity: 0.5;
144
+ }
145
+
146
+ .blue-theme .active-scaffold-header div.actions a.disabled {
147
+ color: #fff;
148
+ opacity: 0.5;
149
+ }
150
+
151
+ .active-scaffold-header div.actions a.new,
152
+ .active-scaffold-header div.actions a.new_existing,
153
+ .active-scaffold-header div.actions a.show_search,
154
+ .active-scaffold-header div.actions a.show_config_list,
155
+ .active-scaffold-header div.actions div.action_group div {
156
+ margin:0;
157
+ padding: 5px 5px 5px 25px;
158
+ background-position: 5px 50%;
159
+ background-repeat: no-repeat;
160
+ }
161
+
162
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.new,
163
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.new_existing,
164
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.show_search,
165
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions > a.show_config_list,
166
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions div.action_group > div {
167
+ margin:0;
168
+ padding: 1px 5px 1px 20px;
169
+ background-position: 1px 50%;
170
+ background-repeat: no-repeat;
171
+ }
172
+
173
+ .active-scaffold-header div.actions div.action_group div {
174
+ background-image: url(../../../images/active_scaffold/default/gears.png); /* default icon for actions or override with css */
175
+ }
176
+
177
+ .active-scaffold-header div.actions a.show_config_list {
178
+ background-image: url(../../../images/active_scaffold/default/config.png);
179
+ }
180
+
181
+ .active-scaffold-header div.actions a.new,
182
+ .active-scaffold-header div.actions a.new_existing {
183
+ background-image: url(../../../images/active_scaffold/default/add.gif);
184
+ }
185
+
186
+ .active-scaffold-header div.actions a.show_search {
187
+ background-image: url(../../../images/active_scaffold/default/magnifier.png);
188
+ }
189
+
190
+ .blue-theme .active-scaffold-header div.actions a:hover {
191
+ background-color: #378CDF;
192
+ }
193
+
194
+ .active-scaffold-header div.actions a.disabled:hover {
195
+ background-color: transparent;
196
+ cursor: default;
197
+ }
198
+
199
+ .active-scaffold-header div.actions {
200
+ position: absolute;
201
+ right: 5px;
202
+ top: 5px;
203
+ text-align: right;
204
+ }
205
+
206
+ /* Table :: Column Headers
207
+ ============================= */
208
+
209
+ .active-scaffold th {
210
+ background-color: #555;
211
+ text-align: left;
212
+ }
213
+
214
+ .active-scaffold th a,
215
+ .active-scaffold th p {
216
+ font: bold 11px arial, sans-serif;
217
+ display: block;
218
+ background-color: #555;
219
+ }
220
+
221
+ .active-scaffold th a, .active-scaffold th a:visited {
222
+ color: #fff;
223
+ padding: 2px 2px 2px 5px;
224
+ }
225
+
226
+ .active-scaffold th p {
227
+ color: #eee;
228
+ padding: 2px 5px;
229
+ }
230
+
231
+ .active-scaffold th a:hover {
232
+ background-color: #000;
233
+ color: #ff8;
234
+ }
235
+
236
+ .active-scaffold th.sorted {
237
+ background-color: #333;
238
+ }
239
+
240
+ .active-scaffold th.sorted a {
241
+ padding-right: 18px;
242
+ }
243
+
244
+ .active-scaffold th.asc a,
245
+ .active-scaffold th.asc a:hover {
246
+ background: #333 url(../../../images/active_scaffold/default/arrow_up.gif) right 50% no-repeat;
247
+ }
248
+
249
+ .active-scaffold th.desc a,
250
+ .active-scaffold th.desc a:hover {
251
+ background: #333 url(../../../images/active_scaffold/default/arrow_down.gif) right 50% no-repeat;
252
+ }
253
+
254
+ .active-scaffold th.loading a,
255
+ .active-scaffold th.loading a:hover {
256
+ background: #333 url(../../../images/active_scaffold/default/indicator-small.gif) right 50% no-repeat;
257
+ }
258
+
259
+ .active-scaffold th .mark_heading {
260
+ margin-left: 5px;
261
+ }
262
+
263
+ .active-scaffold th.hidden, .active-scaffold td.hidden {
264
+ display: none;
265
+ }
266
+
267
+ /* Table :: Record Rows
268
+ ============================= */
269
+
270
+ .active-scaffold tr.record {
271
+ background-color: #E6F2FF;
272
+ }
273
+ .active-scaffold tr.record td {
274
+ padding: 5px 4px;
275
+ color: #333;
276
+ font-family: Verdana, sans-serif;
277
+ font-size: 11px;
278
+ border-bottom: solid 1px #C5DBF7;
279
+ border-left: solid 1px #C5DBF7;
280
+ }
281
+
282
+ .active-scaffold tr.record td.messages-container {
283
+ padding: 0px;
284
+ }
285
+
286
+ .active-scaffold tr.even-record {
287
+ background-color: #fff;
288
+ }
289
+ .active-scaffold tr.even-record td {
290
+ border-left-color: #ddd;
291
+ }
292
+
293
+ .active-scaffold tr.record td.sorted {
294
+ background-color: #B9DCFF;
295
+ border-bottom-color: #AFD0F5;
296
+ }
297
+
298
+ .active-scaffold tr.even-record td.sorted {
299
+ background-color: #E6F2FF;
300
+ border-bottom-color: #AFD0F5;
301
+ }
302
+
303
+ .active-scaffold tbody.records td.empty {
304
+ color: #999;
305
+ text-align: center;
306
+ }
307
+
308
+ .active-scaffold td.numeric,
309
+ .active-scaffold-calculations td {
310
+ text-align: right;
311
+ }
312
+
313
+ /* Table :: Actions (Edit, Delete)
314
+ ============================= */
315
+ .active-scaffold tr.record td.actions {
316
+ border-right: solid 1px #ccc;
317
+ padding: 0;
318
+ min-width: 1%;
319
+ }
320
+
321
+ .active-scaffold tr.record td.actions table {
322
+ float: right;
323
+ width: auto;
324
+ margin-right: 5px;
325
+ }
326
+
327
+ .active-scaffold tr.record td.actions table td {
328
+ border: none;
329
+ text-align: right;
330
+ padding: 0 2px;
331
+ }
332
+
333
+ .active-scaffold tr.record td.actions a,
334
+ .active-scaffold tr.record td.actions div {
335
+ font: bold 11px verdana, sans-serif;
336
+ letter-spacing: -1px;
337
+ padding: 2px;
338
+ margin: 0 2px;
339
+ line-height: 16px;
340
+ white-space: nowrap;
341
+ }
342
+
343
+ .active-scaffold tr.record td.actions a.disabled {
344
+ color: #666;
345
+ opacity: 0.5;
346
+ }
347
+
348
+ .active-scaffold .actions .action_group div:hover {
349
+ background-color: #ff8;
350
+ }
351
+
352
+ .active-scaffold .actions .action_group {
353
+ position: relative;
354
+ text-align: left;
355
+ color: #0066CC;
356
+ }
357
+
358
+ .active-scaffold .actions .action_group ul {
359
+ border: 2px solid #005CB8;
360
+ list-style-type: none;
361
+ margin: 0;
362
+ padding: 0;
363
+ position: absolute;
364
+ line-height: 200%;
365
+ display: none;
366
+ width: 150px;
367
+ right: 0px;
368
+ }
369
+
370
+ .active-scaffold .actions .action_group ul ul {
371
+ display: none;
372
+ position: absolute;
373
+ top: 0;
374
+ right: 150px;
375
+ }
376
+
377
+ .active-scaffold .actions .action_group ul li {
378
+ background: none repeat scroll 0 0 #EEE;
379
+ border-top: 1px dashed #222;
380
+ display: block;
381
+ position: relative;
382
+ width: auto;
383
+ z-index: 2;
384
+ }
385
+
386
+ .active-scaffold .actions .action_group ul li div {
387
+ margin: 0;
388
+ padding: 5px 5px 5px 25px;
389
+ background-position: 5px 50%;
390
+ background-repeat: no-repeat;
391
+ }
392
+
393
+ .active-scaffold .actions .action_group ul li a {
394
+ display: block;
395
+ color: #333;
396
+ margin: 0;
397
+ padding: 5px 5px 5px 25px;
398
+ background-position: 5px 50%;
399
+ background-repeat: no-repeat;
400
+ }
401
+
402
+ .active-scaffold .actions .action_group ul li.top {
403
+ border-top: 0px solid #005CB8;
404
+ }
405
+
406
+ .active-scaffold .actions .action_group:hover ul ul,
407
+ .active-scaffold .actions .action_group:hover ul ul ul {
408
+ display: none;
409
+ }
410
+
411
+ .active-scaffold .actions .action_group:hover ul,
412
+ .active-scaffold .actions .action_group ul li:hover > ul,
413
+ .active-scaffold .actions .action_group ul ul li:hover ul {
414
+ display: block;
415
+ }
416
+
417
+ /* Table :: Inline Adapter
418
+ ============================= */
419
+
420
+ .active-scaffold .view {
421
+ background-color: #DAFFCD;
422
+ padding: 4px;
423
+ border: solid 1px #7FcF00;
424
+ }
425
+
426
+ .active-scaffold tbody.records td.inline-adapter-cell .view {
427
+ border-top: none;
428
+ }
429
+
430
+ .active-scaffold .before-header td.inline-adapter-cell .view {
431
+ border-bottom: none;
432
+ }
433
+
434
+ .active-scaffold a.inline-adapter-close {
435
+ float: right;
436
+ text-indent: -4000px;
437
+ width: 16px;
438
+ height: 17px;
439
+ background: url(../../../images/active_scaffold/default/close.gif) 0 0 no-repeat;
440
+ }
441
+
442
+ /* Nested
443
+ ======================== */
444
+
445
+ .blue-theme .active-scaffold .active-scaffold-header,
446
+ .blue-theme .active-scaffold .active-scaffold-footer {
447
+ background-color: #1F7F00;
448
+
449
+ background: transparent;
450
+ }
451
+
452
+ .active-scaffold .active-scaffold .active-scaffold-header {
453
+ margin-right: 15px;
454
+ }
455
+
456
+ .active-scaffold .active-scaffold .active-scaffold-header h2 {
457
+ font-size: 12px;
458
+ font-weight: bold;
459
+ }
460
+
461
+ .blue-theme .active-scaffold .active-scaffold-header h2,
462
+ .active-scaffold .active-scaffold .active-scaffold-footer {
463
+ color: #444;
464
+ }
465
+
466
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions {
467
+ top: 0px;
468
+ right: 0px;
469
+ }
470
+
471
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions a,
472
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions div {
473
+ font: bold 11px verdana, sans-serif;
474
+ }
475
+
476
+ .blue-theme .active-scaffold .active-scaffold-header div.actions a,
477
+ .blue-theme .active-scaffold .active-scaffold-header div.actions a:visited {
478
+ color: #06c;
479
+ }
480
+
481
+ .blue-theme .active-scaffold .active-scaffold-header div.actions a:hover {
482
+ background-color: #ff8;
483
+ }
484
+
485
+ .active-scaffold .active-scaffold .view {
486
+ background-color: transparent;
487
+ padding: 0px;
488
+ border: none;
489
+ }
490
+
491
+ .active-scaffold .active-scaffold td {
492
+ background-color: #ECFFE7;
493
+ border-bottom: solid 1px #CDF7C5;
494
+ border-left: solid 1px #CDF7C5;
495
+ }
496
+
497
+ .active-scaffold .active-scaffold td.inline-adapter-cell {
498
+ background-color: #FFFFBB;
499
+ padding: 4px;
500
+ border: solid 1px #DDDF37;
501
+ border-top: none;
502
+ }
503
+
504
+ .active-scaffold .active-scaffold .active-scaffold td.inline-adapter-cell {
505
+ background-color: #DAFFCD;
506
+ padding: 4px;
507
+ border: solid 1px #7FcF00;
508
+ border-top: none;
509
+ }
510
+
511
+ .active-scaffold .active-scaffold .active-scaffold-footer {
512
+ font-size: 11px;
513
+ }
514
+
515
+ /* Footer
516
+ ========================== */
517
+
518
+ .active-scaffold-calculations td {
519
+ background-color: #eee;
520
+ border-top: 2px solid #005CB8;
521
+ font: bold 12px arial, sans-serif;
522
+ }
523
+
524
+ .active-scaffold .active-scaffold-footer {
525
+ padding: 3px 0px 2px 0px;
526
+ border-bottom: none;
527
+ font: bold 12px arial, sans-serif;
528
+ }
529
+
530
+ .blue-theme .active-scaffold-footer {
531
+ background-color: #005CB8;
532
+ color: #ccc;
533
+ }
534
+
535
+ .active-scaffold-footer .active-scaffold-pagination {
536
+ float: right;
537
+ white-space: nowrap;
538
+ margin-right: 5px;
539
+ }
540
+
541
+ .blue-theme .active-scaffold-footer .active-scaffold-records {
542
+ margin-left: 5px;
543
+ }
544
+
545
+ .active-scaffold-footer a {
546
+ text-decoration: none;
547
+ letter-spacing: 0;
548
+ padding: 0 2px;
549
+ margin: 0 -2px;
550
+ font: bold 12px arial, sans-serif;
551
+ }
552
+
553
+ .blue-theme .active-scaffold-footer a,
554
+ .blue-theme .active-scaffold-footer a:visited {
555
+ color: #fff;
556
+ }
557
+
558
+ .blue-theme .active-scaffold-footer a:hover {
559
+ background-color: #378CDF;
560
+ }
561
+
562
+ .active-scaffold-footer .next {
563
+ margin-left: 0;
564
+ padding-left: 5px;
565
+ border-left: solid 1px #ccc;
566
+ }
567
+
568
+ .active-scaffold-footer .previous {
569
+ margin-right: 0;
570
+ padding-right: 5px;
571
+ border-right: solid 1px #ccc;
572
+ }
573
+
574
+ /* Messages
575
+ ========================= */
576
+
577
+ .active-scaffold .messages-container,
578
+ .active-scaffold .active-scaffold .messages-container{
579
+ padding: 0;
580
+ margin: 0 7px;
581
+ border: none;
582
+ }
583
+
584
+ .active-scaffold .empty-message, .active-scaffold .filtered-message {
585
+ background-color: #e8e8e8;
586
+ padding: 4px;
587
+ text-align: center;
588
+ color: #666;
589
+ }
590
+
591
+ .active-scaffold .message {
592
+ font-size: 11px;
593
+ font-weight: bold;
594
+ padding: 5px 20px 5px 5px;
595
+ color: #333;
596
+ position: relative;
597
+ margin: 2px 7px;
598
+ line-height: 12px;
599
+ }
600
+
601
+ .active-scaffold .message a {
602
+ position: absolute;
603
+ right: 10px;
604
+ top: 4px;
605
+ padding: 0;
606
+ font: bold 11px verdana, sans-serif;
607
+ letter-spacing: -1px;
608
+ }
609
+
610
+ .active-scaffold .messages-container .message {
611
+ margin: 0;
612
+ }
613
+
614
+ .active-scaffold .error-message {
615
+ border-left: solid 5px #f66;
616
+ background-color: #fbb;
617
+ }
618
+
619
+ .active-scaffold .warning-message {
620
+ border-left: solid 5px #ff6;
621
+ background-color: #ffb;
622
+ }
623
+
624
+ .active-scaffold .info-message {
625
+ border-left: solid 5px #66f;
626
+ background-color: #bbf;
627
+ }
628
+
629
+ /* Error Styling
630
+ ========================== */
631
+
632
+ .active-scaffold .errorExplanation {
633
+ background-color: #fcc;
634
+ margin: 2px 0;
635
+ border: solid 1px #f66;
636
+ }
637
+
638
+ .active-scaffold fieldset {
639
+ clear: both;
640
+ }
641
+
642
+ .active-scaffold .errorExplanation h2 {
643
+ padding: 2px 5px;
644
+ color: #333;
645
+ font-size: 11px;
646
+ margin: 0;
647
+ letter-spacing: 0;
648
+ font-family: Verdana;
649
+ background-color: #f66;
650
+ }
651
+
652
+ .active-scaffold .errorExplanation ul {
653
+ margin: 0;
654
+ padding: 0 2px 4px 25px;
655
+ list-style: disc;
656
+ }
657
+
658
+ .active-scaffold .errorExplanation p {
659
+ font-size: 11px;
660
+ padding: 2px 5px;
661
+ font-family: Verdana;
662
+ margin: 0;
663
+ }
664
+
665
+ .active-scaffold .errorExplanation ul li {
666
+ font: bold 11px verdana;
667
+ letter-spacing: -1px;
668
+ margin: 0;
669
+ padding: 0;
670
+ background-color: transparent;
671
+ }
672
+
673
+ /* Loading Indicators
674
+ ============================== */
675
+
676
+ .active-scaffold .loading-indicator {
677
+ vertical-align: text-bottom;
678
+ width: 16px;
679
+ margin: 0;
680
+ }
681
+
682
+ .active-scaffold .active-scaffold-header .loading-indicator {
683
+ margin-bottom: 3px;
684
+ }
685
+
686
+ /* Show
687
+ ============================= */
688
+
689
+ .active-scaffold .show-view dl {
690
+ margin-left: 5px;
691
+ }
692
+
693
+ .active-scaffold .show-view dt {
694
+ width: 12em;
695
+ float: left;
696
+ clear: left;
697
+ font: normal 11px verdana, sans-serif;
698
+ color: #555;
699
+ line-height: 16px;
700
+ }
701
+
702
+ .active-scaffold .show-view dd {
703
+ float: left;
704
+ font: bold 14px arial;
705
+ padding-left: 5px;
706
+ margin-bottom: 5px;
707
+ }
708
+
709
+ /* Form
710
+ ============================== */
711
+
712
+ .active-scaffold .submit {
713
+ font-weight: bold;
714
+ font-size: 14px;
715
+ font-family: Arial, sans-serif;
716
+ letter-spacing: 0;
717
+ margin: 0;
718
+ margin-top: 5px;
719
+ }
720
+
721
+ .active-scaffold form p {
722
+ clear: both;
723
+ }
724
+
725
+ .active-scaffold fieldset {
726
+ border: none;
727
+ }
728
+
729
+ .active-scaffold h4,
730
+ .active-scaffold h5 {
731
+ padding: 2px;
732
+ margin: 0;
733
+ text-transform: none;
734
+ color: #1F7F00;
735
+ letter-spacing: -1px;
736
+ font: bold 16px arial;
737
+ }
738
+
739
+ .active-scaffold h5 {
740
+ padding: 0;
741
+ margin: 5px 0 2px 0;
742
+ font-size: 14px;
743
+ letter-spacing: 0;
744
+ }
745
+
746
+ .active-scaffold ol {
747
+ clear: both;
748
+ float: none;
749
+ padding: 2px;
750
+ margin-left: 5px;
751
+ list-style: none;
752
+ }
753
+
754
+ .active-scaffold p.form-footer {
755
+ clear: both;
756
+ }
757
+
758
+ .active-scaffold a.as_cancel,
759
+ .active-scaffold p.form-footer a {
760
+ font: bold 14px arial, sans-serif;
761
+ letter-spacing: 0;
762
+ }
763
+
764
+ /* Form :: Fields
765
+ ============================== */
766
+
767
+ .active-scaffold li.form-element {
768
+ clear: both;
769
+ }
770
+
771
+ .active-scaffold label {
772
+ font: normal 11px verdana, sans-serif;
773
+ color: #555;
774
+ }
775
+
776
+ .active-scaffold li.form-element dt {
777
+ float: left;
778
+ width: 12em;
779
+ padding: 6px 0;
780
+ }
781
+
782
+ .active-scaffold li.form-element dd {
783
+ float: left;
784
+ }
785
+
786
+ .active-scaffold li.form-element dd p,
787
+ .active-scaffold li.form-element dd input[type="checkbox"] {
788
+ margin-top: 6px;
789
+ }
790
+
791
+ .active-scaffold .form dd {
792
+ margin: 0;
793
+ }
794
+
795
+
796
+ .active-scaffold .description {
797
+ display: inline-block;
798
+ color: #999;
799
+ font-size: 10px;
800
+ margin-left: 5px;
801
+ }
802
+
803
+ .active-scaffold .required label {
804
+ font-weight: bold;
805
+ }
806
+
807
+ .active-scaffold label.example {
808
+ font-size: 11px;
809
+ font-family: arial;
810
+ color: #888;
811
+ }
812
+
813
+ .active-scaffold input.text-input,
814
+ .active-scaffold select {
815
+ font: bold 16px arial;
816
+ letter-spacing: -1px;
817
+ border: solid 1px #1F7F00;
818
+ }
819
+
820
+ .active-scaffold input.text-input {
821
+ padding: 2px;
822
+ }
823
+
824
+ .active-scaffold .fieldWithErrors input,
825
+ .active-scaffold .field_with_errors input,
826
+ .active-scaffold .fieldWithErrors textarea,
827
+ .active-scaffold .field_with_errors textarea,
828
+ .active-scaffold .fieldWithErrors select,
829
+ .active-scaffold .field_with_errors select {
830
+ border: solid 1px #f00;
831
+ }
832
+
833
+ .active-scaffold select {
834
+ padding: 1px;
835
+ }
836
+
837
+ .active-scaffold input.example {
838
+ color: #aaa;
839
+ }
840
+
841
+ .active-scaffold select:focus,
842
+ .active-scaffold input.text-input:focus {
843
+ background-color: #ffc;
844
+ }
845
+
846
+ .active-scaffold textarea {
847
+ font-family: Arial, sans-serif;
848
+ font-size: 12px;
849
+ padding: 1px;
850
+ border: solid 1px #1F7F00;
851
+ }
852
+
853
+ .active-scaffold .checkbox-list {
854
+ padding-left: 0px;
855
+ }
856
+
857
+ .active-scaffold .checkbox-list li {
858
+ padding-right: 5px;
859
+ display: inline;
860
+ }
861
+
862
+ .active-scaffold .checkbox-list li label {
863
+ padding: 0 0 0 2px;
864
+ }
865
+
866
+ .active-scaffold .draggable-list {
867
+ float: left;
868
+ width: 300px;
869
+ margin-right: 15px;
870
+ min-height: 30px;
871
+ max-height: 100px;
872
+ overflow: auto;
873
+ background-color: #FFFF88;
874
+ }
875
+
876
+ .active-scaffold .draggable-list.hover {
877
+ opacity: 0.5;
878
+ }
879
+
880
+ .active-scaffold .draggable-list.selected {
881
+ background-color: #7FCF00;
882
+ }
883
+
884
+ .active-scaffold .draggable-list li {
885
+ display: block;
886
+ }
887
+
888
+ .active-scaffold .draggable-list input {
889
+ display: none;
890
+ }
891
+
892
+ /* Form :: Sub-Sections
893
+ ============================== */
894
+
895
+ .active-scaffold li.sub-section {
896
+ clear: left;
897
+ padding: 5px 0;
898
+ }
899
+
900
+ /* Form :: Association Sub-Forms
901
+ ============================== */
902
+
903
+ .active-scaffold .sub-form {
904
+ float: left;
905
+ clear: left;
906
+ padding: 5px 0;
907
+ padding-left: 5px;
908
+ }
909
+
910
+ .active-scaffold .sub-form h5 {
911
+ margin-left: -5px;
912
+ }
913
+
914
+ .active-scaffold .sub-form table,
915
+ .active-scaffold .sub-form table td {
916
+ width: auto;
917
+ background: none;
918
+ }
919
+
920
+ .active-scaffold .sub-form table th {
921
+ font: normal 10px verdana, sans-serif;
922
+ color: #555;
923
+ padding: 0 5px 0 1px;
924
+ background: none;
925
+ }
926
+
927
+ .active-scaffold .horizontal-sub-form td dt label {
928
+ display: none;
929
+ }
930
+
931
+ .active-scaffold .sub-form .checkbox-list {
932
+ padding: 0 2px 2px 2px;
933
+ background-color: #fff;
934
+ border: solid 1px #1F7F00;
935
+ }
936
+
937
+ .active-scaffold .sub-form .checkbox-list label {
938
+ display: block;
939
+ }
940
+
941
+ .active-scaffold .sub-form table td {
942
+ border: none;
943
+ background-color: transparent;
944
+ padding: 1px;
945
+ vertical-align: top;
946
+ color: #999;
947
+ }
948
+
949
+ .active-scaffold .sub-form .actions {
950
+ vertical-align: middle;
951
+ background-color: transparent;
952
+ clear: left;
953
+ }
954
+
955
+ .active-scaffold .sub-form .association-record a.destroy {
956
+ font-weight: bold;
957
+ display: block;
958
+ height: 16px;
959
+ padding: 0;
960
+ width: 16px;
961
+ text-indent: -4000px;
962
+ background: url(../../../images/active_scaffold/default/cross.png) 0 0 no-repeat;
963
+ }
964
+
965
+ .active-scaffold .sub-form .locked a.destroy {
966
+ display: none;
967
+ }
968
+
969
+ .active-scaffold .sub-form .association-record a {
970
+ font: bold 12px arial;
971
+ }
972
+
973
+ .active-scaffold .sub-form input.text-input,
974
+ .active-scaffold .sub-form select {
975
+ letter-spacing: 0;
976
+ font: bold 12px arial;
977
+ }
978
+
979
+ .active-scaffold .sub-form .footer-wrapper {
980
+ margin-top: 3px;
981
+ margin-right: 10px;
982
+ }
983
+
984
+ .active-scaffold .sub-form .footer {
985
+ color: #999;
986
+ padding: 3px 5px;
987
+ }
988
+
989
+ .active-scaffold .sub-form .footer select,
990
+ .active-scaffold .sub-form .footer input {
991
+ font-weight: bold;
992
+ font-size: 12px;
993
+ padding: 0;
994
+ }
995
+
996
+ .active-scaffold a.visibility-toggle {
997
+ font-size: 100%;
998
+ }
999
+
1000
+ .active-scaffold-found {
1001
+ float:left;
1002
+ }
1003
+
1004
+
1005
+ .active-scaffold-component > .active-scaffold-header h2 {
1006
+ border: none;
1007
+ }
1008
+ .active-scaffold-component > .active-scaffold-header h2 a,
1009
+ .active-scaffold-component > .active-scaffold-header h2 a:active,
1010
+ .active-scaffold-component > .active-scaffold-header h2 a:visited {
1011
+ text-decoration: none;
1012
+ color: inherit;
1013
+ }
1014
+
1015
+
1016
+ .as_touch a.inline-adapter-close {
1017
+ width: 25px;
1018
+ height: 27px;
1019
+ background: url(../../../images/active_scaffold/default/close_touch.png) 0 0 no-repeat;
1020
+ }
1021
+
1022
+ .as_touch .as_paginate {
1023
+ font-size: 20px;
1024
+ padding: 3px 10px;
1025
+ }
1026
+
1027
+ .as_touch .active-scaffold-header div.actions a {
1028
+ padding: 7px 5px;
1029
+ }
1030
+
1031
+ .as_touch .active-scaffold .active-scaffold-header div.actions a {
1032
+ padding: 7px 5px;
1033
+ }
1034
+
1035
+ .as_touch .active-scaffold-header div.actions .action_group ul {
1036
+ line-height: 130%;
1037
+ top: 23px;
1038
+ }
1039
+
1040
+ .as_touch .active-scaffold .active-scaffold-header div.actions .action_group ul {
1041
+ top: 23px;
1042
+ }
1043
+
1044
+ .as_touch .active-scaffold-header div.actions a.new,
1045
+ .as_touch .active-scaffold-header div.actions a.new_existing,
1046
+ .as_touch .active-scaffold-header div.actions a.show_search,
1047
+ .as_touch .active-scaffold-header div.actions a.show_config_list,
1048
+ .as_touch .active-scaffold-header div.actions div.action_group div {
1049
+ padding: 7px 5px 7px 25px;
1050
+ }
1051
+
1052
+ .as_touch .active-scaffold .active-scaffold-header div.actions > a.new,
1053
+ .as_touch .active-scaffold .active-scaffold-header div.actions > a.new_existing,
1054
+ .as_touch .active-scaffold .active-scaffold-header div.actions > a.show_search,
1055
+ .as_touch .active-scaffold .active-scaffold-header div.actions > a.show_config_list,
1056
+ .as_touch .active-scaffold .active-scaffold-header div.actions div.action_group > div {
1057
+ padding: 7px 5px 7px 25px;
1058
+ background-position: 5px 50%;
1059
+ }
1060
+
1061
+ .as_touch .actions .action_group ul li div {
1062
+ padding: 7px 5px 7px 25px;
1063
+ }
1064
+
1065
+ .as_touch .actions .action_group ul li a {
1066
+ padding: 7px 5px 7px 25px;
1067
+ }
1068
+
1069
+ .as_touch .active-scaffold-header h2 {
1070
+ padding: 4px 0px;
1071
+ }
1072
+
1073
+ .as_touch .active-scaffold .active-scaffold-header div.actions a,
1074
+ .as_touch .active-scaffold .active-scaffold-header div.actions div {
1075
+ font: bold 14px arial;
1076
+ }
1077
+
1078
+ .as_touch .active-scaffold .active-scaffold-header div.actions {
1079
+ right: 15px;
1080
+ }
1081
+
1082
+ .as_touch tr.record {
1083
+ line-height: 130%;
1084
+ }
1085
+
1086
+ .as_touch th a, .as_touch th a:visited {
1087
+ color: #fff;
1088
+ padding: 5px 2px 5px 5px;
1089
+ }
1090
+
1091
+ .as_touch tr.record td {
1092
+ padding: 5px 10px;
1093
+ }