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,7 +0,0 @@
1
- var action_link_close = ActiveScaffold.ActionLink.Abstract.prototype.close;
2
- ActiveScaffold.ActionLink.Abstract.prototype.close = function() {
3
- this.adapter.select('textarea.mceEditor').each(function(elem) {
4
- tinyMCE.execCommand('mceRemoveControl', false, elem.id);
5
- });
6
- action_link_close.apply(this);
7
- };
@@ -1,54 +0,0 @@
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='#{image_path('active_scaffold/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='#{image_path('active_scaffold/cross.png')}', sizingMethod='crop');
22
- }
23
- * html .active-scaffold-header div.actions a.new,
24
- * html .active-scaffold-header div.actions a.new_existing {
25
- background-image: none;
26
- filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='#{image_path('active_scaffold/add.png')}', sizingMethod='crop');
27
- }
28
- * html .active-scaffold-header th.asc a,
29
- * html .active-scaffold-header th.asc a:hover {
30
- background-image: none;
31
- filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='#{image_path('active_scaffold/arrow_up.png')}', sizingMethod='crop');
32
- }
33
- * html .active-scaffold-header th.desc a,
34
- * html .active-scaffold-header th.desc a:hover {
35
- background-image: none;
36
- filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='#{image_path('active_scaffold/arrow_down.png')}', sizingMethod='crop');
37
- }
38
- * html .active-scaffold-header a.inline-adapter-close {
39
- background-image: none;
40
- filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='#{image_path('active_scaffold/close.png')}', sizingMethod='crop');
41
- }
42
-
43
- .active-scaffold-header div.actions a.disabled {
44
- filter: alpha(opacity=50);
45
- }
46
-
47
- .active-scaffold .show-view dd,
48
- .active-scaffold li.form-element dd {
49
- float: none;
50
- }
51
-
52
- .active-scaffold li.form-element dt {
53
- padding: 4px 0;
54
- }
@@ -1,14 +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
- @import 'active_scaffold_layout';
11
- @import 'active_scaffold_images';
12
- @import 'jquery-ui';
13
- @import 'active_scaffold_extensions';
14
- @import 'active_scaffold_colors';
@@ -1,395 +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
- $disabled_color: #999 !default;
12
- $actions_disabled_color: #666 !default;
13
- $link_color: #06c !default;
14
- $hover_bg: #ff8 !default;
15
- $header_color: #555 !default;
16
-
17
- $column_header_bg: $header_color !default;
18
- $column_header_link_color: #fff !default;
19
- $column_header_link_hover_bg: #000 !default;
20
- $column_header_link_hover_color: #ff8 !default;
21
- $column_header_color: #eee !default;
22
- $column_header_sorted_bg: #333 !default;
23
-
24
- $column_bg: #E6F2FF !default;
25
- $column_even_bg: #fff !default;
26
- $column_color: #333 !default;
27
- $column_empty_color: #999 !default;
28
- $column_border_color: #C5DBF7 !default;
29
- $column_even_border_color: #ddd !default;
30
- $column_actions_border_color: #ccc !default;
31
-
32
- $column_sorted_bg: #B9DCFF !default;
33
- $column_sorted_border_color: #AFD0F5 !default;
34
- $column_even_sorted_bg: #E6F2FF !default;
35
- $column_even_sorted_border_color: #AFD0F5 !default;
36
-
37
- $calculations_bg: #eee !default;
38
- $calculations_border_color: #005CB8 !default;
39
-
40
- $action_group_color: #0066CC !default;
41
- $action_group_hover_bg: #ff8 !default;
42
- $action_group_border_color: #005CB8 !default;
43
- $action_group_items_bg: #EEE !default;
44
- $action_group_items_border_color: #222 !default;
45
- $action_group_link_color: $column_color !default;
46
-
47
- $nested_bg: #DAFFCD !default;
48
- $nested_border_color: #7FCF00 !default;
49
- $nested_footer_color: #444 !default;
50
- $nested_column_bg: #ECFFE7 !default;
51
- $nested_column_border_color: $column_border_color !default;
52
-
53
- $second_nested_bg: #FFFFBB !default;
54
- $second_nested_border_color: #DDDF37 !default;
55
-
56
- $third_nested_bg: $nested_bg !default;
57
- $third_nested_border_color: $nested_border_color !default;
58
-
59
- $pagination_border_color: #ccc !default;
60
- $msg_color: #333 !default;
61
- $msg_error_bg: #fbb !default;
62
- $msg_error_border_color: #f66 !default;
63
- $msg_warning_bg: #ffb !default;
64
- $msg_warning_border_color: #ff6 !default;
65
- $msg_info_bg: #bbf !default;
66
- $msg_info_border_color: #66f !default;
67
- $msg_filtered_bg: #e8e8e8 !default;
68
- $msg_filtered_color: #666 !default;
69
-
70
- $form_title_color: #1F7F00 !default;
71
- $label_color: $header_color !default;
72
- $description_color: #999 !default;
73
- $placeholder_color: #aaa !default;
74
- $input_border_color: $form_title_color !default;
75
- $input_error_border_color: #f00 !default;
76
- $input_focus_bg: #ffc !default;
77
-
78
- $draggable_list_bg: #FFFF88 !default;
79
- $draggable_list_selected_bg: #7FCF00 !default;
80
- $checkbox_list_bg: #fff !default;
81
-
82
- $subform_color: #999 !default;
83
- $subform_header_color: $header_color !default;
84
- $subform_footer_color: $subform_color !default;
85
-
86
- .active-scaffold a, .active-scaffold a:visited {
87
- color: $link_color;
88
- }
89
-
90
- .active-scaffold a.disabled {
91
- color: $disabled_color;
92
- }
93
-
94
- .active-scaffold a:hover, .active-scaffold div.hover, .active-scaffold td span.hover {
95
- background-color: $hover_bg;
96
- }
97
-
98
- noscript.active-scaffold {
99
- border-color: $msg_error_border_color;
100
- background-color: $msg_error_bg;
101
- color: $column_color;
102
- }
103
-
104
- /* Header
105
- ======================== */
106
-
107
- .active-scaffold-header h2 {
108
- color: $header_color;
109
- }
110
-
111
- .active-scaffold-header div.actions a.disabled {
112
- color: $actions_disabled_color;
113
- }
114
-
115
- /* Table :: Column Headers
116
- ============================= */
117
-
118
- .active-scaffold th {
119
- background-color: $column_header_bg;
120
- }
121
-
122
- .active-scaffold th a,
123
- .active-scaffold th p {
124
- background-color: $column_header_bg;
125
- }
126
-
127
- .active-scaffold th a, .active-scaffold th a:visited {
128
- color: $column_header_link_color;
129
- }
130
-
131
- .active-scaffold th p {
132
- color: $column_header_color;
133
- }
134
-
135
- .active-scaffold th a:hover {
136
- background-color: $column_header_link_hover_bg;
137
- color: $column_header_link_hover_color;
138
- }
139
-
140
- .active-scaffold th.sorted {
141
- background-color: $column_header_sorted_bg;
142
- }
143
-
144
- .active-scaffold th.asc a,
145
- .active-scaffold th.asc a:hover,
146
- .active-scaffold th.desc a,
147
- .active-scaffold th.desc a:hover,
148
- .active-scaffold th.loading a,
149
- .active-scaffold th.loading a:hover {
150
- background-color: $column_header_sorted_bg;
151
- }
152
-
153
- /* Table :: Record Rows
154
- ============================= */
155
-
156
- .active-scaffold tr.record {
157
- background-color: $column_bg;
158
- }
159
- .active-scaffold tr.record td {
160
- color: $column_color;
161
- border-color: $column_border_color;
162
- }
163
-
164
- .active-scaffold tr.even-record {
165
- background-color: $column_even_bg;
166
- }
167
- .active-scaffold tr.even-record td {
168
- border-left-color: $column_even_border_color;
169
- }
170
-
171
- .active-scaffold tr.record td.sorted {
172
- background-color: $column_sorted_bg;
173
- border-bottom-color: $column_sorted_border_color;
174
- }
175
-
176
- .active-scaffold tr.even-record td.sorted {
177
- background-color: $column_even_sorted_bg;
178
- border-bottom-color: $column_even_sorted_border_color;
179
- }
180
-
181
- .active-scaffold tbody.records td.empty {
182
- color: $column_empty_color;
183
- }
184
-
185
- /* Table :: Actions (Edit, Delete)
186
- ============================= */
187
- .active-scaffold tr.record td.actions {
188
- border-color: $column_actions_border_color;
189
- }
190
-
191
- .active-scaffold tr.record td.actions a.disabled {
192
- color: $actions_disabled_color;
193
- }
194
-
195
- .active-scaffold .actions .action_group div:hover {
196
- background-color: $action_group_hover_bg;
197
- }
198
-
199
- .active-scaffold .actions .action_group {
200
- color: $action_group_color;
201
- }
202
-
203
- .active-scaffold .actions .action_group ul {
204
- border-color: $action_group_border_color;
205
- }
206
-
207
- .active-scaffold .actions .action_group ul li {
208
- background-color: $action_group_items_bg;
209
- border-color: $action_group_items_border_color;
210
- }
211
-
212
- .active-scaffold .actions .action_group ul li a {
213
- color: $action_group_link_color;
214
- }
215
-
216
- /* Table :: Inline Adapter
217
- ============================= */
218
-
219
- .active-scaffold .view {
220
- background-color: $nested_bg;
221
- border-color: $nested_border_color;
222
- }
223
-
224
- /* Nested
225
- ======================== */
226
-
227
- .active-scaffold .active-scaffold .active-scaffold-footer {
228
- color: $nested_footer_color;
229
- }
230
-
231
- .active-scaffold .active-scaffold td {
232
- background-color: $nested_column_bg;
233
- border-color: $nested_column_border_color;
234
- }
235
-
236
- .active-scaffold .active-scaffold td.inline-adapter-cell {
237
- background-color: $second_nested_bg;
238
- border-color: $second_nested_border_color;
239
- }
240
-
241
- .active-scaffold .active-scaffold .active-scaffold td.inline-adapter-cell {
242
- background-color: $third_nested_bg;
243
- border-color: $third_nested_border_color;
244
- }
245
-
246
- /* Footer
247
- ========================== */
248
-
249
- .active-scaffold-calculations td {
250
- background-color: $calculations_bg;
251
- border-color: $calculations_border_color;
252
- }
253
-
254
- .active-scaffold-footer .next {
255
- border-color: $pagination_border_color;
256
- }
257
-
258
- .active-scaffold-footer .previous {
259
- border-color: $pagination_border_color;
260
- }
261
-
262
- /* Messages
263
- ========================= */
264
-
265
-
266
- .active-scaffold .empty-message, .active-scaffold .filtered-message {
267
- background-color: $msg_filtered_bg;
268
- color: $msg_filtered_color;
269
- }
270
-
271
- .active-scaffold .message {
272
- color: $msg_color;
273
- }
274
-
275
- .active-scaffold .error-message {
276
- border-color: $msg_error_border_color;
277
- background-color: $msg_error_bg;
278
- }
279
-
280
- .active-scaffold .warning-message {
281
- border-color: $msg_warning_border_color;
282
- background-color: $msg_warning_bg;
283
- }
284
-
285
- .active-scaffold .info-message {
286
- border-color: $msg_info_border_color;
287
- background-color: $msg_info_bg;
288
- }
289
-
290
- /* Error Styling
291
- ========================== */
292
-
293
- .active-scaffold .errorExplanation {
294
- background-color: $msg_error_bg;
295
- border-color: $msg_error_border_color;
296
- }
297
-
298
- .active-scaffold .errorExplanation h2 {
299
- color: $msg_color;
300
- background-color: $msg_error_border_color;
301
- }
302
-
303
- /* Show
304
- ============================= */
305
-
306
- .active-scaffold .show-view dt {
307
- color: $label_color;
308
- }
309
-
310
- /* Form
311
- ============================== */
312
-
313
- .active-scaffold h4,
314
- .active-scaffold h5 {
315
- color: $form_title_color;
316
- }
317
-
318
- /* Form :: Fields
319
- ============================== */
320
-
321
- .active-scaffold label {
322
- color: $label_color;
323
- }
324
-
325
- .active-scaffold .description {
326
- color: $description_color;
327
- }
328
-
329
- .active-scaffold label.example {
330
- color: $placeholder_color;
331
- }
332
-
333
- .active-scaffold input.text-input,
334
- .active-scaffold select {
335
- border-color: $input_border_color;
336
- }
337
-
338
- .active-scaffold .fieldWithErrors input,
339
- .active-scaffold .field_with_errors input,
340
- .active-scaffold .fieldWithErrors textarea,
341
- .active-scaffold .field_with_errors textarea,
342
- .active-scaffold .fieldWithErrors select,
343
- .active-scaffold .field_with_errors select {
344
- border-color: $input_error_border_color;
345
- }
346
-
347
- .active-scaffold input.example {
348
- color: $placeholder_color;
349
- }
350
-
351
- .active-scaffold select:focus,
352
- .active-scaffold input.text-input:focus {
353
- background-color: $input_focus_bg;
354
- }
355
-
356
- .active-scaffold textarea {
357
- border-color: $input_border_color;
358
- }
359
-
360
- .active-scaffold .draggable-list {
361
- background-color: $draggable_list_bg;
362
- }
363
-
364
- .active-scaffold .draggable-list.selected {
365
- background-color: $draggable_list_selected_bg;
366
- }
367
-
368
-
369
- /* Form :: Association Sub-Forms
370
- ============================== */
371
-
372
- .active-scaffold .sub-form table th {
373
- color: $subform_header_color;
374
- }
375
-
376
- .active-scaffold .sub-form .checkbox-list {
377
- background-color: $checkbox_list_bg;
378
- border-color: $input_border_color;
379
- }
380
-
381
- .active-scaffold .sub-form .checkbox-list label {
382
- display: block;
383
- }
384
-
385
- .active-scaffold .sub-form table td {
386
- color: $subform_color;
387
- }
388
-
389
- .active-scaffold .sub-form .footer {
390
- color: $subform_footer_color;
391
- }
392
-
393
- .as_touch th a, .as_touch th a:visited {
394
- color: $column_header_link_color;
395
- }