compass_twitter_bootstrap 2.0.1.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/README.md +17 -0
  2. data/build/convert.rb +2 -12
  3. data/lib/compass_twitter_bootstrap/version.rb +1 -1
  4. data/stylesheets/_compass_twitter_bootstrap.scss +2 -2
  5. data/stylesheets/_compass_twitter_bootstrap_awesome.scss +66 -0
  6. data/stylesheets/_compass_twitter_bootstrap_responsive.scss +14 -293
  7. data/stylesheets/compass_twitter_bootstrap/_accordion.scss +6 -1
  8. data/stylesheets/compass_twitter_bootstrap/_alerts.scss +3 -15
  9. data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +5 -3
  10. data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +82 -39
  11. data/stylesheets/compass_twitter_bootstrap/_buttons.scss +38 -30
  12. data/stylesheets/compass_twitter_bootstrap/_carousel.scss +5 -5
  13. data/stylesheets/compass_twitter_bootstrap/_close.scss +13 -2
  14. data/stylesheets/compass_twitter_bootstrap/_code.scss +9 -9
  15. data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +10 -8
  16. data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +62 -49
  17. data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +267 -0
  18. data/stylesheets/compass_twitter_bootstrap/_forms.scss +141 -77
  19. data/stylesheets/compass_twitter_bootstrap/_grid.scss +2 -5
  20. data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +4 -2
  21. data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +63 -0
  22. data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -3
  23. data/stylesheets/compass_twitter_bootstrap/_mixins.scss +275 -255
  24. data/stylesheets/compass_twitter_bootstrap/_modals.scss +19 -12
  25. data/stylesheets/compass_twitter_bootstrap/_navbar.scss +146 -81
  26. data/stylesheets/compass_twitter_bootstrap/_navs.scss +77 -52
  27. data/stylesheets/compass_twitter_bootstrap/_pager.scss +8 -2
  28. data/stylesheets/compass_twitter_bootstrap/_pagination.scss +6 -5
  29. data/stylesheets/compass_twitter_bootstrap/_popovers.scss +9 -9
  30. data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +41 -19
  31. data/stylesheets/compass_twitter_bootstrap/_reset.scss +4 -4
  32. data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +26 -0
  33. data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +149 -0
  34. data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +17 -0
  35. data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +146 -0
  36. data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +41 -0
  37. data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +4 -4
  38. data/stylesheets/compass_twitter_bootstrap/_sprites.scss +42 -9
  39. data/stylesheets/compass_twitter_bootstrap/_tables.scss +60 -34
  40. data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +18 -6
  41. data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +7 -7
  42. data/stylesheets/compass_twitter_bootstrap/_type.scss +28 -11
  43. data/stylesheets/compass_twitter_bootstrap/_variables.scss +107 -9
  44. data/stylesheets/compass_twitter_bootstrap/_wells.scss +13 -2
  45. data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -2
  46. data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +70 -0
  47. data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +13 -224
  48. data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +5 -1
  49. data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +3 -14
  50. data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +5 -3
  51. data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +73 -36
  52. data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +39 -28
  53. data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +5 -5
  54. data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +12 -2
  55. data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +10 -9
  56. data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +5 -5
  57. data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +57 -47
  58. data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +515 -0
  59. data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +140 -76
  60. data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +2 -5
  61. data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +4 -2
  62. data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +85 -0
  63. data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -3
  64. data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +277 -260
  65. data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +19 -12
  66. data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +138 -78
  67. data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +77 -51
  68. data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +8 -2
  69. data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +6 -5
  70. data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +9 -9
  71. data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +44 -19
  72. data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +4 -3
  73. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +17 -0
  74. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +115 -0
  75. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +11 -0
  76. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +115 -0
  77. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +56 -0
  78. data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +4 -4
  79. data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +70 -7
  80. data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +72 -34
  81. data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +15 -5
  82. data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +7 -7
  83. data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +27 -11
  84. data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +105 -8
  85. data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +11 -2
  86. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  87. data/vendor/assets/fonts/fontawesome-webfont.svg +175 -0
  88. data/vendor/assets/fonts/fontawesome-webfont.svgz +0 -0
  89. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  90. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  91. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  92. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  93. data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
  94. data/vendor/assets/javascripts/bootstrap-all.js +12 -0
  95. data/vendor/assets/javascripts/bootstrap-button.js +32 -34
  96. data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
  97. data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
  98. data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
  99. data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
  100. data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
  101. data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
  102. data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
  103. data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
  104. data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
  105. data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
  106. metadata +29 -9
  107. data/stylesheets/compass_twitter_bootstrap/_labels.scss +0 -32
  108. data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +0 -42
@@ -37,14 +37,14 @@ input,
37
37
  button,
38
38
  select,
39
39
  textarea
40
- +font-shorthand($baseFontSize, normal, $baseLineHeight)
40
+ +bootstrap-font-shorthand($baseFontSize, normal, $baseLineHeight)
41
41
  // Set size, weight, line-height here
42
42
 
43
43
  input,
44
44
  button,
45
45
  select,
46
46
  textarea
47
- +font-family-sans-serif
47
+ font-family: $baseFontFamily
48
48
  // And only set font-family here for those that need it (note the missing label element)
49
49
 
50
50
  // Identify controls by their labels
@@ -67,8 +67,9 @@ select,
67
67
  font-size: $baseFontSize
68
68
  line-height: $baseLineHeight
69
69
  color: $gray
70
- border: 1px solid #ccc
71
- +border-radius(3px)
70
+ background-color: $inputBackground
71
+ border: 1px solid $inputBorder
72
+ +bootstrap-border-radius($inputBorderRadius)
72
73
 
73
74
  .uneditable-textarea
74
75
  width: auto
@@ -94,9 +95,10 @@ input[type="radio"]
94
95
  /* IE7
95
96
  line-height: normal
96
97
  cursor: pointer
97
- +border-radius(0)
98
+ background-color: transparent
98
99
  border: 0 \9
99
100
  /* IE9 and down
101
+ +bootstrap-border-radius(0)
100
102
 
101
103
  input[type="image"]
102
104
  border: 0
@@ -106,10 +108,10 @@ input[type="file"]
106
108
  width: auto
107
109
  padding: initial
108
110
  line-height: initial
109
- border: initial
110
- background-color: $white
111
+ background-color: $inputBackground
111
112
  background-color: initial
112
- +box-shadow(none)
113
+ border: initial
114
+ +bootstrap-box-shadow(none)
113
115
 
114
116
  // Help out input buttons
115
117
 
@@ -137,7 +139,7 @@ input[type="file"]
137
139
  select
138
140
  width: 220px
139
141
  // default input width + 10px of padding that doesn't get applied
140
- background-color: $white
142
+ background-color: $inputBackground
141
143
 
142
144
  // Make multiple select elements height not fixed
143
145
 
@@ -147,7 +149,7 @@ select[size]
147
149
 
148
150
  // Remove shadow from image inputs
149
151
  input[type="image"]
150
- +box-shadow(none)
152
+ +bootstrap-box-shadow(none)
151
153
 
152
154
  // Make textarea height behave
153
155
  textarea
@@ -164,6 +166,8 @@ input[type="hidden"]
164
166
 
165
167
  .radio,
166
168
  .checkbox
169
+ min-height: 18px
170
+ // clear the floating input if there is no label text
167
171
  padding-left: 18px
168
172
 
169
173
  .radio input[type="radio"],
@@ -198,26 +202,25 @@ input[type="hidden"]
198
202
 
199
203
  input,
200
204
  textarea
201
- +box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075))
205
+ +bootstrap-box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075))
202
206
  $transition: border linear 0.2s, box-shadow linear 0.2s
203
- +transition($transition)
207
+ +bootstrap-transition($transition)
204
208
 
205
209
  input:focus,
206
210
  textarea:focus
207
211
  border-color: rgba(82, 168, 236, 0.8)
208
- $shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6)
209
- +box-shadow($shadow)
210
212
  outline: 0
211
213
  outline: thin dotted \9
212
214
  /* IE6-9
215
+ +bootstrap-box-shadow("inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)")
213
216
 
214
217
  input[type="file"]:focus,
215
218
  input[type="radio"]:focus,
216
219
  input[type="checkbox"]:focus,
217
220
  select:focus
218
- +box-shadow(none)
221
+ +bootstrap-tab-focus
222
+ +bootstrap-box-shadow(none)
219
223
  // override for file inputs
220
- +tab-focus
221
224
 
222
225
  // INPUT SIZES
223
226
  // -----------
@@ -246,14 +249,18 @@ select:focus
246
249
  input[class*="span"],
247
250
  select[class*="span"],
248
251
  textarea[class*="span"],
249
- .uneditable-input
252
+ .uneditable-input[class*="span"],
253
+ .row-fluid input[class*="span"],
254
+ .row-fluid select[class*="span"],
255
+ .row-fluid textarea[class*="span"],
256
+ .row-fluid .uneditable-input[class*="span"]
250
257
  float: none
251
258
  margin-left: 0
252
259
 
253
260
  // GRID SIZING FOR INPUTS
254
261
  // ----------------------
255
262
 
256
- +inputGridSystem-generate($gridColumns, $gridColumnWidth, $gridGutterWidth)
263
+ +bootstrap-grid-input($gridColumnWidth, $gridGutterWidth)
257
264
 
258
265
  // DISABLED STATE
259
266
  // --------------
@@ -266,24 +273,32 @@ textarea[disabled],
266
273
  input[readonly],
267
274
  select[readonly],
268
275
  textarea[readonly]
269
- background-color: #f5f5f5
270
- border-color: #ddd
271
276
  cursor: not-allowed
277
+ background-color: $inputDisabledBackground
278
+ border-color: #ddd
279
+
280
+ // Explicitly reset the colors here
281
+
282
+ input[type="radio"][disabled],
283
+ input[type="checkbox"][disabled],
284
+ input[type="radio"][readonly],
285
+ input[type="checkbox"][readonly]
286
+ background-color: transparent
272
287
 
273
288
  // FORM FIELD FEEDBACK STATES
274
289
  // --------------------------
275
290
 
276
291
  // Warning
277
292
  .control-group.warning
278
- +formFieldState($warningText, $warningText, $warningBackground)
293
+ +bootstrap-formFieldState($warningText, $warningText, $warningBackground)
279
294
 
280
295
  // Error
281
296
  .control-group.error
282
- +formFieldState($errorText, $errorText, $errorBackground)
297
+ +bootstrap-formFieldState($errorText, $errorText, $errorBackground)
283
298
 
284
299
  // Success
285
300
  .control-group.success
286
- +formFieldState($successText, $successText, $successBackground)
301
+ +bootstrap-formFieldState($successText, $successText, $successBackground)
287
302
 
288
303
  // HTML5 invalid states
289
304
  // Shares styles with the .control-group.error above
@@ -295,7 +310,7 @@ select:focus:required:invalid
295
310
  border-color: #ee5f5b
296
311
  &:focus
297
312
  border-color: darken(#ee5f5b, 10%)
298
- +box-shadow(0 0 6px lighten(#ee5f5b, 20%))
313
+ +bootstrap-box-shadow(0 0 6px lighten(#ee5f5b, 20%))
299
314
 
300
315
  // FORM ACTIONS
301
316
  // ------------
@@ -304,34 +319,40 @@ select:focus:required:invalid
304
319
  padding: $baseLineHeight - 1 20px $baseLineHeight
305
320
  margin-top: $baseLineHeight
306
321
  margin-bottom: $baseLineHeight
307
- background-color: #f5f5f5
322
+ background-color: $formActionsBackground
308
323
  border-top: 1px solid #ddd
324
+ +bootstrap-clearfix
325
+ // Adding clearfix to allow for .pull-right button containers
309
326
 
310
327
  // For text that needs to appear as an input but should not be an input
311
328
  .uneditable-input
312
- display: block
313
- background-color: $white
314
- border-color: #eee
315
- +box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.025))
329
+ overflow: hidden
330
+ // prevent text from wrapping, but still cut it off like an input does
331
+ white-space: nowrap
316
332
  cursor: not-allowed
333
+ background-color: $inputBackground
334
+ border-color: #eee
335
+ +bootstrap-box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.025))
317
336
 
318
337
  // Placeholder text gets special styles; can't be bundled together though for some reason
319
- +placeholder($grayLight)
338
+ +bootstrap-placeholder($grayLight)
320
339
 
321
340
  // HELP TEXT
322
341
  // ---------
323
342
 
343
+ .help-block,
344
+ .help-inline
345
+ color: $gray
346
+ // lighten the text some for contrast
347
+
324
348
  .help-block
325
349
  display: block
326
350
  // account for any element using help-block
327
- margin-top: 5px
328
- margin-bottom: 0
329
- color: $grayLight
351
+ margin-bottom: $baseLineHeight / 2
330
352
 
331
353
  .help-inline
332
354
  display: inline-block
333
- +ie7-inline-block
334
- margin-bottom: 9px
355
+ +bootstrap-ie7-inline-block
335
356
  vertical-align: middle
336
357
  padding-left: 5px
337
358
 
@@ -343,69 +364,91 @@ select:focus:required:invalid
343
364
  .input-prepend,
344
365
  .input-append
345
366
  margin-bottom: 5px
346
- +clearfix
367
+ +bootstrap-clearfix
347
368
  // Clear the float to prevent wrapping
348
369
  input,
370
+ select,
349
371
  .uneditable-input
350
- +border-radius(0 3px 3px 0)
372
+ position: relative
373
+ // placed here by default so that on :focus we can place the input above the .add-on for full border and box-shadow goodness
374
+ margin-bottom: 0
375
+ // prevent bottom margin from screwing up alignment in stacked forms
376
+ *margin-left: 0
377
+ vertical-align: middle
378
+ +bootstrap-border-radius(0 $inputBorderRadius $inputBorderRadius 0)
379
+ // Make input on top when focused so blue border and shadow always show
351
380
  &:focus
352
- position: relative
353
381
  z-index: 2
354
382
  .uneditable-input
355
383
  border-left-color: #ccc
356
384
  .add-on
357
- float: left
358
- display: block
385
+ display: inline-block
359
386
  width: auto
360
- min-width: 16px
361
387
  height: $baseLineHeight
362
- margin-right: -1px
388
+ min-width: 16px
363
389
  padding: 4px 5px
364
390
  font-weight: normal
365
391
  line-height: $baseLineHeight
366
- color: $grayLight
367
392
  text-align: center
368
393
  text-shadow: 0 1px 0 $white
369
- background-color: #f5f5f5
394
+ vertical-align: middle
395
+ background-color: $grayLighter
370
396
  border: 1px solid #ccc
371
- +border-radius(3px 0 0 3px)
397
+ .add-on,
398
+ .btn
399
+ margin-left: -1px
400
+ +bootstrap-border-radius(0)
372
401
  .active
373
402
  background-color: lighten($green, 30)
374
403
  border-color: $green
375
404
 
376
405
  .input-prepend
377
- .add-on
378
- *margin-top: 1px
379
- /* IE6-7
406
+ .add-on,
407
+ .btn
408
+ margin-right: -1px
409
+ .add-on:first-child,
410
+ .btn:first-child
411
+ +bootstrap-border-radius($inputBorderRadius 0 0 $inputBorderRadius)
380
412
 
381
413
  .input-append
382
414
  input,
415
+ select,
383
416
  .uneditable-input
384
- float: left
385
- +border-radius(3px 0 0 3px)
417
+ +bootstrap-border-radius($inputBorderRadius 0 0 $inputBorderRadius)
386
418
  .uneditable-input
387
- border-left-color: #eee
388
419
  border-right-color: #ccc
389
- .add-on
390
- margin-right: 0
420
+ border-left-color: #eee
421
+ .add-on:last-child,
422
+ .btn:last-child
423
+ +bootstrap-border-radius(0 $inputBorderRadius $inputBorderRadius 0)
424
+
425
+ // Remove all border-radius for inputs with both prepend and append
426
+ .input-prepend.input-append
427
+ input,
428
+ select,
429
+ .uneditable-input
430
+ +bootstrap-border-radius(0)
431
+ .add-on:first-child,
432
+ .btn:first-child
433
+ margin-right: -1px
434
+ +bootstrap-border-radius($inputBorderRadius 0 0 $inputBorderRadius)
435
+ .add-on:last-child,
436
+ .btn:last-child
391
437
  margin-left: -1px
392
- +border-radius(0 3px 3px 0)
393
- input:first-child
394
- // In IE7, having a hasLayout container (from clearfix's zoom:1) can make the first input
395
- // inherit the sum of its ancestors' margins.
396
- *margin-left: -160px
397
- & + .add-on
398
- *margin-left: -21px
438
+ +bootstrap-border-radius(0 $inputBorderRadius $inputBorderRadius 0)
399
439
 
400
440
  // SEARCH FORM
401
441
  // -----------
402
442
 
403
443
  .search-query
404
- padding-left: 14px
405
444
  padding-right: 14px
445
+ padding-right: 4px \9
446
+ padding-left: 14px
447
+ padding-left: 4px \9
448
+ /* IE7-8 doesn't have border-radius, so don't indent the padding
406
449
  margin-bottom: 0
407
450
  // remove the default margin on all inputs
408
- +border-radius(14px)
451
+ +bootstrap-border-radius(14px)
409
452
 
410
453
  // HORIZONTAL & VERTICAL FORMS
411
454
  // ---------------------------
@@ -420,38 +463,48 @@ select:focus:required:invalid
420
463
  textarea,
421
464
  select,
422
465
  .help-inline,
423
- .uneditable-input
466
+ .uneditable-input,
467
+ .input-prepend,
468
+ .input-append
424
469
  display: inline-block
470
+ +bootstrap-ie7-inline-block
425
471
  margin-bottom: 0
426
472
  // Re-hide hidden elements due to specifity
427
473
  .hide
428
474
  display: none
429
475
 
430
476
  .form-search label,
431
- .form-inline label,
477
+ .form-inline label
478
+ display: inline-block
479
+
480
+ // Remove margin for input-prepend/-append
481
+
432
482
  .form-search .input-append,
433
483
  .form-inline .input-append,
434
484
  .form-search .input-prepend,
435
485
  .form-inline .input-prepend
436
- display: inline-block
437
-
438
- // Make the prepend and append add-on vertical-align: middle;
439
-
440
- .form-search .input-append .add-on,
441
- .form-inline .input-prepend .add-on,
442
- .form-search .input-append .add-on,
443
- .form-inline .input-prepend .add-on
444
- vertical-align: middle
486
+ margin-bottom: 0
445
487
 
446
- // Inline checkbox/radio labels
488
+ // Inline checkbox/radio labels (remove padding on left)
447
489
 
448
490
  .form-search .radio,
449
- .form-inline .radio,
450
491
  .form-search .checkbox,
492
+ .form-inline .radio,
451
493
  .form-inline .checkbox
494
+ padding-left: 0
452
495
  margin-bottom: 0
453
496
  vertical-align: middle
454
497
 
498
+ // Remove float and margin, set to inline-block
499
+
500
+ .form-search .radio input[type="radio"],
501
+ .form-search .checkbox input[type="checkbox"],
502
+ .form-inline .radio input[type="radio"],
503
+ .form-inline .checkbox input[type="checkbox"]
504
+ float: left
505
+ margin-right: 3px
506
+ margin-left: 0
507
+
455
508
  // Margin to space out fieldsets
456
509
  .control-group
457
510
  margin-bottom: $baseLineHeight / 2
@@ -468,7 +521,7 @@ legend + .control-group
468
521
  // Increase spacing between groups
469
522
  .control-group
470
523
  margin-bottom: $baseLineHeight
471
- +clearfix
524
+ +bootstrap-clearfix
472
525
  // Float the labels left
473
526
  .control-label
474
527
  float: left
@@ -477,7 +530,18 @@ legend + .control-group
477
530
  text-align: right
478
531
  // Move over all input controls and content
479
532
  .controls
533
+ // Super jank IE7 fix to ensure the inputs in .input-append and input-prepend
534
+ // don't inherit the margin of the parent, in this case .controls
535
+ *display: inline-block
536
+ *padding-left: 20px
480
537
  margin-left: 160px
538
+ *margin-left: 0
539
+ &:first-child
540
+ *padding-left: 160px
541
+ // Remove bottom margin on block level help text since that's accounted for on .control-group
542
+ .help-block
543
+ margin-top: $baseLineHeight / 2
544
+ margin-bottom: 0
481
545
  // Move over buttons in .form-actions to align with .controls
482
546
  .form-actions
483
547
  padding-left: 160px
@@ -1,8 +1,5 @@
1
- // GRID SYSTEM
2
- // -----------
3
-
4
1
  // Fixed (940px)
5
- +gridSystem-generate($gridColumns, $gridColumnWidth, $gridGutterWidth)
2
+ +bootstrap-grid-core($gridColumnWidth, $gridGutterWidth)
6
3
 
7
4
  // Fluid (940px)
8
- +fluidGridSystem-generate($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth)
5
+ +bootstrap-grid-fluid($fluidGridColumnWidth, $fluidGridGutterWidth)
@@ -4,14 +4,16 @@
4
4
  .hero-unit
5
5
  padding: 60px
6
6
  margin-bottom: 30px
7
- background-color: #f5f5f5
8
- +border-radius(6px)
7
+ background-color: $heroUnitBackground
8
+ +bootstrap-border-radius(6px)
9
9
  h1
10
10
  margin-bottom: 0
11
11
  font-size: 60px
12
12
  line-height: 1
13
+ color: $heroUnitHeadingColor
13
14
  letter-spacing: -1px
14
15
  p
15
16
  font-size: 18px
16
17
  font-weight: 200
17
18
  line-height: $baseLineHeight * 1.5
19
+ color: $heroUnitLeadColor