luca 0.9.7 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. data/CHANGELOG +38 -0
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +27 -0
  4. data/README.md +45 -42
  5. data/ROADMAP +6 -29
  6. data/{assets → app/assets}/images/glyphicons-halflings-white.png +0 -0
  7. data/{assets → app/assets}/images/glyphicons-halflings.png +0 -0
  8. data/app/assets/javascripts/luca/basic.coffee +8 -0
  9. data/{src → app/assets/javascripts/luca}/components/application.coffee +153 -40
  10. data/{src → app/assets/javascripts/luca}/components/base_toolbar.coffee +2 -2
  11. data/{src → app/assets/javascripts/luca}/components/collection_loader_view.coffee +0 -0
  12. data/{src → app/assets/javascripts/luca}/components/collection_view.coffee +45 -104
  13. data/app/assets/javascripts/luca/components/controller.coffee +99 -0
  14. data/{src/core/field.coffee → app/assets/javascripts/luca/components/fields/base.coffee} +1 -1
  15. data/{src → app/assets/javascripts/luca}/components/fields/button_field.coffee +1 -2
  16. data/{src → app/assets/javascripts/luca}/components/fields/checkbox_array.coffee +0 -0
  17. data/{src → app/assets/javascripts/luca}/components/fields/checkbox_field.coffee +0 -0
  18. data/{src → app/assets/javascripts/luca}/components/fields/file_upload_field.coffee +0 -0
  19. data/{src → app/assets/javascripts/luca}/components/fields/hidden_field.coffee +0 -0
  20. data/{src → app/assets/javascripts/luca}/components/fields/label_field.coffee +0 -0
  21. data/{src → app/assets/javascripts/luca}/components/fields/select_field.coffee +8 -4
  22. data/{src → app/assets/javascripts/luca}/components/fields/text_area_field.coffee +3 -2
  23. data/{src → app/assets/javascripts/luca}/components/fields/text_field.coffee +2 -3
  24. data/{src → app/assets/javascripts/luca}/components/fields/type_ahead_field.coffee +0 -0
  25. data/{src → app/assets/javascripts/luca}/components/form_button_toolbar.coffee +0 -0
  26. data/{src → app/assets/javascripts/luca}/components/form_view.coffee +111 -44
  27. data/{src → app/assets/javascripts/luca}/components/grid_view.coffee +6 -6
  28. data/{src → app/assets/javascripts/luca}/components/index.coffee +0 -0
  29. data/app/assets/javascripts/luca/components/load_mask.coffee +8 -0
  30. data/app/assets/javascripts/luca/components/multi_collection_view.coffee +92 -0
  31. data/{src → app/assets/javascripts/luca}/components/nav_bar.coffee +5 -1
  32. data/app/assets/javascripts/luca/components/page_controller.coffee +7 -0
  33. data/{src → app/assets/javascripts/luca}/components/pagination_control.coffee +13 -13
  34. data/{src → app/assets/javascripts/luca}/components/record_manager.coffee +0 -0
  35. data/{src → app/assets/javascripts/luca}/components/router.coffee +6 -1
  36. data/app/assets/javascripts/luca/components/table_view.coffee +89 -0
  37. data/{src → app/assets/javascripts/luca}/components/template.coffee +0 -0
  38. data/{src → app/assets/javascripts/luca}/components/toolbar_dialog.coffee +0 -0
  39. data/{src → app/assets/javascripts/luca}/concerns/application_event_bindings.coffee +1 -1
  40. data/app/assets/javascripts/luca/concerns/collection_event_bindings.coffee +44 -0
  41. data/{src → app/assets/javascripts/luca}/concerns/deferrable.coffee +1 -2
  42. data/{src/plugins → app/assets/javascripts/luca/concerns}/development_tool_helpers.coffee +1 -1
  43. data/{src → app/assets/javascripts/luca}/concerns/dom_helpers.coffee +10 -7
  44. data/{src → app/assets/javascripts/luca}/concerns/enhanced_properties.coffee +0 -0
  45. data/app/assets/javascripts/luca/concerns/filterable.coffee +104 -0
  46. data/{src → app/assets/javascripts/luca}/concerns/grid_layout.coffee +0 -0
  47. data/{src → app/assets/javascripts/luca}/concerns/loadmaskable.coffee +17 -11
  48. data/{src → app/assets/javascripts/luca}/concerns/local_storage.coffee +0 -0
  49. data/{src → app/assets/javascripts/luca}/concerns/modal_view.coffee +0 -0
  50. data/{src → app/assets/javascripts/luca}/concerns/model_presenter.coffee +0 -0
  51. data/{src → app/assets/javascripts/luca}/concerns/paginatable.coffee +6 -14
  52. data/app/assets/javascripts/luca/concerns/query_collection_bindings.coffee +46 -0
  53. data/app/assets/javascripts/luca/concerns/sortable.coffee +69 -0
  54. data/app/assets/javascripts/luca/concerns/state_model.coffee +44 -0
  55. data/{src → app/assets/javascripts/luca}/concerns/templating.coffee +4 -1
  56. data/app/assets/javascripts/luca/config.coffee +49 -0
  57. data/{src → app/assets/javascripts/luca}/containers/card_view.coffee +30 -13
  58. data/{src/core → app/assets/javascripts/luca/containers}/container.coffee +57 -18
  59. data/app/assets/javascripts/luca/containers/index.coffee +2 -0
  60. data/{src → app/assets/javascripts/luca}/containers/modal_view.coffee +1 -1
  61. data/{src → app/assets/javascripts/luca}/containers/panel_toolbar.coffee +1 -1
  62. data/{src → app/assets/javascripts/luca}/containers/tab_view.coffee +1 -1
  63. data/{src → app/assets/javascripts/luca}/containers/viewport.coffee +4 -4
  64. data/{src → app/assets/javascripts/luca}/core/collection.coffee +58 -49
  65. data/{src/plugins → app/assets/javascripts/luca/core}/events.coffee +34 -2
  66. data/app/assets/javascripts/luca/core/index.coffee +12 -0
  67. data/{src → app/assets/javascripts/luca}/core/model.coffee +1 -1
  68. data/{src → app/assets/javascripts/luca}/core/observer.coffee +0 -0
  69. data/app/assets/javascripts/luca/core/panel.coffee +112 -0
  70. data/app/assets/javascripts/luca/core/registry/component_definition.coffee +318 -0
  71. data/{src → app/assets/javascripts/luca/core/registry}/concerns.coffee +0 -0
  72. data/app/assets/javascripts/luca/core/registry/index.coffee +4 -0
  73. data/app/assets/javascripts/luca/core/registry/meta_data.coffee +97 -0
  74. data/{src/core → app/assets/javascripts/luca/core/registry}/registry.coffee +10 -6
  75. data/app/assets/javascripts/luca/core/templates.coffee +47 -0
  76. data/{src → app/assets/javascripts/luca}/core/view.coffee +69 -11
  77. data/app/assets/javascripts/luca/dependencies.coffee +7 -0
  78. data/{src/tools → app/assets/javascripts/luca/development}/code_mirror_field.coffee +2 -1
  79. data/{src/tools → app/assets/javascripts/luca/development}/console.coffee +6 -5
  80. data/app/assets/javascripts/luca/development/index.coffee +2 -0
  81. data/{src → app/assets/javascripts/luca}/framework.coffee +74 -90
  82. data/app/assets/javascripts/luca/index.coffee +8 -0
  83. data/{src → app/assets/javascripts/luca}/managers/collection_manager.coffee +16 -7
  84. data/app/assets/javascripts/luca/managers/index.coffee +2 -0
  85. data/app/assets/javascripts/luca/managers/socket_manager.coffee +66 -0
  86. data/{src → app/assets/javascripts/luca}/templates/components/bootstrap_form_controls.jst.ejs +0 -0
  87. data/{src → app/assets/javascripts/luca}/templates/components/collection_loader_view.jst.ejs +0 -0
  88. data/{src → app/assets/javascripts/luca}/templates/components/form_alert.jst.ejs +0 -0
  89. data/{src → app/assets/javascripts/luca}/templates/components/grid_view.jst.ejs +0 -0
  90. data/{src → app/assets/javascripts/luca}/templates/components/grid_view_empty_text.jst.ejs +0 -0
  91. data/{src → app/assets/javascripts/luca}/templates/components/load_mask.jst.ejs +0 -0
  92. data/{src → app/assets/javascripts/luca}/templates/components/nav_bar.jst.ejs +0 -0
  93. data/{src → app/assets/javascripts/luca}/templates/components/pagination.jst.ejs +0 -0
  94. data/{src/templates → app/assets/javascripts/luca/templates/components}/table_view.jst.ejs +0 -0
  95. data/{src → app/assets/javascripts/luca}/templates/containers/basic.jst.ejs +0 -0
  96. data/{src → app/assets/javascripts/luca}/templates/containers/tab_selector_container.jst.ejs +0 -0
  97. data/{src → app/assets/javascripts/luca}/templates/containers/tab_view.jst.ejs +0 -0
  98. data/{src → app/assets/javascripts/luca}/templates/containers/toolbar_wrapper.jst.ejs +0 -0
  99. data/{src → app/assets/javascripts/luca}/templates/fields/button_field.jst.ejs +0 -0
  100. data/{src → app/assets/javascripts/luca}/templates/fields/button_field_link.jst.ejs +0 -0
  101. data/{src → app/assets/javascripts/luca}/templates/fields/checkbox_array.jst.ejs +0 -0
  102. data/{src → app/assets/javascripts/luca}/templates/fields/checkbox_array_item.jst.ejs +0 -0
  103. data/{src → app/assets/javascripts/luca}/templates/fields/checkbox_field.jst.ejs +0 -0
  104. data/{src → app/assets/javascripts/luca}/templates/fields/file_upload_field.jst.ejs +0 -0
  105. data/{src → app/assets/javascripts/luca}/templates/fields/hidden_field.jst.ejs +0 -0
  106. data/{src → app/assets/javascripts/luca}/templates/fields/select_field.jst.ejs +0 -0
  107. data/{src → app/assets/javascripts/luca}/templates/fields/text_area_field.jst.ejs +1 -1
  108. data/{src → app/assets/javascripts/luca}/templates/fields/text_field.jst.ejs +1 -1
  109. data/app/assets/javascripts/luca/util/deprecations.coffee +18 -0
  110. data/app/assets/javascripts/luca/util/index.coffee +3 -0
  111. data/app/assets/javascripts/luca/util/logging.coffee +15 -0
  112. data/{src/util.coffee → app/assets/javascripts/luca/util/luca.coffee} +20 -4
  113. data/{src/core → app/assets/javascripts/luca/util}/script_loader.coffee +0 -0
  114. data/app/assets/javascripts/luca-ui.js +1 -0
  115. data/{src/stylesheets → app/assets/stylesheets/luca}/components/checkbox_array.scss +0 -0
  116. data/app/assets/stylesheets/luca/components/form_view.scss +7 -0
  117. data/{src/stylesheets → app/assets/stylesheets/luca}/components/grid_view.scss +0 -0
  118. data/{src/stylesheets → app/assets/stylesheets/luca}/components/load_mask.scss +0 -0
  119. data/{src/stylesheets → app/assets/stylesheets/luca}/components/viewport.scss +0 -0
  120. data/{src/stylesheets → app/assets/stylesheets/luca}/containers/container.scss +0 -0
  121. data/{src/stylesheets → app/assets/stylesheets/luca}/containers/modal_view.scss +0 -0
  122. data/{src/stylesheets → app/assets/stylesheets/luca}/containers/panels.scss +0 -0
  123. data/{src/stylesheets → app/assets/stylesheets/luca}/containers/tab_view.scss +0 -0
  124. data/{src/stylesheets/tools → app/assets/stylesheets/luca/development}/console.scss +0 -0
  125. data/app/assets/stylesheets/luca/development/index.css +3 -0
  126. data/app/assets/stylesheets/luca/index.css +4 -0
  127. data/{src/stylesheets → app/assets/stylesheets/luca}/normalize.scss +0 -0
  128. data/app.rb +2 -4
  129. data/lib/generators/luca/application/application_generator.rb +12 -8
  130. data/lib/generators/luca/application/templates/controller.rb +0 -2
  131. data/lib/generators/luca/application/templates/index.html.erb +12 -0
  132. data/lib/generators/luca/application/templates/index.html.haml +1 -0
  133. data/lib/generators/luca/application/templates/javascripts/application.coffee +18 -0
  134. data/lib/generators/luca/application/templates/javascripts/collection_manager.coffee +2 -0
  135. data/lib/generators/luca/application/templates/javascripts/config.coffee +3 -0
  136. data/lib/generators/luca/application/templates/javascripts/{dependencies.js.coffee → dependencies.coffee} +1 -0
  137. data/lib/generators/luca/application/templates/javascripts/home.jst.ejs +2 -0
  138. data/lib/generators/luca/application/templates/javascripts/index.coffee +15 -0
  139. data/lib/generators/luca/application/templates/javascripts/router.coffee +4 -0
  140. data/lib/luca/component_documentation.rb +72 -0
  141. data/lib/luca/rails/engine.rb +4 -0
  142. data/lib/luca/rails/version.rb +1 -1
  143. data/lib/luca.rb +1 -1
  144. data/lib/railties/luca/tasks.rake +31 -0
  145. data/luca.gemspec +1 -0
  146. data/spec/components/controller_spec.coffee +62 -0
  147. data/spec/components/form_view_spec.coffee +4 -0
  148. data/spec/concerns/collection_event_bindings_spec.coffee +15 -0
  149. data/spec/concerns/dom_helpers_spec.coffee +2 -2
  150. data/spec/concerns/filterable_spec.coffee +4 -4
  151. data/spec/concerns/state_model_spec.coffee +50 -0
  152. data/spec/core/collection_spec.coffee +25 -0
  153. data/spec/{concerns_spec.coffee → core/concerns_spec.coffee} +0 -0
  154. data/spec/core/container_spec.coffee +57 -5
  155. data/spec/core/define_spec.coffee +116 -0
  156. data/spec/core/events_spec.coffee +26 -0
  157. data/spec/core/field_spec.coffee +4 -0
  158. data/spec/{framework_spec.coffee → core/framework_spec.coffee} +31 -2
  159. data/spec/{util_spec.coffee → core/util_spec.coffee} +2 -2
  160. data/spec/core/view_spec.coffee +65 -1
  161. data/spec/dependencies/index.coffee +3 -0
  162. data/{assets/javascripts → spec}/dependencies/jasmine-html.js +0 -0
  163. data/{assets/javascripts → spec}/dependencies/jasmine.js +0 -0
  164. data/{assets/javascripts → spec}/dependencies/sinon.js +0 -0
  165. data/spec/luca-spec.coffee +9 -0
  166. data/vendor/assets/javascripts/backbone-ext.js +21 -0
  167. data/vendor/assets/javascripts/backbone-min.js +38 -0
  168. data/vendor/assets/javascripts/backbone-query.min.js +1 -0
  169. data/vendor/assets/javascripts/bootstrap.min.js +7 -0
  170. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-coffeescript.js +0 -0
  171. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-css.js +0 -0
  172. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-html.js +0 -0
  173. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-javascript.js +0 -0
  174. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-less.js +0 -0
  175. data/vendor/assets/javascripts/codemirror-ui.js +503 -0
  176. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-vim.js +0 -0
  177. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror.js +0 -0
  178. data/vendor/assets/javascripts/inflections.js +656 -0
  179. data/vendor/assets/javascripts/jasmine-html.js +190 -0
  180. data/vendor/assets/javascripts/jasmine.js +2476 -0
  181. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/jquery.js +0 -0
  182. data/vendor/assets/javascripts/luca-spec.js +11 -0
  183. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/modal.js +0 -0
  184. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/modernizr.min.js +0 -0
  185. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/prettify.js +0 -0
  186. data/vendor/assets/javascripts/sinon.js +3469 -0
  187. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/spin-min.js +0 -0
  188. data/{assets/javascripts/dependencies → vendor/assets/javascripts}/underscore-min.js +0 -0
  189. data/vendor/assets/javascripts/underscore-string.min.js +1 -0
  190. data/vendor/assets/stylesheets/bootstrap-responsive.min.css +9 -0
  191. data/vendor/assets/stylesheets/bootstrap.min.css +9 -0
  192. data/{assets → vendor/assets}/stylesheets/codemirror-blackboard.css +0 -0
  193. data/{assets → vendor/assets}/stylesheets/codemirror-monokai.css +0 -0
  194. data/{assets → vendor/assets}/stylesheets/codemirror.css +0 -0
  195. data/{assets → vendor/assets}/stylesheets/jasmine.css +0 -0
  196. data/vendor/assets/stylesheets/luca-ui.css +0 -601
  197. data/views/jasmine.erb +2 -2
  198. metadata +190 -299
  199. data/assets/javascripts/dependencies/backbone-min.js +0 -37
  200. data/assets/javascripts/dependencies/backbone-query.min.js +0 -1
  201. data/assets/javascripts/dependencies/bootstrap.min.js +0 -7
  202. data/assets/javascripts/dependencies/coffee-script.js +0 -12189
  203. data/assets/javascripts/dependencies/underscore-string.min.js +0 -14
  204. data/assets/javascripts/dependencies.coffee +0 -5
  205. data/assets/javascripts/luca/index.coffee +0 -1
  206. data/assets/javascripts/luca-templates.js +0 -1
  207. data/assets/javascripts/luca-ui-base.coffee +0 -1
  208. data/assets/javascripts/luca-ui-bootstrap.js +0 -1
  209. data/assets/javascripts/luca-ui-development-tools.coffee +0 -9
  210. data/assets/javascripts/luca-ui-full.js +0 -3
  211. data/assets/javascripts/luca-ui-spec.coffee +0 -2
  212. data/assets/javascripts/luca-ui.js +0 -3
  213. data/assets/javascripts/sandbox/application.coffee +0 -57
  214. data/assets/javascripts/sandbox/config.coffee +0 -7
  215. data/assets/javascripts/sandbox/router.coffee +0 -24
  216. data/assets/javascripts/sandbox/templates/builder/component_list.luca +0 -1
  217. data/assets/javascripts/sandbox/templates/builder.luca +0 -2
  218. data/assets/javascripts/sandbox/templates/main.luca +0 -53
  219. data/assets/javascripts/sandbox/templates/sandbox/docs_index.luca +0 -1
  220. data/assets/javascripts/sandbox/templates/sandbox/navigation.luca +0 -8
  221. data/assets/javascripts/sandbox/templates/sandbox/readme.luca +0 -30
  222. data/assets/javascripts/sandbox/templates/sandbox.luca +0 -1
  223. data/assets/javascripts/sandbox/views/builder/builder_canvas.coffee +0 -3
  224. data/assets/javascripts/sandbox/views/builder/builder_editor.coffee +0 -6
  225. data/assets/javascripts/sandbox/views/builder/component_list.coffee +0 -38
  226. data/assets/javascripts/sandbox/views/builder/project_browser.coffee +0 -14
  227. data/assets/javascripts/sandbox/views/builder.coffee +0 -133
  228. data/assets/javascripts/sandbox/views/docs_controller.coffee +0 -7
  229. data/assets/javascripts/sandbox/views/inspector/instance_filter.coffee +0 -18
  230. data/assets/javascripts/sandbox/views/inspector/instance_list.coffee +0 -0
  231. data/assets/javascripts/sandbox/views/inspector.coffee +0 -11
  232. data/assets/javascripts/sandbox/views/top_navigation.coffee +0 -4
  233. data/assets/javascripts/sandbox.coffee +0 -7
  234. data/assets/javascripts/spec-dependencies.coffee +0 -4
  235. data/assets/stylesheets/bootstrap-responsive.min.css +0 -2
  236. data/assets/stylesheets/bootstrap.min.css +0 -727
  237. data/assets/stylesheets/luca-ui-bootstrap.css +0 -4
  238. data/assets/stylesheets/luca-ui-development-tools.css +0 -5
  239. data/assets/stylesheets/luca-ui-full.css +0 -3
  240. data/assets/stylesheets/luca-ui-spec.css +0 -3
  241. data/assets/stylesheets/luca-ui.css +0 -3
  242. data/assets/stylesheets/prettify.css +0 -40
  243. data/assets/stylesheets/sandbox/builder.scss +0 -79
  244. data/assets/stylesheets/sandbox/sandbox.scss +0 -18
  245. data/assets/stylesheets/sandbox.css +0 -3
  246. data/assets/stylesheets/themes/amelia-bootstrap.css +0 -826
  247. data/assets/stylesheets/themes/slate-bootstrap.css +0 -797
  248. data/assets/stylesheets/themes/superhero-bootstrap.css +0 -830
  249. data/lib/generators/luca/application/templates/javascripts/application.js +0 -28
  250. data/lib/generators/luca/application/templates/javascripts/application.js.coffee +0 -20
  251. data/lib/generators/luca/application/templates/javascripts/config.js +0 -15
  252. data/lib/generators/luca/application/templates/javascripts/config.js.coffee +0 -9
  253. data/lib/generators/luca/application/templates/javascripts/dependencies.js +0 -5
  254. data/lib/generators/luca/application/templates/javascripts/index.js +0 -9
  255. data/lib/generators/luca/application/templates/javascripts/index.js.coffee +0 -9
  256. data/lib/generators/luca/application/templates/javascripts/main.js +0 -8
  257. data/lib/generators/luca/application/templates/javascripts/main.js.coffee +0 -3
  258. data/lib/generators/luca/application/templates/javascripts/main.jst.ejs +0 -1
  259. data/lib/generators/luca/application/templates/javascripts/router.js +0 -12
  260. data/lib/generators/luca/application/templates/javascripts/router.js.coffee +0 -7
  261. data/spec/containers/column_view_spec.coffee +0 -0
  262. data/spec/containers/split_view_spec.coffee +0 -0
  263. data/spec/define_spec.coffee +0 -13
  264. data/src/components/controller.coffee +0 -65
  265. data/src/components/load_mask.coffee +0 -3
  266. data/src/components/multi_collection_view.coffee +0 -121
  267. data/src/components/page_controller.coffee +0 -2
  268. data/src/components/table_view.coffee +0 -62
  269. data/src/concerns/collection_event_bindings.coffee +0 -26
  270. data/src/concerns/filterable.coffee +0 -82
  271. data/src/concerns/state_model.coffee +0 -16
  272. data/src/containers/column_view.coffee +0 -42
  273. data/src/containers/page_view.coffee +0 -2
  274. data/src/containers/panel_view.coffee +0 -23
  275. data/src/containers/split_view.coffee +0 -8
  276. data/src/core/core.coffee +0 -0
  277. data/src/core/meta_data.coffee +0 -37
  278. data/src/core/panel.coffee +0 -118
  279. data/src/define.coffee +0 -170
  280. data/src/index.coffee +0 -25
  281. data/src/managers/socket_manager.coffee +0 -54
  282. data/src/samples/definition.coffee +0 -49
  283. data/src/stylesheets/base.scss +0 -0
  284. data/src/stylesheets/components/form_view.scss +0 -59
  285. data/src/stylesheets/components/toolbar.scss +0 -0
  286. data/src/stylesheets/tools/class_browser.scss +0 -32
  287. data/src/stylesheets/tools/code_editor.scss +0 -24
  288. data/src/stylesheets/tools/component_tester.scss +0 -26
  289. data/src/tools/application_inspector.coffee +0 -2
  290. data/src/tools/code_editor.coffee +0 -258
  291. data/src/tools/coffee_script_editor.coffee +0 -82
  292. data/src/tools/collection_inspector.coffee +0 -4
  293. data/src/tools/collections/components.coffee +0 -59
  294. data/src/tools/collections/instances.coffee +0 -15
  295. data/src/tools/component_tester.coffee +0 -462
  296. data/src/tools/models/components.coffee +0 -25
  297. data/src/tools/models/instance.coffee +0 -2
  298. data/src/tools/templates/component_tester/help.luca +0 -14
  299. data/vendor/assets/javascripts/luca-ui-base.js +0 -5304
  300. data/vendor/assets/javascripts/luca-ui-bootstrap.js +0 -9
  301. data/vendor/assets/javascripts/luca-ui-development-tools.js +0 -18561
  302. data/vendor/assets/javascripts/luca-ui-development-tools.min.js +0 -15
  303. data/vendor/assets/javascripts/luca-ui-full.js +0 -6319
  304. data/vendor/assets/javascripts/luca-ui-full.min.js +0 -9
  305. data/vendor/assets/javascripts/luca-ui-spec.js +0 -6815
  306. data/vendor/assets/javascripts/luca-ui-templates.js +0 -92
  307. data/vendor/assets/javascripts/luca-ui.js +0 -6234
  308. data/vendor/assets/javascripts/luca-ui.min.js +0 -5
  309. data/vendor/assets/luca-ui/base.css +0 -85
  310. data/vendor/assets/luca-ui/components/application.js +0 -91
  311. data/vendor/assets/luca-ui/components/base_toolbar.js +0 -23
  312. data/vendor/assets/luca-ui/components/controller.js +0 -38
  313. data/vendor/assets/luca-ui/components/fields/button_field.js +0 -45
  314. data/vendor/assets/luca-ui/components/fields/checkbox_field.js +0 -43
  315. data/vendor/assets/luca-ui/components/fields/file_upload_field.js +0 -20
  316. data/vendor/assets/luca-ui/components/fields/hidden_field.js +0 -20
  317. data/vendor/assets/luca-ui/components/fields/select_field.js +0 -97
  318. data/vendor/assets/luca-ui/components/fields/text_area_field.js +0 -48
  319. data/vendor/assets/luca-ui/components/fields/text_field.js +0 -46
  320. data/vendor/assets/luca-ui/components/fields/type_ahead_field.js +0 -13
  321. data/vendor/assets/luca-ui/components/form_button_toolbar.js +0 -32
  322. data/vendor/assets/luca-ui/components/form_view.css +0 -32
  323. data/vendor/assets/luca-ui/components/form_view.js +0 -207
  324. data/vendor/assets/luca-ui/components/grid_view.css +0 -76
  325. data/vendor/assets/luca-ui/components/grid_view.js +0 -202
  326. data/vendor/assets/luca-ui/components/record_manager.js +0 -207
  327. data/vendor/assets/luca-ui/components/router.js +0 -36
  328. data/vendor/assets/luca-ui/components/template.js +0 -26
  329. data/vendor/assets/luca-ui/components/toolbar.css +0 -11
  330. data/vendor/assets/luca-ui/containers/card_view.js +0 -98
  331. data/vendor/assets/luca-ui/containers/column_view.js +0 -52
  332. data/vendor/assets/luca-ui/containers/container.css +0 -3
  333. data/vendor/assets/luca-ui/containers/modal_view.css +0 -0
  334. data/vendor/assets/luca-ui/containers/modal_view.js +0 -87
  335. data/vendor/assets/luca-ui/containers/panel_view.js +0 -34
  336. data/vendor/assets/luca-ui/containers/split_view.js +0 -13
  337. data/vendor/assets/luca-ui/containers/tab_view.css +0 -16
  338. data/vendor/assets/luca-ui/containers/tab_view.js +0 -80
  339. data/vendor/assets/luca-ui/containers/viewport.js +0 -18
  340. data/vendor/assets/luca-ui/core/collection.js +0 -221
  341. data/vendor/assets/luca-ui/core/container.js +0 -205
  342. data/vendor/assets/luca-ui/core/field.js +0 -59
  343. data/vendor/assets/luca-ui/core/observer.js +0 -42
  344. data/vendor/assets/luca-ui/core/view.js +0 -127
  345. data/vendor/assets/luca-ui/framework.js +0 -110
  346. data/vendor/assets/luca-ui/index.js +0 -5
  347. data/vendor/assets/luca-ui/managers/collection_manager.js +0 -98
  348. data/vendor/assets/luca-ui/managers/socket_manager.js +0 -52
  349. data/vendor/assets/luca-ui/modules/deferrable.js +0 -21
  350. data/vendor/assets/luca-ui/modules/local_storage.js +0 -81
  351. data/vendor/assets/luca-ui/normalize.css +0 -359
  352. data/vendor/assets/luca-ui/stylesheets/base.css +0 -85
  353. data/vendor/assets/luca-ui/stylesheets/components/form_view.css +0 -32
  354. data/vendor/assets/luca-ui/stylesheets/components/grid_view.css +0 -76
  355. data/vendor/assets/luca-ui/stylesheets/components/toolbar.css +0 -11
  356. data/vendor/assets/luca-ui/stylesheets/containers/container.css +0 -3
  357. data/vendor/assets/luca-ui/stylesheets/containers/modal_view.css +0 -0
  358. data/vendor/assets/luca-ui/stylesheets/containers/tab_view.css +0 -16
  359. data/vendor/assets/luca-ui/stylesheets/normalize.css +0 -359
  360. data/vendor/assets/luca-ui/templates/components/bootstrap_form_controls.js +0 -4
  361. data/vendor/assets/luca-ui/templates/components/form_view.js +0 -4
  362. data/vendor/assets/luca-ui/templates/components/grid_view.js +0 -4
  363. data/vendor/assets/luca-ui/templates/components/grid_view_empty_text.js +0 -4
  364. data/vendor/assets/luca-ui/templates/containers/basic.js +0 -4
  365. data/vendor/assets/luca-ui/templates/containers/tab_selector_container.js +0 -4
  366. data/vendor/assets/luca-ui/templates/containers/tab_view.js +0 -4
  367. data/vendor/assets/luca-ui/templates/containers/toolbar_wrapper.js +0 -4
  368. data/vendor/assets/luca-ui/templates/fields/button_field.js +0 -4
  369. data/vendor/assets/luca-ui/templates/fields/button_field_link.js +0 -4
  370. data/vendor/assets/luca-ui/templates/fields/checkbox_field.js +0 -4
  371. data/vendor/assets/luca-ui/templates/fields/file_upload_field.js +0 -4
  372. data/vendor/assets/luca-ui/templates/fields/hidden_field.js +0 -4
  373. data/vendor/assets/luca-ui/templates/fields/select_field.js +0 -4
  374. data/vendor/assets/luca-ui/templates/fields/text_area_field.js +0 -4
  375. data/vendor/assets/luca-ui/templates/fields/text_field.js +0 -4
  376. data/vendor/assets/luca-ui/templates/sample/contents.js +0 -4
  377. data/vendor/assets/luca-ui/templates/sample/welcome.js +0 -4
@@ -1,21 +0,0 @@
1
- (function() {
2
-
3
- Luca.modules.Deferrable = {
4
- configure_collection: function(setAsDeferrable) {
5
- var collectionManager, _ref, _ref2;
6
- if (setAsDeferrable == null) setAsDeferrable = true;
7
- if (!this.collection) return;
8
- if (_.isString(this.collection) && (collectionManager = (_ref = Luca.CollectionManager) != null ? _ref.get() : void 0)) {
9
- this.collection = collectionManager.getOrCreate(this.collection);
10
- }
11
- if (!(this.collection && _.isFunction(this.collection.fetch) && _.isFunction(this.collection.reset))) {
12
- this.collection = new Luca.Collection(this.collection.initial_set, this.collection);
13
- }
14
- if ((_ref2 = this.collection) != null ? _ref2.deferrable_trigger : void 0) {
15
- this.deferrable_trigger = this.collection.deferrable_trigger;
16
- }
17
- if (setAsDeferrable) return this.deferrable = this.collection;
18
- }
19
- };
20
-
21
- }).call(this);
@@ -1,81 +0,0 @@
1
- (function() {
2
-
3
- Luca.LocalStore = (function() {
4
-
5
- function LocalStore(name) {
6
- var store;
7
- this.name = name;
8
- store = localStorage.getItem(this.name);
9
- this.data = (store && JSON.parse(store)) || {};
10
- }
11
-
12
- LocalStore.prototype.guid = function() {
13
- var S4;
14
- S4 = function() {
15
- return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
16
- };
17
- return S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4();
18
- };
19
-
20
- LocalStore.prototype.save = function() {
21
- return localStorage.setItem(this.name, JSON.stringify(this.data));
22
- };
23
-
24
- LocalStore.prototype.create = function(model) {
25
- if (!model.id) model.id = model.attribtues.id = this.guid();
26
- this.data[model.id] = model;
27
- this.save();
28
- return model;
29
- };
30
-
31
- LocalStore.prototype.update = function(model) {
32
- this.data[model.id] = model;
33
- this.save();
34
- return model;
35
- };
36
-
37
- LocalStore.prototype.find = function(model) {
38
- return this.data[model.id];
39
- };
40
-
41
- LocalStore.prototype.findAll = function() {
42
- return _.values(this.data);
43
- };
44
-
45
- LocalStore.prototype.destroy = function(model) {
46
- delete this.data[model.id];
47
- this.save();
48
- return model;
49
- };
50
-
51
- return LocalStore;
52
-
53
- })();
54
-
55
- Backbone.LocalSync = function(method, model, options) {
56
- var resp, store;
57
- store = model.localStorage || model.collection.localStorage;
58
- resp = (function() {
59
- switch (method) {
60
- case "read":
61
- if (model.id) {
62
- return store.find(model);
63
- } else {
64
- return store.findAll();
65
- }
66
- case "create":
67
- return store.create(model);
68
- case "update":
69
- return store.update(model);
70
- case "delete":
71
- return store.destroy(model);
72
- }
73
- })();
74
- if (resp) {
75
- return options.success(resp);
76
- } else {
77
- return options.error("Record not found");
78
- }
79
- };
80
-
81
- }).call(this);
@@ -1,359 +0,0 @@
1
- /* normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */
2
- /* =============================================================================
3
- HTML5 display definitions
4
- ========================================================================== */
5
- /*
6
- * Corrects block display not defined in IE6/7/8/9 & FF3
7
- */
8
- article,
9
- aside,
10
- details,
11
- figcaption,
12
- figure,
13
- footer,
14
- header,
15
- hgroup,
16
- nav,
17
- section {
18
- display: block; }
19
-
20
- /*
21
- * Corrects inline-block display not defined in IE6/7/8/9 & FF3
22
- */
23
- audio,
24
- canvas,
25
- video {
26
- display: inline-block;
27
- *display: inline;
28
- *zoom: 1; }
29
-
30
- /*
31
- * Prevents modern browsers from displaying 'audio' without controls
32
- */
33
- audio:not([controls]) {
34
- display: none; }
35
-
36
- /*
37
- * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
38
- * Known issue: no IE6 support
39
- */
40
- [hidden] {
41
- display: none; }
42
-
43
- /* =============================================================================
44
- Base
45
- ========================================================================== */
46
- /*
47
- * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
48
- * http://clagnut.com/blog/348/#c790
49
- * 2. Keeps page centred in all browsers regardless of content height
50
- * 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
51
- * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
52
- */
53
- html {
54
- font-size: 100%;
55
- /* 1 */
56
- overflow-y: scroll;
57
- /* 2 */
58
- -webkit-text-size-adjust: 100%;
59
- /* 3 */
60
- -ms-text-size-adjust: 100%;
61
- /* 3 */ }
62
-
63
- /*
64
- * Addresses margins handled incorrectly in IE6/7
65
- */
66
- body {
67
- margin: 0; }
68
-
69
- /*
70
- * Addresses font-family inconsistency between 'textarea' and other form elements.
71
- */
72
- body,
73
- button,
74
- input,
75
- select,
76
- textarea {
77
- font-family: sans-serif; }
78
-
79
- /* =============================================================================
80
- Links
81
- ========================================================================== */
82
- /*
83
- * Addresses outline displayed oddly in Chrome
84
- */
85
- a:focus {
86
- outline: thin dotted; }
87
-
88
- /*
89
- * Improves readability when focused and also mouse hovered in all browsers
90
- * people.opera.com/patrickl/experiments/keyboard/test
91
- */
92
- a:hover,
93
- a:active {
94
- outline: 0; }
95
-
96
- /* =============================================================================
97
- Typography
98
- ========================================================================== */
99
- /*
100
- * Neutralise smaller font-size in 'section' and 'article' in FF4+, Chrome, S5
101
- */
102
- h1 {
103
- font-size: 2em; }
104
-
105
- /*
106
- * Addresses styling not present in IE7/8/9, S5, Chrome
107
- */
108
- abbr[title] {
109
- border-bottom: 1px dotted; }
110
-
111
- /*
112
- * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
113
- */
114
- b,
115
- strong {
116
- font-weight: bold; }
117
-
118
- blockquote {
119
- margin: 1em 40px; }
120
-
121
- /*
122
- * Addresses styling not present in S5, Chrome
123
- */
124
- dfn {
125
- font-style: italic; }
126
-
127
- /*
128
- * Addresses styling not present in IE6/7/8/9
129
- */
130
- mark {
131
- background: #ff0;
132
- color: #000; }
133
-
134
- /*
135
- * Corrects font family set oddly in IE6, S4/5, Chrome
136
- * en.wikipedia.org/wiki/User:Davidgothberg/Test59
137
- */
138
- pre,
139
- code,
140
- kbd,
141
- samp {
142
- font-family: monospace, serif;
143
- _font-family: 'courier new', monospace;
144
- font-size: 1em; }
145
-
146
- /*
147
- * Improves readability of pre-formatted text in all browsers
148
- */
149
- pre {
150
- white-space: pre;
151
- white-space: pre-wrap;
152
- word-wrap: break-word; }
153
-
154
- /*
155
- * 1. Addresses CSS quotes not supported in IE6/7
156
- * 2. Addresses quote property not supported in S4
157
- */
158
- /* 1 */
159
- q {
160
- quotes: none; }
161
-
162
- /* 2 */
163
- q:before,
164
- q:after {
165
- content: '';
166
- content: none; }
167
-
168
- small {
169
- font-size: 75%; }
170
-
171
- /*
172
- * Prevents sub and sup affecting line-height in all browsers
173
- * gist.github.com/413930
174
- */
175
- sub,
176
- sup {
177
- font-size: 75%;
178
- line-height: 0;
179
- position: relative;
180
- vertical-align: baseline; }
181
-
182
- sup {
183
- top: -0.5em; }
184
-
185
- sub {
186
- bottom: -0.25em; }
187
-
188
- /* =============================================================================
189
- Lists
190
- ========================================================================== */
191
- ul,
192
- ol {
193
- margin-left: 0;
194
- padding: 0 0 0 40px; }
195
-
196
- dd {
197
- margin: 0 0 0 40px; }
198
-
199
- nav ul,
200
- nav ol {
201
- list-style: none;
202
- list-style-image: none; }
203
-
204
- /* =============================================================================
205
- Embedded content
206
- ========================================================================== */
207
- /*
208
- * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
209
- * 2. Improves image quality when scaled in IE7
210
- * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
211
- */
212
- img {
213
- border: 0;
214
- /* 1 */
215
- -ms-interpolation-mode: bicubic;
216
- /* 2 */ }
217
-
218
- /*
219
- * Corrects overflow displayed oddly in IE9
220
- */
221
- svg:not(:root) {
222
- overflow: hidden; }
223
-
224
- /* =============================================================================
225
- Figures
226
- ========================================================================== */
227
- /*
228
- * Addresses margin not present in IE6/7/8/9, S5, O11
229
- */
230
- figure {
231
- margin: 0; }
232
-
233
- /* =============================================================================
234
- Forms
235
- ========================================================================== */
236
- /*
237
- * Corrects margin displayed oddly in IE6/7
238
- */
239
- form {
240
- margin: 0; }
241
-
242
- /*
243
- * Define consistent border, margin, and padding
244
- */
245
- fieldset {
246
- border: 1px solid #c0c0c0;
247
- margin: 0 2px;
248
- padding: 0.35em 0.625em 0.75em; }
249
-
250
- /*
251
- * 1. Corrects color not being inherited in IE6/7/8/9
252
- * 2. Corrects alignment displayed oddly in IE6/7
253
- */
254
- legend {
255
- border: 0;
256
- /* 1 */
257
- *margin-left: -7px;
258
- /* 2 */ }
259
-
260
- /*
261
- * 1. Corrects font size not being inherited in all browsers
262
- * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
263
- * 3. Improves appearance and consistency in all browsers
264
- */
265
- button,
266
- input,
267
- select,
268
- textarea {
269
- font-size: 100%;
270
- /* 1 */
271
- margin: 0;
272
- /* 2 */
273
- vertical-align: baseline;
274
- /* 3 */
275
- *vertical-align: middle;
276
- /* 3 */ }
277
-
278
- /*
279
- * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
280
- */
281
- button,
282
- input {
283
- line-height: normal;
284
- /* 1 */ }
285
-
286
- /*
287
- * 1. Improves usability and consistency of cursor style between image-type 'input' and others
288
- * 2. Corrects inability to style clickable 'input' types in iOS
289
- * 3. Removes inner spacing in IE7 without affecting normal text inputs
290
- * Known issue: inner spacing remains in IE6
291
- */
292
- button,
293
- input[type="button"],
294
- input[type="reset"],
295
- input[type="submit"] {
296
- cursor: pointer;
297
- /* 1 */
298
- -webkit-appearance: button;
299
- /* 2 */
300
- *overflow: visible;
301
- /* 3 */ }
302
-
303
- /*
304
- * 1. Addresses box sizing set to content-box in IE8/9
305
- * 2. Removes excess padding in IE8/9
306
- */
307
- input[type="checkbox"],
308
- input[type="radio"] {
309
- box-sizing: border-box;
310
- /* 1 */
311
- padding: 0;
312
- /* 2 */ }
313
-
314
- /*
315
- * 1. Addresses appearance set to searchfield in S5, Chrome
316
- * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
317
- */
318
- input[type="search"] {
319
- -webkit-appearance: textfield;
320
- /* 1 */
321
- -moz-box-sizing: content-box;
322
- -webkit-box-sizing: content-box;
323
- /* 2 */
324
- box-sizing: content-box; }
325
-
326
- /*
327
- * Removes inner padding that is displayed in S5, Chrome on OS X
328
- */
329
- input[type="search"]::-webkit-search-decoration {
330
- -webkit-appearance: none; }
331
-
332
- /*
333
- * Removes inner padding and border in FF3+
334
- * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
335
- */
336
- button::-moz-focus-inner,
337
- input::-moz-focus-inner {
338
- border: 0;
339
- padding: 0; }
340
-
341
- /*
342
- * 1. Removes default vertical scrollbar in IE6/7/8/9
343
- * 2. Improves readability and alignment in all browsers
344
- */
345
- textarea {
346
- overflow: auto;
347
- /* 1 */
348
- vertical-align: top;
349
- /* 2 */ }
350
-
351
- /* =============================================================================
352
- Tables
353
- ========================================================================== */
354
- /*
355
- * Remove most spacing between table cells
356
- */
357
- table {
358
- border-collapse: collapse;
359
- border-spacing: 0; }
@@ -1,85 +0,0 @@
1
- html.luca-ui-fullscreen {
2
- height: 100%; }
3
- html.luca-ui-fullscreen body {
4
- height: 100%;
5
- padding: 0;
6
- margin: 0; }
7
- html.luca-ui-fullscreen .luca-ui-viewport {
8
- height: 100%;
9
- padding: 0;
10
- margin: 0; }
11
-
12
- .luca-ui-viewport li {
13
- list-style-type: none; }
14
- .luca-ui-viewport li.nav {
15
- cursor: pointer; }
16
-
17
- /*http://csswizardry.com/fluid-grids/#generated-grids*/
18
- .wrapper {
19
- max-width: 1208px;
20
- /* max-width:894px;*/
21
- padding: 0 15px;
22
- margin: 0 auto; }
23
-
24
- /*
25
- Column container
26
- */
27
- .grids {
28
- width: auto;
29
- max-width: 924px;
30
- clear: both;
31
- margin: 0 0 0 -3.247%;
32
- list-style: none;
33
- /* So we can make grids out of lists. */
34
- overflow: hidden;
35
- /* Clear the floats */ }
36
-
37
- [class*="grid-"] {
38
- float: left;
39
- margin: 0 3.247% 0 0; }
40
-
41
- .grid-margin {
42
- margin: 0 3.247% 0 0; }
43
-
44
- .grids .grid-margin {
45
- margin: 0 0 0 3.247%; }
46
-
47
- .grids [class*="grid-"] {
48
- margin: 0 0 0 3.247%; }
49
-
50
- .grid-1 {
51
- width: 5.087%; }
52
-
53
- .grid-2 {
54
- width: 13.42%; }
55
-
56
- .grid-3 {
57
- width: 21.753%; }
58
-
59
- .grid-4 {
60
- width: 30.087%; }
61
-
62
- .grid-5 {
63
- width: 38.42%; }
64
-
65
- .grid-6 {
66
- width: 46.753%; }
67
-
68
- .grid-7 {
69
- width: 55.087%; }
70
-
71
- .grid-8 {
72
- width: 63.42%; }
73
-
74
- .grid-9 {
75
- width: 71.753%; }
76
-
77
- .grid-10 {
78
- width: 80.087%; }
79
-
80
- .grid-11 {
81
- width: 88.42%; }
82
-
83
- .grid-12 {
84
- width: 96.753%;
85
- margin: 0; }
@@ -1,32 +0,0 @@
1
- .luca-ui-form-view-wrapper {
2
- width: 100%;
3
- float: left;
4
- display: block;
5
- clear: both;
6
- margin: 10px 0px; }
7
-
8
- .luca-ui-form-view .luca-ui-field {
9
- margin: 5px;
10
- padding: 5px; }
11
- .luca-ui-form-view .luca-ui-field .helper-text {
12
- font-size: 0.75em;
13
- font-color: #ccc; }
14
-
15
- .luca-ui-form-view.label-align-top .luca-ui-field label, .luca-ui-form-view.label-align-top .luca-ui-field input, .luca-ui-form-view.label-align-top .luca-ui-field select, .luca-ui-form-view.label-align-top .luca-ui-field textarea {
16
- margin: 5px 0px;
17
- display: block; }
18
-
19
- .luca-ui-form-view.column-layout .luca-ui-field {
20
- float: left; }
21
-
22
- .form-view-footer .toolbar-container {
23
- float: left;
24
- width: 100%;
25
- clear: both;
26
- display: block; }
27
- .form-view-footer .toolbar-container .luca-ui-form-toolbar, .form-view-footer .toolbar-container .luca-ui-toolbar {
28
- width: 50%;
29
- display: block;
30
- margin: 0px auto; }
31
- .form-view-footer .toolbar-container .luca-ui-form-toolbar .luca-ui-field, .form-view-footer .toolbar-container .luca-ui-toolbar .luca-ui-field {
32
- float: left; }
@@ -1,76 +0,0 @@
1
- .scrollable-grid-view {
2
- /* define height and width of scrollable area. Add 16px to width for scrollbar */
3
- /* Reset overflow value to hidden for all non-IE browsers. */
4
- /* define width of table. IE browsers only */
5
- /* define width of table. Add 16px to width for scrollbar. */
6
- /* All other non-IE browsers. */
7
- /* set table header to a fixed position. WinIE 6.x only */
8
- /* In WinIE 6.x, any element with a position property set to relative and is a child of */
9
- /* an element that has an overflow property set, the relative value translates into fixed. */
10
- /* Ex: parent element DIV with a class of tableContainer has an overflow property set to auto */
11
- /* set THEAD element to have block level attributes. All other non-IE browsers */
12
- /* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
13
- /* make the TH elements pretty */
14
- /* make the A elements pretty. makes for nice clickable headers */
15
- /* make the A elements pretty. makes for nice clickable headers */
16
- /* WARNING: swapping the background on hover may cause problems in WinIE 6.x */
17
- /* define the table content to be scrollable */
18
- /* set TBODY element to have block level attributes. All other non-IE browsers */
19
- /* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
20
- /* induced side effect is that child TDs no longer accept width: auto */
21
- /* define width of TH elements: 1st, 2nd, and 3rd respectively. */
22
- /* Add 16px to last TH for scrollbar padding. All other non-IE browsers. */
23
- /* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */
24
- /* define width of TD elements: 1st, 2nd, and 3rd respectively. */
25
- /* All other non-IE browsers. */
26
- /* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */ }
27
- .scrollable-grid-view .grid-view-body {
28
- clear: both;
29
- overflow: auto; }
30
- .scrollable-grid-view .grid-view-body {
31
- overflow: hidden; }
32
- .scrollable-grid-view .grid-view-body .empty-text-wrapper {
33
- display: block;
34
- margin: 10px auto;
35
- width: 30%;
36
- padding: 50px;
37
- text-align: center; }
38
- .scrollable-grid-view .grid-view-body .empty-text-wrapper p {
39
- color: #aaa; }
40
- .scrollable-grid-view thead.fixed tr {
41
- position: relative; }
42
- .scrollable-grid-view thead.fixed tr {
43
- display: block; }
44
- .scrollable-grid-view thead.fixed th {
45
- font-weight: bold;
46
- text-align: left; }
47
- .scrollable-grid-view thead.fixed a, .scrollable-grid-view thead.fixed a:link, .scrollable-grid-view thead.fixed a:visited {
48
- color: #FFF;
49
- display: block;
50
- text-decoration: none;
51
- width: 100%; }
52
- .scrollable-grid-view thead.fixed a:hover {
53
- color: #FFF;
54
- display: block;
55
- text-decoration: underline;
56
- width: 100%; }
57
- .scrollable-grid-view tbody.scrollable {
58
- display: block;
59
- overflow: auto;
60
- width: 100%; }
61
- .scrollable-grid-view thead.fixed th {
62
- padding: 5px; }
63
- .scrollable-grid-view tbody.scrollable td {
64
- padding: 5px; }
65
-
66
- .grid-view-footer .toolbar-container {
67
- float: left;
68
- width: 100%;
69
- clear: both;
70
- display: block; }
71
- .grid-view-footer .toolbar-container .luca-ui-toolbar {
72
- display: block;
73
- float: right;
74
- clear: right; }
75
- .grid-view-footer .toolbar-container .luca-ui-toolbar .luca-ui-field {
76
- float: left; }
@@ -1,11 +0,0 @@
1
- .luca-ui-toolbar-wrapper {
2
- clear: both;
3
- display: block;
4
- float: left;
5
- width: 100%; }
6
- .luca-ui-toolbar-wrapper .luca-ui-form-toolbar, .luca-ui-toolbar-wrapper .luca-ui-toolbar {
7
- clear: both;
8
- margin: 5px auto; }
9
- .luca-ui-toolbar-wrapper .luca-ui-form-toolbar .luca-ui-field, .luca-ui-toolbar-wrapper .luca-ui-toolbar .luca-ui-field {
10
- float: left;
11
- margin: 5px; }
@@ -1,3 +0,0 @@
1
- .luca-ui-card {
2
- padding: 5px;
3
- width: 100%; }
@@ -1,16 +0,0 @@
1
- .luca-ui-tab-view .luca-ui-card .luca-ui-grid-view, .luca-ui-tab-view .luca-ui-card .luca-ui-form-view, .luca-ui-tab-view .luca-ui-card .luca-ui-card {
2
- overflow: hidden; }
3
-
4
- .luca-ui-tab-view.tabs-below .tab-selector-container, .luca-ui-tab-view.tabs-right .tab-selector-container {
5
- display: block;
6
- clear: both; }
7
-
8
- .luca-ui-tab-view.tabs-left .tab-selector-container {
9
- float: left; }
10
- .luca-ui-tab-view.tabs-left .tab-content {
11
- float: left; }
12
-
13
- .luca-ui-tab-view.tabs-right .tab-selector-container {
14
- float: right; }
15
- .luca-ui-tab-view.tabs-right .tab-content {
16
- float: left; }