rails_marketplace 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.rdoc +2 -2
  4. data/Rakefile +37 -37
  5. data/app/assets/javascripts/rails_marketplace/application.js +46 -46
  6. data/app/assets/javascripts/rails_marketplace/catalog.coffee +3 -3
  7. data/app/assets/javascripts/rails_marketplace/flash.js +6 -6
  8. data/app/assets/javascripts/rails_marketplace/footermanifest.js +1 -1
  9. data/app/assets/javascripts/rails_marketplace/js/autocomplete/countries.js +266 -266
  10. data/app/assets/javascripts/rails_marketplace/js/autocomplete/jquery.autocomplete.js +986 -986
  11. data/app/assets/javascripts/rails_marketplace/js/bootstrap.min.js +6 -6
  12. data/app/assets/javascripts/rails_marketplace/js/calendar/fullcalendar.min.js +8 -8
  13. data/app/assets/javascripts/rails_marketplace/js/chartjs/chart.min.js +13 -13
  14. data/app/assets/javascripts/rails_marketplace/js/colorpicker/bootstrap-colorpicker.min.js +1087 -1087
  15. data/app/assets/javascripts/rails_marketplace/js/colorpicker/docs.js +17 -17
  16. data/app/assets/javascripts/rails_marketplace/js/cropping/cropper.min.js +9 -9
  17. data/app/assets/javascripts/rails_marketplace/js/cropping/main.js +321 -321
  18. data/app/assets/javascripts/rails_marketplace/js/cropping/main2.js +160 -160
  19. data/app/assets/javascripts/rails_marketplace/js/custom.js +379 -379
  20. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.css +1 -1
  21. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.js +6 -6
  22. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.html5.min.js +22 -22
  23. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.print.min.js +4 -4
  24. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.bootstrap.js +8 -8
  25. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.buttons.min.js +36 -36
  26. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.fixedHeader.min.js +17 -17
  27. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.keyTable.min.js +18 -18
  28. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.responsive.min.js +25 -25
  29. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.scroller.min.js +26 -26
  30. data/app/assets/javascripts/rails_marketplace/js/datatables/fixedHeader.bootstrap.min.css +1 -1
  31. data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.css +333 -333
  32. data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.js +166 -166
  33. data/app/assets/javascripts/rails_marketplace/js/datatables/json/scroller-demo.json +2501 -2501
  34. data/app/assets/javascripts/rails_marketplace/js/datatables/jszip.min.js +14 -14
  35. data/app/assets/javascripts/rails_marketplace/js/datatables/pdfmake.min.js +21 -21
  36. data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.css +1 -1
  37. data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.js +7 -7
  38. data/app/assets/javascripts/rails_marketplace/js/datatables/scroller.bootstrap.min.css +1 -1
  39. data/app/assets/javascripts/rails_marketplace/js/dropzone/dropzone.js +1 -1
  40. data/app/assets/javascripts/rails_marketplace/js/easypie/jquery.easypiechart.min.js +9 -9
  41. data/app/assets/javascripts/rails_marketplace/js/echart/echarts-all.js +35 -35
  42. data/app/assets/javascripts/rails_marketplace/js/echart/green.js +212 -212
  43. data/app/assets/javascripts/rails_marketplace/js/editor/bootstrap-wysiwyg.js +200 -200
  44. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-apollo.js +2 -2
  45. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-basic.js +3 -3
  46. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-clj.js +18 -18
  47. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-css.js +2 -2
  48. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-dart.js +3 -3
  49. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-erlang.js +2 -2
  50. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-go.js +1 -1
  51. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-hs.js +2 -2
  52. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lisp.js +3 -3
  53. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-llvm.js +1 -1
  54. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lua.js +2 -2
  55. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-matlab.js +6 -6
  56. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-ml.js +2 -2
  57. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-mumps.js +2 -2
  58. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-n.js +4 -4
  59. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-pascal.js +3 -3
  60. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-proto.js +1 -1
  61. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-r.js +2 -2
  62. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-rd.js +1 -1
  63. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-scala.js +2 -2
  64. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-sql.js +2 -2
  65. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tcl.js +3 -3
  66. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tex.js +1 -1
  67. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vb.js +2 -2
  68. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vhdl.js +3 -3
  69. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-wiki.js +2 -2
  70. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-xq.js +3 -3
  71. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-yaml.js +2 -2
  72. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/prettify.js +30 -30
  73. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/run_prettify.js +34 -34
  74. data/app/assets/javascripts/rails_marketplace/js/editor/external/jquery.hotkeys.js +99 -99
  75. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.js +1 -1
  76. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.orderBars.js +200 -200
  77. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.pie.js +820 -820
  78. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.resize.js +57 -57
  79. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.stack.js +188 -188
  80. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.tooltip.min.js +11 -11
  81. data/app/assets/javascripts/rails_marketplace/js/gauge/gauge.min.js +1 -1
  82. data/app/assets/javascripts/rails_marketplace/js/gauge/gauge_demo.js +21 -21
  83. data/app/assets/javascripts/rails_marketplace/js/icheck/icheck.min.js +11 -11
  84. data/app/assets/javascripts/rails_marketplace/js/input_mask/jquery.inputmask.js +1 -1
  85. data/app/assets/javascripts/rails_marketplace/js/jquery.min.js +5 -5
  86. data/app/assets/javascripts/rails_marketplace/js/maps/gdp-data.js +184 -184
  87. data/app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-2.0.3.min.js +2 -2
  88. data/app/assets/javascripts/rails_marketplace/js/moment/moment.min.js +6 -6
  89. data/app/assets/javascripts/rails_marketplace/js/moris/example.js +127 -127
  90. data/app/assets/javascripts/rails_marketplace/js/moris/morris.min.js +7 -7
  91. data/app/assets/javascripts/rails_marketplace/js/moris/raphael-min.js +11 -11
  92. data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.buttons.js +132 -132
  93. data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.nonblock.js +151 -151
  94. data/app/assets/javascripts/rails_marketplace/js/nprogress.js +476 -476
  95. data/app/assets/javascripts/rails_marketplace/js/pace/pace.min.js +1 -1
  96. data/app/assets/javascripts/rails_marketplace/js/parsley/parsley.min.js +8 -8
  97. data/app/assets/javascripts/rails_marketplace/js/progressbar/bootstrap-progressbar.min.js +1 -1
  98. data/app/assets/javascripts/rails_marketplace/js/select/select2.full.js +1 -1
  99. data/app/assets/javascripts/rails_marketplace/js/sidebar/classie.js +80 -80
  100. data/app/assets/javascripts/rails_marketplace/js/sidebar/component.css +569 -569
  101. data/app/assets/javascripts/rails_marketplace/js/sidebar/modernizr.custom.js +3 -3
  102. data/app/assets/javascripts/rails_marketplace/js/sidebar/sidebarEffects.js +62 -62
  103. data/app/assets/javascripts/rails_marketplace/js/skycons/skycons.min.js +1 -1
  104. data/app/assets/javascripts/rails_marketplace/js/sparkline/jquery.sparkline.min.js +4 -4
  105. data/app/assets/javascripts/rails_marketplace/js/textarea/autosize.min.js +5 -5
  106. data/app/assets/javascripts/rails_marketplace/less/custom.css +6355 -6355
  107. data/app/assets/javascripts/rails_marketplace/marketplace.js +17 -17
  108. data/app/assets/javascripts/rails_marketplace/welcome.coffee +3 -3
  109. data/app/assets/stylesheets/rails_marketplace/application.scss +30 -30
  110. data/app/assets/stylesheets/rails_marketplace/catalog.scss +131 -131
  111. data/app/assets/stylesheets/rails_marketplace/css/animate.min.css +11 -11
  112. data/app/assets/stylesheets/rails_marketplace/css/bootstrap.min.css +5 -5
  113. data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.css +1116 -1116
  114. data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.min.css +4 -4
  115. data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.print.css +208 -208
  116. data/app/assets/stylesheets/rails_marketplace/css/colorpicker/bootstrap-colorpicker.min.css +8 -8
  117. data/app/assets/stylesheets/rails_marketplace/css/custom.css +5347 -5347
  118. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_page.css +103 -103
  119. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table.css +258 -258
  120. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table_jui.css +500 -500
  121. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables.css +221 -221
  122. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables_themeroller.css +244 -244
  123. data/app/assets/stylesheets/rails_marketplace/css/datatables/tools/css/dataTables.tableTools.css +336 -336
  124. data/app/assets/stylesheets/rails_marketplace/css/editor/index.css +42 -42
  125. data/app/assets/stylesheets/rails_marketplace/css/floatexamples.css +21 -21
  126. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/_all.css +529 -529
  127. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.css +52 -52
  128. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.css +52 -52
  129. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.css +52 -52
  130. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.css +52 -52
  131. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.css +52 -52
  132. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.css +52 -52
  133. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.css +52 -52
  134. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.css +52 -52
  135. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.css +52 -52
  136. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.css +52 -52
  137. data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.css +146 -146
  138. data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.skinFlat.css +106 -106
  139. data/app/assets/stylesheets/rails_marketplace/css/maps/jquery-jvectormap-2.0.3.css +135 -135
  140. data/app/assets/stylesheets/rails_marketplace/css/normalize.css +421 -421
  141. data/app/assets/stylesheets/rails_marketplace/css/nprogress.css +74 -74
  142. data/app/assets/stylesheets/rails_marketplace/css/progressbar/bootstrap-progressbar-3.3.0.css +161 -161
  143. data/app/assets/stylesheets/rails_marketplace/css/select/select2.min.css +403 -403
  144. data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.css +2086 -2086
  145. data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.min.css +4 -4
  146. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/FontAwesome.otf +0 -0
  147. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.eot +0 -0
  148. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.svg +654 -654
  149. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.ttf +0 -0
  150. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff +0 -0
  151. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff2 +0 -0
  152. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.eot +0 -0
  153. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.svg +287 -287
  154. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.ttf +0 -0
  155. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff +0 -0
  156. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff2 +0 -0
  157. data/app/assets/stylesheets/rails_marketplace/fonts/less/animated.less +34 -34
  158. data/app/assets/stylesheets/rails_marketplace/fonts/less/bordered-pulled.less +25 -25
  159. data/app/assets/stylesheets/rails_marketplace/fonts/less/core.less +12 -12
  160. data/app/assets/stylesheets/rails_marketplace/fonts/less/fixed-width.less +6 -6
  161. data/app/assets/stylesheets/rails_marketplace/fonts/less/font-awesome.less +17 -17
  162. data/app/assets/stylesheets/rails_marketplace/fonts/less/icons.less +697 -697
  163. data/app/assets/stylesheets/rails_marketplace/fonts/less/larger.less +13 -13
  164. data/app/assets/stylesheets/rails_marketplace/fonts/less/list.less +19 -19
  165. data/app/assets/stylesheets/rails_marketplace/fonts/less/mixins.less +26 -26
  166. data/app/assets/stylesheets/rails_marketplace/fonts/less/path.less +15 -15
  167. data/app/assets/stylesheets/rails_marketplace/fonts/less/rotated-flipped.less +20 -20
  168. data/app/assets/stylesheets/rails_marketplace/fonts/less/spinning.less +29 -29
  169. data/app/assets/stylesheets/rails_marketplace/fonts/less/stacked.less +20 -20
  170. data/app/assets/stylesheets/rails_marketplace/fonts/less/variables.less +708 -708
  171. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_animated.scss +34 -34
  172. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_bordered-pulled.scss +25 -25
  173. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_core.scss +12 -12
  174. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_fixed-width.scss +6 -6
  175. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_icons.scss +697 -697
  176. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_larger.scss +13 -13
  177. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_list.scss +19 -19
  178. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_mixins.scss +26 -26
  179. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_path.scss +15 -15
  180. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_rotated-flipped.scss +20 -20
  181. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_spinning.scss +29 -29
  182. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_stacked.scss +20 -20
  183. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_variables.scss +708 -708
  184. data/app/assets/stylesheets/rails_marketplace/fonts/scss/font-awesome.scss +17 -17
  185. data/app/assets/stylesheets/rails_marketplace/images/loading.gif +0 -0
  186. data/app/assets/stylesheets/rails_marketplace/marketplace.scss +19 -19
  187. data/app/assets/stylesheets/rails_marketplace/pace.css +76 -76
  188. data/app/assets/stylesheets/rails_marketplace/welcome.scss +3 -3
  189. data/app/assets/stylesheets/scaffold.css +56 -56
  190. data/app/controllers/rails_marketplace/admin_controller.rb +150 -150
  191. data/app/controllers/rails_marketplace/application_controller.rb +4 -4
  192. data/app/controllers/rails_marketplace/catalog_controller.rb +171 -171
  193. data/app/controllers/rails_marketplace/seller_controller.rb +180 -180
  194. data/app/helpers/rails_marketplace/admin_helper.rb +16 -16
  195. data/app/helpers/rails_marketplace/application_helper.rb +4 -4
  196. data/app/helpers/rails_marketplace/catalog_helper.rb +4 -4
  197. data/app/helpers/rails_marketplace/plainpage_helper.rb +4 -4
  198. data/app/helpers/rails_marketplace/seller_helper.rb +15 -15
  199. data/app/models/rails_marketplace/admin.rb +9 -9
  200. data/app/models/rails_marketplace/admin_setting.rb +13 -13
  201. data/app/models/rails_marketplace/cart.rb +48 -48
  202. data/app/models/rails_marketplace/cart_product.rb +6 -6
  203. data/app/models/rails_marketplace/category.rb +21 -21
  204. data/app/models/rails_marketplace/category_product.rb +5 -5
  205. data/app/models/rails_marketplace/customer.rb +5 -5
  206. data/app/models/rails_marketplace/order.rb +21 -21
  207. data/app/models/rails_marketplace/order_product.rb +6 -6
  208. data/app/models/rails_marketplace/product.rb +33 -33
  209. data/app/models/rails_marketplace/seller.rb +12 -12
  210. data/app/models/rails_marketplace/seller_setting.rb +5 -5
  211. data/app/views/layouts/rails_marketplace/application.html.erb +37 -37
  212. data/app/views/layouts/rails_marketplace/seller_central.html.erb +58 -58
  213. data/app/views/layouts/rails_marketplace/super_admin.html.erb +58 -58
  214. data/app/views/rails_marketplace/admin/add_category.html.erb +63 -63
  215. data/app/views/rails_marketplace/admin/categories.html.erb +50 -50
  216. data/app/views/rails_marketplace/admin/category_products.html.erb +54 -54
  217. data/app/views/rails_marketplace/admin/dashboard.html.erb +49 -49
  218. data/app/views/rails_marketplace/admin/edit_category.html.erb +63 -63
  219. data/app/views/rails_marketplace/admin/login_form.html.erb +19 -19
  220. data/app/views/rails_marketplace/admin/products.html.erb +54 -54
  221. data/app/views/rails_marketplace/admin/seller_products.html.erb +54 -54
  222. data/app/views/rails_marketplace/admin/sellers.html.erb +48 -48
  223. data/app/views/rails_marketplace/admin/settings_form.html.erb +38 -38
  224. data/app/views/rails_marketplace/admin/signup_form.html.erb +24 -24
  225. data/app/views/rails_marketplace/catalog/cart.html.erb +80 -80
  226. data/app/views/rails_marketplace/catalog/category_products.html.erb +52 -52
  227. data/app/views/rails_marketplace/catalog/checkout.html.erb +207 -207
  228. data/app/views/rails_marketplace/catalog/checkout_success.html.erb +14 -14
  229. data/app/views/rails_marketplace/catalog/index.html.erb +0 -0
  230. data/app/views/rails_marketplace/catalog/product_detail.html.erb +87 -87
  231. data/app/views/rails_marketplace/partials/_admin_sidenav.html.erb +80 -80
  232. data/app/views/rails_marketplace/partials/_admin_topnav.html.erb +111 -111
  233. data/app/views/rails_marketplace/partials/_footer.html.erb +19 -19
  234. data/app/views/rails_marketplace/partials/_menu.html.erb +41 -41
  235. data/app/views/rails_marketplace/partials/_sidenav.html.erb +77 -77
  236. data/app/views/rails_marketplace/partials/_topnav.html.erb +105 -105
  237. data/app/views/rails_marketplace/seller/add_bulk_products.html.erb +0 -0
  238. data/app/views/rails_marketplace/seller/add_product.html.erb +66 -66
  239. data/app/views/rails_marketplace/seller/dashboard.html.erb +50 -50
  240. data/app/views/rails_marketplace/seller/edit_product.html.erb +68 -68
  241. data/app/views/rails_marketplace/seller/login_form.html.erb +36 -36
  242. data/app/views/rails_marketplace/seller/order_details.html.erb +69 -69
  243. data/app/views/rails_marketplace/seller/orders.html.erb +68 -68
  244. data/app/views/rails_marketplace/seller/products.html.erb +55 -55
  245. data/app/views/rails_marketplace/seller/settings_general.html.erb +64 -64
  246. data/app/views/rails_marketplace/seller/settings_payment.html.erb +34 -34
  247. data/app/views/rails_marketplace/seller/settings_shipping.html.erb +34 -34
  248. data/app/views/rails_marketplace/seller/settings_tax.html.erb +34 -34
  249. data/app/views/rails_marketplace/seller/signup_form.html.erb +27 -27
  250. data/app/views/rails_marketplace/seller/step_two.html.erb +16 -16
  251. data/app/views/rails_marketplace/shared/_admin_error_messages.html.erb +11 -11
  252. data/app/views/rails_marketplace/shared/_product_error_messages.html.erb +11 -11
  253. data/app/views/rails_marketplace/shared/_seller_error_messages.html.erb +11 -11
  254. data/config/routes.rb +58 -58
  255. data/db/migrate/20161013194852_create_sellers.rb +13 -13
  256. data/db/migrate/20161013195006_create_customers.rb +13 -13
  257. data/db/migrate/20161013195758_create_orders.rb +8 -8
  258. data/db/migrate/20161014013032_create_category_products.rb +10 -10
  259. data/db/migrate/20161014013058_create_order_products.rb +13 -13
  260. data/db/migrate/20161017185755_create_admins.rb +12 -12
  261. data/db/migrate/20161017232347_create_products.rb +14 -14
  262. data/db/migrate/20161019012043_add_reference_product_seller.rb +5 -5
  263. data/db/migrate/20161019013502_change_data_type_images_files.rb +6 -6
  264. data/db/migrate/20161019022020_add_reference_order_customers.rb +5 -5
  265. data/db/migrate/20161109191644_create_categories.rb +15 -15
  266. data/db/migrate/20161110021043_create_friendly_id_slugs.rb +15 -15
  267. data/db/migrate/20161110021131_add_slug_to_category.rb +6 -6
  268. data/db/migrate/20161110024118_add_slug_to_product.rb +6 -6
  269. data/db/migrate/20161111001446_create_carts.rb +8 -8
  270. data/db/migrate/20161111004451_create_cart_products.rb +12 -12
  271. data/db/migrate/20161115013956_add_currency_format_to_price.rb +6 -6
  272. data/db/migrate/20161115015227_monetize_product.rb +5 -5
  273. data/db/migrate/20161115032905_add_stripe_key_to_admin.rb +6 -6
  274. data/db/migrate/20161124015608_add_order_fields.rb +16 -16
  275. data/db/migrate/20161207193917_add_seller_to_orders.rb +6 -6
  276. data/db/migrate/20161208012601_add_price_to_cart_products.rb +6 -6
  277. data/db/migrate/20161208013402_add_money_to_cart_products.rb +6 -6
  278. data/db/migrate/20170217183953_create_seller_settings.rb +29 -29
  279. data/db/migrate/20170218003202_create_admin_settings.rb +24 -24
  280. data/db/migrate/20170224230449_create_stripe_managed_accounts.rb +9 -9
  281. data/db/migrate/20170224233736_add_stripe_to_admin_settings.rb +9 -9
  282. data/db/migrate/20170224235259_add_id_to_settings.rb +6 -6
  283. data/db/migrate/20170225002939_delete_stripe_accounts.rb +8 -8
  284. data/db/migrate/20170225003252_add_stripe_account_id_to_seller_settings.rb +5 -5
  285. data/lib/rails_marketplace.rb +4 -4
  286. data/lib/rails_marketplace/engine.rb +9 -9
  287. data/lib/rails_marketplace/version.rb +3 -3
  288. data/lib/tasks/rails_marketplace_tasks.rake +4 -4
  289. data/spec/controllers/rails_marketplace/catalog_controller_spec.rb +75 -75
  290. data/spec/dummy/README.rdoc +28 -28
  291. data/spec/dummy/Rakefile +6 -6
  292. data/spec/dummy/app/assets/javascripts/application.js +13 -13
  293. data/spec/dummy/app/assets/stylesheets/application.css +15 -15
  294. data/spec/dummy/app/controllers/application_controller.rb +5 -5
  295. data/spec/dummy/app/helpers/application_helper.rb +2 -2
  296. data/spec/dummy/app/views/layouts/application.html.erb +14 -14
  297. data/spec/dummy/bin/bundle +3 -3
  298. data/spec/dummy/bin/rails +4 -4
  299. data/spec/dummy/bin/rake +4 -4
  300. data/spec/dummy/bin/setup +29 -29
  301. data/spec/dummy/config.ru +4 -4
  302. data/spec/dummy/config/application.rb +32 -32
  303. data/spec/dummy/config/boot.rb +5 -5
  304. data/spec/dummy/config/database.yml +25 -25
  305. data/spec/dummy/config/environment.rb +5 -5
  306. data/spec/dummy/config/environments/development.rb +41 -41
  307. data/spec/dummy/config/environments/production.rb +79 -79
  308. data/spec/dummy/config/environments/test.rb +42 -42
  309. data/spec/dummy/config/initializers/assets.rb +11 -11
  310. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
  311. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -3
  312. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  313. data/spec/dummy/config/initializers/inflections.rb +16 -16
  314. data/spec/dummy/config/initializers/mime_types.rb +4 -4
  315. data/spec/dummy/config/initializers/session_store.rb +3 -3
  316. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
  317. data/spec/dummy/config/locales/en.yml +23 -23
  318. data/spec/dummy/config/routes.rb +4 -4
  319. data/spec/dummy/config/secrets.yml +22 -22
  320. data/spec/dummy/db/schema.rb +194 -194
  321. data/spec/dummy/log/development.log +889 -889
  322. data/spec/dummy/log/test.log +1229 -1229
  323. data/spec/dummy/public/404.html +67 -67
  324. data/spec/dummy/public/422.html +67 -67
  325. data/spec/dummy/public/500.html +66 -66
  326. data/spec/dummy/public/favicon.ico +0 -0
  327. data/spec/helpers/rails_marketplace/catalog_helper_spec.rb +17 -17
  328. data/spec/routing/rails_marketplace/catalog_routing_spec.rb +44 -44
  329. data/spec/spec_helper.rb +44 -44
  330. data/spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb +15 -15
  331. data/spec/views/rails_marketplace/catalog/index.html.erb_spec.rb +15 -15
  332. data/spec/views/rails_marketplace/catalog/new.html.erb_spec.rb +15 -15
  333. data/spec/views/rails_marketplace/catalog/show.html.erb_spec.rb +12 -12
  334. metadata +37 -38
@@ -1,404 +1,404 @@
1
- .select2-container {
2
- box-sizing: border-box;
3
- display: inline-block;
4
- margin: 0;
5
- position: relative;
6
- vertical-align: middle; }
7
- .select2-container .select2-selection--single {
8
- box-sizing: border-box;
9
- cursor: pointer;
10
- display: block;
11
- user-select: none;
12
- -webkit-user-select: none; }
13
- .select2-container .select2-selection--single .select2-selection__rendered {
14
- display: block;
15
- overflow: hidden;
16
- padding-left: 8px;
17
- padding-right: 20px;
18
- text-overflow: ellipsis; }
19
- .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
20
- padding-right: 8px;
21
- padding-left: 20px; }
22
- .select2-container .select2-selection--multiple {
23
- box-sizing: border-box;
24
- cursor: pointer;
25
- display: block;
26
- min-height: 38px;
27
- user-select: none;
28
- -webkit-user-select: none; }
29
- .select2-container .select2-selection--multiple .select2-selection__rendered {
30
- display: inline-block;
31
- overflow: hidden;
32
- padding-left: 8px;
33
- text-overflow: ellipsis; }
34
- .select2-container .select2-search--inline {
35
- float: left; }
36
- .select2-container .select2-search--inline .select2-search__field {
37
- border: none;
38
- font-size: 100%;
39
- margin-top: 10px; }
40
-
41
- .select2-dropdown {
42
- background-color: white;
43
- border: 1px solid #aaa;
44
- border-radius: 4px;
45
- box-sizing: border-box;
46
- display: block;
47
- position: absolute;
48
- left: -100000px;
49
- width: 100%;
50
- z-index: 1051; }
51
-
52
- .select2-results {
53
- display: block; }
54
-
55
- .select2-results__options {
56
- list-style: none;
57
- margin: 0;
58
- padding: 0; }
59
-
60
- .select2-results__option {
61
- padding: 6px;
62
- user-select: none;
63
- -webkit-user-select: none; }
64
- .select2-results__option[aria-selected] {
65
- cursor: pointer; }
66
-
67
- .select2-container--open .select2-dropdown {
68
- left: 0; }
69
-
70
- .select2-container--open .select2-dropdown--above {
71
- border-bottom: none;
72
- border-bottom-left-radius: 0;
73
- border-bottom-right-radius: 0; }
74
-
75
- .select2-container--open .select2-dropdown--below {
76
- border-top: none;
77
- border-top-left-radius: 0;
78
- border-top-right-radius: 0; }
79
-
80
- .select2-search--dropdown {
81
- display: block;
82
- padding: 4px; }
83
- .select2-search--dropdown .select2-search__field {
84
- padding: 4px;
85
- width: 100%;
86
- box-sizing: border-box; }
87
- .select2-search--dropdown.select2-search--hide {
88
- display: none; }
89
-
90
- .select2-close-mask {
91
- border: 0;
92
- margin: 0;
93
- padding: 0;
94
- display: block;
95
- position: fixed;
96
- left: 0;
97
- top: 0;
98
- min-height: 100%;
99
- min-width: 100%;
100
- height: auto;
101
- width: auto;
102
- opacity: 0;
103
- z-index: 99;
104
- background-color: #fff;
105
- filter: alpha(opacity=0); }
106
-
107
- .select2-container--default .select2-selection--single {
108
- background-color: #fff;
109
- border: 1px solid #ccc;}
110
- .select2-container--default .select2-selection--single .select2-selection__rendered {
111
- line-height: 38px; }
112
- .select2-container--default .select2-selection--single .select2-selection__clear {
113
- cursor: pointer;
114
- float: right;
115
- font-weight: bold; }
116
- .select2-container--default .select2-selection--single .select2-selection__placeholder {
117
- color: #999; }
118
- .select2-container--default .select2-selection--single .select2-selection__arrow {
119
- height: 26px;
120
- position: absolute;
121
- top: 1px;
122
- right: 1px;
123
- width: 20px; }
124
- .select2-container--default .select2-selection--single .select2-selection__arrow b {
125
- border-color: #888 transparent transparent transparent;
126
- border-style: solid;
127
- border-width: 5px 4px 0 4px;
128
- height: 0;
129
- left: 50%;
130
- margin-left: -4px;
131
- margin-top: -2px;
132
- position: absolute;
133
- top: 50%;
134
- width: 0; }
135
- .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
136
- float: left; }
137
- .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
138
- left: 1px;
139
- right: auto; }
140
- .select2-container--default.select2-container--disabled .select2-selection--single {
141
- background-color: #eee;
142
- cursor: default; }
143
- .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
144
- display: none; }
145
- .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
146
- border-color: transparent transparent #888 transparent;
147
- border-width: 0 4px 5px 4px; }
148
- .select2-container--default .select2-selection--multiple {
149
- background-color: white;
150
- border: 1px solid #ccc;
151
- cursor: text; }
152
- .select2-container--default .select2-selection--multiple .select2-selection__rendered {
153
- list-style: none;
154
- margin: 0;
155
- padding: 0 5px;
156
- width: 100%; }
157
- .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
158
- color: #999;
159
- margin-top: 5px;
160
- float: left; }
161
- .select2-container--default .select2-selection--multiple .select2-selection__clear {
162
- cursor: pointer;
163
- float: right;
164
- font-weight: bold;
165
- margin-top: 5px;
166
- margin-right: 10px; }
167
- .select2-container--default .select2-selection--multiple .select2-selection__choice {
168
- background-color: #e4e4e4;
169
- cursor: default;
170
- float: left;
171
- margin-right: 5px;
172
- margin-top: 5px;
173
- padding: 3px 5px; }
174
- .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
175
- color: #999;
176
- cursor: pointer;
177
- display: inline-block;
178
- font-weight: bold;
179
- margin-right: 2px; }
180
- .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
181
- color: #333; }
182
- .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder {
183
- float: right; }
184
- .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
185
- margin-left: 5px;
186
- margin-right: auto; }
187
- .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
188
- margin-left: 2px;
189
- margin-right: auto; }
190
- .select2-container--default.select2-container--disabled .select2-selection--multiple {
191
- background-color: #eee;
192
- cursor: default; }
193
- .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
194
- display: none; }
195
- .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
196
- border-top-left-radius: 0;
197
- border-top-right-radius: 0; }
198
- .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
199
- border-bottom-left-radius: 0;
200
- border-bottom-right-radius: 0; }
201
- .select2-container--default .select2-search--dropdown .select2-search__field {
202
- border: 1px solid #aaa; }
203
- .select2-container--default .select2-search--inline .select2-search__field {
204
- background: transparent;
205
- border: none;
206
- outline: 0; }
207
- .select2-container--default .select2-results > .select2-results__options {
208
- max-height: 200px;
209
- overflow-y: auto; }
210
- .select2-container--default .select2-results__option[role=group] {
211
- padding: 0; }
212
- .select2-container--default .select2-results__option[aria-disabled=true] {
213
- color: #999; }
214
- .select2-container--default .select2-results__option[aria-selected=true] {
215
- background-color: #ddd; }
216
- .select2-container--default .select2-results__option .select2-results__option {
217
- padding-left: 1em; }
218
- .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
219
- padding-left: 0; }
220
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
221
- margin-left: -1em;
222
- padding-left: 2em; }
223
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
224
- margin-left: -2em;
225
- padding-left: 3em; }
226
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
227
- margin-left: -3em;
228
- padding-left: 4em; }
229
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
230
- margin-left: -4em;
231
- padding-left: 5em; }
232
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
233
- margin-left: -5em;
234
- padding-left: 6em; }
235
- .select2-container--default .select2-results__option--highlighted[aria-selected] {
236
- background-color: #5897fb;
237
- color: white; }
238
- .select2-container--default .select2-results__group {
239
- cursor: default;
240
- display: block;
241
- padding: 6px; }
242
-
243
- .select2-container--classic .select2-selection--single {
244
- background-color: #f6f6f6;
245
- border: 1px solid #aaa;
246
- border-radius: 4px;
247
- outline: 0;
248
- background-image: -webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%);
249
- background-image: -o-linear-gradient(top, #ffffff 50%, #eeeeee 100%);
250
- background-image: linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%);
251
- background-repeat: repeat-x;
252
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); }
253
- .select2-container--classic .select2-selection--single:focus {
254
- border: 1px solid #5897fb; }
255
- .select2-container--classic .select2-selection--single .select2-selection__rendered {
256
- color: #444;
257
- line-height: 28px; }
258
- .select2-container--classic .select2-selection--single .select2-selection__clear {
259
- cursor: pointer;
260
- float: right;
261
- font-weight: bold;
262
- margin-right: 10px; }
263
- .select2-container--classic .select2-selection--single .select2-selection__placeholder {
264
- color: #999; }
265
- .select2-container--classic .select2-selection--single .select2-selection__arrow {
266
- background-color: #ddd;
267
- border: none;
268
- border-left: 1px solid #aaa;
269
- border-top-right-radius: 4px;
270
- border-bottom-right-radius: 4px;
271
- height: 26px;
272
- position: absolute;
273
- top: 1px;
274
- right: 1px;
275
- width: 20px;
276
- background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
277
- background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
278
- background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
279
- background-repeat: repeat-x;
280
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0); }
281
- .select2-container--classic .select2-selection--single .select2-selection__arrow b {
282
- border-color: #888 transparent transparent transparent;
283
- border-style: solid;
284
- border-width: 5px 4px 0 4px;
285
- height: 0;
286
- left: 50%;
287
- margin-left: -4px;
288
- margin-top: -2px;
289
- position: absolute;
290
- top: 50%;
291
- width: 0; }
292
- .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
293
- float: left; }
294
- .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
295
- border: none;
296
- border-right: 1px solid #aaa;
297
- border-radius: 0;
298
- border-top-left-radius: 4px;
299
- border-bottom-left-radius: 4px;
300
- left: 1px;
301
- right: auto; }
302
- .select2-container--classic.select2-container--open .select2-selection--single {
303
- border: 1px solid #5897fb; }
304
- .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
305
- background: transparent;
306
- border: none; }
307
- .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
308
- border-color: transparent transparent #888 transparent;
309
- border-width: 0 4px 5px 4px; }
310
- .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
311
- border-top: none;
312
- border-top-left-radius: 0;
313
- border-top-right-radius: 0;
314
- background-image: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
315
- background-image: -o-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
316
- background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%);
317
- background-repeat: repeat-x;
318
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); }
319
- .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
320
- border-bottom: none;
321
- border-bottom-left-radius: 0;
322
- border-bottom-right-radius: 0;
323
- background-image: -webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%);
324
- background-image: -o-linear-gradient(top, #eeeeee 50%, #ffffff 100%);
325
- background-image: linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%);
326
- background-repeat: repeat-x;
327
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0); }
328
- .select2-container--classic .select2-selection--multiple {
329
- background-color: white;
330
- border: 1px solid #aaa;
331
- border-radius: 4px;
332
- cursor: text;
333
- outline: 0; }
334
- .select2-container--classic .select2-selection--multiple:focus {
335
- border: 1px solid #5897fb; }
336
- .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
337
- list-style: none;
338
- margin: 0;
339
- padding: 0 5px; }
340
- .select2-container--classic .select2-selection--multiple .select2-selection__clear {
341
- display: none; }
342
- .select2-container--classic .select2-selection--multiple .select2-selection__choice {
343
- background-color: #e4e4e4;
344
- border: 1px solid #aaa;
345
- border-radius: 4px;
346
- cursor: default;
347
- float: left;
348
- margin-right: 5px;
349
- margin-top: 5px;
350
- padding: 0 5px; }
351
- .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
352
- color: #888;
353
- cursor: pointer;
354
- display: inline-block;
355
- font-weight: bold;
356
- margin-right: 2px; }
357
- .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
358
- color: #555; }
359
- .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
360
- float: right; }
361
- .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
362
- margin-left: 5px;
363
- margin-right: auto; }
364
- .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
365
- margin-left: 2px;
366
- margin-right: auto; }
367
- .select2-container--classic.select2-container--open .select2-selection--multiple {
368
- border: 1px solid #5897fb; }
369
- .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
370
- border-top: none;
371
- border-top-left-radius: 0;
372
- border-top-right-radius: 0; }
373
- .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
374
- border-bottom: none;
375
- border-bottom-left-radius: 0;
376
- border-bottom-right-radius: 0; }
377
- .select2-container--classic .select2-search--dropdown .select2-search__field {
378
- border: 1px solid #aaa;
379
- outline: 0; }
380
- .select2-container--classic .select2-search--inline .select2-search__field {
381
- outline: 0; }
382
- .select2-container--classic .select2-dropdown {
383
- background-color: white;
384
- border: 1px solid transparent; }
385
- .select2-container--classic .select2-dropdown--above {
386
- border-bottom: none; }
387
- .select2-container--classic .select2-dropdown--below {
388
- border-top: none; }
389
- .select2-container--classic .select2-results > .select2-results__options {
390
- max-height: 200px;
391
- overflow-y: auto; }
392
- .select2-container--classic .select2-results__option[role=group] {
393
- padding: 0; }
394
- .select2-container--classic .select2-results__option[aria-disabled=true] {
395
- color: grey; }
396
- .select2-container--classic .select2-results__option--highlighted[aria-selected] {
397
- background-color: #3875d7;
398
- color: white; }
399
- .select2-container--classic .select2-results__group {
400
- cursor: default;
401
- display: block;
402
- padding: 6px; }
403
- .select2-container--classic.select2-container--open .select2-dropdown {
1
+ .select2-container {
2
+ box-sizing: border-box;
3
+ display: inline-block;
4
+ margin: 0;
5
+ position: relative;
6
+ vertical-align: middle; }
7
+ .select2-container .select2-selection--single {
8
+ box-sizing: border-box;
9
+ cursor: pointer;
10
+ display: block;
11
+ user-select: none;
12
+ -webkit-user-select: none; }
13
+ .select2-container .select2-selection--single .select2-selection__rendered {
14
+ display: block;
15
+ overflow: hidden;
16
+ padding-left: 8px;
17
+ padding-right: 20px;
18
+ text-overflow: ellipsis; }
19
+ .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
20
+ padding-right: 8px;
21
+ padding-left: 20px; }
22
+ .select2-container .select2-selection--multiple {
23
+ box-sizing: border-box;
24
+ cursor: pointer;
25
+ display: block;
26
+ min-height: 38px;
27
+ user-select: none;
28
+ -webkit-user-select: none; }
29
+ .select2-container .select2-selection--multiple .select2-selection__rendered {
30
+ display: inline-block;
31
+ overflow: hidden;
32
+ padding-left: 8px;
33
+ text-overflow: ellipsis; }
34
+ .select2-container .select2-search--inline {
35
+ float: left; }
36
+ .select2-container .select2-search--inline .select2-search__field {
37
+ border: none;
38
+ font-size: 100%;
39
+ margin-top: 10px; }
40
+
41
+ .select2-dropdown {
42
+ background-color: white;
43
+ border: 1px solid #aaa;
44
+ border-radius: 4px;
45
+ box-sizing: border-box;
46
+ display: block;
47
+ position: absolute;
48
+ left: -100000px;
49
+ width: 100%;
50
+ z-index: 1051; }
51
+
52
+ .select2-results {
53
+ display: block; }
54
+
55
+ .select2-results__options {
56
+ list-style: none;
57
+ margin: 0;
58
+ padding: 0; }
59
+
60
+ .select2-results__option {
61
+ padding: 6px;
62
+ user-select: none;
63
+ -webkit-user-select: none; }
64
+ .select2-results__option[aria-selected] {
65
+ cursor: pointer; }
66
+
67
+ .select2-container--open .select2-dropdown {
68
+ left: 0; }
69
+
70
+ .select2-container--open .select2-dropdown--above {
71
+ border-bottom: none;
72
+ border-bottom-left-radius: 0;
73
+ border-bottom-right-radius: 0; }
74
+
75
+ .select2-container--open .select2-dropdown--below {
76
+ border-top: none;
77
+ border-top-left-radius: 0;
78
+ border-top-right-radius: 0; }
79
+
80
+ .select2-search--dropdown {
81
+ display: block;
82
+ padding: 4px; }
83
+ .select2-search--dropdown .select2-search__field {
84
+ padding: 4px;
85
+ width: 100%;
86
+ box-sizing: border-box; }
87
+ .select2-search--dropdown.select2-search--hide {
88
+ display: none; }
89
+
90
+ .select2-close-mask {
91
+ border: 0;
92
+ margin: 0;
93
+ padding: 0;
94
+ display: block;
95
+ position: fixed;
96
+ left: 0;
97
+ top: 0;
98
+ min-height: 100%;
99
+ min-width: 100%;
100
+ height: auto;
101
+ width: auto;
102
+ opacity: 0;
103
+ z-index: 99;
104
+ background-color: #fff;
105
+ filter: alpha(opacity=0); }
106
+
107
+ .select2-container--default .select2-selection--single {
108
+ background-color: #fff;
109
+ border: 1px solid #ccc;}
110
+ .select2-container--default .select2-selection--single .select2-selection__rendered {
111
+ line-height: 38px; }
112
+ .select2-container--default .select2-selection--single .select2-selection__clear {
113
+ cursor: pointer;
114
+ float: right;
115
+ font-weight: bold; }
116
+ .select2-container--default .select2-selection--single .select2-selection__placeholder {
117
+ color: #999; }
118
+ .select2-container--default .select2-selection--single .select2-selection__arrow {
119
+ height: 26px;
120
+ position: absolute;
121
+ top: 1px;
122
+ right: 1px;
123
+ width: 20px; }
124
+ .select2-container--default .select2-selection--single .select2-selection__arrow b {
125
+ border-color: #888 transparent transparent transparent;
126
+ border-style: solid;
127
+ border-width: 5px 4px 0 4px;
128
+ height: 0;
129
+ left: 50%;
130
+ margin-left: -4px;
131
+ margin-top: -2px;
132
+ position: absolute;
133
+ top: 50%;
134
+ width: 0; }
135
+ .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
136
+ float: left; }
137
+ .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
138
+ left: 1px;
139
+ right: auto; }
140
+ .select2-container--default.select2-container--disabled .select2-selection--single {
141
+ background-color: #eee;
142
+ cursor: default; }
143
+ .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
144
+ display: none; }
145
+ .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
146
+ border-color: transparent transparent #888 transparent;
147
+ border-width: 0 4px 5px 4px; }
148
+ .select2-container--default .select2-selection--multiple {
149
+ background-color: white;
150
+ border: 1px solid #ccc;
151
+ cursor: text; }
152
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered {
153
+ list-style: none;
154
+ margin: 0;
155
+ padding: 0 5px;
156
+ width: 100%; }
157
+ .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
158
+ color: #999;
159
+ margin-top: 5px;
160
+ float: left; }
161
+ .select2-container--default .select2-selection--multiple .select2-selection__clear {
162
+ cursor: pointer;
163
+ float: right;
164
+ font-weight: bold;
165
+ margin-top: 5px;
166
+ margin-right: 10px; }
167
+ .select2-container--default .select2-selection--multiple .select2-selection__choice {
168
+ background-color: #e4e4e4;
169
+ cursor: default;
170
+ float: left;
171
+ margin-right: 5px;
172
+ margin-top: 5px;
173
+ padding: 3px 5px; }
174
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
175
+ color: #999;
176
+ cursor: pointer;
177
+ display: inline-block;
178
+ font-weight: bold;
179
+ margin-right: 2px; }
180
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
181
+ color: #333; }
182
+ .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder {
183
+ float: right; }
184
+ .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
185
+ margin-left: 5px;
186
+ margin-right: auto; }
187
+ .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
188
+ margin-left: 2px;
189
+ margin-right: auto; }
190
+ .select2-container--default.select2-container--disabled .select2-selection--multiple {
191
+ background-color: #eee;
192
+ cursor: default; }
193
+ .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
194
+ display: none; }
195
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
196
+ border-top-left-radius: 0;
197
+ border-top-right-radius: 0; }
198
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
199
+ border-bottom-left-radius: 0;
200
+ border-bottom-right-radius: 0; }
201
+ .select2-container--default .select2-search--dropdown .select2-search__field {
202
+ border: 1px solid #aaa; }
203
+ .select2-container--default .select2-search--inline .select2-search__field {
204
+ background: transparent;
205
+ border: none;
206
+ outline: 0; }
207
+ .select2-container--default .select2-results > .select2-results__options {
208
+ max-height: 200px;
209
+ overflow-y: auto; }
210
+ .select2-container--default .select2-results__option[role=group] {
211
+ padding: 0; }
212
+ .select2-container--default .select2-results__option[aria-disabled=true] {
213
+ color: #999; }
214
+ .select2-container--default .select2-results__option[aria-selected=true] {
215
+ background-color: #ddd; }
216
+ .select2-container--default .select2-results__option .select2-results__option {
217
+ padding-left: 1em; }
218
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
219
+ padding-left: 0; }
220
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
221
+ margin-left: -1em;
222
+ padding-left: 2em; }
223
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
224
+ margin-left: -2em;
225
+ padding-left: 3em; }
226
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
227
+ margin-left: -3em;
228
+ padding-left: 4em; }
229
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
230
+ margin-left: -4em;
231
+ padding-left: 5em; }
232
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
233
+ margin-left: -5em;
234
+ padding-left: 6em; }
235
+ .select2-container--default .select2-results__option--highlighted[aria-selected] {
236
+ background-color: #5897fb;
237
+ color: white; }
238
+ .select2-container--default .select2-results__group {
239
+ cursor: default;
240
+ display: block;
241
+ padding: 6px; }
242
+
243
+ .select2-container--classic .select2-selection--single {
244
+ background-color: #f6f6f6;
245
+ border: 1px solid #aaa;
246
+ border-radius: 4px;
247
+ outline: 0;
248
+ background-image: -webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%);
249
+ background-image: -o-linear-gradient(top, #ffffff 50%, #eeeeee 100%);
250
+ background-image: linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%);
251
+ background-repeat: repeat-x;
252
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); }
253
+ .select2-container--classic .select2-selection--single:focus {
254
+ border: 1px solid #5897fb; }
255
+ .select2-container--classic .select2-selection--single .select2-selection__rendered {
256
+ color: #444;
257
+ line-height: 28px; }
258
+ .select2-container--classic .select2-selection--single .select2-selection__clear {
259
+ cursor: pointer;
260
+ float: right;
261
+ font-weight: bold;
262
+ margin-right: 10px; }
263
+ .select2-container--classic .select2-selection--single .select2-selection__placeholder {
264
+ color: #999; }
265
+ .select2-container--classic .select2-selection--single .select2-selection__arrow {
266
+ background-color: #ddd;
267
+ border: none;
268
+ border-left: 1px solid #aaa;
269
+ border-top-right-radius: 4px;
270
+ border-bottom-right-radius: 4px;
271
+ height: 26px;
272
+ position: absolute;
273
+ top: 1px;
274
+ right: 1px;
275
+ width: 20px;
276
+ background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
277
+ background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
278
+ background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
279
+ background-repeat: repeat-x;
280
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0); }
281
+ .select2-container--classic .select2-selection--single .select2-selection__arrow b {
282
+ border-color: #888 transparent transparent transparent;
283
+ border-style: solid;
284
+ border-width: 5px 4px 0 4px;
285
+ height: 0;
286
+ left: 50%;
287
+ margin-left: -4px;
288
+ margin-top: -2px;
289
+ position: absolute;
290
+ top: 50%;
291
+ width: 0; }
292
+ .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
293
+ float: left; }
294
+ .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
295
+ border: none;
296
+ border-right: 1px solid #aaa;
297
+ border-radius: 0;
298
+ border-top-left-radius: 4px;
299
+ border-bottom-left-radius: 4px;
300
+ left: 1px;
301
+ right: auto; }
302
+ .select2-container--classic.select2-container--open .select2-selection--single {
303
+ border: 1px solid #5897fb; }
304
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
305
+ background: transparent;
306
+ border: none; }
307
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
308
+ border-color: transparent transparent #888 transparent;
309
+ border-width: 0 4px 5px 4px; }
310
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
311
+ border-top: none;
312
+ border-top-left-radius: 0;
313
+ border-top-right-radius: 0;
314
+ background-image: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
315
+ background-image: -o-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
316
+ background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%);
317
+ background-repeat: repeat-x;
318
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); }
319
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
320
+ border-bottom: none;
321
+ border-bottom-left-radius: 0;
322
+ border-bottom-right-radius: 0;
323
+ background-image: -webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%);
324
+ background-image: -o-linear-gradient(top, #eeeeee 50%, #ffffff 100%);
325
+ background-image: linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%);
326
+ background-repeat: repeat-x;
327
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0); }
328
+ .select2-container--classic .select2-selection--multiple {
329
+ background-color: white;
330
+ border: 1px solid #aaa;
331
+ border-radius: 4px;
332
+ cursor: text;
333
+ outline: 0; }
334
+ .select2-container--classic .select2-selection--multiple:focus {
335
+ border: 1px solid #5897fb; }
336
+ .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
337
+ list-style: none;
338
+ margin: 0;
339
+ padding: 0 5px; }
340
+ .select2-container--classic .select2-selection--multiple .select2-selection__clear {
341
+ display: none; }
342
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice {
343
+ background-color: #e4e4e4;
344
+ border: 1px solid #aaa;
345
+ border-radius: 4px;
346
+ cursor: default;
347
+ float: left;
348
+ margin-right: 5px;
349
+ margin-top: 5px;
350
+ padding: 0 5px; }
351
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
352
+ color: #888;
353
+ cursor: pointer;
354
+ display: inline-block;
355
+ font-weight: bold;
356
+ margin-right: 2px; }
357
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
358
+ color: #555; }
359
+ .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
360
+ float: right; }
361
+ .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
362
+ margin-left: 5px;
363
+ margin-right: auto; }
364
+ .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
365
+ margin-left: 2px;
366
+ margin-right: auto; }
367
+ .select2-container--classic.select2-container--open .select2-selection--multiple {
368
+ border: 1px solid #5897fb; }
369
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
370
+ border-top: none;
371
+ border-top-left-radius: 0;
372
+ border-top-right-radius: 0; }
373
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
374
+ border-bottom: none;
375
+ border-bottom-left-radius: 0;
376
+ border-bottom-right-radius: 0; }
377
+ .select2-container--classic .select2-search--dropdown .select2-search__field {
378
+ border: 1px solid #aaa;
379
+ outline: 0; }
380
+ .select2-container--classic .select2-search--inline .select2-search__field {
381
+ outline: 0; }
382
+ .select2-container--classic .select2-dropdown {
383
+ background-color: white;
384
+ border: 1px solid transparent; }
385
+ .select2-container--classic .select2-dropdown--above {
386
+ border-bottom: none; }
387
+ .select2-container--classic .select2-dropdown--below {
388
+ border-top: none; }
389
+ .select2-container--classic .select2-results > .select2-results__options {
390
+ max-height: 200px;
391
+ overflow-y: auto; }
392
+ .select2-container--classic .select2-results__option[role=group] {
393
+ padding: 0; }
394
+ .select2-container--classic .select2-results__option[aria-disabled=true] {
395
+ color: grey; }
396
+ .select2-container--classic .select2-results__option--highlighted[aria-selected] {
397
+ background-color: #3875d7;
398
+ color: white; }
399
+ .select2-container--classic .select2-results__group {
400
+ cursor: default;
401
+ display: block;
402
+ padding: 6px; }
403
+ .select2-container--classic.select2-container--open .select2-dropdown {
404
404
  border-color: #5897fb; }