jekyll-bootstrap 4.0.0.pre.beta.2.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +5 -5
  2. data/_includes/head.html +0 -2
  3. data/_sass/_alert.scss +3 -1
  4. data/_sass/_button-group.scss +31 -72
  5. data/_sass/_buttons.scss +26 -19
  6. data/_sass/_card.scss +23 -12
  7. data/_sass/_carousel.scss +2 -2
  8. data/_sass/_close.scss +6 -1
  9. data/_sass/_code.scss +4 -12
  10. data/_sass/_custom-forms.scss +124 -84
  11. data/_sass/_dropdown.scss +30 -2
  12. data/_sass/_forms.scss +46 -71
  13. data/_sass/_functions.scss +4 -4
  14. data/_sass/_images.scss +0 -1
  15. data/_sass/_input-group.scss +99 -126
  16. data/_sass/_list-group.scss +2 -1
  17. data/_sass/_modal.scss +24 -9
  18. data/_sass/_nav.scss +2 -2
  19. data/_sass/_navbar.scss +8 -3
  20. data/_sass/_pagination.scss +32 -19
  21. data/_sass/_popover.scss +106 -117
  22. data/_sass/_print.scss +17 -3
  23. data/_sass/_progress.scss +4 -1
  24. data/_sass/_reboot.scss +3 -25
  25. data/_sass/_tables.scss +1 -1
  26. data/_sass/_tooltip.scss +65 -57
  27. data/_sass/_type.scss +2 -2
  28. data/_sass/_variables.scss +174 -108
  29. data/_sass/bootstrap-grid.scss +4 -7
  30. data/_sass/bootstrap-reboot.scss +3 -3
  31. data/_sass/bootstrap.scss +4 -4
  32. data/_sass/mixins/_background-variant.scss +2 -1
  33. data/_sass/mixins/_breakpoints.scss +11 -7
  34. data/_sass/mixins/_buttons.scss +37 -22
  35. data/_sass/mixins/_caret.scss +30 -0
  36. data/_sass/mixins/_forms.scss +48 -19
  37. data/_sass/mixins/_grid-framework.scss +5 -7
  38. data/_sass/mixins/_hover.scss +24 -46
  39. data/_sass/mixins/_list-group.scss +10 -13
  40. data/_sass/mixins/_screen-reader.scss +1 -1
  41. data/_sass/mixins/_text-hide.scss +1 -0
  42. data/_sass/utilities/_borders.scss +6 -1
  43. data/_sass/utilities/_display.scss +10 -28
  44. metadata +5 -19
@@ -53,8 +53,8 @@ h6, .h6 { font-size: $h6-font-size; }
53
53
  //
54
54
 
55
55
  hr {
56
- margin-top: 1rem;
57
- margin-bottom: 1rem;
56
+ margin-top: $hr-margin-y;
57
+ margin-bottom: $hr-margin-y;
58
58
  border: 0;
59
59
  border-top: $hr-border-width solid $hr-border-color;
60
60
  }
@@ -15,7 +15,7 @@ $gray-200: #e9ecef !default;
15
15
  $gray-300: #dee2e6 !default;
16
16
  $gray-400: #ced4da !default;
17
17
  $gray-500: #adb5bd !default;
18
- $gray-600: #868e96 !default;
18
+ $gray-600: #6c757d !default;
19
19
  $gray-700: #495057 !default;
20
20
  $gray-800: #343a40 !default;
21
21
  $gray-900: #212529 !default;
@@ -87,6 +87,12 @@ $theme-colors: map-merge((
87
87
  // Set a specific jump point for requesting color jumps
88
88
  $theme-color-interval: 8% !default;
89
89
 
90
+ // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
91
+ $yiq-contrasted-threshold: 150 !default;
92
+
93
+ // Customize the light and dark text colors for use in our YIQ color contrast function.
94
+ $yiq-text-dark: $gray-900 !default;
95
+ $yiq-text-light: $white !default;
90
96
 
91
97
  // Options
92
98
  //
@@ -97,7 +103,7 @@ $enable-rounded: true !default;
97
103
  $enable-shadows: false !default;
98
104
  $enable-gradients: false !default;
99
105
  $enable-transitions: true !default;
100
- $enable-hover-media-query: false !default;
106
+ $enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
101
107
  $enable-grid-classes: true !default;
102
108
  $enable-print-styles: true !default;
103
109
 
@@ -108,23 +114,27 @@ $enable-print-styles: true !default;
108
114
  // variables. Mostly focused on spacing.
109
115
  // You can add more entries to the $spacers map, should you need more variation.
110
116
 
117
+ // stylelint-disable
111
118
  $spacer: 1rem !default;
112
- $spacers: (
119
+ $spacers: () !default;
120
+ $spacers: map-merge((
113
121
  0: 0,
114
122
  1: ($spacer * .25),
115
123
  2: ($spacer * .5),
116
124
  3: $spacer,
117
125
  4: ($spacer * 1.5),
118
126
  5: ($spacer * 3)
119
- ) !default;
127
+ ), $spacers);
120
128
 
121
129
  // This variable affects the `.h-*` and `.w-*` classes.
122
- $sizes: (
130
+ $sizes: () !default;
131
+ $sizes: map-merge((
123
132
  25: 25%,
124
133
  50: 50%,
125
134
  75: 75%,
126
135
  100: 100%
127
- ) !default;
136
+ ), $sizes);
137
+ // stylelint-enable
128
138
 
129
139
  // Body
130
140
  //
@@ -195,7 +205,7 @@ $line-height-lg: 1.5 !default;
195
205
  $line-height-sm: 1.5 !default;
196
206
 
197
207
  $border-width: 1px !default;
198
- $border-color: $gray-200 !default;
208
+ $border-color: $gray-300 !default;
199
209
 
200
210
  $border-radius: .25rem !default;
201
211
  $border-radius-lg: .3rem !default;
@@ -217,7 +227,7 @@ $transition-collapse: height .35s ease !default;
217
227
 
218
228
  // stylelint-disable value-keyword-case
219
229
  $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
220
- $font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
230
+ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
221
231
  $font-family-base: $font-family-sans-serif !default;
222
232
  // stylelint-enable value-keyword-case
223
233
 
@@ -266,19 +276,21 @@ $text-muted: $gray-600 !default;
266
276
  $blockquote-small-color: $gray-600 !default;
267
277
  $blockquote-font-size: ($font-size-base * 1.25) !default;
268
278
 
269
- $hr-border-color: rgba($black,.1) !default;
279
+ $hr-border-color: rgba($black, .1) !default;
270
280
  $hr-border-width: $border-width !default;
271
281
 
272
282
  $mark-padding: .2em !default;
273
283
 
274
284
  $dt-font-weight: $font-weight-bold !default;
275
285
 
276
- $kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default;
286
+ $kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
277
287
  $nested-kbd-font-weight: $font-weight-bold !default;
278
288
 
279
- $list-inline-padding: 5px !default;
289
+ $list-inline-padding: .5rem !default;
290
+
291
+ $mark-bg: #fcf8e3 !default;
280
292
 
281
- $mark-bg: #fcf8e3 !default;
293
+ $hr-margin-y: $spacer !default;
282
294
 
283
295
 
284
296
  // Tables
@@ -289,12 +301,12 @@ $table-cell-padding: .75rem !default;
289
301
  $table-cell-padding-sm: .3rem !default;
290
302
 
291
303
  $table-bg: transparent !default;
292
- $table-accent-bg: rgba($black,.05) !default;
293
- $table-hover-bg: rgba($black,.075) !default;
304
+ $table-accent-bg: rgba($black, .05) !default;
305
+ $table-hover-bg: rgba($black, .075) !default;
294
306
  $table-active-bg: $table-hover-bg !default;
295
307
 
296
308
  $table-border-width: $border-width !default;
297
- $table-border-color: $gray-200 !default;
309
+ $table-border-color: $gray-300 !default;
298
310
 
299
311
  $table-head-bg: $gray-200 !default;
300
312
  $table-head-color: $gray-700 !default;
@@ -306,16 +318,16 @@ $table-dark-border-color: lighten($gray-900, 7.5%) !default;
306
318
  $table-dark-color: $body-bg !default;
307
319
 
308
320
 
309
- // Buttons
321
+ // Buttons + Forms
310
322
  //
311
- // For each of Bootstrap's buttons, define text, background and border color.
323
+ // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
312
324
 
313
325
  $input-btn-padding-y: .375rem !default;
314
326
  $input-btn-padding-x: .75rem !default;
315
327
  $input-btn-line-height: $line-height-base !default;
316
328
 
317
329
  $input-btn-focus-width: .2rem !default;
318
- $input-btn-focus-color: rgba(theme-color("primary"), .25) !default;
330
+ $input-btn-focus-color: rgba($component-active-bg, .25) !default;
319
331
  $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
320
332
 
321
333
  $input-btn-padding-y-sm: .25rem !default;
@@ -326,9 +338,33 @@ $input-btn-padding-y-lg: .5rem !default;
326
338
  $input-btn-padding-x-lg: 1rem !default;
327
339
  $input-btn-line-height-lg: $line-height-lg !default;
328
340
 
341
+ $input-btn-border-width: $border-width !default;
342
+
343
+
344
+ // Buttons
345
+ //
346
+ // For each of Bootstrap's buttons, define text, background, and border color.
347
+
348
+ $btn-padding-y: $input-btn-padding-y !default;
349
+ $btn-padding-x: $input-btn-padding-x !default;
350
+ $btn-line-height: $input-btn-line-height !default;
351
+
352
+ $btn-padding-y-sm: $input-btn-padding-y-sm !default;
353
+ $btn-padding-x-sm: $input-btn-padding-x-sm !default;
354
+ $btn-line-height-sm: $input-btn-line-height-sm !default;
355
+
356
+ $btn-padding-y-lg: $input-btn-padding-y-lg !default;
357
+ $btn-padding-x-lg: $input-btn-padding-x-lg !default;
358
+ $btn-line-height-lg: $input-btn-line-height-lg !default;
359
+
360
+ $btn-border-width: $input-btn-border-width !default;
361
+
329
362
  $btn-font-weight: $font-weight-normal !default;
330
- $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default;
331
- $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
363
+ $btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
364
+ $btn-focus-width: $input-btn-focus-width !default;
365
+ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
366
+ $btn-disabled-opacity: .65 !default;
367
+ $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
332
368
 
333
369
  $btn-link-disabled-color: $gray-600 !default;
334
370
 
@@ -339,30 +375,44 @@ $btn-border-radius: $border-radius !default;
339
375
  $btn-border-radius-lg: $border-radius-lg !default;
340
376
  $btn-border-radius-sm: $border-radius-sm !default;
341
377
 
342
- $btn-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
378
+ $btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
343
379
 
344
380
 
345
381
  // Forms
346
382
 
383
+ $input-padding-y: $input-btn-padding-y !default;
384
+ $input-padding-x: $input-btn-padding-x !default;
385
+ $input-line-height: $input-btn-line-height !default;
386
+
387
+ $input-padding-y-sm: $input-btn-padding-y-sm !default;
388
+ $input-padding-x-sm: $input-btn-padding-x-sm !default;
389
+ $input-line-height-sm: $input-btn-line-height-sm !default;
390
+
391
+ $input-padding-y-lg: $input-btn-padding-y-lg !default;
392
+ $input-padding-x-lg: $input-btn-padding-x-lg !default;
393
+ $input-line-height-lg: $input-btn-line-height-lg !default;
394
+
347
395
  $input-bg: $white !default;
348
396
  $input-disabled-bg: $gray-200 !default;
349
397
 
350
398
  $input-color: $gray-700 !default;
351
399
  $input-border-color: $gray-400 !default;
352
- $input-btn-border-width: $border-width !default; // For form controls and buttons
353
- $input-box-shadow: inset 0 1px 1px rgba($black,.075) !default;
400
+ $input-border-width: $input-btn-border-width !default;
401
+ $input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
354
402
 
355
403
  $input-border-radius: $border-radius !default;
356
404
  $input-border-radius-lg: $border-radius-lg !default;
357
405
  $input-border-radius-sm: $border-radius-sm !default;
358
406
 
359
407
  $input-focus-bg: $input-bg !default;
360
- $input-focus-border-color: lighten(theme-color("primary"), 25%) !default;
408
+ $input-focus-border-color: lighten($component-active-bg, 25%) !default;
361
409
  $input-focus-color: $input-color !default;
410
+ $input-focus-width: $input-btn-focus-width !default;
411
+ $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
362
412
 
363
413
  $input-placeholder-color: $gray-600 !default;
364
414
 
365
- $input-height-border: $input-btn-border-width * 2 !default;
415
+ $input-height-border: $input-border-width * 2 !default;
366
416
 
367
417
  $input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
368
418
  $input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
@@ -373,16 +423,16 @@ $input-height-sm: calc(#{$input-height-inner-sm} + #{$inpu
373
423
  $input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
374
424
  $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
375
425
 
376
- $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
426
+ $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
377
427
 
378
428
  $form-text-margin-top: .25rem !default;
379
429
 
380
- $form-check-margin-bottom: .5rem !default;
381
430
  $form-check-input-gutter: 1.25rem !default;
382
- $form-check-input-margin-y: .25rem !default;
431
+ $form-check-input-margin-y: .3rem !default;
383
432
  $form-check-input-margin-x: .25rem !default;
384
433
 
385
434
  $form-check-inline-margin-x: .75rem !default;
435
+ $form-check-inline-input-margin-x: .3125rem !default;
386
436
 
387
437
  $form-group-margin-bottom: 1rem !default;
388
438
 
@@ -391,31 +441,31 @@ $input-group-addon-bg: $gray-200 !default;
391
441
  $input-group-addon-border-color: $input-border-color !default;
392
442
 
393
443
  $custom-control-gutter: 1.5rem !default;
394
- $custom-control-spacer-y: .25rem !default;
395
444
  $custom-control-spacer-x: 1rem !default;
396
445
 
397
446
  $custom-control-indicator-size: 1rem !default;
398
- $custom-control-indicator-bg: #ddd !default;
447
+ $custom-control-indicator-bg: $gray-300 !default;
399
448
  $custom-control-indicator-bg-size: 50% 50% !default;
400
- $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default;
449
+ $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
401
450
 
402
451
  $custom-control-indicator-disabled-bg: $gray-200 !default;
403
- $custom-control-description-disabled-color: $gray-600 !default;
452
+ $custom-control-label-disabled-color: $gray-600 !default;
404
453
 
405
- $custom-control-indicator-checked-color: $white !default;
406
- $custom-control-indicator-checked-bg: theme-color("primary") !default;
454
+ $custom-control-indicator-checked-color: $component-active-color !default;
455
+ $custom-control-indicator-checked-bg: $component-active-bg !default;
456
+ $custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
407
457
  $custom-control-indicator-checked-box-shadow: none !default;
408
458
 
409
459
  $custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
410
460
 
411
- $custom-control-indicator-active-color: $white !default;
412
- $custom-control-indicator-active-bg: lighten(theme-color("primary"), 35%) !default;
461
+ $custom-control-indicator-active-color: $component-active-color !default;
462
+ $custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default;
413
463
  $custom-control-indicator-active-box-shadow: none !default;
414
464
 
415
465
  $custom-checkbox-indicator-border-radius: $border-radius !default;
416
466
  $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
417
467
 
418
- $custom-checkbox-indicator-indeterminate-bg: theme-color("primary") !default;
468
+ $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
419
469
  $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
420
470
  $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
421
471
  $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
@@ -433,21 +483,24 @@ $custom-select-disabled-color: $gray-600 !default;
433
483
  $custom-select-bg: $white !default;
434
484
  $custom-select-disabled-bg: $gray-200 !default;
435
485
  $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
436
- $custom-select-indicator-color: #333 !default;
486
+ $custom-select-indicator-color: $gray-800 !default;
437
487
  $custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default;
438
488
  $custom-select-border-width: $input-btn-border-width !default;
439
489
  $custom-select-border-color: $input-border-color !default;
440
490
  $custom-select-border-radius: $border-radius !default;
441
491
 
442
- $custom-select-focus-border-color: lighten(theme-color("primary"), 25%) !default;
492
+ $custom-select-focus-border-color: $input-focus-border-color !default;
443
493
  $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
444
494
 
445
495
  $custom-select-font-size-sm: 75% !default;
446
496
  $custom-select-height-sm: $input-height-sm !default;
447
497
 
498
+ $custom-select-font-size-lg: 125% !default;
499
+ $custom-select-height-lg: $input-height-lg !default;
500
+
448
501
  $custom-file-height: $input-height !default;
449
- $custom-file-width: 14rem !default;
450
- $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem theme-color("primary") !default;
502
+ $custom-file-focus-border-color: $input-focus-border-color !default;
503
+ $custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;
451
504
 
452
505
  $custom-file-padding-y: $input-btn-padding-y !default;
453
506
  $custom-file-padding-x: $input-btn-padding-x !default;
@@ -461,16 +514,13 @@ $custom-file-box-shadow: $input-box-shadow !default;
461
514
  $custom-file-button-color: $custom-file-color !default;
462
515
  $custom-file-button-bg: $input-group-addon-bg !default;
463
516
  $custom-file-text: (
464
- placeholder: (
465
- en: "Choose file..."
466
- ),
467
- button-label: (
468
- en: "Browse"
469
- )
517
+ en: "Browse"
470
518
  ) !default;
471
519
 
472
520
 
473
521
  // Form validation
522
+ $form-feedback-margin-top: $form-text-margin-top !default;
523
+ $form-feedback-font-size: $small-font-size !default;
474
524
  $form-feedback-valid-color: theme-color("success") !default;
475
525
  $form-feedback-invalid-color: theme-color("danger") !default;
476
526
 
@@ -483,10 +533,11 @@ $dropdown-min-width: 10rem !default;
483
533
  $dropdown-padding-y: .5rem !default;
484
534
  $dropdown-spacer: .125rem !default;
485
535
  $dropdown-bg: $white !default;
486
- $dropdown-border-color: rgba($black,.15) !default;
536
+ $dropdown-border-color: rgba($black, .15) !default;
537
+ $dropdown-border-radius: $border-radius !default;
487
538
  $dropdown-border-width: $border-width !default;
488
539
  $dropdown-divider-bg: $gray-200 !default;
489
- $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default;
540
+ $dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;
490
541
 
491
542
  $dropdown-link-color: $gray-900 !default;
492
543
  $dropdown-link-hover-color: darken($gray-900, 5%) !default;
@@ -522,13 +573,13 @@ $nav-link-padding-y: .5rem !default;
522
573
  $nav-link-padding-x: 1rem !default;
523
574
  $nav-link-disabled-color: $gray-600 !default;
524
575
 
525
- $nav-tabs-border-color: #ddd !default;
576
+ $nav-tabs-border-color: $gray-300 !default;
526
577
  $nav-tabs-border-width: $border-width !default;
527
578
  $nav-tabs-border-radius: $border-radius !default;
528
- $nav-tabs-link-hover-border-color: $gray-200 !default;
579
+ $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
529
580
  $nav-tabs-link-active-color: $gray-700 !default;
530
581
  $nav-tabs-link-active-bg: $body-bg !default;
531
- $nav-tabs-link-active-border-color: #ddd !default;
582
+ $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
532
583
 
533
584
  $nav-pills-border-radius: $border-radius !default;
534
585
  $nav-pills-link-active-color: $component-active-color !default;
@@ -539,6 +590,8 @@ $nav-pills-link-active-bg: $component-active-bg !default;
539
590
  $navbar-padding-y: ($spacer / 2) !default;
540
591
  $navbar-padding-x: $spacer !default;
541
592
 
593
+ $navbar-nav-link-padding-x: .5rem !default;
594
+
542
595
  $navbar-brand-font-size: $font-size-lg !default;
543
596
  // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
544
597
  $nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
@@ -550,19 +603,19 @@ $navbar-toggler-padding-x: .75rem !default;
550
603
  $navbar-toggler-font-size: $font-size-lg !default;
551
604
  $navbar-toggler-border-radius: $btn-border-radius !default;
552
605
 
553
- $navbar-dark-color: rgba($white,.5) !default;
554
- $navbar-dark-hover-color: rgba($white,.75) !default;
606
+ $navbar-dark-color: rgba($white, .5) !default;
607
+ $navbar-dark-hover-color: rgba($white, .75) !default;
555
608
  $navbar-dark-active-color: $white !default;
556
- $navbar-dark-disabled-color: rgba($white,.25) !default;
609
+ $navbar-dark-disabled-color: rgba($white, .25) !default;
557
610
  $navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
558
- $navbar-dark-toggler-border-color: rgba($white,.1) !default;
611
+ $navbar-dark-toggler-border-color: rgba($white, .1) !default;
559
612
 
560
- $navbar-light-color: rgba($black,.5) !default;
561
- $navbar-light-hover-color: rgba($black,.7) !default;
562
- $navbar-light-active-color: rgba($black,.9) !default;
563
- $navbar-light-disabled-color: rgba($black,.3) !default;
613
+ $navbar-light-color: rgba($black, .5) !default;
614
+ $navbar-light-hover-color: rgba($black, .7) !default;
615
+ $navbar-light-active-color: rgba($black, .9) !default;
616
+ $navbar-light-disabled-color: rgba($black, .3) !default;
564
617
  $navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
565
- $navbar-light-toggler-border-color: rgba($black,.1) !default;
618
+ $navbar-light-toggler-border-color: rgba($black, .1) !default;
566
619
 
567
620
  // Pagination
568
621
 
@@ -577,19 +630,21 @@ $pagination-line-height: 1.25 !default;
577
630
  $pagination-color: $link-color !default;
578
631
  $pagination-bg: $white !default;
579
632
  $pagination-border-width: $border-width !default;
580
- $pagination-border-color: #ddd !default;
633
+ $pagination-border-color: $gray-300 !default;
634
+
635
+ $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
581
636
 
582
637
  $pagination-hover-color: $link-hover-color !default;
583
638
  $pagination-hover-bg: $gray-200 !default;
584
- $pagination-hover-border-color: #ddd !default;
639
+ $pagination-hover-border-color: $gray-300 !default;
585
640
 
586
- $pagination-active-color: $white !default;
587
- $pagination-active-bg: theme-color("primary") !default;
588
- $pagination-active-border-color: theme-color("primary") !default;
641
+ $pagination-active-color: $component-active-color !default;
642
+ $pagination-active-bg: $component-active-bg !default;
643
+ $pagination-active-border-color: $pagination-active-bg !default;
589
644
 
590
645
  $pagination-disabled-color: $gray-600 !default;
591
646
  $pagination-disabled-bg: $white !default;
592
- $pagination-disabled-border-color: #ddd !default;
647
+ $pagination-disabled-border-color: $gray-300 !default;
593
648
 
594
649
 
595
650
  // Jumbotron
@@ -604,7 +659,7 @@ $card-spacer-y: .75rem !default;
604
659
  $card-spacer-x: 1.25rem !default;
605
660
  $card-border-width: $border-width !default;
606
661
  $card-border-radius: $border-radius !default;
607
- $card-border-color: rgba($black,.125) !default;
662
+ $card-border-color: rgba($black, .125) !default;
608
663
  $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
609
664
  $card-cap-bg: rgba($black, .03) !default;
610
665
  $card-bg: $white !default;
@@ -621,27 +676,30 @@ $card-columns-margin: $card-spacer-y !default;
621
676
 
622
677
  // Tooltips
623
678
 
624
- $tooltip-max-width: 200px !default;
625
- $tooltip-color: $white !default;
626
- $tooltip-bg: $black !default;
627
- $tooltip-opacity: .9 !default;
628
- $tooltip-padding-y: 3px !default;
629
- $tooltip-padding-x: 8px !default;
630
- $tooltip-margin: 0 !default;
631
-
679
+ $tooltip-font-size: $font-size-sm !default;
680
+ $tooltip-max-width: 200px !default;
681
+ $tooltip-color: $white !default;
682
+ $tooltip-bg: $black !default;
683
+ $tooltip-border-radius: $border-radius !default;
684
+ $tooltip-opacity: .9 !default;
685
+ $tooltip-padding-y: .25rem !default;
686
+ $tooltip-padding-x: .5rem !default;
687
+ $tooltip-margin: 0 !default;
632
688
 
633
- $tooltip-arrow-width: 5px !default;
634
- $tooltip-arrow-height: 5px !default;
635
- $tooltip-arrow-color: $tooltip-bg !default;
689
+ $tooltip-arrow-width: .8rem !default;
690
+ $tooltip-arrow-height: .4rem !default;
691
+ $tooltip-arrow-color: $tooltip-bg !default;
636
692
 
637
693
 
638
694
  // Popovers
639
695
 
696
+ $popover-font-size: $font-size-sm !default;
640
697
  $popover-bg: $white !default;
641
698
  $popover-max-width: 276px !default;
642
699
  $popover-border-width: $border-width !default;
643
- $popover-border-color: rgba($black,.2) !default;
644
- $popover-box-shadow: 0 .25rem .5rem rgba($black,.2) !default;
700
+ $popover-border-color: rgba($black, .2) !default;
701
+ $popover-border-radius: $border-radius-lg !default;
702
+ $popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;
645
703
 
646
704
  $popover-header-bg: darken($popover-bg, 3%) !default;
647
705
  $popover-header-color: $headings-color !default;
@@ -652,8 +710,8 @@ $popover-body-color: $body-color !default;
652
710
  $popover-body-padding-y: $popover-header-padding-y !default;
653
711
  $popover-body-padding-x: $popover-header-padding-x !default;
654
712
 
655
- $popover-arrow-width: .8rem !default;
656
- $popover-arrow-height: .4rem !default;
713
+ $popover-arrow-width: 1rem !default;
714
+ $popover-arrow-height: .5rem !default;
657
715
  $popover-arrow-color: $popover-bg !default;
658
716
 
659
717
  $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
@@ -676,26 +734,26 @@ $badge-pill-border-radius: 10rem !default;
676
734
  // Modals
677
735
 
678
736
  // Padding applied to the modal body
679
- $modal-inner-padding: 15px !default;
737
+ $modal-inner-padding: 1rem !default;
680
738
 
681
- $modal-dialog-margin: 10px !default;
682
- $modal-dialog-margin-y-sm-up: 30px !default;
739
+ $modal-dialog-margin: .5rem !default;
740
+ $modal-dialog-margin-y-sm-up: 1.75rem !default;
683
741
 
684
742
  $modal-title-line-height: $line-height-base !default;
685
743
 
686
- $modal-content-bg: $white !default;
687
- $modal-content-border-color: rgba($black,.2) !default;
688
- $modal-content-border-width: $border-width !default;
689
- $modal-content-box-shadow-xs: 0 3px 9px rgba($black,.5) !default;
690
- $modal-content-box-shadow-sm-up: 0 5px 15px rgba($black,.5) !default;
744
+ $modal-content-bg: $white !default;
745
+ $modal-content-border-color: rgba($black, .2) !default;
746
+ $modal-content-border-width: $border-width !default;
747
+ $modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
748
+ $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
691
749
 
692
- $modal-backdrop-bg: $black !default;
693
- $modal-backdrop-opacity: .5 !default;
694
- $modal-header-border-color: $gray-200 !default;
695
- $modal-footer-border-color: $modal-header-border-color !default;
696
- $modal-header-border-width: $modal-content-border-width !default;
697
- $modal-footer-border-width: $modal-header-border-width !default;
698
- $modal-header-padding: 15px !default;
750
+ $modal-backdrop-bg: $black !default;
751
+ $modal-backdrop-opacity: .5 !default;
752
+ $modal-header-border-color: $gray-200 !default;
753
+ $modal-footer-border-color: $modal-header-border-color !default;
754
+ $modal-header-border-width: $modal-content-border-width !default;
755
+ $modal-footer-border-width: $modal-header-border-width !default;
756
+ $modal-header-padding: 1rem !default;
699
757
 
700
758
  $modal-lg: 800px !default;
701
759
  $modal-md: 500px !default;
@@ -715,6 +773,10 @@ $alert-border-radius: $border-radius !default;
715
773
  $alert-link-font-weight: $font-weight-bold !default;
716
774
  $alert-border-width: $border-width !default;
717
775
 
776
+ $alert-bg-level: -10 !default;
777
+ $alert-border-level: -9 !default;
778
+ $alert-color-level: 6 !default;
779
+
718
780
 
719
781
  // Progress bars
720
782
 
@@ -722,7 +784,7 @@ $progress-height: 1rem !default;
722
784
  $progress-font-size: ($font-size-base * .75) !default;
723
785
  $progress-bg: $gray-200 !default;
724
786
  $progress-border-radius: $border-radius !default;
725
- $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
787
+ $progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
726
788
  $progress-bar-color: $white !default;
727
789
  $progress-bar-bg: theme-color("primary") !default;
728
790
  $progress-bar-animation-timing: 1s linear infinite !default;
@@ -731,7 +793,7 @@ $progress-bar-transition: width .6s ease !default;
731
793
  // List group
732
794
 
733
795
  $list-group-bg: $white !default;
734
- $list-group-border-color: rgba($black,.125) !default;
796
+ $list-group-border-color: rgba($black, .125) !default;
735
797
  $list-group-border-width: $border-width !default;
736
798
  $list-group-border-radius: $border-radius !default;
737
799
 
@@ -758,10 +820,9 @@ $list-group-action-active-bg: $gray-200 !default;
758
820
  $thumbnail-padding: .25rem !default;
759
821
  $thumbnail-bg: $body-bg !default;
760
822
  $thumbnail-border-width: $border-width !default;
761
- $thumbnail-border-color: #ddd !default;
823
+ $thumbnail-border-color: $gray-300 !default;
762
824
  $thumbnail-border-radius: $border-radius !default;
763
- $thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default;
764
- $thumbnail-transition: all .2s ease-in-out !default;
825
+ $thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;
765
826
 
766
827
 
767
828
  // Figures
@@ -815,14 +876,19 @@ $close-text-shadow: 0 1px 0 $white !default;
815
876
 
816
877
  // Code
817
878
 
818
- $code-font-size: 90% !default;
819
- $code-padding-y: .2rem !default;
820
- $code-padding-x: .4rem !default;
821
- $code-color: #bd4147 !default;
822
- $code-bg: $gray-100 !default;
879
+ $code-font-size: 87.5% !default;
880
+ $code-color: $pink !default;
823
881
 
882
+ $kbd-padding-y: .2rem !default;
883
+ $kbd-padding-x: .4rem !default;
884
+ $kbd-font-size: $code-font-size !default;
824
885
  $kbd-color: $white !default;
825
886
  $kbd-bg: $gray-900 !default;
826
887
 
827
888
  $pre-color: $gray-900 !default;
828
889
  $pre-scrollable-max-height: 340px !default;
890
+
891
+
892
+ // Printing
893
+ $print-page-size: a3 !default;
894
+ $print-body-min-width: map-get($grid-breakpoints, "lg") !default;