trusty-festivity-extension 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +15 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +33 -0
  4. data/README.md +2 -0
  5. data/Rakefile +110 -0
  6. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  7. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
  8. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  9. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  10. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  11. data/app/assets/images/pct-black.png +0 -0
  12. data/app/assets/images/skins/pghkids/footer.png +0 -0
  13. data/app/assets/images/skins/pghkids/footer_mobile.png +0 -0
  14. data/app/assets/images/skins/pghkids/frog.png +0 -0
  15. data/app/assets/images/skins/pghkids/frog_mobile.png +0 -0
  16. data/app/assets/images/skins/pghkids/header.png +0 -0
  17. data/app/assets/images/skins/pghkids/header_mobile.png +0 -0
  18. data/app/assets/images/skins/pghkids/seafoam.jpg +0 -0
  19. data/app/assets/javascripts/admin/festivity_admin.js +22 -0
  20. data/app/assets/javascripts/admin/pages/ajax_image_uploader.js +29 -0
  21. data/app/assets/javascripts/admin/pages/page_bindings.js +94 -0
  22. data/app/assets/javascripts/admin/pages/performances.js +59 -0
  23. data/app/assets/javascripts/admin/sites/categories.js +74 -0
  24. data/app/assets/javascripts/admin/sites/category_types.js +63 -0
  25. data/app/assets/javascripts/admin/sites/site_bindings.js +4 -0
  26. data/app/assets/javascripts/ajaxupload.js +1 -0
  27. data/app/assets/javascripts/bootstrap-sprockets.js +12 -0
  28. data/app/assets/javascripts/bootstrap.js +2306 -0
  29. data/app/assets/javascripts/bootstrap.min.js +7 -0
  30. data/app/assets/javascripts/bootstrap/affix.js +162 -0
  31. data/app/assets/javascripts/bootstrap/alert.js +94 -0
  32. data/app/assets/javascripts/bootstrap/button.js +116 -0
  33. data/app/assets/javascripts/bootstrap/carousel.js +237 -0
  34. data/app/assets/javascripts/bootstrap/collapse.js +211 -0
  35. data/app/assets/javascripts/bootstrap/dropdown.js +161 -0
  36. data/app/assets/javascripts/bootstrap/modal.js +324 -0
  37. data/app/assets/javascripts/bootstrap/popover.js +113 -0
  38. data/app/assets/javascripts/bootstrap/scrollspy.js +175 -0
  39. data/app/assets/javascripts/bootstrap/tab.js +153 -0
  40. data/app/assets/javascripts/bootstrap/tooltip.js +472 -0
  41. data/app/assets/javascripts/bootstrap/transition.js +59 -0
  42. data/app/assets/javascripts/events/event_list_bindings.js +3 -0
  43. data/app/assets/javascripts/events/filters.js +100 -0
  44. data/app/assets/javascripts/festivity.js +1 -0
  45. data/app/assets/javascripts/festivity_app.js +13 -0
  46. data/app/assets/javascripts/jasny-bootstrap.js +1024 -0
  47. data/app/assets/javascripts/jquery-migrate.js +521 -0
  48. data/app/assets/javascripts/jquery.collapse.js +176 -0
  49. data/app/assets/javascripts/jquery.collapse_cookie_storage.js +37 -0
  50. data/app/assets/javascripts/jquery.collapse_storage.js +56 -0
  51. data/app/assets/javascripts/jquery.inputmask.bundle.min.js +10 -0
  52. data/app/assets/javascripts/lodash.min.js +88 -0
  53. data/app/assets/javascripts/readmore.min.js +11 -0
  54. data/app/assets/javascripts/script.js +22 -0
  55. data/app/assets/javascripts/underscore.js +1545 -0
  56. data/app/assets/stylesheets/_bootstrap-compass.scss +9 -0
  57. data/app/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  58. data/app/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  59. data/app/assets/stylesheets/_bootstrap.scss +50 -0
  60. data/app/assets/stylesheets/_defaults.scss +6 -0
  61. data/app/assets/stylesheets/_event_filter_bar.scss +78 -0
  62. data/app/assets/stylesheets/_faq.scss +48 -0
  63. data/app/assets/stylesheets/_filter-bar-mobile.scss +32 -0
  64. data/app/assets/stylesheets/_footer.scss +18 -0
  65. data/app/assets/stylesheets/_global.scss +30 -0
  66. data/app/assets/stylesheets/_header.scss +95 -0
  67. data/app/assets/stylesheets/_landing_page.scss +62 -0
  68. data/app/assets/stylesheets/_locations.scss +17 -0
  69. data/app/assets/stylesheets/_media-queries.scss +9 -0
  70. data/app/assets/stylesheets/_mixins.scss +17 -0
  71. data/app/assets/stylesheets/_nav.scss +128 -0
  72. data/app/assets/stylesheets/_normalize.scss +375 -0
  73. data/app/assets/stylesheets/_overrides.scss +11 -0
  74. data/app/assets/stylesheets/_page-template.scss +124 -0
  75. data/app/assets/stylesheets/_related_events.scss +20 -0
  76. data/app/assets/stylesheets/_search-results.scss +20 -0
  77. data/app/assets/stylesheets/_utils.scss +8 -0
  78. data/app/assets/stylesheets/admin/festivity_admin.scss +28 -0
  79. data/app/assets/stylesheets/admin/modules/_category_styles.scss +23 -0
  80. data/app/assets/stylesheets/admin/modules/_form_styles.scss +40 -0
  81. data/app/assets/stylesheets/admin/modules/_list_styles.scss +30 -0
  82. data/app/assets/stylesheets/admin/modules/_variables.scss +3 -0
  83. data/app/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  84. data/app/assets/stylesheets/bootstrap/_badges.scss +67 -0
  85. data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
  86. data/app/assets/stylesheets/bootstrap/_button-groups.scss +243 -0
  87. data/app/assets/stylesheets/bootstrap/_buttons.scss +160 -0
  88. data/app/assets/stylesheets/bootstrap/_carousel.scss +269 -0
  89. data/app/assets/stylesheets/bootstrap/_close.scss +36 -0
  90. data/app/assets/stylesheets/bootstrap/_code.scss +69 -0
  91. data/app/assets/stylesheets/bootstrap/_component-animations.scss +38 -0
  92. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +214 -0
  93. data/app/assets/stylesheets/bootstrap/_forms.scss +570 -0
  94. data/app/assets/stylesheets/bootstrap/_glyphicons.scss +301 -0
  95. data/app/assets/stylesheets/bootstrap/_grid.scss +84 -0
  96. data/app/assets/stylesheets/bootstrap/_input-groups.scss +166 -0
  97. data/app/assets/stylesheets/bootstrap/_jumbotron.scss +50 -0
  98. data/app/assets/stylesheets/bootstrap/_labels.scss +66 -0
  99. data/app/assets/stylesheets/bootstrap/_list-group.scss +124 -0
  100. data/app/assets/stylesheets/bootstrap/_media.scss +61 -0
  101. data/app/assets/stylesheets/bootstrap/_mixins.scss +39 -0
  102. data/app/assets/stylesheets/bootstrap/_modals.scss +148 -0
  103. data/app/assets/stylesheets/bootstrap/_navbar.scss +663 -0
  104. data/app/assets/stylesheets/bootstrap/_navs.scss +244 -0
  105. data/app/assets/stylesheets/bootstrap/_normalize.scss +427 -0
  106. data/app/assets/stylesheets/bootstrap/_pager.scss +54 -0
  107. data/app/assets/stylesheets/bootstrap/_pagination.scss +88 -0
  108. data/app/assets/stylesheets/bootstrap/_panels.scss +265 -0
  109. data/app/assets/stylesheets/bootstrap/_popovers.scss +135 -0
  110. data/app/assets/stylesheets/bootstrap/_print.scss +107 -0
  111. data/app/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
  112. data/app/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  113. data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +177 -0
  114. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +150 -0
  115. data/app/assets/stylesheets/bootstrap/_tables.scss +234 -0
  116. data/app/assets/stylesheets/bootstrap/_theme.scss +273 -0
  117. data/app/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
  118. data/app/assets/stylesheets/bootstrap/_tooltip.scss +103 -0
  119. data/app/assets/stylesheets/bootstrap/_type.scss +298 -0
  120. data/app/assets/stylesheets/bootstrap/_utilities.scss +56 -0
  121. data/app/assets/stylesheets/bootstrap/_variables.scss +862 -0
  122. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  123. data/app/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  124. data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
  125. data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  126. data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
  127. data/app/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  128. data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  129. data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  130. data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  131. data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  132. data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  133. data/app/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  134. data/app/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
  135. data/app/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  136. data/app/assets/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
  137. data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  138. data/app/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  139. data/app/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  140. data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
  141. data/app/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  142. data/app/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  143. data/app/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  144. data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  145. data/app/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  146. data/app/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  147. data/app/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  148. data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  149. data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
  150. data/app/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  151. data/app/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  152. data/app/assets/stylesheets/events/_event-list-item.scss +85 -0
  153. data/app/assets/stylesheets/events/_event_template.scss +66 -0
  154. data/app/assets/stylesheets/events/_filter-bar.scss +5 -0
  155. data/app/assets/stylesheets/festivity.scss +35 -0
  156. data/app/assets/stylesheets/skins/pghkids/_events.scss +17 -0
  157. data/app/assets/stylesheets/skins/pghkids/_footer.scss +22 -0
  158. data/app/assets/stylesheets/skins/pghkids/_global.scss +42 -0
  159. data/app/assets/stylesheets/skins/pghkids/_header.scss +27 -0
  160. data/app/assets/stylesheets/skins/pghkids/_home.scss +113 -0
  161. data/app/assets/stylesheets/skins/pghkids/skin.scss +8 -0
  162. data/app/assets/stylesheets/vars/_vars_color.scss +6 -0
  163. data/app/assets/stylesheets/vars/_vars_media-queries.scss +5 -0
  164. data/app/assets/stylesheets/vars/_vars_type.scss +1 -0
  165. data/app/controllers/admin/festivity_categories_controller.rb +31 -0
  166. data/app/controllers/admin/festivity_category_types_controller.rb +31 -0
  167. data/app/controllers/admin/festivity_performances_controller.rb +21 -0
  168. data/app/controllers/festivity_events_controller.rb +71 -0
  169. data/app/controllers/festivity_location_areas_controller.rb +17 -0
  170. data/app/controllers/festivity_locations_controller.rb +19 -0
  171. data/app/controllers/search_controller.rb +17 -0
  172. data/app/helpers/admin/festivity_performances_helper.rb +3 -0
  173. data/app/helpers/admin/snippets_helper.rb +3 -0
  174. data/app/helpers/festivity_events_helper.rb +12 -0
  175. data/app/helpers/festivity_locations_helper.rb +4 -0
  176. data/app/models/festivity_base_page.rb +23 -0
  177. data/app/models/festivity_category.rb +17 -0
  178. data/app/models/festivity_category_type.rb +14 -0
  179. data/app/models/festivity_event_list.rb +90 -0
  180. data/app/models/festivity_event_list/festivity_event.rb +40 -0
  181. data/app/models/festivity_event_list/festivity_event_performance.rb +10 -0
  182. data/app/models/festivity_event_list/festivity_location.rb +15 -0
  183. data/app/models/festivity_event_page.rb +55 -0
  184. data/app/models/festivity_location_area_page.rb +5 -0
  185. data/app/models/festivity_location_page.rb +3 -0
  186. data/app/models/festivity_market_page.rb +3 -0
  187. data/app/models/festivity_page_category.rb +4 -0
  188. data/app/models/festivity_performance.rb +29 -0
  189. data/app/views/admin/pages/_festivity_base_fields.html.haml +75 -0
  190. data/app/views/admin/pages/_festivity_featured_image_fields.html.haml +3 -0
  191. data/app/views/admin/pages/_festivity_includes.html.haml +2 -0
  192. data/app/views/admin/pages/_festivity_location_fields.html.haml +26 -0
  193. data/app/views/admin/pages/partials/_categories.html.haml +18 -0
  194. data/app/views/admin/pages/partials/_category.html.haml +4 -0
  195. data/app/views/admin/pages/partials/_featured_image.html.haml +18 -0
  196. data/app/views/admin/pages/partials/_performance.html.haml +13 -0
  197. data/app/views/admin/pages/partials/_performances.html.haml +11 -0
  198. data/app/views/admin/pages/partials/_performances_table.html.haml +15 -0
  199. data/app/views/admin/sites/_festivity_site_fields.html.haml +26 -0
  200. data/app/views/admin/sites/partials/_category.html.haml +7 -0
  201. data/app/views/admin/sites/partials/_category_popup.html.haml +19 -0
  202. data/app/views/admin/sites/partials/_category_popups.haml +27 -0
  203. data/app/views/admin/sites/partials/_category_section.html.haml +7 -0
  204. data/app/views/admin/sites/partials/_category_types.html.haml +23 -0
  205. data/app/views/admin/sites/partials/_filters.html.haml +25 -0
  206. data/app/views/admin/sites/partials/_new_category.html.haml +3 -0
  207. data/app/views/admin/sites/partials/_new_category_type.html.haml +3 -0
  208. data/app/views/festivity_events/_event_filters.html.haml +39 -0
  209. data/app/views/festivity_events/_event_list.html.haml +62 -0
  210. data/app/views/festivity_events/_filter_bar_mobile.html.haml +22 -0
  211. data/app/views/festivity_events/index.html.haml +34 -0
  212. data/app/views/festivity_events/show.html.haml +152 -0
  213. data/app/views/festivity_location_areas/show.html.haml +29 -0
  214. data/app/views/festivity_locations/show.html.haml +66 -0
  215. data/app/views/header/_meta_tags.html.haml +8 -0
  216. data/app/views/navigation/_subnav_one_column.html.haml +15 -0
  217. data/app/views/navigation/_subnav_three_column.html.haml +7 -0
  218. data/app/views/navigation/_three_column_item.html.haml +11 -0
  219. data/app/views/search/_page.html.haml +1 -0
  220. data/app/views/search/_pagination_links.html.haml +7 -0
  221. data/app/views/search/_result_item.html.haml +6 -0
  222. data/app/views/search/show.html.haml +19 -0
  223. data/config/initializers/pluralizations.rb +0 -0
  224. data/config/initializers/radiant_config.rb +1 -0
  225. data/config/locales/en.yml +16 -0
  226. data/config/routes.rb +14 -0
  227. data/config/trustygems.yml +2 -0
  228. data/db/content/layouts/base.html +174 -0
  229. data/db/content/layouts/normal.html +5 -0
  230. data/db/fixtures/home_pages.yml +40 -0
  231. data/db/fixtures/layouts.yml +2 -0
  232. data/db/fixtures/pages.yml +23 -0
  233. data/db/fixtures/sites.yml +57 -0
  234. data/db/fixtures/users.yml +8 -0
  235. data/db/migrate/200150325136087799_add_event_performances_view.rb +27 -0
  236. data/db/migrate/200150425136087799_update_event_performances_view_with_site.rb +27 -0
  237. data/db/migrate/20150123175758_add_site_fields.rb +15 -0
  238. data/db/migrate/20150127090858995_add_base_event_fields.rb +24 -0
  239. data/db/migrate/20150127091005232_add_market_and_event_fields.rb +29 -0
  240. data/db/migrate/20150204113325731_add_category_types_table.rb +15 -0
  241. data/db/migrate/20150204113427832_add_categories_table.rb +15 -0
  242. data/db/migrate/20150204113510326_add_page_categories_table.rb +12 -0
  243. data/db/migrate/20150226131727777_add_location_page_fields.rb +19 -0
  244. data/db/migrate/20150302135485569_add_performances_table.rb +19 -0
  245. data/db/migrate/20150324135487799_add_indexes.rb +21 -0
  246. data/festivity_extension.rb +25 -0
  247. data/lib/festivity/admin/assets_helper.rb +17 -0
  248. data/lib/festivity/engine.rb +9 -0
  249. data/lib/festivity/extensions/page_extensions.rb +61 -0
  250. data/lib/festivity/extensions/pages_helper_extensions.rb +11 -0
  251. data/lib/festivity/extensions/paperclipped_extensions.rb +22 -0
  252. data/lib/festivity/extensions/site_extensions.rb +40 -0
  253. data/lib/festivity/mixins/not_found.rb +10 -0
  254. data/lib/tags/header_tags.rb +41 -0
  255. data/lib/tags/navigation_tags.rb +55 -0
  256. data/lib/tasks/active_record_utils.rb +35 -0
  257. data/lib/tasks/festivity_extension_tasks.rake +7 -0
  258. data/lib/tasks/setup.rake +101 -0
  259. data/lib/trusty-festivity-extension.rb +8 -0
  260. data/trusty-festivity-extension.gemspec +37 -0
  261. metadata +442 -0
@@ -0,0 +1,301 @@
1
+ //
2
+ // Glyphicons for Bootstrap
3
+ //
4
+ // Since icons are fonts, they can be placed anywhere text is placed and are
5
+ // thus automatically sized to match the surrounding child. To use, create an
6
+ // inline element with the appropriate classes, like so:
7
+ //
8
+ // <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
9
+
10
+ // Import the fonts
11
+ @font-face {
12
+ font-family: 'Glyphicons Halflings';
13
+ src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot'));
14
+ src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),
15
+ url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff2'), '#{$icon-font-path}#{$icon-font-name}.woff2')) format('woff2'),
16
+ url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),
17
+ url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),
18
+ url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}'), '#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) format('svg');
19
+ }
20
+
21
+ // Catchall baseclass
22
+ .glyphicon {
23
+ position: relative;
24
+ top: 1px;
25
+ display: inline-block;
26
+ font-family: 'Glyphicons Halflings';
27
+ font-style: normal;
28
+ font-weight: normal;
29
+ line-height: 1;
30
+ -webkit-font-smoothing: antialiased;
31
+ -moz-osx-font-smoothing: grayscale;
32
+ }
33
+
34
+ // Individual icons
35
+ .glyphicon-asterisk { &:before { content: "\2a"; } }
36
+ .glyphicon-plus { &:before { content: "\2b"; } }
37
+ .glyphicon-euro,
38
+ .glyphicon-eur { &:before { content: "\20ac"; } }
39
+ .glyphicon-minus { &:before { content: "\2212"; } }
40
+ .glyphicon-cloud { &:before { content: "\2601"; } }
41
+ .glyphicon-envelope { &:before { content: "\2709"; } }
42
+ .glyphicon-pencil { &:before { content: "\270f"; } }
43
+ .glyphicon-glass { &:before { content: "\e001"; } }
44
+ .glyphicon-music { &:before { content: "\e002"; } }
45
+ .glyphicon-search { &:before { content: "\e003"; } }
46
+ .glyphicon-heart { &:before { content: "\e005"; } }
47
+ .glyphicon-star { &:before { content: "\e006"; } }
48
+ .glyphicon-star-empty { &:before { content: "\e007"; } }
49
+ .glyphicon-user { &:before { content: "\e008"; } }
50
+ .glyphicon-film { &:before { content: "\e009"; } }
51
+ .glyphicon-th-large { &:before { content: "\e010"; } }
52
+ .glyphicon-th { &:before { content: "\e011"; } }
53
+ .glyphicon-th-list { &:before { content: "\e012"; } }
54
+ .glyphicon-ok { &:before { content: "\e013"; } }
55
+ .glyphicon-remove { &:before { content: "\e014"; } }
56
+ .glyphicon-zoom-in { &:before { content: "\e015"; } }
57
+ .glyphicon-zoom-out { &:before { content: "\e016"; } }
58
+ .glyphicon-off { &:before { content: "\e017"; } }
59
+ .glyphicon-signal { &:before { content: "\e018"; } }
60
+ .glyphicon-cog { &:before { content: "\e019"; } }
61
+ .glyphicon-trash { &:before { content: "\e020"; } }
62
+ .glyphicon-home { &:before { content: "\e021"; } }
63
+ .glyphicon-file { &:before { content: "\e022"; } }
64
+ .glyphicon-time { &:before { content: "\e023"; } }
65
+ .glyphicon-road { &:before { content: "\e024"; } }
66
+ .glyphicon-download-alt { &:before { content: "\e025"; } }
67
+ .glyphicon-download { &:before { content: "\e026"; } }
68
+ .glyphicon-upload { &:before { content: "\e027"; } }
69
+ .glyphicon-inbox { &:before { content: "\e028"; } }
70
+ .glyphicon-play-circle { &:before { content: "\e029"; } }
71
+ .glyphicon-repeat { &:before { content: "\e030"; } }
72
+ .glyphicon-refresh { &:before { content: "\e031"; } }
73
+ .glyphicon-list-alt { &:before { content: "\e032"; } }
74
+ .glyphicon-lock { &:before { content: "\e033"; } }
75
+ .glyphicon-flag { &:before { content: "\e034"; } }
76
+ .glyphicon-headphones { &:before { content: "\e035"; } }
77
+ .glyphicon-volume-off { &:before { content: "\e036"; } }
78
+ .glyphicon-volume-down { &:before { content: "\e037"; } }
79
+ .glyphicon-volume-up { &:before { content: "\e038"; } }
80
+ .glyphicon-qrcode { &:before { content: "\e039"; } }
81
+ .glyphicon-barcode { &:before { content: "\e040"; } }
82
+ .glyphicon-tag { &:before { content: "\e041"; } }
83
+ .glyphicon-tags { &:before { content: "\e042"; } }
84
+ .glyphicon-book { &:before { content: "\e043"; } }
85
+ .glyphicon-bookmark { &:before { content: "\e044"; } }
86
+ .glyphicon-print { &:before { content: "\e045"; } }
87
+ .glyphicon-camera { &:before { content: "\e046"; } }
88
+ .glyphicon-font { &:before { content: "\e047"; } }
89
+ .glyphicon-bold { &:before { content: "\e048"; } }
90
+ .glyphicon-italic { &:before { content: "\e049"; } }
91
+ .glyphicon-text-height { &:before { content: "\e050"; } }
92
+ .glyphicon-text-width { &:before { content: "\e051"; } }
93
+ .glyphicon-align-left { &:before { content: "\e052"; } }
94
+ .glyphicon-align-center { &:before { content: "\e053"; } }
95
+ .glyphicon-align-right { &:before { content: "\e054"; } }
96
+ .glyphicon-align-justify { &:before { content: "\e055"; } }
97
+ .glyphicon-list { &:before { content: "\e056"; } }
98
+ .glyphicon-indent-left { &:before { content: "\e057"; } }
99
+ .glyphicon-indent-right { &:before { content: "\e058"; } }
100
+ .glyphicon-facetime-video { &:before { content: "\e059"; } }
101
+ .glyphicon-picture { &:before { content: "\e060"; } }
102
+ .glyphicon-map-marker { &:before { content: "\e062"; } }
103
+ .glyphicon-adjust { &:before { content: "\e063"; } }
104
+ .glyphicon-tint { &:before { content: "\e064"; } }
105
+ .glyphicon-edit { &:before { content: "\e065"; } }
106
+ .glyphicon-share { &:before { content: "\e066"; } }
107
+ .glyphicon-check { &:before { content: "\e067"; } }
108
+ .glyphicon-move { &:before { content: "\e068"; } }
109
+ .glyphicon-step-backward { &:before { content: "\e069"; } }
110
+ .glyphicon-fast-backward { &:before { content: "\e070"; } }
111
+ .glyphicon-backward { &:before { content: "\e071"; } }
112
+ .glyphicon-play { &:before { content: "\e072"; } }
113
+ .glyphicon-pause { &:before { content: "\e073"; } }
114
+ .glyphicon-stop { &:before { content: "\e074"; } }
115
+ .glyphicon-forward { &:before { content: "\e075"; } }
116
+ .glyphicon-fast-forward { &:before { content: "\e076"; } }
117
+ .glyphicon-step-forward { &:before { content: "\e077"; } }
118
+ .glyphicon-eject { &:before { content: "\e078"; } }
119
+ .glyphicon-chevron-left { &:before { content: "\e079"; } }
120
+ .glyphicon-chevron-right { &:before { content: "\e080"; } }
121
+ .glyphicon-plus-sign { &:before { content: "\e081"; } }
122
+ .glyphicon-minus-sign { &:before { content: "\e082"; } }
123
+ .glyphicon-remove-sign { &:before { content: "\e083"; } }
124
+ .glyphicon-ok-sign { &:before { content: "\e084"; } }
125
+ .glyphicon-question-sign { &:before { content: "\e085"; } }
126
+ .glyphicon-info-sign { &:before { content: "\e086"; } }
127
+ .glyphicon-screenshot { &:before { content: "\e087"; } }
128
+ .glyphicon-remove-circle { &:before { content: "\e088"; } }
129
+ .glyphicon-ok-circle { &:before { content: "\e089"; } }
130
+ .glyphicon-ban-circle { &:before { content: "\e090"; } }
131
+ .glyphicon-arrow-left { &:before { content: "\e091"; } }
132
+ .glyphicon-arrow-right { &:before { content: "\e092"; } }
133
+ .glyphicon-arrow-up { &:before { content: "\e093"; } }
134
+ .glyphicon-arrow-down { &:before { content: "\e094"; } }
135
+ .glyphicon-share-alt { &:before { content: "\e095"; } }
136
+ .glyphicon-resize-full { &:before { content: "\e096"; } }
137
+ .glyphicon-resize-small { &:before { content: "\e097"; } }
138
+ .glyphicon-exclamation-sign { &:before { content: "\e101"; } }
139
+ .glyphicon-gift { &:before { content: "\e102"; } }
140
+ .glyphicon-leaf { &:before { content: "\e103"; } }
141
+ .glyphicon-fire { &:before { content: "\e104"; } }
142
+ .glyphicon-eye-open { &:before { content: "\e105"; } }
143
+ .glyphicon-eye-close { &:before { content: "\e106"; } }
144
+ .glyphicon-warning-sign { &:before { content: "\e107"; } }
145
+ .glyphicon-plane { &:before { content: "\e108"; } }
146
+ .glyphicon-calendar { &:before { content: "\e109"; } }
147
+ .glyphicon-random { &:before { content: "\e110"; } }
148
+ .glyphicon-comment { &:before { content: "\e111"; } }
149
+ .glyphicon-magnet { &:before { content: "\e112"; } }
150
+ .glyphicon-chevron-up { &:before { content: "\e113"; } }
151
+ .glyphicon-chevron-down { &:before { content: "\e114"; } }
152
+ .glyphicon-retweet { &:before { content: "\e115"; } }
153
+ .glyphicon-shopping-cart { &:before { content: "\e116"; } }
154
+ .glyphicon-folder-close { &:before { content: "\e117"; } }
155
+ .glyphicon-folder-open { &:before { content: "\e118"; } }
156
+ .glyphicon-resize-vertical { &:before { content: "\e119"; } }
157
+ .glyphicon-resize-horizontal { &:before { content: "\e120"; } }
158
+ .glyphicon-hdd { &:before { content: "\e121"; } }
159
+ .glyphicon-bullhorn { &:before { content: "\e122"; } }
160
+ .glyphicon-bell { &:before { content: "\e123"; } }
161
+ .glyphicon-certificate { &:before { content: "\e124"; } }
162
+ .glyphicon-thumbs-up { &:before { content: "\e125"; } }
163
+ .glyphicon-thumbs-down { &:before { content: "\e126"; } }
164
+ .glyphicon-hand-right { &:before { content: "\e127"; } }
165
+ .glyphicon-hand-left { &:before { content: "\e128"; } }
166
+ .glyphicon-hand-up { &:before { content: "\e129"; } }
167
+ .glyphicon-hand-down { &:before { content: "\e130"; } }
168
+ .glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
169
+ .glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
170
+ .glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
171
+ .glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
172
+ .glyphicon-globe { &:before { content: "\e135"; } }
173
+ .glyphicon-wrench { &:before { content: "\e136"; } }
174
+ .glyphicon-tasks { &:before { content: "\e137"; } }
175
+ .glyphicon-filter { &:before { content: "\e138"; } }
176
+ .glyphicon-briefcase { &:before { content: "\e139"; } }
177
+ .glyphicon-fullscreen { &:before { content: "\e140"; } }
178
+ .glyphicon-dashboard { &:before { content: "\e141"; } }
179
+ .glyphicon-paperclip { &:before { content: "\e142"; } }
180
+ .glyphicon-heart-empty { &:before { content: "\e143"; } }
181
+ .glyphicon-link { &:before { content: "\e144"; } }
182
+ .glyphicon-phone { &:before { content: "\e145"; } }
183
+ .glyphicon-pushpin { &:before { content: "\e146"; } }
184
+ .glyphicon-usd { &:before { content: "\e148"; } }
185
+ .glyphicon-gbp { &:before { content: "\e149"; } }
186
+ .glyphicon-sort { &:before { content: "\e150"; } }
187
+ .glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
188
+ .glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
189
+ .glyphicon-sort-by-order { &:before { content: "\e153"; } }
190
+ .glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
191
+ .glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
192
+ .glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
193
+ .glyphicon-unchecked { &:before { content: "\e157"; } }
194
+ .glyphicon-expand { &:before { content: "\e158"; } }
195
+ .glyphicon-collapse-down { &:before { content: "\e159"; } }
196
+ .glyphicon-collapse-up { &:before { content: "\e160"; } }
197
+ .glyphicon-log-in { &:before { content: "\e161"; } }
198
+ .glyphicon-flash { &:before { content: "\e162"; } }
199
+ .glyphicon-log-out { &:before { content: "\e163"; } }
200
+ .glyphicon-new-window { &:before { content: "\e164"; } }
201
+ .glyphicon-record { &:before { content: "\e165"; } }
202
+ .glyphicon-save { &:before { content: "\e166"; } }
203
+ .glyphicon-open { &:before { content: "\e167"; } }
204
+ .glyphicon-saved { &:before { content: "\e168"; } }
205
+ .glyphicon-import { &:before { content: "\e169"; } }
206
+ .glyphicon-export { &:before { content: "\e170"; } }
207
+ .glyphicon-send { &:before { content: "\e171"; } }
208
+ .glyphicon-floppy-disk { &:before { content: "\e172"; } }
209
+ .glyphicon-floppy-saved { &:before { content: "\e173"; } }
210
+ .glyphicon-floppy-remove { &:before { content: "\e174"; } }
211
+ .glyphicon-floppy-save { &:before { content: "\e175"; } }
212
+ .glyphicon-floppy-open { &:before { content: "\e176"; } }
213
+ .glyphicon-credit-card { &:before { content: "\e177"; } }
214
+ .glyphicon-transfer { &:before { content: "\e178"; } }
215
+ .glyphicon-cutlery { &:before { content: "\e179"; } }
216
+ .glyphicon-header { &:before { content: "\e180"; } }
217
+ .glyphicon-compressed { &:before { content: "\e181"; } }
218
+ .glyphicon-earphone { &:before { content: "\e182"; } }
219
+ .glyphicon-phone-alt { &:before { content: "\e183"; } }
220
+ .glyphicon-tower { &:before { content: "\e184"; } }
221
+ .glyphicon-stats { &:before { content: "\e185"; } }
222
+ .glyphicon-sd-video { &:before { content: "\e186"; } }
223
+ .glyphicon-hd-video { &:before { content: "\e187"; } }
224
+ .glyphicon-subtitles { &:before { content: "\e188"; } }
225
+ .glyphicon-sound-stereo { &:before { content: "\e189"; } }
226
+ .glyphicon-sound-dolby { &:before { content: "\e190"; } }
227
+ .glyphicon-sound-5-1 { &:before { content: "\e191"; } }
228
+ .glyphicon-sound-6-1 { &:before { content: "\e192"; } }
229
+ .glyphicon-sound-7-1 { &:before { content: "\e193"; } }
230
+ .glyphicon-copyright-mark { &:before { content: "\e194"; } }
231
+ .glyphicon-registration-mark { &:before { content: "\e195"; } }
232
+ .glyphicon-cloud-download { &:before { content: "\e197"; } }
233
+ .glyphicon-cloud-upload { &:before { content: "\e198"; } }
234
+ .glyphicon-tree-conifer { &:before { content: "\e199"; } }
235
+ .glyphicon-tree-deciduous { &:before { content: "\e200"; } }
236
+ .glyphicon-cd { &:before { content: "\e201"; } }
237
+ .glyphicon-save-file { &:before { content: "\e202"; } }
238
+ .glyphicon-open-file { &:before { content: "\e203"; } }
239
+ .glyphicon-level-up { &:before { content: "\e204"; } }
240
+ .glyphicon-copy { &:before { content: "\e205"; } }
241
+ .glyphicon-paste { &:before { content: "\e206"; } }
242
+ // The following 2 Glyphicons are omitted for the time being because
243
+ // they currently use Unicode codepoints that are outside the
244
+ // Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle
245
+ // non-BMP codepoints in CSS string escapes, and thus can't display these two icons.
246
+ // Notably, the bug affects some older versions of the Android Browser.
247
+ // More info: https://github.com/twbs/bootstrap/issues/10106
248
+ // .glyphicon-door { &:before { content: "\1f6aa"; } }
249
+ // .glyphicon-key { &:before { content: "\1f511"; } }
250
+ .glyphicon-alert { &:before { content: "\e209"; } }
251
+ .glyphicon-equalizer { &:before { content: "\e210"; } }
252
+ .glyphicon-king { &:before { content: "\e211"; } }
253
+ .glyphicon-queen { &:before { content: "\e212"; } }
254
+ .glyphicon-pawn { &:before { content: "\e213"; } }
255
+ .glyphicon-bishop { &:before { content: "\e214"; } }
256
+ .glyphicon-knight { &:before { content: "\e215"; } }
257
+ .glyphicon-baby-formula { &:before { content: "\e216"; } }
258
+ .glyphicon-tent { &:before { content: "\26fa"; } }
259
+ .glyphicon-blackboard { &:before { content: "\e218"; } }
260
+ .glyphicon-bed { &:before { content: "\e219"; } }
261
+ .glyphicon-apple { &:before { content: "\f8ff"; } }
262
+ .glyphicon-erase { &:before { content: "\e221"; } }
263
+ .glyphicon-hourglass { &:before { content: "\231b"; } }
264
+ .glyphicon-lamp { &:before { content: "\e223"; } }
265
+ .glyphicon-duplicate { &:before { content: "\e224"; } }
266
+ .glyphicon-piggy-bank { &:before { content: "\e225"; } }
267
+ .glyphicon-scissors { &:before { content: "\e226"; } }
268
+ .glyphicon-bitcoin { &:before { content: "\e227"; } }
269
+ .glyphicon-yen { &:before { content: "\00a5"; } }
270
+ .glyphicon-ruble { &:before { content: "\20bd"; } }
271
+ .glyphicon-scale { &:before { content: "\e230"; } }
272
+ .glyphicon-ice-lolly { &:before { content: "\e231"; } }
273
+ .glyphicon-ice-lolly-tasted { &:before { content: "\e232"; } }
274
+ .glyphicon-education { &:before { content: "\e233"; } }
275
+ .glyphicon-option-horizontal { &:before { content: "\e234"; } }
276
+ .glyphicon-option-vertical { &:before { content: "\e235"; } }
277
+ .glyphicon-menu-hamburger { &:before { content: "\e236"; } }
278
+ .glyphicon-modal-window { &:before { content: "\e237"; } }
279
+ .glyphicon-oil { &:before { content: "\e238"; } }
280
+ .glyphicon-grain { &:before { content: "\e239"; } }
281
+ .glyphicon-sunglasses { &:before { content: "\e240"; } }
282
+ .glyphicon-text-size { &:before { content: "\e241"; } }
283
+ .glyphicon-text-color { &:before { content: "\e242"; } }
284
+ .glyphicon-text-background { &:before { content: "\e243"; } }
285
+ .glyphicon-object-align-top { &:before { content: "\e244"; } }
286
+ .glyphicon-object-align-bottom { &:before { content: "\e245"; } }
287
+ .glyphicon-object-align-horizontal{ &:before { content: "\e246"; } }
288
+ .glyphicon-object-align-left { &:before { content: "\e247"; } }
289
+ .glyphicon-object-align-vertical { &:before { content: "\e248"; } }
290
+ .glyphicon-object-align-right { &:before { content: "\e249"; } }
291
+ .glyphicon-triangle-right { &:before { content: "\e250"; } }
292
+ .glyphicon-triangle-left { &:before { content: "\e251"; } }
293
+ .glyphicon-triangle-bottom { &:before { content: "\e252"; } }
294
+ .glyphicon-triangle-top { &:before { content: "\e253"; } }
295
+ .glyphicon-console { &:before { content: "\e254"; } }
296
+ .glyphicon-superscript { &:before { content: "\e255"; } }
297
+ .glyphicon-subscript { &:before { content: "\e256"; } }
298
+ .glyphicon-menu-left { &:before { content: "\e257"; } }
299
+ .glyphicon-menu-right { &:before { content: "\e258"; } }
300
+ .glyphicon-menu-down { &:before { content: "\e259"; } }
301
+ .glyphicon-menu-up { &:before { content: "\e260"; } }
@@ -0,0 +1,84 @@
1
+ //
2
+ // Grid system
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Container widths
7
+ //
8
+ // Set the container width, and override it for fixed navbars in media queries.
9
+
10
+ .container {
11
+ @include container-fixed;
12
+
13
+ @media (min-width: $screen-sm-min) {
14
+ width: $container-sm;
15
+ }
16
+ @media (min-width: $screen-md-min) {
17
+ width: $container-md;
18
+ }
19
+ @media (min-width: $screen-lg-min) {
20
+ width: $container-lg;
21
+ }
22
+ }
23
+
24
+
25
+ // Fluid container
26
+ //
27
+ // Utilizes the mixin meant for fixed width containers, but without any defined
28
+ // width for fluid, full width layouts.
29
+
30
+ .container-fluid {
31
+ @include container-fixed;
32
+ }
33
+
34
+
35
+ // Row
36
+ //
37
+ // Rows contain and clear the floats of your columns.
38
+
39
+ .row {
40
+ @include make-row;
41
+ }
42
+
43
+
44
+ // Columns
45
+ //
46
+ // Common styles for small and large grid columns
47
+
48
+ @include make-grid-columns;
49
+
50
+
51
+ // Extra small grid
52
+ //
53
+ // Columns, offsets, pushes, and pulls for extra small devices like
54
+ // smartphones.
55
+
56
+ @include make-grid(xs);
57
+
58
+
59
+ // Small grid
60
+ //
61
+ // Columns, offsets, pushes, and pulls for the small device range, from phones
62
+ // to tablets.
63
+
64
+ @media (min-width: $screen-sm-min) {
65
+ @include make-grid(sm);
66
+ }
67
+
68
+
69
+ // Medium grid
70
+ //
71
+ // Columns, offsets, pushes, and pulls for the desktop device range.
72
+
73
+ @media (min-width: $screen-md-min) {
74
+ @include make-grid(md);
75
+ }
76
+
77
+
78
+ // Large grid
79
+ //
80
+ // Columns, offsets, pushes, and pulls for the large desktop device range.
81
+
82
+ @media (min-width: $screen-lg-min) {
83
+ @include make-grid(lg);
84
+ }
@@ -0,0 +1,166 @@
1
+ //
2
+ // Input groups
3
+ // --------------------------------------------------
4
+
5
+ // Base styles
6
+ // -------------------------
7
+ .input-group {
8
+ position: relative; // For dropdowns
9
+ display: table;
10
+ border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
11
+
12
+ // Undo padding and float of grid classes
13
+ &[class*="col-"] {
14
+ float: none;
15
+ padding-left: 0;
16
+ padding-right: 0;
17
+ }
18
+
19
+ .form-control {
20
+ // Ensure that the input is always above the *appended* addon button for
21
+ // proper border colors.
22
+ position: relative;
23
+ z-index: 2;
24
+
25
+ // IE9 fubars the placeholder attribute in text inputs and the arrows on
26
+ // select elements in input groups. To fix it, we float the input. Details:
27
+ // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
28
+ float: left;
29
+
30
+ width: 100%;
31
+ margin-bottom: 0;
32
+ }
33
+ }
34
+
35
+ // Sizing options
36
+ //
37
+ // Remix the default form control sizing classes into new ones for easier
38
+ // manipulation.
39
+
40
+ .input-group-lg > .form-control,
41
+ .input-group-lg > .input-group-addon,
42
+ .input-group-lg > .input-group-btn > .btn {
43
+ @extend .input-lg;
44
+ }
45
+ .input-group-sm > .form-control,
46
+ .input-group-sm > .input-group-addon,
47
+ .input-group-sm > .input-group-btn > .btn {
48
+ @extend .input-sm;
49
+ }
50
+
51
+
52
+ // Display as table-cell
53
+ // -------------------------
54
+ .input-group-addon,
55
+ .input-group-btn,
56
+ .input-group .form-control {
57
+ display: table-cell;
58
+
59
+ &:not(:first-child):not(:last-child) {
60
+ border-radius: 0;
61
+ }
62
+ }
63
+ // Addon and addon wrapper for buttons
64
+ .input-group-addon,
65
+ .input-group-btn {
66
+ width: 1%;
67
+ white-space: nowrap;
68
+ vertical-align: middle; // Match the inputs
69
+ }
70
+
71
+ // Text input groups
72
+ // -------------------------
73
+ .input-group-addon {
74
+ padding: $padding-base-vertical $padding-base-horizontal;
75
+ font-size: $font-size-base;
76
+ font-weight: normal;
77
+ line-height: 1;
78
+ color: $input-color;
79
+ text-align: center;
80
+ background-color: $input-group-addon-bg;
81
+ border: 1px solid $input-group-addon-border-color;
82
+ border-radius: $border-radius-base;
83
+
84
+ // Sizing
85
+ &.input-sm {
86
+ padding: $padding-small-vertical $padding-small-horizontal;
87
+ font-size: $font-size-small;
88
+ border-radius: $border-radius-small;
89
+ }
90
+ &.input-lg {
91
+ padding: $padding-large-vertical $padding-large-horizontal;
92
+ font-size: $font-size-large;
93
+ border-radius: $border-radius-large;
94
+ }
95
+
96
+ // Nuke default margins from checkboxes and radios to vertically center within.
97
+ input[type="radio"],
98
+ input[type="checkbox"] {
99
+ margin-top: 0;
100
+ }
101
+ }
102
+
103
+ // Reset rounded corners
104
+ .input-group .form-control:first-child,
105
+ .input-group-addon:first-child,
106
+ .input-group-btn:first-child > .btn,
107
+ .input-group-btn:first-child > .btn-group > .btn,
108
+ .input-group-btn:first-child > .dropdown-toggle,
109
+ .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
110
+ .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
111
+ @include border-right-radius(0);
112
+ }
113
+ .input-group-addon:first-child {
114
+ border-right: 0;
115
+ }
116
+ .input-group .form-control:last-child,
117
+ .input-group-addon:last-child,
118
+ .input-group-btn:last-child > .btn,
119
+ .input-group-btn:last-child > .btn-group > .btn,
120
+ .input-group-btn:last-child > .dropdown-toggle,
121
+ .input-group-btn:first-child > .btn:not(:first-child),
122
+ .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
123
+ @include border-left-radius(0);
124
+ }
125
+ .input-group-addon:last-child {
126
+ border-left: 0;
127
+ }
128
+
129
+ // Button input groups
130
+ // -------------------------
131
+ .input-group-btn {
132
+ position: relative;
133
+ // Jankily prevent input button groups from wrapping with `white-space` and
134
+ // `font-size` in combination with `inline-block` on buttons.
135
+ font-size: 0;
136
+ white-space: nowrap;
137
+
138
+ // Negative margin for spacing, position for bringing hovered/focused/actived
139
+ // element above the siblings.
140
+ > .btn {
141
+ position: relative;
142
+ + .btn {
143
+ margin-left: -1px;
144
+ }
145
+ // Bring the "active" button to the front
146
+ &:hover,
147
+ &:focus,
148
+ &:active {
149
+ z-index: 2;
150
+ }
151
+ }
152
+
153
+ // Negative margin to only have a 1px border between the two
154
+ &:first-child {
155
+ > .btn,
156
+ > .btn-group {
157
+ margin-right: -1px;
158
+ }
159
+ }
160
+ &:last-child {
161
+ > .btn,
162
+ > .btn-group {
163
+ margin-left: -1px;
164
+ }
165
+ }
166
+ }