bootstrap-scss 5.3.0 → 5.3.1

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.
package/README.md CHANGED
@@ -77,7 +77,7 @@ For simplicity, this project will use the same version numbers as Bootstrap.
77
77
 
78
78
  ## Changelog
79
79
 
80
- https://github.com/twbs/bootstrap/releases/tag/v5.3.0
80
+ https://github.com/twbs/bootstrap/releases/tag/v5.3.1
81
81
 
82
82
  ## Copyright and license
83
83
 
package/_nav.scss CHANGED
@@ -44,7 +44,8 @@
44
44
  }
45
45
 
46
46
  // Disabled state lightens text
47
- &.disabled {
47
+ &.disabled,
48
+ &:disabled {
48
49
  color: var(--#{$prefix}nav-link-disabled-color);
49
50
  pointer-events: none;
50
51
  cursor: default;
@@ -79,13 +80,6 @@
79
80
  isolation: isolate;
80
81
  border-color: var(--#{$prefix}nav-tabs-link-hover-border-color);
81
82
  }
82
-
83
- &.disabled,
84
- &:disabled {
85
- color: var(--#{$prefix}nav-link-disabled-color);
86
- background-color: transparent;
87
- border-color: transparent;
88
- }
89
83
  }
90
84
 
91
85
  .nav-link.active,
@@ -117,12 +111,6 @@
117
111
 
118
112
  .nav-link {
119
113
  @include border-radius(var(--#{$prefix}nav-pills-border-radius));
120
-
121
- &:disabled {
122
- color: var(--#{$prefix}nav-link-disabled-color);
123
- background-color: transparent;
124
- border-color: transparent;
125
- }
126
114
  }
127
115
 
128
116
  .nav-link.active,
package/_reboot.scss CHANGED
@@ -524,15 +524,15 @@ legend {
524
524
  height: auto;
525
525
  }
526
526
 
527
- // 1. Correct the outline style in Safari.
528
- // 2. This overrides the extra rounded corners on search inputs in iOS so that our
527
+ // 1. This overrides the extra rounded corners on search inputs in iOS so that our
529
528
  // `.form-control` class can properly style them. Note that this cannot simply
530
529
  // be added to `.form-control` as it's not specific enough. For details, see
531
530
  // https://github.com/twbs/bootstrap/issues/11586.
531
+ // 2. Correct the outline style in Safari.
532
532
 
533
533
  [type="search"] {
534
- outline-offset: -2px; // 1
535
- -webkit-appearance: textfield; // 2
534
+ -webkit-appearance: textfield; // 1
535
+ outline-offset: -2px; // 2
536
536
  }
537
537
 
538
538
  // 1. A few input types should stay LTR
@@ -40,7 +40,7 @@ $light-border-subtle-dark: $gray-700 !default;
40
40
  $dark-border-subtle-dark: $gray-800 !default;
41
41
  // scss-docs-end theme-border-subtle-dark-variables
42
42
 
43
- $body-color-dark: $gray-500 !default;
43
+ $body-color-dark: $gray-300 !default;
44
44
  $body-bg-dark: $gray-900 !default;
45
45
  $body-secondary-color-dark: rgba($body-color-dark, .75) !default;
46
46
  $body-secondary-bg-dark: $gray-800 !default;
package/_variables.scss CHANGED
@@ -705,6 +705,10 @@ $hr-border-color: null !default; // Allows for inherited colors
705
705
  $hr-border-width: var(--#{$prefix}border-width) !default;
706
706
  $hr-opacity: .25 !default;
707
707
 
708
+ // scss-docs-start vr-variables
709
+ $vr-border-width: var(--#{$prefix}border-width) !default;
710
+ // scss-docs-end vr-variables
711
+
708
712
  $legend-margin-bottom: .5rem !default;
709
713
  $legend-font-size: 1.5rem !default;
710
714
  $legend-font-weight: null !default;
@@ -1216,7 +1220,8 @@ $navbar-dark-color: rgba($white, .55) !default;
1216
1220
  $navbar-dark-hover-color: rgba($white, .75) !default;
1217
1221
  $navbar-dark-active-color: $white !default;
1218
1222
  $navbar-dark-disabled-color: rgba($white, .25) !default;
1219
- $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1223
+ $navbar-dark-icon-color: $navbar-dark-color !default;
1224
+ $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1220
1225
  $navbar-dark-toggler-border-color: rgba($white, .1) !default;
1221
1226
  $navbar-dark-brand-color: $navbar-dark-active-color !default;
1222
1227
  $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
@@ -1543,9 +1548,6 @@ $alert-margin-bottom: 1rem !default;
1543
1548
  $alert-border-radius: var(--#{$prefix}border-radius) !default;
1544
1549
  $alert-link-font-weight: $font-weight-bold !default;
1545
1550
  $alert-border-width: var(--#{$prefix}border-width) !default;
1546
- $alert-bg-scale: -80% !default;
1547
- $alert-border-scale: -70% !default;
1548
- $alert-color-scale: 40% !default;
1549
1551
  $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
1550
1552
  // scss-docs-end alert-variables
1551
1553
 
@@ -84,7 +84,8 @@
84
84
  }
85
85
  }
86
86
 
87
- > :disabled ~ label {
87
+ > :disabled ~ label,
88
+ > .form-control:disabled ~ label { // Required for `.form-control`s because of specificity
88
89
  color: $form-floating-label-disabled-color;
89
90
 
90
91
  &::after {
@@ -33,13 +33,13 @@
33
33
  height: $form-check-input-width;
34
34
  margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
35
35
  vertical-align: top;
36
+ appearance: none;
36
37
  background-color: var(--#{$prefix}form-check-bg);
37
38
  background-image: var(--#{$prefix}form-check-bg-image);
38
39
  background-repeat: no-repeat;
39
40
  background-position: center;
40
41
  background-size: contain;
41
42
  border: $form-check-input-border;
42
- appearance: none;
43
43
  print-color-adjust: exact; // Keep themed appearance for print
44
44
  @include transition($form-check-transition);
45
45
 
@@ -11,10 +11,10 @@
11
11
  font-weight: $input-font-weight;
12
12
  line-height: $input-line-height;
13
13
  color: $input-color;
14
+ appearance: none; // Fix appearance for date inputs in Safari
14
15
  background-color: $input-bg;
15
16
  background-clip: padding-box;
16
17
  border: $input-border-width solid $input-border-color;
17
- appearance: none; // Fix appearance for date inputs in Safari
18
18
 
19
19
  // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
20
20
  @include border-radius($input-border-radius, 0);
@@ -8,8 +8,8 @@
8
8
  width: 100%;
9
9
  height: add($form-range-thumb-height, $form-range-thumb-focus-box-shadow-width * 2);
10
10
  padding: 0; // Need to reset padding
11
- background-color: transparent;
12
11
  appearance: none;
12
+ background-color: transparent;
13
13
 
14
14
  &:focus {
15
15
  outline: 0;
@@ -28,12 +28,12 @@
28
28
  width: $form-range-thumb-width;
29
29
  height: $form-range-thumb-height;
30
30
  margin-top: ($form-range-track-height - $form-range-thumb-height) * .5; // Webkit specific
31
+ appearance: none;
31
32
  @include gradient-bg($form-range-thumb-bg);
32
33
  border: $form-range-thumb-border;
33
34
  @include border-radius($form-range-thumb-border-radius);
34
35
  @include box-shadow($form-range-thumb-box-shadow);
35
36
  @include transition($form-range-thumb-transition);
36
- appearance: none;
37
37
 
38
38
  &:active {
39
39
  @include gradient-bg($form-range-thumb-active-bg);
@@ -54,12 +54,12 @@
54
54
  &::-moz-range-thumb {
55
55
  width: $form-range-thumb-width;
56
56
  height: $form-range-thumb-height;
57
+ appearance: none;
57
58
  @include gradient-bg($form-range-thumb-bg);
58
59
  border: $form-range-thumb-border;
59
60
  @include border-radius($form-range-thumb-border-radius);
60
61
  @include box-shadow($form-range-thumb-box-shadow);
61
62
  @include transition($form-range-thumb-transition);
62
- appearance: none;
63
63
 
64
64
  &:active {
65
65
  @include gradient-bg($form-range-thumb-active-bg);
@@ -14,6 +14,7 @@
14
14
  font-weight: $form-select-font-weight;
15
15
  line-height: $form-select-line-height;
16
16
  color: $form-select-color;
17
+ appearance: none;
17
18
  background-color: $form-select-bg;
18
19
  background-image: var(--#{$prefix}form-select-bg-img), var(--#{$prefix}form-select-bg-icon, none);
19
20
  background-repeat: no-repeat;
@@ -23,7 +24,6 @@
23
24
  @include border-radius($form-select-border-radius, 0);
24
25
  @include box-shadow($form-select-box-shadow);
25
26
  @include transition($form-select-transition);
26
- appearance: none;
27
27
 
28
28
  &:focus {
29
29
  border-color: $form-select-focus-border-color;
@@ -1,8 +1,7 @@
1
1
  // All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251
2
2
  @each $color, $value in $theme-colors {
3
- $color-rgb: to-rgb($value);
4
3
  .text-bg-#{$color} {
5
4
  color: color-contrast($value) if($enable-important-utilities, !important, null);
6
- background-color: RGBA($color-rgb, var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
5
+ background-color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
7
6
  }
8
7
  }
package/helpers/_vr.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  .vr {
2
2
  display: inline-block;
3
3
  align-self: stretch;
4
- width: 1px;
4
+ width: $vr-border-width;
5
5
  min-height: 1em;
6
6
  background-color: currentcolor;
7
7
  opacity: $hr-opacity;
@@ -1,6 +1,6 @@
1
1
  @mixin bsBanner($file) {
2
2
  /*!
3
- * Bootstrap #{$file} v5.3.0 (https://getbootstrap.com/)
3
+ * Bootstrap #{$file} v5.3.1 (https://getbootstrap.com/)
4
4
  * Copyright 2011-2023 The Bootstrap Authors
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-scss",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "Bootstrap's SCSS files (only)",
5
5
  "main": "bootstrap.scss",
6
6
  "repository": {