twitter-bootstrap-rails 2.2.3 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of twitter-bootstrap-rails might be problematic. Click here for more details.

Files changed (204) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +460 -185
  3. data/Rakefile +7 -1
  4. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  5. data/app/assets/fonts/fontawesome-webfont.svg +640 -0
  6. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  7. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  8. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  9. data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  10. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  11. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  12. data/app/assets/javascripts/twitter/bootstrap.js +12 -0
  13. data/app/assets/javascripts/twitter/bootstrap/affix.js +142 -0
  14. data/app/assets/javascripts/twitter/bootstrap/alert.js +92 -0
  15. data/app/assets/javascripts/twitter/bootstrap/button.js +110 -0
  16. data/app/assets/javascripts/twitter/bootstrap/carousel.js +223 -0
  17. data/app/assets/javascripts/twitter/bootstrap/collapse.js +170 -0
  18. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +151 -0
  19. data/app/assets/javascripts/twitter/bootstrap/modal.js +280 -0
  20. data/app/assets/javascripts/twitter/bootstrap/popover.js +113 -0
  21. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +170 -0
  22. data/app/assets/javascripts/twitter/bootstrap/tab.js +128 -0
  23. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +457 -0
  24. data/app/assets/javascripts/twitter/bootstrap/transition.js +59 -0
  25. data/{vendor → app}/assets/javascripts/twitter/bootstrap_ujs.js +0 -0
  26. data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +1 -0
  27. data/app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +2026 -0
  28. data/app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +1 -0
  29. data/app/helpers/badge_label_helper.rb +16 -0
  30. data/app/helpers/bootstrap_flash_helper.rb +20 -6
  31. data/app/helpers/form_errors_helper.rb +22 -0
  32. data/app/helpers/glyph_helper.rb +13 -5
  33. data/app/helpers/modal_helper.rb +37 -20
  34. data/app/helpers/navbar_helper.rb +209 -0
  35. data/app/helpers/twitter_breadcrumbs_helper.rb +11 -2
  36. data/app/views/twitter-bootstrap/_breadcrumbs.html.erb +9 -9
  37. data/lib/generators/bootstrap/install/install_generator.rb +13 -8
  38. data/lib/generators/bootstrap/install/templates/bootstrap.coffee +2 -3
  39. data/lib/generators/bootstrap/install/templates/bootstrap.js +2 -3
  40. data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +14 -13
  41. data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +11 -5
  42. data/lib/generators/bootstrap/layout/layout_generator.rb +1 -4
  43. data/lib/generators/bootstrap/layout/templates/layout.html.erb +34 -58
  44. data/lib/generators/bootstrap/layout/templates/layout.html.haml +25 -44
  45. data/lib/generators/bootstrap/layout/templates/layout.html.slim +20 -39
  46. data/lib/generators/bootstrap/partial/templates/_login.html.erb +2 -3
  47. data/lib/generators/bootstrap/themed/templates/_form.html.erb +30 -10
  48. data/lib/generators/bootstrap/themed/templates/_form.html.haml +10 -8
  49. data/lib/generators/bootstrap/themed/templates/_form.html.slim +11 -9
  50. data/lib/generators/bootstrap/themed/templates/edit.html.erb +1 -2
  51. data/lib/generators/bootstrap/themed/templates/edit.html.haml +1 -1
  52. data/lib/generators/bootstrap/themed/templates/edit.html.slim +2 -2
  53. data/lib/generators/bootstrap/themed/templates/index.html.erb +3 -3
  54. data/lib/generators/bootstrap/themed/templates/index.html.haml +3 -3
  55. data/lib/generators/bootstrap/themed/templates/index.html.slim +5 -6
  56. data/lib/generators/bootstrap/themed/templates/new.html.erb +1 -2
  57. data/lib/generators/bootstrap/themed/templates/new.html.haml +1 -1
  58. data/lib/generators/bootstrap/themed/templates/new.html.slim +2 -2
  59. data/lib/generators/bootstrap/themed/templates/show.html.erb +6 -8
  60. data/lib/generators/bootstrap/themed/templates/show.html.haml +5 -5
  61. data/lib/generators/bootstrap/themed/templates/show.html.slim +7 -8
  62. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.erb +5 -5
  63. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml +3 -3
  64. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.slim +4 -4
  65. data/lib/generators/bootstrap/themed/themed_generator.rb +4 -4
  66. data/lib/twitter-bootstrap-rails.rb +4 -4
  67. data/lib/twitter/bootstrap/rails/breadcrumbs.rb +69 -0
  68. data/lib/twitter/bootstrap/rails/engine.rb +17 -7
  69. data/lib/twitter/bootstrap/rails/version.rb +1 -1
  70. data/spec/lib/breadcrumbs_spec.rb +99 -0
  71. data/spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb +30 -0
  72. data/spec/lib/twitter_bootstrap_rails/bootstrap_flash_helper_spec.rb +128 -0
  73. data/spec/lib/twitter_bootstrap_rails/form_errors_helper_spec.rb +148 -0
  74. data/spec/lib/twitter_bootstrap_rails/glyph_helper_spec.rb +24 -0
  75. data/spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb +62 -0
  76. data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +396 -0
  77. data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +49 -0
  78. data/spec/spec_helper.rb +21 -0
  79. data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +5990 -195
  80. data/vendor/static-source/bootstrap.less +0 -1
  81. data/vendor/static-source/fontawesome.less +7 -6
  82. data/vendor/static-source/sprites.less +3 -3
  83. data/vendor/toolkit/fontawesome/bordered-pulled.less +16 -0
  84. data/vendor/toolkit/fontawesome/core.less +11 -0
  85. data/vendor/toolkit/fontawesome/fixed-width.less +6 -0
  86. data/vendor/toolkit/fontawesome/font-awesome.less +17 -0
  87. data/vendor/toolkit/fontawesome/icons.less +552 -0
  88. data/vendor/toolkit/fontawesome/larger.less +13 -0
  89. data/vendor/toolkit/fontawesome/list.less +19 -0
  90. data/vendor/toolkit/fontawesome/mixins.less +25 -0
  91. data/vendor/toolkit/fontawesome/path.less +14 -0
  92. data/vendor/toolkit/fontawesome/rotated-flipped.less +20 -0
  93. data/vendor/toolkit/fontawesome/spinning.less +29 -0
  94. data/vendor/toolkit/fontawesome/stacked.less +20 -0
  95. data/vendor/toolkit/fontawesome/variables.less +561 -0
  96. data/vendor/toolkit/twitter/bootstrap/alerts.less +47 -58
  97. data/vendor/toolkit/twitter/bootstrap/badges.less +55 -0
  98. data/vendor/toolkit/twitter/bootstrap/bootstrap.less +26 -39
  99. data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +11 -9
  100. data/vendor/toolkit/twitter/bootstrap/button-groups.less +168 -152
  101. data/vendor/toolkit/twitter/bootstrap/buttons.less +101 -170
  102. data/vendor/toolkit/twitter/bootstrap/carousel.less +150 -65
  103. data/vendor/toolkit/twitter/bootstrap/close.less +20 -19
  104. data/vendor/toolkit/twitter/bootstrap/code.less +38 -30
  105. data/vendor/toolkit/twitter/bootstrap/component-animations.less +12 -3
  106. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +124 -146
  107. data/vendor/toolkit/twitter/bootstrap/forms.less +401 -547
  108. data/vendor/toolkit/twitter/bootstrap/glyphicons.less +234 -0
  109. data/vendor/toolkit/twitter/bootstrap/grid.less +74 -11
  110. data/vendor/toolkit/twitter/bootstrap/input-groups.less +166 -0
  111. data/vendor/toolkit/twitter/bootstrap/jumbotron.less +48 -0
  112. data/vendor/toolkit/twitter/bootstrap/labels.less +64 -0
  113. data/vendor/toolkit/twitter/bootstrap/list-group.less +132 -0
  114. data/vendor/toolkit/twitter/bootstrap/media.less +8 -7
  115. data/vendor/toolkit/twitter/bootstrap/mixins.less +36 -699
  116. data/vendor/toolkit/twitter/bootstrap/mixins/alerts.less +14 -0
  117. data/vendor/toolkit/twitter/bootstrap/mixins/background-variant.less +8 -0
  118. data/vendor/toolkit/twitter/bootstrap/mixins/border-radius.less +18 -0
  119. data/vendor/toolkit/twitter/bootstrap/mixins/buttons.less +52 -0
  120. data/vendor/toolkit/twitter/bootstrap/mixins/center-block.less +7 -0
  121. data/vendor/toolkit/twitter/bootstrap/mixins/clearfix.less +22 -0
  122. data/vendor/toolkit/twitter/bootstrap/mixins/forms.less +85 -0
  123. data/vendor/toolkit/twitter/bootstrap/mixins/gradients.less +59 -0
  124. data/vendor/toolkit/twitter/bootstrap/mixins/grid-framework.less +91 -0
  125. data/vendor/toolkit/twitter/bootstrap/mixins/grid.less +122 -0
  126. data/vendor/toolkit/twitter/bootstrap/mixins/hide-text.less +21 -0
  127. data/vendor/toolkit/twitter/bootstrap/mixins/image.less +33 -0
  128. data/vendor/toolkit/twitter/bootstrap/mixins/labels.less +12 -0
  129. data/vendor/toolkit/twitter/bootstrap/mixins/list-group.less +29 -0
  130. data/vendor/toolkit/twitter/bootstrap/mixins/nav-divider.less +10 -0
  131. data/vendor/toolkit/twitter/bootstrap/mixins/nav-vertical-align.less +9 -0
  132. data/vendor/toolkit/twitter/bootstrap/mixins/opacity.less +8 -0
  133. data/vendor/toolkit/twitter/bootstrap/mixins/pagination.less +23 -0
  134. data/vendor/toolkit/twitter/bootstrap/mixins/panels.less +24 -0
  135. data/vendor/toolkit/twitter/bootstrap/mixins/progress-bar.less +10 -0
  136. data/vendor/toolkit/twitter/bootstrap/mixins/reset-filter.less +8 -0
  137. data/vendor/toolkit/twitter/bootstrap/mixins/resize.less +6 -0
  138. data/vendor/toolkit/twitter/bootstrap/mixins/responsive-visibility.less +15 -0
  139. data/vendor/toolkit/twitter/bootstrap/mixins/size.less +10 -0
  140. data/vendor/toolkit/twitter/bootstrap/mixins/tab-focus.less +9 -0
  141. data/vendor/toolkit/twitter/bootstrap/mixins/table-row.less +28 -0
  142. data/vendor/toolkit/twitter/bootstrap/mixins/text-emphasis.less +8 -0
  143. data/vendor/toolkit/twitter/bootstrap/mixins/text-overflow.less +8 -0
  144. data/vendor/toolkit/twitter/bootstrap/mixins/vendor-prefixes.less +224 -0
  145. data/vendor/toolkit/twitter/bootstrap/modals.less +109 -54
  146. data/vendor/toolkit/twitter/bootstrap/navbar.less +542 -384
  147. data/vendor/toolkit/twitter/bootstrap/navs.less +192 -359
  148. data/vendor/toolkit/twitter/bootstrap/normalize.less +425 -0
  149. data/vendor/toolkit/twitter/bootstrap/pager.less +46 -34
  150. data/vendor/toolkit/twitter/bootstrap/pagination.less +70 -105
  151. data/vendor/toolkit/twitter/bootstrap/panels.less +248 -0
  152. data/vendor/toolkit/twitter/bootstrap/popovers.less +61 -61
  153. data/vendor/toolkit/twitter/bootstrap/print.less +101 -0
  154. data/vendor/toolkit/twitter/bootstrap/progress-bars.less +51 -73
  155. data/vendor/toolkit/twitter/bootstrap/responsive-embed.less +34 -0
  156. data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +177 -42
  157. data/vendor/toolkit/twitter/bootstrap/scaffolding.less +120 -23
  158. data/vendor/toolkit/twitter/bootstrap/tables.less +171 -182
  159. data/vendor/toolkit/twitter/bootstrap/theme.less +260 -0
  160. data/vendor/toolkit/twitter/bootstrap/thumbnails.less +26 -43
  161. data/vendor/toolkit/twitter/bootstrap/tooltip.less +49 -24
  162. data/vendor/toolkit/twitter/bootstrap/type.less +208 -147
  163. data/vendor/toolkit/twitter/bootstrap/utilities.less +33 -7
  164. data/vendor/toolkit/twitter/bootstrap/variables.less +761 -215
  165. data/vendor/toolkit/twitter/bootstrap/wells.less +7 -7
  166. metadata +199 -92
  167. data/lib/generators/bootstrap/partial/templates/_navbar.html.erb +0 -13
  168. data/lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb +0 -42
  169. data/test/lib/breadcrumbs_test.rb +0 -75
  170. data/test/test_helper.rb +0 -8
  171. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  172. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  173. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  174. data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
  175. data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
  176. data/vendor/assets/javascripts/twitter/bootstrap.js +0 -13
  177. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +0 -117
  178. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +0 -99
  179. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js +0 -105
  180. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +0 -207
  181. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +0 -167
  182. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +0 -165
  183. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +0 -247
  184. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +0 -114
  185. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +0 -162
  186. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +0 -144
  187. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +0 -353
  188. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +0 -60
  189. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +0 -335
  190. data/vendor/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +0 -531
  191. data/vendor/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +0 -146
  192. data/vendor/toolkit/fontawesome-ie7.less +0 -350
  193. data/vendor/toolkit/fontawesome.less +0 -532
  194. data/vendor/toolkit/twitter/bootstrap/accordion.less +0 -34
  195. data/vendor/toolkit/twitter/bootstrap/hero-unit.less +0 -25
  196. data/vendor/toolkit/twitter/bootstrap/labels-badges.less +0 -84
  197. data/vendor/toolkit/twitter/bootstrap/layouts.less +0 -16
  198. data/vendor/toolkit/twitter/bootstrap/reset.less +0 -216
  199. data/vendor/toolkit/twitter/bootstrap/responsive-1200px-min.less +0 -28
  200. data/vendor/toolkit/twitter/bootstrap/responsive-767px-max.less +0 -193
  201. data/vendor/toolkit/twitter/bootstrap/responsive-768px-979px.less +0 -19
  202. data/vendor/toolkit/twitter/bootstrap/responsive-navbar.less +0 -189
  203. data/vendor/toolkit/twitter/bootstrap/responsive.less +0 -48
  204. data/vendor/toolkit/twitter/bootstrap/sprites.less +0 -197
@@ -0,0 +1,234 @@
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
+
12
+ @font-face {
13
+ font-family: 'Glyphicons Halflings';
14
+ src: @glyphiconsEotPath;
15
+ src: @glyphiconsEotPath_iefix format('embedded-opentype'),
16
+ @glyphiconsWoffPath format('woff'),
17
+ @glyphiconsTtfPath format('truetype'),
18
+ @glyphiconsSvgPath 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 { &:before { content: "\20ac"; } }
38
+ .glyphicon-minus { &:before { content: "\2212"; } }
39
+ .glyphicon-cloud { &:before { content: "\2601"; } }
40
+ .glyphicon-envelope { &:before { content: "\2709"; } }
41
+ .glyphicon-pencil { &:before { content: "\270f"; } }
42
+ .glyphicon-glass { &:before { content: "\e001"; } }
43
+ .glyphicon-music { &:before { content: "\e002"; } }
44
+ .glyphicon-search { &:before { content: "\e003"; } }
45
+ .glyphicon-heart { &:before { content: "\e005"; } }
46
+ .glyphicon-star { &:before { content: "\e006"; } }
47
+ .glyphicon-star-empty { &:before { content: "\e007"; } }
48
+ .glyphicon-user { &:before { content: "\e008"; } }
49
+ .glyphicon-film { &:before { content: "\e009"; } }
50
+ .glyphicon-th-large { &:before { content: "\e010"; } }
51
+ .glyphicon-th { &:before { content: "\e011"; } }
52
+ .glyphicon-th-list { &:before { content: "\e012"; } }
53
+ .glyphicon-ok { &:before { content: "\e013"; } }
54
+ .glyphicon-remove { &:before { content: "\e014"; } }
55
+ .glyphicon-zoom-in { &:before { content: "\e015"; } }
56
+ .glyphicon-zoom-out { &:before { content: "\e016"; } }
57
+ .glyphicon-off { &:before { content: "\e017"; } }
58
+ .glyphicon-signal { &:before { content: "\e018"; } }
59
+ .glyphicon-cog { &:before { content: "\e019"; } }
60
+ .glyphicon-trash { &:before { content: "\e020"; } }
61
+ .glyphicon-home { &:before { content: "\e021"; } }
62
+ .glyphicon-file { &:before { content: "\e022"; } }
63
+ .glyphicon-time { &:before { content: "\e023"; } }
64
+ .glyphicon-road { &:before { content: "\e024"; } }
65
+ .glyphicon-download-alt { &:before { content: "\e025"; } }
66
+ .glyphicon-download { &:before { content: "\e026"; } }
67
+ .glyphicon-upload { &:before { content: "\e027"; } }
68
+ .glyphicon-inbox { &:before { content: "\e028"; } }
69
+ .glyphicon-play-circle { &:before { content: "\e029"; } }
70
+ .glyphicon-repeat { &:before { content: "\e030"; } }
71
+ .glyphicon-refresh { &:before { content: "\e031"; } }
72
+ .glyphicon-list-alt { &:before { content: "\e032"; } }
73
+ .glyphicon-lock { &:before { content: "\e033"; } }
74
+ .glyphicon-flag { &:before { content: "\e034"; } }
75
+ .glyphicon-headphones { &:before { content: "\e035"; } }
76
+ .glyphicon-volume-off { &:before { content: "\e036"; } }
77
+ .glyphicon-volume-down { &:before { content: "\e037"; } }
78
+ .glyphicon-volume-up { &:before { content: "\e038"; } }
79
+ .glyphicon-qrcode { &:before { content: "\e039"; } }
80
+ .glyphicon-barcode { &:before { content: "\e040"; } }
81
+ .glyphicon-tag { &:before { content: "\e041"; } }
82
+ .glyphicon-tags { &:before { content: "\e042"; } }
83
+ .glyphicon-book { &:before { content: "\e043"; } }
84
+ .glyphicon-bookmark { &:before { content: "\e044"; } }
85
+ .glyphicon-print { &:before { content: "\e045"; } }
86
+ .glyphicon-camera { &:before { content: "\e046"; } }
87
+ .glyphicon-font { &:before { content: "\e047"; } }
88
+ .glyphicon-bold { &:before { content: "\e048"; } }
89
+ .glyphicon-italic { &:before { content: "\e049"; } }
90
+ .glyphicon-text-height { &:before { content: "\e050"; } }
91
+ .glyphicon-text-width { &:before { content: "\e051"; } }
92
+ .glyphicon-align-left { &:before { content: "\e052"; } }
93
+ .glyphicon-align-center { &:before { content: "\e053"; } }
94
+ .glyphicon-align-right { &:before { content: "\e054"; } }
95
+ .glyphicon-align-justify { &:before { content: "\e055"; } }
96
+ .glyphicon-list { &:before { content: "\e056"; } }
97
+ .glyphicon-indent-left { &:before { content: "\e057"; } }
98
+ .glyphicon-indent-right { &:before { content: "\e058"; } }
99
+ .glyphicon-facetime-video { &:before { content: "\e059"; } }
100
+ .glyphicon-picture { &:before { content: "\e060"; } }
101
+ .glyphicon-map-marker { &:before { content: "\e062"; } }
102
+ .glyphicon-adjust { &:before { content: "\e063"; } }
103
+ .glyphicon-tint { &:before { content: "\e064"; } }
104
+ .glyphicon-edit { &:before { content: "\e065"; } }
105
+ .glyphicon-share { &:before { content: "\e066"; } }
106
+ .glyphicon-check { &:before { content: "\e067"; } }
107
+ .glyphicon-move { &:before { content: "\e068"; } }
108
+ .glyphicon-step-backward { &:before { content: "\e069"; } }
109
+ .glyphicon-fast-backward { &:before { content: "\e070"; } }
110
+ .glyphicon-backward { &:before { content: "\e071"; } }
111
+ .glyphicon-play { &:before { content: "\e072"; } }
112
+ .glyphicon-pause { &:before { content: "\e073"; } }
113
+ .glyphicon-stop { &:before { content: "\e074"; } }
114
+ .glyphicon-forward { &:before { content: "\e075"; } }
115
+ .glyphicon-fast-forward { &:before { content: "\e076"; } }
116
+ .glyphicon-step-forward { &:before { content: "\e077"; } }
117
+ .glyphicon-eject { &:before { content: "\e078"; } }
118
+ .glyphicon-chevron-left { &:before { content: "\e079"; } }
119
+ .glyphicon-chevron-right { &:before { content: "\e080"; } }
120
+ .glyphicon-plus-sign { &:before { content: "\e081"; } }
121
+ .glyphicon-minus-sign { &:before { content: "\e082"; } }
122
+ .glyphicon-remove-sign { &:before { content: "\e083"; } }
123
+ .glyphicon-ok-sign { &:before { content: "\e084"; } }
124
+ .glyphicon-question-sign { &:before { content: "\e085"; } }
125
+ .glyphicon-info-sign { &:before { content: "\e086"; } }
126
+ .glyphicon-screenshot { &:before { content: "\e087"; } }
127
+ .glyphicon-remove-circle { &:before { content: "\e088"; } }
128
+ .glyphicon-ok-circle { &:before { content: "\e089"; } }
129
+ .glyphicon-ban-circle { &:before { content: "\e090"; } }
130
+ .glyphicon-arrow-left { &:before { content: "\e091"; } }
131
+ .glyphicon-arrow-right { &:before { content: "\e092"; } }
132
+ .glyphicon-arrow-up { &:before { content: "\e093"; } }
133
+ .glyphicon-arrow-down { &:before { content: "\e094"; } }
134
+ .glyphicon-share-alt { &:before { content: "\e095"; } }
135
+ .glyphicon-resize-full { &:before { content: "\e096"; } }
136
+ .glyphicon-resize-small { &:before { content: "\e097"; } }
137
+ .glyphicon-exclamation-sign { &:before { content: "\e101"; } }
138
+ .glyphicon-gift { &:before { content: "\e102"; } }
139
+ .glyphicon-leaf { &:before { content: "\e103"; } }
140
+ .glyphicon-fire { &:before { content: "\e104"; } }
141
+ .glyphicon-eye-open { &:before { content: "\e105"; } }
142
+ .glyphicon-eye-close { &:before { content: "\e106"; } }
143
+ .glyphicon-warning-sign { &:before { content: "\e107"; } }
144
+ .glyphicon-plane { &:before { content: "\e108"; } }
145
+ .glyphicon-calendar { &:before { content: "\e109"; } }
146
+ .glyphicon-random { &:before { content: "\e110"; } }
147
+ .glyphicon-comment { &:before { content: "\e111"; } }
148
+ .glyphicon-magnet { &:before { content: "\e112"; } }
149
+ .glyphicon-chevron-up { &:before { content: "\e113"; } }
150
+ .glyphicon-chevron-down { &:before { content: "\e114"; } }
151
+ .glyphicon-retweet { &:before { content: "\e115"; } }
152
+ .glyphicon-shopping-cart { &:before { content: "\e116"; } }
153
+ .glyphicon-folder-close { &:before { content: "\e117"; } }
154
+ .glyphicon-folder-open { &:before { content: "\e118"; } }
155
+ .glyphicon-resize-vertical { &:before { content: "\e119"; } }
156
+ .glyphicon-resize-horizontal { &:before { content: "\e120"; } }
157
+ .glyphicon-hdd { &:before { content: "\e121"; } }
158
+ .glyphicon-bullhorn { &:before { content: "\e122"; } }
159
+ .glyphicon-bell { &:before { content: "\e123"; } }
160
+ .glyphicon-certificate { &:before { content: "\e124"; } }
161
+ .glyphicon-thumbs-up { &:before { content: "\e125"; } }
162
+ .glyphicon-thumbs-down { &:before { content: "\e126"; } }
163
+ .glyphicon-hand-right { &:before { content: "\e127"; } }
164
+ .glyphicon-hand-left { &:before { content: "\e128"; } }
165
+ .glyphicon-hand-up { &:before { content: "\e129"; } }
166
+ .glyphicon-hand-down { &:before { content: "\e130"; } }
167
+ .glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
168
+ .glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
169
+ .glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
170
+ .glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
171
+ .glyphicon-globe { &:before { content: "\e135"; } }
172
+ .glyphicon-wrench { &:before { content: "\e136"; } }
173
+ .glyphicon-tasks { &:before { content: "\e137"; } }
174
+ .glyphicon-filter { &:before { content: "\e138"; } }
175
+ .glyphicon-briefcase { &:before { content: "\e139"; } }
176
+ .glyphicon-fullscreen { &:before { content: "\e140"; } }
177
+ .glyphicon-dashboard { &:before { content: "\e141"; } }
178
+ .glyphicon-paperclip { &:before { content: "\e142"; } }
179
+ .glyphicon-heart-empty { &:before { content: "\e143"; } }
180
+ .glyphicon-link { &:before { content: "\e144"; } }
181
+ .glyphicon-phone { &:before { content: "\e145"; } }
182
+ .glyphicon-pushpin { &:before { content: "\e146"; } }
183
+ .glyphicon-usd { &:before { content: "\e148"; } }
184
+ .glyphicon-gbp { &:before { content: "\e149"; } }
185
+ .glyphicon-sort { &:before { content: "\e150"; } }
186
+ .glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
187
+ .glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
188
+ .glyphicon-sort-by-order { &:before { content: "\e153"; } }
189
+ .glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
190
+ .glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
191
+ .glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
192
+ .glyphicon-unchecked { &:before { content: "\e157"; } }
193
+ .glyphicon-expand { &:before { content: "\e158"; } }
194
+ .glyphicon-collapse-down { &:before { content: "\e159"; } }
195
+ .glyphicon-collapse-up { &:before { content: "\e160"; } }
196
+ .glyphicon-log-in { &:before { content: "\e161"; } }
197
+ .glyphicon-flash { &:before { content: "\e162"; } }
198
+ .glyphicon-log-out { &:before { content: "\e163"; } }
199
+ .glyphicon-new-window { &:before { content: "\e164"; } }
200
+ .glyphicon-record { &:before { content: "\e165"; } }
201
+ .glyphicon-save { &:before { content: "\e166"; } }
202
+ .glyphicon-open { &:before { content: "\e167"; } }
203
+ .glyphicon-saved { &:before { content: "\e168"; } }
204
+ .glyphicon-import { &:before { content: "\e169"; } }
205
+ .glyphicon-export { &:before { content: "\e170"; } }
206
+ .glyphicon-send { &:before { content: "\e171"; } }
207
+ .glyphicon-floppy-disk { &:before { content: "\e172"; } }
208
+ .glyphicon-floppy-saved { &:before { content: "\e173"; } }
209
+ .glyphicon-floppy-remove { &:before { content: "\e174"; } }
210
+ .glyphicon-floppy-save { &:before { content: "\e175"; } }
211
+ .glyphicon-floppy-open { &:before { content: "\e176"; } }
212
+ .glyphicon-credit-card { &:before { content: "\e177"; } }
213
+ .glyphicon-transfer { &:before { content: "\e178"; } }
214
+ .glyphicon-cutlery { &:before { content: "\e179"; } }
215
+ .glyphicon-header { &:before { content: "\e180"; } }
216
+ .glyphicon-compressed { &:before { content: "\e181"; } }
217
+ .glyphicon-earphone { &:before { content: "\e182"; } }
218
+ .glyphicon-phone-alt { &:before { content: "\e183"; } }
219
+ .glyphicon-tower { &:before { content: "\e184"; } }
220
+ .glyphicon-stats { &:before { content: "\e185"; } }
221
+ .glyphicon-sd-video { &:before { content: "\e186"; } }
222
+ .glyphicon-hd-video { &:before { content: "\e187"; } }
223
+ .glyphicon-subtitles { &:before { content: "\e188"; } }
224
+ .glyphicon-sound-stereo { &:before { content: "\e189"; } }
225
+ .glyphicon-sound-dolby { &:before { content: "\e190"; } }
226
+ .glyphicon-sound-5-1 { &:before { content: "\e191"; } }
227
+ .glyphicon-sound-6-1 { &:before { content: "\e192"; } }
228
+ .glyphicon-sound-7-1 { &:before { content: "\e193"; } }
229
+ .glyphicon-copyright-mark { &:before { content: "\e194"; } }
230
+ .glyphicon-registration-mark { &:before { content: "\e195"; } }
231
+ .glyphicon-cloud-download { &:before { content: "\e197"; } }
232
+ .glyphicon-cloud-upload { &:before { content: "\e198"; } }
233
+ .glyphicon-tree-conifer { &:before { content: "\e199"; } }
234
+ .glyphicon-tree-deciduous { &:before { content: "\e200"; } }
@@ -3,19 +3,82 @@
3
3
  // --------------------------------------------------
4
4
 
5
5
 
6
- // Fixed (940px)
7
- #grid > .core(@gridColumnWidth, @gridGutterWidth);
6
+ // Container widths
7
+ //
8
+ // Set the container width, and override it for fixed navbars in media queries.
9
+
10
+ .container {
11
+ .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
+ .container-fixed();
32
+ }
33
+
34
+
35
+ // Row
36
+ //
37
+ // Rows contain and clear the floats of your columns.
38
+
39
+ .row {
40
+ .make-row();
41
+ }
42
+
43
+
44
+ // Columns
45
+ //
46
+ // Common styles for small and large grid columns
47
+
48
+ .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
+ .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
+ .make-grid(sm);
66
+ }
67
+
8
68
 
9
- // Fluid (940px)
10
- #grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth);
69
+ // Medium grid
70
+ //
71
+ // Columns, offsets, pushes, and pulls for the desktop device range.
11
72
 
12
- // Reset utility classes due to specificity
13
- [class*="span"].hide,
14
- .row-fluid [class*="span"].hide {
15
- display: none;
73
+ @media (min-width: @screen-md-min) {
74
+ .make-grid(md);
16
75
  }
17
76
 
18
- [class*="span"].pull-right,
19
- .row-fluid [class*="span"].pull-right {
20
- float: right;
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
+ .make-grid(lg);
21
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
+ .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
+ .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
+ .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
+ .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
+ }