railsstrap 3.3.4 → 4.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (714) hide show
  1. checksums.yaml +5 -5
  2. data/lib/generators/railsstrap/install/install_generator.rb +18 -25
  3. data/lib/generators/railsstrap/install/templates/application.css +1 -2
  4. data/lib/generators/railsstrap/install/templates/application.js +2 -5
  5. data/lib/generators/railsstrap/install/templates/bootstrap.js +6 -6
  6. data/lib/generators/railsstrap/layout/layout_generator.rb +4 -2
  7. data/lib/generators/railsstrap/layout/templates/layout.html.erb +69 -72
  8. data/lib/generators/railsstrap/layout/templates/layout.html.haml +2 -2
  9. data/lib/generators/railsstrap/layout/templates/layout.html.slim +14 -14
  10. data/lib/generators/railsstrap/partial/partial_generator.rb +4 -2
  11. data/lib/generators/railsstrap/partial/templates/_login.html.erb +1 -1
  12. data/lib/generators/railsstrap/scaffold/scaffold_generator.rb +103 -0
  13. data/lib/generators/railsstrap/scaffold/templates/_form.html.erb +21 -0
  14. data/lib/generators/railsstrap/{themed → scaffold}/templates/_form.html.haml +3 -4
  15. data/lib/generators/railsstrap/scaffold/templates/_form.html.slim +15 -0
  16. data/lib/generators/railsstrap/scaffold/templates/edit.html.erb +3 -0
  17. data/lib/generators/railsstrap/scaffold/templates/edit.html.haml +3 -0
  18. data/lib/generators/railsstrap/scaffold/templates/edit.html.slim +2 -0
  19. data/lib/generators/railsstrap/scaffold/templates/index.html.erb +43 -0
  20. data/lib/generators/railsstrap/scaffold/templates/index.html.haml +25 -0
  21. data/lib/generators/railsstrap/scaffold/templates/index.html.slim +26 -0
  22. data/lib/generators/railsstrap/scaffold/templates/new.html.erb +5 -0
  23. data/lib/generators/railsstrap/scaffold/templates/new.html.haml +4 -0
  24. data/lib/generators/railsstrap/scaffold/templates/new.html.slim +4 -0
  25. data/lib/generators/railsstrap/scaffold/templates/show.html.erb +22 -0
  26. data/lib/generators/railsstrap/scaffold/templates/show.html.haml +15 -0
  27. data/lib/generators/railsstrap/scaffold/templates/show.html.slim +16 -0
  28. data/lib/generators/railsstrap/scaffold/templates/simple_form/_form.html.erb +14 -0
  29. data/lib/generators/railsstrap/scaffold/templates/simple_form/_form.html.haml +11 -0
  30. data/lib/generators/railsstrap/scaffold/templates/simple_form/_form.html.slim +12 -0
  31. data/lib/railsstrap.rb +13 -2
  32. data/lib/railsstrap/classes/alert_box.rb +62 -0
  33. data/lib/railsstrap/classes/aside.rb +67 -0
  34. data/lib/railsstrap/classes/badge.rb +38 -0
  35. data/lib/railsstrap/classes/base.rb +149 -0
  36. data/lib/railsstrap/classes/button.rb +68 -0
  37. data/lib/railsstrap/classes/button_group.rb +66 -0
  38. data/lib/railsstrap/classes/button_to.rb +33 -0
  39. data/lib/railsstrap/classes/card.rb +74 -0
  40. data/lib/railsstrap/classes/card_group.rb +22 -0
  41. data/lib/railsstrap/classes/cdn.rb +93 -0
  42. data/lib/railsstrap/classes/dropdown.rb +56 -0
  43. data/lib/railsstrap/classes/icon.rb +40 -0
  44. data/lib/railsstrap/classes/link_to.rb +26 -0
  45. data/lib/railsstrap/classes/modal.rb +68 -0
  46. data/lib/railsstrap/classes/nav.rb +46 -0
  47. data/lib/railsstrap/classes/navbar.rb +72 -0
  48. data/lib/railsstrap/classes/progress_bar.rb +89 -0
  49. data/lib/railsstrap/classes/stack.rb +19 -0
  50. data/lib/railsstrap/classes/vertical.rb +29 -0
  51. data/lib/railsstrap/core_ext/engine.rb +61 -0
  52. data/lib/railsstrap/core_ext/rails/base_helper.rb +21 -0
  53. data/lib/railsstrap/core_ext/rails/form/base_helper.rb +150 -0
  54. data/lib/railsstrap/core_ext/rails/form/check_box_helper.rb +35 -0
  55. data/lib/railsstrap/core_ext/rails/form/field_helper.rb +15 -0
  56. data/lib/railsstrap/core_ext/rails/form/fields_for_helper.rb +23 -0
  57. data/lib/railsstrap/core_ext/rails/form/fieldset_helper.rb +16 -0
  58. data/lib/railsstrap/core_ext/rails/form/file_field_helper.rb +15 -0
  59. data/lib/railsstrap/core_ext/rails/form/legend_helper.rb +17 -0
  60. data/lib/railsstrap/core_ext/rails/form/radio_button_helper.rb +19 -0
  61. data/lib/railsstrap/core_ext/rails/form/select_helper.rb +16 -0
  62. data/lib/railsstrap/core_ext/rails/form/static_control_helper.rb +43 -0
  63. data/lib/railsstrap/core_ext/rails/form/submit_helper.rb +23 -0
  64. data/lib/railsstrap/core_ext/rails/form_builder.rb +46 -0
  65. data/lib/railsstrap/core_ext/rails/form_for_helper.rb +46 -0
  66. data/lib/railsstrap/helpers/alert_box_helper.rb +41 -0
  67. data/lib/railsstrap/helpers/aside_helper.rb +57 -0
  68. data/lib/railsstrap/helpers/badge_helper.rb +41 -0
  69. data/{app/helpers/railsstrap → lib/railsstrap/helpers}/breadcrumbs.rb +0 -0
  70. data/{app/helpers/railsstrap → lib/railsstrap/helpers}/breadcrumbs_helper.rb +2 -3
  71. data/lib/railsstrap/helpers/button_group_helper.rb +34 -0
  72. data/lib/railsstrap/helpers/button_helper.rb +40 -0
  73. data/lib/railsstrap/helpers/button_to_helper.rb +65 -0
  74. data/lib/railsstrap/helpers/card_group_helper.rb +28 -0
  75. data/lib/railsstrap/helpers/card_helper.rb +56 -0
  76. data/lib/railsstrap/helpers/cdn_helper.rb +93 -0
  77. data/lib/railsstrap/helpers/date_picker_helper.rb +78 -0
  78. data/lib/railsstrap/helpers/dropdown_helper.rb +49 -0
  79. data/{app/helpers/railsstrap/bootstrap_flash_helper.rb → lib/railsstrap/helpers/flash_helper.rb} +12 -12
  80. data/lib/railsstrap/helpers/form_errors.rb +36 -0
  81. data/lib/railsstrap/helpers/glyphicon_helper.rb +21 -0
  82. data/lib/railsstrap/helpers/horizontal_helper.rb +36 -0
  83. data/lib/railsstrap/helpers/icon_helper.rb +26 -0
  84. data/lib/railsstrap/helpers/link_to_helper.rb +61 -0
  85. data/lib/railsstrap/helpers/modal_helper.rb +55 -0
  86. data/lib/railsstrap/helpers/nav_helper.rb +34 -0
  87. data/lib/railsstrap/helpers/navbar_helper.rb +46 -0
  88. data/lib/railsstrap/helpers/progress_bar_helper.rb +55 -0
  89. data/lib/railsstrap/helpers/vertical_helper.rb +34 -0
  90. data/lib/railsstrap/version.rb +3 -0
  91. data/lib/railsstrap/views/railsstrap/_aside.html.erb +14 -0
  92. data/lib/railsstrap/views/railsstrap/_dismiss_button.html.erb +4 -0
  93. data/lib/railsstrap/views/railsstrap/_dropdown.html.erb +9 -0
  94. data/lib/railsstrap/views/railsstrap/_dropdown_split.html.erb +10 -0
  95. data/lib/railsstrap/views/railsstrap/_modal.html.erb +14 -0
  96. data/lib/railsstrap/views/railsstrap/_navbar.html.erb +5 -0
  97. data/spec/padrino/button_to_helper.rb +35 -0
  98. data/spec/padrino/link_to_helper.rb +12 -0
  99. data/spec/padrino_spec.rb +29 -0
  100. data/spec/rails/button_to_helper.rb +31 -0
  101. data/spec/rails/form/check_box_helper_spec.rb +112 -0
  102. data/spec/rails/form/field_helper_spec.rb +138 -0
  103. data/spec/rails/form/fields_for_helper_spec.rb +65 -0
  104. data/spec/rails/form/fieldset_helper_spec.rb +32 -0
  105. data/spec/rails/form/file_field_helper_spec.rb +74 -0
  106. data/spec/rails/form/legend_helper_spec.rb +35 -0
  107. data/spec/rails/form/radio_button_helper_spec.rb +89 -0
  108. data/spec/rails/form/select_helper_spec.rb +88 -0
  109. data/spec/rails/form/static_control_helper_spec.rb +67 -0
  110. data/spec/rails/form/submit_helper_spec.rb +30 -0
  111. data/spec/rails/form_for_helper_spec.rb +46 -0
  112. data/spec/rails/link_to_helper.rb +12 -0
  113. data/spec/rails_helper.rb +24 -0
  114. data/spec/rails_spec.rb +33 -0
  115. data/spec/shared/alert_box_helper.rb +74 -0
  116. data/spec/shared/aside_helper.rb +104 -0
  117. data/spec/shared/badge_helper.rb +62 -0
  118. data/spec/shared/button_group_helper.rb +29 -0
  119. data/spec/shared/button_helper.rb +52 -0
  120. data/spec/shared/button_to_helper.rb +50 -0
  121. data/spec/shared/card_group_helper.rb +33 -0
  122. data/spec/shared/card_helper.rb +84 -0
  123. data/spec/shared/cdn_helper.rb +39 -0
  124. data/spec/shared/dropdown_helper.rb +112 -0
  125. data/spec/shared/glyphicon_helper.rb +21 -0
  126. data/spec/shared/horizontal_helper.rb +37 -0
  127. data/spec/shared/icon_helper.rb +31 -0
  128. data/spec/shared/link_to_helper.rb +84 -0
  129. data/spec/shared/modal_helper.rb +96 -0
  130. data/spec/shared/nav_helper.rb +49 -0
  131. data/spec/shared/navbar_helper.rb +60 -0
  132. data/spec/shared/progress_bar_helper.rb +103 -0
  133. data/spec/shared/vertical_helper.rb +37 -0
  134. data/spec/spec_helper.rb +17 -20
  135. data/spec/support/matchers.rb +47 -0
  136. data/spec/support/padrino.rb +33 -0
  137. data/spec/support/rails.rb +27 -0
  138. data/vendor/assets/javascripts/railsstrap.min.js +1 -0
  139. data/vendor/assets/javascripts/railsstrap.min.js.gz +0 -0
  140. data/vendor/assets/stylesheets/_alert.scss +51 -0
  141. data/vendor/assets/stylesheets/_badge.scss +47 -0
  142. data/vendor/assets/stylesheets/_breadcrumb.scss +38 -0
  143. data/vendor/assets/stylesheets/_button-group.scss +166 -0
  144. data/vendor/assets/stylesheets/_buttons.scss +143 -0
  145. data/vendor/assets/stylesheets/_card.scss +270 -0
  146. data/vendor/assets/stylesheets/_carousel.scss +191 -0
  147. data/vendor/assets/stylesheets/_close.scss +34 -0
  148. data/vendor/assets/stylesheets/_code.scss +56 -0
  149. data/vendor/assets/stylesheets/_custom-forms.scss +297 -0
  150. data/vendor/assets/stylesheets/_dropdown.scss +131 -0
  151. data/vendor/assets/stylesheets/_forms.scss +333 -0
  152. data/vendor/assets/stylesheets/_functions.scss +86 -0
  153. data/vendor/assets/stylesheets/_grid.scss +52 -0
  154. data/vendor/assets/stylesheets/_images.scss +42 -0
  155. data/vendor/assets/stylesheets/_input-group.scss +159 -0
  156. data/vendor/assets/stylesheets/_jumbotron.scss +16 -0
  157. data/vendor/assets/stylesheets/_list-group.scss +115 -0
  158. data/vendor/assets/stylesheets/_media.scss +8 -0
  159. data/vendor/assets/stylesheets/_mixins.scss +43 -0
  160. data/vendor/assets/stylesheets/_modal.scss +168 -0
  161. data/vendor/assets/stylesheets/_nav.scss +118 -0
  162. data/vendor/assets/stylesheets/_navbar.scss +311 -0
  163. data/vendor/assets/stylesheets/_pagination.scss +77 -0
  164. data/vendor/assets/stylesheets/_popover.scss +183 -0
  165. data/vendor/assets/stylesheets/_print.scss +124 -0
  166. data/vendor/assets/stylesheets/_progress.scss +33 -0
  167. data/vendor/assets/stylesheets/_reboot.scss +482 -0
  168. data/vendor/assets/stylesheets/_root.scss +19 -0
  169. data/vendor/assets/stylesheets/_tables.scss +180 -0
  170. data/vendor/assets/stylesheets/_tooltip.scss +115 -0
  171. data/vendor/assets/stylesheets/_transitions.scss +36 -0
  172. data/vendor/assets/stylesheets/_type.scss +125 -0
  173. data/vendor/assets/stylesheets/_utilities.scss +14 -0
  174. data/vendor/assets/stylesheets/_variables.scss +898 -0
  175. data/vendor/assets/stylesheets/alert/{alert.less → alert.scss} +31 -15
  176. data/vendor/assets/stylesheets/animate/bounce/{bounce.less → bounce.scss} +0 -0
  177. data/vendor/assets/stylesheets/animate/bounce/{bounceIn.less → bounceIn.scss} +0 -0
  178. data/vendor/assets/stylesheets/animate/bounce/{bounceInDown.less → bounceInDown.scss} +0 -0
  179. data/vendor/assets/stylesheets/animate/bounce/{bounceInLeft.less → bounceInLeft.scss} +0 -0
  180. data/vendor/assets/stylesheets/animate/bounce/{bounceInRight.less → bounceInRight.scss} +0 -0
  181. data/vendor/assets/stylesheets/animate/bounce/{bounceInUp.less → bounceInUp.scss} +0 -0
  182. data/vendor/assets/stylesheets/animate/bounce/{bounceOut.less → bounceOut.scss} +0 -0
  183. data/vendor/assets/stylesheets/animate/bounce/{bounceOutDown.less → bounceOutDown.scss} +0 -0
  184. data/vendor/assets/stylesheets/animate/bounce/{bounceOutLeft.less → bounceOutLeft.scss} +0 -0
  185. data/vendor/assets/stylesheets/animate/bounce/{bounceOutRight.less → bounceOutRight.scss} +0 -0
  186. data/vendor/assets/stylesheets/animate/bounce/{bounceOutUp.less → bounceOutUp.scss} +0 -0
  187. data/vendor/assets/stylesheets/animate/fade/{fadeIn.less → fadeIn.scss} +0 -0
  188. data/vendor/assets/stylesheets/animate/fade/{fadeInDown.less → fadeInDown.scss} +0 -0
  189. data/vendor/assets/stylesheets/animate/fade/{fadeInDownBig.less → fadeInDownBig.scss} +0 -0
  190. data/vendor/assets/stylesheets/animate/fade/{fadeInLeft.less → fadeInLeft.scss} +0 -0
  191. data/vendor/assets/stylesheets/animate/fade/{fadeInLeftBig.less → fadeInLeftBig.scss} +0 -0
  192. data/vendor/assets/stylesheets/animate/fade/{fadeInRight.less → fadeInRight.scss} +0 -0
  193. data/vendor/assets/stylesheets/animate/fade/{fadeInRightBig.less → fadeInRightBig.scss} +0 -0
  194. data/vendor/assets/stylesheets/animate/fade/{fadeInUp.less → fadeInUp.scss} +0 -0
  195. data/vendor/assets/stylesheets/animate/fade/{fadeInUpBig.less → fadeInUpBig.scss} +0 -0
  196. data/vendor/assets/stylesheets/animate/fade/{fadeOut.less → fadeOut.scss} +0 -0
  197. data/vendor/assets/stylesheets/animate/fade/{fadeOutDown.less → fadeOutDown.scss} +0 -0
  198. data/vendor/assets/stylesheets/animate/fade/{fadeOutDownBig.less → fadeOutDownBig.scss} +0 -0
  199. data/vendor/assets/stylesheets/animate/fade/{fadeOutLeft.less → fadeOutLeft.scss} +0 -0
  200. data/vendor/assets/stylesheets/animate/fade/{fadeOutLeftBig.less → fadeOutLeftBig.scss} +0 -0
  201. data/vendor/assets/stylesheets/animate/fade/{fadeOutRight.less → fadeOutRight.scss} +0 -0
  202. data/vendor/assets/stylesheets/animate/fade/{fadeOutRightBig.less → fadeOutRightBig.scss} +0 -0
  203. data/vendor/assets/stylesheets/animate/fade/{fadeOutUp.less → fadeOutUp.scss} +0 -0
  204. data/vendor/assets/stylesheets/animate/fade/{fadeOutUpBig.less → fadeOutUpBig.scss} +0 -0
  205. data/vendor/assets/stylesheets/animate/{flash.less → flash.scss} +0 -0
  206. data/vendor/assets/stylesheets/animate/flip/{flip.less → flip.scss} +0 -0
  207. data/vendor/assets/stylesheets/animate/flip/{flipInX.less → flipInX.scss} +0 -0
  208. data/vendor/assets/stylesheets/animate/flip/{flipOutX.less → flipOutX.scss} +0 -0
  209. data/vendor/assets/stylesheets/animate/flip/{flipOutY.less → flipOutY.scss} +0 -0
  210. data/vendor/assets/stylesheets/animate/flip/{flipinY.less → flipinY.scss} +0 -0
  211. data/vendor/assets/stylesheets/animate/{hinge.less → hinge.scss} +0 -0
  212. data/vendor/assets/stylesheets/animate/{lightSpeedIn.less → lightSpeedIn.scss} +0 -0
  213. data/vendor/assets/stylesheets/animate/{lightSpeedOut.less → lightSpeedOut.scss} +0 -0
  214. data/vendor/assets/stylesheets/animate/{pulse.less → pulse.scss} +0 -0
  215. data/vendor/assets/stylesheets/animate/roll/{rollIn.less → rollIn.scss} +0 -0
  216. data/vendor/assets/stylesheets/animate/roll/{rollOut.less → rollOut.scss} +0 -0
  217. data/vendor/assets/stylesheets/animate/rotate/{rotateIn.less → rotateIn.scss} +0 -0
  218. data/vendor/assets/stylesheets/animate/rotate/{rotateInDownLeft.less → rotateInDownLeft.scss} +0 -0
  219. data/vendor/assets/stylesheets/animate/rotate/{rotateInDownRight.less → rotateInDownRight.scss} +0 -0
  220. data/vendor/assets/stylesheets/animate/rotate/{rotateInUpLeft.less → rotateInUpLeft.scss} +0 -0
  221. data/vendor/assets/stylesheets/animate/rotate/{rotateInUpRight.less → rotateInUpRight.scss} +0 -0
  222. data/vendor/assets/stylesheets/animate/rotate/{rotateOut.less → rotateOut.scss} +0 -0
  223. data/vendor/assets/stylesheets/animate/rotate/{rotateOutDownLeft.less → rotateOutDownLeft.scss} +0 -0
  224. data/vendor/assets/stylesheets/animate/rotate/{rotateOutDownRight.less → rotateOutDownRight.scss} +0 -0
  225. data/vendor/assets/stylesheets/animate/rotate/{rotateOutUpLeft.less → rotateOutUpLeft.scss} +0 -0
  226. data/vendor/assets/stylesheets/animate/rotate/{rotateOutUpRight.less → rotateOutUpRight.scss} +0 -0
  227. data/vendor/assets/stylesheets/animate/{rubberBand.less → rubberBand.scss} +0 -0
  228. data/vendor/assets/stylesheets/animate/{shake.less → shake.scss} +0 -0
  229. data/vendor/assets/stylesheets/animate/slide/{slideInDown.less → slideInDown.scss} +0 -0
  230. data/vendor/assets/stylesheets/animate/slide/{slideInLeft.less → slideInLeft.scss} +0 -0
  231. data/vendor/assets/stylesheets/animate/slide/{slideInRight.less → slideInRight.scss} +0 -0
  232. data/vendor/assets/stylesheets/animate/slide/{slideInUp.less → slideInUp.scss} +0 -0
  233. data/vendor/assets/stylesheets/animate/slide/{slideOutDown.less → slideOutDown.scss} +0 -0
  234. data/vendor/assets/stylesheets/animate/slide/{slideOutLeft.less → slideOutLeft.scss} +0 -0
  235. data/vendor/assets/stylesheets/animate/slide/{slideOutRight.less → slideOutRight.scss} +0 -0
  236. data/vendor/assets/stylesheets/animate/slide/{slideOutUp.less → slideOutUp.scss} +0 -0
  237. data/vendor/assets/stylesheets/animate/{swing.less → swing.scss} +0 -0
  238. data/vendor/assets/stylesheets/animate/{tada.less → tada.scss} +0 -0
  239. data/vendor/assets/stylesheets/animate/{wobble.less → wobble.scss} +0 -0
  240. data/vendor/assets/stylesheets/animate/zoom/{zoomIn.less → zoomIn.scss} +0 -0
  241. data/vendor/assets/stylesheets/animate/zoom/{zoomInDown.less → zoomInDown.scss} +0 -0
  242. data/vendor/assets/stylesheets/animate/zoom/{zoomInLeft.less → zoomInLeft.scss} +0 -0
  243. data/vendor/assets/stylesheets/animate/zoom/{zoomInRight.less → zoomInRight.scss} +0 -0
  244. data/vendor/assets/stylesheets/animate/zoom/{zoomInUp.less → zoomInUp.scss} +0 -0
  245. data/vendor/assets/stylesheets/animate/zoom/{zoomOut.less → zoomOut.scss} +0 -0
  246. data/vendor/assets/stylesheets/animate/zoom/{zoomOutDown.less → zoomOutDown.scss} +0 -0
  247. data/vendor/assets/stylesheets/animate/zoom/{zoomOutLeft.less → zoomOutLeft.scss} +0 -0
  248. data/vendor/assets/stylesheets/animate/zoom/{zoomOutRight.less → zoomOutRight.scss} +0 -0
  249. data/vendor/assets/stylesheets/animate/zoom/{zoomOutUp.less → zoomOutUp.scss} +0 -0
  250. data/vendor/assets/stylesheets/aside/aside.scss +121 -0
  251. data/vendor/assets/stylesheets/{bootstrap-additions.less → bootstrap-additions.scss} +0 -2
  252. data/vendor/assets/stylesheets/bootstrap-grid.scss +32 -0
  253. data/vendor/assets/stylesheets/bootstrap-reboot.scss +12 -0
  254. data/vendor/assets/stylesheets/bootstrap.scss +42 -0
  255. data/vendor/assets/stylesheets/callout/{callout.less → callout.scss} +0 -0
  256. data/vendor/assets/stylesheets/datepicker/{datepicker.less → datepicker.scss} +1 -2
  257. data/vendor/assets/stylesheets/fontawesome.scss +11 -0
  258. data/vendor/assets/stylesheets/mixins/_alert.scss +13 -0
  259. data/vendor/assets/stylesheets/mixins/_animated.scss +16 -0
  260. data/vendor/assets/stylesheets/mixins/_background-variant.scss +21 -0
  261. data/vendor/assets/stylesheets/mixins/_badge.scss +12 -0
  262. data/vendor/assets/stylesheets/mixins/_border-radius.scss +35 -0
  263. data/vendor/assets/stylesheets/mixins/_box-shadow.scss +5 -0
  264. data/vendor/assets/stylesheets/mixins/_breakpoints.scss +123 -0
  265. data/vendor/assets/stylesheets/mixins/_buttons.scss +109 -0
  266. data/vendor/assets/stylesheets/mixins/_caret.scss +65 -0
  267. data/vendor/assets/stylesheets/mixins/_clearfix.scss +7 -0
  268. data/vendor/assets/stylesheets/mixins/_float.scss +11 -0
  269. data/vendor/assets/stylesheets/mixins/_forms.scss +137 -0
  270. data/vendor/assets/stylesheets/mixins/_gradients.scss +45 -0
  271. data/vendor/assets/stylesheets/mixins/_grid-framework.scss +67 -0
  272. data/vendor/assets/stylesheets/mixins/_grid.scss +52 -0
  273. data/vendor/assets/stylesheets/mixins/_hover.scss +39 -0
  274. data/vendor/assets/stylesheets/mixins/_image.scss +36 -0
  275. data/vendor/assets/stylesheets/mixins/_list-group.scss +21 -0
  276. data/vendor/assets/stylesheets/mixins/_lists.scss +7 -0
  277. data/vendor/assets/stylesheets/mixins/_nav-divider.scss +10 -0
  278. data/vendor/assets/stylesheets/mixins/_navbar-align.scss +10 -0
  279. data/vendor/assets/stylesheets/mixins/_pagination.scss +22 -0
  280. data/vendor/assets/stylesheets/mixins/_reset-text.scss +17 -0
  281. data/vendor/assets/{bower_components/bootstrap/less/mixins/resize.less → stylesheets/mixins/_resize.scss} +2 -2
  282. data/vendor/assets/stylesheets/mixins/_screen-reader.scss +35 -0
  283. data/vendor/assets/stylesheets/mixins/_size.scss +6 -0
  284. data/vendor/assets/stylesheets/mixins/_table-row.scss +30 -0
  285. data/vendor/assets/stylesheets/mixins/_text-emphasis.scss +14 -0
  286. data/vendor/assets/stylesheets/mixins/_text-hide.scss +9 -0
  287. data/vendor/assets/{bower_components/bootstrap/less/mixins/text-overflow.less → stylesheets/mixins/_text-truncate.scss} +2 -2
  288. data/vendor/assets/stylesheets/mixins/_transition.scss +9 -0
  289. data/vendor/assets/stylesheets/mixins/_visibility.scss +7 -0
  290. data/vendor/assets/stylesheets/modal/{modal.less → modal.scss} +0 -0
  291. data/vendor/assets/stylesheets/popover/popover.scss +34 -0
  292. data/vendor/assets/stylesheets/railsstrap.min.css +8923 -0
  293. data/vendor/assets/stylesheets/railsstrap.min.css.gz +0 -0
  294. data/vendor/assets/stylesheets/railsstrap.scss +78 -0
  295. data/vendor/assets/stylesheets/timepicker/{timepicker.less → timepicker.scss} +0 -0
  296. data/vendor/assets/stylesheets/tooltip/tooltip.scss +60 -0
  297. data/vendor/assets/stylesheets/utilities/_align.scss +8 -0
  298. data/vendor/assets/stylesheets/utilities/_background.scss +19 -0
  299. data/vendor/assets/stylesheets/utilities/_borders.scss +59 -0
  300. data/vendor/assets/stylesheets/utilities/_clearfix.scss +3 -0
  301. data/vendor/assets/stylesheets/utilities/_display.scss +38 -0
  302. data/vendor/assets/{bower_components/bootstrap/less/responsive-embed.less → stylesheets/utilities/_embed.scss} +26 -9
  303. data/vendor/assets/stylesheets/utilities/_flex.scss +46 -0
  304. data/vendor/assets/stylesheets/utilities/_float.scss +9 -0
  305. data/vendor/assets/stylesheets/utilities/_position.scss +36 -0
  306. data/vendor/assets/stylesheets/utilities/_screenreaders.scss +11 -0
  307. data/vendor/assets/stylesheets/utilities/_sizing.scss +12 -0
  308. data/vendor/assets/stylesheets/utilities/_spacing.scss +51 -0
  309. data/vendor/assets/stylesheets/utilities/_text.scss +52 -0
  310. data/vendor/assets/stylesheets/utilities/_visibility.scss +11 -0
  311. metadata +425 -546
  312. data/.bowerrc +0 -3
  313. data/README.md +0 -93
  314. data/Rakefile +0 -25
  315. data/app/helpers/railsstrap/aside_helper.rb +0 -59
  316. data/app/helpers/railsstrap/badge_label_helper.rb +0 -18
  317. data/app/helpers/railsstrap/date_picker_helper.rb +0 -92
  318. data/app/helpers/railsstrap/form_errors_helper.rb +0 -28
  319. data/app/helpers/railsstrap/glyph_helper.rb +0 -22
  320. data/app/helpers/railsstrap/icon_helper.rb +0 -22
  321. data/app/helpers/railsstrap/modal_helper.rb +0 -59
  322. data/app/helpers/railsstrap/navbar_helper.rb +0 -210
  323. data/app/views/railsstrap/_breadcrumbs.html.erb +0 -14
  324. data/lib/generators/railsstrap/install/templates/bootstrap_and_overrides.css +0 -9
  325. data/lib/generators/railsstrap/install/templates/bootstrap_and_overrides.less +0 -42
  326. data/lib/generators/railsstrap/themed/templates/_form.html.erb +0 -36
  327. data/lib/generators/railsstrap/themed/templates/_form.html.slim +0 -13
  328. data/lib/generators/railsstrap/themed/templates/edit.html.erb +0 -5
  329. data/lib/generators/railsstrap/themed/templates/edit.html.haml +0 -4
  330. data/lib/generators/railsstrap/themed/templates/edit.html.slim +0 -4
  331. data/lib/generators/railsstrap/themed/templates/index.html.erb +0 -40
  332. data/lib/generators/railsstrap/themed/templates/index.html.haml +0 -25
  333. data/lib/generators/railsstrap/themed/templates/index.html.slim +0 -26
  334. data/lib/generators/railsstrap/themed/templates/new.html.erb +0 -5
  335. data/lib/generators/railsstrap/themed/templates/new.html.haml +0 -4
  336. data/lib/generators/railsstrap/themed/templates/new.html.slim +0 -4
  337. data/lib/generators/railsstrap/themed/templates/show.html.erb +0 -21
  338. data/lib/generators/railsstrap/themed/templates/show.html.haml +0 -15
  339. data/lib/generators/railsstrap/themed/templates/show.html.slim +0 -16
  340. data/lib/generators/railsstrap/themed/templates/simple_form/_form.html.erb +0 -14
  341. data/lib/generators/railsstrap/themed/templates/simple_form/_form.html.haml +0 -11
  342. data/lib/generators/railsstrap/themed/templates/simple_form/_form.html.slim +0 -12
  343. data/lib/generators/railsstrap/themed/themed_generator.rb +0 -148
  344. data/lib/railsstrap/bootstrap.rb +0 -2
  345. data/lib/railsstrap/constants.rb +0 -6
  346. data/lib/railsstrap/engine.rb +0 -46
  347. data/spec/lib/railsstrap/aside_helper_spec.rb +0 -140
  348. data/spec/lib/railsstrap/badge_label_helper_spec.rb +0 -29
  349. data/spec/lib/railsstrap/bootstrap_flash_helper_spec.rb +0 -130
  350. data/spec/lib/railsstrap/breadcrumbs_spec.rb +0 -75
  351. data/spec/lib/railsstrap/datepicker_helper_spec.rb +0 -59
  352. data/spec/lib/railsstrap/form_errors_helper_spec.rb +0 -147
  353. data/spec/lib/railsstrap/glyph_helper_spec.rb +0 -24
  354. data/spec/lib/railsstrap/icon_helper_spec.rb +0 -24
  355. data/spec/lib/railsstrap/modal_helper_spec.rb +0 -140
  356. data/spec/lib/railsstrap/navbar_helper_spec.rb +0 -373
  357. data/spec/lib/railsstrap/uri_state_spec.rb +0 -49
  358. data/vendor/assets/bower_components/bootstrap/Gruntfile.js +0 -511
  359. data/vendor/assets/bower_components/bootstrap/LICENSE +0 -21
  360. data/vendor/assets/bower_components/bootstrap/README.md +0 -134
  361. data/vendor/assets/bower_components/bootstrap/bower.json +0 -39
  362. data/vendor/assets/bower_components/bootstrap/dist/css/bootstrap-theme.css +0 -476
  363. data/vendor/assets/bower_components/bootstrap/dist/css/bootstrap-theme.css.map +0 -1
  364. data/vendor/assets/bower_components/bootstrap/dist/css/bootstrap-theme.min.css +0 -5
  365. data/vendor/assets/bower_components/bootstrap/dist/css/bootstrap.css +0 -6584
  366. data/vendor/assets/bower_components/bootstrap/dist/css/bootstrap.css.map +0 -1
  367. data/vendor/assets/bower_components/bootstrap/dist/css/bootstrap.min.css +0 -5
  368. data/vendor/assets/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
  369. data/vendor/assets/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +0 -288
  370. data/vendor/assets/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
  371. data/vendor/assets/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  372. data/vendor/assets/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
  373. data/vendor/assets/bower_components/bootstrap/dist/js/bootstrap.js +0 -2317
  374. data/vendor/assets/bower_components/bootstrap/dist/js/bootstrap.min.js +0 -7
  375. data/vendor/assets/bower_components/bootstrap/dist/js/npm.js +0 -13
  376. data/vendor/assets/bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  377. data/vendor/assets/bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -288
  378. data/vendor/assets/bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  379. data/vendor/assets/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  380. data/vendor/assets/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  381. data/vendor/assets/bower_components/bootstrap/grunt/bs-commonjs-generator.js +0 -23
  382. data/vendor/assets/bower_components/bootstrap/grunt/bs-glyphicons-data-generator.js +0 -41
  383. data/vendor/assets/bower_components/bootstrap/grunt/bs-lessdoc-parser.js +0 -238
  384. data/vendor/assets/bower_components/bootstrap/grunt/bs-raw-files-generator.js +0 -46
  385. data/vendor/assets/bower_components/bootstrap/grunt/configBridge.json +0 -46
  386. data/vendor/assets/bower_components/bootstrap/grunt/sauce_browsers.yml +0 -82
  387. data/vendor/assets/bower_components/bootstrap/js/affix.js +0 -162
  388. data/vendor/assets/bower_components/bootstrap/js/alert.js +0 -94
  389. data/vendor/assets/bower_components/bootstrap/js/button.js +0 -116
  390. data/vendor/assets/bower_components/bootstrap/js/carousel.js +0 -237
  391. data/vendor/assets/bower_components/bootstrap/js/collapse.js +0 -211
  392. data/vendor/assets/bower_components/bootstrap/js/dropdown.js +0 -161
  393. data/vendor/assets/bower_components/bootstrap/js/modal.js +0 -339
  394. data/vendor/assets/bower_components/bootstrap/js/popover.js +0 -108
  395. data/vendor/assets/bower_components/bootstrap/js/scrollspy.js +0 -172
  396. data/vendor/assets/bower_components/bootstrap/js/tab.js +0 -153
  397. data/vendor/assets/bower_components/bootstrap/js/tooltip.js +0 -476
  398. data/vendor/assets/bower_components/bootstrap/js/transition.js +0 -59
  399. data/vendor/assets/bower_components/bootstrap/less/alerts.less +0 -73
  400. data/vendor/assets/bower_components/bootstrap/less/badges.less +0 -66
  401. data/vendor/assets/bower_components/bootstrap/less/bootstrap.less +0 -50
  402. data/vendor/assets/bower_components/bootstrap/less/breadcrumbs.less +0 -26
  403. data/vendor/assets/bower_components/bootstrap/less/button-groups.less +0 -243
  404. data/vendor/assets/bower_components/bootstrap/less/buttons.less +0 -160
  405. data/vendor/assets/bower_components/bootstrap/less/carousel.less +0 -269
  406. data/vendor/assets/bower_components/bootstrap/less/close.less +0 -34
  407. data/vendor/assets/bower_components/bootstrap/less/code.less +0 -69
  408. data/vendor/assets/bower_components/bootstrap/less/component-animations.less +0 -33
  409. data/vendor/assets/bower_components/bootstrap/less/dropdowns.less +0 -214
  410. data/vendor/assets/bower_components/bootstrap/less/forms.less +0 -574
  411. data/vendor/assets/bower_components/bootstrap/less/glyphicons.less +0 -305
  412. data/vendor/assets/bower_components/bootstrap/less/grid.less +0 -84
  413. data/vendor/assets/bower_components/bootstrap/less/input-groups.less +0 -166
  414. data/vendor/assets/bower_components/bootstrap/less/jumbotron.less +0 -50
  415. data/vendor/assets/bower_components/bootstrap/less/labels.less +0 -64
  416. data/vendor/assets/bower_components/bootstrap/less/list-group.less +0 -124
  417. data/vendor/assets/bower_components/bootstrap/less/media.less +0 -61
  418. data/vendor/assets/bower_components/bootstrap/less/mixins.less +0 -39
  419. data/vendor/assets/bower_components/bootstrap/less/mixins/alerts.less +0 -14
  420. data/vendor/assets/bower_components/bootstrap/less/mixins/background-variant.less +0 -8
  421. data/vendor/assets/bower_components/bootstrap/less/mixins/border-radius.less +0 -18
  422. data/vendor/assets/bower_components/bootstrap/less/mixins/buttons.less +0 -52
  423. data/vendor/assets/bower_components/bootstrap/less/mixins/center-block.less +0 -7
  424. data/vendor/assets/bower_components/bootstrap/less/mixins/clearfix.less +0 -22
  425. data/vendor/assets/bower_components/bootstrap/less/mixins/forms.less +0 -85
  426. data/vendor/assets/bower_components/bootstrap/less/mixins/gradients.less +0 -59
  427. data/vendor/assets/bower_components/bootstrap/less/mixins/grid-framework.less +0 -91
  428. data/vendor/assets/bower_components/bootstrap/less/mixins/grid.less +0 -122
  429. data/vendor/assets/bower_components/bootstrap/less/mixins/hide-text.less +0 -21
  430. data/vendor/assets/bower_components/bootstrap/less/mixins/image.less +0 -33
  431. data/vendor/assets/bower_components/bootstrap/less/mixins/labels.less +0 -12
  432. data/vendor/assets/bower_components/bootstrap/less/mixins/list-group.less +0 -29
  433. data/vendor/assets/bower_components/bootstrap/less/mixins/nav-divider.less +0 -10
  434. data/vendor/assets/bower_components/bootstrap/less/mixins/nav-vertical-align.less +0 -9
  435. data/vendor/assets/bower_components/bootstrap/less/mixins/opacity.less +0 -8
  436. data/vendor/assets/bower_components/bootstrap/less/mixins/pagination.less +0 -23
  437. data/vendor/assets/bower_components/bootstrap/less/mixins/panels.less +0 -24
  438. data/vendor/assets/bower_components/bootstrap/less/mixins/progress-bar.less +0 -10
  439. data/vendor/assets/bower_components/bootstrap/less/mixins/reset-filter.less +0 -8
  440. data/vendor/assets/bower_components/bootstrap/less/mixins/responsive-visibility.less +0 -15
  441. data/vendor/assets/bower_components/bootstrap/less/mixins/size.less +0 -10
  442. data/vendor/assets/bower_components/bootstrap/less/mixins/tab-focus.less +0 -9
  443. data/vendor/assets/bower_components/bootstrap/less/mixins/table-row.less +0 -28
  444. data/vendor/assets/bower_components/bootstrap/less/mixins/text-emphasis.less +0 -8
  445. data/vendor/assets/bower_components/bootstrap/less/mixins/vendor-prefixes.less +0 -227
  446. data/vendor/assets/bower_components/bootstrap/less/modals.less +0 -150
  447. data/vendor/assets/bower_components/bootstrap/less/navbar.less +0 -660
  448. data/vendor/assets/bower_components/bootstrap/less/navs.less +0 -242
  449. data/vendor/assets/bower_components/bootstrap/less/normalize.less +0 -427
  450. data/vendor/assets/bower_components/bootstrap/less/pager.less +0 -54
  451. data/vendor/assets/bower_components/bootstrap/less/pagination.less +0 -88
  452. data/vendor/assets/bower_components/bootstrap/less/panels.less +0 -265
  453. data/vendor/assets/bower_components/bootstrap/less/popovers.less +0 -135
  454. data/vendor/assets/bower_components/bootstrap/less/print.less +0 -107
  455. data/vendor/assets/bower_components/bootstrap/less/progress-bars.less +0 -87
  456. data/vendor/assets/bower_components/bootstrap/less/responsive-utilities.less +0 -194
  457. data/vendor/assets/bower_components/bootstrap/less/scaffolding.less +0 -162
  458. data/vendor/assets/bower_components/bootstrap/less/tables.less +0 -234
  459. data/vendor/assets/bower_components/bootstrap/less/theme.less +0 -273
  460. data/vendor/assets/bower_components/bootstrap/less/thumbnails.less +0 -36
  461. data/vendor/assets/bower_components/bootstrap/less/tooltip.less +0 -102
  462. data/vendor/assets/bower_components/bootstrap/less/type.less +0 -302
  463. data/vendor/assets/bower_components/bootstrap/less/utilities.less +0 -55
  464. data/vendor/assets/bower_components/bootstrap/less/variables.less +0 -861
  465. data/vendor/assets/bower_components/bootstrap/less/wells.less +0 -29
  466. data/vendor/assets/bower_components/bootstrap/package.js +0 -22
  467. data/vendor/assets/bower_components/bootstrap/package.json +0 -93
  468. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +0 -32
  469. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/Gruntfile.js +0 -155
  470. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/LICENSE +0 -21
  471. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/README.md +0 -17
  472. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/bower.json +0 -35
  473. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +0 -238
  474. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +0 -5
  475. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +0 -1
  476. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/component.json +0 -10
  477. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/composer.json +0 -30
  478. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/package.json +0 -35
  479. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +0 -1384
  480. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +0 -5
  481. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less +0 -294
  482. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +0 -30
  483. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +0 -30
  484. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
  485. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +0 -2
  486. data/vendor/assets/bower_components/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +0 -88
  487. data/vendor/assets/bower_components/fontawesome/bower.json +0 -23
  488. data/vendor/assets/bower_components/fontawesome/css/font-awesome.css +0 -1801
  489. data/vendor/assets/bower_components/fontawesome/css/font-awesome.css.map +0 -7
  490. data/vendor/assets/bower_components/fontawesome/css/font-awesome.min.css +0 -4
  491. data/vendor/assets/bower_components/fontawesome/fonts/FontAwesome.otf +0 -0
  492. data/vendor/assets/bower_components/fontawesome/fonts/fontawesome-webfont.eot +0 -0
  493. data/vendor/assets/bower_components/fontawesome/fonts/fontawesome-webfont.svg +0 -565
  494. data/vendor/assets/bower_components/fontawesome/fonts/fontawesome-webfont.ttf +0 -0
  495. data/vendor/assets/bower_components/fontawesome/fonts/fontawesome-webfont.woff +0 -0
  496. data/vendor/assets/bower_components/fontawesome/fonts/fontawesome-webfont.woff2 +0 -0
  497. data/vendor/assets/bower_components/fontawesome/less/animated.less +0 -34
  498. data/vendor/assets/bower_components/fontawesome/less/bordered-pulled.less +0 -16
  499. data/vendor/assets/bower_components/fontawesome/less/core.less +0 -13
  500. data/vendor/assets/bower_components/fontawesome/less/fixed-width.less +0 -6
  501. data/vendor/assets/bower_components/fontawesome/less/font-awesome.less +0 -17
  502. data/vendor/assets/bower_components/fontawesome/less/icons.less +0 -596
  503. data/vendor/assets/bower_components/fontawesome/less/larger.less +0 -13
  504. data/vendor/assets/bower_components/fontawesome/less/list.less +0 -19
  505. data/vendor/assets/bower_components/fontawesome/less/mixins.less +0 -27
  506. data/vendor/assets/bower_components/fontawesome/less/path.less +0 -15
  507. data/vendor/assets/bower_components/fontawesome/less/rotated-flipped.less +0 -20
  508. data/vendor/assets/bower_components/fontawesome/less/stacked.less +0 -20
  509. data/vendor/assets/bower_components/fontawesome/less/variables.less +0 -606
  510. data/vendor/assets/bower_components/fontawesome/scss/_animated.scss +0 -34
  511. data/vendor/assets/bower_components/fontawesome/scss/_bordered-pulled.scss +0 -16
  512. data/vendor/assets/bower_components/fontawesome/scss/_core.scss +0 -13
  513. data/vendor/assets/bower_components/fontawesome/scss/_fixed-width.scss +0 -6
  514. data/vendor/assets/bower_components/fontawesome/scss/_icons.scss +0 -596
  515. data/vendor/assets/bower_components/fontawesome/scss/_larger.scss +0 -13
  516. data/vendor/assets/bower_components/fontawesome/scss/_list.scss +0 -19
  517. data/vendor/assets/bower_components/fontawesome/scss/_mixins.scss +0 -27
  518. data/vendor/assets/bower_components/fontawesome/scss/_path.scss +0 -15
  519. data/vendor/assets/bower_components/fontawesome/scss/_rotated-flipped.scss +0 -20
  520. data/vendor/assets/bower_components/fontawesome/scss/_stacked.scss +0 -20
  521. data/vendor/assets/bower_components/fontawesome/scss/_variables.scss +0 -606
  522. data/vendor/assets/bower_components/fontawesome/scss/font-awesome.scss +0 -17
  523. data/vendor/assets/bower_components/jquery/MIT-LICENSE.txt +0 -21
  524. data/vendor/assets/bower_components/jquery/bower.json +0 -27
  525. data/vendor/assets/bower_components/jquery/dist/jquery.js +0 -9205
  526. data/vendor/assets/bower_components/jquery/dist/jquery.min.js +0 -5
  527. data/vendor/assets/bower_components/jquery/dist/jquery.min.map +0 -1
  528. data/vendor/assets/bower_components/jquery/src/ajax.js +0 -786
  529. data/vendor/assets/bower_components/jquery/src/ajax/jsonp.js +0 -89
  530. data/vendor/assets/bower_components/jquery/src/ajax/load.js +0 -75
  531. data/vendor/assets/bower_components/jquery/src/ajax/parseJSON.js +0 -13
  532. data/vendor/assets/bower_components/jquery/src/ajax/parseXML.js +0 -28
  533. data/vendor/assets/bower_components/jquery/src/ajax/script.js +0 -64
  534. data/vendor/assets/bower_components/jquery/src/ajax/var/nonce.js +0 -5
  535. data/vendor/assets/bower_components/jquery/src/ajax/var/rquery.js +0 -3
  536. data/vendor/assets/bower_components/jquery/src/ajax/xhr.js +0 -136
  537. data/vendor/assets/bower_components/jquery/src/attributes.js +0 -11
  538. data/vendor/assets/bower_components/jquery/src/attributes/attr.js +0 -141
  539. data/vendor/assets/bower_components/jquery/src/attributes/classes.js +0 -158
  540. data/vendor/assets/bower_components/jquery/src/attributes/prop.js +0 -94
  541. data/vendor/assets/bower_components/jquery/src/attributes/support.js +0 -35
  542. data/vendor/assets/bower_components/jquery/src/attributes/val.js +0 -161
  543. data/vendor/assets/bower_components/jquery/src/callbacks.js +0 -205
  544. data/vendor/assets/bower_components/jquery/src/core.js +0 -497
  545. data/vendor/assets/bower_components/jquery/src/core/access.js +0 -60
  546. data/vendor/assets/bower_components/jquery/src/core/init.js +0 -123
  547. data/vendor/assets/bower_components/jquery/src/core/parseHTML.js +0 -39
  548. data/vendor/assets/bower_components/jquery/src/core/ready.js +0 -97
  549. data/vendor/assets/bower_components/jquery/src/core/var/rsingleTag.js +0 -4
  550. data/vendor/assets/bower_components/jquery/src/css.js +0 -450
  551. data/vendor/assets/bower_components/jquery/src/css/addGetHookIf.js +0 -22
  552. data/vendor/assets/bower_components/jquery/src/css/curCSS.js +0 -57
  553. data/vendor/assets/bower_components/jquery/src/css/defaultDisplay.js +0 -70
  554. data/vendor/assets/bower_components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  555. data/vendor/assets/bower_components/jquery/src/css/support.js +0 -96
  556. data/vendor/assets/bower_components/jquery/src/css/swap.js +0 -28
  557. data/vendor/assets/bower_components/jquery/src/css/var/cssExpand.js +0 -3
  558. data/vendor/assets/bower_components/jquery/src/css/var/getStyles.js +0 -12
  559. data/vendor/assets/bower_components/jquery/src/css/var/isHidden.js +0 -13
  560. data/vendor/assets/bower_components/jquery/src/css/var/rmargin.js +0 -3
  561. data/vendor/assets/bower_components/jquery/src/css/var/rnumnonpx.js +0 -5
  562. data/vendor/assets/bower_components/jquery/src/data.js +0 -178
  563. data/vendor/assets/bower_components/jquery/src/data/Data.js +0 -181
  564. data/vendor/assets/bower_components/jquery/src/data/accepts.js +0 -20
  565. data/vendor/assets/bower_components/jquery/src/data/var/data_priv.js +0 -5
  566. data/vendor/assets/bower_components/jquery/src/data/var/data_user.js +0 -5
  567. data/vendor/assets/bower_components/jquery/src/deferred.js +0 -149
  568. data/vendor/assets/bower_components/jquery/src/deprecated.js +0 -13
  569. data/vendor/assets/bower_components/jquery/src/dimensions.js +0 -50
  570. data/vendor/assets/bower_components/jquery/src/effects.js +0 -648
  571. data/vendor/assets/bower_components/jquery/src/effects/Tween.js +0 -114
  572. data/vendor/assets/bower_components/jquery/src/effects/animatedSelector.js +0 -13
  573. data/vendor/assets/bower_components/jquery/src/event.js +0 -868
  574. data/vendor/assets/bower_components/jquery/src/event/ajax.js +0 -13
  575. data/vendor/assets/bower_components/jquery/src/event/alias.js +0 -39
  576. data/vendor/assets/bower_components/jquery/src/event/support.js +0 -9
  577. data/vendor/assets/bower_components/jquery/src/exports/amd.js +0 -24
  578. data/vendor/assets/bower_components/jquery/src/exports/global.js +0 -32
  579. data/vendor/assets/bower_components/jquery/src/intro.js +0 -44
  580. data/vendor/assets/bower_components/jquery/src/jquery.js +0 -37
  581. data/vendor/assets/bower_components/jquery/src/manipulation.js +0 -580
  582. data/vendor/assets/bower_components/jquery/src/manipulation/_evalUrl.js +0 -18
  583. data/vendor/assets/bower_components/jquery/src/manipulation/support.js +0 -32
  584. data/vendor/assets/bower_components/jquery/src/manipulation/var/rcheckableType.js +0 -3
  585. data/vendor/assets/bower_components/jquery/src/offset.js +0 -207
  586. data/vendor/assets/bower_components/jquery/src/outro.js +0 -1
  587. data/vendor/assets/bower_components/jquery/src/queue.js +0 -142
  588. data/vendor/assets/bower_components/jquery/src/queue/delay.js +0 -22
  589. data/vendor/assets/bower_components/jquery/src/selector-native.js +0 -172
  590. data/vendor/assets/bower_components/jquery/src/selector-sizzle.js +0 -14
  591. data/vendor/assets/bower_components/jquery/src/selector.js +0 -1
  592. data/vendor/assets/bower_components/jquery/src/serialize.js +0 -111
  593. data/vendor/assets/bower_components/jquery/src/sizzle/dist/sizzle.js +0 -2067
  594. data/vendor/assets/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
  595. data/vendor/assets/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
  596. data/vendor/assets/bower_components/jquery/src/traversing.js +0 -199
  597. data/vendor/assets/bower_components/jquery/src/traversing/findFilter.js +0 -100
  598. data/vendor/assets/bower_components/jquery/src/traversing/var/rneedsContext.js +0 -6
  599. data/vendor/assets/bower_components/jquery/src/var/arr.js +0 -3
  600. data/vendor/assets/bower_components/jquery/src/var/class2type.js +0 -4
  601. data/vendor/assets/bower_components/jquery/src/var/concat.js +0 -5
  602. data/vendor/assets/bower_components/jquery/src/var/hasOwn.js +0 -5
  603. data/vendor/assets/bower_components/jquery/src/var/indexOf.js +0 -5
  604. data/vendor/assets/bower_components/jquery/src/var/pnum.js +0 -3
  605. data/vendor/assets/bower_components/jquery/src/var/push.js +0 -5
  606. data/vendor/assets/bower_components/jquery/src/var/rnotwhite.js +0 -3
  607. data/vendor/assets/bower_components/jquery/src/var/slice.js +0 -5
  608. data/vendor/assets/bower_components/jquery/src/var/strundefined.js +0 -3
  609. data/vendor/assets/bower_components/jquery/src/var/support.js +0 -4
  610. data/vendor/assets/bower_components/jquery/src/var/toString.js +0 -5
  611. data/vendor/assets/bower_components/jquery/src/wrap.js +0 -79
  612. data/vendor/assets/bower_components/moment/CHANGELOG.md +0 -402
  613. data/vendor/assets/bower_components/moment/LICENSE +0 -22
  614. data/vendor/assets/bower_components/moment/README.md +0 -39
  615. data/vendor/assets/bower_components/moment/benchmarks/clone.js +0 -10
  616. data/vendor/assets/bower_components/moment/bower.json +0 -20
  617. data/vendor/assets/bower_components/moment/locale/af.js +0 -67
  618. data/vendor/assets/bower_components/moment/locale/ar-ma.js +0 -57
  619. data/vendor/assets/bower_components/moment/locale/ar-sa.js +0 -97
  620. data/vendor/assets/bower_components/moment/locale/ar.js +0 -130
  621. data/vendor/assets/bower_components/moment/locale/az.js +0 -103
  622. data/vendor/assets/bower_components/moment/locale/be.js +0 -152
  623. data/vendor/assets/bower_components/moment/locale/bg.js +0 -88
  624. data/vendor/assets/bower_components/moment/locale/bn.js +0 -107
  625. data/vendor/assets/bower_components/moment/locale/bo.js +0 -104
  626. data/vendor/assets/bower_components/moment/locale/br.js +0 -109
  627. data/vendor/assets/bower_components/moment/locale/bs.js +0 -140
  628. data/vendor/assets/bower_components/moment/locale/ca.js +0 -77
  629. data/vendor/assets/bower_components/moment/locale/cs.js +0 -157
  630. data/vendor/assets/bower_components/moment/locale/cv.js +0 -61
  631. data/vendor/assets/bower_components/moment/locale/cy.js +0 -79
  632. data/vendor/assets/bower_components/moment/locale/da.js +0 -58
  633. data/vendor/assets/bower_components/moment/locale/de-at.js +0 -74
  634. data/vendor/assets/bower_components/moment/locale/de.js +0 -73
  635. data/vendor/assets/bower_components/moment/locale/el.js +0 -94
  636. data/vendor/assets/bower_components/moment/locale/en-au.js +0 -64
  637. data/vendor/assets/bower_components/moment/locale/en-ca.js +0 -61
  638. data/vendor/assets/bower_components/moment/locale/en-gb.js +0 -65
  639. data/vendor/assets/bower_components/moment/locale/eo.js +0 -67
  640. data/vendor/assets/bower_components/moment/locale/es.js +0 -77
  641. data/vendor/assets/bower_components/moment/locale/et.js +0 -78
  642. data/vendor/assets/bower_components/moment/locale/eu.js +0 -62
  643. data/vendor/assets/bower_components/moment/locale/fa.js +0 -99
  644. data/vendor/assets/bower_components/moment/locale/fi.js +0 -107
  645. data/vendor/assets/bower_components/moment/locale/fo.js +0 -58
  646. data/vendor/assets/bower_components/moment/locale/fr-ca.js +0 -56
  647. data/vendor/assets/bower_components/moment/locale/fr.js +0 -60
  648. data/vendor/assets/bower_components/moment/locale/gl.js +0 -73
  649. data/vendor/assets/bower_components/moment/locale/he.js +0 -78
  650. data/vendor/assets/bower_components/moment/locale/hi.js +0 -106
  651. data/vendor/assets/bower_components/moment/locale/hr.js +0 -141
  652. data/vendor/assets/bower_components/moment/locale/hu.js +0 -107
  653. data/vendor/assets/bower_components/moment/locale/hy-am.js +0 -114
  654. data/vendor/assets/bower_components/moment/locale/id.js +0 -68
  655. data/vendor/assets/bower_components/moment/locale/is.js +0 -126
  656. data/vendor/assets/bower_components/moment/locale/it.js +0 -68
  657. data/vendor/assets/bower_components/moment/locale/ja.js +0 -59
  658. data/vendor/assets/bower_components/moment/locale/ka.js +0 -109
  659. data/vendor/assets/bower_components/moment/locale/km.js +0 -56
  660. data/vendor/assets/bower_components/moment/locale/ko.js +0 -65
  661. data/vendor/assets/bower_components/moment/locale/lb.js +0 -139
  662. data/vendor/assets/bower_components/moment/locale/lt.js +0 -120
  663. data/vendor/assets/bower_components/moment/locale/lv.js +0 -79
  664. data/vendor/assets/bower_components/moment/locale/mk.js +0 -88
  665. data/vendor/assets/bower_components/moment/locale/ml.js +0 -65
  666. data/vendor/assets/bower_components/moment/locale/mr.js +0 -105
  667. data/vendor/assets/bower_components/moment/locale/ms-my.js +0 -67
  668. data/vendor/assets/bower_components/moment/locale/my.js +0 -89
  669. data/vendor/assets/bower_components/moment/locale/nb.js +0 -59
  670. data/vendor/assets/bower_components/moment/locale/ne.js +0 -106
  671. data/vendor/assets/bower_components/moment/locale/nl.js +0 -69
  672. data/vendor/assets/bower_components/moment/locale/nn.js +0 -58
  673. data/vendor/assets/bower_components/moment/locale/pl.js +0 -100
  674. data/vendor/assets/bower_components/moment/locale/pt-br.js +0 -58
  675. data/vendor/assets/bower_components/moment/locale/pt.js +0 -62
  676. data/vendor/assets/bower_components/moment/locale/ro.js +0 -73
  677. data/vendor/assets/bower_components/moment/locale/ru.js +0 -176
  678. data/vendor/assets/bower_components/moment/locale/sk.js +0 -158
  679. data/vendor/assets/bower_components/moment/locale/sl.js +0 -146
  680. data/vendor/assets/bower_components/moment/locale/sq.js +0 -63
  681. data/vendor/assets/bower_components/moment/locale/sr-cyrl.js +0 -107
  682. data/vendor/assets/bower_components/moment/locale/sr.js +0 -107
  683. data/vendor/assets/bower_components/moment/locale/sv.js +0 -65
  684. data/vendor/assets/bower_components/moment/locale/ta.js +0 -114
  685. data/vendor/assets/bower_components/moment/locale/th.js +0 -59
  686. data/vendor/assets/bower_components/moment/locale/tl-ph.js +0 -60
  687. data/vendor/assets/bower_components/moment/locale/tr.js +0 -94
  688. data/vendor/assets/bower_components/moment/locale/tzm-latn.js +0 -56
  689. data/vendor/assets/bower_components/moment/locale/tzm.js +0 -56
  690. data/vendor/assets/bower_components/moment/locale/uk.js +0 -159
  691. data/vendor/assets/bower_components/moment/locale/uz.js +0 -56
  692. data/vendor/assets/bower_components/moment/locale/vi.js +0 -64
  693. data/vendor/assets/bower_components/moment/locale/zh-cn.js +0 -110
  694. data/vendor/assets/bower_components/moment/locale/zh-tw.js +0 -86
  695. data/vendor/assets/bower_components/moment/min/locales.js +0 -7001
  696. data/vendor/assets/bower_components/moment/min/locales.min.js +0 -4
  697. data/vendor/assets/bower_components/moment/min/moment-with-locales.js +0 -9394
  698. data/vendor/assets/bower_components/moment/min/moment-with-locales.min.js +0 -10
  699. data/vendor/assets/bower_components/moment/min/moment.min.js +0 -7
  700. data/vendor/assets/bower_components/moment/moment.js +0 -2936
  701. data/vendor/assets/bower_components/moment/scripts/npm_prepublish.sh +0 -43
  702. data/vendor/assets/javascripts/datepicker/datepicker.js +0 -3
  703. data/vendor/assets/stylesheets/animate/animate.less +0 -31
  704. data/vendor/assets/stylesheets/aside/aside.less +0 -73
  705. data/vendor/assets/stylesheets/bootstrap.less +0 -2
  706. data/vendor/assets/stylesheets/datepicker/datepicker.js +0 -0
  707. data/vendor/assets/stylesheets/dist/bootstrap-additions.css +0 -518
  708. data/vendor/assets/stylesheets/dist/railsstrap.css +0 -3653
  709. data/vendor/assets/stylesheets/fontawesome-local.less +0 -15
  710. data/vendor/assets/stylesheets/fontawesome.less +0 -2
  711. data/vendor/assets/stylesheets/glyphicons.less +0 -12
  712. data/vendor/assets/stylesheets/popover/popover.less +0 -36
  713. data/vendor/assets/stylesheets/railsstrap.less +0 -78
  714. data/vendor/assets/stylesheets/tooltip/tooltip.less +0 -95
@@ -1,59 +0,0 @@
1
- /* ========================================================================
2
- * Bootstrap: transition.js v3.3.4
3
- * http://getbootstrap.com/javascript/#transitions
4
- * ========================================================================
5
- * Copyright 2011-2015 Twitter, Inc.
6
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
- * ======================================================================== */
8
-
9
-
10
- +function ($) {
11
- 'use strict';
12
-
13
- // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
14
- // ============================================================
15
-
16
- function transitionEnd() {
17
- var el = document.createElement('bootstrap')
18
-
19
- var transEndEventNames = {
20
- WebkitTransition : 'webkitTransitionEnd',
21
- MozTransition : 'transitionend',
22
- OTransition : 'oTransitionEnd otransitionend',
23
- transition : 'transitionend'
24
- }
25
-
26
- for (var name in transEndEventNames) {
27
- if (el.style[name] !== undefined) {
28
- return { end: transEndEventNames[name] }
29
- }
30
- }
31
-
32
- return false // explicit for ie8 ( ._.)
33
- }
34
-
35
- // http://blog.alexmaccaw.com/css-transitions
36
- $.fn.emulateTransitionEnd = function (duration) {
37
- var called = false
38
- var $el = this
39
- $(this).one('bsTransitionEnd', function () { called = true })
40
- var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
41
- setTimeout(callback, duration)
42
- return this
43
- }
44
-
45
- $(function () {
46
- $.support.transition = transitionEnd()
47
-
48
- if (!$.support.transition) return
49
-
50
- $.event.special.bsTransitionEnd = {
51
- bindType: $.support.transition.end,
52
- delegateType: $.support.transition.end,
53
- handle: function (e) {
54
- if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
55
- }
56
- }
57
- })
58
-
59
- }(jQuery);
@@ -1,73 +0,0 @@
1
- //
2
- // Alerts
3
- // --------------------------------------------------
4
-
5
-
6
- // Base styles
7
- // -------------------------
8
-
9
- .alert {
10
- padding: @alert-padding;
11
- margin-bottom: @line-height-computed;
12
- border: 1px solid transparent;
13
- border-radius: @alert-border-radius;
14
-
15
- // Headings for larger alerts
16
- h4 {
17
- margin-top: 0;
18
- // Specified for the h4 to prevent conflicts of changing @headings-color
19
- color: inherit;
20
- }
21
-
22
- // Provide class for links that match alerts
23
- .alert-link {
24
- font-weight: @alert-link-font-weight;
25
- }
26
-
27
- // Improve alignment and spacing of inner content
28
- > p,
29
- > ul {
30
- margin-bottom: 0;
31
- }
32
-
33
- > p + p {
34
- margin-top: 5px;
35
- }
36
- }
37
-
38
- // Dismissible alerts
39
- //
40
- // Expand the right padding and account for the close button's positioning.
41
-
42
- .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
43
- .alert-dismissible {
44
- padding-right: (@alert-padding + 20);
45
-
46
- // Adjust close link position
47
- .close {
48
- position: relative;
49
- top: -2px;
50
- right: -21px;
51
- color: inherit;
52
- }
53
- }
54
-
55
- // Alternate styles
56
- //
57
- // Generate contextual modifier classes for colorizing the alert.
58
-
59
- .alert-success {
60
- .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
61
- }
62
-
63
- .alert-info {
64
- .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
65
- }
66
-
67
- .alert-warning {
68
- .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
69
- }
70
-
71
- .alert-danger {
72
- .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
73
- }
@@ -1,66 +0,0 @@
1
- //
2
- // Badges
3
- // --------------------------------------------------
4
-
5
-
6
- // Base class
7
- .badge {
8
- display: inline-block;
9
- min-width: 10px;
10
- padding: 3px 7px;
11
- font-size: @font-size-small;
12
- font-weight: @badge-font-weight;
13
- color: @badge-color;
14
- line-height: @badge-line-height;
15
- vertical-align: baseline;
16
- white-space: nowrap;
17
- text-align: center;
18
- background-color: @badge-bg;
19
- border-radius: @badge-border-radius;
20
-
21
- // Empty badges collapse automatically (not available in IE8)
22
- &:empty {
23
- display: none;
24
- }
25
-
26
- // Quick fix for badges in buttons
27
- .btn & {
28
- position: relative;
29
- top: -1px;
30
- }
31
-
32
- .btn-xs &,
33
- .btn-group-xs > .btn & {
34
- top: 0;
35
- padding: 1px 5px;
36
- }
37
-
38
- // Hover state, but only for links
39
- a& {
40
- &:hover,
41
- &:focus {
42
- color: @badge-link-hover-color;
43
- text-decoration: none;
44
- cursor: pointer;
45
- }
46
- }
47
-
48
- // Account for badges in navs
49
- .list-group-item.active > &,
50
- .nav-pills > .active > a > & {
51
- color: @badge-active-color;
52
- background-color: @badge-active-bg;
53
- }
54
-
55
- .list-group-item > & {
56
- float: right;
57
- }
58
-
59
- .list-group-item > & + & {
60
- margin-right: 5px;
61
- }
62
-
63
- .nav-pills > li > a > & {
64
- margin-left: 3px;
65
- }
66
- }
@@ -1,50 +0,0 @@
1
- // Core variables and mixins
2
- @import "variables.less";
3
- @import "mixins.less";
4
-
5
- // Reset and dependencies
6
- @import "normalize.less";
7
- @import "print.less";
8
- @import "glyphicons.less";
9
-
10
- // Core CSS
11
- @import "scaffolding.less";
12
- @import "type.less";
13
- @import "code.less";
14
- @import "grid.less";
15
- @import "tables.less";
16
- @import "forms.less";
17
- @import "buttons.less";
18
-
19
- // Components
20
- @import "component-animations.less";
21
- @import "dropdowns.less";
22
- @import "button-groups.less";
23
- @import "input-groups.less";
24
- @import "navs.less";
25
- @import "navbar.less";
26
- @import "breadcrumbs.less";
27
- @import "pagination.less";
28
- @import "pager.less";
29
- @import "labels.less";
30
- @import "badges.less";
31
- @import "jumbotron.less";
32
- @import "thumbnails.less";
33
- @import "alerts.less";
34
- @import "progress-bars.less";
35
- @import "media.less";
36
- @import "list-group.less";
37
- @import "panels.less";
38
- @import "responsive-embed.less";
39
- @import "wells.less";
40
- @import "close.less";
41
-
42
- // Components w/ JavaScript
43
- @import "modals.less";
44
- @import "tooltip.less";
45
- @import "popovers.less";
46
- @import "carousel.less";
47
-
48
- // Utility classes
49
- @import "utilities.less";
50
- @import "responsive-utilities.less";
@@ -1,26 +0,0 @@
1
- //
2
- // Breadcrumbs
3
- // --------------------------------------------------
4
-
5
-
6
- .breadcrumb {
7
- padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;
8
- margin-bottom: @line-height-computed;
9
- list-style: none;
10
- background-color: @breadcrumb-bg;
11
- border-radius: @border-radius-base;
12
-
13
- > li {
14
- display: inline-block;
15
-
16
- + li:before {
17
- content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
18
- padding: 0 5px;
19
- color: @breadcrumb-color;
20
- }
21
- }
22
-
23
- > .active {
24
- color: @breadcrumb-active-color;
25
- }
26
- }
@@ -1,243 +0,0 @@
1
- //
2
- // Button groups
3
- // --------------------------------------------------
4
-
5
- // Make the div behave like a button
6
- .btn-group,
7
- .btn-group-vertical {
8
- position: relative;
9
- display: inline-block;
10
- vertical-align: middle; // match .btn alignment given font-size hack above
11
- > .btn {
12
- position: relative;
13
- float: left;
14
- // Bring the "active" button to the front
15
- &:hover,
16
- &:focus,
17
- &:active,
18
- &.active {
19
- z-index: 2;
20
- }
21
- }
22
- }
23
-
24
- // Prevent double borders when buttons are next to each other
25
- .btn-group {
26
- .btn + .btn,
27
- .btn + .btn-group,
28
- .btn-group + .btn,
29
- .btn-group + .btn-group {
30
- margin-left: -1px;
31
- }
32
- }
33
-
34
- // Optional: Group multiple button groups together for a toolbar
35
- .btn-toolbar {
36
- margin-left: -5px; // Offset the first child's margin
37
- &:extend(.clearfix all);
38
-
39
- .btn-group,
40
- .input-group {
41
- float: left;
42
- }
43
- > .btn,
44
- > .btn-group,
45
- > .input-group {
46
- margin-left: 5px;
47
- }
48
- }
49
-
50
- .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
51
- border-radius: 0;
52
- }
53
-
54
- // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
55
- .btn-group > .btn:first-child {
56
- margin-left: 0;
57
- &:not(:last-child):not(.dropdown-toggle) {
58
- .border-right-radius(0);
59
- }
60
- }
61
- // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
62
- .btn-group > .btn:last-child:not(:first-child),
63
- .btn-group > .dropdown-toggle:not(:first-child) {
64
- .border-left-radius(0);
65
- }
66
-
67
- // Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
68
- .btn-group > .btn-group {
69
- float: left;
70
- }
71
- .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
72
- border-radius: 0;
73
- }
74
- .btn-group > .btn-group:first-child:not(:last-child) {
75
- > .btn:last-child,
76
- > .dropdown-toggle {
77
- .border-right-radius(0);
78
- }
79
- }
80
- .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
81
- .border-left-radius(0);
82
- }
83
-
84
- // On active and open, don't show outline
85
- .btn-group .dropdown-toggle:active,
86
- .btn-group.open .dropdown-toggle {
87
- outline: 0;
88
- }
89
-
90
-
91
- // Sizing
92
- //
93
- // Remix the default button sizing classes into new ones for easier manipulation.
94
-
95
- .btn-group-xs > .btn { &:extend(.btn-xs); }
96
- .btn-group-sm > .btn { &:extend(.btn-sm); }
97
- .btn-group-lg > .btn { &:extend(.btn-lg); }
98
-
99
-
100
- // Split button dropdowns
101
- // ----------------------
102
-
103
- // Give the line between buttons some depth
104
- .btn-group > .btn + .dropdown-toggle {
105
- padding-left: 8px;
106
- padding-right: 8px;
107
- }
108
- .btn-group > .btn-lg + .dropdown-toggle {
109
- padding-left: 12px;
110
- padding-right: 12px;
111
- }
112
-
113
- // The clickable button for toggling the menu
114
- // Remove the gradient and set the same inset shadow as the :active state
115
- .btn-group.open .dropdown-toggle {
116
- .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
117
-
118
- // Show no shadow for `.btn-link` since it has no other button styles.
119
- &.btn-link {
120
- .box-shadow(none);
121
- }
122
- }
123
-
124
-
125
- // Reposition the caret
126
- .btn .caret {
127
- margin-left: 0;
128
- }
129
- // Carets in other button sizes
130
- .btn-lg .caret {
131
- border-width: @caret-width-large @caret-width-large 0;
132
- border-bottom-width: 0;
133
- }
134
- // Upside down carets for .dropup
135
- .dropup .btn-lg .caret {
136
- border-width: 0 @caret-width-large @caret-width-large;
137
- }
138
-
139
-
140
- // Vertical button groups
141
- // ----------------------
142
-
143
- .btn-group-vertical {
144
- > .btn,
145
- > .btn-group,
146
- > .btn-group > .btn {
147
- display: block;
148
- float: none;
149
- width: 100%;
150
- max-width: 100%;
151
- }
152
-
153
- // Clear floats so dropdown menus can be properly placed
154
- > .btn-group {
155
- &:extend(.clearfix all);
156
- > .btn {
157
- float: none;
158
- }
159
- }
160
-
161
- > .btn + .btn,
162
- > .btn + .btn-group,
163
- > .btn-group + .btn,
164
- > .btn-group + .btn-group {
165
- margin-top: -1px;
166
- margin-left: 0;
167
- }
168
- }
169
-
170
- .btn-group-vertical > .btn {
171
- &:not(:first-child):not(:last-child) {
172
- border-radius: 0;
173
- }
174
- &:first-child:not(:last-child) {
175
- border-top-right-radius: @border-radius-base;
176
- .border-bottom-radius(0);
177
- }
178
- &:last-child:not(:first-child) {
179
- border-bottom-left-radius: @border-radius-base;
180
- .border-top-radius(0);
181
- }
182
- }
183
- .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
184
- border-radius: 0;
185
- }
186
- .btn-group-vertical > .btn-group:first-child:not(:last-child) {
187
- > .btn:last-child,
188
- > .dropdown-toggle {
189
- .border-bottom-radius(0);
190
- }
191
- }
192
- .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
193
- .border-top-radius(0);
194
- }
195
-
196
-
197
- // Justified button groups
198
- // ----------------------
199
-
200
- .btn-group-justified {
201
- display: table;
202
- width: 100%;
203
- table-layout: fixed;
204
- border-collapse: separate;
205
- > .btn,
206
- > .btn-group {
207
- float: none;
208
- display: table-cell;
209
- width: 1%;
210
- }
211
- > .btn-group .btn {
212
- width: 100%;
213
- }
214
-
215
- > .btn-group .dropdown-menu {
216
- left: auto;
217
- }
218
- }
219
-
220
-
221
- // Checkbox and radio options
222
- //
223
- // In order to support the browser's form validation feedback, powered by the
224
- // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
225
- // `display: none;` or `visibility: hidden;` as that also hides the popover.
226
- // Simply visually hiding the inputs via `opacity` would leave them clickable in
227
- // certain cases which is prevented by using `clip` and `pointer-events`.
228
- // This way, we ensure a DOM element is visible to position the popover from.
229
- //
230
- // See https://github.com/twbs/bootstrap/pull/12794 and
231
- // https://github.com/twbs/bootstrap/pull/14559 for more information.
232
-
233
- [data-toggle="buttons"] {
234
- > .btn,
235
- > .btn-group > .btn {
236
- input[type="radio"],
237
- input[type="checkbox"] {
238
- position: absolute;
239
- clip: rect(0,0,0,0);
240
- pointer-events: none;
241
- }
242
- }
243
- }