bootstrap 5.3.3 → 5.3.4
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +4 -9
- data/Rakefile +0 -2
- data/assets/javascripts/bootstrap/alert.js +2 -2
- data/assets/javascripts/bootstrap/base-component.js +3 -3
- data/assets/javascripts/bootstrap/button.js +2 -2
- data/assets/javascripts/bootstrap/carousel.js +2 -2
- data/assets/javascripts/bootstrap/collapse.js +2 -2
- data/assets/javascripts/bootstrap/dom/data.js +2 -2
- data/assets/javascripts/bootstrap/dom/event-handler.js +2 -2
- data/assets/javascripts/bootstrap/dom/manipulator.js +3 -3
- data/assets/javascripts/bootstrap/dom/selector-engine.js +2 -2
- data/assets/javascripts/bootstrap/dropdown.js +4 -4
- data/assets/javascripts/bootstrap/modal.js +2 -2
- data/assets/javascripts/bootstrap/offcanvas.js +2 -2
- data/assets/javascripts/bootstrap/popover.js +2 -2
- data/assets/javascripts/bootstrap/scrollspy.js +2 -2
- data/assets/javascripts/bootstrap/tab.js +2 -2
- data/assets/javascripts/bootstrap/toast.js +2 -2
- data/assets/javascripts/bootstrap/tooltip.js +5 -6
- data/assets/javascripts/bootstrap/util/backdrop.js +2 -2
- data/assets/javascripts/bootstrap/util/component-functions.js +2 -2
- data/assets/javascripts/bootstrap/util/config.js +2 -2
- data/assets/javascripts/bootstrap/util/focustrap.js +2 -2
- data/assets/javascripts/bootstrap/util/index.js +4 -4
- data/assets/javascripts/bootstrap/util/sanitizer.js +2 -2
- data/assets/javascripts/bootstrap/util/scrollbar.js +2 -2
- data/assets/javascripts/bootstrap/util/swipe.js +2 -2
- data/assets/javascripts/bootstrap/util/template-factory.js +3 -3
- data/assets/javascripts/bootstrap-sprockets.js +8 -8
- data/assets/javascripts/bootstrap.js +12 -13
- data/assets/javascripts/bootstrap.min.js +3 -3
- data/assets/stylesheets/bootstrap/_accordion.scss +4 -9
- data/assets/stylesheets/bootstrap/_button-group.scss +8 -3
- data/assets/stylesheets/bootstrap/_card.scss +1 -2
- data/assets/stylesheets/bootstrap/_carousel.scss +15 -25
- data/assets/stylesheets/bootstrap/_close.scss +9 -6
- data/assets/stylesheets/bootstrap/_functions.scss +1 -1
- data/assets/stylesheets/bootstrap/_list-group.scss +27 -25
- data/assets/stylesheets/bootstrap/_modal.scss +6 -2
- data/assets/stylesheets/bootstrap/_nav.scss +1 -1
- data/assets/stylesheets/bootstrap/_navbar.scss +1 -1
- data/assets/stylesheets/bootstrap/_offcanvas.scss +5 -1
- data/assets/stylesheets/bootstrap/_pagination.scss +1 -1
- data/assets/stylesheets/bootstrap/_progress.scss +1 -1
- data/assets/stylesheets/bootstrap/_reboot.scss +1 -1
- data/assets/stylesheets/bootstrap/_type.scss +1 -1
- data/assets/stylesheets/bootstrap/_variables-dark.scss +17 -2
- data/assets/stylesheets/bootstrap/_variables.scss +16 -14
- data/assets/stylesheets/bootstrap/forms/_floating-labels.scss +18 -16
- data/assets/stylesheets/bootstrap/forms/_input-group.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_banner.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_visually-hidden.scss +1 -1
- data/bootstrap.gemspec +0 -1
- data/lib/bootstrap/engine.rb +0 -1
- data/lib/bootstrap/version.rb +2 -2
- data/test/dummy_rails/config/application.rb +0 -2
- data/test/dummy_rails/public/favicon.ico +0 -0
- data/test/gemfiles/rails_5_0.gemfile +0 -1
- data/test/gemfiles/rails_5_1.gemfile +0 -1
- data/test/gemfiles/rails_5_2.gemfile +0 -1
- data/test/gemfiles/rails_6_0.gemfile +0 -1
- data/test/gemfiles/rails_6_1.gemfile +0 -1
- data/test/gemfiles/rails_7_0_dartsass.gemfile +0 -1
- data/test/gemfiles/rails_7_0_sassc.gemfile +0 -1
- data/test/rails_test.rb +0 -5
- metadata +5 -21
@@ -127,7 +127,11 @@
|
|
127
127
|
|
128
128
|
.btn-close {
|
129
129
|
padding: calc(var(--#{$prefix}offcanvas-padding-y) * .5) calc(var(--#{$prefix}offcanvas-padding-x) * .5);
|
130
|
-
|
130
|
+
// Split properties to avoid invalid calc() function if value is 0
|
131
|
+
margin-top: calc(-.5 * var(--#{$prefix}offcanvas-padding-y));
|
132
|
+
margin-right: calc(-.5 * var(--#{$prefix}offcanvas-padding-x));
|
133
|
+
margin-bottom: calc(-.5 * var(--#{$prefix}offcanvas-padding-y));
|
134
|
+
margin-left: auto;
|
131
135
|
}
|
132
136
|
}
|
133
137
|
|
@@ -75,7 +75,7 @@
|
|
75
75
|
margin-left: $pagination-margin-start;
|
76
76
|
}
|
77
77
|
|
78
|
-
@if $pagination-margin-start == calc(#{$pagination-border-width}
|
78
|
+
@if $pagination-margin-start == calc(-1 * #{$pagination-border-width}) {
|
79
79
|
&:first-child {
|
80
80
|
.page-link {
|
81
81
|
@include border-start-radius(var(--#{$prefix}pagination-border-radius));
|
@@ -499,9 +499,9 @@ legend {
|
|
499
499
|
width: 100%;
|
500
500
|
padding: 0;
|
501
501
|
margin-bottom: $legend-margin-bottom;
|
502
|
-
@include font-size($legend-font-size);
|
503
502
|
font-weight: $legend-font-weight;
|
504
503
|
line-height: inherit;
|
504
|
+
@include font-size($legend-font-size);
|
505
505
|
|
506
506
|
+ * {
|
507
507
|
clear: left; // 2
|
@@ -34,11 +34,11 @@
|
|
34
34
|
// Type display classes
|
35
35
|
@each $display, $font-size in $display-font-sizes {
|
36
36
|
.display-#{$display} {
|
37
|
-
@include font-size($font-size);
|
38
37
|
font-family: $display-font-family;
|
39
38
|
font-style: $display-font-style;
|
40
39
|
font-weight: $display-font-weight;
|
41
40
|
line-height: $display-line-height;
|
41
|
+
@include font-size($font-size);
|
42
42
|
}
|
43
43
|
}
|
44
44
|
|
@@ -82,6 +82,21 @@ $form-invalid-border-color-dark: $red-300 !default;
|
|
82
82
|
$accordion-icon-color-dark: $primary-text-emphasis-dark !default;
|
83
83
|
$accordion-icon-active-color-dark: $primary-text-emphasis-dark !default;
|
84
84
|
|
85
|
-
$accordion-button-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.
|
86
|
-
$accordion-button-active-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.
|
85
|
+
$accordion-button-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>") !default;
|
86
|
+
$accordion-button-active-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>") !default;
|
87
87
|
// scss-docs-end sass-dark-mode-vars
|
88
|
+
|
89
|
+
|
90
|
+
//
|
91
|
+
// Carousel
|
92
|
+
//
|
93
|
+
|
94
|
+
$carousel-indicator-active-bg-dark: $carousel-dark-indicator-active-bg !default;
|
95
|
+
$carousel-caption-color-dark: $carousel-dark-caption-color !default;
|
96
|
+
$carousel-control-icon-filter-dark: $carousel-dark-control-icon-filter !default;
|
97
|
+
|
98
|
+
//
|
99
|
+
// Close button
|
100
|
+
//
|
101
|
+
|
102
|
+
$btn-close-filter-dark: $btn-close-white-filter !default;
|
@@ -67,8 +67,8 @@ $colors: (
|
|
67
67
|
) !default;
|
68
68
|
// scss-docs-end colors-map
|
69
69
|
|
70
|
-
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.
|
71
|
-
// See https://www.w3.org/TR/
|
70
|
+
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.2 are 3, 4.5 and 7.
|
71
|
+
// See https://www.w3.org/TR/WCAG/#contrast-minimum
|
72
72
|
$min-contrast-ratio: 4.5 !default;
|
73
73
|
|
74
74
|
// Customize the light and dark text colors for use in our color contrast function.
|
@@ -1091,7 +1091,7 @@ $form-feedback-valid-color: $success !default;
|
|
1091
1091
|
$form-feedback-invalid-color: $danger !default;
|
1092
1092
|
|
1093
1093
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
1094
|
-
$form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.
|
1094
|
+
$form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/></svg>") !default;
|
1095
1095
|
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
1096
1096
|
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
|
1097
1097
|
// scss-docs-end form-feedback-variables
|
@@ -1302,7 +1302,7 @@ $pagination-color: var(--#{$prefix}link-color) !default;
|
|
1302
1302
|
$pagination-bg: var(--#{$prefix}body-bg) !default;
|
1303
1303
|
$pagination-border-radius: var(--#{$prefix}border-radius) !default;
|
1304
1304
|
$pagination-border-width: var(--#{$prefix}border-width) !default;
|
1305
|
-
$pagination-margin-start: calc(#{$pagination-border-width}
|
1305
|
+
$pagination-margin-start: calc(-1 * #{$pagination-border-width}) !default; // stylelint-disable-line function-disallowed-list
|
1306
1306
|
$pagination-border-color: var(--#{$prefix}border-color) !default;
|
1307
1307
|
|
1308
1308
|
$pagination-focus-color: var(--#{$prefix}link-hover-color) !default;
|
@@ -1394,8 +1394,8 @@ $accordion-icon-active-color: $primary-text-emphasis !default;
|
|
1394
1394
|
$accordion-icon-transition: transform .2s ease-in-out !default;
|
1395
1395
|
$accordion-icon-transform: rotate(-180deg) !default;
|
1396
1396
|
|
1397
|
-
$accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-color}' stroke-linecap='round' stroke-linejoin='round'><path d='
|
1398
|
-
$accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-active-color}' stroke-linecap='round' stroke-linejoin='round'><path d='
|
1397
|
+
$accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-color}' stroke-linecap='round' stroke-linejoin='round'><path d='m2 5 6 6 6-6'/></svg>") !default;
|
1398
|
+
$accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-active-color}' stroke-linecap='round' stroke-linejoin='round'><path d='m2 5 6 6 6-6'/></svg>") !default;
|
1399
1399
|
// scss-docs-end accordion-variables
|
1400
1400
|
|
1401
1401
|
// Tooltips
|
@@ -1507,7 +1507,7 @@ $modal-dialog-margin-y-sm-up: 1.75rem !default;
|
|
1507
1507
|
|
1508
1508
|
$modal-title-line-height: $line-height-base !default;
|
1509
1509
|
|
1510
|
-
$modal-content-color:
|
1510
|
+
$modal-content-color: var(--#{$prefix}body-color) !default;
|
1511
1511
|
$modal-content-bg: var(--#{$prefix}body-bg) !default;
|
1512
1512
|
$modal-content-border-color: var(--#{$prefix}border-color-translucent) !default;
|
1513
1513
|
$modal-content-border-width: var(--#{$prefix}border-width) !default;
|
@@ -1652,6 +1652,7 @@ $carousel-control-width: 15% !default;
|
|
1652
1652
|
$carousel-control-opacity: .5 !default;
|
1653
1653
|
$carousel-control-hover-opacity: .9 !default;
|
1654
1654
|
$carousel-control-transition: opacity .15s ease !default;
|
1655
|
+
$carousel-control-icon-filter: null !default;
|
1655
1656
|
|
1656
1657
|
$carousel-indicator-width: 30px !default;
|
1657
1658
|
$carousel-indicator-height: 3px !default;
|
@@ -1669,17 +1670,17 @@ $carousel-caption-spacer: 1.25rem !default;
|
|
1669
1670
|
|
1670
1671
|
$carousel-control-icon-width: 2rem !default;
|
1671
1672
|
|
1672
|
-
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708
|
1673
|
-
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.
|
1673
|
+
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/></svg>") !default;
|
1674
|
+
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/></svg>") !default;
|
1674
1675
|
|
1675
1676
|
$carousel-transition-duration: .6s !default;
|
1676
1677
|
$carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
|
1677
1678
|
// scss-docs-end carousel-variables
|
1678
1679
|
|
1679
1680
|
// scss-docs-start carousel-dark-variables
|
1680
|
-
$carousel-dark-indicator-active-bg: $black !default;
|
1681
|
-
$carousel-dark-caption-color: $black !default;
|
1682
|
-
$carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
|
1681
|
+
$carousel-dark-indicator-active-bg: $black !default; // Deprecated in v5.3.4
|
1682
|
+
$carousel-dark-caption-color: $black !default; // Deprecated in v5.3.4
|
1683
|
+
$carousel-dark-control-icon-filter: invert(1) grayscale(100) !default; // Deprecated in v5.3.4
|
1683
1684
|
// scss-docs-end carousel-dark-variables
|
1684
1685
|
|
1685
1686
|
|
@@ -1706,13 +1707,14 @@ $btn-close-height: $btn-close-width !default;
|
|
1706
1707
|
$btn-close-padding-x: .25em !default;
|
1707
1708
|
$btn-close-padding-y: $btn-close-padding-x !default;
|
1708
1709
|
$btn-close-color: $black !default;
|
1709
|
-
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.
|
1710
|
+
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/></svg>") !default;
|
1710
1711
|
$btn-close-focus-shadow: $focus-ring-box-shadow !default;
|
1711
1712
|
$btn-close-opacity: .5 !default;
|
1712
1713
|
$btn-close-hover-opacity: .75 !default;
|
1713
1714
|
$btn-close-focus-opacity: 1 !default;
|
1714
1715
|
$btn-close-disabled-opacity: .25 !default;
|
1715
|
-
$btn-close-
|
1716
|
+
$btn-close-filter: null !default;
|
1717
|
+
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default; // Deprecated in v5.3.4
|
1716
1718
|
// scss-docs-end close-variables
|
1717
1719
|
|
1718
1720
|
|
@@ -14,9 +14,11 @@
|
|
14
14
|
top: 0;
|
15
15
|
left: 0;
|
16
16
|
z-index: 2;
|
17
|
+
max-width: 100%;
|
17
18
|
height: 100%; // allow textareas
|
18
19
|
padding: $form-floating-padding-y $form-floating-padding-x;
|
19
20
|
overflow: hidden;
|
21
|
+
color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});
|
20
22
|
text-align: start;
|
21
23
|
text-overflow: ellipsis;
|
22
24
|
white-space: nowrap;
|
@@ -49,6 +51,7 @@
|
|
49
51
|
> .form-select {
|
50
52
|
padding-top: $form-floating-input-padding-t;
|
51
53
|
padding-bottom: $form-floating-input-padding-b;
|
54
|
+
padding-left: $form-floating-padding-x;
|
52
55
|
}
|
53
56
|
|
54
57
|
> .form-control:focus,
|
@@ -56,27 +59,30 @@
|
|
56
59
|
> .form-control-plaintext,
|
57
60
|
> .form-select {
|
58
61
|
~ label {
|
59
|
-
color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});
|
60
62
|
transform: $form-floating-label-transform;
|
61
|
-
|
62
|
-
&::after {
|
63
|
-
position: absolute;
|
64
|
-
inset: $form-floating-padding-y ($form-floating-padding-x * .5);
|
65
|
-
z-index: -1;
|
66
|
-
height: $form-floating-label-height;
|
67
|
-
content: "";
|
68
|
-
background-color: $input-bg;
|
69
|
-
@include border-radius($input-border-radius);
|
70
|
-
}
|
71
63
|
}
|
72
64
|
}
|
73
65
|
// Duplicated because `:-webkit-autofill` invalidates other selectors when grouped
|
74
66
|
> .form-control:-webkit-autofill {
|
75
67
|
~ label {
|
76
|
-
color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});
|
77
68
|
transform: $form-floating-label-transform;
|
78
69
|
}
|
79
70
|
}
|
71
|
+
> textarea:focus,
|
72
|
+
> textarea:not(:placeholder-shown) {
|
73
|
+
~ label::after {
|
74
|
+
position: absolute;
|
75
|
+
inset: $form-floating-padding-y ($form-floating-padding-x * .5);
|
76
|
+
z-index: -1;
|
77
|
+
height: $form-floating-label-height;
|
78
|
+
content: "";
|
79
|
+
background-color: $input-bg;
|
80
|
+
@include border-radius($input-border-radius);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
> textarea:disabled ~ label::after {
|
84
|
+
background-color: $input-disabled-bg;
|
85
|
+
}
|
80
86
|
|
81
87
|
> .form-control-plaintext {
|
82
88
|
~ label {
|
@@ -87,9 +93,5 @@
|
|
87
93
|
> :disabled ~ label,
|
88
94
|
> .form-control:disabled ~ label { // Required for `.form-control`s because of specificity
|
89
95
|
color: $form-floating-label-disabled-color;
|
90
|
-
|
91
|
-
&::after {
|
92
|
-
background-color: $input-disabled-bg;
|
93
|
-
}
|
94
96
|
}
|
95
97
|
}
|
@@ -121,7 +121,7 @@
|
|
121
121
|
}
|
122
122
|
|
123
123
|
> :not(:first-child):not(.dropdown-menu)#{$validation-messages} {
|
124
|
-
margin-left: calc(#{$input-border-width}
|
124
|
+
margin-left: calc(-1 * #{$input-border-width}); // stylelint-disable-line function-disallowed-list
|
125
125
|
@include border-start-radius(0);
|
126
126
|
}
|
127
127
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
@mixin bsBanner($file) {
|
2
2
|
/*!
|
3
|
-
* Bootstrap #{$file} v5.3.
|
4
|
-
* Copyright 2011-
|
3
|
+
* Bootstrap #{$file} v5.3.4 (https://getbootstrap.com/)
|
4
|
+
* Copyright 2011-2025 The Bootstrap Authors
|
5
5
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
6
6
|
*/
|
7
7
|
}
|
@@ -72,7 +72,7 @@
|
|
72
72
|
@include media-breakpoint-up($breakpoint, $breakpoints) {
|
73
73
|
// Provide basic `.col-{bp}` classes for equal-width flexbox columns
|
74
74
|
.col#{$infix} {
|
75
|
-
flex: 1 0 0
|
75
|
+
flex: 1 0 0;
|
76
76
|
}
|
77
77
|
|
78
78
|
.row-cols#{$infix}-auto > * {
|
@@ -24,7 +24,7 @@
|
|
24
24
|
// Use to only display content when it's focused, or one of its child elements is focused
|
25
25
|
// (i.e. when focus is within the element/container that the class was applied to)
|
26
26
|
//
|
27
|
-
// Useful for "Skip to main content" links; see https://www.w3.org/
|
27
|
+
// Useful for "Skip to main content" links; see https://www.w3.org/WAI/WCAG22/Techniques/general/G1.html
|
28
28
|
|
29
29
|
@mixin visually-hidden-focusable() {
|
30
30
|
&:not(:focus):not(:focus-within) {
|
data/bootstrap.gemspec
CHANGED
data/lib/bootstrap/engine.rb
CHANGED
data/lib/bootstrap/version.rb
CHANGED
File without changes
|
data/test/rails_test.rb
CHANGED
@@ -12,11 +12,6 @@ class RailsTest < ActionDispatch::IntegrationTest
|
|
12
12
|
screenshot!
|
13
13
|
end
|
14
14
|
|
15
|
-
def test_autoprefixer
|
16
|
-
get ActionController::Base.helpers.stylesheet_path('application.css')
|
17
|
-
assert_match(/-webkit-(?:transition|transform)/, response.body)
|
18
|
-
end
|
19
|
-
|
20
15
|
def test_precompile
|
21
16
|
Dummy::Application.load_tasks
|
22
17
|
Rake::Task['assets:precompile'].invoke
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twitter, Inc.
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: popper_js
|
@@ -30,20 +29,6 @@ dependencies:
|
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: '3'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: autoprefixer-rails
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 9.1.0
|
40
|
-
type: :runtime
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 9.1.0
|
47
32
|
- !ruby/object:Gem::Dependency
|
48
33
|
name: rake
|
49
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,7 +197,6 @@ dependencies:
|
|
212
197
|
- - ">="
|
213
198
|
- !ruby/object:Gem::Version
|
214
199
|
version: '0'
|
215
|
-
description:
|
216
200
|
email: glex.spb@gmail.com
|
217
201
|
executables: []
|
218
202
|
extensions: []
|
@@ -388,6 +372,7 @@ files:
|
|
388
372
|
- test/dummy_rails/config/locales/es.yml
|
389
373
|
- test/dummy_rails/config/routes.rb
|
390
374
|
- test/dummy_rails/log/.keep
|
375
|
+
- test/dummy_rails/public/favicon.ico
|
391
376
|
- test/gemfiles/rails_4_2.gemfile
|
392
377
|
- test/gemfiles/rails_5_0.gemfile
|
393
378
|
- test/gemfiles/rails_5_1.gemfile
|
@@ -405,7 +390,6 @@ homepage: https://github.com/twbs/bootstrap-rubygem
|
|
405
390
|
licenses:
|
406
391
|
- MIT
|
407
392
|
metadata: {}
|
408
|
-
post_install_message:
|
409
393
|
rdoc_options: []
|
410
394
|
require_paths:
|
411
395
|
- lib
|
@@ -420,8 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
420
404
|
- !ruby/object:Gem::Version
|
421
405
|
version: '0'
|
422
406
|
requirements: []
|
423
|
-
rubygems_version: 3.
|
424
|
-
signing_key:
|
407
|
+
rubygems_version: 3.6.7
|
425
408
|
specification_version: 4
|
426
409
|
summary: The most popular HTML, CSS, and JavaScript framework for developing responsive,
|
427
410
|
mobile first projects on the web. http://getbootstrap.com
|
@@ -456,6 +439,7 @@ test_files:
|
|
456
439
|
- test/dummy_rails/config/locales/es.yml
|
457
440
|
- test/dummy_rails/config/routes.rb
|
458
441
|
- test/dummy_rails/log/.keep
|
442
|
+
- test/dummy_rails/public/favicon.ico
|
459
443
|
- test/gemfiles/rails_4_2.gemfile
|
460
444
|
- test/gemfiles/rails_5_0.gemfile
|
461
445
|
- test/gemfiles/rails_5_1.gemfile
|