cardboard_cms 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (360) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-gemset +1 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +42 -0
  5. data/Gemfile.lock +324 -0
  6. data/Guardfile +23 -0
  7. data/LICENSE.txt +677 -0
  8. data/README.md +370 -0
  9. data/Rakefile +23 -0
  10. data/app/assets/images/cardboard/.gitkeep +0 -0
  11. data/app/assets/images/cardboard/bg.png +0 -0
  12. data/app/assets/images/cardboard/calendar.png +0 -0
  13. data/app/assets/images/cardboard/lorem-ipsum-coffe-mug.jpg +0 -0
  14. data/app/assets/javascripts/cardboard.js +1 -0
  15. data/app/assets/javascripts/cardboard/admin.js +62 -0
  16. data/app/assets/javascripts/cardboard/content_sidebar.js +27 -0
  17. data/app/assets/javascripts/cardboard/datepicker.js +19 -0
  18. data/app/assets/javascripts/cardboard/main_sidebar.js +32 -0
  19. data/app/assets/javascripts/cardboard/rich_text.js +81 -0
  20. data/app/assets/javascripts/cardboard/search_filter.js +28 -0
  21. data/app/assets/stylesheets/cardboard.css.scss +2 -0
  22. data/app/assets/stylesheets/cardboard/_bootstrap-select.css.scss +183 -0
  23. data/app/assets/stylesheets/cardboard/_content.css.scss +35 -0
  24. data/app/assets/stylesheets/cardboard/_content_sidebar.css.scss +96 -0
  25. data/app/assets/stylesheets/cardboard/_framework.css.scss +129 -0
  26. data/app/assets/stylesheets/cardboard/_main_sidebar.css.scss +38 -0
  27. data/app/assets/stylesheets/cardboard/_main_topbar.css.scss +62 -0
  28. data/app/assets/stylesheets/cardboard/_resources.css.scss +28 -0
  29. data/app/assets/stylesheets/cardboard/_rich_text.css.scss +6 -0
  30. data/app/assets/stylesheets/cardboard/_variables.scss +326 -0
  31. data/app/assets/stylesheets/cardboard/admin.css.scss +63 -0
  32. data/app/controllers/cardboard/application_controller.rb +45 -0
  33. data/app/controllers/cardboard/dashboard_controller.rb +9 -0
  34. data/app/controllers/cardboard/my_account_controller.rb +27 -0
  35. data/app/controllers/cardboard/pages_controller.rb +34 -0
  36. data/app/controllers/cardboard/resource_controller.rb +61 -0
  37. data/app/controllers/cardboard/settings_controller.rb +28 -0
  38. data/app/controllers/cardboard/super_user_controller.rb +8 -0
  39. data/app/controllers/pages_controller.rb +29 -0
  40. data/app/decorators/controllers/application_controller_decorator.rb +9 -0
  41. data/app/decorators/lib/cardboard/user_class_decorator.rb +32 -0
  42. data/app/helpers/cardboard/application_helper.rb +4 -0
  43. data/app/helpers/cardboard/public_helper.rb +53 -0
  44. data/app/helpers/cardboard/resource_helper.rb +80 -0
  45. data/app/inputs/date_picker_input.rb +10 -0
  46. data/app/inputs/date_time_input.rb +7 -0
  47. data/app/inputs/image_input.rb +3 -0
  48. data/app/inputs/rich_text_input.rb +6 -0
  49. data/app/models/cardboard/field.rb +67 -0
  50. data/app/models/cardboard/field/boolean.rb +29 -0
  51. data/app/models/cardboard/field/date.rb +24 -0
  52. data/app/models/cardboard/field/decimal.rb +25 -0
  53. data/app/models/cardboard/field/external_link.rb +4 -0
  54. data/app/models/cardboard/field/file.rb +19 -0
  55. data/app/models/cardboard/field/image.rb +33 -0
  56. data/app/models/cardboard/field/integer.rb +26 -0
  57. data/app/models/cardboard/field/resource_link.rb +4 -0
  58. data/app/models/cardboard/field/rich_text.rb +21 -0
  59. data/app/models/cardboard/field/string.rb +16 -0
  60. data/app/models/cardboard/field/text.rb +15 -0
  61. data/app/models/cardboard/page.rb +253 -0
  62. data/app/models/cardboard/page_part.rb +79 -0
  63. data/app/models/cardboard/setting.rb +46 -0
  64. data/app/views/cardboard/dashboard/index.html.slim +1 -0
  65. data/app/views/cardboard/fields/_base_input.html.slim +1 -0
  66. data/app/views/cardboard/fields/_boolean.html.slim +4 -0
  67. data/app/views/cardboard/fields/_date.html.slim +1 -0
  68. data/app/views/cardboard/fields/_external_link.html.slim +2 -0
  69. data/app/views/cardboard/fields/_file.html.slim +12 -0
  70. data/app/views/cardboard/fields/_image.html.slim +11 -0
  71. data/app/views/cardboard/fields/_resource_link.html.slim +2 -0
  72. data/app/views/cardboard/fields/_rich_text.html.slim +3 -0
  73. data/app/views/cardboard/fields/_string.html.slim +1 -0
  74. data/app/views/cardboard/my_account/edit.html.slim +29 -0
  75. data/app/views/cardboard/pages/_error.html.slim +7 -0
  76. data/app/views/cardboard/pages/_seo.html.slim +6 -0
  77. data/app/views/cardboard/pages/_sidebar.html.slim +17 -0
  78. data/app/views/cardboard/pages/_subpart_fields.html.slim +20 -0
  79. data/app/views/cardboard/pages/_url_field.html.slim +20 -0
  80. data/app/views/cardboard/pages/edit.html.slim +43 -0
  81. data/app/views/cardboard/pages/index.html.slim +2 -0
  82. data/app/views/cardboard/pages/show.html.slim +9 -0
  83. data/app/views/cardboard/resources/_advanced_search.html.slim +40 -0
  84. data/app/views/cardboard/resources/_search_button.html.slim +2 -0
  85. data/app/views/cardboard/resources/_search_helper.html.slim +17 -0
  86. data/app/views/cardboard/resources/_simple_search.html.slim +6 -0
  87. data/app/views/cardboard/rich_editor/_links_modal.html.slim +39 -0
  88. data/app/views/cardboard/settings/index.html.slim +8 -0
  89. data/app/views/cardboard/super_user/index.html.slim +10 -0
  90. data/app/views/layouts/cardboard/_flash_message.html.slim +6 -0
  91. data/app/views/layouts/cardboard/_head.html.slim +16 -0
  92. data/app/views/layouts/cardboard/_main_sidebar.html.slim +12 -0
  93. data/app/views/layouts/cardboard/_main_topbar.html.slim +32 -0
  94. data/app/views/layouts/cardboard/application.html.slim +28 -0
  95. data/cardboard.gemspec +57 -0
  96. data/config/initializers/dragonfly.rb +27 -0
  97. data/config/initializers/ranker_mapper_finder_bugfix.rb +43 -0
  98. data/config/initializers/simple_form.rb +142 -0
  99. data/config/initializers/simple_form_bootstrap.rb +45 -0
  100. data/config/locales/simple_form.en.yml +26 -0
  101. data/config/routes.rb +53 -0
  102. data/doc/apple-touch-icon.png +0 -0
  103. data/doc/classes/Cardboard.html +190 -0
  104. data/doc/classes/Cardboard/AdminController.html +134 -0
  105. data/doc/classes/Cardboard/AdminHelper.html +307 -0
  106. data/doc/classes/Cardboard/ApplicationController.html +76 -0
  107. data/doc/classes/Cardboard/ApplicationHelper.html +70 -0
  108. data/doc/classes/Cardboard/DashboardController.html +131 -0
  109. data/doc/classes/Cardboard/Field.html +283 -0
  110. data/doc/classes/Cardboard/Field/Boolean.html +218 -0
  111. data/doc/classes/Cardboard/Field/Date.html +218 -0
  112. data/doc/classes/Cardboard/Field/Decimal.html +218 -0
  113. data/doc/classes/Cardboard/Field/ExternalLink.html +76 -0
  114. data/doc/classes/Cardboard/Field/File.html +131 -0
  115. data/doc/classes/Cardboard/Field/Image.html +181 -0
  116. data/doc/classes/Cardboard/Field/Integer.html +218 -0
  117. data/doc/classes/Cardboard/Field/ResourceLink.html +76 -0
  118. data/doc/classes/Cardboard/Field/RichText.html +131 -0
  119. data/doc/classes/Cardboard/Field/String.html +131 -0
  120. data/doc/classes/Cardboard/Page.html +1184 -0
  121. data/doc/classes/Cardboard/PagePart.html +304 -0
  122. data/doc/classes/Cardboard/PagesController.html +186 -0
  123. data/doc/classes/Cardboard/PublicHelper.html +252 -0
  124. data/doc/classes/Cardboard/Setting.html +240 -0
  125. data/doc/classes/Cardboard/SettingsController.html +184 -0
  126. data/doc/classes/Cardboard/SuperUserController.html +130 -0
  127. data/doc/classes/Cardboard/UsersController.html +191 -0
  128. data/doc/classes/DatePickerInput.html +132 -0
  129. data/doc/classes/ImageInput.html +76 -0
  130. data/doc/classes/Object.html +211 -0
  131. data/doc/classes/PagesController.html +145 -0
  132. data/doc/classes/RichTextInput.html +132 -0
  133. data/doc/created.rid +31 -0
  134. data/doc/css/github.css +129 -0
  135. data/doc/css/main.css +333 -0
  136. data/doc/css/panel.css +384 -0
  137. data/doc/css/reset.css +48 -0
  138. data/doc/favicon.ico +0 -0
  139. data/doc/files/app/controllers/cardboard/admin_controller_rb.html +79 -0
  140. data/doc/files/app/controllers/cardboard/application_controller_rb.html +84 -0
  141. data/doc/files/app/controllers/cardboard/dashboard_controller_rb.html +84 -0
  142. data/doc/files/app/controllers/cardboard/pages_controller_rb.html +84 -0
  143. data/doc/files/app/controllers/cardboard/settings_controller_rb.html +84 -0
  144. data/doc/files/app/controllers/cardboard/super_user_controller_rb.html +84 -0
  145. data/doc/files/app/controllers/cardboard/users_controller_rb.html +84 -0
  146. data/doc/files/app/controllers/pages_controller_rb.html +79 -0
  147. data/doc/files/app/decorators/controllers/application_controller_decorator_rb.html +68 -0
  148. data/doc/files/app/decorators/lib/cardboard/user_class_decorator_rb.html +68 -0
  149. data/doc/files/app/helpers/cardboard/admin_helper_rb.html +84 -0
  150. data/doc/files/app/helpers/cardboard/application_helper_rb.html +84 -0
  151. data/doc/files/app/helpers/cardboard/public_helper_rb.html +84 -0
  152. data/doc/files/app/inputs/date_picker_input_rb.html +79 -0
  153. data/doc/files/app/inputs/image_input_rb.html +79 -0
  154. data/doc/files/app/inputs/rich_text_input_rb.html +79 -0
  155. data/doc/files/app/models/cardboard/field/boolean_rb.html +84 -0
  156. data/doc/files/app/models/cardboard/field/date_rb.html +84 -0
  157. data/doc/files/app/models/cardboard/field/decimal_rb.html +84 -0
  158. data/doc/files/app/models/cardboard/field/external_link_rb.html +84 -0
  159. data/doc/files/app/models/cardboard/field/file_rb.html +84 -0
  160. data/doc/files/app/models/cardboard/field/image_rb.html +84 -0
  161. data/doc/files/app/models/cardboard/field/integer_rb.html +84 -0
  162. data/doc/files/app/models/cardboard/field/resource_link_rb.html +84 -0
  163. data/doc/files/app/models/cardboard/field/rich_text_rb.html +84 -0
  164. data/doc/files/app/models/cardboard/field/string_rb.html +84 -0
  165. data/doc/files/app/models/cardboard/field_rb.html +84 -0
  166. data/doc/files/app/models/cardboard/page_part_rb.html +84 -0
  167. data/doc/files/app/models/cardboard/page_rb.html +84 -0
  168. data/doc/files/app/models/cardboard/setting_rb.html +84 -0
  169. data/doc/i/arrows.png +0 -0
  170. data/doc/i/results_bg.png +0 -0
  171. data/doc/i/tree_bg.png +0 -0
  172. data/doc/index.html +13 -0
  173. data/doc/js/highlight.pack.js +1 -0
  174. data/doc/js/jquery-1.3.2.min.js +19 -0
  175. data/doc/js/jquery-effect.js +593 -0
  176. data/doc/js/main.js +24 -0
  177. data/doc/js/navigation.js +142 -0
  178. data/doc/js/search_index.js +1 -0
  179. data/doc/js/searchdoc.js +449 -0
  180. data/doc/js/searcher.js +228 -0
  181. data/doc/panel/index.html +73 -0
  182. data/doc/panel/links.html +66 -0
  183. data/doc/panel/tree.js +1 -0
  184. data/lib/cardboard/application.rb +67 -0
  185. data/lib/cardboard/engine.rb +83 -0
  186. data/lib/cardboard/helpers/seed.rb +80 -0
  187. data/lib/cardboard/helpers/settings.rb +58 -0
  188. data/lib/cardboard/version.rb +3 -0
  189. data/lib/cardboard_cms.rb +34 -0
  190. data/lib/generators/cardboard/assets/assets_generator.rb +18 -0
  191. data/lib/generators/cardboard/install/install_generator.rb +96 -0
  192. data/lib/generators/cardboard/install/templates/cardboard.rb.erb +53 -0
  193. data/lib/generators/cardboard/install/templates/cardboard.yml +29 -0
  194. data/lib/generators/cardboard/install/templates/index.html.erb +0 -0
  195. data/lib/generators/cardboard/install/templates/migrations/1_create_cardboard_fields.rb +21 -0
  196. data/lib/generators/cardboard/install/templates/migrations/2_create_cardboard_page_parts.rb +17 -0
  197. data/lib/generators/cardboard/install/templates/migrations/3_create_cardboard_pages.rb +18 -0
  198. data/lib/generators/cardboard/install/templates/migrations/4_create_cardboard_settings.rb +14 -0
  199. data/lib/generators/cardboard/resource/resource_generator.rb +52 -0
  200. data/lib/generators/cardboard/resource/templates/admin_controller.rb +9 -0
  201. data/lib/generators/cardboard/resource/templates/slim/_fields.html.slim +5 -0
  202. data/lib/generators/cardboard/resource/templates/slim/edit.html.slim +4 -0
  203. data/lib/generators/cardboard/resource/templates/slim/index.html.slim +18 -0
  204. data/lib/generators/cardboard/resource/templates/slim/new.html.slim +4 -0
  205. data/lib/tasks/cardboard_tasks.rake +22 -0
  206. data/lib/templates/erb/scaffold/_form.html.erb +13 -0
  207. data/script/rails +8 -0
  208. data/test/dummy/README.rdoc +261 -0
  209. data/test/dummy/Rakefile +7 -0
  210. data/test/dummy/app/assets/images/defaults/CrashTest.jpg +0 -0
  211. data/test/dummy/app/assets/javascripts/admins.js +2 -0
  212. data/test/dummy/app/assets/javascripts/application.js +5 -0
  213. data/test/dummy/app/assets/javascripts/beans.js +2 -0
  214. data/test/dummy/app/assets/javascripts/cardboard.js +1 -0
  215. data/test/dummy/app/assets/javascripts/icescreams.js +2 -0
  216. data/test/dummy/app/assets/javascripts/main.js +2 -0
  217. data/test/dummy/app/assets/javascripts/news_posts.js +2 -0
  218. data/test/dummy/app/assets/javascripts/pianos.js +2 -0
  219. data/test/dummy/app/assets/stylesheets/admins.css.scss +3 -0
  220. data/test/dummy/app/assets/stylesheets/application.css.scss +9 -0
  221. data/test/dummy/app/assets/stylesheets/beans.css.scss +3 -0
  222. data/test/dummy/app/assets/stylesheets/cardboard.css.scss +5 -0
  223. data/test/dummy/app/assets/stylesheets/icescreams.css.scss +3 -0
  224. data/test/dummy/app/assets/stylesheets/main.css +4 -0
  225. data/test/dummy/app/assets/stylesheets/news_posts.css.scss +3 -0
  226. data/test/dummy/app/assets/stylesheets/pianos.css.scss +3 -0
  227. data/test/dummy/app/assets/stylesheets/scaffolds.css.scss +69 -0
  228. data/test/dummy/app/controllers/application_controller.rb +3 -0
  229. data/test/dummy/app/controllers/cardboard/pianos_controller.rb +6 -0
  230. data/test/dummy/app/controllers/pianos_controller.rb +83 -0
  231. data/test/dummy/app/helpers/application_helper.rb +9 -0
  232. data/test/dummy/app/helpers/cardboard/pianos_helper.rb +7 -0
  233. data/test/dummy/app/mailers/.gitkeep +0 -0
  234. data/test/dummy/app/models/.gitkeep +0 -0
  235. data/test/dummy/app/models/admin_user.rb +28 -0
  236. data/test/dummy/app/models/piano.rb +3 -0
  237. data/test/dummy/app/views/cardboard/pianos/_fields.html.slim +5 -0
  238. data/test/dummy/app/views/cardboard/pianos/edit.html.slim +6 -0
  239. data/test/dummy/app/views/cardboard/pianos/index.html.slim +18 -0
  240. data/test/dummy/app/views/cardboard/pianos/new.html.slim +6 -0
  241. data/test/dummy/app/views/cardboard/pianos/show.html.slim +11 -0
  242. data/test/dummy/app/views/layouts/application.html.slim +24 -0
  243. data/test/dummy/app/views/main/index.html.slim +1 -0
  244. data/test/dummy/app/views/pages/about-us.html.slim +1 -0
  245. data/test/dummy/app/views/pages/home.html.slim +3 -0
  246. data/test/dummy/app/views/pianos/_form.html.erb +25 -0
  247. data/test/dummy/app/views/pianos/edit.html.erb +6 -0
  248. data/test/dummy/app/views/pianos/index.html.erb +25 -0
  249. data/test/dummy/app/views/pianos/new.html.erb +5 -0
  250. data/test/dummy/app/views/pianos/show.html.erb +15 -0
  251. data/test/dummy/config.ru +4 -0
  252. data/test/dummy/config/application.rb +50 -0
  253. data/test/dummy/config/boot.rb +10 -0
  254. data/test/dummy/config/cardboard.yml +126 -0
  255. data/test/dummy/config/database.yml +17 -0
  256. data/test/dummy/config/environment.rb +5 -0
  257. data/test/dummy/config/environments/development.rb +24 -0
  258. data/test/dummy/config/environments/production.rb +70 -0
  259. data/test/dummy/config/environments/test.rb +33 -0
  260. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  261. data/test/dummy/config/initializers/cardboard.rb +53 -0
  262. data/test/dummy/config/initializers/devise.rb +240 -0
  263. data/test/dummy/config/initializers/inflections.rb +15 -0
  264. data/test/dummy/config/initializers/mime_types.rb +5 -0
  265. data/test/dummy/config/initializers/secret_token.rb +8 -0
  266. data/test/dummy/config/initializers/session_store.rb +8 -0
  267. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  268. data/test/dummy/config/locales/devise.en.yml +59 -0
  269. data/test/dummy/config/locales/en.yml +5 -0
  270. data/test/dummy/config/routes.rb +16 -0
  271. data/test/dummy/db/migrate/20130403142235_create_pianos.rb +10 -0
  272. data/test/dummy/db/migrate/20130417134832_add_devise_to_admin_users.rb +53 -0
  273. data/test/dummy/db/migrate/20130426021522_create_news_posts.rb +10 -0
  274. data/test/dummy/db/migrate/20130501195423_create_icescreams.rb +10 -0
  275. data/test/dummy/db/migrate/20130502165540_create_beans.rb +12 -0
  276. data/test/dummy/db/migrate/20130522151358_create_cardboard_fields.rb +21 -0
  277. data/test/dummy/db/migrate/20130522151359_create_cardboard_page_parts.rb +17 -0
  278. data/test/dummy/db/migrate/20130522151400_create_cardboard_pages.rb +18 -0
  279. data/test/dummy/db/migrate/20130522151401_create_cardboard_settings.rb +14 -0
  280. data/test/dummy/db/migrate/20130607132558_create_admins.rb +9 -0
  281. data/test/dummy/db/schema.rb +129 -0
  282. data/test/dummy/db/seeds.rb +2 -0
  283. data/test/dummy/lib/assets/.gitkeep +0 -0
  284. data/test/dummy/log/.gitkeep +0 -0
  285. data/test/dummy/public/404.html +26 -0
  286. data/test/dummy/public/422.html +26 -0
  287. data/test/dummy/public/500.html +25 -0
  288. data/test/dummy/public/favicon.ico +0 -0
  289. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_10_816_404_no_file.png +0 -0
  290. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_10_816_404_no_file.png.meta +2 -0
  291. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_17_87_404_no_file.png +0 -0
  292. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_17_87_404_no_file.png.meta +2 -0
  293. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_34_680_404_no_file.png +0 -0
  294. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_34_680_404_no_file.png.meta +2 -0
  295. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_44_00_698_404_no_file.png +0 -0
  296. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_44_00_698_404_no_file.png.meta +2 -0
  297. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_46_49_55_6152message_in_a_bottle.jpeg +0 -0
  298. data/test/dummy/public/system/dragonfly/development/2013/04/16/10_46_49_55_6152message_in_a_bottle.jpeg.meta +2 -0
  299. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_30_773_404_no_file.png +0 -0
  300. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_30_773_404_no_file.png.meta +2 -0
  301. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_38_856_airport_shuttles_20130207_1647.csv +8 -0
  302. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_38_856_airport_shuttles_20130207_1647.csv.meta +2 -0
  303. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_12_12_144_1361696555_GMail_Android_R.png +0 -0
  304. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_12_12_144_1361696555_GMail_Android_R.png.meta +2 -0
  305. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_16_40_989_404_no_file.png +0 -0
  306. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_16_40_989_404_no_file.png.meta +2 -0
  307. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_19_19_40_6152message_in_a_bottle.jpeg +0 -0
  308. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_19_19_40_6152message_in_a_bottle.jpeg.meta +2 -0
  309. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_21_21_825_6152message_in_a_bottle.jpeg +0 -0
  310. data/test/dummy/public/system/dragonfly/development/2013/04/16/14_21_21_825_6152message_in_a_bottle.jpeg.meta +2 -0
  311. data/test/dummy/public/system/dragonfly/development/2013/04/16/15_46_33_341_bio.jpg +0 -0
  312. data/test/dummy/public/system/dragonfly/development/2013/04/16/15_46_33_341_bio.jpg.meta +2 -0
  313. data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_55_892_404_no_file.png +0 -0
  314. data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_55_892_404_no_file.png.meta +2 -0
  315. data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_56_30_404_no_file.png +0 -0
  316. data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_56_30_404_no_file.png.meta +2 -0
  317. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_24_04_585_Sky_3920445.jpg +0 -0
  318. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_24_04_585_Sky_3920445.jpg.meta +2 -0
  319. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_25_41_111_Sky_3920445.jpg +0 -0
  320. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_25_41_111_Sky_3920445.jpg.meta +2 -0
  321. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_16_937_Sky_3920445.jpg +0 -0
  322. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_16_937_Sky_3920445.jpg.meta +2 -0
  323. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_57_585_Sky_3920445.jpg +0 -0
  324. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_57_585_Sky_3920445.jpg.meta +2 -0
  325. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_28_24_991_Sky_3920445.jpg +0 -0
  326. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_28_24_991_Sky_3920445.jpg.meta +2 -0
  327. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_33_30_610_Sky_3920445.jpg +0 -0
  328. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_33_30_610_Sky_3920445.jpg.meta +2 -0
  329. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_35_18_437_Sky_3920445.jpg +0 -0
  330. data/test/dummy/public/system/dragonfly/development/2013/04/17/15_35_18_437_Sky_3920445.jpg.meta +2 -0
  331. data/test/dummy/public/system/dragonfly/development/2013/04/17/16_45_07_162_Vehicle_Types.jpg +0 -0
  332. data/test/dummy/public/system/dragonfly/development/2013/04/17/16_45_07_162_Vehicle_Types.jpg.meta +2 -0
  333. data/test/dummy/public/system/dragonfly/development/2013/04/18/22_27_35_733_hall.jpg +0 -0
  334. data/test/dummy/public/system/dragonfly/development/2013/04/18/22_27_35_733_hall.jpg.meta +2 -0
  335. data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_808_fluidicon.png +0 -0
  336. data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_808_fluidicon.png.meta +2 -0
  337. data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_989_fluidicon.png +0 -0
  338. data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_989_fluidicon.png.meta +2 -0
  339. data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_44_881_hall3.jpg +0 -0
  340. data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_44_881_hall3.jpg.meta +2 -0
  341. data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_45_450_hall3.jpg +0 -0
  342. data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_45_450_hall3.jpg.meta +2 -0
  343. data/test/dummy/script/rails +6 -0
  344. data/test/dummy/test/fixtures/admins.yml +7 -0
  345. data/test/dummy/test/functional/admins_controller_test.rb +49 -0
  346. data/test/dummy/test/unit/admin_test.rb +7 -0
  347. data/test/dummy/test/unit/helpers/admins_helper_test.rb +4 -0
  348. data/test/factories.rb +47 -0
  349. data/test/integration/page_editing_test.rb +77 -0
  350. data/test/integration/seeding_test.rb +96 -0
  351. data/test/models/field_test.rb +102 -0
  352. data/test/models/page_test.rb +105 -0
  353. data/test/test_helper.rb +40 -0
  354. data/vendor/assets/javascripts/cardboard/bootstrap-select.js +590 -0
  355. data/vendor/assets/javascripts/cardboard/jquery.livesearch.js +48 -0
  356. data/vendor/assets/javascripts/cardboard/jquery.pjax.js +822 -0
  357. data/vendor/assets/javascripts/cardboard/jquery.wysihtml5_size_matters.js.coffee +44 -0
  358. data/vendor/assets/javascripts/cardboard/jquery.wysihtml5imgresizer.js +320 -0
  359. data/vendor/assets/javascripts/cardboard/wysihtml5-0.4.0pre.js +9579 -0
  360. metadata +1011 -0
@@ -0,0 +1,129 @@
1
+ @import "bootstrap";
2
+ @import "bootstrap-datepicker";
3
+ @import "cardboard/bootstrap-select";
4
+
5
+ a {
6
+ color: $linkColor;
7
+ font-weight: 400;
8
+
9
+ &:hover {
10
+ color: darken($linkColor, 30%);
11
+ }
12
+ }
13
+
14
+ label {
15
+ margin-top: 20px;
16
+ margin-bottom: 10px;
17
+ // font-weight: bold;
18
+ text-shadow: 0px 1px #fff;
19
+ }
20
+
21
+ abbr[title],
22
+ abbr[data-original-title] {
23
+ cursor: help;
24
+ border-bottom: 0px;
25
+ }
26
+
27
+ .add-on {
28
+ font-weight: medium;
29
+ }
30
+
31
+ select,
32
+ textarea,
33
+ input[type="text"],
34
+ input[type="password"],
35
+ input[type="datetime"],
36
+ input[type="datetime-local"],
37
+ input[type="date"],
38
+ input[type="month"],
39
+ input[type="time"],
40
+ input[type="week"],
41
+ input[type="number"],
42
+ input[type="email"],
43
+ input[type="url"],
44
+ input[type="search"],
45
+ input[type="tel"],
46
+ input[type="color"],
47
+ .uneditable-input {
48
+ font-size: 13px;
49
+ color: #666666;
50
+ font-family: $font;
51
+ font-weight: 300;
52
+ }
53
+ select.datetime{
54
+ width: auto;
55
+ }
56
+
57
+ legend + .control-group {
58
+ margin-top: 0px;
59
+ }
60
+ .control-group {
61
+ margin-bottom: 26px;
62
+ }
63
+
64
+ .help-block, .help-inline {
65
+ color: #898989;
66
+ }
67
+
68
+ .form-actions {
69
+ background: #fff;
70
+
71
+ .btn {
72
+ margin-right: 15px;
73
+ }
74
+ }
75
+
76
+ .simple_form{
77
+ input, textarea{
78
+ @include box-sizing(border-box);
79
+ }
80
+ input.string, input.password, textarea, .uneditable-input{
81
+ width: 100%;
82
+ }
83
+ input.string, input.password, .uneditable-input{
84
+ max-width: 600px;
85
+ }
86
+ input:not(.btn):not(.boolean):not(.check_boxes):not(.radio_buttons){
87
+ height: 30px;
88
+ }
89
+ }
90
+ textarea {
91
+ height: 100px;
92
+ }
93
+ .date_picker input{
94
+ padding-right: 24px;
95
+ background: white image-url('cardboard/calendar.png') no-repeat 100% 5px;
96
+ }
97
+
98
+ .right{
99
+ float: right;
100
+ margin-right: 1.5em;
101
+ }
102
+ .nav li img{
103
+ margin-right: 6px;
104
+ }
105
+
106
+ .alert{
107
+ @include border-top-radius(0px);
108
+ }
109
+
110
+ .input-append.input-prepend .btn-group{
111
+ vertical-align: top;
112
+ }
113
+
114
+ .table {
115
+ th{
116
+ background: $table_head !important;
117
+ // border-left: 1px solid darken($table_head, 5%);
118
+ border-bottom: 1px solid darken($table_head, 20%);
119
+ // text-align: center;
120
+ a{
121
+ color: #333;
122
+ font-weight:500;
123
+
124
+ }
125
+ }
126
+ td, th{vertical-align:middle}
127
+
128
+ td{padding-top: 14px; padding-bottom: 14px;}
129
+ }
@@ -0,0 +1,38 @@
1
+ $main_sidebar_background: lighten($black, 10%);
2
+ $main_sidebar_background_zindex: $main_topbar_zindex - 1;
3
+
4
+ #main_sidebar{
5
+ // position: absolute;
6
+ // top: $main_topbar_height;
7
+ // left: 0px;
8
+ background: $main_sidebar_background;
9
+ width: $main_sidebar_width;
10
+ box-sizing: border-box;
11
+ z-index: $main_sidebar_background_zindex + 1;
12
+
13
+ #menu{
14
+ .item{
15
+ a{
16
+ padding: 22px 5px;
17
+ display: block;
18
+ border-bottom: 1px solid darken($main_sidebar_background, 9%);
19
+ border-top: 1px solid lighten($main_sidebar_background, 9%);
20
+ text-align: center;
21
+ word-wrap:break-word;
22
+ color: $white;
23
+
24
+ &:hover, &.active{
25
+ background: lighten($main_sidebar_background, 4%);
26
+ //background: $brand_color;
27
+ text-decoration: none;
28
+ }
29
+ span{
30
+ display: block;
31
+ font-size: 12px;
32
+ line-height: 13px;
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
+
@@ -0,0 +1,62 @@
1
+ $main_topbar_color: $white;
2
+ $main_topbar_color_text_shadow: 0px -1px #5d5d5d;
3
+ $main_topbar_zindex: 100;
4
+
5
+ #main_topbar{
6
+ @extend .navbar;
7
+ @extend .navbar-inverse;
8
+ z-index: 100;
9
+ margin-bottom: 0px;
10
+ position: relative;
11
+
12
+ .navbar-inner{
13
+ @include box-sizing(border-box);
14
+ // background: lighten($black, 15%);
15
+ background: $brand_color;
16
+ // box-shadow: none;
17
+ @include border-radius(0px);
18
+ border: none;
19
+ padding: 0px 10px;
20
+ height: $main_topbar_height;
21
+ a{color: $main_topbar_color;}
22
+ text-shadow: $main_topbar_color_text_shadow;
23
+
24
+ #cardboard_logo{
25
+ display: block;
26
+ color: #fff;
27
+ float: left;
28
+ width: $main_sidebar_width;
29
+ height: $main_topbar_height;
30
+ background: rgba(0, 0, 0, 0.2);
31
+ margin-left: -10px;
32
+ @include box-sizing(border-box);
33
+ padding: 10px 36px;
34
+ }
35
+
36
+ #brand{
37
+ font-weight: 700;
38
+ font-size: 20px;
39
+ position: relative;
40
+ top: 9px;
41
+ left: 50px;
42
+ }
43
+
44
+ i{
45
+ color: $main_topbar_color;
46
+ margin-right: 5px;
47
+ }
48
+ }
49
+ .nav > li > a {
50
+ padding: 10px 15px 7px;
51
+ font-weight: 700;
52
+ color: $main_topbar_color;
53
+ text-shadow: $main_topbar_color_text_shadow;
54
+ }
55
+ .dropdown-menu > li > a{
56
+ color: $black;
57
+ text-shadow: none;
58
+ &:hover{
59
+ color: $main_topbar_color;
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,28 @@
1
+ #filter_list{
2
+ text-align: center;
3
+ .filter{
4
+ padding: 4px 6px;
5
+ margin-left: 4px;
6
+ a, i{color: inherit; text-decoration:none}
7
+ i{
8
+ margin-right: 5px;
9
+ }
10
+ @extend .label;
11
+ @extend .label-info;
12
+ }
13
+ }
14
+ #advanced_search{
15
+ a#simple_search_link{
16
+ margin: 0px 20px 10px;
17
+ display: inline-block;
18
+ }
19
+ }
20
+ table#filter_search_header{
21
+ width: 100%;
22
+ form{
23
+ margin:10px 0px 0px;
24
+ }
25
+ h1,h2,h3,h4,h5{
26
+ margin-top: 20px;
27
+ }
28
+ }
@@ -0,0 +1,6 @@
1
+ @import "bootstrap-wysihtml5/core";
2
+
3
+ ul.wysihtml5-toolbar{
4
+ height: 30px;
5
+ }
6
+
@@ -0,0 +1,326 @@
1
+ $font: Roboto, sans-serif !default;
2
+ // $font: 'Montserrat', sans-serif !default;
3
+ $page_nav_slide_speed: 0.3s !default;
4
+ $main_topbar_height: 40px !default;
5
+ $main_sidebar_width: 95px !default;
6
+ $main_content_sidebar_shadow: inset 0px 0px 20px #707070 !default;
7
+ $content_sidebar_width: 280px !default;
8
+ $content_background: #f4f7f9 !default;
9
+ $brand_color: #f9334a !default;
10
+ $table_head: #E1E1E1 !default;
11
+
12
+ // Overwrite as needed
13
+ // //
14
+ // // Boostrap Variables
15
+ // // --------------------------------------------------
16
+
17
+ // // Global values
18
+ // // --------------------------------------------------
19
+
20
+ // // Grays
21
+ // // -------------------------
22
+ $black: #000 !default;
23
+ // $grayDarker: #222 !default;
24
+ // $grayDark: #333 !default;
25
+ // $gray: #555 !default;
26
+ // $grayLight: #999 !default;
27
+ // $grayLighter: #eee !default;
28
+ // $white: #fff !default;
29
+ $blue: #049cdb !default;
30
+ $green: #46a546 !default;
31
+ $red: #9d261d !default;
32
+ $yellow: #ffc40d !default;
33
+ $orange: #f89406 !default;
34
+ $pink: #fd0752 !default;
35
+ $purple: #7a43b6 !default;
36
+
37
+
38
+ // // Accent colors
39
+ // // -------------------------
40
+ // $blue: #049cdb !default;
41
+ // $blueDark: #0064cd !default;
42
+ // $green: #46a546 !default;
43
+ // $red: #9d261d !default;
44
+ // $yellow: #ffc40d !default;
45
+ // $orange: #f89406 !default;
46
+ // $pink: #c3325f !default;
47
+ // $purple: #7a43b6 !default;
48
+
49
+
50
+ // // Scaffolding
51
+ // // -------------------------
52
+ // $bodyBackground: $white !default;
53
+ // $textColor: $grayDark !default;
54
+
55
+
56
+ // // Links
57
+ // // -------------------------
58
+ $linkColor: #08c !default;
59
+ // $linkColorHover: darken($linkColor, 15%) !default;
60
+
61
+
62
+ // // Typography
63
+ // // -------------------------
64
+ // $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
65
+ // $serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
66
+ // $monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace !default;
67
+
68
+ // $baseFontSize: 14px !default;
69
+ // $baseFontFamily: $sansFontFamily !default;
70
+ // $baseLineHeight: 20px !default;
71
+ // $altFontFamily: $serifFontFamily !default;
72
+
73
+ // $headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
74
+ // $headingsFontWeight: bold !default; // instead of browser default, bold
75
+ // $headingsColor: inherit !default; // empty to use BS default, $textColor
76
+
77
+
78
+ // // Component sizing
79
+ // // -------------------------
80
+ // // Based on 14px font-size and 20px line-height
81
+
82
+ // $fontSizeLarge: $baseFontSize * 1.25; // ~18px
83
+ // $fontSizeSmall: $baseFontSize * 0.85; // ~12px
84
+ // $fontSizeMini: $baseFontSize * 0.75; // ~11px
85
+
86
+ // $paddingLarge: 11px 19px !default; // 44px
87
+ // $paddingSmall: 2px 10px !default; // 26px
88
+ // $paddingMini: 0px 6px !default; // 22px
89
+
90
+ // $baseBorderRadius: 4px !default;
91
+ // $borderRadiusLarge: 6px !default;
92
+ // $borderRadiusSmall: 3px !default;
93
+
94
+
95
+ // // Tables
96
+ // // -------------------------
97
+ // $tableBackground: transparent !default; // overall background-color
98
+ // $tableBackgroundAccent: #f9f9f9 !default; // for striping
99
+ // $tableBackgroundHover: #f5f5f5 !default; // for hover
100
+ // $tableBorder: #ddd !default; // table and cell border
101
+
102
+ // // Buttons
103
+ // // -------------------------
104
+ // $btnBackground: $white !default;
105
+ // $btnBackgroundHighlight: darken($white, 10%) !default;
106
+ // $btnBorder: #ccc !default;
107
+
108
+ // $btnPrimaryBackground: $linkColor !default;
109
+ // $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 20%) !default;
110
+ $btnPrimaryBackground: $brand_color !default;
111
+ $btnPrimaryBackgroundHighlight: $btnPrimaryBackground !default;
112
+
113
+ // $btnInfoBackground: #5bc0de !default;
114
+ // $btnInfoBackgroundHighlight: #2f96b4 !default;
115
+
116
+ // $btnSuccessBackground: #62c462 !default;
117
+ // $btnSuccessBackgroundHighlight: #51a351 !default;
118
+
119
+ // $btnWarningBackground: lighten($orange, 15%) !default;
120
+ // $btnWarningBackgroundHighlight: $orange !default;
121
+
122
+ // $btnDangerBackground: #ee5f5b !default;
123
+ // $btnDangerBackgroundHighlight: #bd362f !default;
124
+
125
+ // $btnInverseBackground: #444 !default;
126
+ // $btnInverseBackgroundHighlight: $grayDarker !default;
127
+
128
+
129
+ // // Forms
130
+ // // -------------------------
131
+ // $inputBackground: $white !default;
132
+ // $inputBorder: #ccc !default;
133
+ // $inputBorderRadius: $baseBorderRadius !default;
134
+ // $inputDisabledBackground: $grayLighter !default;
135
+ // $formActionsBackground: #f5f5f5 !default;
136
+ // $inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
137
+
138
+
139
+ // // Dropdowns
140
+ // // -------------------------
141
+ // $dropdownBackground: $white !default;
142
+ // $dropdownBorder: rgba(0,0,0,.2) !default;
143
+ // $dropdownDividerTop: #e5e5e5 !default;
144
+ // $dropdownDividerBottom: $white !default;
145
+
146
+ // $dropdownLinkColor: $grayDark !default;
147
+ // $dropdownLinkColorHover: $white !default;
148
+ // $dropdownLinkColorActive: $white !default;
149
+
150
+ // $dropdownLinkBackgroundActive: $linkColor !default;
151
+ // $dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive !default;
152
+
153
+ $dropdownLinkBackgroundHover: $brand_color !default;
154
+
155
+
156
+ // // COMPONENT VARIABLES
157
+ // // --------------------------------------------------
158
+
159
+
160
+ // // Z-index master list
161
+ // // -------------------------
162
+ // // Used for a bird's eye view of components dependent on the z-axis
163
+ // // Try to avoid customizing these :)
164
+ // $zindexDropdown: 1000 !default;
165
+ // $zindexPopover: 1010 !default;
166
+ // $zindexTooltip: 1030 !default;
167
+ // $zindexFixedNavbar: 1030 !default;
168
+ // $zindexModalBackdrop: 1040 !default;
169
+ // $zindexModal: 1050 !default;
170
+
171
+
172
+ // // Sprite icons path
173
+ // // -------------------------
174
+ // $iconSpritePath: image-path("glyphicons-halflings.png") !default;
175
+ // $iconWhiteSpritePath: image-path("glyphicons-halflings-white.png") !default;
176
+
177
+
178
+ // // Input placeholder text color
179
+ // // -------------------------
180
+ // $placeholderText: $grayLight !default;
181
+
182
+
183
+ // // Hr border color
184
+ // // -------------------------
185
+ // $hrBorder: $grayLighter !default;
186
+
187
+
188
+ // // Horizontal forms & lists
189
+ // // -------------------------
190
+ // $horizontalComponentOffset: 180px !default;
191
+
192
+
193
+ // // Wells
194
+ // // -------------------------
195
+ // $wellBackground: #f5f5f5 !default;
196
+
197
+
198
+ // // Navbar
199
+ // // -------------------------
200
+ // $navbarCollapseWidth: 979px !default;
201
+ // $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
202
+
203
+ // $navbarHeight: 40px !default;
204
+ $navbarHeight: $main_topbar_height !default;
205
+ // $navbarBackgroundHighlight: #ffffff !default;
206
+ // $navbarBackground: darken($navbarBackgroundHighlight, 5%) !default;
207
+ // $navbarBorder: darken($navbarBackground, 12%) !default;
208
+
209
+ // $navbarText: #777 !default;
210
+ // $navbarLinkColor: #777 !default;
211
+ // $navbarLinkColorHover: $grayDark !default;
212
+ // $navbarLinkColorActive: $gray !default;
213
+ // $navbarLinkBackgroundHover: transparent !default;
214
+ // $navbarLinkBackgroundActive: darken($navbarBackground, 5%) !default;
215
+
216
+ // $navbarBrandColor: $navbarLinkColor !default;
217
+
218
+ // // Inverted navbar
219
+ // $navbarInverseBackground: #111111 !default;
220
+ // $navbarInverseBackgroundHighlight: #222222 !default;
221
+ // $navbarInverseBorder: #252525 !default;
222
+
223
+ // $navbarInverseText: $grayLight !default;
224
+ // $navbarInverseLinkColor: $grayLight !default;
225
+ // $navbarInverseLinkColorHover: $white !default;
226
+ // $navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
227
+ // $navbarInverseLinkBackgroundHover: transparent !default;
228
+ // $navbarInverseLinkBackgroundActive: $navbarInverseBackground !default;
229
+
230
+ // $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
231
+ // $navbarInverseSearchBackgroundFocus: $white !default;
232
+ // $navbarInverseSearchBorder: $navbarInverseBackground !default;
233
+ // $navbarInverseSearchPlaceholderColor: #ccc !default;
234
+
235
+ // $navbarInverseBrandColor: $navbarInverseLinkColor !default;
236
+
237
+
238
+ // // Pagination
239
+ // // -------------------------
240
+ // $paginationBackground: #fff !default;
241
+ // $paginationBorder: #ddd !default;
242
+ // $paginationActiveBackground: #f5f5f5 !default;
243
+
244
+
245
+ // // Hero unit
246
+ // // -------------------------
247
+ // $heroUnitBackground: $grayLighter !default;
248
+ // $heroUnitHeadingColor: inherit !default;
249
+ // $heroUnitLeadColor: inherit !default;
250
+
251
+
252
+ // // Form states and alerts
253
+ // // -------------------------
254
+ // $warningText: #c09853 !default;
255
+ // $warningBackground: #fcf8e3 !default;
256
+ // $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
257
+
258
+ // $errorText: #b94a48 !default;
259
+ // $errorBackground: #f2dede !default;
260
+ // $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
261
+
262
+ // $successText: #468847 !default;
263
+ // $successBackground: #dff0d8 !default;
264
+ // $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
265
+
266
+ // $infoText: #3a87ad !default;
267
+ // $infoBackground: #d9edf7 !default;
268
+ // $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
269
+
270
+
271
+ // // Tooltips and popovers
272
+ // // -------------------------
273
+ // $tooltipColor: #fff !default;
274
+ // $tooltipBackground: #000 !default;
275
+ // $tooltipArrowWidth: 5px !default;
276
+ // $tooltipArrowColor: $tooltipBackground !default;
277
+
278
+ // $popoverBackground: #fff !default;
279
+ // $popoverArrowWidth: 10px !default;
280
+ // $popoverArrowColor: #fff !default;
281
+ // $popoverTitleBackground: darken($popoverBackground, 3%) !default;
282
+
283
+ // // Special enhancement for popovers
284
+ // $popoverArrowOuterWidth: $popoverArrowWidth + 1 !default;
285
+ // $popoverArrowOuterColor: rgba(0,0,0,.25) !default;
286
+
287
+
288
+
289
+ // // GRID
290
+ // // --------------------------------------------------
291
+
292
+
293
+ // // Default 940px grid
294
+ // // -------------------------
295
+ // $gridColumns: 12 !default;
296
+ // $gridColumnWidth: 60px !default;
297
+ // $gridGutterWidth: 20px !default;
298
+ // $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
299
+
300
+ // // 1200px min
301
+ // $gridColumnWidth1200: 70px !default;
302
+ // $gridGutterWidth1200: 30px !default;
303
+ // $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1)) !default;
304
+
305
+ // // 768px-979px
306
+ // $gridColumnWidth768: 42px !default;
307
+ // $gridGutterWidth768: 20px !default;
308
+ // $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1)) !default;
309
+
310
+
311
+ // // Fluid grid
312
+ // // -------------------------
313
+ // $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth) !default;
314
+ // $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth) !default;
315
+
316
+ // // 1200px min
317
+ // $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200) !default;
318
+ // $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200) !default;
319
+
320
+ // // 768px-979px
321
+ // $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768) !default;
322
+ // $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768) !default;
323
+
324
+
325
+
326
+