webgen-sass_twitter_bootstrap-bundle 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +15 -0
  2. data/ChangeLog +3 -0
  3. data/LICENSE +20 -0
  4. data/README.md +61 -0
  5. data/VERSION +1 -0
  6. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_accordion.scss +34 -0
  7. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_alerts.scss +65 -0
  8. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_breadcrumbs.scss +24 -0
  9. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_button-groups.scss +242 -0
  10. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_buttons.scss +232 -0
  11. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_carousel.scss +131 -0
  12. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_close.scss +31 -0
  13. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_code.scss +58 -0
  14. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_component-animations.scss +22 -0
  15. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_dropdowns.scss +237 -0
  16. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_forms.scss +682 -0
  17. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_grid.scss +21 -0
  18. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_hero-unit.scss +25 -0
  19. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_labels-badges.scss +71 -0
  20. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_layouts.scss +16 -0
  21. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_media.scss +55 -0
  22. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_mixins.scss +684 -0
  23. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_modals.scss +95 -0
  24. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_navbar.scss +472 -0
  25. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_navs.scss +385 -0
  26. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_pager.scss +41 -0
  27. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_pagination.scss +121 -0
  28. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_popovers.scss +117 -0
  29. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_progress-bars.scss +122 -0
  30. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_reset.scss +138 -0
  31. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-1200px-min.scss +28 -0
  32. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-767px-max.scss +193 -0
  33. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-768px-979px.scss +19 -0
  34. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-navbar.scss +185 -0
  35. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-utilities.scss +58 -0
  36. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_scaffolding.scss +52 -0
  37. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_sprites.scss +195 -0
  38. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_tables.scss +227 -0
  39. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_thumbnails.scss +52 -0
  40. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_tooltip.scss +70 -0
  41. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_type.scss +227 -0
  42. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_utilities.scss +45 -0
  43. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_variables.scss +301 -0
  44. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_wells.scss +29 -0
  45. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/bootstrap.scss +63 -0
  46. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/responsive.scss +48 -0
  47. data/lib/webgen/bundle/sass_twitter_bootstrap/data/img/glyphicons-halflings-white.png +0 -0
  48. data/lib/webgen/bundle/sass_twitter_bootstrap/data/img/glyphicons-halflings.png +0 -0
  49. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-affix.js +106 -0
  50. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-alert.js +88 -0
  51. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-button.js +94 -0
  52. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-carousel.js +176 -0
  53. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-collapse.js +156 -0
  54. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-dropdown.js +148 -0
  55. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-modal.js +234 -0
  56. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-popover.js +103 -0
  57. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-scrollspy.js +151 -0
  58. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-tab.js +133 -0
  59. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-tooltip.js +276 -0
  60. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-transition.js +60 -0
  61. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-typeahead.js +310 -0
  62. data/lib/webgen/bundle/sass_twitter_bootstrap/info.yaml +9 -0
  63. data/lib/webgen/bundle/sass_twitter_bootstrap/init.rb +3 -0
  64. metadata +126 -0
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ N2JjNDE2MjE1NDI4OTFjYzAzMmY5ZGIxZDNiMDE4NWUyM2I5OWQ2Zg==
5
+ data.tar.gz: !binary |-
6
+ MjVlZWE3Mjc5OTJlNmQwOWU3ZjBhZmYwZGI5MDkzNjBlMzZkZWI3Mg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MmI0MDc3MDkxZDkwOTU2NjgxYTFlNDRlZGFhNTU4NjEwYTI1M2M0N2VmZmZl
10
+ YWUyMzNhODUxYjc4MzViNzRiNGZmY2MyZjA2YjUwMjcwMjBkMDk5ZWM0YTUy
11
+ YTMxMTk5MTdmYmUxZTRlNTIwZTVjNmIyNzMyODgxN2VjNDI0NTU=
12
+ data.tar.gz: !binary |-
13
+ M2VmZTJkNWY0YTFiMjdmYzYzNmJiMTIzOTZiYmQwNTFjZTExMzQzNTRjYmUy
14
+ MzMyMTJlNDkyYzE1YzI3NDJiOTZkOTY4NGRjODZhY2M4OWE4YjRhNjE2MGRl
15
+ NGQyZTc3ZTEzYjFhMmE4MGI1YjgwMzViNjNhYzZjY2FlNDliNDQ=
@@ -0,0 +1,3 @@
1
+ # 2013-08-25, Version 1.0.0
2
+
3
+ - Initial release with Twitter Bootstrap v2.2.1
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Thomas Leitner
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a
4
+ copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,61 @@
1
+ # Sass Twitter Bootstrap framework for webgen
2
+
3
+ This is a [webgen] extension bundle that provides the [Sass][1] port of
4
+ the [Twitter Bootstrap framework][2]. This allows the easy inclusion of
5
+ parts or all of the Twitter Bootstrap framework in webgen websites.
6
+
7
+ It is based on the great LESS-to-Sass translation
8
+ [sass-twitter-bootstrap][3].
9
+
10
+ [webgen]: http://webgen.rubyforge.org
11
+ [1]: http://sass-lang.com
12
+ [2]: http://twitter.github.com/bootstrap/
13
+ [3]: https://github.com/jlong/sass-twitter-bootstrap
14
+
15
+
16
+ # Usage
17
+
18
+ Since this is a port of the Twitter Bootstrap CSS framework to Sass, you
19
+ can only use it if you use Sass. The needed Sass stylesheets are
20
+ provided under the `/bootstrap/` path. *Note* that the Sass files are
21
+ only available to the Sass/Scss content processors, i.e. no nodes are
22
+ created for them!
23
+
24
+ The following statement placed in any Sass stylesheet you use in your
25
+ webgen website would import the whole Bootstrap CSS framework:
26
+
27
+ @import "/bootstrap/bootstrap"
28
+
29
+ The Twitter Bootstrap javascript files are provided as passive nodes
30
+ under the `/javascripts/` path. Note that they depend on [JQuery], so
31
+ the JQuery javascript library needs to be loaded before any of these
32
+ files!
33
+
34
+ [JQuery]: http://jquery.com
35
+
36
+
37
+ # Installation
38
+
39
+ The easiest way to install this extension bundle is by installing the
40
+ corresponding Rubygem:
41
+
42
+ gem install webgen-sass_twitter_bootstrap-bundle
43
+
44
+ If you don't use Rubygems, copy the folder
45
+ `lib/webgen/bundle/sass_twitter_bootstrap` into your `ext` directory.
46
+
47
+ After that you just need to tell webgen to use this extension bundle by
48
+ adding the following line to your `ext/init.rb` file:
49
+
50
+ load("sass_twitter_bootstrap")
51
+
52
+
53
+ # Copyright and license
54
+
55
+ Copyright (c) 2013 Thomas Leitner under the MIT license (see LICENSE)
56
+
57
+ * * *
58
+
59
+ The used files from the sass-twitter-bootstrap repository are licensed
60
+ under the Apache License, Version 2 (see
61
+ <https://github.com/jlong/sass-twitter-bootstrap#copyright-and-license>).
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,34 @@
1
+ //
2
+ // Accordion
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Parent container
7
+ .accordion {
8
+ margin-bottom: $baseLineHeight;
9
+ }
10
+
11
+ // Group == heading + body
12
+ .accordion-group {
13
+ margin-bottom: 2px;
14
+ border: 1px solid #e5e5e5;
15
+ @include border-radius($baseBorderRadius);
16
+ }
17
+ .accordion-heading {
18
+ border-bottom: 0;
19
+ }
20
+ .accordion-heading .accordion-toggle {
21
+ display: block;
22
+ padding: 8px 15px;
23
+ }
24
+
25
+ // General toggle styles
26
+ .accordion-toggle {
27
+ cursor: pointer;
28
+ }
29
+
30
+ // Inner needs the styles because you can't animate properly with any styles on the element
31
+ .accordion-inner {
32
+ padding: 9px 15px;
33
+ border-top: 1px solid #e5e5e5;
34
+ }
@@ -0,0 +1,65 @@
1
+ //
2
+ // Alerts
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // -------------------------
8
+
9
+ .alert {
10
+ padding: 8px 35px 8px 14px;
11
+ margin-bottom: $baseLineHeight;
12
+ text-shadow: 0 1px 0 rgba(255,255,255,.5);
13
+ background-color: $warningBackground;
14
+ border: 1px solid $warningBorder;
15
+ @include border-radius($baseBorderRadius);
16
+ color: $warningText;
17
+ }
18
+ .alert h4 {
19
+ margin: 0;
20
+ }
21
+
22
+ // Adjust close link position
23
+ .alert .close {
24
+ position: relative;
25
+ top: -2px;
26
+ right: -21px;
27
+ line-height: $baseLineHeight;
28
+ }
29
+
30
+
31
+ // Alternate styles
32
+ // -------------------------
33
+
34
+ .alert-success {
35
+ background-color: $successBackground;
36
+ border-color: $successBorder;
37
+ color: $successText;
38
+ }
39
+ .alert-danger,
40
+ .alert-error {
41
+ background-color: $errorBackground;
42
+ border-color: $errorBorder;
43
+ color: $errorText;
44
+ }
45
+ .alert-info {
46
+ background-color: $infoBackground;
47
+ border-color: $infoBorder;
48
+ color: $infoText;
49
+ }
50
+
51
+
52
+ // Block alerts
53
+ // -------------------------
54
+
55
+ .alert-block {
56
+ padding-top: 14px;
57
+ padding-bottom: 14px;
58
+ }
59
+ .alert-block > p,
60
+ .alert-block > ul {
61
+ margin-bottom: 0;
62
+ }
63
+ .alert-block p + p {
64
+ margin-top: 5px;
65
+ }
@@ -0,0 +1,24 @@
1
+ //
2
+ // Breadcrumbs
3
+ // --------------------------------------------------
4
+
5
+
6
+ .breadcrumb {
7
+ padding: 8px 15px;
8
+ margin: 0 0 $baseLineHeight;
9
+ list-style: none;
10
+ background-color: #f5f5f5;
11
+ @include border-radius($baseBorderRadius);
12
+ li {
13
+ display: inline-block;
14
+ @include ie7-inline-block();
15
+ text-shadow: 0 1px 0 $white;
16
+ }
17
+ .divider {
18
+ padding: 0 5px;
19
+ color: #ccc;
20
+ }
21
+ .active {
22
+ color: $grayLight;
23
+ }
24
+ }
@@ -0,0 +1,242 @@
1
+ //
2
+ // Button groups
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Make the div behave like a button
7
+ .btn-group {
8
+ position: relative;
9
+ display: inline-block;
10
+ @include ie7-inline-block();
11
+ font-size: 0; // remove as part 1 of font-size inline-block hack
12
+ vertical-align: middle; // match .btn alignment given font-size hack above
13
+ white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page)
14
+ @include ie7-restore-left-whitespace();
15
+ }
16
+
17
+ // Space out series of button groups
18
+ .btn-group + .btn-group {
19
+ margin-left: 5px;
20
+ }
21
+
22
+ // Optional: Group multiple button groups together for a toolbar
23
+ .btn-toolbar {
24
+ font-size: 0; // Hack to remove whitespace that results from using inline-block
25
+ margin-top: $baseLineHeight / 2;
26
+ margin-bottom: $baseLineHeight / 2;
27
+ .btn + .btn,
28
+ .btn-group + .btn,
29
+ .btn + .btn-group {
30
+ margin-left: 5px;
31
+ }
32
+ }
33
+
34
+ // Float them, remove border radius, then re-add to first and last elements
35
+ .btn-group > .btn {
36
+ position: relative;
37
+ @include border-radius(0);
38
+ }
39
+ .btn-group > .btn + .btn {
40
+ margin-left: -1px;
41
+ }
42
+ .btn-group > .btn,
43
+ .btn-group > .dropdown-menu {
44
+ font-size: $baseFontSize; // redeclare as part 2 of font-size inline-block hack
45
+ }
46
+
47
+ // Reset fonts for other sizes
48
+ .btn-group > .btn-mini {
49
+ font-size: 11px;
50
+ }
51
+ .btn-group > .btn-small {
52
+ font-size: 12px;
53
+ }
54
+ .btn-group > .btn-large {
55
+ font-size: 16px;
56
+ }
57
+
58
+ // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
59
+ .btn-group > .btn:first-child {
60
+ margin-left: 0;
61
+ -webkit-border-top-left-radius: 4px;
62
+ -moz-border-radius-topleft: 4px;
63
+ border-top-left-radius: 4px;
64
+ -webkit-border-bottom-left-radius: 4px;
65
+ -moz-border-radius-bottomleft: 4px;
66
+ border-bottom-left-radius: 4px;
67
+ }
68
+ // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
69
+ .btn-group > .btn:last-child,
70
+ .btn-group > .dropdown-toggle {
71
+ -webkit-border-top-right-radius: 4px;
72
+ -moz-border-radius-topright: 4px;
73
+ border-top-right-radius: 4px;
74
+ -webkit-border-bottom-right-radius: 4px;
75
+ -moz-border-radius-bottomright: 4px;
76
+ border-bottom-right-radius: 4px;
77
+ }
78
+ // Reset corners for large buttons
79
+ .btn-group > .btn.large:first-child {
80
+ margin-left: 0;
81
+ -webkit-border-top-left-radius: 6px;
82
+ -moz-border-radius-topleft: 6px;
83
+ border-top-left-radius: 6px;
84
+ -webkit-border-bottom-left-radius: 6px;
85
+ -moz-border-radius-bottomleft: 6px;
86
+ border-bottom-left-radius: 6px;
87
+ }
88
+ .btn-group > .btn.large:last-child,
89
+ .btn-group > .large.dropdown-toggle {
90
+ -webkit-border-top-right-radius: 6px;
91
+ -moz-border-radius-topright: 6px;
92
+ border-top-right-radius: 6px;
93
+ -webkit-border-bottom-right-radius: 6px;
94
+ -moz-border-radius-bottomright: 6px;
95
+ border-bottom-right-radius: 6px;
96
+ }
97
+
98
+ // On hover/focus/active, bring the proper btn to front
99
+ .btn-group > .btn:hover,
100
+ .btn-group > .btn:focus,
101
+ .btn-group > .btn:active,
102
+ .btn-group > .btn.active {
103
+ z-index: 2;
104
+ }
105
+
106
+ // On active and open, don't show outline
107
+ .btn-group .dropdown-toggle:active,
108
+ .btn-group.open .dropdown-toggle {
109
+ outline: 0;
110
+ }
111
+
112
+
113
+
114
+ // Split button dropdowns
115
+ // ----------------------
116
+
117
+ // Give the line between buttons some depth
118
+ .btn-group > .btn + .dropdown-toggle {
119
+ padding-left: 8px;
120
+ padding-right: 8px;
121
+ @include box-shadow(inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05));
122
+ *padding-top: 5px;
123
+ *padding-bottom: 5px;
124
+ }
125
+ .btn-group > .btn-mini + .dropdown-toggle {
126
+ padding-left: 5px;
127
+ padding-right: 5px;
128
+ *padding-top: 2px;
129
+ *padding-bottom: 2px;
130
+ }
131
+ .btn-group > .btn-small + .dropdown-toggle {
132
+ *padding-top: 5px;
133
+ *padding-bottom: 4px;
134
+ }
135
+ .btn-group > .btn-large + .dropdown-toggle {
136
+ padding-left: 12px;
137
+ padding-right: 12px;
138
+ *padding-top: 7px;
139
+ *padding-bottom: 7px;
140
+ }
141
+
142
+ .btn-group.open {
143
+
144
+ // The clickable button for toggling the menu
145
+ // Remove the gradient and set the same inset shadow as the :active state
146
+ .dropdown-toggle {
147
+ background-image: none;
148
+ @include box-shadow(inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05));
149
+ }
150
+
151
+ // Keep the hover's background when dropdown is open
152
+ .btn.dropdown-toggle {
153
+ background-color: $btnBackgroundHighlight;
154
+ }
155
+ .btn-primary.dropdown-toggle {
156
+ background-color: $btnPrimaryBackgroundHighlight;
157
+ }
158
+ .btn-warning.dropdown-toggle {
159
+ background-color: $btnWarningBackgroundHighlight;
160
+ }
161
+ .btn-danger.dropdown-toggle {
162
+ background-color: $btnDangerBackgroundHighlight;
163
+ }
164
+ .btn-success.dropdown-toggle {
165
+ background-color: $btnSuccessBackgroundHighlight;
166
+ }
167
+ .btn-info.dropdown-toggle {
168
+ background-color: $btnInfoBackgroundHighlight;
169
+ }
170
+ .btn-inverse.dropdown-toggle {
171
+ background-color: $btnInverseBackgroundHighlight;
172
+ }
173
+ }
174
+
175
+
176
+ // Reposition the caret
177
+ .btn .caret {
178
+ margin-top: 8px;
179
+ margin-left: 0;
180
+ }
181
+ // Carets in other button sizes
182
+ .btn-mini .caret,
183
+ .btn-small .caret,
184
+ .btn-large .caret {
185
+ margin-top: 6px;
186
+ }
187
+ .btn-large .caret {
188
+ border-left-width: 5px;
189
+ border-right-width: 5px;
190
+ border-top-width: 5px;
191
+ }
192
+ // Upside down carets for .dropup
193
+ .dropup .btn-large .caret {
194
+ border-bottom-width: 5px;
195
+ }
196
+
197
+
198
+
199
+ // Account for other colors
200
+ .btn-primary,
201
+ .btn-warning,
202
+ .btn-danger,
203
+ .btn-info,
204
+ .btn-success,
205
+ .btn-inverse {
206
+ .caret {
207
+ border-top-color: $white;
208
+ border-bottom-color: $white;
209
+ }
210
+ }
211
+
212
+
213
+
214
+ // Vertical button groups
215
+ // ----------------------
216
+
217
+ .btn-group-vertical {
218
+ display: inline-block; // makes buttons only take up the width they need
219
+ @include ie7-inline-block();
220
+ }
221
+ .btn-group-vertical .btn {
222
+ display: block;
223
+ float: none;
224
+ width: 100%;
225
+ @include border-radius(0);
226
+ }
227
+ .btn-group-vertical .btn + .btn {
228
+ margin-left: 0;
229
+ margin-top: -1px;
230
+ }
231
+ .btn-group-vertical .btn:first-child {
232
+ @include border-radius(4px 4px 0 0);
233
+ }
234
+ .btn-group-vertical .btn:last-child {
235
+ @include border-radius(0 0 4px 4px);
236
+ }
237
+ .btn-group-vertical .btn-large:first-child {
238
+ @include border-radius(6px 6px 0 0);
239
+ }
240
+ .btn-group-vertical .btn-large:last-child {
241
+ @include border-radius(0 0 6px 6px);
242
+ }