bootstrap-generators 3.1.1.3 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +4 -5
  3. data/README.md +8 -8
  4. data/Rakefile +7 -5
  5. data/lib/bootstrap/generators/version.rb +1 -1
  6. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +40 -23
  7. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +41 -24
  8. data/vendor/assets/javascripts/bootstrap.js +6 -6
  9. data/vendor/assets/javascripts/bootstrap/affix.js +19 -14
  10. data/vendor/assets/javascripts/bootstrap/alert.js +10 -6
  11. data/vendor/assets/javascripts/bootstrap/button.js +11 -8
  12. data/vendor/assets/javascripts/bootstrap/carousel.js +49 -31
  13. data/vendor/assets/javascripts/bootstrap/collapse.js +22 -22
  14. data/vendor/assets/javascripts/bootstrap/dropdown.js +17 -13
  15. data/vendor/assets/javascripts/bootstrap/modal.js +66 -29
  16. data/vendor/assets/javascripts/bootstrap/popover.js +10 -7
  17. data/vendor/assets/javascripts/bootstrap/scrollspy.js +40 -23
  18. data/vendor/assets/javascripts/bootstrap/tab.js +11 -8
  19. data/vendor/assets/javascripts/bootstrap/tooltip.js +115 -57
  20. data/vendor/assets/javascripts/bootstrap/transition.js +18 -7
  21. data/vendor/assets/stylesheets/bootstrap.css.erb +2740 -2322
  22. data/vendor/twitter/bootstrap/less/alerts.less +4 -3
  23. data/vendor/twitter/bootstrap/less/badges.less +18 -18
  24. data/vendor/twitter/bootstrap/less/bootstrap.less +3 -2
  25. data/vendor/twitter/bootstrap/less/button-groups.less +16 -2
  26. data/vendor/twitter/bootstrap/less/buttons.less +0 -2
  27. data/vendor/twitter/bootstrap/less/carousel.less +15 -4
  28. data/vendor/twitter/bootstrap/less/code.less +6 -1
  29. data/vendor/twitter/bootstrap/less/component-animations.less +6 -4
  30. data/vendor/twitter/bootstrap/less/dropdowns.less +2 -0
  31. data/vendor/twitter/bootstrap/less/forms.less +144 -42
  32. data/vendor/twitter/bootstrap/less/glyphicons.less +5 -5
  33. data/vendor/twitter/bootstrap/less/input-groups.less +6 -2
  34. data/vendor/twitter/bootstrap/less/jumbotron.less +4 -0
  35. data/vendor/twitter/bootstrap/less/labels.less +1 -1
  36. data/vendor/twitter/bootstrap/less/list-group.less +22 -1
  37. data/vendor/twitter/bootstrap/less/mixins.less +35 -925
  38. data/vendor/twitter/bootstrap/less/mixins/alerts.less +14 -0
  39. data/vendor/twitter/bootstrap/less/mixins/background-variant.less +8 -0
  40. data/vendor/twitter/bootstrap/less/mixins/border-radius.less +18 -0
  41. data/vendor/twitter/bootstrap/less/mixins/buttons.less +50 -0
  42. data/vendor/twitter/bootstrap/less/mixins/center-block.less +7 -0
  43. data/vendor/twitter/bootstrap/less/mixins/clearfix.less +22 -0
  44. data/vendor/twitter/bootstrap/less/mixins/forms.less +81 -0
  45. data/vendor/twitter/bootstrap/less/mixins/gradients.less +59 -0
  46. data/vendor/twitter/bootstrap/less/mixins/grid-framework.less +91 -0
  47. data/vendor/twitter/bootstrap/less/mixins/grid.less +122 -0
  48. data/vendor/twitter/bootstrap/less/mixins/hide-text.less +21 -0
  49. data/vendor/twitter/bootstrap/less/mixins/image.less +34 -0
  50. data/vendor/twitter/bootstrap/less/mixins/labels.less +12 -0
  51. data/vendor/twitter/bootstrap/less/mixins/list-group.less +29 -0
  52. data/vendor/twitter/bootstrap/less/mixins/nav-divider.less +10 -0
  53. data/vendor/twitter/bootstrap/less/mixins/nav-vertical-align.less +9 -0
  54. data/vendor/twitter/bootstrap/less/mixins/opacity.less +8 -0
  55. data/vendor/twitter/bootstrap/less/mixins/pagination.less +23 -0
  56. data/vendor/twitter/bootstrap/less/mixins/panels.less +24 -0
  57. data/vendor/twitter/bootstrap/less/mixins/progress-bar.less +10 -0
  58. data/vendor/twitter/bootstrap/less/mixins/reset-filter.less +8 -0
  59. data/vendor/twitter/bootstrap/less/mixins/resize.less +6 -0
  60. data/vendor/twitter/bootstrap/less/mixins/responsive-visibility.less +15 -0
  61. data/vendor/twitter/bootstrap/less/mixins/size.less +10 -0
  62. data/vendor/twitter/bootstrap/less/mixins/tab-focus.less +9 -0
  63. data/vendor/twitter/bootstrap/less/mixins/table-row.less +28 -0
  64. data/vendor/twitter/bootstrap/less/mixins/text-emphasis.less +8 -0
  65. data/vendor/twitter/bootstrap/less/mixins/text-overflow.less +8 -0
  66. data/vendor/twitter/bootstrap/less/mixins/vendor-prefixes.less +224 -0
  67. data/vendor/twitter/bootstrap/less/modals.less +18 -7
  68. data/vendor/twitter/bootstrap/less/navbar.less +41 -2
  69. data/vendor/twitter/bootstrap/less/navs.less +1 -1
  70. data/vendor/twitter/bootstrap/less/normalize.less +20 -18
  71. data/vendor/twitter/bootstrap/less/panels.less +8 -6
  72. data/vendor/twitter/bootstrap/less/popovers.less +1 -1
  73. data/vendor/twitter/bootstrap/less/progress-bars.less +27 -2
  74. data/vendor/twitter/bootstrap/less/responsive-embed.less +34 -0
  75. data/vendor/twitter/bootstrap/less/responsive-utilities.less +103 -1
  76. data/vendor/twitter/bootstrap/less/scaffolding.less +17 -1
  77. data/vendor/twitter/bootstrap/less/tables.less +4 -4
  78. data/vendor/twitter/bootstrap/less/theme.less +11 -0
  79. data/vendor/twitter/bootstrap/less/type.less +32 -12
  80. data/vendor/twitter/bootstrap/less/utilities.less +1 -0
  81. data/vendor/twitter/bootstrap/less/variables.less +40 -23
  82. data/vendor/twitter/bootstrap/sass/_alerts.scss +4 -3
  83. data/vendor/twitter/bootstrap/sass/_badges.scss +13 -11
  84. data/vendor/twitter/bootstrap/sass/_button-groups.scss +16 -2
  85. data/vendor/twitter/bootstrap/sass/_buttons.scss +0 -2
  86. data/vendor/twitter/bootstrap/sass/_carousel.scss +15 -4
  87. data/vendor/twitter/bootstrap/sass/_code.scss +6 -1
  88. data/vendor/twitter/bootstrap/sass/_component-animations.scss +10 -4
  89. data/vendor/twitter/bootstrap/sass/_dropdowns.scss +2 -0
  90. data/vendor/twitter/bootstrap/sass/_forms.scss +144 -42
  91. data/vendor/twitter/bootstrap/sass/_glyphicons.scss +4 -0
  92. data/vendor/twitter/bootstrap/sass/_input-groups.scss +6 -2
  93. data/vendor/twitter/bootstrap/sass/_jumbotron.scss +4 -0
  94. data/vendor/twitter/bootstrap/sass/_labels.scss +11 -9
  95. data/vendor/twitter/bootstrap/sass/_list-group.scss +22 -1
  96. data/vendor/twitter/bootstrap/sass/_mixins.scss +35 -943
  97. data/vendor/twitter/bootstrap/sass/_modals.scss +18 -7
  98. data/vendor/twitter/bootstrap/sass/_navbar.scss +41 -2
  99. data/vendor/twitter/bootstrap/sass/_navs.scss +1 -1
  100. data/vendor/twitter/bootstrap/sass/_normalize.scss +20 -18
  101. data/vendor/twitter/bootstrap/sass/_panels.scss +8 -6
  102. data/vendor/twitter/bootstrap/sass/_popovers.scss +1 -1
  103. data/vendor/twitter/bootstrap/sass/_progress-bars.scss +27 -2
  104. data/vendor/twitter/bootstrap/sass/_responsive-embed.scss +34 -0
  105. data/vendor/twitter/bootstrap/sass/_responsive-utilities.scss +101 -1
  106. data/vendor/twitter/bootstrap/sass/_scaffolding.scss +17 -1
  107. data/vendor/twitter/bootstrap/sass/_tables.scss +4 -4
  108. data/vendor/twitter/bootstrap/sass/_theme.scss +11 -0
  109. data/vendor/twitter/bootstrap/sass/_type.scss +32 -12
  110. data/vendor/twitter/bootstrap/sass/_utilities.scss +1 -0
  111. data/vendor/twitter/bootstrap/sass/_variables.scss +41 -24
  112. data/vendor/twitter/bootstrap/sass/bootstrap.scss +3 -2
  113. data/vendor/twitter/bootstrap/sass/mixins/_alerts.scss +14 -0
  114. data/vendor/twitter/bootstrap/sass/mixins/_background-variant.scss +11 -0
  115. data/vendor/twitter/bootstrap/sass/mixins/_border-radius.scss +18 -0
  116. data/vendor/twitter/bootstrap/sass/mixins/_buttons.scss +50 -0
  117. data/vendor/twitter/bootstrap/sass/mixins/_center-block.scss +7 -0
  118. data/vendor/twitter/bootstrap/sass/mixins/_clearfix.scss +22 -0
  119. data/vendor/twitter/bootstrap/sass/mixins/_forms.scss +84 -0
  120. data/vendor/twitter/bootstrap/sass/mixins/_gradients.scss +58 -0
  121. data/vendor/twitter/bootstrap/sass/mixins/_grid-framework.scss +81 -0
  122. data/vendor/twitter/bootstrap/sass/mixins/_grid.scss +122 -0
  123. data/vendor/twitter/bootstrap/sass/mixins/_hide-text.scss +21 -0
  124. data/vendor/twitter/bootstrap/sass/mixins/_image.scss +34 -0
  125. data/vendor/twitter/bootstrap/sass/mixins/_labels.scss +12 -0
  126. data/vendor/twitter/bootstrap/sass/mixins/_list-group.scss +31 -0
  127. data/vendor/twitter/bootstrap/sass/mixins/_nav-divider.scss +10 -0
  128. data/vendor/twitter/bootstrap/sass/mixins/_nav-vertical-align.scss +9 -0
  129. data/vendor/twitter/bootstrap/sass/mixins/_opacity.scss +8 -0
  130. data/vendor/twitter/bootstrap/sass/mixins/_pagination.scss +23 -0
  131. data/vendor/twitter/bootstrap/sass/mixins/_panels.scss +24 -0
  132. data/vendor/twitter/bootstrap/sass/mixins/_progress-bar.scss +10 -0
  133. data/vendor/twitter/bootstrap/sass/mixins/_reset-filter.scss +8 -0
  134. data/vendor/twitter/bootstrap/sass/mixins/_resize.scss +6 -0
  135. data/vendor/twitter/bootstrap/sass/mixins/_responsive-visibility.scss +21 -0
  136. data/vendor/twitter/bootstrap/sass/mixins/_size.scss +10 -0
  137. data/vendor/twitter/bootstrap/sass/mixins/_tab-focus.scss +9 -0
  138. data/vendor/twitter/bootstrap/sass/mixins/_table-row.scss +28 -0
  139. data/vendor/twitter/bootstrap/sass/mixins/_text-emphasis.scss +11 -0
  140. data/vendor/twitter/bootstrap/sass/mixins/_text-overflow.scss +8 -0
  141. data/vendor/twitter/bootstrap/sass/mixins/_vendor-prefixes.scss +219 -0
  142. metadata +62 -2
@@ -20,7 +20,7 @@
20
20
  // Body reset
21
21
 
22
22
  html {
23
- font-size: 62.5%;
23
+ font-size: 10px;
24
24
  -webkit-tap-highlight-color: rgba(0,0,0,0);
25
25
  }
26
26
 
@@ -132,3 +132,19 @@ hr {
132
132
  clip: rect(0,0,0,0);
133
133
  border: 0;
134
134
  }
135
+
136
+ // Use in conjunction with .sr-only to only display content when it's focused.
137
+ // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
138
+ // Credit: HTML5 Boilerplate
139
+
140
+ .sr-only-focusable {
141
+ &:active,
142
+ &:focus {
143
+ position: static;
144
+ width: auto;
145
+ height: auto;
146
+ margin: 0;
147
+ overflow: visible;
148
+ clip: auto;
149
+ }
150
+ }
@@ -4,7 +4,6 @@
4
4
 
5
5
 
6
6
  table {
7
- max-width: 100%;
8
7
  background-color: $table-bg;
9
8
  }
10
9
  th {
@@ -16,6 +15,7 @@ th {
16
15
 
17
16
  .table {
18
17
  width: 100%;
18
+ max-width: 100%;
19
19
  margin-bottom: $line-height-computed;
20
20
  // Cells
21
21
  > thead,
@@ -168,12 +168,12 @@ table {
168
168
  // by enabling horizontal scrolling. Only applies <768px. Everything above that
169
169
  // will display normally.
170
170
 
171
- @media (max-width: $screen-xs-max) {
172
- .table-responsive {
171
+ .table-responsive {
172
+ @media screen and (max-width: $screen-xs-max) {
173
173
  width: 100%;
174
174
  margin-bottom: ($line-height-computed * 0.75);
175
175
  overflow-y: hidden;
176
- overflow-x: scroll;
176
+ overflow-x: auto;
177
177
  -ms-overflow-style: -ms-autohiding-scrollbar;
178
178
  border: 1px solid $table-border-color;
179
179
  -webkit-overflow-scrolling: touch;
@@ -48,6 +48,12 @@
48
48
  background-color: darken($btn-color, 12%);
49
49
  border-color: darken($btn-color, 14%);
50
50
  }
51
+
52
+ &:disabled,
53
+ &[disabled] {
54
+ background-color: darken($btn-color, 12%);
55
+ background-image: none;
56
+ }
51
57
  }
52
58
 
53
59
  // Common styles
@@ -191,6 +197,11 @@
191
197
  .progress-bar-warning { @include progress-bar-styles($progress-bar-warning-bg); }
192
198
  .progress-bar-danger { @include progress-bar-styles($progress-bar-danger-bg); }
193
199
 
200
+ // Reset the striped class because our mixins don't do multiple gradients and
201
+ // the above custom styles override the new `.progress-bar-striped` in v3.2.0.
202
+ .progress-bar-striped {
203
+ @include gradient-striped();
204
+ }
194
205
 
195
206
 
196
207
  //
@@ -62,7 +62,7 @@ p {
62
62
  .lead {
63
63
  margin-bottom: $line-height-computed;
64
64
  font-size: floor(($font-size-base * 1.15));
65
- font-weight: 200;
65
+ font-weight: 300;
66
66
  line-height: 1.4;
67
67
 
68
68
  @media (min-width: $screen-sm-min) {
@@ -74,18 +74,34 @@ p {
74
74
  // Emphasis & misc
75
75
  // -------------------------
76
76
 
77
- // Ex: 14px base font * 85% = about 12px
77
+ // Ex: (12px small font / 14px base font) * 100% = about 85%
78
78
  small,
79
- .small { font-size: 85%; }
79
+ .small {
80
+ font-size: floor((100% * $font-size-small / $font-size-base));
81
+ }
80
82
 
81
83
  // Undo browser default styling
82
- cite { font-style: normal; }
84
+ cite {
85
+ font-style: normal;
86
+ }
87
+
88
+ mark,
89
+ .mark {
90
+ background-color: $state-warning-bg;
91
+ padding: .2em;
92
+ }
83
93
 
84
94
  // Alignment
85
95
  .text-left { text-align: left; }
86
96
  .text-right { text-align: right; }
87
97
  .text-center { text-align: center; }
88
98
  .text-justify { text-align: justify; }
99
+ .text-nowrap { white-space: nowrap; }
100
+
101
+ // Transformation
102
+ .text-lowercase { text-transform: lowercase; }
103
+ .text-uppercase { text-transform: uppercase; }
104
+ .text-capitalize { text-transform: capitalize; }
89
105
 
90
106
  // Contextual colors
91
107
  .text-muted {
@@ -132,7 +148,7 @@ cite { font-style: normal; }
132
148
 
133
149
 
134
150
  // Lists
135
- // --------------------------------------------------
151
+ // -------------------------
136
152
 
137
153
  // Unordered and Ordered lists
138
154
  ul,
@@ -186,24 +202,28 @@ dd {
186
202
  // Defaults to being stacked without any of the below styles applied, until the
187
203
  // grid breakpoint is reached (default of ~768px).
188
204
 
189
- @media (min-width: $grid-float-breakpoint) {
190
- .dl-horizontal {
205
+ .dl-horizontal {
206
+ dd {
207
+ @include clearfix(); // Clear the floated `dt` if an empty `dd` is present
208
+ }
209
+
210
+ @media (min-width: $grid-float-breakpoint) {
191
211
  dt {
192
212
  float: left;
193
- width: ($component-offset-horizontal - 20);
213
+ width: ($dl-horizontal-offset - 20);
194
214
  clear: left;
195
215
  text-align: right;
196
216
  @include text-overflow();
197
217
  }
198
218
  dd {
199
- margin-left: $component-offset-horizontal;
200
- @include clearfix(); // Clear the floated `dt` if an empty `dd` is present
219
+ margin-left: $dl-horizontal-offset;
201
220
  }
202
221
  }
203
222
  }
204
223
 
205
- // MISC
206
- // ----
224
+
225
+ // Misc
226
+ // -------------------------
207
227
 
208
228
  // Abbreviations and acronyms
209
229
  abbr[title],
@@ -53,4 +53,5 @@
53
53
 
54
54
  .affix {
55
55
  position: fixed;
56
+ @include translate3d(0, 0, 0);
56
57
  }
@@ -14,7 +14,7 @@ $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")
14
14
  $gray-darker: lighten(#000, 13.5%) !default; // #222
15
15
  $gray-dark: lighten(#000, 20%) !default; // #333
16
16
  $gray: lighten(#000, 33.5%) !default; // #555
17
- $gray-light: lighten(#000, 60%) !default; // #999
17
+ $gray-light: lighten(#000, 46.7%) !default; // #777
18
18
  $gray-lighter: lighten(#000, 93.5%) !default; // #eee
19
19
 
20
20
  $brand-primary: #428bca !default;
@@ -26,7 +26,7 @@ $brand-danger: #d9534f !default;
26
26
 
27
27
  //== Scaffolding
28
28
  //
29
- // ## Settings for some of the most global styles.
29
+ //## Settings for some of the most global styles.
30
30
 
31
31
  //** Background color for `<body>`.
32
32
  $body-bg: #fff !default;
@@ -72,14 +72,18 @@ $headings-line-height: 1.1 !default;
72
72
  $headings-color: inherit !default;
73
73
 
74
74
 
75
- //-- Iconography
75
+ //== Iconography
76
76
  //
77
- //## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
77
+ //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
78
78
 
79
+ //** Load fonts from this directory.
79
80
  $icon-font-path: "bootstrap/" !default;
81
+ //** File name for all font files.
80
82
  $icon-font-name: "glyphicons-halflings-regular" !default;
83
+ //** Element ID within SVG icon file.
81
84
  $icon-font-svg-id: "glyphicons_halflingsregular" !default;
82
85
 
86
+
83
87
  //== Components
84
88
  //
85
89
  //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
@@ -236,7 +240,7 @@ $dropdown-link-disabled-color: $gray-light !default;
236
240
  //** Text color for headers within dropdown menus.
237
241
  $dropdown-header-color: $gray-light !default;
238
242
 
239
- // Note: Deprecated $dropdown-caret-color as of v3.1.0
243
+ //** Deprecated `$dropdown-caret-color` as of v3.1.0
240
244
  $dropdown-caret-color: #000 !default;
241
245
 
242
246
 
@@ -249,8 +253,8 @@ $dropdown-caret-color: #000 !default;
249
253
 
250
254
  $zindex-navbar: 1000 !default;
251
255
  $zindex-dropdown: 1000 !default;
252
- $zindex-popover: 1010 !default;
253
- $zindex-tooltip: 1030 !default;
256
+ $zindex-popover: 1060 !default;
257
+ $zindex-tooltip: 1070 !default;
254
258
  $zindex-navbar-fixed: 1030 !default;
255
259
  $zindex-modal-background: 1040 !default;
256
260
  $zindex-modal: 1050 !default;
@@ -261,27 +265,32 @@ $zindex-modal: 1050 !default;
261
265
  //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
262
266
 
263
267
  // Extra small screen / phone
264
- // Note: Deprecated $screen-xs and $screen-phone as of v3.0.1
268
+ //** Deprecated `$screen-xs` as of v3.0.1
265
269
  $screen-xs: 480px !default;
270
+ //** Deprecated `$screen-xs-min` as of v3.2.0
266
271
  $screen-xs-min: $screen-xs !default;
272
+ //** Deprecated `$screen-phone` as of v3.0.1
267
273
  $screen-phone: $screen-xs-min !default;
268
274
 
269
275
  // Small screen / tablet
270
- // Note: Deprecated $screen-sm and $screen-tablet as of v3.0.1
276
+ //** Deprecated `$screen-sm` as of v3.0.1
271
277
  $screen-sm: 768px !default;
272
278
  $screen-sm-min: $screen-sm !default;
279
+ //** Deprecated `$screen-tablet` as of v3.0.1
273
280
  $screen-tablet: $screen-sm-min !default;
274
281
 
275
282
  // Medium screen / desktop
276
- // Note: Deprecated $screen-md and $screen-desktop as of v3.0.1
283
+ //** Deprecated `$screen-md` as of v3.0.1
277
284
  $screen-md: 992px !default;
278
285
  $screen-md-min: $screen-md !default;
286
+ //** Deprecated `$screen-desktop` as of v3.0.1
279
287
  $screen-desktop: $screen-md-min !default;
280
288
 
281
289
  // Large screen / wide desktop
282
- // Note: Deprecated $screen-lg and $screen-lg-desktop as of v3.0.1
290
+ //** Deprecated `$screen-lg` as of v3.0.1
283
291
  $screen-lg: 1200px !default;
284
292
  $screen-lg-min: $screen-lg !default;
293
+ //** Deprecated `$screen-lg-desktop` as of v3.0.1
285
294
  $screen-lg-desktop: $screen-lg-min !default;
286
295
 
287
296
  // So media queries don't overlap when required, provide a maximum
@@ -529,7 +538,7 @@ $popover-arrow-color: #fff !default;
529
538
  //** Popover outer arrow width
530
539
  $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
531
540
  //** Popover outer arrow color
532
- $popover-arrow-outer-color: fadein($popover-border-color, 5%) !default;
541
+ $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
533
542
  //** Popover outer arrow fallback color
534
543
  $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
535
544
 
@@ -562,7 +571,7 @@ $label-link-hover-color: #fff !default;
562
571
  //##
563
572
 
564
573
  //** Padding applied to the modal body
565
- $modal-inner-padding: 20px !default;
574
+ $modal-inner-padding: 15px !default;
566
575
 
567
576
  //** Padding applied to the modal title
568
577
  $modal-title-padding: 15px !default;
@@ -647,17 +656,26 @@ $list-group-border: #ddd !default;
647
656
  //** List group border radius
648
657
  $list-group-border-radius: $border-radius-base !default;
649
658
 
650
- //** Background color of single list elements on hover
659
+ //** Background color of single list items on hover
651
660
  $list-group-hover-bg: #f5f5f5 !default;
652
- //** Text color of active list elements
661
+ //** Text color of active list items
653
662
  $list-group-active-color: $component-active-color !default;
654
- //** Background color of active list elements
663
+ //** Background color of active list items
655
664
  $list-group-active-bg: $component-active-bg !default;
656
665
  //** Border color of active list elements
657
666
  $list-group-active-border: $list-group-active-bg !default;
667
+ //** Text color for content within active list items
658
668
  $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
659
669
 
670
+ //** Text color of disabled list items
671
+ $list-group-disabled-color: $gray-light !default;
672
+ //** Background color of disabled list items
673
+ $list-group-disabled-bg: $gray-lighter !default;
674
+ //** Text color for content within disabled list items
675
+ $list-group-disabled-text-color: $list-group-disabled-color !default;
676
+
660
677
  $list-group-link-color: #555 !default;
678
+ $list-group-link-hover-color: $list-group-link-color !default;
661
679
  $list-group-link-heading-color: #333 !default;
662
680
 
663
681
 
@@ -667,6 +685,8 @@ $list-group-link-heading-color: #333 !default;
667
685
 
668
686
  $panel-bg: #fff !default;
669
687
  $panel-body-padding: 15px !default;
688
+ $panel-heading-padding: 10px 15px !default;
689
+ $panel-footer-padding: $panel-heading-padding !default;
670
690
  $panel-border-radius: $border-radius-base !default;
671
691
 
672
692
  //** Border color for elements within panels
@@ -806,6 +826,8 @@ $pre-scrollable-max-height: 340px !default;
806
826
  //
807
827
  //##
808
828
 
829
+ //** Horizontal offset for forms and lists.
830
+ $component-offset-horizontal: 180px !default;
809
831
  //** Text muted color
810
832
  $text-muted: $gray-light !default;
811
833
  //** Abbreviations and acronyms border color
@@ -820,14 +842,9 @@ $blockquote-font-size: ($font-size-base * 1.25) !default;
820
842
  $blockquote-border-color: $gray-lighter !default;
821
843
  //** Page header border color
822
844
  $page-header-border-color: $gray-lighter !default;
823
-
824
-
825
- //== Miscellaneous
826
- //
827
- //##
828
-
845
+ //** Width of horizontal description list titles
846
+ $dl-horizontal-offset: $component-offset-horizontal !default;
829
847
  //** Horizontal line color.
830
848
  $hr-border: $gray-lighter !default;
831
849
 
832
- //** Horizontal offset for forms and lists.
833
- $component-offset-horizontal: 180px !default;
850
+
@@ -2,9 +2,10 @@
2
2
  @import "variables";
3
3
  @import "mixins";
4
4
 
5
- // Reset
5
+ // Reset and dependencies
6
6
  @import "normalize";
7
7
  @import "print";
8
+ @import "glyphicons";
8
9
 
9
10
  // Core CSS
10
11
  @import "scaffolding";
@@ -17,7 +18,6 @@
17
18
 
18
19
  // Components
19
20
  @import "component-animations";
20
- @import "glyphicons";
21
21
  @import "dropdowns";
22
22
  @import "button-groups";
23
23
  @import "input-groups";
@@ -35,6 +35,7 @@
35
35
  @import "media";
36
36
  @import "list-group";
37
37
  @import "panels";
38
+ @import "responsive-embed";
38
39
  @import "wells";
39
40
  @import "close";
40
41
 
@@ -0,0 +1,14 @@
1
+ // Alerts
2
+
3
+ @mixin alert-variant($background, $border, $text-color) {
4
+ background-color: $background;
5
+ border-color: $border;
6
+ color: $text-color;
7
+
8
+ hr {
9
+ border-top-color: darken($border, 5%);
10
+ }
11
+ .alert-link {
12
+ color: darken($text-color, 10%);
13
+ }
14
+ }
@@ -0,0 +1,11 @@
1
+ // Contextual backgrounds
2
+
3
+ // [converter] $parent hack
4
+ @mixin bg-variant($parent, $color) {
5
+ #{$parent} {
6
+ background-color: $color;
7
+ }
8
+ a#{$parent}:hover {
9
+ background-color: darken($color, 10%);
10
+ }
11
+ }
@@ -0,0 +1,18 @@
1
+ // Single side border-radius
2
+
3
+ @mixin border-top-radius($radius) {
4
+ border-top-right-radius: $radius;
5
+ border-top-left-radius: $radius;
6
+ }
7
+ @mixin border-right-radius($radius) {
8
+ border-bottom-right-radius: $radius;
9
+ border-top-right-radius: $radius;
10
+ }
11
+ @mixin border-bottom-radius($radius) {
12
+ border-bottom-right-radius: $radius;
13
+ border-bottom-left-radius: $radius;
14
+ }
15
+ @mixin border-left-radius($radius) {
16
+ border-bottom-left-radius: $radius;
17
+ border-top-left-radius: $radius;
18
+ }
@@ -0,0 +1,50 @@
1
+ // Button variants
2
+ //
3
+ // Easily pump out default styles, as well as :hover, :focus, :active,
4
+ // and disabled options for all buttons
5
+
6
+ @mixin button-variant($color, $background, $border) {
7
+ color: $color;
8
+ background-color: $background;
9
+ border-color: $border;
10
+
11
+ &:hover,
12
+ &:focus,
13
+ &:active,
14
+ &.active,
15
+ .open > &.dropdown-toggle {
16
+ color: $color;
17
+ background-color: darken($background, 10%);
18
+ border-color: darken($border, 12%);
19
+ }
20
+ &:active,
21
+ &.active,
22
+ .open > &.dropdown-toggle {
23
+ background-image: none;
24
+ }
25
+ &.disabled,
26
+ &[disabled],
27
+ fieldset[disabled] & {
28
+ &,
29
+ &:hover,
30
+ &:focus,
31
+ &:active,
32
+ &.active {
33
+ background-color: $background;
34
+ border-color: $border;
35
+ }
36
+ }
37
+
38
+ .badge {
39
+ color: $background;
40
+ background-color: $color;
41
+ }
42
+ }
43
+
44
+ // Button sizes
45
+ @mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
46
+ padding: $padding-vertical $padding-horizontal;
47
+ font-size: $font-size;
48
+ line-height: $line-height;
49
+ border-radius: $border-radius;
50
+ }