express_admin 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +3 -1
  3. data/app/assets/images/express_admin/appexpress_logo_dark.png +0 -0
  4. data/app/assets/javascripts/express_admin.js +1 -4
  5. data/app/assets/javascripts/express_admin/admin.js +0 -2
  6. data/app/assets/javascripts/express_admin/scrollTableBody.js +127 -0
  7. data/app/assets/stylesheets/express_admin.css +1 -1
  8. data/app/assets/stylesheets/express_admin/components/_main_menu.sass +5 -0
  9. data/app/assets/stylesheets/express_admin/components/_megadropdown.sass +0 -5
  10. data/app/assets/stylesheets/express_admin/components/_module_sidebar.sass +9 -0
  11. data/app/assets/stylesheets/express_admin/components/_pane.sass +9 -0
  12. data/app/assets/stylesheets/express_admin/components/_widget_box.sass +10 -0
  13. data/app/assets/stylesheets/express_admin/globals/_foundation_overrides.sass +612 -0
  14. data/app/assets/stylesheets/express_admin/globals/_mixins.sass +9 -0
  15. data/app/assets/stylesheets/express_admin/globals/_typography.sass +8 -16
  16. data/app/assets/stylesheets/express_admin/globals/_variables.sass +18 -12
  17. data/app/assets/stylesheets/express_admin/screen.sass +16 -9
  18. data/app/assets/stylesheets/express_admin/sections/_header.sass +8 -94
  19. data/app/assets/stylesheets/express_admin/sections/_main_content.sass +3 -61
  20. data/app/assets/stylesheets/express_admin/sections/_main_region.sass +9 -0
  21. data/app/assets/stylesheets/express_admin/sections/_page_body.sass +6 -0
  22. data/app/assets/stylesheets/express_admin/sections/_page_sidebar.sass +5 -0
  23. data/app/assets/stylesheets/express_admin/sections/_sidebar_region.sass +7 -0
  24. data/app/assets/stylesheets/express_admin/shared/_buttons.sass +2 -31
  25. data/app/assets/stylesheets/express_admin/shared/_forms.sass +3 -97
  26. data/app/assets/stylesheets/express_admin/shared/_layout_components.sass +60 -0
  27. data/app/assets/stylesheets/express_admin/shared/_messages.sass +1 -1
  28. data/app/assets/stylesheets/express_admin/shared/_tables.sass +12 -67
  29. data/app/assets/stylesheets/express_admin/shared/_trees.sass +27 -0
  30. data/app/components/express_admin/addon_sidebar_component.rb +5 -9
  31. data/app/components/express_admin/h_box.rb +16 -0
  32. data/app/components/express_admin/layout_component.rb +14 -0
  33. data/app/components/express_admin/main_region.rb +1 -1
  34. data/app/components/express_admin/pane.rb +37 -0
  35. data/app/components/express_admin/sidebar_region.rb +2 -4
  36. data/app/components/express_admin/smart_form.rb +63 -27
  37. data/app/components/express_admin/smart_table.rb +131 -41
  38. data/app/components/express_admin/v_box.rb +16 -0
  39. data/app/components/express_admin/widget_box.rb +2 -2
  40. data/app/helpers/express_admin/admin_helper.rb +14 -9
  41. data/app/views/layouts/express_admin/admin.html.et +7 -11
  42. data/app/views/shared/express_admin/_navigation_bar.html.et +17 -13
  43. data/app/views/shared/express_admin/_navigation_bar_profile.html.et +0 -2
  44. data/app/views/shared/express_admin/_title.html.et +6 -8
  45. data/lib/express_admin/engine.rb +1 -1
  46. data/lib/express_admin/menu.rb +7 -2
  47. data/lib/express_admin/version.rb +1 -1
  48. data/lib/generators/express_admin/install/install_generator.rb +4 -4
  49. data/lib/generators/express_admin/install/templates/controllers/admin_controller.rb.erb +1 -1
  50. data/lib/generators/express_admin/scaffold/scaffold_generator.rb +10 -2
  51. data/lib/generators/express_admin/scaffold/templates/index.html.et.erb +1 -1
  52. data/test/dummy/app/controllers/admin/categories_controller.rb +12 -0
  53. data/test/dummy/app/controllers/admin/widgets_controller.rb +12 -0
  54. data/test/dummy/app/models/category.rb +3 -0
  55. data/test/dummy/app/models/tag.rb +4 -0
  56. data/test/dummy/app/models/widget.rb +7 -0
  57. data/test/dummy/app/models/widget_tag.rb +4 -0
  58. data/test/dummy/app/views/admin/categories/index.html.et +10 -0
  59. data/test/dummy/app/views/admin/widgets/index.html.et +10 -0
  60. data/test/dummy/config/routes.rb +5 -0
  61. data/test/dummy/db/development.sqlite3 +0 -0
  62. data/test/dummy/db/migrate/20150525221206_create_widgets.rb +15 -0
  63. data/test/dummy/db/migrate/20150525221228_create_categories.rb +9 -0
  64. data/test/dummy/db/migrate/20150610081108_create_tags.rb +7 -0
  65. data/test/dummy/db/migrate/20150610081204_create_widget_tags.rb +8 -0
  66. data/test/dummy/db/schema.rb +26 -5
  67. data/test/dummy/db/test.sqlite3 +0 -0
  68. data/test/dummy/log/development.log +35 -0
  69. data/test/dummy/log/test.log +33428 -0
  70. data/test/dummy/test/components/smart_form_test.rb +93 -0
  71. data/test/dummy/test/components/smart_table_test.rb +137 -0
  72. data/test/dummy/test/fixtures/categories.yml +8 -0
  73. data/test/dummy/test/fixtures/tags.yml +14 -0
  74. data/test/dummy/test/fixtures/widget_tags.yml +10 -0
  75. data/test/dummy/test/fixtures/widgets.yml +20 -0
  76. data/test/dummy/test/models/category_test.rb +13 -0
  77. data/test/dummy/test/models/tag_test.rb +13 -0
  78. data/test/dummy/test/models/widget_tag_test.rb +13 -0
  79. data/test/dummy/test/models/widget_test.rb +13 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0fNukwCUjSC_GRsVIMtSMVdZkd5bq5eShMcGCrCVolc.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1c4REJHKdQH9bwZhZ7Ixshmy_1jAzXc3-9OiDCDyRlk.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1rKHSaJsgLcnfIJRWYdYy7IimMCKcdI-I_ABekUargk.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2kMk5s4FKAOWE1z_MvFIKHmdvNDzyoknoi39xL7KwJw.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2oGeKB_QtwWpX3sJNHocsJiBZT60x_cwV_nSGh_HS-A.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2rQDWRzFxOlBnczJ1BLfE2yCPVvrhgLGfAI7VSM54wk.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3S9nnUmEIG4-hDY6cVc82GFUUWicNxtpFfWwJAmJSkI.cache +2 -0
  87. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4WErFdugnc8uWYwUE9vVfw4xxCgknECdpWhn8teZbLk.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4a7epNa5R1jeKCtFsJKTdVqMEQm5p0clABRPIiKegMo.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/57pjjkzReNE1L9yodewGebfd0AwnfQb33rtJjSTNpLc.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7vpDV8GyXVfyuFIkRrrkOwUXyIaCmf22tBPDpvhCUUc.cache +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Cpj6WyqdggDUkeQl_Ut3P9sUtPHPXXwkmZ92TfIJGJ8.cache +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DwepgSdLiEklsJWIJItEY_ZW-nOjjeHqcdQwBtu0mus.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FOJpwMQCx9V9wfhJQKFa2f7BjfP7vyS7M3o6VX0nAI0.cache +1 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GStmpiXE4g01i-UTlSKq8B9yS69WpAp0YH7vWyESBwI.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H53ZZ50FwJjYUOMH60F7cpINgkh9tOF4R3L6ANoH6tU.cache +1 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HY86Fwn8VPlIysY56uV-wu90bISxrXeiCtwDXg94Glg.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IcNDN_pmsAcLAMv6CST75OwOucmYm3q2099jn4tB0H8.cache +2 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JpdfSFVzivQn6TFSivlys3nV3VzD8cT0ET8uqbptxV4.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KYe0_GIi-cNX0eRteBB0aixVATrVRo7Z3BaWFCgc7yg.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LsiO4sLQfM0GvyEYhaC2E54rCurTkewg7YJX-sWBctI.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NDViKg4-yspkY1tX9IQWnh1-LkiKqIohBqtRlYZZQcs.cache +2 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OXsmreTQ3MNzGsrV1eEoW72VZQ52hQ0HiuTr0ImnqHA.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PuMvTyv89E8wfRqbWNMhTH3PAE61uCCHgpEsgdOzMXQ.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pvp8CVIKYjspNrgzEvgleujifrrdfATzWbwALDzQNE4.cache +2 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PzcOUndLc-O-VBR2SDM2rFkiqh-iqknTEgEAXDLKfdc.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QbX1HRM7KX85_PeVHcd6VJM6sqzUCWXEEYZX7CAG0eA.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UDHqQKrYSSvXfCbiJjXzmJh2Q6T5hLO80aaPvs9n-74.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UFtISk01WwcjjWcPLyjeHX3bgBqZHGQcb0Z4KFNmduA.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UWvG-0WgVYHVxrtLU32uumROQuSjJv_M_svW1B8YxhY.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UruI7_ZpuzDnmNir9hzUa_r8oiuuIfVTco19ACdxwRw.cache +2 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VQ2-2HlkGd1XVIHlwRGcgDsjto3oE-50-4E3HGdt8uU.cache +1 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VezioHwyk87G6TWkkYX88tBHC6QToVGOU5geZ54Ts5A.cache +1 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WfQ-xKbnwqaKy-UQa8spczc9qocIL_jZE4cyRZftjfA.cache +2 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XPpCqlT8yHTnQNHKRxjnilUBvAs6klpgWXneFU15U78.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XXTM8o6vkSxhxxm8P_orbeCZvxb8nMk7cjdwvUNL1io.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XyRQXY_oj8GLw9z8lj2dknGu45jbX5lK8ko7TePosPE.cache +2 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YDMOayx363vI7odbkHMVI-_RxkOoVP2Hb7FX0mFVFE0.cache +1 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z88gJS67lNABJgUB18JzXrnGkVbYfXQvjqm7mSJIv3o.cache +1 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_k4X14Cc-2Y4gc47s7PaWtAaG_zcq1ICJInTYNp6bI4.cache +2 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_kr_dP4VVnM8s8ZMdiNBSpuPqkQVx46FUdCTDH4XR70.cache +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_y-BPEZTh3iXcaPJkcP9-krjw-V8LMhop4VGxUEUDsY.cache +1 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/afi__XQzjsqMT3svcCGlVD_YrHEWQZAEbJt4CgYaCkw.cache +1 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bdqS7lHa0nBN-mqdSomfMK-S6ct2TAn0z9kVzFBwQPM.cache +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/csH89NDps1_QU4E0p0HHZti2XLd_etKYDqM9cPsNpps.cache +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ePtEu-AuU0iZ2J02ZafF9yOJVd8VVdV2KSheiJYlXzA.cache +1 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eTRff0YXBw-Tx9VEMxb-Es8NwqjHCXiaosBLxijl3I8.cache +1 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fRkrxaDYzRDIvxEUGZBFbW5ocAlmDQNg8_LRcOJJOzI.cache +1 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/goVFgqSk0CBOXpbwLNd-enc31BvXm1S8cMSJ3zbxRYI.cache +1 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hPH6lLkPX0EzSG_eBprMMUnmFs9y89AOarfyhGoAFGc.cache +0 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hgfrt0FmGrYD5SJVJhlsUPtL9usJvw3vZrW4dqQq16Y.cache +1 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hiZg7FLw7SFa7S-BQ8CKWdAqFVUZy2HVb2chmQijM-g.cache +0 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iKb8yzw0EdFpNkayUbc16U7olK7iwE2xIs_6b_xIEtI.cache +1 -0
  133. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iY03Ztj2YhBWadK8LHOKR3Hj1W7PLss0v85Q6Nj7E3Q.cache +0 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ipLhCJrCCVwH7l_p1quUi2xS6POFlVHfZCqIymk8CoI.cache +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ipTot5AshDPhFtCBNfXROxutQlCrYkvsXsy3fcVT0Nw.cache +0 -0
  136. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j5CxYBAeuD-bGDZUBh-pA0mEPCSVFDZsJm3x7QED4g0.cache +1 -0
  137. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jr4uhEONyFYm0QhfEOMqv05S-BeUP7gw1gQl3GIFyAI.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kGO7_IQtBwpe93nSTKj6cCWGm0fZ_NoXltdw8E_74CQ.cache +2 -0
  139. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/le9WohG3eSGbBMySdKkdvkHXW8yipO8w4iQZCCCQb3M.cache +1 -0
  140. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mtmR_XlvnlYbOPmP1EkOj96q2Z5OQNv4HkeFj9DwEXQ.cache +2 -0
  141. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nU1obIDVHUhN-3yRA6B9U5aO8wsd6zh1tyVtSROJewk.cache +2 -0
  142. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oZ6SMNNft5SCbvNtWXkGQwKQPVwXoJRMV7VUJfWHc2k.cache +2 -0
  143. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oygs10cGTBBo7Mj97CjFRTrSrFR7Qi3MnHNR_WQvIps.cache +0 -0
  144. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p0Gnpai0VYzEsAXH_5t9huZ3dO0v6JKRH0PIH--q-XA.cache +2 -0
  145. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pu9xM8T2O07hU3PafxbOLjg2vJxbbHE3qnIK9JHqVhA.cache +1 -0
  146. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qEHftZrJ-Da_nsvX4UOaALyIt0mwnOuE2TdtBPGAWEw.cache +0 -0
  147. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rtdpq5fxIYMKM43QyOIluEECg2NP5OA-7Zi8yuowZSI.cache +1 -0
  148. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ujFa5Hu76zd1O6nO2G7WcgnOWZyTOMKLajazyMXAL_I.cache +0 -0
  149. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uovLHiJZBoVnD7CXYj2WZYmAbBcqGLQOzu4Voz5Fx8c.cache +0 -0
  150. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uyHm0KHsHpJhn-wv69exuuyU4kyJtW3DDQLP7tCD7e4.cache +0 -0
  151. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/v50nc5cuqpLxjepk7XsBmomcmFARYlHQRtq8yOv8AY0.cache +0 -0
  152. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vAh5eTPxI929yxRCyXgbKTWat5cZiVSOyX0UeTveXGE.cache +1 -0
  153. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vKiuNu1fQitE151bh0Tr2Ufkc80jWzchPjxaHkpjQL8.cache +1 -0
  154. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x-3lyh5i4qS-Q9E3X2uj2LthTOxsndFTrFXBsPPo6hI.cache +2 -0
  155. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x3xQgAyjbrGTXy2FX2UzGG77agJgt_xsyNBuofrvY_E.cache +0 -0
  156. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xQqBwKYWFPxZm5tidxsRKk23Z3q-OLRmKQUlMjRev_c.cache +0 -0
  157. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yZNo-6dzWGUNCJDnmqm7X5YB5FOxjYp_l8aKS6KaZOg.cache +0 -0
  158. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zV58Nou0R2EJG875wLND6wF9ES4diVi1fP7B_B6eCzw.cache +1 -0
  159. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zxPFYKpkfNJtui1ekitdNMaGAo39fefm-oJCnILEEQ8.cache +1 -0
  160. data/test/fixtures/widgets.yml +20 -0
  161. data/test/lib/express_admin/menu_test.rb +1 -1
  162. data/test/{fixtures/express_admin → support}/test_menu.yml +0 -0
  163. data/test/test_helper.rb +25 -5
  164. data/vendor/gems/express_templates/Gemfile +16 -0
  165. data/vendor/gems/express_templates/Gemfile.lock +153 -0
  166. data/vendor/gems/express_templates/LICENSE +21 -0
  167. data/vendor/gems/express_templates/README.md +152 -0
  168. data/vendor/gems/express_templates/Rakefile +32 -0
  169. data/vendor/gems/express_templates/diagrams/diagram.graffle +2404 -0
  170. data/vendor/gems/express_templates/diagrams/diagram_express_templates.png +0 -0
  171. data/vendor/gems/express_templates/diagrams/diagram_haml_erb.png +0 -0
  172. data/vendor/gems/express_templates/express_templates-0.5.0.gem +0 -0
  173. data/vendor/gems/express_templates/express_templates.gemspec +29 -0
  174. data/vendor/gems/express_templates/lib/core_extensions/proc.rb +90 -0
  175. data/vendor/gems/express_templates/lib/core_extensions/string.rb +25 -0
  176. data/vendor/gems/express_templates/lib/express_templates.rb +19 -0
  177. data/vendor/gems/express_templates/lib/express_templates/compiler.rb +36 -0
  178. data/vendor/gems/express_templates/lib/express_templates/components.rb +18 -0
  179. data/vendor/gems/express_templates/lib/express_templates/components/base.rb +54 -0
  180. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/adoptable.rb +20 -0
  181. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/building.rb +14 -0
  182. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/conditionality.rb +54 -0
  183. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/configurable.rb +90 -0
  184. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/iterating.rb +75 -0
  185. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/parenting.rb +72 -0
  186. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/rendering.rb +30 -0
  187. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/resourceful.rb +135 -0
  188. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/templating.rb +198 -0
  189. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/wrapping.rb +84 -0
  190. data/vendor/gems/express_templates/lib/express_templates/components/column.rb +13 -0
  191. data/vendor/gems/express_templates/lib/express_templates/components/container.rb +7 -0
  192. data/vendor/gems/express_templates/lib/express_templates/components/content_for.rb +42 -0
  193. data/vendor/gems/express_templates/lib/express_templates/components/for_each.rb +30 -0
  194. data/vendor/gems/express_templates/lib/express_templates/components/form_rails_support.rb +22 -0
  195. data/vendor/gems/express_templates/lib/express_templates/components/forms.rb +17 -0
  196. data/vendor/gems/express_templates/lib/express_templates/components/forms/basic_fields.rb +53 -0
  197. data/vendor/gems/express_templates/lib/express_templates/components/forms/checkbox.rb +37 -0
  198. data/vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb +57 -0
  199. data/vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb +64 -0
  200. data/vendor/gems/express_templates/lib/express_templates/components/forms/form_support.rb +13 -0
  201. data/vendor/gems/express_templates/lib/express_templates/components/forms/option_support.rb +65 -0
  202. data/vendor/gems/express_templates/lib/express_templates/components/forms/radio.rb +84 -0
  203. data/vendor/gems/express_templates/lib/express_templates/components/forms/select.rb +105 -0
  204. data/vendor/gems/express_templates/lib/express_templates/components/forms/select_collection.rb +57 -0
  205. data/vendor/gems/express_templates/lib/express_templates/components/forms/submit.rb +26 -0
  206. data/vendor/gems/express_templates/lib/express_templates/components/null_wrap.rb +41 -0
  207. data/vendor/gems/express_templates/lib/express_templates/components/row.rb +28 -0
  208. data/vendor/gems/express_templates/lib/express_templates/components/table_for.rb +163 -0
  209. data/vendor/gems/express_templates/lib/express_templates/components/tree_for.rb +86 -0
  210. data/vendor/gems/express_templates/lib/express_templates/components/unless_block.rb +40 -0
  211. data/vendor/gems/express_templates/lib/express_templates/expander.rb +140 -0
  212. data/vendor/gems/express_templates/lib/express_templates/indenter.rb +47 -0
  213. data/vendor/gems/express_templates/lib/express_templates/interpolator.rb +36 -0
  214. data/vendor/gems/express_templates/lib/express_templates/macro.rb +45 -0
  215. data/vendor/gems/express_templates/lib/express_templates/markup.rb +9 -0
  216. data/vendor/gems/express_templates/lib/express_templates/markup/html_tag.rb +62 -0
  217. data/vendor/gems/express_templates/lib/express_templates/markup/tag.rb +150 -0
  218. data/vendor/gems/express_templates/lib/express_templates/markup/wrapper.rb +94 -0
  219. data/vendor/gems/express_templates/lib/express_templates/markup/yielder.rb +21 -0
  220. data/vendor/gems/express_templates/lib/express_templates/renderer.rb +11 -0
  221. data/vendor/gems/express_templates/lib/express_templates/template/handler.rb +15 -0
  222. data/vendor/gems/express_templates/lib/express_templates/version.rb +3 -0
  223. data/vendor/gems/express_templates/lib/tasks/express_templates.rake +4 -0
  224. data/vendor/gems/express_templates/test/compiler_test.rb +9 -0
  225. data/vendor/gems/express_templates/test/components/base_test.rb +44 -0
  226. data/vendor/gems/express_templates/test/components/capabilities/resourceful_test.rb +63 -0
  227. data/vendor/gems/express_templates/test/components/column_test.rb +11 -0
  228. data/vendor/gems/express_templates/test/components/conditionality_test.rb +37 -0
  229. data/vendor/gems/express_templates/test/components/configurable_test.rb +43 -0
  230. data/vendor/gems/express_templates/test/components/container_test.rb +66 -0
  231. data/vendor/gems/express_templates/test/components/content_for_test.rb +60 -0
  232. data/vendor/gems/express_templates/test/components/forms/basic_fields_test.rb +52 -0
  233. data/vendor/gems/express_templates/test/components/forms/checkbox_test.rb +44 -0
  234. data/vendor/gems/express_templates/test/components/forms/express_form_test.rb +108 -0
  235. data/vendor/gems/express_templates/test/components/forms/radio_test.rb +96 -0
  236. data/vendor/gems/express_templates/test/components/forms/select_test.rb +146 -0
  237. data/vendor/gems/express_templates/test/components/forms/submit_test.rb +12 -0
  238. data/vendor/gems/express_templates/test/components/iterating_test.rb +127 -0
  239. data/vendor/gems/express_templates/test/components/null_wrap_test.rb +28 -0
  240. data/vendor/gems/express_templates/test/components/row_test.rb +16 -0
  241. data/vendor/gems/express_templates/test/components/table_for_test.rb +211 -0
  242. data/vendor/gems/express_templates/test/components/tree_for_test.rb +103 -0
  243. data/vendor/gems/express_templates/test/core_extensions/proc_test.rb +71 -0
  244. data/vendor/gems/express_templates/test/core_extensions/string_test.rb +20 -0
  245. data/vendor/gems/express_templates/test/dummy/Rakefile +6 -0
  246. data/vendor/gems/express_templates/test/dummy/app/assets/javascripts/application.js +13 -0
  247. data/vendor/gems/express_templates/test/dummy/app/assets/stylesheets/application.css +15 -0
  248. data/vendor/gems/express_templates/test/dummy/app/controllers/application_controller.rb +5 -0
  249. data/vendor/gems/express_templates/test/dummy/app/controllers/hello_controller.rb +5 -0
  250. data/vendor/gems/express_templates/test/dummy/app/helpers/application_helper.rb +2 -0
  251. data/vendor/gems/express_templates/test/dummy/app/views/hello/show.html.et +5 -0
  252. data/vendor/gems/express_templates/test/dummy/app/views/layouts/application.html.et +15 -0
  253. data/vendor/gems/express_templates/test/dummy/bin/bundle +3 -0
  254. data/vendor/gems/express_templates/test/dummy/bin/rails +4 -0
  255. data/vendor/gems/express_templates/test/dummy/bin/rake +4 -0
  256. data/vendor/gems/express_templates/test/dummy/config.ru +4 -0
  257. data/vendor/gems/express_templates/test/dummy/config/application.rb +26 -0
  258. data/vendor/gems/express_templates/test/dummy/config/boot.rb +5 -0
  259. data/vendor/gems/express_templates/test/dummy/config/environment.rb +5 -0
  260. data/vendor/gems/express_templates/test/dummy/config/environments/development.rb +37 -0
  261. data/vendor/gems/express_templates/test/dummy/config/environments/production.rb +82 -0
  262. data/vendor/gems/express_templates/test/dummy/config/environments/test.rb +40 -0
  263. data/vendor/gems/express_templates/test/dummy/config/initializers/assets.rb +8 -0
  264. data/vendor/gems/express_templates/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  265. data/vendor/gems/express_templates/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  266. data/vendor/gems/express_templates/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  267. data/vendor/gems/express_templates/test/dummy/config/initializers/inflections.rb +16 -0
  268. data/vendor/gems/express_templates/test/dummy/config/initializers/mime_types.rb +4 -0
  269. data/vendor/gems/express_templates/test/dummy/config/initializers/session_store.rb +3 -0
  270. data/vendor/gems/express_templates/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  271. data/vendor/gems/express_templates/test/dummy/config/locales/en.yml +23 -0
  272. data/vendor/gems/express_templates/test/dummy/config/routes.rb +4 -0
  273. data/vendor/gems/express_templates/test/dummy/config/secrets.yml +22 -0
  274. data/vendor/gems/express_templates/test/dummy/log/test.log +15987 -0
  275. data/vendor/gems/express_templates/test/dummy/public/404.html +67 -0
  276. data/vendor/gems/express_templates/test/dummy/public/422.html +67 -0
  277. data/vendor/gems/express_templates/test/dummy/public/500.html +66 -0
  278. data/vendor/gems/express_templates/test/dummy/public/favicon.ico +0 -0
  279. data/vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb +14 -0
  280. data/vendor/gems/express_templates/test/dummy/test/helpers/hello_helper_test.rb +4 -0
  281. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-1ax0k6FO5drSUN6jbogg4G0JliUHLffvQUvzSePKxA.cache +1 -0
  282. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-cDLO4NJHMndDHchOLz8KLD7QBc68WtaAbYxK2r6GsU.cache +0 -0
  283. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0t68EIwZ96sAqQSxFka9MQyIk4viw8ZIoREMCGiJRx0.cache +0 -0
  284. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/28LzLLDYjhr3jmu0GxjZ-ms5Bol6JilDRXpg8Zgbjqs.cache +1 -0
  285. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2zt1IbQCnmzGyeZS_I4sYQzrgneSCKIJBRxcffVHlWY.cache +1 -0
  286. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5AeGDyXQbv_BTj3PD4MJpNnGVwUxLsA8H1VcwB69_wE.cache +0 -0
  287. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B0RgtiEmqwrCQuw4AnDa3fdENtJeBtO_TqtGJuWOeNs.cache +3 -0
  288. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/D-tMNp19G2zWOPPhnQRUm4K8DPa8SpKPfGALkkofTeE.cache +0 -0
  289. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EDVlXrcn_wEfaZ5nc_4QJBT7lPiIBcX96jBo7PBz-vc.cache +1 -0
  290. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Eso3tkb79hXQ1XdQgjbV03KyQwSeZFAHxVHImsjQ-HQ.cache +2 -0
  291. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/I8LhheC1OlOyvp_qY8kWpqKcZFiqv_BO-l5bExvDEi0.cache +1 -0
  292. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Kf4VrP5sW-qzziYSN-m7p4nETjLiEwwwRfwUOm7rOr0.cache +0 -0
  293. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pd5YOD1DAL7QtTnwETZYBCabg5DkCFgbjt4iuBOcSoY.cache +1 -0
  294. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QJ0Z8hROMfWpY6f5Chb7GSuDHE4gpabKVQTr9BCZe9s.cache +1 -0
  295. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/T1pSAx767vY7X1UDN0vdF7YGEkI5wMSVUKopsdvp7kI.cache +1 -0
  296. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VlSPFPDK05c7ImadRiRVKzsaa6e15RwX77QR3NYabME.cache +0 -0
  297. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y7_BbgB9jgJIWYjDCsASySd26DTfPADAu_3DDnLlFog.cache +0 -0
  298. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bSfZQxeyghTF4WIVnzGavxlg9afmSNuqcW6bA1Bm1OA.cache +0 -0
  299. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fvD_ZNFRzd8Sc4PoTjyHPnkg4f7WMietFunnKqNjlvc.cache +2 -0
  300. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/g2xQygPqA5kMmp5L3wVGWaUIhdVsxFmOel9FF6M0Fuw.cache +0 -0
  301. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hKbgrf5CbMO8pe9fCHc-rI5mp1ejAhivBfvfDxBNhQA.cache +0 -0
  302. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kaif59owjUr3HBharCH5GUxU6KoW_zXD9a9JiTjIYPY.cache +1 -0
  303. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kpvKX5UlhhoLJv-faeq7Ibv2KQh4ROjTiarh13gHuWI.cache +2 -0
  304. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lfyrNtbNtwuTXAWlmPCKTS-D3FHoPTY6h53wnUN36-A.cache +0 -0
  305. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lyDRhWNhfDw_YCCSbxQw_iOIV3eTfeAoX6mTREuVZSA.cache +3 -0
  306. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p17lC0HAHCtk1ds_NHl9xhEyMtRjfQInw1c6fmFWguc.cache +0 -0
  307. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p1cwnBd8RQBm9x5HzDmiiU7RhvnxhPX8VTfi0tTElJY.cache +3 -0
  308. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qT6_0ti_v6fAjS3wETXqvTkr6W0LP4PB942uLYQzWK8.cache +3 -0
  309. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qzU7DVwQZ7z6i6pYUpssYsAj0y33GN83B4O1bLvkW_4.cache +1 -0
  310. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/r56eI1z7iFKeySym_9zw5hVOPjb0d6IQPn5pAYTKk04.cache +2 -0
  311. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rGWvoeLyiyqb813IXgfDpDxks23JQoLLZOa69bzKPE8.cache +1 -0
  312. data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y8T65xpx0s3RgT_YiqWEEXIaBsgK4woCNSuZ1zjQZBk.cache +2 -0
  313. data/vendor/gems/express_templates/test/expander_stack_test.rb +41 -0
  314. data/vendor/gems/express_templates/test/expander_test.rb +99 -0
  315. data/vendor/gems/express_templates/test/express_templates_test.rb +19 -0
  316. data/vendor/gems/express_templates/test/handler_test.rb +122 -0
  317. data/vendor/gems/express_templates/test/indenter_test.rb +27 -0
  318. data/vendor/gems/express_templates/test/interpolator_test.rb +80 -0
  319. data/vendor/gems/express_templates/test/markup/tag_test.rb +149 -0
  320. data/vendor/gems/express_templates/test/markup/wrapper_test.rb +42 -0
  321. data/vendor/gems/express_templates/test/markup/yielder_test.rb +9 -0
  322. data/vendor/gems/express_templates/test/performance_test.rb +93 -0
  323. data/vendor/gems/express_templates/test/test_helper.rb +28 -0
  324. data/vendor/gems/foundation_apps_styles/Gemfile +4 -0
  325. data/vendor/gems/foundation_apps_styles/LICENSE.txt +21 -0
  326. data/vendor/gems/foundation_apps_styles/README.md +41 -0
  327. data/vendor/gems/foundation_apps_styles/Rakefile +13 -0
  328. data/vendor/gems/foundation_apps_styles/bin/console +14 -0
  329. data/vendor/gems/foundation_apps_styles/bin/setup +7 -0
  330. data/vendor/gems/foundation_apps_styles/foundation_apps_styles.gemspec +24 -0
  331. data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles.rb +6 -0
  332. data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles/version.rb +3 -0
  333. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/account.svg +44 -0
  334. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/action.svg +38 -0
  335. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/ban.svg +17 -0
  336. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bell.svg +22 -0
  337. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bookmark.svg +14 -0
  338. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cart.svg +35 -0
  339. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/chevron.svg +28 -0
  340. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-check.svg +25 -0
  341. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-x.svg +25 -0
  342. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cog.svg +17 -0
  343. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/comment-square.svg +14 -0
  344. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/dashboard.svg +38 -0
  345. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/document.svg +28 -0
  346. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/envelope.svg +44 -0
  347. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/flag.svg +24 -0
  348. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/home.svg +28 -0
  349. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/lock.svg +55 -0
  350. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/magnifying-glass.svg +26 -0
  351. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/person.svg +62 -0
  352. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/reload.svg +19 -0
  353. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/share-boxed.svg +17 -0
  354. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/star.svg +14 -0
  355. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/thumb.svg +38 -0
  356. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/zoom.svg +56 -0
  357. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_global.scss +131 -0
  358. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_includes.scss +33 -0
  359. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_settings.scss +614 -0
  360. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_accordion.scss +72 -0
  361. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_action-sheet.scss +265 -0
  362. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_block-list.scss +360 -0
  363. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button-group.scss +197 -0
  364. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button.scss +205 -0
  365. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_card.scss +93 -0
  366. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_extras.scss +54 -0
  367. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_forms.scss +460 -0
  368. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_grid.scss +422 -0
  369. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_iconic.scss +95 -0
  370. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_label.scss +134 -0
  371. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_list.scss +19 -0
  372. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_menu-bar.scss +382 -0
  373. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_modal.scss +129 -0
  374. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_motion.scss +525 -0
  375. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_notification.scss +207 -0
  376. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_off-canvas.scss +169 -0
  377. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_panel.scss +134 -0
  378. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_popup.scss +68 -0
  379. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_switch.scss +134 -0
  380. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_tabs.scss +100 -0
  381. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_title-bar.scss +135 -0
  382. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_typography.scss +345 -0
  383. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_utilities.scss +160 -0
  384. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation-apps.css +6146 -0
  385. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation.scss +50 -0
  386. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_breakpoints.scss +154 -0
  387. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_functions.scss +343 -0
  388. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_images.scss +19 -0
  389. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_mixins.scss +123 -0
  390. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/vendor/_normalize.scss +424 -0
  391. metadata +512 -36
  392. data/app/assets/stylesheets/express_admin/foundation_and_overrides.scss +0 -1443
  393. data/app/assets/stylesheets/express_admin/sections/_devise.sass +0 -42
  394. data/app/assets/stylesheets/express_admin/sections/_sidebar.sass +0 -42
  395. data/app/assets/stylesheets/express_admin/shared/_labels.sass +0 -16
  396. data/app/assets/stylesheets/express_admin/shared/_navigation.sass +0 -20
  397. data/lib/generators/express_admin/scaffold/templates/show.html.et.erb +0 -10
@@ -0,0 +1,72 @@
1
+ /*
2
+ ACCORDION
3
+ ---------
4
+
5
+ The trusy accordion allows you to create a series of vertical tabs.
6
+ */
7
+
8
+ /// @Foundation.settings
9
+ // Accordion
10
+ $accordion-border: 1px solid $gray-dark !default;
11
+
12
+ $accordion-title-background: $gray-light !default;
13
+ $accordion-title-background-hover: smartscale($accordion-title-background, 5%) !default;
14
+ $accordion-title-background-active: smartscale($accordion-title-background, 3%) !default;
15
+ $accordion-title-color: isitlight($accordion-title-background) !default;
16
+ $accordion-title-color-active: isitlight($accordion-title-background) !default;
17
+
18
+ $accordion-title-padding: $global-padding !default;
19
+ $accordion-content-padding: $global-padding !default;
20
+ ///
21
+
22
+ @mixin accordion-title(
23
+ $background: $accordion-title-background,
24
+ $background-hover: $accordion-title-background-hover,
25
+ $background-active: $accordion-title-background-active,
26
+ $color: $accordion-title-color,
27
+ $color-active: $accordion-title-color-active,
28
+ $padding: $accordion-title-padding
29
+ ) {
30
+ padding: $padding;
31
+ background: $background;
32
+ color: $color;
33
+ line-height: 1;
34
+ cursor: pointer;
35
+
36
+ &:hover {
37
+ background: $background-hover;
38
+ }
39
+
40
+ .is-active > & {
41
+ background: $background-active;
42
+ color: $color-active;
43
+ }
44
+ }
45
+
46
+ @mixin accordion-content(
47
+ $padding: $accordion-content-padding
48
+ ) {
49
+ padding: $padding;
50
+
51
+ display: none;
52
+ .is-active > & {
53
+ display: block;
54
+ }
55
+ }
56
+
57
+ @include exports(accordion) {
58
+ .accordion {
59
+ @if hasvalue($accordion-border) {
60
+ border: $accordion-border;
61
+ }
62
+ }
63
+ .accordion-item {
64
+
65
+ }
66
+ .accordion-title {
67
+ @include accordion-title;
68
+ }
69
+ .accordion-content {
70
+ @include accordion-content;
71
+ }
72
+ }
@@ -0,0 +1,265 @@
1
+ /*
2
+ ACTION SHEET
3
+ ------------
4
+
5
+ A dropdown menu that sticks to the bottom of the screen on small devices, and becomes a dropdown menu on larger devices.
6
+ */
7
+
8
+ /// @Foundation.settings
9
+ // Action Sheet
10
+ $actionsheet-background: white !default;
11
+ $actionsheet-border-color: #ccc !default;
12
+ $actionsheet-animate: transform opacity !default;
13
+ $actionsheet-animation-speed: 0.25s !default;
14
+ $actionsheet-width: 300px !default;
15
+ $actionsheet-radius: 4px !default;
16
+ $actionsheet-shadow: 0 -3px 10px rgba(black, 0.25) !default;
17
+ $actionsheet-padding: $global-padding !default;
18
+ $actionsheet-tail-size: 10px !default;
19
+
20
+ $actionsheet-popup-shadow: 0 0 10px rgba(black, 0.25) !default;
21
+
22
+ $actionsheet-link-color: #000 !default;
23
+ $actionsheet-link-background-hover: smartscale($actionsheet-background) !default;
24
+ ///
25
+
26
+ /*
27
+ Styles for the list inside an action sheet.
28
+ Don't include this mixin if you want to build custom controls inside the sheet.
29
+ */
30
+ @mixin action-sheet-menu(
31
+ $padding: $actionsheet-padding,
32
+ $color: $actionsheet-link-color,
33
+ $border-color: $actionsheet-border-color,
34
+ $background-hover: $actionsheet-link-background-hover
35
+ ) {
36
+ // Menu container
37
+ ul {
38
+ margin: -($padding);
39
+ margin-top: 0;
40
+ list-style-type: none;
41
+ user-select: none;
42
+
43
+ // If the menu has no content above it
44
+ &:first-child {
45
+ margin-top: -$padding;
46
+
47
+ li:first-child {
48
+ border-top: 0;
49
+ }
50
+ }
51
+
52
+ // Menu links
53
+ a {
54
+ display: block;
55
+ padding: $padding * 0.8;
56
+ line-height: 1;
57
+ color: $color;
58
+ border-top: 1px solid $border-color;
59
+
60
+ &:hover {
61
+ color: $color;
62
+ background: $background-hover;
63
+ }
64
+ }
65
+
66
+ .alert > a {
67
+ color: $alert-color;
68
+ }
69
+ .disabled > a {
70
+ pointer-events: none;
71
+ color: #999;
72
+ }
73
+ }
74
+ }
75
+
76
+ /*
77
+ Styles for the action sheet container. Action sheets pin to the top or bottom of the screen.
78
+ */
79
+ @mixin action-sheet(
80
+ $position: bottom,
81
+ $shadow: $actionsheet-shadow,
82
+ $animate: $actionsheet-animate,
83
+ $animation-speed: $actionsheet-animation-speed,
84
+ $padding: $actionsheet-padding,
85
+ $background: $actionsheet-background
86
+ ) {
87
+ position: fixed;
88
+ left: 0;
89
+ z-index: 1000;
90
+ width: 100%;
91
+ padding: $padding;
92
+ background: $background;
93
+ text-align: center;
94
+ transition-property: $animate;
95
+ transition-duration: $animation-speed;
96
+ transition-timing-function: ease-out;
97
+
98
+ @if hasvalue($shadow) {
99
+ box-shadow: $shadow;
100
+ }
101
+
102
+ // Positions
103
+ @if $position == bottom {
104
+ bottom: 0;
105
+ transform: translateY(100%);
106
+
107
+ &.is-active {
108
+ transform: translateY(0%);
109
+ }
110
+ }
111
+ // These two don't quite work as planned yet
112
+ @else if $position == top {
113
+ top: 0;
114
+ transform: translateY(-100%);
115
+
116
+ &.is-active {
117
+ transform: translateY(0%);
118
+ }
119
+ }
120
+ }
121
+
122
+ @mixin popup-menu(
123
+ $position: bottom,
124
+ $background: $actionsheet-background,
125
+ $width: $actionsheet-width,
126
+ $radius: $actionsheet-radius,
127
+ $shadow: $actionsheet-popup-shadow,
128
+ $tail-size: $actionsheet-tail-size
129
+ ) {
130
+ /*
131
+ Core styles
132
+ */
133
+ position: absolute;
134
+ left: 50%;
135
+ width: $width;
136
+ border-radius: $radius;
137
+ opacity: 0;
138
+ pointer-events: none;
139
+
140
+ /*
141
+ Menu shadow
142
+ */
143
+ @if hasvalue($shadow) {
144
+ box-shadow: $shadow;
145
+ }
146
+
147
+ /*
148
+ Active state
149
+ */
150
+ &.is-active {
151
+ opacity: 1;
152
+ pointer-events: auto;
153
+ }
154
+
155
+ /*
156
+ Menu tail
157
+ */
158
+ &::before, &::after {
159
+ content: '';
160
+ position: absolute;
161
+ left: 50%;
162
+ display: block;
163
+ width: 0px;
164
+ height: 0px;
165
+ border-left: $tail-size solid transparent;
166
+ border-right: $tail-size solid transparent;
167
+ margin-left: -($tail-size);
168
+ }
169
+
170
+ /*
171
+ Positioning
172
+ */
173
+ @if $position == bottom {
174
+ top: auto;
175
+ bottom: 0;
176
+ transform: translateX(-50%) translateY(110%);
177
+ &.is-active {
178
+ transform: translateX(-50%) translateY(100%);
179
+ }
180
+
181
+ &::before, &::after {
182
+ top: -($tail-size);
183
+ bottom: auto;
184
+ border-top: 0;
185
+ border-bottom: $tail-size solid $background;
186
+ }
187
+ &::before {
188
+ top: -($tail-size + 2);
189
+ border-bottom-color: rgba(black, 0.15);
190
+ }
191
+
192
+ }
193
+ @else if $position == top {
194
+ top: 0;
195
+ bottom: auto;
196
+ transform: translateX(-50%) translateY(-120%);
197
+ &.is-active {
198
+ transform: translateX(-50%) translateY(-110%);
199
+ }
200
+
201
+ &::before, &::after {
202
+ top: auto;
203
+ bottom: -($tail-size);
204
+ border-top: $tail-size solid $background;
205
+ border-bottom: 0;
206
+ }
207
+ &::before {
208
+ bottom: -($tail-size + 2);
209
+ border-top-color: rgba(black, 0.15);
210
+ }
211
+ }
212
+ }
213
+
214
+ @include exports(action-sheet) {
215
+ .action-sheet-container {
216
+ position: relative;
217
+ display: inline-block;
218
+
219
+ .button {
220
+ margin-left: 0;
221
+ margin-right: 0;
222
+ }
223
+ }
224
+ .action-sheet {
225
+ @include action-sheet;
226
+ @include action-sheet-menu;
227
+
228
+ @include breakpoint(medium) {
229
+ @include popup-menu;
230
+
231
+ &.top {
232
+ @include popup-menu(top);
233
+ }
234
+ }
235
+
236
+ &.primary {
237
+ background: $primary-color;
238
+ color: isitlight($primary-color);
239
+ border: 0;
240
+ &::before { display: none; }
241
+ &::before, &::after { border-top-color: $primary-color; }
242
+ &.top::before, &.top::after { border-bottom-color: $primary-color; }
243
+
244
+ @include action-sheet-menu(
245
+ $color: isitlight($primary-color),
246
+ $border-color: smartscale($primary-color, 10%),
247
+ $background-hover: smartscale($primary-color)
248
+ );
249
+ }
250
+ &.dark {
251
+ background: $dark-color;
252
+ color: isitlight($dark-color);
253
+ border: 0;
254
+ &::before { display: none; }
255
+ &::before, &::after { border-top-color: $dark-color; }
256
+ &.top::before, &.top::after { border-bottom-color: $dark-color; }
257
+
258
+ @include action-sheet-menu(
259
+ $color: isitlight($dark-color),
260
+ $border-color: smartscale($dark-color, 10%),
261
+ $background-hover: smartscale($dark-color)
262
+ );
263
+ }
264
+ }
265
+ }
@@ -0,0 +1,360 @@
1
+ /*
2
+ BLOCK LIST
3
+ ----------
4
+
5
+ A generic list component that can accomodate a variety of styles and controls.
6
+
7
+ Features:
8
+ - Icons
9
+ - Labels
10
+ - Chevrons
11
+ - Text fields
12
+ - Dropdown menus
13
+ - Checkbox/radio inputs
14
+ */
15
+
16
+ /// @Foundation.settings
17
+ // Block List
18
+ $blocklist-background: #fff !default;
19
+ $blocklist-fullbleed: true !default;
20
+ $blocklist-fontsize: 1rem !default;
21
+
22
+ $blocklist-item-padding: 0.8rem 1rem !default;
23
+ $blocklist-item-color: isitlight($blocklist-background, #000, #fff) !default;
24
+ $blocklist-item-background-hover: smartscale($blocklist-background, 4.5%) !default;
25
+ $blocklist-item-color-disabled: #999 !default;
26
+ $blocklist-item-border: 1px solid smartscale($blocklist-background, 18.5%) !default;
27
+
28
+ $blocklist-item-label-color: scale-color($blocklist-item-color, $lightness: 60%) !default;
29
+ $blocklist-item-icon-size: 0.8 !default;
30
+
31
+ $blocklist-header-fontsize: 0.8em !default;
32
+ $blocklist-header-color: smartscale($blocklist-item-color, 40%) !default;
33
+ $blocklist-header-uppercase: true;
34
+
35
+ $blocklist-check-icons: true !default;
36
+ ///
37
+
38
+ /*
39
+ Adds styles for a block list container.
40
+
41
+ $font-size: global font size for the list.
42
+ $full-bleed: when "true", the margins of the list invert to line it up with the edge of a padded element.
43
+ */
44
+ %block-list-container {
45
+ margin-bottom: 1rem;
46
+ line-height: 1;
47
+ user-select: none;
48
+
49
+ &, ul {
50
+ list-style-type: none;
51
+ }
52
+ ul {
53
+ margin-left: 0;
54
+ }
55
+ }
56
+ @mixin block-list-container(
57
+ $font-size: $blocklist-fontsize,
58
+ $full-bleed: $blocklist-fullbleed
59
+ ) {
60
+ @extend %block-list-container;
61
+ font-size: $font-size;
62
+
63
+ @if $full-bleed {
64
+ margin-left: -$global-padding;
65
+ margin-right: -$global-padding;
66
+ }
67
+ }
68
+
69
+ /*
70
+ Styles block list headers on the selector you include this mixin in (normally a <header>).
71
+
72
+ $color - color of the header.
73
+ $font-size - font size of the header.
74
+ $offset - left margin to add to the header, to line it up with the list items.
75
+ */
76
+ @mixin block-list-header(
77
+ $color: $blocklist-header-color,
78
+ $font-size: $blocklist-header-fontsize,
79
+ $uppercase: $blocklist-header-uppercase,
80
+ $offset: get-side($blocklist-item-padding, left)
81
+ ) {
82
+ margin-top: 1em;
83
+ color: $color;
84
+ font-weight: bold;
85
+ margin-bottom: 0.5em;
86
+ margin-left: $offset;
87
+ font-size: $font-size;
88
+ cursor: default;
89
+ @if $uppercase { text-transform: uppercase; }
90
+ }
91
+
92
+ /*
93
+ Styles block list items on the selector you include this mixin in (normally an <li>).
94
+
95
+ $color - color of items.
96
+ $color-hover - color of items on hover.
97
+ $background - background of items.
98
+ $background-hover - background of items on hover.
99
+ $border - border between items.
100
+ $padding - padding on items.
101
+ */
102
+ @mixin block-list-item(
103
+ $color: $blocklist-item-color,
104
+ $color-hover: $blocklist-item-color,
105
+ $color-disabled: $blocklist-item-color-disabled,
106
+ $background: transparent,
107
+ $background-hover: $blocklist-item-background-hover,
108
+ $border: $blocklist-item-border,
109
+ $padding: $blocklist-item-padding
110
+ ) {
111
+ position: relative;
112
+
113
+ @if hasvalue($border) {
114
+ border-bottom: $border;
115
+ &:first-child {
116
+ border-top: $border;
117
+ }
118
+ }
119
+
120
+ // Inner elements share the same basic styles
121
+ > a, > span, > label {
122
+ display: block;
123
+ padding: $padding;
124
+ padding-left: get-side($padding, left);
125
+ color: $color;
126
+ line-height: 1;
127
+ }
128
+ > span {
129
+ cursor: default;
130
+ }
131
+ > a, > label {
132
+ cursor: pointer;
133
+
134
+ &:hover {
135
+ color: $color-hover;
136
+ }
137
+ }
138
+ > a, > label, select {
139
+ &:hover {
140
+ background: $background-hover;
141
+ }
142
+ }
143
+
144
+ // Coloring classes
145
+ &.caution > a {
146
+ &, &:hover { color: $alert-color; }
147
+ }
148
+ &.disabled > a {
149
+ cursor: default;
150
+ &, &:hover { color: $color-disabled; }
151
+ &:hover { background: transparent; }
152
+ }
153
+ }
154
+
155
+ /*
156
+ Adds label styles to the class you include this mixin in.
157
+
158
+ $color - color of the label.
159
+ $left-class - extra class to flip the orientation of the label.
160
+ $left-padding - left padding to use for left-hand labels.
161
+ */
162
+ @mixin block-list-label(
163
+ $color: $blocklist-item-label-color,
164
+ $left-class: 'left',
165
+ $left-padding: get-side($blocklist-item-padding, top)
166
+ ) {
167
+ display: inline-block;
168
+ float: right;
169
+ padding: 0;
170
+ color: $color;
171
+ pointer-events: none;
172
+
173
+ &.#{$left-class} {
174
+ margin-left: $left-padding;
175
+ float: none;
176
+ }
177
+ }
178
+
179
+ /*
180
+ Adds support for chevrons, which appear on the right-hand side of the item.
181
+
182
+ $color - color of the chevron.
183
+ $padding - include the global padding of block list items here.
184
+ */
185
+ @mixin block-list-chevron(
186
+ $color: $blocklist-header-color,
187
+ $padding: $blocklist-item-padding,
188
+ $label-class: 'block-list-label'
189
+ ) {
190
+ // Chevrons are a pseudo-element
191
+ &::after {
192
+ content: '\203A';
193
+ display: block;
194
+ position: absolute;
195
+ right: get-side($padding, right);
196
+ top: 50%;
197
+ transform: translateY(-50%);
198
+ font-weight: bold;
199
+ color: $color;
200
+ font-size: 2em;
201
+ }
202
+
203
+ // Labels next to links move over to make room for the chevron
204
+ // TODO: this selector needs to be customiable, but adding a setting just for it might be weird
205
+ .#{$label-class} {
206
+ padding-right: get-side($padding, right) * 1.5;
207
+ }
208
+ }
209
+
210
+ /*
211
+ Adds icon styles. Call this mixin on a block list container.
212
+
213
+ $size - size of the icon as a percentage (decimal) of the list item's height.
214
+ $item-selector - overrides the 'li' selector used for list items.
215
+ */
216
+ @mixin block-list-icons(
217
+ $size: $blocklist-item-icon-size,
218
+ $item-selector: 'li'
219
+ ) {
220
+ // PH - need a better solution
221
+ $item-height:
222
+ $blocklist-fontsize
223
+ + get-side($blocklist-item-padding, top)
224
+ + get-side($blocklist-item-padding, top);
225
+
226
+ $icon-height: $item-height * $blocklist-item-icon-size;
227
+ $icon-offset: ($item-height - $icon-height) / 2;
228
+
229
+ #{$item-selector} {
230
+ > a, > span, > label {
231
+ padding-left: (get-side($blocklist-item-padding, left) * 2) + $blocklist-item-icon-size;
232
+ }
233
+ img, .iconic {
234
+ position: absolute;
235
+ top: $icon-offset;
236
+ left: $icon-offset;
237
+ width: $icon-height;
238
+ height: $icon-height;
239
+ border-radius: 8px;
240
+ pointer-events: none;
241
+ }
242
+ }
243
+ }
244
+
245
+ /*
246
+ Adds support for text fields, select menus, and checkbox/radio groups in block lists.
247
+
248
+ $color - color of select menu arrow.
249
+ $background-hover - color of select menu when hovered over.
250
+ $padding - include the global padding of block list items here.
251
+ $dropdown-class - class to use for list items that contain a dropdown.
252
+ $switch-class - class to use for switches inside list items.
253
+ */
254
+ @mixin block-list-inputs(
255
+ $color: $blocklist-item-color,
256
+ $background: $blocklist-background,
257
+ $background-hover: $blocklist-item-background-hover,
258
+ $padding: $blocklist-item-padding,
259
+ $icons: $blocklist-check-icons,
260
+ $dropdown-class: 'with-dropdown',
261
+ $switch-class: 'switch'
262
+ ) {
263
+ // Text fields
264
+ #{$text-input-selectors} {
265
+ $top-padding: get-side($padding, top) - ($blocklist-fontsize * 0.2);
266
+ $bottom-padding: get-side($padding, bottom) - ($blocklist-fontsize * 0.2);
267
+ $left-padding: get-side($padding, left);
268
+ $right-padding: get-side($padding, right);
269
+ $height: ($blocklist-fontsize * 1.4 + $top-padding + $bottom-padding);
270
+
271
+ overflow: visible;
272
+ box-sizing: border-box;
273
+ margin: 0;
274
+ border: 0;
275
+ height: $height;
276
+ padding: $top-padding $right-padding $bottom-padding $left-padding;
277
+ color: inherit;
278
+ font-size: $blocklist-fontsize;
279
+ -webkit-font-smoothing: antialiased;
280
+ vertical-align: middle;
281
+
282
+ &:hover, &:focus {
283
+ border: 0;
284
+ }
285
+ }
286
+
287
+ // Multiple select
288
+ li > input[type="checkbox"], li > input[type="radio"] {
289
+ position: absolute;
290
+ left: -9999px;
291
+
292
+ & + label {
293
+ display: block;
294
+ font-size: $blocklist-fontsize;
295
+ margin: 0;
296
+ }
297
+
298
+ @if $icons == true {
299
+ &:checked + label {
300
+ &::before {
301
+ @include image-checkmark($color);
302
+ content: '';
303
+ background-size: 100% 100%;
304
+ width: 1.5em;
305
+ height: 1.5em;
306
+ color: $primary-color;
307
+ float: right;
308
+ pointer-events: none;
309
+ margin-top: -0.25em;
310
+ }
311
+ }
312
+ }
313
+ }
314
+
315
+ // Dropdowns
316
+ .#{$dropdown-class} {
317
+ color: inherit;
318
+
319
+ select {
320
+ // Reset pesky <select> styles
321
+ -webkit-appearance: none;
322
+ -moz-appearance: none;
323
+ outline: 0;
324
+ background: 0;
325
+ border: 0;
326
+ height: auto;
327
+ padding: $padding;
328
+ margin: 0;
329
+ font-size: 1em; // Same size as its parent
330
+ line-height: 1;
331
+ color: inherit;
332
+ background-color: transparent;
333
+ }
334
+ }
335
+
336
+ // Switches
337
+ .#{$switch-class} {
338
+ position: absolute;
339
+ top: 50%;
340
+ right: get-side($padding, right);
341
+ transform: translateY(-50%);
342
+ }
343
+ }
344
+
345
+ @include exports(block-list) {
346
+ .block-list {
347
+ @include block-list-container;
348
+ @include block-list-inputs;
349
+
350
+ &.with-icons { @include block-list-icons; }
351
+ header { @include block-list-header; }
352
+
353
+ li {
354
+ @include block-list-item;
355
+
356
+ &.with-chevron { @include block-list-chevron; }
357
+ .block-list-label { @include block-list-label; }
358
+ }
359
+ }
360
+ }