twitter-bootstrap-rails 5.1.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/README.md +29 -613
  4. data/app/assets/javascripts/twitter/bootstrap/bootstrap.min.js +7 -0
  5. data/app/assets/javascripts/twitter/bootstrap.js +1 -12
  6. data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css +6 -0
  7. data/lib/generators/bootstrap/install/install_generator.rb +29 -8
  8. data/lib/generators/bootstrap/install/templates/application.js +1 -3
  9. data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.css +3 -4
  10. data/lib/generators/bootstrap/layout/templates/layout.html.erb +17 -60
  11. data/lib/generators/bootstrap/partial/templates/_navbar-devise.html.erb +30 -0
  12. data/lib/generators/bootstrap/partial/templates/_navbar.html.erb +16 -0
  13. data/lib/generators/bootstrap/themed/templates/_form.html.erb +16 -23
  14. data/lib/generators/bootstrap/themed/templates/index.html.erb +10 -10
  15. data/lib/generators/bootstrap/themed/templates/show.html.erb +5 -5
  16. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.erb +5 -8
  17. data/lib/twitter/bootstrap/rails/version.rb +1 -1
  18. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap.bundle.min.js +7 -0
  19. data/vendor/assets/stylesheets/twitter/bootstrap/bootstrap.min.css +6 -0
  20. data/vendor/toolkit/twitter/bootstrap/variables.less +1681 -799
  21. metadata +17 -73
  22. data/app/assets/javascripts/twitter/bootstrap/affix.js +0 -162
  23. data/app/assets/javascripts/twitter/bootstrap/alert.js +0 -94
  24. data/app/assets/javascripts/twitter/bootstrap/button.js +0 -120
  25. data/app/assets/javascripts/twitter/bootstrap/carousel.js +0 -237
  26. data/app/assets/javascripts/twitter/bootstrap/collapse.js +0 -211
  27. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +0 -165
  28. data/app/assets/javascripts/twitter/bootstrap/modal.js +0 -337
  29. data/app/assets/javascripts/twitter/bootstrap/popover.js +0 -108
  30. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +0 -172
  31. data/app/assets/javascripts/twitter/bootstrap/tab.js +0 -155
  32. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +0 -514
  33. data/app/assets/javascripts/twitter/bootstrap/transition.js +0 -59
  34. data/app/assets/javascripts/twitter/bootstrap_ujs.js +0 -11
  35. data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +0 -1
  36. data/app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +0 -1
@@ -1,869 +1,1751 @@
1
- //
2
1
  // Variables
3
- // --------------------------------------------------
4
-
5
-
6
- //== Colors
7
- //
8
- //## Gray and brand colors for use across Bootstrap.
9
-
10
- @gray-base: #000;
11
- @gray-darker: lighten(@gray-base, 13.5%); // #222
12
- @gray-dark: lighten(@gray-base, 20%); // #333
13
- @gray: lighten(@gray-base, 33.5%); // #555
14
- @gray-light: lighten(@gray-base, 46.7%); // #777
15
- @gray-lighter: lighten(@gray-base, 93.5%); // #eee
16
-
17
- @brand-primary: darken(#428bca, 6.5%); // #337ab7
18
- @brand-success: #5cb85c;
19
- @brand-info: #5bc0de;
20
- @brand-warning: #f0ad4e;
21
- @brand-danger: #d9534f;
22
-
23
-
24
- //== Scaffolding
25
- //
26
- //## Settings for some of the most global styles.
27
-
28
- //** Background color for `<body>`.
29
- @body-bg: #fff;
30
- //** Global text color on `<body>`.
31
- @text-color: @gray-dark;
32
-
33
- //** Global textual link color.
34
- @link-color: @brand-primary;
35
- //** Link hover color set via `darken()` function.
36
- @link-hover-color: darken(@link-color, 15%);
37
- //** Link hover decoration.
38
- @link-hover-decoration: underline;
39
-
40
-
41
- //== Typography
42
- //
43
- //## Font, line-height, and color for body text, headings, and more.
44
-
45
- @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
46
- @font-family-serif: Georgia, "Times New Roman", Times, serif;
47
- //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
48
- @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
49
- @font-family-base: @font-family-sans-serif;
50
-
51
- @font-size-base: 14px;
52
- @font-size-large: ceil((@font-size-base * 1.25)); // ~18px
53
- @font-size-small: ceil((@font-size-base * 0.85)); // ~12px
54
-
55
- @font-size-h1: floor((@font-size-base * 2.6)); // ~36px
56
- @font-size-h2: floor((@font-size-base * 2.15)); // ~30px
57
- @font-size-h3: ceil((@font-size-base * 1.7)); // ~24px
58
- @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px
59
- @font-size-h5: @font-size-base;
60
- @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px
61
-
62
- //** Unit-less `line-height` for use in components like buttons.
63
- @line-height-base: 1.428571429; // 20/14
64
- //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
65
- @line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
66
-
67
- //** By default, this inherits from the `<body>`.
68
- @headings-font-family: inherit;
69
- @headings-font-weight: 500;
70
- @headings-line-height: 1.1;
71
- @headings-color: inherit;
72
-
73
-
74
- //== Iconography
75
- //
76
- //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
77
-
78
- //** Load fonts from this directory.
79
- @icon-font-path: "../fonts/";
80
- //** File name for all font files.
81
- @icon-font-name: "glyphicons-halflings-regular";
82
- //** Element ID within SVG icon file.
83
- @icon-font-svg-id: "glyphicons_halflingsregular";
84
-
85
-
86
- //== Components
87
- //
88
- //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
89
-
90
- @padding-base-vertical: 6px;
91
- @padding-base-horizontal: 12px;
92
-
93
- @padding-large-vertical: 10px;
94
- @padding-large-horizontal: 16px;
95
-
96
- @padding-small-vertical: 5px;
97
- @padding-small-horizontal: 10px;
98
-
99
- @padding-xs-vertical: 1px;
100
- @padding-xs-horizontal: 5px;
101
-
102
- @line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
103
- @line-height-small: 1.5;
104
-
105
- @border-radius-base: 4px;
106
- @border-radius-large: 6px;
107
- @border-radius-small: 3px;
108
-
109
- //** Global color for active items (e.g., navs or dropdowns).
110
- @component-active-color: #fff;
111
- //** Global background color for active items (e.g., navs or dropdowns).
112
- @component-active-bg: @brand-primary;
113
-
114
- //** Width of the `border` for generating carets that indicator dropdowns.
115
- @caret-width-base: 4px;
116
- //** Carets increase slightly in size for larger components.
117
- @caret-width-large: 5px;
118
-
119
-
120
- //== Tables
121
- //
122
- //## Customizes the `.table` component with basic values, each used across all table variations.
123
-
124
- //** Padding for `<th>`s and `<td>`s.
125
- @table-cell-padding: 8px;
126
- //** Padding for cells in `.table-condensed`.
127
- @table-condensed-cell-padding: 5px;
128
-
129
- //** Default background color used for all tables.
130
- @table-bg: transparent;
131
- //** Background color used for `.table-striped`.
132
- @table-bg-accent: #f9f9f9;
133
- //** Background color used for `.table-hover`.
134
- @table-bg-hover: #f5f5f5;
135
- @table-bg-active: @table-bg-hover;
136
-
137
- //** Border color for table and cell borders.
138
- @table-border-color: #ddd;
139
-
140
-
141
- //== Buttons
142
- //
143
- //## For each of Bootstrap's buttons, define text, background and border color.
144
-
145
- @btn-font-weight: normal;
146
-
147
- @btn-default-color: #333;
148
- @btn-default-bg: #fff;
149
- @btn-default-border: #ccc;
150
-
151
- @btn-primary-color: #fff;
152
- @btn-primary-bg: @brand-primary;
153
- @btn-primary-border: darken(@btn-primary-bg, 5%);
154
-
155
- @btn-success-color: #fff;
156
- @btn-success-bg: @brand-success;
157
- @btn-success-border: darken(@btn-success-bg, 5%);
158
-
159
- @btn-info-color: #fff;
160
- @btn-info-bg: @brand-info;
161
- @btn-info-border: darken(@btn-info-bg, 5%);
162
-
163
- @btn-warning-color: #fff;
164
- @btn-warning-bg: @brand-warning;
165
- @btn-warning-border: darken(@btn-warning-bg, 5%);
166
-
167
- @btn-danger-color: #fff;
168
- @btn-danger-bg: @brand-danger;
169
- @btn-danger-border: darken(@btn-danger-bg, 5%);
170
-
171
- @btn-link-disabled-color: @gray-light;
172
-
173
- // Allows for customizing button radius independently from global border radius
174
- @btn-border-radius-base: @border-radius-base;
175
- @btn-border-radius-large: @border-radius-large;
176
- @btn-border-radius-small: @border-radius-small;
177
-
178
-
179
- //== Forms
180
- //
181
- //##
182
-
183
- //** `<input>` background color
184
- @input-bg: #fff;
185
- //** `<input disabled>` background color
186
- @input-bg-disabled: @gray-lighter;
187
-
188
- //** Text color for `<input>`s
189
- @input-color: @gray;
190
- //** `<input>` border color
191
- @input-border: #ccc;
192
-
193
- // TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4
194
- //** Default `.form-control` border radius
195
- // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
196
- @input-border-radius: @border-radius-base;
197
- //** Large `.form-control` border radius
198
- @input-border-radius-large: @border-radius-large;
199
- //** Small `.form-control` border radius
200
- @input-border-radius-small: @border-radius-small;
201
-
202
- //** Border color for inputs on focus
203
- @input-border-focus: #66afe9;
204
-
205
- //** Placeholder text color
206
- @input-color-placeholder: #999;
207
-
208
- //** Default `.form-control` height
209
- @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
210
- //** Large `.form-control` height
211
- @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
212
- //** Small `.form-control` height
213
- @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
214
-
215
- //** `.form-group` margin
216
- @form-group-margin-bottom: 15px;
217
-
218
- @legend-color: @gray-dark;
219
- @legend-border-color: #e5e5e5;
220
-
221
- //** Background color for textual input addons
222
- @input-group-addon-bg: @gray-lighter;
223
- //** Border color for textual input addons
224
- @input-group-addon-border-color: @input-border;
225
-
226
- //** Disabled cursor for form controls and buttons.
227
- @cursor-disabled: not-allowed;
228
-
229
-
230
- //== Dropdowns
231
- //
232
- //## Dropdown menu container and contents.
233
-
234
- //** Background for the dropdown menu.
235
- @dropdown-bg: #fff;
236
- //** Dropdown menu `border-color`.
237
- @dropdown-border: rgba(0,0,0,.15);
238
- //** Dropdown menu `border-color` **for IE8**.
239
- @dropdown-fallback-border: #ccc;
240
- //** Divider color for between dropdown items.
241
- @dropdown-divider-bg: #e5e5e5;
242
-
243
- //** Dropdown link text color.
244
- @dropdown-link-color: @gray-dark;
245
- //** Hover color for dropdown links.
246
- @dropdown-link-hover-color: darken(@gray-dark, 5%);
247
- //** Hover background for dropdown links.
248
- @dropdown-link-hover-bg: #f5f5f5;
249
-
250
- //** Active dropdown menu item text color.
251
- @dropdown-link-active-color: @component-active-color;
252
- //** Active dropdown menu item background color.
253
- @dropdown-link-active-bg: @component-active-bg;
254
-
255
- //** Disabled dropdown menu item background color.
256
- @dropdown-link-disabled-color: @gray-light;
257
-
258
- //** Text color for headers within dropdown menus.
259
- @dropdown-header-color: @gray-light;
260
-
261
- //** Deprecated `@dropdown-caret-color` as of v3.1.0
262
- @dropdown-caret-color: #000;
263
-
264
-
265
- //-- Z-index master list
266
2
  //
267
- // Warning: Avoid customizing these values. They're used for a bird's eye view
268
- // of components dependent on the z-axis and are designed to all work together.
269
- //
270
- // Note: These variables are not generated into the Customizer.
271
-
272
- @zindex-navbar: 1000;
273
- @zindex-dropdown: 1000;
274
- @zindex-popover: 1060;
275
- @zindex-tooltip: 1070;
276
- @zindex-navbar-fixed: 1030;
277
- @zindex-modal-background: 1040;
278
- @zindex-modal: 1050;
279
-
280
-
281
- //== Media queries breakpoints
3
+ // Variables should follow the `$component-state-property-size` formula for
4
+ // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
5
+
6
+ // Color system
7
+
8
+ // scss-docs-start gray-color-variables
9
+ $white: #fff !default;
10
+ $gray-100: #f8f9fa !default;
11
+ $gray-200: #e9ecef !default;
12
+ $gray-300: #dee2e6 !default;
13
+ $gray-400: #ced4da !default;
14
+ $gray-500: #adb5bd !default;
15
+ $gray-600: #6c757d !default;
16
+ $gray-700: #495057 !default;
17
+ $gray-800: #343a40 !default;
18
+ $gray-900: #212529 !default;
19
+ $black: #000 !default;
20
+ // scss-docs-end gray-color-variables
21
+
22
+ // fusv-disable
23
+ // scss-docs-start gray-colors-map
24
+ $grays: (
25
+ "100": $gray-100,
26
+ "200": $gray-200,
27
+ "300": $gray-300,
28
+ "400": $gray-400,
29
+ "500": $gray-500,
30
+ "600": $gray-600,
31
+ "700": $gray-700,
32
+ "800": $gray-800,
33
+ "900": $gray-900
34
+ ) !default;
35
+ // scss-docs-end gray-colors-map
36
+ // fusv-enable
37
+
38
+ // scss-docs-start color-variables
39
+ $blue: #0d6efd !default;
40
+ $indigo: #6610f2 !default;
41
+ $purple: #6f42c1 !default;
42
+ $pink: #d63384 !default;
43
+ $red: #dc3545 !default;
44
+ $orange: #fd7e14 !default;
45
+ $yellow: #ffc107 !default;
46
+ $green: #198754 !default;
47
+ $teal: #20c997 !default;
48
+ $cyan: #0dcaf0 !default;
49
+ // scss-docs-end color-variables
50
+
51
+ // scss-docs-start colors-map
52
+ $colors: (
53
+ "blue": $blue,
54
+ "indigo": $indigo,
55
+ "purple": $purple,
56
+ "pink": $pink,
57
+ "red": $red,
58
+ "orange": $orange,
59
+ "yellow": $yellow,
60
+ "green": $green,
61
+ "teal": $teal,
62
+ "cyan": $cyan,
63
+ "black": $black,
64
+ "white": $white,
65
+ "gray": $gray-600,
66
+ "gray-dark": $gray-800
67
+ ) !default;
68
+ // scss-docs-end colors-map
69
+
70
+ // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
71
+ // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
72
+ $min-contrast-ratio: 4.5 !default;
73
+
74
+ // Customize the light and dark text colors for use in our color contrast function.
75
+ $color-contrast-dark: $black !default;
76
+ $color-contrast-light: $white !default;
77
+
78
+ // fusv-disable
79
+ $blue-100: tint-color($blue, 80%) !default;
80
+ $blue-200: tint-color($blue, 60%) !default;
81
+ $blue-300: tint-color($blue, 40%) !default;
82
+ $blue-400: tint-color($blue, 20%) !default;
83
+ $blue-500: $blue !default;
84
+ $blue-600: shade-color($blue, 20%) !default;
85
+ $blue-700: shade-color($blue, 40%) !default;
86
+ $blue-800: shade-color($blue, 60%) !default;
87
+ $blue-900: shade-color($blue, 80%) !default;
88
+
89
+ $indigo-100: tint-color($indigo, 80%) !default;
90
+ $indigo-200: tint-color($indigo, 60%) !default;
91
+ $indigo-300: tint-color($indigo, 40%) !default;
92
+ $indigo-400: tint-color($indigo, 20%) !default;
93
+ $indigo-500: $indigo !default;
94
+ $indigo-600: shade-color($indigo, 20%) !default;
95
+ $indigo-700: shade-color($indigo, 40%) !default;
96
+ $indigo-800: shade-color($indigo, 60%) !default;
97
+ $indigo-900: shade-color($indigo, 80%) !default;
98
+
99
+ $purple-100: tint-color($purple, 80%) !default;
100
+ $purple-200: tint-color($purple, 60%) !default;
101
+ $purple-300: tint-color($purple, 40%) !default;
102
+ $purple-400: tint-color($purple, 20%) !default;
103
+ $purple-500: $purple !default;
104
+ $purple-600: shade-color($purple, 20%) !default;
105
+ $purple-700: shade-color($purple, 40%) !default;
106
+ $purple-800: shade-color($purple, 60%) !default;
107
+ $purple-900: shade-color($purple, 80%) !default;
108
+
109
+ $pink-100: tint-color($pink, 80%) !default;
110
+ $pink-200: tint-color($pink, 60%) !default;
111
+ $pink-300: tint-color($pink, 40%) !default;
112
+ $pink-400: tint-color($pink, 20%) !default;
113
+ $pink-500: $pink !default;
114
+ $pink-600: shade-color($pink, 20%) !default;
115
+ $pink-700: shade-color($pink, 40%) !default;
116
+ $pink-800: shade-color($pink, 60%) !default;
117
+ $pink-900: shade-color($pink, 80%) !default;
118
+
119
+ $red-100: tint-color($red, 80%) !default;
120
+ $red-200: tint-color($red, 60%) !default;
121
+ $red-300: tint-color($red, 40%) !default;
122
+ $red-400: tint-color($red, 20%) !default;
123
+ $red-500: $red !default;
124
+ $red-600: shade-color($red, 20%) !default;
125
+ $red-700: shade-color($red, 40%) !default;
126
+ $red-800: shade-color($red, 60%) !default;
127
+ $red-900: shade-color($red, 80%) !default;
128
+
129
+ $orange-100: tint-color($orange, 80%) !default;
130
+ $orange-200: tint-color($orange, 60%) !default;
131
+ $orange-300: tint-color($orange, 40%) !default;
132
+ $orange-400: tint-color($orange, 20%) !default;
133
+ $orange-500: $orange !default;
134
+ $orange-600: shade-color($orange, 20%) !default;
135
+ $orange-700: shade-color($orange, 40%) !default;
136
+ $orange-800: shade-color($orange, 60%) !default;
137
+ $orange-900: shade-color($orange, 80%) !default;
138
+
139
+ $yellow-100: tint-color($yellow, 80%) !default;
140
+ $yellow-200: tint-color($yellow, 60%) !default;
141
+ $yellow-300: tint-color($yellow, 40%) !default;
142
+ $yellow-400: tint-color($yellow, 20%) !default;
143
+ $yellow-500: $yellow !default;
144
+ $yellow-600: shade-color($yellow, 20%) !default;
145
+ $yellow-700: shade-color($yellow, 40%) !default;
146
+ $yellow-800: shade-color($yellow, 60%) !default;
147
+ $yellow-900: shade-color($yellow, 80%) !default;
148
+
149
+ $green-100: tint-color($green, 80%) !default;
150
+ $green-200: tint-color($green, 60%) !default;
151
+ $green-300: tint-color($green, 40%) !default;
152
+ $green-400: tint-color($green, 20%) !default;
153
+ $green-500: $green !default;
154
+ $green-600: shade-color($green, 20%) !default;
155
+ $green-700: shade-color($green, 40%) !default;
156
+ $green-800: shade-color($green, 60%) !default;
157
+ $green-900: shade-color($green, 80%) !default;
158
+
159
+ $teal-100: tint-color($teal, 80%) !default;
160
+ $teal-200: tint-color($teal, 60%) !default;
161
+ $teal-300: tint-color($teal, 40%) !default;
162
+ $teal-400: tint-color($teal, 20%) !default;
163
+ $teal-500: $teal !default;
164
+ $teal-600: shade-color($teal, 20%) !default;
165
+ $teal-700: shade-color($teal, 40%) !default;
166
+ $teal-800: shade-color($teal, 60%) !default;
167
+ $teal-900: shade-color($teal, 80%) !default;
168
+
169
+ $cyan-100: tint-color($cyan, 80%) !default;
170
+ $cyan-200: tint-color($cyan, 60%) !default;
171
+ $cyan-300: tint-color($cyan, 40%) !default;
172
+ $cyan-400: tint-color($cyan, 20%) !default;
173
+ $cyan-500: $cyan !default;
174
+ $cyan-600: shade-color($cyan, 20%) !default;
175
+ $cyan-700: shade-color($cyan, 40%) !default;
176
+ $cyan-800: shade-color($cyan, 60%) !default;
177
+ $cyan-900: shade-color($cyan, 80%) !default;
178
+
179
+ $blues: (
180
+ "blue-100": $blue-100,
181
+ "blue-200": $blue-200,
182
+ "blue-300": $blue-300,
183
+ "blue-400": $blue-400,
184
+ "blue-500": $blue-500,
185
+ "blue-600": $blue-600,
186
+ "blue-700": $blue-700,
187
+ "blue-800": $blue-800,
188
+ "blue-900": $blue-900
189
+ ) !default;
190
+
191
+ $indigos: (
192
+ "indigo-100": $indigo-100,
193
+ "indigo-200": $indigo-200,
194
+ "indigo-300": $indigo-300,
195
+ "indigo-400": $indigo-400,
196
+ "indigo-500": $indigo-500,
197
+ "indigo-600": $indigo-600,
198
+ "indigo-700": $indigo-700,
199
+ "indigo-800": $indigo-800,
200
+ "indigo-900": $indigo-900
201
+ ) !default;
202
+
203
+ $purples: (
204
+ "purple-100": $purple-100,
205
+ "purple-200": $purple-200,
206
+ "purple-300": $purple-300,
207
+ "purple-400": $purple-400,
208
+ "purple-500": $purple-500,
209
+ "purple-600": $purple-600,
210
+ "purple-700": $purple-700,
211
+ "purple-800": $purple-800,
212
+ "purple-900": $purple-900
213
+ ) !default;
214
+
215
+ $pinks: (
216
+ "pink-100": $pink-100,
217
+ "pink-200": $pink-200,
218
+ "pink-300": $pink-300,
219
+ "pink-400": $pink-400,
220
+ "pink-500": $pink-500,
221
+ "pink-600": $pink-600,
222
+ "pink-700": $pink-700,
223
+ "pink-800": $pink-800,
224
+ "pink-900": $pink-900
225
+ ) !default;
226
+
227
+ $reds: (
228
+ "red-100": $red-100,
229
+ "red-200": $red-200,
230
+ "red-300": $red-300,
231
+ "red-400": $red-400,
232
+ "red-500": $red-500,
233
+ "red-600": $red-600,
234
+ "red-700": $red-700,
235
+ "red-800": $red-800,
236
+ "red-900": $red-900
237
+ ) !default;
238
+
239
+ $oranges: (
240
+ "orange-100": $orange-100,
241
+ "orange-200": $orange-200,
242
+ "orange-300": $orange-300,
243
+ "orange-400": $orange-400,
244
+ "orange-500": $orange-500,
245
+ "orange-600": $orange-600,
246
+ "orange-700": $orange-700,
247
+ "orange-800": $orange-800,
248
+ "orange-900": $orange-900
249
+ ) !default;
250
+
251
+ $yellows: (
252
+ "yellow-100": $yellow-100,
253
+ "yellow-200": $yellow-200,
254
+ "yellow-300": $yellow-300,
255
+ "yellow-400": $yellow-400,
256
+ "yellow-500": $yellow-500,
257
+ "yellow-600": $yellow-600,
258
+ "yellow-700": $yellow-700,
259
+ "yellow-800": $yellow-800,
260
+ "yellow-900": $yellow-900
261
+ ) !default;
262
+
263
+ $greens: (
264
+ "green-100": $green-100,
265
+ "green-200": $green-200,
266
+ "green-300": $green-300,
267
+ "green-400": $green-400,
268
+ "green-500": $green-500,
269
+ "green-600": $green-600,
270
+ "green-700": $green-700,
271
+ "green-800": $green-800,
272
+ "green-900": $green-900
273
+ ) !default;
274
+
275
+ $teals: (
276
+ "teal-100": $teal-100,
277
+ "teal-200": $teal-200,
278
+ "teal-300": $teal-300,
279
+ "teal-400": $teal-400,
280
+ "teal-500": $teal-500,
281
+ "teal-600": $teal-600,
282
+ "teal-700": $teal-700,
283
+ "teal-800": $teal-800,
284
+ "teal-900": $teal-900
285
+ ) !default;
286
+
287
+ $cyans: (
288
+ "cyan-100": $cyan-100,
289
+ "cyan-200": $cyan-200,
290
+ "cyan-300": $cyan-300,
291
+ "cyan-400": $cyan-400,
292
+ "cyan-500": $cyan-500,
293
+ "cyan-600": $cyan-600,
294
+ "cyan-700": $cyan-700,
295
+ "cyan-800": $cyan-800,
296
+ "cyan-900": $cyan-900
297
+ ) !default;
298
+ // fusv-enable
299
+
300
+ // scss-docs-start theme-color-variables
301
+ $primary: $blue !default;
302
+ $secondary: $gray-600 !default;
303
+ $success: $green !default;
304
+ $info: $cyan !default;
305
+ $warning: $yellow !default;
306
+ $danger: $red !default;
307
+ $light: $gray-100 !default;
308
+ $dark: $gray-900 !default;
309
+ // scss-docs-end theme-color-variables
310
+
311
+ // scss-docs-start theme-colors-map
312
+ $theme-colors: (
313
+ "primary": $primary,
314
+ "secondary": $secondary,
315
+ "success": $success,
316
+ "info": $info,
317
+ "warning": $warning,
318
+ "danger": $danger,
319
+ "light": $light,
320
+ "dark": $dark
321
+ ) !default;
322
+ // scss-docs-end theme-colors-map
323
+
324
+ // scss-docs-start theme-text-variables
325
+ $primary-text-emphasis: shade-color($primary, 60%) !default;
326
+ $secondary-text-emphasis: shade-color($secondary, 60%) !default;
327
+ $success-text-emphasis: shade-color($success, 60%) !default;
328
+ $info-text-emphasis: shade-color($info, 60%) !default;
329
+ $warning-text-emphasis: shade-color($warning, 60%) !default;
330
+ $danger-text-emphasis: shade-color($danger, 60%) !default;
331
+ $light-text-emphasis: $gray-700 !default;
332
+ $dark-text-emphasis: $gray-700 !default;
333
+ // scss-docs-end theme-text-variables
334
+
335
+ // scss-docs-start theme-bg-subtle-variables
336
+ $primary-bg-subtle: tint-color($primary, 80%) !default;
337
+ $secondary-bg-subtle: tint-color($secondary, 80%) !default;
338
+ $success-bg-subtle: tint-color($success, 80%) !default;
339
+ $info-bg-subtle: tint-color($info, 80%) !default;
340
+ $warning-bg-subtle: tint-color($warning, 80%) !default;
341
+ $danger-bg-subtle: tint-color($danger, 80%) !default;
342
+ $light-bg-subtle: mix($gray-100, $white) !default;
343
+ $dark-bg-subtle: $gray-400 !default;
344
+ // scss-docs-end theme-bg-subtle-variables
345
+
346
+ // scss-docs-start theme-border-subtle-variables
347
+ $primary-border-subtle: tint-color($primary, 60%) !default;
348
+ $secondary-border-subtle: tint-color($secondary, 60%) !default;
349
+ $success-border-subtle: tint-color($success, 60%) !default;
350
+ $info-border-subtle: tint-color($info, 60%) !default;
351
+ $warning-border-subtle: tint-color($warning, 60%) !default;
352
+ $danger-border-subtle: tint-color($danger, 60%) !default;
353
+ $light-border-subtle: $gray-200 !default;
354
+ $dark-border-subtle: $gray-500 !default;
355
+ // scss-docs-end theme-border-subtle-variables
356
+
357
+ // Characters which are escaped by the escape-svg function
358
+ $escaped-characters: (
359
+ ("<", "%3c"),
360
+ (">", "%3e"),
361
+ ("#", "%23"),
362
+ ("(", "%28"),
363
+ (")", "%29"),
364
+ ) !default;
365
+
366
+ // Options
282
367
  //
283
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
284
-
285
- // Extra small screen / phone
286
- //** Deprecated `@screen-xs` as of v3.0.1
287
- @screen-xs: 480px;
288
- //** Deprecated `@screen-xs-min` as of v3.2.0
289
- @screen-xs-min: @screen-xs;
290
- //** Deprecated `@screen-phone` as of v3.0.1
291
- @screen-phone: @screen-xs-min;
292
-
293
- // Small screen / tablet
294
- //** Deprecated `@screen-sm` as of v3.0.1
295
- @screen-sm: 768px;
296
- @screen-sm-min: @screen-sm;
297
- //** Deprecated `@screen-tablet` as of v3.0.1
298
- @screen-tablet: @screen-sm-min;
299
-
300
- // Medium screen / desktop
301
- //** Deprecated `@screen-md` as of v3.0.1
302
- @screen-md: 992px;
303
- @screen-md-min: @screen-md;
304
- //** Deprecated `@screen-desktop` as of v3.0.1
305
- @screen-desktop: @screen-md-min;
306
-
307
- // Large screen / wide desktop
308
- //** Deprecated `@screen-lg` as of v3.0.1
309
- @screen-lg: 1200px;
310
- @screen-lg-min: @screen-lg;
311
- //** Deprecated `@screen-lg-desktop` as of v3.0.1
312
- @screen-lg-desktop: @screen-lg-min;
313
-
314
- // So media queries don't overlap when required, provide a maximum
315
- @screen-xs-max: (@screen-sm-min - 1);
316
- @screen-sm-max: (@screen-md-min - 1);
317
- @screen-md-max: (@screen-lg-min - 1);
318
-
319
-
320
- //== Grid system
368
+ // Quickly modify global styling by enabling or disabling optional features.
369
+
370
+ $enable-caret: true !default;
371
+ $enable-rounded: true !default;
372
+ $enable-shadows: false !default;
373
+ $enable-gradients: false !default;
374
+ $enable-transitions: true !default;
375
+ $enable-reduced-motion: true !default;
376
+ $enable-smooth-scroll: true !default;
377
+ $enable-grid-classes: true !default;
378
+ $enable-container-classes: true !default;
379
+ $enable-cssgrid: false !default;
380
+ $enable-button-pointers: true !default;
381
+ $enable-rfs: true !default;
382
+ $enable-validation-icons: true !default;
383
+ $enable-negative-margins: false !default;
384
+ $enable-deprecation-messages: true !default;
385
+ $enable-important-utilities: true !default;
386
+
387
+ $enable-dark-mode: true !default;
388
+ $color-mode-type: data !default; // `data` or `media-query`
389
+
390
+ // Prefix for :root CSS variables
391
+
392
+ $variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
393
+ $prefix: $variable-prefix !default;
394
+
395
+ // Gradient
321
396
  //
322
- //## Define your custom responsive grid.
323
-
324
- //** Number of columns in the grid.
325
- @grid-columns: 12;
326
- //** Padding between columns. Gets divided in half for the left and right.
327
- @grid-gutter-width: 30px;
328
- // Navbar collapse
329
- //** Point at which the navbar becomes uncollapsed.
330
- @grid-float-breakpoint: @screen-sm-min;
331
- //** Point at which the navbar begins collapsing.
332
- @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
333
-
397
+ // The gradient which is added to components if `$enable-gradients` is `true`
398
+ // This gradient is also added to elements with `.bg-gradient`
399
+ // scss-docs-start variable-gradient
400
+ $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
401
+ // scss-docs-end variable-gradient
334
402
 
335
- //== Container sizes
403
+ // Spacing
336
404
  //
337
- //## Define the maximum width of `.container` for different screen sizes.
338
-
339
- // Small screen / tablet
340
- @container-tablet: (720px + @grid-gutter-width);
341
- //** For `@screen-sm-min` and up.
342
- @container-sm: @container-tablet;
343
-
344
- // Medium screen / desktop
345
- @container-desktop: (940px + @grid-gutter-width);
346
- //** For `@screen-md-min` and up.
347
- @container-md: @container-desktop;
348
-
349
- // Large screen / wide desktop
350
- @container-large-desktop: (1140px + @grid-gutter-width);
351
- //** For `@screen-lg-min` and up.
352
- @container-lg: @container-large-desktop;
353
-
354
-
355
- //== Navbar
356
- //
357
- //##
358
-
359
- // Basics of a navbar
360
- @navbar-height: 50px;
361
- @navbar-margin-bottom: @line-height-computed;
362
- @navbar-border-radius: @border-radius-base;
363
- @navbar-padding-horizontal: floor((@grid-gutter-width / 2));
364
- @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
365
- @navbar-collapse-max-height: 340px;
366
-
367
- @navbar-default-color: #777;
368
- @navbar-default-bg: #f8f8f8;
369
- @navbar-default-border: darken(@navbar-default-bg, 6.5%);
370
-
371
- // Navbar links
372
- @navbar-default-link-color: #777;
373
- @navbar-default-link-hover-color: #333;
374
- @navbar-default-link-hover-bg: transparent;
375
- @navbar-default-link-active-color: #555;
376
- @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
377
- @navbar-default-link-disabled-color: #ccc;
378
- @navbar-default-link-disabled-bg: transparent;
379
-
380
- // Navbar brand label
381
- @navbar-default-brand-color: @navbar-default-link-color;
382
- @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
383
- @navbar-default-brand-hover-bg: transparent;
384
-
385
- // Navbar toggle
386
- @navbar-default-toggle-hover-bg: #ddd;
387
- @navbar-default-toggle-icon-bar-bg: #888;
388
- @navbar-default-toggle-border-color: #ddd;
389
-
390
-
391
- //=== Inverted navbar
392
- // Reset inverted navbar basics
393
- @navbar-inverse-color: lighten(@gray-light, 15%);
394
- @navbar-inverse-bg: #222;
395
- @navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
396
-
397
- // Inverted navbar links
398
- @navbar-inverse-link-color: lighten(@gray-light, 15%);
399
- @navbar-inverse-link-hover-color: #fff;
400
- @navbar-inverse-link-hover-bg: transparent;
401
- @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
402
- @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
403
- @navbar-inverse-link-disabled-color: #444;
404
- @navbar-inverse-link-disabled-bg: transparent;
405
-
406
- // Inverted navbar brand label
407
- @navbar-inverse-brand-color: @navbar-inverse-link-color;
408
- @navbar-inverse-brand-hover-color: #fff;
409
- @navbar-inverse-brand-hover-bg: transparent;
410
-
411
- // Inverted navbar toggle
412
- @navbar-inverse-toggle-hover-bg: #333;
413
- @navbar-inverse-toggle-icon-bar-bg: #fff;
414
- @navbar-inverse-toggle-border-color: #333;
415
-
416
-
417
- //== Navs
405
+ // Control the default styling of most Bootstrap elements by modifying these
406
+ // variables. Mostly focused on spacing.
407
+ // You can add more entries to the $spacers map, should you need more variation.
408
+
409
+ // scss-docs-start spacer-variables-maps
410
+ $spacer: 1rem !default;
411
+ $spacers: (
412
+ 0: 0,
413
+ 1: $spacer * .25,
414
+ 2: $spacer * .5,
415
+ 3: $spacer,
416
+ 4: $spacer * 1.5,
417
+ 5: $spacer * 3,
418
+ ) !default;
419
+ // scss-docs-end spacer-variables-maps
420
+
421
+ // Position
418
422
  //
419
- //##
420
-
421
- //=== Shared nav styles
422
- @nav-link-padding: 10px 15px;
423
- @nav-link-hover-bg: @gray-lighter;
424
-
425
- @nav-disabled-link-color: @gray-light;
426
- @nav-disabled-link-hover-color: @gray-light;
423
+ // Define the edge positioning anchors of the position utilities.
427
424
 
428
- //== Tabs
429
- @nav-tabs-border-color: #ddd;
425
+ // scss-docs-start position-map
426
+ $position-values: (
427
+ 0: 0,
428
+ 50: 50%,
429
+ 100: 100%
430
+ ) !default;
431
+ // scss-docs-end position-map
430
432
 
431
- @nav-tabs-link-hover-border-color: @gray-lighter;
432
-
433
- @nav-tabs-active-link-hover-bg: @body-bg;
434
- @nav-tabs-active-link-hover-color: @gray;
435
- @nav-tabs-active-link-hover-border-color: #ddd;
436
-
437
- @nav-tabs-justified-link-border-color: #ddd;
438
- @nav-tabs-justified-active-link-border-color: @body-bg;
439
-
440
- //== Pills
441
- @nav-pills-border-radius: @border-radius-base;
442
- @nav-pills-active-link-hover-bg: @component-active-bg;
443
- @nav-pills-active-link-hover-color: @component-active-color;
444
-
445
-
446
- //== Pagination
433
+ // Body
447
434
  //
448
- //##
449
-
450
- @pagination-color: @link-color;
451
- @pagination-bg: #fff;
452
- @pagination-border: #ddd;
435
+ // Settings for the `<body>` element.
453
436
 
454
- @pagination-hover-color: @link-hover-color;
455
- @pagination-hover-bg: @gray-lighter;
456
- @pagination-hover-border: #ddd;
437
+ $body-text-align: null !default;
438
+ $body-color: $gray-900 !default;
439
+ $body-bg: $white !default;
457
440
 
458
- @pagination-active-color: #fff;
459
- @pagination-active-bg: @brand-primary;
460
- @pagination-active-border: @brand-primary;
441
+ $body-secondary-color: rgba($body-color, .75) !default;
442
+ $body-secondary-bg: $gray-200 !default;
461
443
 
462
- @pagination-disabled-color: @gray-light;
463
- @pagination-disabled-bg: #fff;
464
- @pagination-disabled-border: #ddd;
444
+ $body-tertiary-color: rgba($body-color, .5) !default;
445
+ $body-tertiary-bg: $gray-100 !default;
465
446
 
447
+ $body-emphasis-color: $black !default;
466
448
 
467
- //== Pager
449
+ // Links
468
450
  //
469
- //##
470
-
471
- @pager-bg: @pagination-bg;
472
- @pager-border: @pagination-border;
473
- @pager-border-radius: 15px;
474
-
475
- @pager-hover-bg: @pagination-hover-bg;
476
-
477
- @pager-active-bg: @pagination-active-bg;
478
- @pager-active-color: @pagination-active-color;
479
-
480
- @pager-disabled-color: @pagination-disabled-color;
481
-
482
-
483
- //== Jumbotron
451
+ // Style anchor elements.
452
+
453
+ $link-color: $primary !default;
454
+ $link-decoration: underline !default;
455
+ $link-shade-percentage: 20% !default;
456
+ $link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
457
+ $link-hover-decoration: null !default;
458
+
459
+ $stretched-link-pseudo-element: after !default;
460
+ $stretched-link-z-index: 1 !default;
461
+
462
+ // Icon links
463
+ // scss-docs-start icon-link-variables
464
+ $icon-link-gap: .375rem !default;
465
+ $icon-link-underline-offset: .25em !default;
466
+ $icon-link-icon-size: 1em !default;
467
+ $icon-link-icon-transition: .2s ease-in-out transform !default;
468
+ $icon-link-icon-transform: translate3d(.25em, 0, 0) !default;
469
+ // scss-docs-end icon-link-variables
470
+
471
+ // Paragraphs
484
472
  //
485
- //##
473
+ // Style p element.
486
474
 
487
- @jumbotron-padding: 30px;
488
- @jumbotron-color: inherit;
489
- @jumbotron-bg: @gray-lighter;
490
- @jumbotron-heading-color: inherit;
491
- @jumbotron-font-size: ceil((@font-size-base * 1.5));
492
- @jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
475
+ $paragraph-margin-bottom: 1rem !default;
493
476
 
494
477
 
495
- //== Form states and alerts
478
+ // Grid breakpoints
496
479
  //
497
- //## Define colors for form feedback states and, by default, alerts.
498
-
499
- @state-success-text: #3c763d;
500
- @state-success-bg: #dff0d8;
501
- @state-success-border: darken(spin(@state-success-bg, -10), 5%);
480
+ // Define the minimum dimensions at which your layout will change,
481
+ // adapting to different screen sizes, for use in media queries.
502
482
 
503
- @state-info-text: #31708f;
504
- @state-info-bg: #d9edf7;
505
- @state-info-border: darken(spin(@state-info-bg, -10), 7%);
483
+ // scss-docs-start grid-breakpoints
484
+ $grid-breakpoints: (
485
+ xs: 0,
486
+ sm: 576px,
487
+ md: 768px,
488
+ lg: 992px,
489
+ xl: 1200px,
490
+ xxl: 1400px
491
+ ) !default;
492
+ // scss-docs-end grid-breakpoints
506
493
 
507
- @state-warning-text: #8a6d3b;
508
- @state-warning-bg: #fcf8e3;
509
- @state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
494
+ @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
495
+ @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
510
496
 
511
- @state-danger-text: #a94442;
512
- @state-danger-bg: #f2dede;
513
- @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
514
497
 
515
-
516
- //== Tooltips
498
+ // Grid containers
517
499
  //
518
- //##
500
+ // Define the maximum width of `.container` for different screen sizes.
519
501
 
520
- //** Tooltip max width
521
- @tooltip-max-width: 200px;
522
- //** Tooltip text color
523
- @tooltip-color: #fff;
524
- //** Tooltip background color
525
- @tooltip-bg: #000;
526
- @tooltip-opacity: .9;
502
+ // scss-docs-start container-max-widths
503
+ $container-max-widths: (
504
+ sm: 540px,
505
+ md: 720px,
506
+ lg: 960px,
507
+ xl: 1140px,
508
+ xxl: 1320px
509
+ ) !default;
510
+ // scss-docs-end container-max-widths
527
511
 
528
- //** Tooltip arrow width
529
- @tooltip-arrow-width: 5px;
530
- //** Tooltip arrow color
531
- @tooltip-arrow-color: @tooltip-bg;
512
+ @include _assert-ascending($container-max-widths, "$container-max-widths");
532
513
 
533
514
 
534
- //== Popovers
535
- //
536
- //##
537
-
538
- //** Popover body background color
539
- @popover-bg: #fff;
540
- //** Popover maximum width
541
- @popover-max-width: 276px;
542
- //** Popover border color
543
- @popover-border-color: rgba(0,0,0,.2);
544
- //** Popover fallback border color
545
- @popover-fallback-border-color: #ccc;
546
-
547
- //** Popover title background color
548
- @popover-title-bg: darken(@popover-bg, 3%);
549
-
550
- //** Popover arrow width
551
- @popover-arrow-width: 10px;
552
- //** Popover arrow color
553
- @popover-arrow-color: @popover-bg;
554
-
555
- //** Popover outer arrow width
556
- @popover-arrow-outer-width: (@popover-arrow-width + 1);
557
- //** Popover outer arrow color
558
- @popover-arrow-outer-color: fadein(@popover-border-color, 5%);
559
- //** Popover outer arrow fallback color
560
- @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
561
-
562
-
563
- //== Labels
515
+ // Grid columns
564
516
  //
565
- //##
566
-
567
- //** Default label background color
568
- @label-default-bg: @gray-light;
569
- //** Primary label background color
570
- @label-primary-bg: @brand-primary;
571
- //** Success label background color
572
- @label-success-bg: @brand-success;
573
- //** Info label background color
574
- @label-info-bg: @brand-info;
575
- //** Warning label background color
576
- @label-warning-bg: @brand-warning;
577
- //** Danger label background color
578
- @label-danger-bg: @brand-danger;
579
-
580
- //** Default label text color
581
- @label-color: #fff;
582
- //** Default text color of a linked label
583
- @label-link-hover-color: #fff;
584
-
585
-
586
- //== Modals
587
- //
588
- //##
589
-
590
- //** Padding applied to the modal body
591
- @modal-inner-padding: 15px;
592
-
593
- //** Padding applied to the modal title
594
- @modal-title-padding: 15px;
595
- //** Modal title line-height
596
- @modal-title-line-height: @line-height-base;
597
-
598
- //** Background color of modal content area
599
- @modal-content-bg: #fff;
600
- //** Modal content border color
601
- @modal-content-border-color: rgba(0,0,0,.2);
602
- //** Modal content border color **for IE8**
603
- @modal-content-fallback-border-color: #999;
604
-
605
- //** Modal backdrop background color
606
- @modal-backdrop-bg: #000;
607
- //** Modal backdrop opacity
608
- @modal-backdrop-opacity: .5;
609
- //** Modal header border color
610
- @modal-header-border-color: #e5e5e5;
611
- //** Modal footer border color
612
- @modal-footer-border-color: @modal-header-border-color;
613
-
614
- @modal-lg: 900px;
615
- @modal-md: 600px;
616
- @modal-sm: 300px;
617
-
618
-
619
- //== Alerts
620
- //
621
- //## Define alert colors, border radius, and padding.
622
-
623
- @alert-padding: 15px;
624
- @alert-border-radius: @border-radius-base;
625
- @alert-link-font-weight: bold;
626
-
627
- @alert-success-bg: @state-success-bg;
628
- @alert-success-text: @state-success-text;
629
- @alert-success-border: @state-success-border;
517
+ // Set the number of columns and specify the width of the gutters.
630
518
 
631
- @alert-info-bg: @state-info-bg;
632
- @alert-info-text: @state-info-text;
633
- @alert-info-border: @state-info-border;
519
+ $grid-columns: 12 !default;
520
+ $grid-gutter-width: 1.5rem !default;
521
+ $grid-row-columns: 6 !default;
634
522
 
635
- @alert-warning-bg: @state-warning-bg;
636
- @alert-warning-text: @state-warning-text;
637
- @alert-warning-border: @state-warning-border;
523
+ // Container padding
638
524
 
639
- @alert-danger-bg: @state-danger-bg;
640
- @alert-danger-text: @state-danger-text;
641
- @alert-danger-border: @state-danger-border;
525
+ $container-padding-x: $grid-gutter-width !default;
642
526
 
643
527
 
644
- //== Progress bars
528
+ // Components
645
529
  //
646
- //##
647
-
648
- //** Background color of the whole progress component
649
- @progress-bg: #f5f5f5;
650
- //** Progress bar text color
651
- @progress-bar-color: #fff;
652
- //** Variable for setting rounded corners on progress bar.
653
- @progress-border-radius: @border-radius-base;
654
-
655
- //** Default progress bar color
656
- @progress-bar-bg: @brand-primary;
657
- //** Success progress bar color
658
- @progress-bar-success-bg: @brand-success;
659
- //** Warning progress bar color
660
- @progress-bar-warning-bg: @brand-warning;
661
- //** Danger progress bar color
662
- @progress-bar-danger-bg: @brand-danger;
663
- //** Info progress bar color
664
- @progress-bar-info-bg: @brand-info;
665
-
666
-
667
- //== List group
530
+ // Define common padding and border radius sizes and more.
531
+
532
+ // scss-docs-start border-variables
533
+ $border-width: 1px !default;
534
+ $border-widths: (
535
+ 1: 1px,
536
+ 2: 2px,
537
+ 3: 3px,
538
+ 4: 4px,
539
+ 5: 5px
540
+ ) !default;
541
+ $border-style: solid !default;
542
+ $border-color: $gray-300 !default;
543
+ $border-color-translucent: rgba($black, .175) !default;
544
+ // scss-docs-end border-variables
545
+
546
+ // scss-docs-start border-radius-variables
547
+ $border-radius: .375rem !default;
548
+ $border-radius-sm: .25rem !default;
549
+ $border-radius-lg: .5rem !default;
550
+ $border-radius-xl: 1rem !default;
551
+ $border-radius-xxl: 2rem !default;
552
+ $border-radius-pill: 50rem !default;
553
+ // scss-docs-end border-radius-variables
554
+ // fusv-disable
555
+ $border-radius-2xl: $border-radius-xxl !default; // Deprecated in v5.3.0
556
+ // fusv-enable
557
+
558
+ // scss-docs-start box-shadow-variables
559
+ $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
560
+ $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
561
+ $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
562
+ $box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
563
+ // scss-docs-end box-shadow-variables
564
+
565
+ $component-active-color: $white !default;
566
+ $component-active-bg: $primary !default;
567
+
568
+ // scss-docs-start focus-ring-variables
569
+ $focus-ring-width: .25rem !default;
570
+ $focus-ring-opacity: .25 !default;
571
+ $focus-ring-color: rgba($primary, $focus-ring-opacity) !default;
572
+ $focus-ring-blur: 0 !default;
573
+ $focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color !default;
574
+ // scss-docs-end focus-ring-variables
575
+
576
+ // scss-docs-start caret-variables
577
+ $caret-width: .3em !default;
578
+ $caret-vertical-align: $caret-width * .85 !default;
579
+ $caret-spacing: $caret-width * .85 !default;
580
+ // scss-docs-end caret-variables
581
+
582
+ $transition-base: all .2s ease-in-out !default;
583
+ $transition-fade: opacity .15s linear !default;
584
+ // scss-docs-start collapse-transition
585
+ $transition-collapse: height .35s ease !default;
586
+ $transition-collapse-width: width .35s ease !default;
587
+ // scss-docs-end collapse-transition
588
+
589
+ // stylelint-disable function-disallowed-list
590
+ // scss-docs-start aspect-ratios
591
+ $aspect-ratios: (
592
+ "1x1": 100%,
593
+ "4x3": calc(3 / 4 * 100%),
594
+ "16x9": calc(9 / 16 * 100%),
595
+ "21x9": calc(9 / 21 * 100%)
596
+ ) !default;
597
+ // scss-docs-end aspect-ratios
598
+ // stylelint-enable function-disallowed-list
599
+
600
+ // Typography
668
601
  //
669
- //##
670
-
671
- //** Background color on `.list-group-item`
672
- @list-group-bg: #fff;
673
- //** `.list-group-item` border color
674
- @list-group-border: #ddd;
675
- //** List group border radius
676
- @list-group-border-radius: @border-radius-base;
677
-
678
- //** Background color of single list items on hover
679
- @list-group-hover-bg: #f5f5f5;
680
- //** Text color of active list items
681
- @list-group-active-color: @component-active-color;
682
- //** Background color of active list items
683
- @list-group-active-bg: @component-active-bg;
684
- //** Border color of active list elements
685
- @list-group-active-border: @list-group-active-bg;
686
- //** Text color for content within active list items
687
- @list-group-active-text-color: lighten(@list-group-active-bg, 40%);
688
-
689
- //** Text color of disabled list items
690
- @list-group-disabled-color: @gray-light;
691
- //** Background color of disabled list items
692
- @list-group-disabled-bg: @gray-lighter;
693
- //** Text color for content within disabled list items
694
- @list-group-disabled-text-color: @list-group-disabled-color;
695
-
696
- @list-group-link-color: #555;
697
- @list-group-link-hover-color: @list-group-link-color;
698
- @list-group-link-heading-color: #333;
699
-
700
-
701
- //== Panels
602
+ // Font, line-height, and color for body text, headings, and more.
603
+
604
+ // scss-docs-start font-variables
605
+ // stylelint-disable value-keyword-case
606
+ $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
607
+ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
608
+ // stylelint-enable value-keyword-case
609
+ $font-family-base: var(--#{$prefix}font-sans-serif) !default;
610
+ $font-family-code: var(--#{$prefix}font-monospace) !default;
611
+
612
+ // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
613
+ // $font-size-base affects the font size of the body text
614
+ $font-size-root: null !default;
615
+ $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
616
+ $font-size-sm: $font-size-base * .875 !default;
617
+ $font-size-lg: $font-size-base * 1.25 !default;
618
+
619
+ $font-weight-lighter: lighter !default;
620
+ $font-weight-light: 300 !default;
621
+ $font-weight-normal: 400 !default;
622
+ $font-weight-medium: 500 !default;
623
+ $font-weight-semibold: 600 !default;
624
+ $font-weight-bold: 700 !default;
625
+ $font-weight-bolder: bolder !default;
626
+
627
+ $font-weight-base: $font-weight-normal !default;
628
+
629
+ $line-height-base: 1.5 !default;
630
+ $line-height-sm: 1.25 !default;
631
+ $line-height-lg: 2 !default;
632
+
633
+ $h1-font-size: $font-size-base * 2.5 !default;
634
+ $h2-font-size: $font-size-base * 2 !default;
635
+ $h3-font-size: $font-size-base * 1.75 !default;
636
+ $h4-font-size: $font-size-base * 1.5 !default;
637
+ $h5-font-size: $font-size-base * 1.25 !default;
638
+ $h6-font-size: $font-size-base !default;
639
+ // scss-docs-end font-variables
640
+
641
+ // scss-docs-start font-sizes
642
+ $font-sizes: (
643
+ 1: $h1-font-size,
644
+ 2: $h2-font-size,
645
+ 3: $h3-font-size,
646
+ 4: $h4-font-size,
647
+ 5: $h5-font-size,
648
+ 6: $h6-font-size
649
+ ) !default;
650
+ // scss-docs-end font-sizes
651
+
652
+ // scss-docs-start headings-variables
653
+ $headings-margin-bottom: $spacer * .5 !default;
654
+ $headings-font-family: null !default;
655
+ $headings-font-style: null !default;
656
+ $headings-font-weight: 500 !default;
657
+ $headings-line-height: 1.2 !default;
658
+ $headings-color: inherit !default;
659
+ // scss-docs-end headings-variables
660
+
661
+ // scss-docs-start display-headings
662
+ $display-font-sizes: (
663
+ 1: 5rem,
664
+ 2: 4.5rem,
665
+ 3: 4rem,
666
+ 4: 3.5rem,
667
+ 5: 3rem,
668
+ 6: 2.5rem
669
+ ) !default;
670
+
671
+ $display-font-family: null !default;
672
+ $display-font-style: null !default;
673
+ $display-font-weight: 300 !default;
674
+ $display-line-height: $headings-line-height !default;
675
+ // scss-docs-end display-headings
676
+
677
+ // scss-docs-start type-variables
678
+ $lead-font-size: $font-size-base * 1.25 !default;
679
+ $lead-font-weight: 300 !default;
680
+
681
+ $small-font-size: .875em !default;
682
+
683
+ $sub-sup-font-size: .75em !default;
684
+
685
+ // fusv-disable
686
+ $text-muted: var(--#{$prefix}secondary-color) !default; // Deprecated in 5.3.0
687
+ // fusv-enable
688
+
689
+ $initialism-font-size: $small-font-size !default;
690
+
691
+ $blockquote-margin-y: $spacer !default;
692
+ $blockquote-font-size: $font-size-base * 1.25 !default;
693
+ $blockquote-footer-color: $gray-600 !default;
694
+ $blockquote-footer-font-size: $small-font-size !default;
695
+
696
+ $hr-margin-y: $spacer !default;
697
+ $hr-color: inherit !default;
698
+
699
+ // fusv-disable
700
+ $hr-bg-color: null !default; // Deprecated in v5.2.0
701
+ $hr-height: null !default; // Deprecated in v5.2.0
702
+ // fusv-enable
703
+
704
+ $hr-border-color: null !default; // Allows for inherited colors
705
+ $hr-border-width: var(--#{$prefix}border-width) !default;
706
+ $hr-opacity: .25 !default;
707
+
708
+ // scss-docs-start vr-variables
709
+ $vr-border-width: var(--#{$prefix}border-width) !default;
710
+ // scss-docs-end vr-variables
711
+
712
+ $legend-margin-bottom: .5rem !default;
713
+ $legend-font-size: 1.5rem !default;
714
+ $legend-font-weight: null !default;
715
+
716
+ $dt-font-weight: $font-weight-bold !default;
717
+
718
+ $list-inline-padding: .5rem !default;
719
+
720
+ $mark-padding: .1875em !default;
721
+ $mark-color: $body-color !default;
722
+ $mark-bg: $yellow-100 !default;
723
+ // scss-docs-end type-variables
724
+
725
+
726
+ // Tables
702
727
  //
703
- //##
728
+ // Customizes the `.table` component with basic values, each used across all table variations.
704
729
 
705
- @panel-bg: #fff;
706
- @panel-body-padding: 15px;
707
- @panel-heading-padding: 10px 15px;
708
- @panel-footer-padding: @panel-heading-padding;
709
- @panel-border-radius: @border-radius-base;
730
+ // scss-docs-start table-variables
731
+ $table-cell-padding-y: .5rem !default;
732
+ $table-cell-padding-x: .5rem !default;
733
+ $table-cell-padding-y-sm: .25rem !default;
734
+ $table-cell-padding-x-sm: .25rem !default;
710
735
 
711
- //** Border color for elements within panels
712
- @panel-inner-border: #ddd;
713
- @panel-footer-bg: #f5f5f5;
736
+ $table-cell-vertical-align: top !default;
714
737
 
715
- @panel-default-text: @gray-dark;
716
- @panel-default-border: #ddd;
717
- @panel-default-heading-bg: #f5f5f5;
738
+ $table-color: var(--#{$prefix}emphasis-color) !default;
739
+ $table-bg: var(--#{$prefix}body-bg) !default;
740
+ $table-accent-bg: transparent !default;
718
741
 
719
- @panel-primary-text: #fff;
720
- @panel-primary-border: @brand-primary;
721
- @panel-primary-heading-bg: @brand-primary;
742
+ $table-th-font-weight: null !default;
722
743
 
723
- @panel-success-text: @state-success-text;
724
- @panel-success-border: @state-success-border;
725
- @panel-success-heading-bg: @state-success-bg;
744
+ $table-striped-color: $table-color !default;
745
+ $table-striped-bg-factor: .05 !default;
746
+ $table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default;
726
747
 
727
- @panel-info-text: @state-info-text;
728
- @panel-info-border: @state-info-border;
729
- @panel-info-heading-bg: @state-info-bg;
748
+ $table-active-color: $table-color !default;
749
+ $table-active-bg-factor: .1 !default;
750
+ $table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default;
730
751
 
731
- @panel-warning-text: @state-warning-text;
732
- @panel-warning-border: @state-warning-border;
733
- @panel-warning-heading-bg: @state-warning-bg;
752
+ $table-hover-color: $table-color !default;
753
+ $table-hover-bg-factor: .075 !default;
754
+ $table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default;
734
755
 
735
- @panel-danger-text: @state-danger-text;
736
- @panel-danger-border: @state-danger-border;
737
- @panel-danger-heading-bg: @state-danger-bg;
756
+ $table-border-factor: .2 !default;
757
+ $table-border-width: var(--#{$prefix}border-width) !default;
758
+ $table-border-color: var(--#{$prefix}border-color) !default;
738
759
 
760
+ $table-striped-order: odd !default;
761
+ $table-striped-columns-order: even !default;
739
762
 
740
- //== Thumbnails
741
- //
742
- //##
743
-
744
- //** Padding around the thumbnail image
745
- @thumbnail-padding: 4px;
746
- //** Thumbnail background color
747
- @thumbnail-bg: @body-bg;
748
- //** Thumbnail border color
749
- @thumbnail-border: #ddd;
750
- //** Thumbnail border radius
751
- @thumbnail-border-radius: @border-radius-base;
763
+ $table-group-separator-color: currentcolor !default;
752
764
 
753
- //** Custom text color for thumbnail captions
754
- @thumbnail-caption-color: @text-color;
755
- //** Padding around the thumbnail caption
756
- @thumbnail-caption-padding: 9px;
765
+ $table-caption-color: var(--#{$prefix}secondary-color) !default;
757
766
 
767
+ $table-bg-scale: -80% !default;
768
+ // scss-docs-end table-variables
758
769
 
759
- //== Wells
760
- //
761
- //##
762
-
763
- @well-bg: #f5f5f5;
764
- @well-border: darken(@well-bg, 7%);
770
+ // scss-docs-start table-loop
771
+ $table-variants: (
772
+ "primary": shift-color($primary, $table-bg-scale),
773
+ "secondary": shift-color($secondary, $table-bg-scale),
774
+ "success": shift-color($success, $table-bg-scale),
775
+ "info": shift-color($info, $table-bg-scale),
776
+ "warning": shift-color($warning, $table-bg-scale),
777
+ "danger": shift-color($danger, $table-bg-scale),
778
+ "light": $light,
779
+ "dark": $dark,
780
+ ) !default;
781
+ // scss-docs-end table-loop
765
782
 
766
783
 
767
- //== Badges
784
+ // Buttons + Forms
768
785
  //
769
- //##
786
+ // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
770
787
 
771
- @badge-color: #fff;
772
- //** Linked badge text color on hover
773
- @badge-link-hover-color: #fff;
774
- @badge-bg: @gray-light;
788
+ // scss-docs-start input-btn-variables
789
+ $input-btn-padding-y: .375rem !default;
790
+ $input-btn-padding-x: .75rem !default;
791
+ $input-btn-font-family: null !default;
792
+ $input-btn-font-size: $font-size-base !default;
793
+ $input-btn-line-height: $line-height-base !default;
775
794
 
776
- //** Badge text color in active nav link
777
- @badge-active-color: @link-color;
778
- //** Badge background color in active nav link
779
- @badge-active-bg: #fff;
795
+ $input-btn-focus-width: $focus-ring-width !default;
796
+ $input-btn-focus-color-opacity: $focus-ring-opacity !default;
797
+ $input-btn-focus-color: $focus-ring-color !default;
798
+ $input-btn-focus-blur: $focus-ring-blur !default;
799
+ $input-btn-focus-box-shadow: $focus-ring-box-shadow !default;
780
800
 
781
- @badge-font-weight: bold;
782
- @badge-line-height: 1;
783
- @badge-border-radius: 10px;
801
+ $input-btn-padding-y-sm: .25rem !default;
802
+ $input-btn-padding-x-sm: .5rem !default;
803
+ $input-btn-font-size-sm: $font-size-sm !default;
784
804
 
805
+ $input-btn-padding-y-lg: .5rem !default;
806
+ $input-btn-padding-x-lg: 1rem !default;
807
+ $input-btn-font-size-lg: $font-size-lg !default;
785
808
 
786
- //== Breadcrumbs
787
- //
788
- //##
789
-
790
- @breadcrumb-padding-vertical: 8px;
791
- @breadcrumb-padding-horizontal: 15px;
792
- //** Breadcrumb background color
793
- @breadcrumb-bg: #f5f5f5;
794
- //** Breadcrumb text color
795
- @breadcrumb-color: #ccc;
796
- //** Text color of current page in the breadcrumb
797
- @breadcrumb-active-color: @gray-light;
798
- //** Textual separator for between breadcrumb elements
799
- @breadcrumb-separator: "/";
809
+ $input-btn-border-width: var(--#{$prefix}border-width) !default;
810
+ // scss-docs-end input-btn-variables
800
811
 
801
812
 
802
- //== Carousel
813
+ // Buttons
803
814
  //
804
- //##
805
-
806
- @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
807
-
808
- @carousel-control-color: #fff;
809
- @carousel-control-width: 15%;
810
- @carousel-control-opacity: .5;
811
- @carousel-control-font-size: 20px;
815
+ // For each of Bootstrap's buttons, define text, background, and border color.
816
+
817
+ // scss-docs-start btn-variables
818
+ $btn-color: var(--#{$prefix}body-color) !default;
819
+ $btn-padding-y: $input-btn-padding-y !default;
820
+ $btn-padding-x: $input-btn-padding-x !default;
821
+ $btn-font-family: $input-btn-font-family !default;
822
+ $btn-font-size: $input-btn-font-size !default;
823
+ $btn-line-height: $input-btn-line-height !default;
824
+ $btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
825
+
826
+ $btn-padding-y-sm: $input-btn-padding-y-sm !default;
827
+ $btn-padding-x-sm: $input-btn-padding-x-sm !default;
828
+ $btn-font-size-sm: $input-btn-font-size-sm !default;
829
+
830
+ $btn-padding-y-lg: $input-btn-padding-y-lg !default;
831
+ $btn-padding-x-lg: $input-btn-padding-x-lg !default;
832
+ $btn-font-size-lg: $input-btn-font-size-lg !default;
833
+
834
+ $btn-border-width: $input-btn-border-width !default;
835
+
836
+ $btn-font-weight: $font-weight-normal !default;
837
+ $btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
838
+ $btn-focus-width: $input-btn-focus-width !default;
839
+ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
840
+ $btn-disabled-opacity: .65 !default;
841
+ $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
842
+
843
+ $btn-link-color: var(--#{$prefix}link-color) !default;
844
+ $btn-link-hover-color: var(--#{$prefix}link-hover-color) !default;
845
+ $btn-link-disabled-color: $gray-600 !default;
846
+ $btn-link-focus-shadow-rgb: to-rgb(mix(color-contrast($link-color), $link-color, 15%)) !default;
812
847
 
813
- @carousel-indicator-active-bg: #fff;
814
- @carousel-indicator-border-color: #fff;
815
-
816
- @carousel-caption-color: #fff;
817
-
818
-
819
- //== Close
848
+ // Allows for customizing button radius independently from global border radius
849
+ $btn-border-radius: var(--#{$prefix}border-radius) !default;
850
+ $btn-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
851
+ $btn-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
852
+
853
+ $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;
854
+
855
+ $btn-hover-bg-shade-amount: 15% !default;
856
+ $btn-hover-bg-tint-amount: 15% !default;
857
+ $btn-hover-border-shade-amount: 20% !default;
858
+ $btn-hover-border-tint-amount: 10% !default;
859
+ $btn-active-bg-shade-amount: 20% !default;
860
+ $btn-active-bg-tint-amount: 20% !default;
861
+ $btn-active-border-shade-amount: 25% !default;
862
+ $btn-active-border-tint-amount: 10% !default;
863
+ // scss-docs-end btn-variables
864
+
865
+
866
+ // Forms
867
+
868
+ // scss-docs-start form-text-variables
869
+ $form-text-margin-top: .25rem !default;
870
+ $form-text-font-size: $small-font-size !default;
871
+ $form-text-font-style: null !default;
872
+ $form-text-font-weight: null !default;
873
+ $form-text-color: var(--#{$prefix}secondary-color) !default;
874
+ // scss-docs-end form-text-variables
875
+
876
+ // scss-docs-start form-label-variables
877
+ $form-label-margin-bottom: .5rem !default;
878
+ $form-label-font-size: null !default;
879
+ $form-label-font-style: null !default;
880
+ $form-label-font-weight: null !default;
881
+ $form-label-color: null !default;
882
+ // scss-docs-end form-label-variables
883
+
884
+ // scss-docs-start form-input-variables
885
+ $input-padding-y: $input-btn-padding-y !default;
886
+ $input-padding-x: $input-btn-padding-x !default;
887
+ $input-font-family: $input-btn-font-family !default;
888
+ $input-font-size: $input-btn-font-size !default;
889
+ $input-font-weight: $font-weight-base !default;
890
+ $input-line-height: $input-btn-line-height !default;
891
+
892
+ $input-padding-y-sm: $input-btn-padding-y-sm !default;
893
+ $input-padding-x-sm: $input-btn-padding-x-sm !default;
894
+ $input-font-size-sm: $input-btn-font-size-sm !default;
895
+
896
+ $input-padding-y-lg: $input-btn-padding-y-lg !default;
897
+ $input-padding-x-lg: $input-btn-padding-x-lg !default;
898
+ $input-font-size-lg: $input-btn-font-size-lg !default;
899
+
900
+ $input-bg: var(--#{$prefix}body-bg) !default;
901
+ $input-disabled-color: null !default;
902
+ $input-disabled-bg: var(--#{$prefix}secondary-bg) !default;
903
+ $input-disabled-border-color: null !default;
904
+
905
+ $input-color: var(--#{$prefix}body-color) !default;
906
+ $input-border-color: var(--#{$prefix}border-color) !default;
907
+ $input-border-width: $input-btn-border-width !default;
908
+ $input-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
909
+
910
+ $input-border-radius: var(--#{$prefix}border-radius) !default;
911
+ $input-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
912
+ $input-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
913
+
914
+ $input-focus-bg: $input-bg !default;
915
+ $input-focus-border-color: tint-color($component-active-bg, 50%) !default;
916
+ $input-focus-color: $input-color !default;
917
+ $input-focus-width: $input-btn-focus-width !default;
918
+ $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
919
+
920
+ $input-placeholder-color: var(--#{$prefix}secondary-color) !default;
921
+ $input-plaintext-color: var(--#{$prefix}body-color) !default;
922
+
923
+ $input-height-border: calc(#{$input-border-width} * 2) !default; // stylelint-disable-line function-disallowed-list
924
+
925
+ $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
926
+ $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
927
+ $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5) !default;
928
+
929
+ $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
930
+ $input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
931
+ $input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
932
+
933
+ $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
934
+
935
+ $form-color-width: 3rem !default;
936
+ // scss-docs-end form-input-variables
937
+
938
+ // scss-docs-start form-check-variables
939
+ $form-check-input-width: 1em !default;
940
+ $form-check-min-height: $font-size-base * $line-height-base !default;
941
+ $form-check-padding-start: $form-check-input-width + .5em !default;
942
+ $form-check-margin-bottom: .125rem !default;
943
+ $form-check-label-color: null !default;
944
+ $form-check-label-cursor: null !default;
945
+ $form-check-transition: null !default;
946
+
947
+ $form-check-input-active-filter: brightness(90%) !default;
948
+
949
+ $form-check-input-bg: $input-bg !default;
950
+ $form-check-input-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color) !default;
951
+ $form-check-input-border-radius: .25em !default;
952
+ $form-check-radio-border-radius: 50% !default;
953
+ $form-check-input-focus-border: $input-focus-border-color !default;
954
+ $form-check-input-focus-box-shadow: $focus-ring-box-shadow !default;
955
+
956
+ $form-check-input-checked-color: $component-active-color !default;
957
+ $form-check-input-checked-bg-color: $component-active-bg !default;
958
+ $form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
959
+ $form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>") !default;
960
+ $form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
961
+
962
+ $form-check-input-indeterminate-color: $component-active-color !default;
963
+ $form-check-input-indeterminate-bg-color: $component-active-bg !default;
964
+ $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
965
+ $form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>") !default;
966
+
967
+ $form-check-input-disabled-opacity: .5 !default;
968
+ $form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
969
+ $form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
970
+
971
+ $form-check-inline-margin-end: 1rem !default;
972
+ // scss-docs-end form-check-variables
973
+
974
+ // scss-docs-start form-switch-variables
975
+ $form-switch-color: rgba($black, .25) !default;
976
+ $form-switch-width: 2em !default;
977
+ $form-switch-padding-start: $form-switch-width + .5em !default;
978
+ $form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
979
+ $form-switch-border-radius: $form-switch-width !default;
980
+ $form-switch-transition: background-position .15s ease-in-out !default;
981
+
982
+ $form-switch-focus-color: $input-focus-border-color !default;
983
+ $form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
984
+
985
+ $form-switch-checked-color: $component-active-color !default;
986
+ $form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
987
+ $form-switch-checked-bg-position: right center !default;
988
+ // scss-docs-end form-switch-variables
989
+
990
+ // scss-docs-start input-group-variables
991
+ $input-group-addon-padding-y: $input-padding-y !default;
992
+ $input-group-addon-padding-x: $input-padding-x !default;
993
+ $input-group-addon-font-weight: $input-font-weight !default;
994
+ $input-group-addon-color: $input-color !default;
995
+ $input-group-addon-bg: var(--#{$prefix}tertiary-bg) !default;
996
+ $input-group-addon-border-color: $input-border-color !default;
997
+ // scss-docs-end input-group-variables
998
+
999
+ // scss-docs-start form-select-variables
1000
+ $form-select-padding-y: $input-padding-y !default;
1001
+ $form-select-padding-x: $input-padding-x !default;
1002
+ $form-select-font-family: $input-font-family !default;
1003
+ $form-select-font-size: $input-font-size !default;
1004
+ $form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
1005
+ $form-select-font-weight: $input-font-weight !default;
1006
+ $form-select-line-height: $input-line-height !default;
1007
+ $form-select-color: $input-color !default;
1008
+ $form-select-bg: $input-bg !default;
1009
+ $form-select-disabled-color: null !default;
1010
+ $form-select-disabled-bg: $input-disabled-bg !default;
1011
+ $form-select-disabled-border-color: $input-disabled-border-color !default;
1012
+ $form-select-bg-position: right $form-select-padding-x center !default;
1013
+ $form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
1014
+ $form-select-indicator-color: $gray-800 !default;
1015
+ $form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>") !default;
1016
+
1017
+ $form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
1018
+ $form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
1019
+ $form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
1020
+
1021
+ $form-select-border-width: $input-border-width !default;
1022
+ $form-select-border-color: $input-border-color !default;
1023
+ $form-select-border-radius: $input-border-radius !default;
1024
+ $form-select-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
1025
+
1026
+ $form-select-focus-border-color: $input-focus-border-color !default;
1027
+ $form-select-focus-width: $input-focus-width !default;
1028
+ $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
1029
+
1030
+ $form-select-padding-y-sm: $input-padding-y-sm !default;
1031
+ $form-select-padding-x-sm: $input-padding-x-sm !default;
1032
+ $form-select-font-size-sm: $input-font-size-sm !default;
1033
+ $form-select-border-radius-sm: $input-border-radius-sm !default;
1034
+
1035
+ $form-select-padding-y-lg: $input-padding-y-lg !default;
1036
+ $form-select-padding-x-lg: $input-padding-x-lg !default;
1037
+ $form-select-font-size-lg: $input-font-size-lg !default;
1038
+ $form-select-border-radius-lg: $input-border-radius-lg !default;
1039
+
1040
+ $form-select-transition: $input-transition !default;
1041
+ // scss-docs-end form-select-variables
1042
+
1043
+ // scss-docs-start form-range-variables
1044
+ $form-range-track-width: 100% !default;
1045
+ $form-range-track-height: .5rem !default;
1046
+ $form-range-track-cursor: pointer !default;
1047
+ $form-range-track-bg: var(--#{$prefix}secondary-bg) !default;
1048
+ $form-range-track-border-radius: 1rem !default;
1049
+ $form-range-track-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
1050
+
1051
+ $form-range-thumb-width: 1rem !default;
1052
+ $form-range-thumb-height: $form-range-thumb-width !default;
1053
+ $form-range-thumb-bg: $component-active-bg !default;
1054
+ $form-range-thumb-border: 0 !default;
1055
+ $form-range-thumb-border-radius: 1rem !default;
1056
+ $form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
1057
+ $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
1058
+ $form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
1059
+ $form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
1060
+ $form-range-thumb-disabled-bg: var(--#{$prefix}secondary-color) !default;
1061
+ $form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
1062
+ // scss-docs-end form-range-variables
1063
+
1064
+ // scss-docs-start form-file-variables
1065
+ $form-file-button-color: $input-color !default;
1066
+ $form-file-button-bg: var(--#{$prefix}tertiary-bg) !default;
1067
+ $form-file-button-hover-bg: var(--#{$prefix}secondary-bg) !default;
1068
+ // scss-docs-end form-file-variables
1069
+
1070
+ // scss-docs-start form-floating-variables
1071
+ $form-floating-height: add(3.5rem, $input-height-border) !default;
1072
+ $form-floating-line-height: 1.25 !default;
1073
+ $form-floating-padding-x: $input-padding-x !default;
1074
+ $form-floating-padding-y: 1rem !default;
1075
+ $form-floating-input-padding-t: 1.625rem !default;
1076
+ $form-floating-input-padding-b: .625rem !default;
1077
+ $form-floating-label-height: 1.5em !default;
1078
+ $form-floating-label-opacity: .65 !default;
1079
+ $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
1080
+ $form-floating-label-disabled-color: $gray-600 !default;
1081
+ $form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
1082
+ // scss-docs-end form-floating-variables
1083
+
1084
+ // Form validation
1085
+
1086
+ // scss-docs-start form-feedback-variables
1087
+ $form-feedback-margin-top: $form-text-margin-top !default;
1088
+ $form-feedback-font-size: $form-text-font-size !default;
1089
+ $form-feedback-font-style: $form-text-font-style !default;
1090
+ $form-feedback-valid-color: $success !default;
1091
+ $form-feedback-invalid-color: $danger !default;
1092
+
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.1z'/></svg>") !default;
1095
+ $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
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
+ // scss-docs-end form-feedback-variables
1098
+
1099
+ // scss-docs-start form-validation-colors
1100
+ $form-valid-color: $form-feedback-valid-color !default;
1101
+ $form-valid-border-color: $form-feedback-valid-color !default;
1102
+ $form-invalid-color: $form-feedback-invalid-color !default;
1103
+ $form-invalid-border-color: $form-feedback-invalid-color !default;
1104
+ // scss-docs-end form-validation-colors
1105
+
1106
+ // scss-docs-start form-validation-states
1107
+ $form-validation-states: (
1108
+ "valid": (
1109
+ "color": var(--#{$prefix}form-valid-color),
1110
+ "icon": $form-feedback-icon-valid,
1111
+ "tooltip-color": #fff,
1112
+ "tooltip-bg-color": var(--#{$prefix}success),
1113
+ "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}success-rgb), $input-btn-focus-color-opacity),
1114
+ "border-color": var(--#{$prefix}form-valid-border-color),
1115
+ ),
1116
+ "invalid": (
1117
+ "color": var(--#{$prefix}form-invalid-color),
1118
+ "icon": $form-feedback-icon-invalid,
1119
+ "tooltip-color": #fff,
1120
+ "tooltip-bg-color": var(--#{$prefix}danger),
1121
+ "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}danger-rgb), $input-btn-focus-color-opacity),
1122
+ "border-color": var(--#{$prefix}form-invalid-border-color),
1123
+ )
1124
+ ) !default;
1125
+ // scss-docs-end form-validation-states
1126
+
1127
+ // Z-index master list
820
1128
  //
821
- //##
822
-
823
- @close-font-weight: bold;
824
- @close-color: #000;
825
- @close-text-shadow: 0 1px 0 #fff;
826
-
1129
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
1130
+ // of components dependent on the z-axis and are designed to all work together.
827
1131
 
828
- //== Code
1132
+ // scss-docs-start zindex-stack
1133
+ $zindex-dropdown: 1000 !default;
1134
+ $zindex-sticky: 1020 !default;
1135
+ $zindex-fixed: 1030 !default;
1136
+ $zindex-offcanvas-backdrop: 1040 !default;
1137
+ $zindex-offcanvas: 1045 !default;
1138
+ $zindex-modal-backdrop: 1050 !default;
1139
+ $zindex-modal: 1055 !default;
1140
+ $zindex-popover: 1070 !default;
1141
+ $zindex-tooltip: 1080 !default;
1142
+ $zindex-toast: 1090 !default;
1143
+ // scss-docs-end zindex-stack
1144
+
1145
+ // scss-docs-start zindex-levels-map
1146
+ $zindex-levels: (
1147
+ n1: -1,
1148
+ 0: 0,
1149
+ 1: 1,
1150
+ 2: 2,
1151
+ 3: 3
1152
+ ) !default;
1153
+ // scss-docs-end zindex-levels-map
1154
+
1155
+
1156
+ // Navs
1157
+
1158
+ // scss-docs-start nav-variables
1159
+ $nav-link-padding-y: .5rem !default;
1160
+ $nav-link-padding-x: 1rem !default;
1161
+ $nav-link-font-size: null !default;
1162
+ $nav-link-font-weight: null !default;
1163
+ $nav-link-color: var(--#{$prefix}link-color) !default;
1164
+ $nav-link-hover-color: var(--#{$prefix}link-hover-color) !default;
1165
+ $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
1166
+ $nav-link-disabled-color: var(--#{$prefix}secondary-color) !default;
1167
+ $nav-link-focus-box-shadow: $focus-ring-box-shadow !default;
1168
+
1169
+ $nav-tabs-border-color: var(--#{$prefix}border-color) !default;
1170
+ $nav-tabs-border-width: var(--#{$prefix}border-width) !default;
1171
+ $nav-tabs-border-radius: var(--#{$prefix}border-radius) !default;
1172
+ $nav-tabs-link-hover-border-color: var(--#{$prefix}secondary-bg) var(--#{$prefix}secondary-bg) $nav-tabs-border-color !default;
1173
+ $nav-tabs-link-active-color: var(--#{$prefix}emphasis-color) !default;
1174
+ $nav-tabs-link-active-bg: var(--#{$prefix}body-bg) !default;
1175
+ $nav-tabs-link-active-border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) $nav-tabs-link-active-bg !default;
1176
+
1177
+ $nav-pills-border-radius: var(--#{$prefix}border-radius) !default;
1178
+ $nav-pills-link-active-color: $component-active-color !default;
1179
+ $nav-pills-link-active-bg: $component-active-bg !default;
1180
+
1181
+ $nav-underline-gap: 1rem !default;
1182
+ $nav-underline-border-width: .125rem !default;
1183
+ $nav-underline-link-active-color: var(--#{$prefix}emphasis-color) !default;
1184
+ // scss-docs-end nav-variables
1185
+
1186
+
1187
+ // Navbar
1188
+
1189
+ // scss-docs-start navbar-variables
1190
+ $navbar-padding-y: $spacer * .5 !default;
1191
+ $navbar-padding-x: null !default;
1192
+
1193
+ $navbar-nav-link-padding-x: .5rem !default;
1194
+
1195
+ $navbar-brand-font-size: $font-size-lg !default;
1196
+ // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
1197
+ $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
1198
+ $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
1199
+ $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5 !default;
1200
+ $navbar-brand-margin-end: 1rem !default;
1201
+
1202
+ $navbar-toggler-padding-y: .25rem !default;
1203
+ $navbar-toggler-padding-x: .75rem !default;
1204
+ $navbar-toggler-font-size: $font-size-lg !default;
1205
+ $navbar-toggler-border-radius: $btn-border-radius !default;
1206
+ $navbar-toggler-focus-width: $btn-focus-width !default;
1207
+ $navbar-toggler-transition: box-shadow .15s ease-in-out !default;
1208
+
1209
+ $navbar-light-color: rgba(var(--#{$prefix}emphasis-color-rgb), .65) !default;
1210
+ $navbar-light-hover-color: rgba(var(--#{$prefix}emphasis-color-rgb), .8) !default;
1211
+ $navbar-light-active-color: rgba(var(--#{$prefix}emphasis-color-rgb), 1) !default;
1212
+ $navbar-light-disabled-color: rgba(var(--#{$prefix}emphasis-color-rgb), .3) !default;
1213
+ $navbar-light-icon-color: rgba($body-color, .75) !default;
1214
+ $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1215
+ $navbar-light-toggler-border-color: rgba(var(--#{$prefix}emphasis-color-rgb), .15) !default;
1216
+ $navbar-light-brand-color: $navbar-light-active-color !default;
1217
+ $navbar-light-brand-hover-color: $navbar-light-active-color !default;
1218
+ // scss-docs-end navbar-variables
1219
+
1220
+ // scss-docs-start navbar-dark-variables
1221
+ $navbar-dark-color: rgba($white, .55) !default;
1222
+ $navbar-dark-hover-color: rgba($white, .75) !default;
1223
+ $navbar-dark-active-color: $white !default;
1224
+ $navbar-dark-disabled-color: rgba($white, .25) !default;
1225
+ $navbar-dark-icon-color: $navbar-dark-color !default;
1226
+ $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;
1227
+ $navbar-dark-toggler-border-color: rgba($white, .1) !default;
1228
+ $navbar-dark-brand-color: $navbar-dark-active-color !default;
1229
+ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
1230
+ // scss-docs-end navbar-dark-variables
1231
+
1232
+
1233
+ // Dropdowns
829
1234
  //
830
- //##
831
-
832
- @code-color: #c7254e;
833
- @code-bg: #f9f2f4;
834
-
835
- @kbd-color: #fff;
836
- @kbd-bg: #333;
837
-
838
- @pre-bg: #f5f5f5;
839
- @pre-color: @gray-dark;
840
- @pre-border-color: #ccc;
841
- @pre-scrollable-max-height: 340px;
1235
+ // Dropdown menu container and contents.
1236
+
1237
+ // scss-docs-start dropdown-variables
1238
+ $dropdown-min-width: 10rem !default;
1239
+ $dropdown-padding-x: 0 !default;
1240
+ $dropdown-padding-y: .5rem !default;
1241
+ $dropdown-spacer: .125rem !default;
1242
+ $dropdown-font-size: $font-size-base !default;
1243
+ $dropdown-color: var(--#{$prefix}body-color) !default;
1244
+ $dropdown-bg: var(--#{$prefix}body-bg) !default;
1245
+ $dropdown-border-color: var(--#{$prefix}border-color-translucent) !default;
1246
+ $dropdown-border-radius: var(--#{$prefix}border-radius) !default;
1247
+ $dropdown-border-width: var(--#{$prefix}border-width) !default;
1248
+ $dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default; // stylelint-disable-line function-disallowed-list
1249
+ $dropdown-divider-bg: $dropdown-border-color !default;
1250
+ $dropdown-divider-margin-y: $spacer * .5 !default;
1251
+ $dropdown-box-shadow: var(--#{$prefix}box-shadow) !default;
1252
+
1253
+ $dropdown-link-color: var(--#{$prefix}body-color) !default;
1254
+ $dropdown-link-hover-color: $dropdown-link-color !default;
1255
+ $dropdown-link-hover-bg: var(--#{$prefix}tertiary-bg) !default;
1256
+
1257
+ $dropdown-link-active-color: $component-active-color !default;
1258
+ $dropdown-link-active-bg: $component-active-bg !default;
1259
+
1260
+ $dropdown-link-disabled-color: var(--#{$prefix}tertiary-color) !default;
1261
+
1262
+ $dropdown-item-padding-y: $spacer * .25 !default;
1263
+ $dropdown-item-padding-x: $spacer !default;
1264
+
1265
+ $dropdown-header-color: $gray-600 !default;
1266
+ $dropdown-header-padding-x: $dropdown-item-padding-x !default;
1267
+ $dropdown-header-padding-y: $dropdown-padding-y !default;
1268
+ // fusv-disable
1269
+ $dropdown-header-padding: $dropdown-header-padding-y $dropdown-header-padding-x !default; // Deprecated in v5.2.0
1270
+ // fusv-enable
1271
+ // scss-docs-end dropdown-variables
1272
+
1273
+ // scss-docs-start dropdown-dark-variables
1274
+ $dropdown-dark-color: $gray-300 !default;
1275
+ $dropdown-dark-bg: $gray-800 !default;
1276
+ $dropdown-dark-border-color: $dropdown-border-color !default;
1277
+ $dropdown-dark-divider-bg: $dropdown-divider-bg !default;
1278
+ $dropdown-dark-box-shadow: null !default;
1279
+ $dropdown-dark-link-color: $dropdown-dark-color !default;
1280
+ $dropdown-dark-link-hover-color: $white !default;
1281
+ $dropdown-dark-link-hover-bg: rgba($white, .15) !default;
1282
+ $dropdown-dark-link-active-color: $dropdown-link-active-color !default;
1283
+ $dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
1284
+ $dropdown-dark-link-disabled-color: $gray-500 !default;
1285
+ $dropdown-dark-header-color: $gray-500 !default;
1286
+ // scss-docs-end dropdown-dark-variables
1287
+
1288
+
1289
+ // Pagination
1290
+
1291
+ // scss-docs-start pagination-variables
1292
+ $pagination-padding-y: .375rem !default;
1293
+ $pagination-padding-x: .75rem !default;
1294
+ $pagination-padding-y-sm: .25rem !default;
1295
+ $pagination-padding-x-sm: .5rem !default;
1296
+ $pagination-padding-y-lg: .75rem !default;
1297
+ $pagination-padding-x-lg: 1.5rem !default;
1298
+
1299
+ $pagination-font-size: $font-size-base !default;
1300
+
1301
+ $pagination-color: var(--#{$prefix}link-color) !default;
1302
+ $pagination-bg: var(--#{$prefix}body-bg) !default;
1303
+ $pagination-border-radius: var(--#{$prefix}border-radius) !default;
1304
+ $pagination-border-width: var(--#{$prefix}border-width) !default;
1305
+ $pagination-margin-start: calc(#{$pagination-border-width} * -1) !default; // stylelint-disable-line function-disallowed-list
1306
+ $pagination-border-color: var(--#{$prefix}border-color) !default;
1307
+
1308
+ $pagination-focus-color: var(--#{$prefix}link-hover-color) !default;
1309
+ $pagination-focus-bg: var(--#{$prefix}secondary-bg) !default;
1310
+ $pagination-focus-box-shadow: $focus-ring-box-shadow !default;
1311
+ $pagination-focus-outline: 0 !default;
1312
+
1313
+ $pagination-hover-color: var(--#{$prefix}link-hover-color) !default;
1314
+ $pagination-hover-bg: var(--#{$prefix}tertiary-bg) !default;
1315
+ $pagination-hover-border-color: var(--#{$prefix}border-color) !default; // Todo in v6: remove this?
1316
+
1317
+ $pagination-active-color: $component-active-color !default;
1318
+ $pagination-active-bg: $component-active-bg !default;
1319
+ $pagination-active-border-color: $component-active-bg !default;
1320
+
1321
+ $pagination-disabled-color: var(--#{$prefix}secondary-color) !default;
1322
+ $pagination-disabled-bg: var(--#{$prefix}secondary-bg) !default;
1323
+ $pagination-disabled-border-color: var(--#{$prefix}border-color) !default;
1324
+
1325
+ $pagination-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;
1326
+
1327
+ $pagination-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
1328
+ $pagination-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
1329
+ // scss-docs-end pagination-variables
1330
+
1331
+
1332
+ // Placeholders
1333
+
1334
+ // scss-docs-start placeholders
1335
+ $placeholder-opacity-max: .5 !default;
1336
+ $placeholder-opacity-min: .2 !default;
1337
+ // scss-docs-end placeholders
1338
+
1339
+ // Cards
1340
+
1341
+ // scss-docs-start card-variables
1342
+ $card-spacer-y: $spacer !default;
1343
+ $card-spacer-x: $spacer !default;
1344
+ $card-title-spacer-y: $spacer * .5 !default;
1345
+ $card-title-color: null !default;
1346
+ $card-subtitle-color: null !default;
1347
+ $card-border-width: var(--#{$prefix}border-width) !default;
1348
+ $card-border-color: var(--#{$prefix}border-color-translucent) !default;
1349
+ $card-border-radius: var(--#{$prefix}border-radius) !default;
1350
+ $card-box-shadow: null !default;
1351
+ $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
1352
+ $card-cap-padding-y: $card-spacer-y * .5 !default;
1353
+ $card-cap-padding-x: $card-spacer-x !default;
1354
+ $card-cap-bg: rgba(var(--#{$prefix}body-color-rgb), .03) !default;
1355
+ $card-cap-color: null !default;
1356
+ $card-height: null !default;
1357
+ $card-color: null !default;
1358
+ $card-bg: var(--#{$prefix}body-bg) !default;
1359
+ $card-img-overlay-padding: $spacer !default;
1360
+ $card-group-margin: $grid-gutter-width * .5 !default;
1361
+ // scss-docs-end card-variables
1362
+
1363
+ // Accordion
1364
+
1365
+ // scss-docs-start accordion-variables
1366
+ $accordion-padding-y: 1rem !default;
1367
+ $accordion-padding-x: 1.25rem !default;
1368
+ $accordion-color: var(--#{$prefix}body-color) !default;
1369
+ $accordion-bg: var(--#{$prefix}body-bg) !default;
1370
+ $accordion-border-width: var(--#{$prefix}border-width) !default;
1371
+ $accordion-border-color: var(--#{$prefix}border-color) !default;
1372
+ $accordion-border-radius: var(--#{$prefix}border-radius) !default;
1373
+ $accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
1374
+
1375
+ $accordion-body-padding-y: $accordion-padding-y !default;
1376
+ $accordion-body-padding-x: $accordion-padding-x !default;
1377
+
1378
+ $accordion-button-padding-y: $accordion-padding-y !default;
1379
+ $accordion-button-padding-x: $accordion-padding-x !default;
1380
+ $accordion-button-color: var(--#{$prefix}body-color) !default;
1381
+ $accordion-button-bg: var(--#{$prefix}accordion-bg) !default;
1382
+ $accordion-transition: $btn-transition, border-radius .15s ease !default;
1383
+ $accordion-button-active-bg: var(--#{$prefix}primary-bg-subtle) !default;
1384
+ $accordion-button-active-color: var(--#{$prefix}primary-text-emphasis) !default;
1385
+
1386
+ // fusv-disable
1387
+ $accordion-button-focus-border-color: $input-focus-border-color !default; // Deprecated in v5.3.3
1388
+ // fusv-enable
1389
+ $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
1390
+
1391
+ $accordion-icon-width: 1.25rem !default;
1392
+ $accordion-icon-color: $body-color !default;
1393
+ $accordion-icon-active-color: $primary-text-emphasis !default;
1394
+ $accordion-icon-transition: transform .2s ease-in-out !default;
1395
+ $accordion-icon-transform: rotate(-180deg) !default;
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='M2 5L8 11L14 5'/></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 5L8 11L14 5'/></svg>") !default;
1399
+ // scss-docs-end accordion-variables
1400
+
1401
+ // Tooltips
1402
+
1403
+ // scss-docs-start tooltip-variables
1404
+ $tooltip-font-size: $font-size-sm !default;
1405
+ $tooltip-max-width: 200px !default;
1406
+ $tooltip-color: var(--#{$prefix}body-bg) !default;
1407
+ $tooltip-bg: var(--#{$prefix}emphasis-color) !default;
1408
+ $tooltip-border-radius: var(--#{$prefix}border-radius) !default;
1409
+ $tooltip-opacity: .9 !default;
1410
+ $tooltip-padding-y: $spacer * .25 !default;
1411
+ $tooltip-padding-x: $spacer * .5 !default;
1412
+ $tooltip-margin: null !default; // TODO: remove this in v6
1413
+
1414
+ $tooltip-arrow-width: .8rem !default;
1415
+ $tooltip-arrow-height: .4rem !default;
1416
+ // fusv-disable
1417
+ $tooltip-arrow-color: null !default; // Deprecated in Bootstrap 5.2.0 for CSS variables
1418
+ // fusv-enable
1419
+ // scss-docs-end tooltip-variables
1420
+
1421
+ // Form tooltips must come after regular tooltips
1422
+ // scss-docs-start tooltip-feedback-variables
1423
+ $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
1424
+ $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
1425
+ $form-feedback-tooltip-font-size: $tooltip-font-size !default;
1426
+ $form-feedback-tooltip-line-height: null !default;
1427
+ $form-feedback-tooltip-opacity: $tooltip-opacity !default;
1428
+ $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
1429
+ // scss-docs-end tooltip-feedback-variables
1430
+
1431
+
1432
+ // Popovers
1433
+
1434
+ // scss-docs-start popover-variables
1435
+ $popover-font-size: $font-size-sm !default;
1436
+ $popover-bg: var(--#{$prefix}body-bg) !default;
1437
+ $popover-max-width: 276px !default;
1438
+ $popover-border-width: var(--#{$prefix}border-width) !default;
1439
+ $popover-border-color: var(--#{$prefix}border-color-translucent) !default;
1440
+ $popover-border-radius: var(--#{$prefix}border-radius-lg) !default;
1441
+ $popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default; // stylelint-disable-line function-disallowed-list
1442
+ $popover-box-shadow: var(--#{$prefix}box-shadow) !default;
1443
+
1444
+ $popover-header-font-size: $font-size-base !default;
1445
+ $popover-header-bg: var(--#{$prefix}secondary-bg) !default;
1446
+ $popover-header-color: $headings-color !default;
1447
+ $popover-header-padding-y: .5rem !default;
1448
+ $popover-header-padding-x: $spacer !default;
1449
+
1450
+ $popover-body-color: var(--#{$prefix}body-color) !default;
1451
+ $popover-body-padding-y: $spacer !default;
1452
+ $popover-body-padding-x: $spacer !default;
1453
+
1454
+ $popover-arrow-width: 1rem !default;
1455
+ $popover-arrow-height: .5rem !default;
1456
+ // scss-docs-end popover-variables
1457
+
1458
+ // fusv-disable
1459
+ // Deprecated in Bootstrap 5.2.0 for CSS variables
1460
+ $popover-arrow-color: $popover-bg !default;
1461
+ $popover-arrow-outer-color: var(--#{$prefix}border-color-translucent) !default;
1462
+ // fusv-enable
1463
+
1464
+
1465
+ // Toasts
1466
+
1467
+ // scss-docs-start toast-variables
1468
+ $toast-max-width: 350px !default;
1469
+ $toast-padding-x: .75rem !default;
1470
+ $toast-padding-y: .5rem !default;
1471
+ $toast-font-size: .875rem !default;
1472
+ $toast-color: null !default;
1473
+ $toast-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
1474
+ $toast-border-width: var(--#{$prefix}border-width) !default;
1475
+ $toast-border-color: var(--#{$prefix}border-color-translucent) !default;
1476
+ $toast-border-radius: var(--#{$prefix}border-radius) !default;
1477
+ $toast-box-shadow: var(--#{$prefix}box-shadow) !default;
1478
+ $toast-spacing: $container-padding-x !default;
1479
+
1480
+ $toast-header-color: var(--#{$prefix}secondary-color) !default;
1481
+ $toast-header-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
1482
+ $toast-header-border-color: $toast-border-color !default;
1483
+ // scss-docs-end toast-variables
1484
+
1485
+
1486
+ // Badges
1487
+
1488
+ // scss-docs-start badge-variables
1489
+ $badge-font-size: .75em !default;
1490
+ $badge-font-weight: $font-weight-bold !default;
1491
+ $badge-color: $white !default;
1492
+ $badge-padding-y: .35em !default;
1493
+ $badge-padding-x: .65em !default;
1494
+ $badge-border-radius: var(--#{$prefix}border-radius) !default;
1495
+ // scss-docs-end badge-variables
1496
+
1497
+
1498
+ // Modals
1499
+
1500
+ // scss-docs-start modal-variables
1501
+ $modal-inner-padding: $spacer !default;
1502
+
1503
+ $modal-footer-margin-between: .5rem !default;
1504
+
1505
+ $modal-dialog-margin: .5rem !default;
1506
+ $modal-dialog-margin-y-sm-up: 1.75rem !default;
1507
+
1508
+ $modal-title-line-height: $line-height-base !default;
1509
+
1510
+ $modal-content-color: null !default;
1511
+ $modal-content-bg: var(--#{$prefix}body-bg) !default;
1512
+ $modal-content-border-color: var(--#{$prefix}border-color-translucent) !default;
1513
+ $modal-content-border-width: var(--#{$prefix}border-width) !default;
1514
+ $modal-content-border-radius: var(--#{$prefix}border-radius-lg) !default;
1515
+ $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
1516
+ $modal-content-box-shadow-xs: var(--#{$prefix}box-shadow-sm) !default;
1517
+ $modal-content-box-shadow-sm-up: var(--#{$prefix}box-shadow) !default;
1518
+
1519
+ $modal-backdrop-bg: $black !default;
1520
+ $modal-backdrop-opacity: .5 !default;
1521
+
1522
+ $modal-header-border-color: var(--#{$prefix}border-color) !default;
1523
+ $modal-header-border-width: $modal-content-border-width !default;
1524
+ $modal-header-padding-y: $modal-inner-padding !default;
1525
+ $modal-header-padding-x: $modal-inner-padding !default;
1526
+ $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
1527
+
1528
+ $modal-footer-bg: null !default;
1529
+ $modal-footer-border-color: $modal-header-border-color !default;
1530
+ $modal-footer-border-width: $modal-header-border-width !default;
1531
+
1532
+ $modal-sm: 300px !default;
1533
+ $modal-md: 500px !default;
1534
+ $modal-lg: 800px !default;
1535
+ $modal-xl: 1140px !default;
1536
+
1537
+ $modal-fade-transform: translate(0, -50px) !default;
1538
+ $modal-show-transform: none !default;
1539
+ $modal-transition: transform .3s ease-out !default;
1540
+ $modal-scale-transform: scale(1.02) !default;
1541
+ // scss-docs-end modal-variables
842
1542
 
843
1543
 
844
- //== Type
1544
+ // Alerts
845
1545
  //
846
- //##
847
-
848
- //** Horizontal offset for forms and lists.
849
- @component-offset-horizontal: 180px;
850
- //** Text muted color
851
- @text-muted: @gray-light;
852
- //** Abbreviations and acronyms border color
853
- @abbr-border-color: @gray-light;
854
- //** Headings small color
855
- @headings-small-color: @gray-light;
856
- //** Blockquote small color
857
- @blockquote-small-color: @gray-light;
858
- //** Blockquote font size
859
- @blockquote-font-size: (@font-size-base * 1.25);
860
- //** Blockquote border color
861
- @blockquote-border-color: @gray-lighter;
862
- //** Page header border color
863
- @page-header-border-color: @gray-lighter;
864
- //** Width of horizontal description list titles
865
- @dl-horizontal-offset: @component-offset-horizontal;
866
- //** Point at which .dl-horizontal becomes horizontal
867
- @dl-horizontal-breakpoint: @grid-float-breakpoint;
868
- //** Horizontal line color.
869
- @hr-border: @gray-lighter;
1546
+ // Define alert colors, border radius, and padding.
1547
+
1548
+ // scss-docs-start alert-variables
1549
+ $alert-padding-y: $spacer !default;
1550
+ $alert-padding-x: $spacer !default;
1551
+ $alert-margin-bottom: 1rem !default;
1552
+ $alert-border-radius: var(--#{$prefix}border-radius) !default;
1553
+ $alert-link-font-weight: $font-weight-bold !default;
1554
+ $alert-border-width: var(--#{$prefix}border-width) !default;
1555
+ $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
1556
+ // scss-docs-end alert-variables
1557
+
1558
+ // fusv-disable
1559
+ $alert-bg-scale: -80% !default; // Deprecated in v5.2.0, to be removed in v6
1560
+ $alert-border-scale: -70% !default; // Deprecated in v5.2.0, to be removed in v6
1561
+ $alert-color-scale: 40% !default; // Deprecated in v5.2.0, to be removed in v6
1562
+ // fusv-enable
1563
+
1564
+ // Progress bars
1565
+
1566
+ // scss-docs-start progress-variables
1567
+ $progress-height: 1rem !default;
1568
+ $progress-font-size: $font-size-base * .75 !default;
1569
+ $progress-bg: var(--#{$prefix}secondary-bg) !default;
1570
+ $progress-border-radius: var(--#{$prefix}border-radius) !default;
1571
+ $progress-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
1572
+ $progress-bar-color: $white !default;
1573
+ $progress-bar-bg: $primary !default;
1574
+ $progress-bar-animation-timing: 1s linear infinite !default;
1575
+ $progress-bar-transition: width .6s ease !default;
1576
+ // scss-docs-end progress-variables
1577
+
1578
+
1579
+ // List group
1580
+
1581
+ // scss-docs-start list-group-variables
1582
+ $list-group-color: var(--#{$prefix}body-color) !default;
1583
+ $list-group-bg: var(--#{$prefix}body-bg) !default;
1584
+ $list-group-border-color: var(--#{$prefix}border-color) !default;
1585
+ $list-group-border-width: var(--#{$prefix}border-width) !default;
1586
+ $list-group-border-radius: var(--#{$prefix}border-radius) !default;
1587
+
1588
+ $list-group-item-padding-y: $spacer * .5 !default;
1589
+ $list-group-item-padding-x: $spacer !default;
1590
+ // fusv-disable
1591
+ $list-group-item-bg-scale: -80% !default; // Deprecated in v5.3.0
1592
+ $list-group-item-color-scale: 40% !default; // Deprecated in v5.3.0
1593
+ // fusv-enable
1594
+
1595
+ $list-group-hover-bg: var(--#{$prefix}tertiary-bg) !default;
1596
+ $list-group-active-color: $component-active-color !default;
1597
+ $list-group-active-bg: $component-active-bg !default;
1598
+ $list-group-active-border-color: $list-group-active-bg !default;
1599
+
1600
+ $list-group-disabled-color: var(--#{$prefix}secondary-color) !default;
1601
+ $list-group-disabled-bg: $list-group-bg !default;
1602
+
1603
+ $list-group-action-color: var(--#{$prefix}secondary-color) !default;
1604
+ $list-group-action-hover-color: var(--#{$prefix}emphasis-color) !default;
1605
+
1606
+ $list-group-action-active-color: var(--#{$prefix}body-color) !default;
1607
+ $list-group-action-active-bg: var(--#{$prefix}secondary-bg) !default;
1608
+ // scss-docs-end list-group-variables
1609
+
1610
+
1611
+ // Image thumbnails
1612
+
1613
+ // scss-docs-start thumbnail-variables
1614
+ $thumbnail-padding: .25rem !default;
1615
+ $thumbnail-bg: var(--#{$prefix}body-bg) !default;
1616
+ $thumbnail-border-width: var(--#{$prefix}border-width) !default;
1617
+ $thumbnail-border-color: var(--#{$prefix}border-color) !default;
1618
+ $thumbnail-border-radius: var(--#{$prefix}border-radius) !default;
1619
+ $thumbnail-box-shadow: var(--#{$prefix}box-shadow-sm) !default;
1620
+ // scss-docs-end thumbnail-variables
1621
+
1622
+
1623
+ // Figures
1624
+
1625
+ // scss-docs-start figure-variables
1626
+ $figure-caption-font-size: $small-font-size !default;
1627
+ $figure-caption-color: var(--#{$prefix}secondary-color) !default;
1628
+ // scss-docs-end figure-variables
1629
+
1630
+
1631
+ // Breadcrumbs
1632
+
1633
+ // scss-docs-start breadcrumb-variables
1634
+ $breadcrumb-font-size: null !default;
1635
+ $breadcrumb-padding-y: 0 !default;
1636
+ $breadcrumb-padding-x: 0 !default;
1637
+ $breadcrumb-item-padding-x: .5rem !default;
1638
+ $breadcrumb-margin-bottom: 1rem !default;
1639
+ $breadcrumb-bg: null !default;
1640
+ $breadcrumb-divider-color: var(--#{$prefix}secondary-color) !default;
1641
+ $breadcrumb-active-color: var(--#{$prefix}secondary-color) !default;
1642
+ $breadcrumb-divider: quote("/") !default;
1643
+ $breadcrumb-divider-flipped: $breadcrumb-divider !default;
1644
+ $breadcrumb-border-radius: null !default;
1645
+ // scss-docs-end breadcrumb-variables
1646
+
1647
+ // Carousel
1648
+
1649
+ // scss-docs-start carousel-variables
1650
+ $carousel-control-color: $white !default;
1651
+ $carousel-control-width: 15% !default;
1652
+ $carousel-control-opacity: .5 !default;
1653
+ $carousel-control-hover-opacity: .9 !default;
1654
+ $carousel-control-transition: opacity .15s ease !default;
1655
+
1656
+ $carousel-indicator-width: 30px !default;
1657
+ $carousel-indicator-height: 3px !default;
1658
+ $carousel-indicator-hit-area-height: 10px !default;
1659
+ $carousel-indicator-spacer: 3px !default;
1660
+ $carousel-indicator-opacity: .5 !default;
1661
+ $carousel-indicator-active-bg: $white !default;
1662
+ $carousel-indicator-active-opacity: 1 !default;
1663
+ $carousel-indicator-transition: opacity .6s ease !default;
1664
+
1665
+ $carousel-caption-width: 70% !default;
1666
+ $carousel-caption-color: $white !default;
1667
+ $carousel-caption-padding-y: 1.25rem !default;
1668
+ $carousel-caption-spacer: 1.25rem !default;
1669
+
1670
+ $carousel-control-icon-width: 2rem !default;
1671
+
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 0z'/></svg>") !default;
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-.708z'/></svg>") !default;
1674
+
1675
+ $carousel-transition-duration: .6s !default;
1676
+ $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
+ // scss-docs-end carousel-variables
1678
+
1679
+ // 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;
1683
+ // scss-docs-end carousel-dark-variables
1684
+
1685
+
1686
+ // Spinners
1687
+
1688
+ // scss-docs-start spinner-variables
1689
+ $spinner-width: 2rem !default;
1690
+ $spinner-height: $spinner-width !default;
1691
+ $spinner-vertical-align: -.125em !default;
1692
+ $spinner-border-width: .25em !default;
1693
+ $spinner-animation-speed: .75s !default;
1694
+
1695
+ $spinner-width-sm: 1rem !default;
1696
+ $spinner-height-sm: $spinner-width-sm !default;
1697
+ $spinner-border-width-sm: .2em !default;
1698
+ // scss-docs-end spinner-variables
1699
+
1700
+
1701
+ // Close
1702
+
1703
+ // scss-docs-start close-variables
1704
+ $btn-close-width: 1em !default;
1705
+ $btn-close-height: $btn-close-width !default;
1706
+ $btn-close-padding-x: .25em !default;
1707
+ $btn-close-padding-y: $btn-close-padding-x !default;
1708
+ $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.414z'/></svg>") !default;
1710
+ $btn-close-focus-shadow: $focus-ring-box-shadow !default;
1711
+ $btn-close-opacity: .5 !default;
1712
+ $btn-close-hover-opacity: .75 !default;
1713
+ $btn-close-focus-opacity: 1 !default;
1714
+ $btn-close-disabled-opacity: .25 !default;
1715
+ $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
1716
+ // scss-docs-end close-variables
1717
+
1718
+
1719
+ // Offcanvas
1720
+
1721
+ // scss-docs-start offcanvas-variables
1722
+ $offcanvas-padding-y: $modal-inner-padding !default;
1723
+ $offcanvas-padding-x: $modal-inner-padding !default;
1724
+ $offcanvas-horizontal-width: 400px !default;
1725
+ $offcanvas-vertical-height: 30vh !default;
1726
+ $offcanvas-transition-duration: .3s !default;
1727
+ $offcanvas-border-color: $modal-content-border-color !default;
1728
+ $offcanvas-border-width: $modal-content-border-width !default;
1729
+ $offcanvas-title-line-height: $modal-title-line-height !default;
1730
+ $offcanvas-bg-color: var(--#{$prefix}body-bg) !default;
1731
+ $offcanvas-color: var(--#{$prefix}body-color) !default;
1732
+ $offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
1733
+ $offcanvas-backdrop-bg: $modal-backdrop-bg !default;
1734
+ $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
1735
+ // scss-docs-end offcanvas-variables
1736
+
1737
+ // Code
1738
+
1739
+ $code-font-size: $small-font-size !default;
1740
+ $code-color: $pink !default;
1741
+
1742
+ $kbd-padding-y: .1875rem !default;
1743
+ $kbd-padding-x: .375rem !default;
1744
+ $kbd-font-size: $code-font-size !default;
1745
+ $kbd-color: var(--#{$prefix}body-bg) !default;
1746
+ $kbd-bg: var(--#{$prefix}body-color) !default;
1747
+ $nested-kbd-font-weight: null !default; // Deprecated in v5.2.0, removing in v6
1748
+
1749
+ $pre-color: null !default;
1750
+
1751
+ @import "variables-dark"; // TODO: can be removed safely in v6, only here to avoid breaking changes in v5.3