bootstrap-generators 3.2.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -3
  3. data/Rakefile +9 -18
  4. data/lib/bootstrap/generators/version.rb +1 -1
  5. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +31 -21
  6. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +38 -24
  7. data/lib/generators/bootstrap/install/templates/assets/stylesheets/starter.scss +2 -1
  8. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.erb +3 -3
  9. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.haml +5 -3
  10. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.slim +7 -4
  11. data/lib/generators/bootstrap/install/templates/layouts/starter.html.erb +10 -9
  12. data/lib/generators/bootstrap/install/templates/layouts/starter.html.haml +12 -9
  13. data/lib/generators/bootstrap/install/templates/layouts/starter.html.slim +15 -11
  14. data/readme-template.md.erb +3 -1
  15. data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +1 -1
  16. data/vendor/assets/javascripts/bootstrap/affix.js +43 -23
  17. data/vendor/assets/javascripts/bootstrap/alert.js +6 -4
  18. data/vendor/assets/javascripts/bootstrap/button.js +16 -10
  19. data/vendor/assets/javascripts/bootstrap/carousel.js +27 -10
  20. data/vendor/assets/javascripts/bootstrap/collapse.js +69 -28
  21. data/vendor/assets/javascripts/bootstrap/dropdown.js +20 -10
  22. data/vendor/assets/javascripts/bootstrap/modal.js +67 -23
  23. data/vendor/assets/javascripts/bootstrap/popover.js +13 -7
  24. data/vendor/assets/javascripts/bootstrap/scrollspy.js +12 -7
  25. data/vendor/assets/javascripts/bootstrap/tab.js +41 -16
  26. data/vendor/assets/javascripts/bootstrap/tooltip.js +60 -39
  27. data/vendor/assets/javascripts/bootstrap/transition.js +1 -1
  28. data/vendor/assets/stylesheets/bootstrap.css.erb +332 -203
  29. data/vendor/assets/stylesheets/bootstrap.css.map +1 -0
  30. data/vendor/twitter/bootstrap/less/badges.less +7 -1
  31. data/vendor/twitter/bootstrap/less/button-groups.less +16 -13
  32. data/vendor/twitter/bootstrap/less/buttons.less +7 -4
  33. data/vendor/twitter/bootstrap/less/carousel.less +24 -0
  34. data/vendor/twitter/bootstrap/less/code.less +1 -0
  35. data/vendor/twitter/bootstrap/less/component-animations.less +5 -2
  36. data/vendor/twitter/bootstrap/less/dropdowns.less +3 -5
  37. data/vendor/twitter/bootstrap/less/forms.less +46 -40
  38. data/vendor/twitter/bootstrap/less/glyphicons.less +2 -1
  39. data/vendor/twitter/bootstrap/less/jumbotron.less +6 -5
  40. data/vendor/twitter/bootstrap/less/list-group.less +1 -8
  41. data/vendor/twitter/bootstrap/less/media.less +27 -36
  42. data/vendor/twitter/bootstrap/less/mixins/buttons.less +2 -0
  43. data/vendor/twitter/bootstrap/less/mixins/forms.less +5 -1
  44. data/vendor/twitter/bootstrap/less/mixins/grid-framework.less +2 -2
  45. data/vendor/twitter/bootstrap/less/mixins/image.less +0 -1
  46. data/vendor/twitter/bootstrap/less/mixins/labels.less +1 -1
  47. data/vendor/twitter/bootstrap/less/mixins/vendor-prefixes.less +6 -3
  48. data/vendor/twitter/bootstrap/less/modals.less +3 -5
  49. data/vendor/twitter/bootstrap/less/navbar.less +30 -25
  50. data/vendor/twitter/bootstrap/less/navs.less +3 -1
  51. data/vendor/twitter/bootstrap/less/normalize.less +5 -3
  52. data/vendor/twitter/bootstrap/less/pager.less +1 -2
  53. data/vendor/twitter/bootstrap/less/pagination.less +1 -1
  54. data/vendor/twitter/bootstrap/less/panels.less +21 -3
  55. data/vendor/twitter/bootstrap/less/popovers.less +6 -4
  56. data/vendor/twitter/bootstrap/less/print.less +102 -96
  57. data/vendor/twitter/bootstrap/less/progress-bars.less +1 -19
  58. data/vendor/twitter/bootstrap/less/responsive-embed.less +2 -1
  59. data/vendor/twitter/bootstrap/less/scaffolding.less +1 -1
  60. data/vendor/twitter/bootstrap/less/tables.less +11 -10
  61. data/vendor/twitter/bootstrap/less/theme.less +23 -9
  62. data/vendor/twitter/bootstrap/less/thumbnails.less +1 -1
  63. data/vendor/twitter/bootstrap/less/tooltip.less +12 -4
  64. data/vendor/twitter/bootstrap/less/type.less +0 -11
  65. data/vendor/twitter/bootstrap/less/utilities.less +0 -1
  66. data/vendor/twitter/bootstrap/less/variables.less +31 -21
  67. data/vendor/twitter/bootstrap/sass/_bootstrap-compass.scss +7 -0
  68. data/vendor/twitter/bootstrap/sass/_bootstrap-mincer.scss +17 -0
  69. data/vendor/twitter/bootstrap/sass/_bootstrap-sprockets.scss +7 -0
  70. data/vendor/twitter/bootstrap/sass/_bootstrap.scss +50 -0
  71. data/vendor/twitter/bootstrap/sass/{_alerts.scss → bootstrap/_alerts.scss} +0 -0
  72. data/vendor/twitter/bootstrap/sass/{_badges.scss → bootstrap/_badges.scss} +7 -1
  73. data/vendor/twitter/bootstrap/sass/{_breadcrumbs.scss → bootstrap/_breadcrumbs.scss} +0 -0
  74. data/vendor/twitter/bootstrap/sass/{_button-groups.scss → bootstrap/_button-groups.scss} +18 -15
  75. data/vendor/twitter/bootstrap/sass/{_buttons.scss → bootstrap/_buttons.scss} +8 -5
  76. data/vendor/twitter/bootstrap/sass/{_carousel.scss → bootstrap/_carousel.scss} +25 -1
  77. data/vendor/twitter/bootstrap/sass/{_close.scss → bootstrap/_close.scss} +0 -0
  78. data/vendor/twitter/bootstrap/sass/{_code.scss → bootstrap/_code.scss} +1 -0
  79. data/vendor/twitter/bootstrap/sass/{_component-animations.scss → bootstrap/_component-animations.scss} +5 -2
  80. data/vendor/twitter/bootstrap/sass/{_dropdowns.scss → bootstrap/_dropdowns.scss} +4 -6
  81. data/vendor/twitter/bootstrap/sass/{_forms.scss → bootstrap/_forms.scss} +53 -43
  82. data/vendor/twitter/bootstrap/sass/{_glyphicons.scss → bootstrap/_glyphicons.scss} +7 -10
  83. data/vendor/twitter/bootstrap/sass/{_grid.scss → bootstrap/_grid.scss} +4 -4
  84. data/vendor/twitter/bootstrap/sass/{_input-groups.scss → bootstrap/_input-groups.scss} +0 -0
  85. data/vendor/twitter/bootstrap/sass/{_jumbotron.scss → bootstrap/_jumbotron.scss} +6 -5
  86. data/vendor/twitter/bootstrap/sass/{_labels.scss → bootstrap/_labels.scss} +0 -0
  87. data/vendor/twitter/bootstrap/sass/{_list-group.scss → bootstrap/_list-group.scss} +1 -8
  88. data/vendor/twitter/bootstrap/sass/bootstrap/_media.scss +47 -0
  89. data/vendor/twitter/bootstrap/sass/{_mixins.scss → bootstrap/_mixins.scss} +0 -0
  90. data/vendor/twitter/bootstrap/sass/{_modals.scss → bootstrap/_modals.scss} +4 -6
  91. data/vendor/twitter/bootstrap/sass/{_navbar.scss → bootstrap/_navbar.scss} +36 -33
  92. data/vendor/twitter/bootstrap/sass/{_navs.scss → bootstrap/_navs.scss} +5 -3
  93. data/vendor/twitter/bootstrap/sass/{_normalize.scss → bootstrap/_normalize.scss} +5 -3
  94. data/vendor/twitter/bootstrap/sass/{_pager.scss → bootstrap/_pager.scss} +2 -3
  95. data/vendor/twitter/bootstrap/sass/{_pagination.scss → bootstrap/_pagination.scss} +1 -1
  96. data/vendor/twitter/bootstrap/sass/{_panels.scss → bootstrap/_panels.scss} +22 -4
  97. data/vendor/twitter/bootstrap/sass/{_popovers.scss → bootstrap/_popovers.scss} +6 -4
  98. data/vendor/twitter/bootstrap/sass/bootstrap/_print.scss +107 -0
  99. data/vendor/twitter/bootstrap/sass/{_progress-bars.scss → bootstrap/_progress-bars.scss} +2 -20
  100. data/vendor/twitter/bootstrap/sass/{_responsive-embed.scss → bootstrap/_responsive-embed.scss} +2 -1
  101. data/vendor/twitter/bootstrap/sass/{_responsive-utilities.scss → bootstrap/_responsive-utilities.scss} +0 -0
  102. data/vendor/twitter/bootstrap/sass/{_scaffolding.scss → bootstrap/_scaffolding.scss} +3 -3
  103. data/vendor/twitter/bootstrap/sass/{_tables.scss → bootstrap/_tables.scss} +11 -10
  104. data/vendor/twitter/bootstrap/sass/{_theme.scss → bootstrap/_theme.scss} +27 -13
  105. data/vendor/twitter/bootstrap/sass/{_thumbnails.scss → bootstrap/_thumbnails.scss} +2 -2
  106. data/vendor/twitter/bootstrap/sass/{_tooltip.scss → bootstrap/_tooltip.scss} +12 -4
  107. data/vendor/twitter/bootstrap/sass/{_type.scss → bootstrap/_type.scss} +10 -16
  108. data/vendor/twitter/bootstrap/sass/{_utilities.scss → bootstrap/_utilities.scss} +3 -4
  109. data/vendor/twitter/bootstrap/sass/{_variables.scss → bootstrap/_variables.scss} +38 -24
  110. data/vendor/twitter/bootstrap/sass/{_wells.scss → bootstrap/_wells.scss} +0 -0
  111. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_alerts.scss +0 -0
  112. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_background-variant.scss +0 -0
  113. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_border-radius.scss +0 -0
  114. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_buttons.scss +2 -0
  115. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_center-block.scss +0 -0
  116. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_clearfix.scss +0 -0
  117. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_forms.scss +5 -1
  118. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_gradients.scss +0 -0
  119. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_grid-framework.scss +0 -0
  120. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_grid.scss +2 -2
  121. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_hide-text.scss +1 -1
  122. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_image.scss +0 -1
  123. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_labels.scss +1 -1
  124. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_list-group.scss +0 -0
  125. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_nav-divider.scss +0 -0
  126. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_nav-vertical-align.scss +0 -0
  127. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_opacity.scss +0 -0
  128. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_pagination.scss +0 -0
  129. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_panels.scss +0 -0
  130. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_progress-bar.scss +1 -1
  131. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_reset-filter.scss +0 -0
  132. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_resize.scss +0 -0
  133. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_responsive-visibility.scss +0 -0
  134. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_size.scss +0 -0
  135. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_tab-focus.scss +0 -0
  136. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_table-row.scss +0 -0
  137. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_text-emphasis.scss +0 -0
  138. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_text-overflow.scss +0 -0
  139. data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_vendor-prefixes.scss +6 -3
  140. metadata +76 -72
  141. data/vendor/twitter/bootstrap/sass/_media.scss +0 -56
  142. data/vendor/twitter/bootstrap/sass/_print.scss +0 -101
  143. data/vendor/twitter/bootstrap/sass/bootstrap.scss +0 -50
@@ -7,10 +7,10 @@
7
7
  // -------------------------
8
8
 
9
9
  .clearfix {
10
- @include clearfix();
10
+ @include clearfix;
11
11
  }
12
12
  .center-block {
13
- @include center-block();
13
+ @include center-block;
14
14
  }
15
15
  .pull-right {
16
16
  float: right !important;
@@ -34,7 +34,7 @@
34
34
  visibility: hidden;
35
35
  }
36
36
  .text-hide {
37
- @include text-hide();
37
+ @include text-hide;
38
38
  }
39
39
 
40
40
 
@@ -53,5 +53,4 @@
53
53
 
54
54
  .affix {
55
55
  position: fixed;
56
- @include translate3d(0, 0, 0);
57
56
  }
@@ -1,7 +1,8 @@
1
- // a flag to toggle asset pipeline / compass integration
2
- // defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
3
- // in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
1
+ // When true, asset path helpers are used, otherwise the regular CSS `url()` is used.
2
+ // When there no function is defined, `fn('')` is parsed as string that equals the right hand side
3
+ // NB: in Sass 3.3 there is a native function: function-exists(twbs-font-path)
4
4
  $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
5
+
5
6
  //
6
7
  // Variables
7
8
  // --------------------------------------------------
@@ -11,13 +12,14 @@ $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")
11
12
  //
12
13
  //## Gray and brand colors for use across Bootstrap.
13
14
 
14
- $gray-darker: lighten(#000, 13.5%) !default; // #222
15
- $gray-dark: lighten(#000, 20%) !default; // #333
16
- $gray: lighten(#000, 33.5%) !default; // #555
17
- $gray-light: lighten(#000, 46.7%) !default; // #777
18
- $gray-lighter: lighten(#000, 93.5%) !default; // #eee
15
+ $gray-base: #000 !default;
16
+ $gray-darker: lighten($gray-base, 13.5%) !default; // #222
17
+ $gray-dark: lighten($gray-base, 20%) !default; // #333
18
+ $gray: lighten($gray-base, 33.5%) !default; // #555
19
+ $gray-light: lighten($gray-base, 46.7%) !default; // #777
20
+ $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
19
21
 
20
- $brand-primary: #428bca !default;
22
+ $brand-primary: darken(#428bca, 6.5%) !default;
21
23
  $brand-success: #5cb85c !default;
22
24
  $brand-info: #5bc0de !default;
23
25
  $brand-warning: #f0ad4e !default;
@@ -37,6 +39,8 @@ $text-color: $gray-dark !default;
37
39
  $link-color: $brand-primary !default;
38
40
  //** Link hover color set via `darken()` function.
39
41
  $link-hover-color: darken($link-color, 15%) !default;
42
+ //** Link hover decoration.
43
+ $link-hover-decoration: underline !default;
40
44
 
41
45
 
42
46
  //== Typography
@@ -77,7 +81,10 @@ $headings-color: inherit !default;
77
81
  //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
78
82
 
79
83
  //** Load fonts from this directory.
80
- $icon-font-path: "bootstrap/" !default;
84
+
85
+ // [converter] Asset helpers such as Sprockets and Node.js Mincer do not resolve relative paths
86
+ $icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "bootstrap/") !default;
87
+
81
88
  //** File name for all font files.
82
89
  $icon-font-name: "glyphicons-halflings-regular" !default;
83
90
  //** Element ID within SVG icon file.
@@ -185,13 +192,20 @@ $input-bg-disabled: $gray-lighter !default;
185
192
  $input-color: $gray !default;
186
193
  //** `<input>` border color
187
194
  $input-border: #ccc !default;
188
- //** `<input>` border radius
195
+
196
+ // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
197
+ //** Default `.form-control` border radius
189
198
  $input-border-radius: $border-radius-base !default;
199
+ //** Large `.form-control` border radius
200
+ $input-border-radius-large: $border-radius-large !default;
201
+ //** Small `.form-control` border radius
202
+ $input-border-radius-small: $border-radius-small !default;
203
+
190
204
  //** Border color for inputs on focus
191
205
  $input-border-focus: #66afe9 !default;
192
206
 
193
207
  //** Placeholder text color
194
- $input-color-placeholder: $gray-light !default;
208
+ $input-color-placeholder: #999 !default;
195
209
 
196
210
  //** Default `.form-control` height
197
211
  $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
@@ -208,6 +222,9 @@ $input-group-addon-bg: $gray-lighter !default;
208
222
  //** Border color for textual input addons
209
223
  $input-group-addon-border-color: $input-border !default;
210
224
 
225
+ //** Disabled cursor for form controls and buttons.
226
+ $cursor-disabled: not-allowed !default;
227
+
211
228
 
212
229
  //== Dropdowns
213
230
  //
@@ -256,8 +273,7 @@ $zindex-dropdown: 1000 !default;
256
273
  $zindex-popover: 1060 !default;
257
274
  $zindex-tooltip: 1070 !default;
258
275
  $zindex-navbar-fixed: 1030 !default;
259
- $zindex-modal-background: 1040 !default;
260
- $zindex-modal: 1050 !default;
276
+ $zindex-modal: 1040 !default;
261
277
 
262
278
 
263
279
  //== Media queries breakpoints
@@ -319,17 +335,17 @@ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
319
335
  //## Define the maximum width of `.container` for different screen sizes.
320
336
 
321
337
  // Small screen / tablet
322
- $container-tablet: ((720px + $grid-gutter-width)) !default;
338
+ $container-tablet: (720px + $grid-gutter-width) !default;
323
339
  //** For `$screen-sm-min` and up.
324
340
  $container-sm: $container-tablet !default;
325
341
 
326
342
  // Medium screen / desktop
327
- $container-desktop: ((940px + $grid-gutter-width)) !default;
343
+ $container-desktop: (940px + $grid-gutter-width) !default;
328
344
  //** For `$screen-md-min` and up.
329
345
  $container-md: $container-desktop !default;
330
346
 
331
347
  // Large screen / wide desktop
332
- $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
348
+ $container-large-desktop: (1140px + $grid-gutter-width) !default;
333
349
  //** For `$screen-lg-min` and up.
334
350
  $container-lg: $container-large-desktop !default;
335
351
 
@@ -372,12 +388,12 @@ $navbar-default-toggle-border-color: #ddd !default;
372
388
 
373
389
  // Inverted navbar
374
390
  // Reset inverted navbar basics
375
- $navbar-inverse-color: $gray-light !default;
391
+ $navbar-inverse-color: lighten($gray-light, 15%) !default;
376
392
  $navbar-inverse-bg: #222 !default;
377
393
  $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
378
394
 
379
395
  // Inverted navbar links
380
- $navbar-inverse-link-color: $gray-light !default;
396
+ $navbar-inverse-link-color: lighten($gray-light, 15%) !default;
381
397
  $navbar-inverse-link-hover-color: #fff !default;
382
398
  $navbar-inverse-link-hover-bg: transparent !default;
383
399
  $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
@@ -407,8 +423,6 @@ $nav-link-hover-bg: $gray-lighter !default;
407
423
  $nav-disabled-link-color: $gray-light !default;
408
424
  $nav-disabled-link-hover-color: $gray-light !default;
409
425
 
410
- $nav-open-link-hover-color: #fff !default;
411
-
412
426
  //== Tabs
413
427
  $nav-tabs-border-color: #ddd !default;
414
428
 
@@ -533,7 +547,7 @@ $popover-title-bg: darken($popover-bg, 3%) !default;
533
547
  //** Popover arrow width
534
548
  $popover-arrow-width: 10px !default;
535
549
  //** Popover arrow color
536
- $popover-arrow-color: #fff !default;
550
+ $popover-arrow-color: $popover-bg !default;
537
551
 
538
552
  //** Popover outer arrow width
539
553
  $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
@@ -632,6 +646,8 @@ $alert-danger-border: $state-danger-border !default;
632
646
  $progress-bg: #f5f5f5 !default;
633
647
  //** Progress bar text color
634
648
  $progress-bar-color: #fff !default;
649
+ //** Variable for setting rounded corners on progress bar.
650
+ $progress-border-radius: $border-radius-base !default;
635
651
 
636
652
  //** Default progress bar color
637
653
  $progress-bar-bg: $brand-primary !default;
@@ -846,5 +862,3 @@ $page-header-border-color: $gray-lighter !default;
846
862
  $dl-horizontal-offset: $component-offset-horizontal !default;
847
863
  //** Horizontal line color.
848
864
  $hr-border: $gray-lighter !default;
849
-
850
-
@@ -10,6 +10,7 @@
10
10
 
11
11
  &:hover,
12
12
  &:focus,
13
+ &.focus,
13
14
  &:active,
14
15
  &.active,
15
16
  .open > &.dropdown-toggle {
@@ -28,6 +29,7 @@
28
29
  &,
29
30
  &:hover,
30
31
  &:focus,
32
+ &.focus,
31
33
  &:active,
32
34
  &.active {
33
35
  background-color: $background;
@@ -10,7 +10,11 @@
10
10
  .radio,
11
11
  .checkbox,
12
12
  .radio-inline,
13
- .checkbox-inline {
13
+ .checkbox-inline,
14
+ &.radio label,
15
+ &.checkbox label,
16
+ &.radio-inline label,
17
+ &.checkbox-inline label {
14
18
  color: $text-color;
15
19
  }
16
20
  // Set the border and box shadow on specific inputs to match
@@ -8,14 +8,14 @@
8
8
  margin-left: auto;
9
9
  padding-left: ($gutter / 2);
10
10
  padding-right: ($gutter / 2);
11
- @include clearfix();
11
+ @include clearfix;
12
12
  }
13
13
 
14
14
  // Creates a wrapper for a series of columns
15
15
  @mixin make-row($gutter: $grid-gutter-width) {
16
16
  margin-left: ($gutter / -2);
17
17
  margin-right: ($gutter / -2);
18
- @include clearfix();
18
+ @include clearfix;
19
19
  }
20
20
 
21
21
  // Generate the extra small columns
@@ -17,5 +17,5 @@
17
17
 
18
18
  // New mixin to use as of v3.0.1
19
19
  @mixin text-hide() {
20
- @include hide-text();
20
+ @include hide-text;
21
21
  }
@@ -8,7 +8,6 @@
8
8
  // Keep images from scaling beyond the width of their parents.
9
9
  @mixin img-responsive($display: block) {
10
10
  display: $display;
11
- width: 100% \9; // Force IE10 and below to size SVG images correctly
12
11
  max-width: 100%; // Part 1: Set a maximum relative to the parent
13
12
  height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
14
13
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  @mixin label-variant($color) {
4
4
  background-color: $color;
5
-
5
+
6
6
  &[href] {
7
7
  &:hover,
8
8
  &:focus {
@@ -5,6 +5,6 @@
5
5
 
6
6
  // Deprecated parent class requirement as of v3.2.0
7
7
  .progress-striped & {
8
- @include gradient-striped();
8
+ @include gradient-striped;
9
9
  }
10
10
  }
@@ -99,9 +99,12 @@
99
99
 
100
100
  // Placeholder text
101
101
  @mixin placeholder($color: $input-color-placeholder) {
102
- &::-moz-placeholder { color: $color; // Firefox
103
- opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
104
- &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
102
+ // Firefox
103
+ &::-moz-placeholder {
104
+ color: $color;
105
+ opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
106
+ }
107
+ &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
105
108
  &::-webkit-input-placeholder { color: $color; } // Safari and Chrome
106
109
  }
107
110
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Décio Ferreira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-16 00:00:00.000000000 Z
11
+ date: 2014-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -125,6 +125,7 @@ files:
125
125
  - vendor/assets/javascripts/bootstrap/tooltip.js
126
126
  - vendor/assets/javascripts/bootstrap/transition.js
127
127
  - vendor/assets/stylesheets/bootstrap.css.erb
128
+ - vendor/assets/stylesheets/bootstrap.css.map
128
129
  - vendor/twitter/bootstrap/less/alerts.less
129
130
  - vendor/twitter/bootstrap/less/badges.less
130
131
  - vendor/twitter/bootstrap/less/bootstrap.less
@@ -195,76 +196,79 @@ files:
195
196
  - vendor/twitter/bootstrap/less/utilities.less
196
197
  - vendor/twitter/bootstrap/less/variables.less
197
198
  - vendor/twitter/bootstrap/less/wells.less
198
- - vendor/twitter/bootstrap/sass/_alerts.scss
199
- - vendor/twitter/bootstrap/sass/_badges.scss
200
- - vendor/twitter/bootstrap/sass/_breadcrumbs.scss
201
- - vendor/twitter/bootstrap/sass/_button-groups.scss
202
- - vendor/twitter/bootstrap/sass/_buttons.scss
203
- - vendor/twitter/bootstrap/sass/_carousel.scss
204
- - vendor/twitter/bootstrap/sass/_close.scss
205
- - vendor/twitter/bootstrap/sass/_code.scss
206
- - vendor/twitter/bootstrap/sass/_component-animations.scss
207
- - vendor/twitter/bootstrap/sass/_dropdowns.scss
208
- - vendor/twitter/bootstrap/sass/_forms.scss
209
- - vendor/twitter/bootstrap/sass/_glyphicons.scss
210
- - vendor/twitter/bootstrap/sass/_grid.scss
211
- - vendor/twitter/bootstrap/sass/_input-groups.scss
212
- - vendor/twitter/bootstrap/sass/_jumbotron.scss
213
- - vendor/twitter/bootstrap/sass/_labels.scss
214
- - vendor/twitter/bootstrap/sass/_list-group.scss
215
- - vendor/twitter/bootstrap/sass/_media.scss
216
- - vendor/twitter/bootstrap/sass/_mixins.scss
217
- - vendor/twitter/bootstrap/sass/_modals.scss
218
- - vendor/twitter/bootstrap/sass/_navbar.scss
219
- - vendor/twitter/bootstrap/sass/_navs.scss
220
- - vendor/twitter/bootstrap/sass/_normalize.scss
221
- - vendor/twitter/bootstrap/sass/_pager.scss
222
- - vendor/twitter/bootstrap/sass/_pagination.scss
223
- - vendor/twitter/bootstrap/sass/_panels.scss
224
- - vendor/twitter/bootstrap/sass/_popovers.scss
225
- - vendor/twitter/bootstrap/sass/_print.scss
226
- - vendor/twitter/bootstrap/sass/_progress-bars.scss
227
- - vendor/twitter/bootstrap/sass/_responsive-embed.scss
228
- - vendor/twitter/bootstrap/sass/_responsive-utilities.scss
229
- - vendor/twitter/bootstrap/sass/_scaffolding.scss
230
- - vendor/twitter/bootstrap/sass/_tables.scss
231
- - vendor/twitter/bootstrap/sass/_theme.scss
232
- - vendor/twitter/bootstrap/sass/_thumbnails.scss
233
- - vendor/twitter/bootstrap/sass/_tooltip.scss
234
- - vendor/twitter/bootstrap/sass/_type.scss
235
- - vendor/twitter/bootstrap/sass/_utilities.scss
236
- - vendor/twitter/bootstrap/sass/_variables.scss
237
- - vendor/twitter/bootstrap/sass/_wells.scss
238
- - vendor/twitter/bootstrap/sass/bootstrap.scss
239
- - vendor/twitter/bootstrap/sass/mixins/_alerts.scss
240
- - vendor/twitter/bootstrap/sass/mixins/_background-variant.scss
241
- - vendor/twitter/bootstrap/sass/mixins/_border-radius.scss
242
- - vendor/twitter/bootstrap/sass/mixins/_buttons.scss
243
- - vendor/twitter/bootstrap/sass/mixins/_center-block.scss
244
- - vendor/twitter/bootstrap/sass/mixins/_clearfix.scss
245
- - vendor/twitter/bootstrap/sass/mixins/_forms.scss
246
- - vendor/twitter/bootstrap/sass/mixins/_gradients.scss
247
- - vendor/twitter/bootstrap/sass/mixins/_grid-framework.scss
248
- - vendor/twitter/bootstrap/sass/mixins/_grid.scss
249
- - vendor/twitter/bootstrap/sass/mixins/_hide-text.scss
250
- - vendor/twitter/bootstrap/sass/mixins/_image.scss
251
- - vendor/twitter/bootstrap/sass/mixins/_labels.scss
252
- - vendor/twitter/bootstrap/sass/mixins/_list-group.scss
253
- - vendor/twitter/bootstrap/sass/mixins/_nav-divider.scss
254
- - vendor/twitter/bootstrap/sass/mixins/_nav-vertical-align.scss
255
- - vendor/twitter/bootstrap/sass/mixins/_opacity.scss
256
- - vendor/twitter/bootstrap/sass/mixins/_pagination.scss
257
- - vendor/twitter/bootstrap/sass/mixins/_panels.scss
258
- - vendor/twitter/bootstrap/sass/mixins/_progress-bar.scss
259
- - vendor/twitter/bootstrap/sass/mixins/_reset-filter.scss
260
- - vendor/twitter/bootstrap/sass/mixins/_resize.scss
261
- - vendor/twitter/bootstrap/sass/mixins/_responsive-visibility.scss
262
- - vendor/twitter/bootstrap/sass/mixins/_size.scss
263
- - vendor/twitter/bootstrap/sass/mixins/_tab-focus.scss
264
- - vendor/twitter/bootstrap/sass/mixins/_table-row.scss
265
- - vendor/twitter/bootstrap/sass/mixins/_text-emphasis.scss
266
- - vendor/twitter/bootstrap/sass/mixins/_text-overflow.scss
267
- - vendor/twitter/bootstrap/sass/mixins/_vendor-prefixes.scss
199
+ - vendor/twitter/bootstrap/sass/_bootstrap-compass.scss
200
+ - vendor/twitter/bootstrap/sass/_bootstrap-mincer.scss
201
+ - vendor/twitter/bootstrap/sass/_bootstrap-sprockets.scss
202
+ - vendor/twitter/bootstrap/sass/_bootstrap.scss
203
+ - vendor/twitter/bootstrap/sass/bootstrap/_alerts.scss
204
+ - vendor/twitter/bootstrap/sass/bootstrap/_badges.scss
205
+ - vendor/twitter/bootstrap/sass/bootstrap/_breadcrumbs.scss
206
+ - vendor/twitter/bootstrap/sass/bootstrap/_button-groups.scss
207
+ - vendor/twitter/bootstrap/sass/bootstrap/_buttons.scss
208
+ - vendor/twitter/bootstrap/sass/bootstrap/_carousel.scss
209
+ - vendor/twitter/bootstrap/sass/bootstrap/_close.scss
210
+ - vendor/twitter/bootstrap/sass/bootstrap/_code.scss
211
+ - vendor/twitter/bootstrap/sass/bootstrap/_component-animations.scss
212
+ - vendor/twitter/bootstrap/sass/bootstrap/_dropdowns.scss
213
+ - vendor/twitter/bootstrap/sass/bootstrap/_forms.scss
214
+ - vendor/twitter/bootstrap/sass/bootstrap/_glyphicons.scss
215
+ - vendor/twitter/bootstrap/sass/bootstrap/_grid.scss
216
+ - vendor/twitter/bootstrap/sass/bootstrap/_input-groups.scss
217
+ - vendor/twitter/bootstrap/sass/bootstrap/_jumbotron.scss
218
+ - vendor/twitter/bootstrap/sass/bootstrap/_labels.scss
219
+ - vendor/twitter/bootstrap/sass/bootstrap/_list-group.scss
220
+ - vendor/twitter/bootstrap/sass/bootstrap/_media.scss
221
+ - vendor/twitter/bootstrap/sass/bootstrap/_mixins.scss
222
+ - vendor/twitter/bootstrap/sass/bootstrap/_modals.scss
223
+ - vendor/twitter/bootstrap/sass/bootstrap/_navbar.scss
224
+ - vendor/twitter/bootstrap/sass/bootstrap/_navs.scss
225
+ - vendor/twitter/bootstrap/sass/bootstrap/_normalize.scss
226
+ - vendor/twitter/bootstrap/sass/bootstrap/_pager.scss
227
+ - vendor/twitter/bootstrap/sass/bootstrap/_pagination.scss
228
+ - vendor/twitter/bootstrap/sass/bootstrap/_panels.scss
229
+ - vendor/twitter/bootstrap/sass/bootstrap/_popovers.scss
230
+ - vendor/twitter/bootstrap/sass/bootstrap/_print.scss
231
+ - vendor/twitter/bootstrap/sass/bootstrap/_progress-bars.scss
232
+ - vendor/twitter/bootstrap/sass/bootstrap/_responsive-embed.scss
233
+ - vendor/twitter/bootstrap/sass/bootstrap/_responsive-utilities.scss
234
+ - vendor/twitter/bootstrap/sass/bootstrap/_scaffolding.scss
235
+ - vendor/twitter/bootstrap/sass/bootstrap/_tables.scss
236
+ - vendor/twitter/bootstrap/sass/bootstrap/_theme.scss
237
+ - vendor/twitter/bootstrap/sass/bootstrap/_thumbnails.scss
238
+ - vendor/twitter/bootstrap/sass/bootstrap/_tooltip.scss
239
+ - vendor/twitter/bootstrap/sass/bootstrap/_type.scss
240
+ - vendor/twitter/bootstrap/sass/bootstrap/_utilities.scss
241
+ - vendor/twitter/bootstrap/sass/bootstrap/_variables.scss
242
+ - vendor/twitter/bootstrap/sass/bootstrap/_wells.scss
243
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_alerts.scss
244
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_background-variant.scss
245
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_border-radius.scss
246
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_buttons.scss
247
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_center-block.scss
248
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_clearfix.scss
249
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_forms.scss
250
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_gradients.scss
251
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_grid-framework.scss
252
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_grid.scss
253
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_hide-text.scss
254
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_image.scss
255
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_labels.scss
256
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_list-group.scss
257
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_nav-divider.scss
258
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_nav-vertical-align.scss
259
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_opacity.scss
260
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_pagination.scss
261
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_panels.scss
262
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_progress-bar.scss
263
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_reset-filter.scss
264
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_resize.scss
265
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_responsive-visibility.scss
266
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_size.scss
267
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_tab-focus.scss
268
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_table-row.scss
269
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_text-emphasis.scss
270
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_text-overflow.scss
271
+ - vendor/twitter/bootstrap/sass/bootstrap/mixins/_vendor-prefixes.scss
268
272
  homepage: https://github.com/decioferreira/bootstrap-generators
269
273
  licenses:
270
274
  - MIT