rails_filemanager_ajax 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/app/assets/javascripts/rails_filemanager/application.js +18 -0
  5. data/app/assets/javascripts/rails_filemanager/filemanager_files.js +96 -0
  6. data/app/assets/stylesheets/rails_filemanager/application.css +17 -0
  7. data/app/assets/stylesheets/rails_filemanager/filemanager_files.css.scss +43 -0
  8. data/app/assets/stylesheets/scaffold.css +56 -0
  9. data/app/controllers/rails_filemanager/application_controller.rb +2 -0
  10. data/app/controllers/rails_filemanager/filemanager_files_controller.rb +101 -0
  11. data/app/helpers/rails_filemanager/application_helper.rb +4 -0
  12. data/app/helpers/rails_filemanager/filemanager_files_helper.rb +4 -0
  13. data/app/models/rails_filemanager/filemanager_file.rb +49 -0
  14. data/app/views/layouts/rails_filemanager/_shim.html.haml +2 -0
  15. data/app/views/layouts/rails_filemanager/application.html.haml +15 -0
  16. data/app/views/rails_filemanager/filemanager_files/create.html.haml +0 -0
  17. data/app/views/rails_filemanager/filemanager_files/index.html.haml +278 -0
  18. data/config/routes.rb +9 -0
  19. data/db/migrate/20140728234034_create_rails_filemanager_filemanager_files.rb +11 -0
  20. data/db/migrate/20140728234043_add_attachment_file_to_filemanager_files.rb +10 -0
  21. data/db/migrate/20140729004353_add_ancestry_to_rails_filemanager_filemanager_files.rb +6 -0
  22. data/db/migrate/20140729130927_add_owner_class_to_filemanager_files.rb +5 -0
  23. data/lib/rails_filemanager/acts_as_filemanager_owner.rb +29 -0
  24. data/lib/rails_filemanager/engine.rb +5 -0
  25. data/lib/rails_filemanager/version.rb +3 -0
  26. data/lib/rails_filemanager.rb +5 -0
  27. data/lib/tasks/rails_filemanager_tasks.rake +4 -0
  28. data/test/controllers/rails_filemanager/filemanager_files_controller_test.rb +51 -0
  29. data/test/dummy/README.rdoc +28 -0
  30. data/test/dummy/Rakefile +6 -0
  31. data/test/dummy/app/assets/javascripts/application.js +13 -0
  32. data/test/dummy/app/assets/javascripts/owners.js +2 -0
  33. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  34. data/test/dummy/app/assets/stylesheets/owners.css.scss +3 -0
  35. data/test/dummy/app/assets/stylesheets/scaffolds.css.scss +69 -0
  36. data/test/dummy/app/controllers/application_controller.rb +16 -0
  37. data/test/dummy/app/controllers/owners_controller.rb +59 -0
  38. data/test/dummy/app/helpers/application_helper.rb +2 -0
  39. data/test/dummy/app/helpers/owners_helper.rb +6 -0
  40. data/test/dummy/app/models/owner.rb +14 -0
  41. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  42. data/test/dummy/app/views/owners/_form.html.haml +16 -0
  43. data/test/dummy/app/views/owners/edit.html.haml +7 -0
  44. data/test/dummy/app/views/owners/index.html.haml +21 -0
  45. data/test/dummy/app/views/owners/new.html.haml +5 -0
  46. data/test/dummy/app/views/owners/show.html.haml +12 -0
  47. data/test/dummy/bin/bundle +3 -0
  48. data/test/dummy/bin/rails +4 -0
  49. data/test/dummy/bin/rake +4 -0
  50. data/test/dummy/config/application.rb +23 -0
  51. data/test/dummy/config/boot.rb +5 -0
  52. data/test/dummy/config/database.yml +25 -0
  53. data/test/dummy/config/environment.rb +5 -0
  54. data/test/dummy/config/environments/development.rb +37 -0
  55. data/test/dummy/config/environments/production.rb +82 -0
  56. data/test/dummy/config/environments/test.rb +39 -0
  57. data/test/dummy/config/initializers/assets.rb +8 -0
  58. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  59. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  60. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  61. data/test/dummy/config/initializers/inflections.rb +16 -0
  62. data/test/dummy/config/initializers/mime_types.rb +4 -0
  63. data/test/dummy/config/initializers/session_store.rb +3 -0
  64. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  65. data/test/dummy/config/locales/en.yml +23 -0
  66. data/test/dummy/config/routes.rb +8 -0
  67. data/test/dummy/config/secrets.yml +22 -0
  68. data/test/dummy/config.ru +4 -0
  69. data/test/dummy/db/development.sqlite3 +0 -0
  70. data/test/dummy/db/migrate/20140729100443_create_owners.rb +10 -0
  71. data/test/dummy/db/schema.rb +39 -0
  72. data/test/dummy/log/development.log +10747 -0
  73. data/test/dummy/public/404.html +67 -0
  74. data/test/dummy/public/422.html +67 -0
  75. data/test/dummy/public/500.html +66 -0
  76. data/test/dummy/public/favicon.ico +0 -0
  77. data/test/dummy/public/system/rails_filemanager/filemanager_files/files/000/000/003/original/Citra_Tagore.jpg +0 -0
  78. data/test/dummy/test/controllers/owners_controller_test.rb +49 -0
  79. data/test/dummy/test/fixtures/owners.yml +9 -0
  80. data/test/dummy/test/helpers/owners_helper_test.rb +4 -0
  81. data/test/dummy/test/models/owner_test.rb +7 -0
  82. data/test/dummy/tmp/cache/assets/development/sass/06e8abb566c8fb8f4c0c0768e4e7dfb0a44c8302/jquery.fileupload-ui.scssc +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sass/269b2c30a13278c2daa25f9f9518d279ebd0daa3/owners.css.scssc +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sass/269b2c30a13278c2daa25f9f9518d279ebd0daa3/scaffolds.css.scssc +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sass/2ac1e0396a671536e7123f5102abcb4f3c5057c3/filemanager_files.css.scssc +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_alerts.scssc +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_badges.scssc +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_breadcrumbs.scssc +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_button-groups.scssc +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_buttons.scssc +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_carousel.scssc +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_close.scssc +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_code.scssc +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_component-animations.scssc +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_dropdowns.scssc +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_forms.scssc +999 -0
  97. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_glyphicons.scssc +1544 -0
  98. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_grid.scssc +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_input-groups.scssc +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_jumbotron.scssc +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_labels.scssc +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_list-group.scssc +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_media.scssc +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_mixins.scssc +2350 -1
  105. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_modals.scssc +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_navbar.scssc +1507 -0
  107. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_navs.scssc +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_normalize.scssc +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_pager.scssc +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_pagination.scssc +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_panels.scssc +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_popovers.scssc +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_print.scssc +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_progress-bars.scssc +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_responsive-utilities.scssc +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_scaffolding.scssc +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_tables.scssc +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_thumbnails.scssc +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_tooltip.scssc +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_type.scssc +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_utilities.scssc +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_variables.scssc +1754 -0
  123. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/_wells.scssc +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sass/eb1f508fda6dcee8da4ee52d12c9e3ecccd40b0b/bootstrap.scssc +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/05547b4dc4ac7167699e3c6ca1748408 +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/07615433030e8d9f7593c93dbfe042c9 +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/08a41aa113973efd2391ba42e0acf7d9 +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/0951b5f5a201611bebd9e47370368955 +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/09fcdef5c72bfbe4895d5fa06342e2a5 +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/0c9c91cb1d75d7b309f8a8b8819b47ce +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/0f24e96ed9b11de75fcba57bb32c5a4a +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/1176716ec61359bf55e221898e16af24 +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/1b4d0915392c39858de432dede9b911e +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/1bb60499f6e601c607f0aefd0512bbf3 +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/1c0b94c54f2b4195d78f2056dcf4de64 +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/1c847a043caf7bc59eb29d82288a9dfe +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/1e08eaa800f7c76b6743a5e6de03cfae +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/1e882c8e5f9215c624d4ae128d8c33be +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/24ff59eb269225193ed0ac0970e09cfe +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/2733ac7c7b19cc50e6cec540faa008dc +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/2787468132f9e1a06bb3e83b2394a13e +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/2ac23630ddf03b4814b6919cd330bf61 +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/2bffc9ef51c9c7032280ef8da250edec +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/2dbf869c27d4392ca3ed506bdf1e59e7 +0 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/2f8112713eb17105b86642c9ded32188 +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/2fc56d260056e14107a4fc8c03649f5d +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/376ad072d3b7a5152c6884bdd9f5f666 +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/390df4eaa4222ad1c92f96e14388e543 +0 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/3b53c140931ae99abe578dcf415a1429 +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/3d9b9056f45a21e2776ebaff1864f95e +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/3e3114305e5162bbbbbc293bb5b429ff +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/3f06720c4f55355e321def410b113ba2 +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/414350bad002246cfe1a3228e9bc9f27 +0 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/42378c18e597fb515a056777b8898a55 +0 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/48c0dc34c37e97245938864bbfbbe29b +0 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/4bfd82df35a881a981597ec930014ba5 +0 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/4d4a1f1c647d90205761fd99526a5b70 +0 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/4d66e61ff234df7764a35902b1948fc4 +0 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/4fa7c9922999c2b04c01c8551eac17fc +0 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/53017b667f81c9636f7495dba55b6d0e +0 -0
  165. data/test/dummy/tmp/cache/assets/development/sprockets/55693f566f3fa3e777f3386bb9bcd361 +0 -0
  166. data/test/dummy/tmp/cache/assets/development/sprockets/5617f782181a6c91d5cf520dcd5b0bc5 +0 -0
  167. data/test/dummy/tmp/cache/assets/development/sprockets/59a06baa574b1d91519ae64b7133c1cd +0 -0
  168. data/test/dummy/tmp/cache/assets/development/sprockets/5c2c985b5146452ea41f014106af6c6f +0 -0
  169. data/test/dummy/tmp/cache/assets/development/sprockets/5f9612f3cac77791ce123fb21a05a20f +0 -0
  170. data/test/dummy/tmp/cache/assets/development/sprockets/63f619c3cf52f35406f478ee156a6c9e +0 -0
  171. data/test/dummy/tmp/cache/assets/development/sprockets/675dc727fc08ec2f6009bd85e68a1937 +0 -0
  172. data/test/dummy/tmp/cache/assets/development/sprockets/6764bb9e5d10dc3638b5f4dc088542bf +0 -0
  173. data/test/dummy/tmp/cache/assets/development/sprockets/67c58dba4dc254383e87ce053d9221fc +0 -0
  174. data/test/dummy/tmp/cache/assets/development/sprockets/6a84a62303e465b36ab6a863331ffa33 +0 -0
  175. data/test/dummy/tmp/cache/assets/development/sprockets/6b5f6dc45c6994188a6e8c77b2b41182 +0 -0
  176. data/test/dummy/tmp/cache/assets/development/sprockets/6ba09cd00fb70cf57d04ccc49b6bb26a +0 -0
  177. data/test/dummy/tmp/cache/assets/development/sprockets/6ca4b7913d942da04dfb93e10481d96d +0 -0
  178. data/test/dummy/tmp/cache/assets/development/sprockets/6e3e5f8eaf5a1930932dff7bc5a7fa09 +0 -0
  179. data/test/dummy/tmp/cache/assets/development/sprockets/6ed73e831b3dd2f6257d499d35f8ede0 +0 -0
  180. data/test/dummy/tmp/cache/assets/development/sprockets/6f34a9d81cbc6a1fc2c391801f37b3f1 +0 -0
  181. data/test/dummy/tmp/cache/assets/development/sprockets/70af985faf38b3209342724bb9638c31 +0 -0
  182. data/test/dummy/tmp/cache/assets/development/sprockets/71c677fb35d8508d8c2a3447445bb686 +0 -0
  183. data/test/dummy/tmp/cache/assets/development/sprockets/73537c708deb8a9801608fa2f3165a3b +0 -0
  184. data/test/dummy/tmp/cache/assets/development/sprockets/74eedab6209ac4e9444171a6e97a1a18 +0 -0
  185. data/test/dummy/tmp/cache/assets/development/sprockets/753122468e70509ea5729d60f7075e01 +0 -0
  186. data/test/dummy/tmp/cache/assets/development/sprockets/755e13519dcac438d336400b07329685 +0 -0
  187. data/test/dummy/tmp/cache/assets/development/sprockets/7af5753d3dc58a5ea62d033e6ae60416 +0 -0
  188. data/test/dummy/tmp/cache/assets/development/sprockets/7f5991d2d2950a2f4c69b88ca3798b1b +0 -0
  189. data/test/dummy/tmp/cache/assets/development/sprockets/7fa30989ae8cd4caaeef29e969a7e49a +0 -0
  190. data/test/dummy/tmp/cache/assets/development/sprockets/829e951f5bc2f94ef66d86b28b199447 +0 -0
  191. data/test/dummy/tmp/cache/assets/development/sprockets/87d059ab7bf04888fe5cc80d6c743fc2 +0 -0
  192. data/test/dummy/tmp/cache/assets/development/sprockets/8d3ace7636b4861d7d7d41d630bdb0d5 +0 -0
  193. data/test/dummy/tmp/cache/assets/development/sprockets/8da23447eff5b792b79410aa205243ab +0 -0
  194. data/test/dummy/tmp/cache/assets/development/sprockets/8e15b993209727f035c02a23d97ef686 +0 -0
  195. data/test/dummy/tmp/cache/assets/development/sprockets/8f85f4c82450b7df588e06bfcaf5d577 +0 -0
  196. data/test/dummy/tmp/cache/assets/development/sprockets/8fa9f364912bf5055774bde331a79b47 +0 -0
  197. data/test/dummy/tmp/cache/assets/development/sprockets/91fafb9e332082218d34025e665af421 +0 -0
  198. data/test/dummy/tmp/cache/assets/development/sprockets/945511fa7fa414421e21fb810f1083de +0 -0
  199. data/test/dummy/tmp/cache/assets/development/sprockets/963e48cefbd22da04c4efd4041205e46 +0 -0
  200. data/test/dummy/tmp/cache/assets/development/sprockets/99007a07cc79407b0cf4a947a8e377b9 +0 -0
  201. data/test/dummy/tmp/cache/assets/development/sprockets/9e42f95a57e043a9f1537541dbca0651 +0 -0
  202. data/test/dummy/tmp/cache/assets/development/sprockets/9fb2fb83974cba314709fce5b0cc98b6 +0 -0
  203. data/test/dummy/tmp/cache/assets/development/sprockets/a03cc47fb9de866351007fdb25b670c4 +0 -0
  204. data/test/dummy/tmp/cache/assets/development/sprockets/a03edc50c52d044c3a279f02d674332d +0 -0
  205. data/test/dummy/tmp/cache/assets/development/sprockets/a1be7b98e527b5ccfb6d474003028586 +0 -0
  206. data/test/dummy/tmp/cache/assets/development/sprockets/a1bff0fe1ad3baab2a6c6152f52b64dc +0 -0
  207. data/test/dummy/tmp/cache/assets/development/sprockets/a6e0c403a88f0889defb1fad89f74c1d +0 -0
  208. data/test/dummy/tmp/cache/assets/development/sprockets/a904a27b55343ddab7cc75fede000068 +0 -0
  209. data/test/dummy/tmp/cache/assets/development/sprockets/ad084646018316781b4fa4c25045ac30 +0 -0
  210. data/test/dummy/tmp/cache/assets/development/sprockets/ad30c84e09987316a2306242ce59d8d7 +0 -0
  211. data/test/dummy/tmp/cache/assets/development/sprockets/adfea7d5c775945ffef7abe90d5e216d +0 -0
  212. data/test/dummy/tmp/cache/assets/development/sprockets/b110702874f121572f2c0df5784ae00b +0 -0
  213. data/test/dummy/tmp/cache/assets/development/sprockets/b24d0a0fd7d267ecd3c3b0c59a03a039 +0 -0
  214. data/test/dummy/tmp/cache/assets/development/sprockets/b523510e526eb38272c19e3dbea664fd +0 -0
  215. data/test/dummy/tmp/cache/assets/development/sprockets/b572837e4078665022d5acf6caa684a5 +0 -0
  216. data/test/dummy/tmp/cache/assets/development/sprockets/bb2064b2eed32f7503d9fb50ee2f5f2b +0 -0
  217. data/test/dummy/tmp/cache/assets/development/sprockets/bbd5f957053239fb6c68473a1bfc7c22 +0 -0
  218. data/test/dummy/tmp/cache/assets/development/sprockets/bc788596b4ccbbdd925092ee9cb747a7 +0 -0
  219. data/test/dummy/tmp/cache/assets/development/sprockets/bcae55bba3b0a475051933cbe19038c6 +0 -0
  220. data/test/dummy/tmp/cache/assets/development/sprockets/bd3936370d0f952ada5774e2230046ed +0 -0
  221. data/test/dummy/tmp/cache/assets/development/sprockets/bd4f5d4596e32467fefda01df1efad13 +0 -0
  222. data/test/dummy/tmp/cache/assets/development/sprockets/bdba836f1bbbde7678c39db6eece4920 +0 -0
  223. data/test/dummy/tmp/cache/assets/development/sprockets/be0fad3fbbf75b755f4344ae91bf5aec +0 -0
  224. data/test/dummy/tmp/cache/assets/development/sprockets/c336f1457939ef7e278043cd68c7eef5 +0 -0
  225. data/test/dummy/tmp/cache/assets/development/sprockets/c4dc2bc79316f8edde30e4a8aca5ba4f +0 -0
  226. data/test/dummy/tmp/cache/assets/development/sprockets/c5547360880903bd6380d84aaa9ba5f6 +0 -0
  227. data/test/dummy/tmp/cache/assets/development/sprockets/c70beb27074431b0b1c236bb0c0993d1 +0 -0
  228. data/test/dummy/tmp/cache/assets/development/sprockets/c7306b07e448f36160aa7c77b6038385 +0 -0
  229. data/test/dummy/tmp/cache/assets/development/sprockets/c880a2da8a8e3ff9c5b08ab35536a4f6 +0 -0
  230. data/test/dummy/tmp/cache/assets/development/sprockets/c9c048289a96a09f5c1276825d17f031 +0 -0
  231. data/test/dummy/tmp/cache/assets/development/sprockets/ca2b82511d11b9dc75913ef2ccf454bb +0 -0
  232. data/test/dummy/tmp/cache/assets/development/sprockets/cff044ad29738248db9a8f76270079c3 +0 -0
  233. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  234. data/test/dummy/tmp/cache/assets/development/sprockets/d48673260416324e05fbc43a125bd165 +0 -0
  235. data/test/dummy/tmp/cache/assets/development/sprockets/d4fcf32e40663c080f923f32f75c9265 +0 -0
  236. data/test/dummy/tmp/cache/assets/development/sprockets/d57dcb9c70788acb6195605b96350fd2 +0 -0
  237. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  238. data/test/dummy/tmp/cache/assets/development/sprockets/d8418c0e358beb48584a972b9d35e4d0 +0 -0
  239. data/test/dummy/tmp/cache/assets/development/sprockets/d931e476d1bbee7a10c6c653506fe3da +0 -0
  240. data/test/dummy/tmp/cache/assets/development/sprockets/dbc3bdebc9490b955785e117ee170e6e +0 -0
  241. data/test/dummy/tmp/cache/assets/development/sprockets/dd52fc1a04bf14e4bad07ba32d46f17e +0 -0
  242. data/test/dummy/tmp/cache/assets/development/sprockets/de2755a093405fd20933dc3fb001e71b +0 -0
  243. data/test/dummy/tmp/cache/assets/development/sprockets/e22c0b77164bd4f3f4f6bf616719dbef +0 -0
  244. data/test/dummy/tmp/cache/assets/development/sprockets/e31cfc5aabff9b844f6baf5707b5ed0f +0 -0
  245. data/test/dummy/tmp/cache/assets/development/sprockets/e459168835a5f27b832ace20874f7c10 +0 -0
  246. data/test/dummy/tmp/cache/assets/development/sprockets/e473b566f8e6ce7d0461acca99b1adc1 +0 -0
  247. data/test/dummy/tmp/cache/assets/development/sprockets/e4bb3a0d4a4acc5a83e23e0ef6e200e0 +0 -0
  248. data/test/dummy/tmp/cache/assets/development/sprockets/e4bb690d672680782021b93d36774332 +0 -0
  249. data/test/dummy/tmp/cache/assets/development/sprockets/e560cec5ab94ec71bc34af22d3f64cdb +0 -0
  250. data/test/dummy/tmp/cache/assets/development/sprockets/e76ddba38ebb552893d1dc4602211cbd +0 -0
  251. data/test/dummy/tmp/cache/assets/development/sprockets/e802e3a1b2db1b432ef465bff407a073 +0 -0
  252. data/test/dummy/tmp/cache/assets/development/sprockets/ea421f7f2366af176c5bc920d9286baa +0 -0
  253. data/test/dummy/tmp/cache/assets/development/sprockets/ea728ad3f7a1d4a2e75a9cb6baecaa34 +0 -0
  254. data/test/dummy/tmp/cache/assets/development/sprockets/eb4b4dfce857f7f08f4ed81e9d3fdf0b +0 -0
  255. data/test/dummy/tmp/cache/assets/development/sprockets/eb4ed545a7fa1b535192b8df56ccdc55 +0 -0
  256. data/test/dummy/tmp/cache/assets/development/sprockets/ebc54658234ae2f8eee2e9d3379835c1 +0 -0
  257. data/test/dummy/tmp/cache/assets/development/sprockets/ec917e55ae6c96e47cbcfc35cfc12fb6 +0 -0
  258. data/test/dummy/tmp/cache/assets/development/sprockets/ee09e5ec29db7472f582fd475c4ae061 +0 -0
  259. data/test/dummy/tmp/cache/assets/development/sprockets/f0497e9a02cfb5752be79037b887ef9c +0 -0
  260. data/test/dummy/tmp/cache/assets/development/sprockets/f2cf712a6cef311fa1fa35fc5d363b23 +0 -0
  261. data/test/dummy/tmp/cache/assets/development/sprockets/f5885897d937f7253e2bc179860fe3fc +0 -0
  262. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  263. data/test/dummy/tmp/cache/assets/development/sprockets/f84d5de211cf925ae1922c571954210e +0 -0
  264. data/test/dummy/tmp/cache/assets/development/sprockets/fbd3c7247de3ffa7fe37c47d17270f45 +0 -0
  265. data/test/dummy/tmp/cache/assets/development/sprockets/fc67199da32b5ab860bd1743ce50b9f4 +0 -0
  266. data/test/dummy/tmp/pids/server.pid +1 -0
  267. data/test/fixtures/rails_filemanager/filemanager_files.yml +11 -0
  268. data/test/helpers/rails_filemanager/filemanager_files_helper_test.rb +6 -0
  269. data/test/integration/navigation_test.rb +10 -0
  270. data/test/models/rails_filemanager/filemanager_file_test.rb +9 -0
  271. data/test/rails_filemanager_test.rb +7 -0
  272. data/test/test_helper.rb +15 -0
  273. metadata +696 -0
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,49 @@
1
+ require 'test_helper'
2
+
3
+ class OwnersControllerTest < ActionController::TestCase
4
+ setup do
5
+ @owner = owners(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get :index
10
+ assert_response :success
11
+ assert_not_nil assigns(:owners)
12
+ end
13
+
14
+ test "should get new" do
15
+ get :new
16
+ assert_response :success
17
+ end
18
+
19
+ test "should create owner" do
20
+ assert_difference('Owner.count') do
21
+ post :create, owner: { max_total_file_size: @owner.max_total_file_size, name: @owner.name }
22
+ end
23
+
24
+ assert_redirected_to owner_path(assigns(:owner))
25
+ end
26
+
27
+ test "should show owner" do
28
+ get :show, id: @owner
29
+ assert_response :success
30
+ end
31
+
32
+ test "should get edit" do
33
+ get :edit, id: @owner
34
+ assert_response :success
35
+ end
36
+
37
+ test "should update owner" do
38
+ patch :update, id: @owner, owner: { max_total_file_size: @owner.max_total_file_size, name: @owner.name }
39
+ assert_redirected_to owner_path(assigns(:owner))
40
+ end
41
+
42
+ test "should destroy owner" do
43
+ assert_difference('Owner.count', -1) do
44
+ delete :destroy, id: @owner
45
+ end
46
+
47
+ assert_redirected_to owners_path
48
+ end
49
+ end
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ name: MyString
5
+ max_total_file_size: 1
6
+
7
+ two:
8
+ name: MyString
9
+ max_total_file_size: 1
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class OwnersHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class OwnerTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,999 @@
1
+ {: versionI"3.2.19 (Media Mark):EF:sha"-b70969f286a9e3d095f700cfbeb71c4741d2c6af:
2
+ :@has_childrenT:@templateI"�)//
3
+ // Forms
4
+ // --------------------------------------------------
5
+
6
+
7
+ // Normalize non-controls
8
+ //
9
+ // Restyle and baseline non-control form elements.
10
+
11
+ fieldset {
12
+ padding: 0;
13
+ margin: 0;
14
+ border: 0;
15
+ // Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets,
16
+ // so we reset that to ensure it behaves more like a standard block element.
17
+ // See https://github.com/twbs/bootstrap/issues/12359.
18
+ min-width: 0;
19
+ }
20
+
21
+ legend {
22
+ display: block;
23
+ width: 100%;
24
+ padding: 0;
25
+ margin-bottom: $line-height-computed;
26
+ font-size: ($font-size-base * 1.5);
27
+ line-height: inherit;
28
+ color: $legend-color;
29
+ border: 0;
30
+ border-bottom: 1px solid $legend-border-color;
31
+ }
32
+
33
+ label {
34
+ display: inline-block;
35
+ margin-bottom: 5px;
36
+ font-weight: bold;
37
+ }
38
+
39
+
40
+ // Normalize form controls
41
+ //
42
+ // While most of our form styles require extra classes, some basic normalization
43
+ // is required to ensure optimum display with or without those classes to better
44
+ // address browser inconsistencies.
45
+
46
+ // Override content-box in Normalize (* isn't specific enough)
47
+ input[type="search"] {
48
+ @include box-sizing(border-box);
49
+ }
50
+
51
+ // Position radios and checkboxes better
52
+ input[type="radio"],
53
+ input[type="checkbox"] {
54
+ margin: 4px 0 0;
55
+ margin-top: 1px \9; /* IE8-9 */
56
+ line-height: normal;
57
+ }
58
+
59
+ // Set the height of file controls to match text inputs
60
+ input[type="file"] {
61
+ display: block;
62
+ }
63
+
64
+ // Make range inputs behave like textual form controls
65
+ input[type="range"] {
66
+ display: block;
67
+ width: 100%;
68
+ }
69
+
70
+ // Make multiple select elements height not fixed
71
+ select[multiple],
72
+ select[size] {
73
+ height: auto;
74
+ }
75
+
76
+ // Focus for file, radio, and checkbox
77
+ input[type="file"]:focus,
78
+ input[type="radio"]:focus,
79
+ input[type="checkbox"]:focus {
80
+ @include tab-focus();
81
+ }
82
+
83
+ // Adjust output element
84
+ output {
85
+ display: block;
86
+ padding-top: ($padding-base-vertical + 1);
87
+ font-size: $font-size-base;
88
+ line-height: $line-height-base;
89
+ color: $input-color;
90
+ }
91
+
92
+
93
+ // Common form controls
94
+ //
95
+ // Shared size and type resets for form controls. Apply `.form-control` to any
96
+ // of the following form controls:
97
+ //
98
+ // select
99
+ // textarea
100
+ // input[type="text"]
101
+ // input[type="password"]
102
+ // input[type="datetime"]
103
+ // input[type="datetime-local"]
104
+ // input[type="date"]
105
+ // input[type="month"]
106
+ // input[type="time"]
107
+ // input[type="week"]
108
+ // input[type="number"]
109
+ // input[type="email"]
110
+ // input[type="url"]
111
+ // input[type="search"]
112
+ // input[type="tel"]
113
+ // input[type="color"]
114
+
115
+ .form-control {
116
+ display: block;
117
+ width: 100%;
118
+ height: $input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
119
+ padding: $padding-base-vertical $padding-base-horizontal;
120
+ font-size: $font-size-base;
121
+ line-height: $line-height-base;
122
+ color: $input-color;
123
+ background-color: $input-bg;
124
+ background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
125
+ border: 1px solid $input-border;
126
+ border-radius: $input-border-radius;
127
+ @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
128
+ @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
129
+
130
+ // Customize the `:focus` state to imitate native WebKit styles.
131
+ @include form-control-focus();
132
+
133
+ // Placeholder
134
+ @include placeholder();
135
+
136
+ // Disabled and read-only inputs
137
+ // Note: HTML5 says that controls under a fieldset > legend:first-child won't
138
+ // be disabled if the fieldset is disabled. Due to implementation difficulty,
139
+ // we don't honor that edge case; we style them as disabled anyway.
140
+ &[disabled],
141
+ &[readonly],
142
+ fieldset[disabled] & {
143
+ cursor: not-allowed;
144
+ background-color: $input-bg-disabled;
145
+ opacity: 1; // iOS fix for unreadable disabled content
146
+ }
147
+
148
+ // [converter] extracted textarea& to textarea.form-control
149
+ }
150
+
151
+ // Reset height for `textarea`s
152
+ textarea.form-control {
153
+ height: auto;
154
+ }
155
+
156
+ // Special styles for iOS date input
157
+ //
158
+ // In Mobile Safari, date inputs require a pixel line-height that matches the
159
+ // given height of the input.
160
+ input[type="date"] {
161
+ line-height: $input-height-base;
162
+ }
163
+
164
+
165
+ // Form groups
166
+ //
167
+ // Designed to help with the organization and spacing of vertical forms. For
168
+ // horizontal forms, use the predefined grid classes.
169
+
170
+ .form-group {
171
+ margin-bottom: 15px;
172
+ }
173
+
174
+
175
+ // Checkboxes and radios
176
+ //
177
+ // Indent the labels to position radios/checkboxes as hanging controls.
178
+
179
+ .radio,
180
+ .checkbox {
181
+ display: block;
182
+ min-height: $line-height-computed; // clear the floating input if there is no label text
183
+ margin-top: 10px;
184
+ margin-bottom: 10px;
185
+ padding-left: 20px;
186
+ label {
187
+ display: inline;
188
+ font-weight: normal;
189
+ cursor: pointer;
190
+ }
191
+ }
192
+ .radio input[type="radio"],
193
+ .radio-inline input[type="radio"],
194
+ .checkbox input[type="checkbox"],
195
+ .checkbox-inline input[type="checkbox"] {
196
+ float: left;
197
+ margin-left: -20px;
198
+ }
199
+ .radio + .radio,
200
+ .checkbox + .checkbox {
201
+ margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
202
+ }
203
+
204
+ // Radios and checkboxes on same line
205
+ .radio-inline,
206
+ .checkbox-inline {
207
+ display: inline-block;
208
+ padding-left: 20px;
209
+ margin-bottom: 0;
210
+ vertical-align: middle;
211
+ font-weight: normal;
212
+ cursor: pointer;
213
+ }
214
+ .radio-inline + .radio-inline,
215
+ .checkbox-inline + .checkbox-inline {
216
+ margin-top: 0;
217
+ margin-left: 10px; // space out consecutive inline controls
218
+ }
219
+
220
+ // Apply same disabled cursor tweak as for inputs
221
+ //
222
+ // Note: Neither radios nor checkboxes can be readonly.
223
+ input[type="radio"],
224
+ input[type="checkbox"],
225
+ .radio,
226
+ .radio-inline,
227
+ .checkbox,
228
+ .checkbox-inline {
229
+ &[disabled],
230
+ fieldset[disabled] & {
231
+ cursor: not-allowed;
232
+ }
233
+ }
234
+
235
+
236
+ // Form control sizing
237
+ //
238
+ // Build on `.form-control` with modifier classes to decrease or increase the
239
+ // height and font-size of form controls.
240
+
241
+ @include input-size('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
242
+
243
+ @include input-size('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
244
+
245
+
246
+ // Form control feedback states
247
+ //
248
+ // Apply contextual and semantic states to individual form controls.
249
+
250
+ .has-feedback {
251
+ // Enable absolute positioning
252
+ position: relative;
253
+
254
+ // Ensure icons don't overlap text
255
+ .form-control {
256
+ padding-right: ($input-height-base * 1.25);
257
+ }
258
+
259
+ // Feedback icon (requires .glyphicon classes)
260
+ .form-control-feedback {
261
+ position: absolute;
262
+ top: ($line-height-computed + 5); // Height of the `label` and its margin
263
+ right: 0;
264
+ display: block;
265
+ width: $input-height-base;
266
+ height: $input-height-base;
267
+ line-height: $input-height-base;
268
+ text-align: center;
269
+ }
270
+ }
271
+
272
+ // Feedback states
273
+ .has-success {
274
+ @include form-control-validation($state-success-text, $state-success-text, $state-success-bg);
275
+ }
276
+ .has-warning {
277
+ @include form-control-validation($state-warning-text, $state-warning-text, $state-warning-bg);
278
+ }
279
+ .has-error {
280
+ @include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg);
281
+ }
282
+
283
+
284
+ // Static form control text
285
+ //
286
+ // Apply class to a `p` element to make any string of text align with labels in
287
+ // a horizontal form layout.
288
+
289
+ .form-control-static {
290
+ margin-bottom: 0; // Remove default margin from `p`
291
+ }
292
+
293
+
294
+ // Help text
295
+ //
296
+ // Apply to any element you wish to create light text for placement immediately
297
+ // below a form control. Use for general help, formatting, or instructional text.
298
+
299
+ .help-block {
300
+ display: block; // account for any element using help-block
301
+ margin-top: 5px;
302
+ margin-bottom: 10px;
303
+ color: lighten($text-color, 25%); // lighten the text some for contrast
304
+ }
305
+
306
+
307
+
308
+ // Inline forms
309
+ //
310
+ // Make forms appear inline(-block) by adding the `.form-inline` class. Inline
311
+ // forms begin stacked on extra small (mobile) devices and then go inline when
312
+ // viewports reach <768px.
313
+ //
314
+ // Requires wrapping inputs and labels with `.form-group` for proper display of
315
+ // default HTML form controls and our custom form controls (e.g., input groups).
316
+ //
317
+ // Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
318
+
319
+ .form-inline {
320
+
321
+ // Kick in the inline
322
+ @media (min-width: $screen-sm-min) {
323
+ // Inline-block all the things for "inline"
324
+ .form-group {
325
+ display: inline-block;
326
+ margin-bottom: 0;
327
+ vertical-align: middle;
328
+ }
329
+
330
+ // In navbar-form, allow folks to *not* use `.form-group`
331
+ .form-control {
332
+ display: inline-block;
333
+ width: auto; // Prevent labels from stacking above inputs in `.form-group`
334
+ vertical-align: middle;
335
+ }
336
+
337
+ .control-label {
338
+ margin-bottom: 0;
339
+ vertical-align: middle;
340
+ }
341
+
342
+ // Remove default margin on radios/checkboxes that were used for stacking, and
343
+ // then undo the floating of radios and checkboxes to match (which also avoids
344
+ // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
345
+ .radio,
346
+ .checkbox {
347
+ display: inline-block;
348
+ margin-top: 0;
349
+ margin-bottom: 0;
350
+ padding-left: 0;
351
+ vertical-align: middle;
352
+ }
353
+ .radio input[type="radio"],
354
+ .checkbox input[type="checkbox"] {
355
+ float: none;
356
+ margin-left: 0;
357
+ }
358
+
359
+ // Validation states
360
+ //
361
+ // Reposition the icon because it's now within a grid column and columns have
362
+ // `position: relative;` on them. Also accounts for the grid gutter padding.
363
+ .has-feedback .form-control-feedback {
364
+ top: 0;
365
+ }
366
+ }
367
+ }
368
+
369
+
370
+ // Horizontal forms
371
+ //
372
+ // Horizontal forms are built on grid classes and allow you to create forms with
373
+ // labels on the left and inputs on the right.
374
+
375
+ .form-horizontal {
376
+
377
+ // Consistent vertical alignment of labels, radios, and checkboxes
378
+ .control-label,
379
+ .radio,
380
+ .checkbox,
381
+ .radio-inline,
382
+ .checkbox-inline {
383
+ margin-top: 0;
384
+ margin-bottom: 0;
385
+ padding-top: ($padding-base-vertical + 1); // Default padding plus a border
386
+ }
387
+ // Account for padding we're adding to ensure the alignment and of help text
388
+ // and other content below items
389
+ .radio,
390
+ .checkbox {
391
+ min-height: ($line-height-computed + ($padding-base-vertical + 1));
392
+ }
393
+
394
+ // Make form groups behave like rows
395
+ .form-group {
396
+ @include make-row();
397
+ }
398
+
399
+ .form-control-static {
400
+ padding-top: ($padding-base-vertical + 1);
401
+ }
402
+
403
+ // Only right align form labels here when the columns stop stacking
404
+ @media (min-width: $screen-sm-min) {
405
+ .control-label {
406
+ text-align: right;
407
+ }
408
+ }
409
+
410
+ // Validation states
411
+ //
412
+ // Reposition the icon because it's now within a grid column and columns have
413
+ // `position: relative;` on them. Also accounts for the grid gutter padding.
414
+ .has-feedback .form-control-feedback {
415
+ top: 0;
416
+ right: ($grid-gutter-width / 2);
417
+ }
418
+ }
419
+ :ET:
420
+ @linei:@children[;o:Sass::Tree::CommentNode
421
+ : @value[I"I/*
422
+ * Forms
423
+ * -------------------------------------------------- */;T:
424
+ @type: silent; i;
425
+ [:
426
+ ; [I"W/* Normalize non-controls
427
+ *
428
+ * Restyle and baseline non-control form elements. */;T;
429
+ [;@ o:Sass::Tree::RuleNode :@parsed_ruleso:"Sass::Selector::CommaSequence:
430
+ ;[o:Sass::Selector::Element :
431
+ @name[I"
432
+ @hash{;@; i;@; i;T:
433
+ @tabsi:
434
+ @rule[I"
435
+ [
436
+ o:Sass::Tree::PropNode ;i;[I" padding;T; o:Sass::Script::String; I"0;T;
437
+ [o; ;i;[I" margin;T; o;!; I"0;T;
438
+ [o; ;i;[I" border;T; o;!; I"0;T;
439
+ [o;
440
+ ; [I"�/* Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets,
441
+ * so we reset that to ensure it behaves more like a standard block element.
442
+ * See https://github.com/twbs/bootstrap/issues/12359. */;T;
443
+ [;@ o; ;i;[I"min-width;T; o;!; I"0;T;
444
+ [;@ o; ;o;;[o;;[o;
445
+ ;[o; ;[I" legend;T;0;I";T; i;0;o;;{;@G; i;@G; i;T;i;[I" legend;T; i;
446
+ [o; ;i;[I" display;T; o;!; I"
447
+ block;T;
448
+ [o; ;i;[I"
449
+ width;T; o;!; I" 100%;T;
450
+ [o; ;i;[I" padding;T; o;!; I"0;T;
451
+ [o; ;i;[I"margin-bottom;T; o:Sass::Script::Variable ;I"line-height-computed;T:@underscored_nameI"line_height_computed;T; i;@ ; i;#;$;@ ;
452
+ [o; ;i;[I"font-size;T; o:Sass::Script::Operation
453
+ :@operator:
454
+ times:@operand1o;% ;I"font-size-base;T;&I"font_size_base;T; i;@ :@operand2o:Sass::Script::Number :@originalI"1.5;F; f1.5:@numerator_units[:@denominator_units[; i;@ ; i;@ ; i;#;$;@ ;
455
+ [o; ;i;[I"line-height;T; o;!; I" inherit;T;
456
+ [o; ;i;[I"
457
+ color;T; o;% ;I"legend-color;T;&I"legend_color;T; i ;@ ; i ;#;$;@ ;
458
+ [o; ;i;[I" border;T; o;!; I"0;T;
459
+ [o; ;i;[I"border-bottom;T; o:Sass::Script::List :@separator:
460
+ space; [o;, ;-I"1px;F; i;.[I"px;T;/[; i";@ o;! ; I"
461
+ solid;T;
462
+ [;@ o; ;o;;[o;;[o;
463
+ ;[o; ;[I"
464
+ label;T;0;I";T; i%;0;o;;{;@�; i%;@�; i%;T;i;[I"
465
+ label;T; i%;
466
+ [o; ;i;[I" display;T; o;!; I"inline-block;T;
467
+ [o; ;i;[I"margin-bottom;T; o;!; I"5px;T;
468
+ [o; ;i;[I"font-weight;T; o;!; I" bold;T;
469
+ [;@ o;
470
+ ; [I"�/* Normalize form controls
471
+ *
472
+ * While most of our form styles require extra classes, some basic normalization
473
+ * is required to ensure optimum display with or without those classes to better
474
+ * address browser inconsistencies. */;T;
475
+ [;@ o;
476
+ ; [I"F/* Override content-box in Normalize (* isn't specific enough) */;T;
477
+ [;@ o; ;o;;[o;;[o;
478
+ ;[o; ;[I"
479
+ input;T;0;I";T; i3o:Sass::Selector::Attribute ;(I"=;T: @flags0;[I" type;T;0; [I"
480
+ [o:Sass::Tree::MixinNode :@keywords{;I"box-sizing;T:
481
+ @args[o;! ; I"border-box;T;
482
+ [;@ ;@ o;
483
+ ; [I"0/* Position radios and checkboxes better */;T;
484
+ [;@ o; ;o;;[o;;[o;
485
+ ;[o; ;[I"
486
+ input;T;0;I";T; i9o;3 ;(I"=;T;40;[I" type;T;0; [I" "radio";T;@�; i9;0;o;;{;@�; i9o;;[I"
487
+ ;To;
488
+ ;[o; ;[I"
489
+ input;T;0;@�; i9o;3 ;(I"=;T;40;[I" type;T;0; [I""checkbox";T;@�; i9;0;o;;{;@�; i9;@�; i9;T;i;[I"0input[type="radio"],
490
+ input[type="checkbox"];T; i9;
491
+ [ o; ;i;[I" margin;T; o;!; I" 4px 0 0;T;
492
+ [o; ;i;[I"margin-top;T; o;!; I" 1px \9;T;
493
+ [o;
494
+ ; [I"/* IE8-9 */;T;
495
+ [;@ o; ;i;[I"line-height;T; o;!; I" normal;T;
496
+ [;@ o;
497
+ ; [I"?/* Set the height of file controls to match text inputs */;T;
498
+ [;@ o; ;o;;[o;;[o;
499
+ ;[o; ;[I"
500
+ input;T;0;I";T; i@o;3 ;(I"=;T;40;[I" type;T;0; [I" "file";T;@&; i@;0;o;;{;@&; i@;@&; i@;T;i;[I"input[type="file"];T; i@;
501
+ [o; ;i;[I" display;T; o;!; I"
502
+ block;T;
503
+ [;@ o;
504
+ ; [I">/* Make range inputs behave like textual form controls */;T;
505
+ [;@ o; ;o;;[o;;[o;
506
+ ;[o; ;[I"
507
+ input;T;0;I";T; iEo;3 ;(I"=;T;40;[I" type;T;0; [I" "range";T;@F; iE;0;o;;{;@F; iE;@F; iE;T;i;[I"input[type="range"];T; iE;
508
+ [o; ;i;[I" display;T; o;!; I"
509
+ block;T;
510
+ [o; ;i;[I"
511
+ width;T; o;!; I" 100%;T;
512
+ [;@ o;
513
+ ; [I"9/* Make multiple select elements height not fixed */;T;
514
+ [;@ o; ;o;;[o;;[o;
515
+ ;[o; ;[I" select;T;0;I";T; iLo;3 ;(0;40;[I"
516
+ ;To;
517
+ ;[o; ;[I" select;T;0;@l; iLo;3 ;(0;40;[I" size;T;0; 0;@l; iL;0;o;;{;@l; iL;@l; iL;T;i;[I"#select[multiple],
518
+ select[size];T; iL;
519
+ [o; ;i;[I" height;T; o;!; I" auto;T;
520
+ [;@ o;
521
+ ; [I"./* Focus for file, radio, and checkbox */;T;
522
+ [;@ o; ;o;;[o;;[o;
523
+ ;[o; ;[I"
524
+ input;T;0;I";T; iSo;3 ;(I"=;T;40;[I" type;T;0; [I" "file";T;@�; iSo:Sass::Selector::Pseudo
525
+ ;[I"
526
+ focus;T:@syntactic_type:
527
+ class;@�; iS: @arg0;0;o;;{;@�; iSo;;[I"
528
+ ;To;
529
+ ;[o; ;[I"
530
+ input;T;0;@�; iSo;3 ;(I"=;T;40;[I" type;T;0; [I" "radio";T;@�; iSo;:
531
+ ;[I"
532
+ focus;T;;;<;@�; iS;=0;0;o;;{;@�; iSo;;[I"
533
+ ;To;
534
+ ;[o; ;[I"
535
+ input;T;0;@�; iSo;3 ;(I"=;T;40;[I" type;T;0; [I""checkbox";T;@�; iSo;:
536
+ ;[I"
537
+ focus;T;;;<;@�; iS;=0;0;o;;{;@�; iS;@�; iS;T;i;[I"Vinput[type="file"]:focus,
538
+ input[type="radio"]:focus,
539
+ input[type="checkbox"]:focus;T; iS;
540
+ [o;5 ;6{;I"tab-focus;T;7[;80; iT;
541
+ [;@ ;@ o;
542
+ ; [I" /* Adjust output element */;T;
543
+ [;@ o; ;o;;[o;;[o;
544
+ ;[o; ;[I" output;T;0;I";T; iX;0;o;;{;@�; iX;@�; iX;T;i;[I" output;T; iX;
545
+ [
546
+ o; ;i;[I" display;T; o;!; I"
547
+ block;T;
548
+ [o; ;i;[I"padding-top;T; o;'
549
+ ;(: plus;*o;% ;I"padding-base-vertical;T;&I"padding_base_vertical;T; iZ;@ ;+o;, ;-I"1;F; i;.[;/@q; iZ;@ ; iZ;@ ; iZ;#;$;@ ;
550
+ [o; ;i;[I"font-size;T; o;% ;I"font-size-base;T;&I"font_size_base;T; i[;@ ; i[;#;$;@ ;
551
+ [o; ;i;[I"line-height;T; o;% ;I"line-height-base;T;&I"line_height_base;T; i\;@ ; i\;#;$;@ ;
552
+ [o; ;i;[I"
553
+ color;T; o;% ;I"input-color;T;&I"input_color;T; i];@ ; i];#;$;@ ;
554
+ [;@ o;
555
+ ; [I"�/* Common form controls
556
+ *
557
+ * Shared size and type resets for form controls. Apply `.form-control` to any
558
+ * of the following form controls:
559
+ *
560
+ * select
561
+ * textarea
562
+ * input[type="text"]
563
+ * input[type="password"]
564
+ * input[type="datetime"]
565
+ * input[type="datetime-local"]
566
+ * input[type="date"]
567
+ * input[type="month"]
568
+ * input[type="time"]
569
+ * input[type="week"]
570
+ * input[type="number"]
571
+ * input[type="email"]
572
+ * input[type="url"]
573
+ * input[type="search"]
574
+ * input[type="tel"]
575
+ * input[type="color"] */;T;
576
+ [;@ o; ;o;;[o;;[o;
577
+ ;[o:Sass::Selector::Class;[I"form-control;T;I";T; iw;0;o;;{;@; iw;@; iw;T;i;[I".form-control;T; iw;
578
+ [o; ;i;[I" display;T; o;!; I"
579
+ block;T;
580
+ [o; ;i;[I"
581
+ width;T; o;!; I" 100%;T;
582
+ [o; ;i;[I" height;T; o;% ;I"input-height-base;T;&I"input_height_base;T; iz;@ ; iz;#;$;@ ;
583
+ [o;
584
+ ; [I"l/* Make inputs at least the height of their button counterpart (base line-height + padding + border) */;T;
585
+ [;@ o; ;i;[I" padding;T; o;0 ;1;2; [o;% ;I"padding-base-vertical;T;&I"padding_base_vertical;T; i{;@ o;% ;I"padding-base-horizontal;T;&I"padding_base_horizontal;T; i{;@ ; i{;@ ; i{;#;$;@ ;
586
+ [o; ;i;[I"font-size;T; o;% ;I"font-size-base;T;&I"font_size_base;T; i|;@ ; i|;#;$;@ ;
587
+ [o; ;i;[I"line-height;T; o;% ;I"line-height-base;T;&I"line_height_base;T; i};@ ; i};#;$;@ ;
588
+ [o; ;i;[I"
589
+ color;T; o;% ;I"input-color;T;&I"input_color;T; i~;@ ; i~;#;$;@ ;
590
+ [o; ;i;[I"background-color;T; o;% ;I"
591
+ [o; ;i;[I"background-image;T; o;!; I" none;T;
592
+ [o;
593
+ ; [I"r/* Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 */;T;
594
+ [;@ o; ;i;[I" border;T; o;0 ;1;2; [o;, ;-I"1px;F; i;.[I"px;T;/[; i|;@ o;! ; I"
595
+ solid;T;
596
+ [o; ;i;[I"border-radius;T; o;% ;I"input-border-radius;T;&I"input_border_radius;T; i};@ ; i};#;$;@ ;
597
+ [o;5 ;6{;I"box-shadow;T;7[o;0 ;1;2; [
598
+ o;! ; I"
599
+ inset;T;
600
+ 0.075;F; f
601
+ 0.075;.[;/@q; i~;@ ;80; i~;@ ; i~;@ ;80; i~;
602
+ [;@ o;5 ;6{;I"transition;T;7[o;0 ;1;2; [o;! ; I"border-color;T;
603
+ 0.15s;F; f 0.15;.[I"s;T;/[; i;@ ; i;@ o;0 ;1;2; [o;! ; I"box-shadow;T;
604
+ 0.15s;F; f 0.15;.[I"s;T;/[; i;@ ; i;@ ;80; i;
605
+ [;@ o;
606
+ ; [I"H/* Customize the `:focus` state to imitate native WebKit styles. */;T;
607
+ [;@ o;5 ;6{;I"form-control-focus;T;7[;80; i�;
608
+ [;@ o;
609
+ ; [I"/* Placeholder */;T;
610
+ [;@ o;5 ;6{;I"placeholder;T;7[;80; i�;
611
+ [;@ o;
612
+ ; [I"/* Disabled and read-only inputs
613
+ * Note: HTML5 says that controls under a fieldset > legend:first-child won't
614
+ * be disabled if the fieldset is disabled. Due to implementation difficulty,
615
+ * we don't honor that edge case; we style them as disabled anyway. */;T;
616
+ [;@ o; ;o;;[o;;[o;
617
+ ;[o:Sass::Selector::Parent;I";T; i�o;3 ;(0;40;[I"
618
+ ;To;
619
+ ;[o;A;@�; i�o;3 ;(0;40;[I"
620
+ ;To;
621
+ ;[o; ;[I"
622
+ ;[o;A;@�; i�;0;o;;{;@�; i�;@�; i�;T;i;[I"7&[disabled],
623
+ &[readonly],
624
+ fieldset[disabled] &;T; i�;
625
+ [ o; ;i;[I" cursor;T; o;!; I"not-allowed;T;
626
+ [o; ;i;[I"background-color;T; o;% ;I"input-bg-disabled;T;&I"input_bg_disabled;T; i�;@ ; i�;#;$;@ ;
627
+ [o; ;i;[I" opacity;T; o;!; I"1;T;
628
+ [o;
629
+ ; [I"2/* iOS fix for unreadable disabled content */;T;
630
+ [;@ ;@ o;
631
+ ; [I"C/* [converter] extracted textarea& to textarea.form-control */;T;
632
+ [;@ ;@ o;
633
+ ; [I"'/* Reset height for `textarea`s */;T;
634
+ [;@ o; ;o;;[o;;[o;
635
+ ;[o; ;[I"
636
+ [o; ;i;[I" height;T; o;!; I" auto;T;
637
+ [;@ o;
638
+ ; [I"�/* Special styles for iOS date input
639
+ *
640
+ * In Mobile Safari, date inputs require a pixel line-height that matches the
641
+ * given height of the input. */;T;
642
+ [;@ o; ;o;;[o;;[o;
643
+ ;[o; ;[I"
644
+ input;T;0;I";T; i�o;3 ;(I"=;T;40;[I" type;T;0; [I" "date";T;@L; i�;0;o;;{;@L; i�;@L; i�;T;i;[I"input[type="date"];T; i�;
645
+ [o; ;i;[I"line-height;T; o;% ;I"input-height-base;T;&I"input_height_base;T; i�;@ ; i�;#;$;@ ;
646
+ [;@ o;
647
+ ; [I"�/* Form groups
648
+ *
649
+ * Designed to help with the organization and spacing of vertical forms. For
650
+ * horizontal forms, use the predefined grid classes. */;T;
651
+ [;@ o; ;o;;[o;;[o;
652
+ ;[o;?;[I"form-group;T;I";T; i�;0;o;;{;@m; i�;@m; i�;T;i;[I".form-group;T; i�;
653
+ [o; ;i;[I"margin-bottom;T; o;!; I" 15px;T;
654
+ [;@ o;
655
+ ; [I"k/* Checkboxes and radios
656
+ *
657
+ * Indent the labels to position radios/checkboxes as hanging controls. */;T;
658
+ [;@ o; ;o;;[o;;[o;
659
+ ;[o;?;[I"
660
+ radio;T;I";T; i�;0;o;;{;@�; i�o;;[I"
661
+ ;To;
662
+ ;[o;?;[I"
663
+ .checkbox;T; i�;
664
+ [ o; ;i;[I" display;T; o;!; I"
665
+ block;T;
666
+ [o; ;i;[I"min-height;T; o;% ;I"line-height-computed;T;&I"line_height_computed;T; i�;@ ; i�;#;$;@ ;
667
+ [o;
668
+ ; [I"=/* clear the floating input if there is no label text */;T;
669
+ [;@ o; ;i;[I"margin-top;T; o;!; I" 10px;T;
670
+ [o; ;i;[I"margin-bottom;T; o;!; I" 10px;T;
671
+ [o; ;i;[I"padding-left;T; o;!; I" 20px;T;
672
+ [o; ;o;;[o;;[o;
673
+ ;[o; ;[I"
674
+ label;T;0;I";T; i�;0;o;;{;@�; i�;@�; i�;T;i;[I"
675
+ label;T; i�;
676
+ [o; ;i;[I" display;T; o;!; I" inline;T;
677
+ [o; ;i;[I"font-weight;T; o;!; I" normal;T;
678
+ [o; ;i;[I" cursor;T; o;!; I" pointer;T;
679
+ [;@ ;@ o; ;o;;[ o;;[o;
680
+ ;[o;?;[I"
681
+ radio;T;I";T; i�;0;o;;{;@�; i�o;
682
+ ;[o; ;[I"
683
+ input;T;0;@�; i�o;3 ;(I"=;T;40;[I" type;T;0; [I" "radio";T;@�; i�;0;o;;{;@�; i�o;;[I"
684
+ ;To;
685
+ ;[o;?;[I"radio-inline;T;@�; i�;0;o;;{;@�; i�o;
686
+ ;[o; ;[I"
687
+ input;T;0;@�; i�o;3 ;(I"=;T;40;[I" type;T;0; [I" "radio";T;@�; i�;0;o;;{;@�; i�o;;[I"
688
+ ;To;
689
+ ;[o;?;[I"
690
+ ;[o; ;[I"
691
+ input;T;0;@�; i�o;3 ;(I"=;T;40;[I" type;T;0; [I""checkbox";T;@�; i�;0;o;;{;@�; i�o;;[I"
692
+ ;To;
693
+ ;[o;?;[I"checkbox-inline;T;@�; i�;0;o;;{;@�; i�o;
694
+ ;[o; ;[I"
695
+ input;T;0;@�; i�o;3 ;(I"=;T;40;[I" type;T;0; [I""checkbox";T;@�; i�;0;o;;{;@�; i�;@�; i�;T;i;[I"�.radio input[type="radio"],
696
+ .radio-inline input[type="radio"],
697
+ .checkbox input[type="checkbox"],
698
+ .checkbox-inline input[type="checkbox"];T; i�;
699
+ [o; ;i;[I"
700
+ float;T; o;!; I" left;T;
701
+ [o; ;i;[I"margin-left;T; o;!; I"
702
+ -20px;T;
703
+ [;@ o; ;o;;[o;;[o;
704
+ ;[o;?;[I"
705
+ radio;T;I";T; i�;0;o;;{;@T; i�I"+;To;
706
+ ;[o;?;[I"
707
+ radio;T;@T; i�;0;o;;{;@T; i�o;;[ I"
708
+ ;To;
709
+ ;[o;?;[I"
710
+ ;[o;?;[I"
711
+ .checkbox + .checkbox;T; i�;
712
+ [o; ;i;[I"margin-top;T; o;!; I" -5px;T;
713
+ [o;
714
+ ; [I"C/* Move up sibling radios or checkboxes for tighter spacing */;T;
715
+ [;@ ;@ o;
716
+ ; [I"-/* Radios and checkboxes on same line */;T;
717
+ [;@ o; ;o;;[o;;[o;
718
+ ;[o;?;[I"radio-inline;T;I";T; i�;0;o;;{;@�; i�o;;[I"
719
+ ;To;
720
+ ;[o;?;[I"checkbox-inline;T;@�; i�;0;o;;{;@�; i�;@�; i�;T;i;[I"$.radio-inline,
721
+ .checkbox-inline;T; i�;
722
+ [ o; ;i;[I" display;T; o;!; I"inline-block;T;
723
+ [o; ;i;[I"padding-left;T; o;!; I" 20px;T;
724
+ [o; ;i;[I"margin-bottom;T; o;!; I"0;T;
725
+ [o; ;i;[I"vertical-align;T; o;!; I" middle;T;
726
+ [o; ;i;[I"font-weight;T; o;!; I" normal;T;
727
+ [o; ;i;[I" cursor;T; o;!; I" pointer;T;
728
+ [;@ o; ;o;;[o;;[o;
729
+ ;[o;?;[I"radio-inline;T;I";T; i�;0;o;;{;@�; i�I"+;To;
730
+ ;[o;?;[I"radio-inline;T;@�; i�;0;o;;{;@�; i�o;;[ I"
731
+ ;To;
732
+ ;[o;?;[I"checkbox-inline;T;@�; i�;0;o;;{;@�; i�I"+;To;
733
+ ;[o;?;[I"checkbox-inline;T;@�; i�;0;o;;{;@�; i�;@�; i�;T;i;[I"G.radio-inline + .radio-inline,
734
+ .checkbox-inline + .checkbox-inline;T; i�;
735
+ [o; ;i;[I"margin-top;T; o;!; I"0;T;
736
+ [o; ;i;[I"margin-left;T; o;!; I" 10px;T;
737
+ [o;
738
+ ; [I"0/* space out consecutive inline controls */;T;
739
+ [;@ ;@ o;
740
+ ; [I"t/* Apply same disabled cursor tweak as for inputs
741
+ *
742
+ * Note: Neither radios nor checkboxes can be readonly. */;T;
743
+ [;@ o; ;o;;[ o;;[o;
744
+ ;[o; ;[I"
745
+ input;T;0;I";T; i�o;3 ;(I"=;T;40;[I" type;T;0; [I" "radio";T;@; i�;0;o;;{;@; i�o;;[I"
746
+ ;To;
747
+ ;[o; ;[I"
748
+ input;T;0;@; i�o;3 ;(I"=;T;40;[I" type;T;0; [I""checkbox";T;@; i�;0;o;;{;@; i�o;;[I"
749
+ ;To;
750
+ ;[o;?;[I"
751
+ radio;T;@; i�;0;o;;{;@; i�o;;[I"
752
+ ;To;
753
+ ;[o;?;[I"radio-inline;T;@; i�;0;o;;{;@; i�o;;[I"
754
+ ;To;
755
+ ;[o;?;[I"
756
+ ;To;
757
+ ;[o;?;[I"checkbox-inline;T;@; i�;0;o;;{;@; i�;@; i�;T;i;[I"dinput[type="radio"],
758
+ input[type="checkbox"],
759
+ .radio,
760
+ .radio-inline,
761
+ .checkbox,
762
+ .checkbox-inline;T; i�;
763
+ [o; ;o;;[o;;[o;
764
+ ;[o;A;I";T; i�o;3 ;(0;40;[I"
765
+ ;To;
766
+ ;[o; ;[I"
767
+ ;[o;A;@T; i�;0;o;;{;@T; i�;@T; i�;T;i;[I"(&[disabled],
768
+ fieldset[disabled] &;T; i�;
769
+ [o; ;i;[I" cursor;T; o;!; I"not-allowed;T;
770
+ [;@ ;@ o;
771
+ ; [I"�/* Form control sizing
772
+ *
773
+ * Build on `.form-control` with modifier classes to decrease or increase the
774
+ * height and font-size of form controls. */;T;
775
+ [;@ o;5 ;6{;I"input-size;T;7[ o;! ; I".input-sm;T;
776
+ [;@ o;5 ;6{;I"input-size;T;7[ o;! ; I".input-lg;T;
777
+ [;@ o;
778
+ ; [I"o/* Form control feedback states
779
+ *
780
+ * Apply contextual and semantic states to individual form controls. */;T;
781
+ [;@ o; ;o;;[o;;[o;
782
+ ;[o;?;[I"has-feedback;T;I";T; i�;0;o;;{;@�; i�;@�; i�;T;i;[I".has-feedback;T; i�;
783
+ [ o;
784
+ ; [I"&/* Enable absolute positioning */;T;
785
+ [;@ o; ;i;[I"
786
+ [o;
787
+ ; [I"*/* Ensure icons don't overlap text */;T;
788
+ [;@ o; ;o;;[o;;[o;
789
+ ;[o;?;[I"form-control;T;I";T; i�;0;o;;{;@�; i�;@�; i�;T;i;[I".form-control;T; i�;
790
+ [o; ;i;[I"padding-right;T; o;'
791
+ ;(;);*o;% ;I"input-height-base;T;&I"input_height_base;T; i�;@ ;+o;, ;-I" 1.25;F; f 1.25;.[;/@q; i�;@ ; i�;@ ; i�;#;$;@ ;
792
+ [;@ o;
793
+ ; [I"6/* Feedback icon (requires .glyphicon classes) */;T;
794
+ [;@ o; ;o;;[o;;[o;
795
+ ;[o;?;[I"form-control-feedback;T;I";T; i;0;o;;{;@�; i;@�; i;T;i;[I".form-control-feedback;T; i;
796
+ [o; ;i;[I"
797
+ [o; ;i;[I"top;T; o;'
798
+ ;(;>;*o;% ;I"line-height-computed;T;&I"line_height_computed;T; i;@ ;+o;, ;-I"5;F; i
799
+ ;.[;/@q; i;@ ; i;@ ; i;#;$;@ ;
800
+ [o;
801
+ ; [I"//* Height of the `label` and its margin */;T;
802
+ [;@ o; ;i;[I"
803
+ right;T; o;!; I"0;T;
804
+ [o; ;i;[I" display;T; o;!; I"
805
+ block;T;
806
+ [o; ;i;[I"
807
+ width;T; o;% ;I"input-height-base;T;&I"input_height_base;T; i;@ ; i;#;$;@ ;
808
+ [o; ;i;[I" height;T; o;% ;I"input-height-base;T;&I"input_height_base;T; i ;@ ; i ;#;$;@ ;
809
+ [o; ;i;[I"line-height;T; o;% ;I"input-height-base;T;&I"input_height_base;T; i
810
+ ;@ ; i
811
+ ;#;$;@ ;
812
+ [o; ;i;[I"text-align;T; o;!; I" center;T;
813
+ [;@ ;@ o;
814
+ ; [I"/* Feedback states */;T;
815
+ [;@ o; ;o;;[o;;[o;
816
+ ;[o;?;[I"has-success;T;I";T; i;0;o;;{;@G; i;@G; i;T;i;[I".has-success;T; i;
817
+ [o;5 ;6{;I"form-control-validation;T;7[o;% ;I"state-success-text;T;&I"state_success_text;T; i;@ o;% ;I"state-success-text;T;&I"state_success_text;T; i;@ o;% ;I"state-success-bg;T;&I"state_success_bg;T; i;@ ;80; i;
818
+ [;@ ;@ o; ;o;;[o;;[o;
819
+ ;[o;?;[I"has-warning;T;I";T; i;0;o;;{;@e; i;@e; i;T;i;[I".has-warning;T; i;
820
+ [o;5 ;6{;I"form-control-validation;T;7[o;% ;I"state-warning-text;T;&I"state_warning_text;T; i;@ o;% ;I"state-warning-text;T;&I"state_warning_text;T; i;@ o;% ;I"state-warning-bg;T;&I"state_warning_bg;T; i;@ ;80; i;
821
+ [;@ ;@ o; ;o;;[o;;[o;
822
+ ;[o;?;[I"has-error;T;I";T; i;0;o;;{;@�; i;@�; i;T;i;[I".has-error;T; i;
823
+ [o;5 ;6{;I"form-control-validation;T;7[o;% ;I"state-danger-text;T;&I"state_danger_text;T; i;@ o;% ;I"state-danger-text;T;&I"state_danger_text;T; i;@ o;% ;I"state-danger-bg;T;&I"state_danger_bg;T; i;@ ;80; i;
824
+ [;@ ;@ o;
825
+ ; [I"�/* Static form control text
826
+ *
827
+ * Apply class to a `p` element to make any string of text align with labels in
828
+ * a horizontal form layout. */;T;
829
+ [;@ o; ;o;;[o;;[o;
830
+ ;[o;?;[I"form-control-static;T;I";T; i ;0;o;;{;@�; i ;@�; i ;T;i;[I".form-control-static;T; i ;
831
+ [o; ;i;[I"margin-bottom;T; o;!; I"0;T;
832
+ [o;
833
+ ; [I")/* Remove default margin from `p` */;T;
834
+ [;@ ;@ o;
835
+ ; [I"�/* Help text
836
+ *
837
+ * Apply to any element you wish to create light text for placement immediately
838
+ * below a form control. Use for general help, formatting, or instructional text. */;T;
839
+ [;@ o; ;o;;[o;;[o;
840
+ ;[o;?;[I"help-block;T;I";T; i*;0;o;;{;@�; i*;@�; i*;T;i;[I".help-block;T; i*;
841
+ [ o; ;i;[I" display;T; o;!; I"
842
+ block;T;
843
+ [o;
844
+ ; [I"3/* account for any element using help-block */;T;
845
+ [;@ o; ;i;[I"margin-top;T; o;!; I"5px;T;
846
+ [o; ;i;[I"margin-bottom;T; o;!; I" 10px;T;
847
+ [o; ;i;[I"
848
+ color;T; o;@ ;6{;I" lighten;T;7[o;% ;I"text-color;T;&I"text_color;T; i.;@ o;, ;-I"25%;F; i;.[I"%;T;/[; i.;@ ;80; i.;@ ; i.;#;$;@ ;
849
+ [o;
850
+ ; [I"-/* lighten the text some for contrast */;T;
851
+ [;@ ;@ o;
852
+ ; [I"�/* Inline forms
853
+ *
854
+ * Make forms appear inline(-block) by adding the `.form-inline` class. Inline
855
+ * forms begin stacked on extra small (mobile) devices and then go inline when
856
+ * viewports reach <768px.
857
+ *
858
+ * Requires wrapping inputs and labels with `.form-group` for proper display of
859
+ * default HTML form controls and our custom form controls (e.g., input groups).
860
+ *
861
+ * Heads up! This is mixin-ed into `.navbar-form` in navbars.less. */;T;
862
+ [;@ o; ;o;;[o;;[o;
863
+ ;[o;?;[I"form-inline;T;I";T; i>;0;o;;{;@; i>;@; i>;T;i;[I".form-inline;T; i>;
864
+ [o;
865
+ ; [I"/* Kick in the inline */;T;
866
+ [;@ o:Sass::Tree::MediaNode ;T;i; I";T: @query[
867
+ I"(;To;! ; I"min-width;T;
868
+ [o;
869
+ ; [I"3/* Inline-block all the things for "inline" */;T;
870
+ [;@ o; ;o;;[o;;[o;
871
+ ;[o;?;[I"form-group;T;I";T; iC;0;o;;{;@%; iC;@%; iC;T;i;[I".form-group;T; iC;
872
+ [o; ;i;[I" display;T; o;!; I"inline-block;T;
873
+ [o; ;i;[I"margin-bottom;T; o;!; I"0;T;
874
+ [o; ;i;[I"vertical-align;T; o;!; I" middle;T;
875
+ [;@ o;
876
+ ; [I"A/* In navbar-form, allow folks to *not* use `.form-group` */;T;
877
+ [;@ o; ;o;;[o;;[o;
878
+ ;[o;?;[I"form-control;T;I";T; iJ;0;o;;{;@K; iJ;@K; iJ;T;i;[I".form-control;T; iJ;
879
+ [ o; ;i;[I" display;T; o;!; I"inline-block;T;
880
+ [o; ;i;[I"
881
+ width;T; o;!; I" auto;T;
882
+ [o;
883
+ ; [I"E/* Prevent labels from stacking above inputs in `.form-group` */;T;
884
+ [;@ o; ;i;[I"vertical-align;T; o;!; I" middle;T;
885
+ [;@ o; ;o;;[o;;[o;
886
+ ;[o;?;[I"control-label;T;I";T; iP;0;o;;{;@q; iP;@q; iP;T;i;[I".control-label;T; iP;
887
+ [o; ;i;[I"margin-bottom;T; o;!; I"0;T;
888
+ [o; ;i;[I"vertical-align;T; o;!; I" middle;T;
889
+ [;@ o;
890
+ ; [I"�/* Remove default margin on radios/checkboxes that were used for stacking, and
891
+ * then undo the floating of radios and checkboxes to match (which also avoids
892
+ * a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969). */;T;
893
+ [;@ o; ;o;;[o;;[o;
894
+ ;[o;?;[I"
895
+ radio;T;I";T; iY;0;o;;{;@�; iYo;;[I"
896
+ ;To;
897
+ ;[o;?;[I"
898
+ .checkbox;T; iY;
899
+ [
900
+ o; ;i;[I" display;T; o;!; I"inline-block;T;
901
+ [o; ;i;[I"margin-top;T; o;!; I"0;T;
902
+ [o; ;i;[I"margin-bottom;T; o;!; I"0;T;
903
+ [o; ;i;[I"padding-left;T; o;!; I"0;T;
904
+ [o; ;i;[I"vertical-align;T; o;!; I" middle;T;
905
+ [;@ o; ;o;;[o;;[o;
906
+ ;[o;?;[I"
907
+ radio;T;I";T; ia;0;o;;{;@�; iao;
908
+ ;[o; ;[I"
909
+ input;T;0;@�; iao;3 ;(I"=;T;40;[I" type;T;0; [I" "radio";T;@�; ia;0;o;;{;@�; iao;;[I"
910
+ ;To;
911
+ ;[o;?;[I"
912
+ ;[o; ;[I"
913
+ input;T;0;@�; iao;3 ;(I"=;T;40;[I" type;T;0; [I""checkbox";T;@�; ia;0;o;;{;@�; ia;@�; ia;T;i;[I"E.radio input[type="radio"],
914
+ .checkbox input[type="checkbox"];T; ia;
915
+ [o; ;i;[I"
916
+ float;T; o;!; I" none;T;
917
+ [o; ;i;[I"margin-left;T; o;!; I"0;T;
918
+ [;@ o;
919
+ ; [I"�/* Validation states
920
+ *
921
+ * Reposition the icon because it's now within a grid column and columns have
922
+ * `position: relative;` on them. Also accounts for the grid gutter padding. */;T;
923
+ [;@ o; ;o;;[o;;[o;
924
+ ;[o;?;[I"has-feedback;T;I";T; ij;0;o;;{;@
925
+ ;[o;?;[I"form-control-feedback;T;@
926
+ [o; ;i;[I"top;T; o;!; I"0;T;
927
+ [;@ ;@ ;@ o;
928
+ ; [I"�/* Horizontal forms
929
+ *
930
+ * Horizontal forms are built on grid classes and allow you to create forms with
931
+ * labels on the left and inputs on the right. */;T;
932
+ [;@ o; ;o;;[o;;[o;
933
+ ;[o;?;[I"form-horizontal;T;I";T; iv;0;o;;{;@.; iv;@.; iv;T;i;[I".form-horizontal;T; iv;
934
+ [o;
935
+ ; [I"J/* Consistent vertical alignment of labels, radios, and checkboxes */;T;
936
+ [;@ o; ;o;;[
937
+ o;;[o;
938
+ ;[o;?;[I"control-label;T;I";T; i};0;o;;{;@B; i}o;;[I"
939
+ ;To;
940
+ ;[o;?;[I"
941
+ radio;T;@B; i};0;o;;{;@B; i}o;;[I"
942
+ ;To;
943
+ ;[o;?;[I"
944
+ ;To;
945
+ ;[o;?;[I"radio-inline;T;@B; i};0;o;;{;@B; i}o;;[I"
946
+ ;To;
947
+ ;[o;?;[I"checkbox-inline;T;@B; i};0;o;;{;@B; i};@B; i};T;i;[I"O.control-label,
948
+ .radio,
949
+ .checkbox,
950
+ .radio-inline,
951
+ .checkbox-inline;T; i};
952
+ [ o; ;i;[I"margin-top;T; o;!; I"0;T;
953
+ [o; ;i;[I"margin-bottom;T; o;!; I"0;T;
954
+ [o; ;i;[I"padding-top;T; o;'
955
+ ;(;>;*o;% ;I"padding-base-vertical;T;&I"padding_base_vertical;T; i�;@ ;+o;, ;-I"1;F; i;.[;/@q; i�;@ ; i�;@ ; i�;#;$;@ ;
956
+ [o;
957
+ ; [I"(/* Default padding plus a border */;T;
958
+ [;@ ;@ o;
959
+ ; [I"u/* Account for padding we're adding to ensure the alignment and of help text
960
+ * and other content below items */;T;
961
+ [;@ o; ;o;;[o;;[o;
962
+ ;[o;?;[I"
963
+ radio;T;I";T; i�;0;o;;{;@�; i�o;;[I"
964
+ ;To;
965
+ ;[o;?;[I"
966
+ .checkbox;T; i�;
967
+ [o; ;i;[I"min-height;T; o;'
968
+ ;(;>;*o;% ;I"line-height-computed;T;&I"line_height_computed;T; i�;@ ;+o;'
969
+ ;(;>;*o;% ;I"padding-base-vertical;T;&I"padding_base_vertical;T; i�;@ ;+o;, ;-I"1;F; i;.[;/@q; i�;@ ; i�;@ ; i�;@ ; i�;#;$;@ ;
970
+ [;@ o;
971
+ ; [I",/* Make form groups behave like rows */;T;
972
+ [;@ o; ;o;;[o;;[o;
973
+ ;[o;?;[I"form-group;T;I";T; i�;0;o;;{;@�; i�;@�; i�;T;i;[I".form-group;T; i�;
974
+ [o;5 ;6{;I"
975
+ [;@ ;@ o; ;o;;[o;;[o;
976
+ ;[o;?;[I"form-control-static;T;I";T; i�;0;o;;{;@�; i�;@�; i�;T;i;[I".form-control-static;T; i�;
977
+ [o; ;i;[I"padding-top;T; o;'
978
+ ;(;>;*o;% ;I"padding-base-vertical;T;&I"padding_base_vertical;T; i�;@ ;+o;, ;-I"1;F; i;.[;/@q; i�;@ ; i�;@ ; i�;#;$;@ ;
979
+ [;@ o;
980
+ ; [I"K/* Only right align form labels here when the columns stop stacking */;T;
981
+ [;@ o;C ;T;i; I";T;D[
982
+ I"(;To;! ; I"min-width;T;
983
+ [o; ;o;;[o;;[o;
984
+ ;[o;?;[I"control-label;T;I";T; i�;0;o;;{;@ ; i�;@ ; i�;T;i;[I".control-label;T; i�;
985
+ [o; ;i;[I"text-align;T; o;!; I"
986
+ right;T;
987
+ [;@ ;@ o;
988
+ ; [I"�/* Validation states
989
+ *
990
+ * Reposition the icon because it's now within a grid column and columns have
991
+ * `position: relative;` on them. Also accounts for the grid gutter padding. */;T;
992
+ [;@ o; ;o;;[o;;[o;
993
+ ;[o;?;[I"has-feedback;T;I";T; i�;0;o;;{;@ ; i�o;
994
+ ;[o;?;[I"form-control-feedback;T;@ ; i�;0;o;;{;@ ; i�;@ ; i�;T;i;[I").has-feedback .form-control-feedback;T; i�;
995
+ [o; ;i;[I"top;T; o;!; I"0;T;
996
+ [o; ;i;[I"
997
+ right;T; o;'
998
+ ;(:div;*o;% ;I"grid-gutter-width;T;&I"grid_gutter_width;T; i�;@ ;+o;, ;-I"2;F; i;.[;/@q; i�;@ ; i�;@ ; i�;#;$;@ ;
999
+ [;@ ;@ ;@