card 1.15.1 → 1.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/card.gemspec +19 -16
  4. data/config/initializers/recaptcha.rb +1 -0
  5. data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +13 -14
  6. data/db/migrate_core_cards/20150326205655_bootswatch_themes.rb +30 -0
  7. data/db/migrate_core_cards/20150331135745_new_card_menu.rb +8 -0
  8. data/db/migrate_core_cards/20150508212032_menu_compatibility.rb +27 -0
  9. data/db/migrate_core_cards/20150510031118_fix_skin_images.rb +13 -0
  10. data/db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss +9 -5
  11. data/db/migrate_core_cards/data/1.12_stylesheets/common.scss +5 -5
  12. data/{test/fixtures/.gitkeep → db/migrate_core_cards/data/themes/bootstrap_default/_bootswatch.scss} +0 -0
  13. data/db/migrate_core_cards/data/themes/bootstrap_default/_variables.scss +866 -0
  14. data/db/migrate_core_cards/data/themes/cerulean/_bootswatch.scss +125 -0
  15. data/db/migrate_core_cards/data/themes/cerulean/_variables.scss +861 -0
  16. data/db/migrate_core_cards/data/themes/cosmo/_bootswatch.scss +237 -0
  17. data/db/migrate_core_cards/data/themes/cosmo/_variables.scss +861 -0
  18. data/db/migrate_core_cards/data/themes/cyborg/_bootswatch.scss +210 -0
  19. data/db/migrate_core_cards/data/themes/cyborg/_variables.scss +861 -0
  20. data/db/migrate_core_cards/data/themes/darkly/_bootswatch.scss +330 -0
  21. data/db/migrate_core_cards/data/themes/darkly/_variables.scss +861 -0
  22. data/db/migrate_core_cards/data/themes/flatly/_bootswatch.scss +313 -0
  23. data/db/migrate_core_cards/data/themes/flatly/_variables.scss +861 -0
  24. data/db/migrate_core_cards/data/themes/journal/_bootswatch.scss +120 -0
  25. data/db/migrate_core_cards/data/themes/journal/_variables.scss +861 -0
  26. data/db/migrate_core_cards/data/themes/lumen/_bootswatch.scss +496 -0
  27. data/db/migrate_core_cards/data/themes/lumen/_variables.scss +861 -0
  28. data/db/migrate_core_cards/data/themes/paper/_bootswatch.scss +607 -0
  29. data/db/migrate_core_cards/data/themes/paper/_variables.scss +861 -0
  30. data/db/migrate_core_cards/data/themes/readable/_bootswatch.scss +174 -0
  31. data/db/migrate_core_cards/data/themes/readable/_variables.scss +861 -0
  32. data/db/migrate_core_cards/data/themes/sandstone/_bootswatch.scss +194 -0
  33. data/db/migrate_core_cards/data/themes/sandstone/_variables.scss +861 -0
  34. data/db/migrate_core_cards/data/themes/simplex/_bootswatch.scss +142 -0
  35. data/db/migrate_core_cards/data/themes/simplex/_variables.scss +861 -0
  36. data/db/migrate_core_cards/data/themes/slate/_bootswatch.scss +417 -0
  37. data/db/migrate_core_cards/data/themes/slate/_variables.scss +861 -0
  38. data/db/migrate_core_cards/data/themes/spacelab/_bootswatch.scss +137 -0
  39. data/db/migrate_core_cards/data/themes/spacelab/_variables.scss +861 -0
  40. data/db/migrate_core_cards/data/themes/superhero/_bootswatch.scss +332 -0
  41. data/db/migrate_core_cards/data/themes/superhero/_variables.scss +861 -0
  42. data/db/migrate_core_cards/data/themes/united/_bootswatch.scss +42 -0
  43. data/db/migrate_core_cards/data/themes/united/_variables.scss +861 -0
  44. data/db/migrate_core_cards/data/themes/yeti/_bootswatch.scss +437 -0
  45. data/db/migrate_core_cards/data/themes/yeti/_variables.scss +861 -0
  46. data/db/seed/README.md +2 -0
  47. data/db/{bootstrap → seed/new}/card_actions.yml +561 -295
  48. data/db/{bootstrap → seed/new}/card_acts.yml +1 -1
  49. data/db/seed/new/card_changes.yml +29331 -0
  50. data/db/{bootstrap → seed/new}/card_references.yml +1544 -1355
  51. data/db/seed/new/cards.yml +28057 -0
  52. data/db/seed/test/fixtures/.gitkeep +0 -0
  53. data/{test → db/seed/test}/fixtures/card_actions.yml +1501 -1235
  54. data/{test → db/seed/test}/fixtures/card_acts.yml +244 -244
  55. data/db/seed/test/fixtures/card_changes.yml +34527 -0
  56. data/{test → db/seed/test}/fixtures/card_references.yml +2215 -2026
  57. data/db/seed/test/fixtures/cards.yml +32708 -0
  58. data/{test → db/seed/test}/fixtures/mao2.jpg +0 -0
  59. data/{test → db/seed/test}/fixtures/rails.gif +0 -0
  60. data/{test → db/seed/test}/seed.rb +0 -0
  61. data/db/version_core_cards.txt +1 -1
  62. data/lib/card/format.rb +56 -56
  63. data/lib/cardio.rb +7 -5
  64. data/mod/01_core/chunk/include.rb +1 -1
  65. data/mod/01_core/set/all/fetch.rb +27 -27
  66. data/mod/01_core/set/all/rules.rb +53 -53
  67. data/mod/01_core/set/all/states.rb +5 -0
  68. data/mod/01_core/spec/format/html_format_spec.rb +6 -6
  69. data/mod/01_core/spec/set/all/rules2_spec.rb +6 -6
  70. data/mod/01_history/set/all/history.rb +4 -4
  71. data/mod/02_basic_types/set/all/rss.rb +10 -9
  72. data/mod/03_machines/lib/javascript/script_card_menu.js.coffee +20 -0
  73. data/mod/03_machines/lib/javascript/wagn.js.coffee +46 -34
  74. data/mod/03_machines/lib/javascript/wagn_mod.js.coffee +36 -148
  75. data/mod/03_machines/lib/stylesheets/style_bootstrap_compatible.css +10 -96
  76. data/mod/03_machines/lib/stylesheets/style_cards.scss +127 -87
  77. data/mod/03_machines/set/self/script_card_menu.rb +10 -2
  78. data/mod/05_email/set/all/follow.rb +38 -22
  79. data/mod/05_email/set/right/follow.rb +79 -1
  80. data/mod/05_email/set/type_plus_right/user/follow.rb +31 -31
  81. data/mod/05_email/spec/set/all/follow_spec.rb +37 -28
  82. data/mod/05_email/spec/set/right/followers_spec.rb +29 -29
  83. data/mod/05_standard/set/all/error.rb +17 -20
  84. data/mod/05_standard/set/all/links.rb +31 -18
  85. data/mod/05_standard/set/all/rich_html/content.rb +41 -18
  86. data/mod/05_standard/set/all/rich_html/editing.rb +21 -17
  87. data/mod/05_standard/set/all/rich_html/header.rb +13 -48
  88. data/mod/05_standard/set/all/rich_html/menu.rb +147 -0
  89. data/mod/05_standard/set/all/rich_html/modal.rb +54 -0
  90. data/mod/05_standard/set/all/rich_html/toolbar.rb +237 -0
  91. data/mod/05_standard/set/all/rich_html/wrapper.rb +43 -25
  92. data/mod/05_standard/set/right/account.rb +8 -7
  93. data/mod/05_standard/set/rstar/rules.rb +111 -84
  94. data/mod/05_standard/set/self/head.rb +15 -15
  95. data/mod/05_standard/set/type/set.rb +65 -34
  96. data/mod/05_standard/spec/set/all/attach_spec.rb +1 -1
  97. data/mod/05_standard/spec/set/all/rich_html/wrapper_spec.rb +13 -9
  98. data/mod/05_standard/spec/set/rstar/rules_spec.rb +1 -1
  99. data/mod/06_bootstrap/lib/javascript/bootstrap.js +108 -97
  100. data/mod/06_bootstrap/lib/javascript/smartmenu.js +94 -0
  101. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_alerts.scss +73 -0
  102. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_badges.scss +68 -0
  103. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
  104. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_button-groups.scss +243 -0
  105. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_buttons.scss +160 -0
  106. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_carousel.scss +269 -0
  107. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_close.scss +36 -0
  108. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_code.scss +69 -0
  109. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_component-animations.scss +37 -0
  110. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_dropdowns.scss +214 -0
  111. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_forms.scss +578 -0
  112. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_glyphicons.scss +305 -0
  113. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_grid.scss +84 -0
  114. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_input-groups.scss +166 -0
  115. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_jumbotron.scss +50 -0
  116. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_labels.scss +66 -0
  117. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_list-group.scss +124 -0
  118. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_media.scss +61 -0
  119. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_mixins.scss +39 -0
  120. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_modals.scss +150 -0
  121. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_navbar.scss +662 -0
  122. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_navs.scss +242 -0
  123. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_normalize.scss +427 -0
  124. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_pager.scss +54 -0
  125. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_pagination.scss +88 -0
  126. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_panels.scss +265 -0
  127. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_popovers.scss +135 -0
  128. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_print.scss +107 -0
  129. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_progress-bars.scss +87 -0
  130. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  131. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_responsive-utilities.scss +177 -0
  132. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_scaffolding.scss +162 -0
  133. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_tables.scss +234 -0
  134. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_theme.scss +273 -0
  135. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_thumbnails.scss +38 -0
  136. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_tooltip.scss +102 -0
  137. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_type.scss +298 -0
  138. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_utilities.scss +55 -0
  139. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_variables.scss +866 -0
  140. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_wells.scss +29 -0
  141. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  142. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
  143. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  144. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
  145. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  146. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  147. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  148. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  149. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  150. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  151. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  152. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_image.scss +33 -0
  153. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  154. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
  155. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  156. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  157. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  158. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
  159. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  160. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  161. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  162. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  163. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  164. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_size.scss +10 -0
  165. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  166. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  167. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
  168. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  169. data/mod/06_bootstrap/lib/stylesheets/{bootswatch_mixins.scss → bootstrap/mixins/_vendor-prefixes.scss} +1 -61
  170. data/mod/06_bootstrap/lib/stylesheets/bootstrap_cards.scss +20 -13
  171. data/mod/06_bootstrap/lib/stylesheets/smartmenu.css +433 -0
  172. data/mod/06_bootstrap/set/all/bootstrap/wrapper.rb +2 -2
  173. data/mod/06_bootstrap/set/all/rich_bootstrap.rb +58 -4
  174. data/mod/06_bootstrap/set/self/bootstrap_js.rb +1 -1
  175. data/mod/06_bootstrap/set/self/bootswatch_shared.rb +32 -0
  176. data/mod/06_bootstrap/set/self/smartmenu_css.rb +7 -0
  177. data/mod/06_bootstrap/set/self/smartmenu_js.rb +7 -0
  178. data/spec/spec_helper.rb +16 -16
  179. metadata +133 -93
  180. data/db/bootstrap/card_changes.yml +0 -12765
  181. data/db/bootstrap/cards.yml +0 -11567
  182. data/db/seeds.rb +0 -8
  183. data/mod/03_machines/lib/javascript/script_card_menu.js +0 -72
  184. data/mod/06_bootstrap/lib/stylesheets/bootstrap_css.css +0 -6565
  185. data/mod/06_bootstrap/lib/stylesheets/theme_bootstrap_default.css +0 -476
  186. data/mod/06_bootstrap/lib/stylesheets/theme_cerulean.css +0 -6721
  187. data/mod/06_bootstrap/lib/stylesheets/theme_cosmo.css +0 -5898
  188. data/mod/06_bootstrap/lib/stylesheets/theme_cyborg.css +0 -5876
  189. data/mod/06_bootstrap/lib/stylesheets/theme_darkly.css +0 -5986
  190. data/mod/06_bootstrap/lib/stylesheets/theme_flatly.css +0 -6830
  191. data/mod/06_bootstrap/lib/stylesheets/theme_journal.css +0 -6647
  192. data/mod/06_bootstrap/lib/stylesheets/theme_lumen.css +0 -6097
  193. data/mod/06_bootstrap/lib/stylesheets/theme_paper.css +0 -6647
  194. data/mod/06_bootstrap/lib/stylesheets/theme_readable.css +0 -5896
  195. data/mod/06_bootstrap/lib/stylesheets/theme_sandstone.css +0 -6733
  196. data/mod/06_bootstrap/lib/stylesheets/theme_simplex.css +0 -5886
  197. data/mod/06_bootstrap/lib/stylesheets/theme_slate.css +0 -7057
  198. data/mod/06_bootstrap/lib/stylesheets/theme_spacelab.css +0 -5935
  199. data/mod/06_bootstrap/lib/stylesheets/theme_superhero.css +0 -5964
  200. data/mod/06_bootstrap/lib/stylesheets/theme_united.css +0 -6588
  201. data/mod/06_bootstrap/lib/stylesheets/theme_yeti.css +0 -6088
  202. data/mod/06_bootstrap/set/self/bootstrap_css.rb +0 -9
  203. data/mod/06_bootstrap/set/self/bootswatch_mixins.rb +0 -9
  204. data/mod/06_bootstrap/set/self/theme_bootstrap_default.rb +0 -2
  205. data/mod/06_bootstrap/set/self/theme_cerulean.rb +0 -9
  206. data/mod/06_bootstrap/set/self/theme_cosmo.rb +0 -2
  207. data/mod/06_bootstrap/set/self/theme_cyborg.rb +0 -2
  208. data/mod/06_bootstrap/set/self/theme_darkly.rb +0 -2
  209. data/mod/06_bootstrap/set/self/theme_flatly.rb +0 -2
  210. data/mod/06_bootstrap/set/self/theme_journal.rb +0 -2
  211. data/mod/06_bootstrap/set/self/theme_lumen.rb +0 -2
  212. data/mod/06_bootstrap/set/self/theme_paper.rb +0 -2
  213. data/mod/06_bootstrap/set/self/theme_readable.rb +0 -2
  214. data/mod/06_bootstrap/set/self/theme_sandstone.rb +0 -2
  215. data/mod/06_bootstrap/set/self/theme_simplex.rb +0 -2
  216. data/mod/06_bootstrap/set/self/theme_slate.rb +0 -2
  217. data/mod/06_bootstrap/set/self/theme_spacelab.rb +0 -2
  218. data/mod/06_bootstrap/set/self/theme_superhero.rb +0 -2
  219. data/mod/06_bootstrap/set/self/theme_united.rb +0 -2
  220. data/mod/06_bootstrap/set/self/theme_yeti.rb +0 -2
  221. data/test/fixtures/card_changes.yml +0 -17961
  222. data/test/fixtures/cards.yml +0 -16218
@@ -0,0 +1,305 @@
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-btc { &:before { content: "\e227"; } }
270
+ .glyphicon-xbt { &:before { content: "\e227"; } }
271
+ .glyphicon-yen { &:before { content: "\00a5"; } }
272
+ .glyphicon-jpy { &:before { content: "\00a5"; } }
273
+ .glyphicon-ruble { &:before { content: "\20bd"; } }
274
+ .glyphicon-rub { &:before { content: "\20bd"; } }
275
+ .glyphicon-scale { &:before { content: "\e230"; } }
276
+ .glyphicon-ice-lolly { &:before { content: "\e231"; } }
277
+ .glyphicon-ice-lolly-tasted { &:before { content: "\e232"; } }
278
+ .glyphicon-education { &:before { content: "\e233"; } }
279
+ .glyphicon-option-horizontal { &:before { content: "\e234"; } }
280
+ .glyphicon-option-vertical { &:before { content: "\e235"; } }
281
+ .glyphicon-menu-hamburger { &:before { content: "\e236"; } }
282
+ .glyphicon-modal-window { &:before { content: "\e237"; } }
283
+ .glyphicon-oil { &:before { content: "\e238"; } }
284
+ .glyphicon-grain { &:before { content: "\e239"; } }
285
+ .glyphicon-sunglasses { &:before { content: "\e240"; } }
286
+ .glyphicon-text-size { &:before { content: "\e241"; } }
287
+ .glyphicon-text-color { &:before { content: "\e242"; } }
288
+ .glyphicon-text-background { &:before { content: "\e243"; } }
289
+ .glyphicon-object-align-top { &:before { content: "\e244"; } }
290
+ .glyphicon-object-align-bottom { &:before { content: "\e245"; } }
291
+ .glyphicon-object-align-horizontal{ &:before { content: "\e246"; } }
292
+ .glyphicon-object-align-left { &:before { content: "\e247"; } }
293
+ .glyphicon-object-align-vertical { &:before { content: "\e248"; } }
294
+ .glyphicon-object-align-right { &:before { content: "\e249"; } }
295
+ .glyphicon-triangle-right { &:before { content: "\e250"; } }
296
+ .glyphicon-triangle-left { &:before { content: "\e251"; } }
297
+ .glyphicon-triangle-bottom { &:before { content: "\e252"; } }
298
+ .glyphicon-triangle-top { &:before { content: "\e253"; } }
299
+ .glyphicon-console { &:before { content: "\e254"; } }
300
+ .glyphicon-superscript { &:before { content: "\e255"; } }
301
+ .glyphicon-subscript { &:before { content: "\e256"; } }
302
+ .glyphicon-menu-left { &:before { content: "\e257"; } }
303
+ .glyphicon-menu-right { &:before { content: "\e258"; } }
304
+ .glyphicon-menu-down { &:before { content: "\e259"; } }
305
+ .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
+ }