@helsenorge/designsystem-react 13.0.0-workspaces-beta.1 → 13.0.0-workspaces-beta.3

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 (58) hide show
  1. package/lib/CHANGELOG.md +4 -0
  2. package/lib/FormFieldTag.js.map +1 -1
  3. package/lib/Table.js +3 -3
  4. package/lib/Table.js.map +1 -1
  5. package/lib/TableBody.js +2 -2
  6. package/lib/TableBody.js.map +1 -1
  7. package/lib/TableCell.js +2 -2
  8. package/lib/TableCell.js.map +1 -1
  9. package/lib/TableExpandedRow.js +4 -4
  10. package/lib/TableExpandedRow.js.map +1 -1
  11. package/lib/TableExpanderCell.js +2 -2
  12. package/lib/TableExpanderCell.js.map +1 -1
  13. package/lib/TableHead.js +6 -6
  14. package/lib/TableHead.js.map +1 -1
  15. package/lib/TableHeadCell.js +5 -5
  16. package/lib/TableHeadCell.js.map +1 -1
  17. package/lib/TableRow.js +5 -5
  18. package/lib/TableRow.js.map +1 -1
  19. package/lib/components/FormFieldTag/FormFieldTag.d.ts +1 -1
  20. package/lib/components/Toast/styles.module.scss.d.ts +15 -0
  21. package/package.json +27 -9
  22. package/scss/_body.scss +11 -0
  23. package/scss/_breakpoints.scss +29 -0
  24. package/scss/_figma-tokens.scss +68 -0
  25. package/scss/_font-mixins.scss +262 -0
  26. package/scss/_font-settings.scss +8 -0
  27. package/scss/_fonts.scss +155 -0
  28. package/scss/_grid.scss +6 -0
  29. package/scss/_icon.scss +8 -0
  30. package/scss/_input.scss +139 -0
  31. package/scss/_palette.scss +146 -0
  32. package/scss/_print.scss +219 -0
  33. package/scss/_reset.scss +13 -0
  34. package/scss/_screen-reader.scss +63 -0
  35. package/scss/_spacers.scss +42 -0
  36. package/scss/bootstrap/LICENSE +22 -0
  37. package/scss/bootstrap/scss/_functions.scss +210 -0
  38. package/scss/bootstrap/scss/_grid.scss +73 -0
  39. package/scss/bootstrap/scss/_variables.scss +990 -0
  40. package/scss/bootstrap/scss/bootstrap-grid.scss +30 -0
  41. package/scss/bootstrap/scss/mixins/_breakpoints.scss +131 -0
  42. package/scss/bootstrap/scss/mixins/_deprecate.scss +11 -0
  43. package/scss/bootstrap/scss/mixins/_grid-framework.scss +89 -0
  44. package/scss/bootstrap/scss/mixins/_grid.scss +76 -0
  45. package/scss/bootstrap/scss/utilities/_display.scss +30 -0
  46. package/scss/bootstrap/scss/utilities/_flex.scss +120 -0
  47. package/scss/bootstrap/scss/utilities/_spacing.scss +80 -0
  48. package/scss/bootstrap/scss/vendor/_rfs.scss +233 -0
  49. package/scss/helsenorge.scss +10 -0
  50. package/scss/layout.module.scss +14 -0
  51. package/scss/layout.module.scss.d.ts +9 -0
  52. package/scss/supernova/index.css +4 -0
  53. package/scss/supernova/styles/colors.css +258 -0
  54. package/scss/supernova/styles/spacers.css +24 -0
  55. package/scss/supernova/styles/typography.css +110 -0
  56. package/scss/typography.module.scss +182 -0
  57. package/scss/typography.module.scss.d.ts +38 -0
  58. package/scss/typography.stories.tsx +203 -0
@@ -0,0 +1,990 @@
1
+ @use 'sass:map';
2
+ @use 'sass:color';
3
+ @use 'sass:list';
4
+ // stylelint-disable scss/comment-no-empty, scss/no-global-function-names
5
+
6
+ // Variables
7
+ //
8
+ // Variables should follow the `$component-state-property-size` formula for
9
+ // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
10
+
11
+ // Color system
12
+
13
+ $white: #fff !default;
14
+ $gray-100: #f8f9fa !default;
15
+ $gray-200: #e9ecef !default;
16
+ $gray-300: #dee2e6 !default;
17
+ $gray-400: #ced4da !default;
18
+ $gray-500: #adb5bd !default;
19
+ $gray-600: #6c757d !default;
20
+ $gray-700: #495057 !default;
21
+ $gray-800: #343a40 !default;
22
+ $gray-900: #212529 !default;
23
+ $black: #000 !default;
24
+ $grays: () !default;
25
+ $grays: map.merge(
26
+ (
27
+ '100': $gray-100,
28
+ '200': $gray-200,
29
+ '300': $gray-300,
30
+ '400': $gray-400,
31
+ '500': $gray-500,
32
+ '600': $gray-600,
33
+ '700': $gray-700,
34
+ '800': $gray-800,
35
+ '900': $gray-900,
36
+ ),
37
+ $grays
38
+ );
39
+ $blue: #007bff !default;
40
+ $indigo: #6610f2 !default;
41
+ $purple: #6f42c1 !default;
42
+ $pink: #e83e8c !default;
43
+ $red: #dc3545 !default;
44
+ $orange: #fd7e14 !default;
45
+ $yellow: #ffc107 !default;
46
+ $green: #28a745 !default;
47
+ $teal: #20c997 !default;
48
+ $cyan: #17a2b8 !default;
49
+ $colors: () !default;
50
+ $colors: map.merge(
51
+ (
52
+ 'blue': $blue,
53
+ 'indigo': $indigo,
54
+ 'purple': $purple,
55
+ 'pink': $pink,
56
+ 'red': $red,
57
+ 'orange': $orange,
58
+ 'yellow': $yellow,
59
+ 'green': $green,
60
+ 'teal': $teal,
61
+ 'cyan': $cyan,
62
+ 'white': $white,
63
+ 'gray': $gray-600,
64
+ 'gray-dark': $gray-800,
65
+ ),
66
+ $colors
67
+ );
68
+ $primary: $blue !default;
69
+ $secondary: $gray-600 !default;
70
+ $success: $green !default;
71
+ $info: $cyan !default;
72
+ $warning: $yellow !default;
73
+ $danger: $red !default;
74
+ $light: $gray-100 !default;
75
+ $dark: $gray-800 !default;
76
+ $theme-colors: () !default;
77
+ $theme-colors: map.merge(
78
+ (
79
+ 'primary': $primary,
80
+ 'secondary': $secondary,
81
+ 'success': $success,
82
+ 'info': $info,
83
+ 'warning': $warning,
84
+ 'danger': $danger,
85
+ 'light': $light,
86
+ 'dark': $dark,
87
+ ),
88
+ $theme-colors
89
+ );
90
+
91
+ // Set a specific jump point for requesting color jumps
92
+ $theme-color-interval: 8% !default;
93
+
94
+ // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
95
+ $yiq-contrasted-threshold: 150 !default;
96
+
97
+ // Customize the light and dark text colors for use in our YIQ color contrast function.
98
+ $yiq-text-dark: $gray-900 !default;
99
+ $yiq-text-light: $white !default;
100
+
101
+ // Characters which are escaped by the escape-svg function
102
+ $escaped-characters: (('<', '%3c'), ('>', '%3e'), ('#', '%23'), ('(', '%28'), (')', '%29')) !default;
103
+
104
+ // Options
105
+ //
106
+ // Quickly modify global styling by enabling or disabling optional features.
107
+
108
+ $enable-caret: true !default;
109
+ $enable-rounded: true !default;
110
+ $enable-shadows: false !default;
111
+ $enable-gradients: false !default;
112
+ $enable-transitions: true !default;
113
+ $enable-prefers-reduced-motion-media-query: true !default;
114
+ $enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
115
+ $enable-grid-classes: true !default;
116
+ $enable-pointer-cursor-for-buttons: true !default;
117
+ $enable-print-styles: true !default;
118
+ $enable-responsive-font-sizes: false !default;
119
+ $enable-validation-icons: true !default;
120
+ $enable-deprecation-messages: true !default;
121
+
122
+ // Spacing
123
+ //
124
+ // Control the default styling of most Bootstrap elements by modifying these
125
+ // variables. Mostly focused on spacing.
126
+ // You can add more entries to the $spacers map, should you need more variation.
127
+
128
+ $spacer: 1rem !default;
129
+ $spacers: () !default;
130
+ $spacers: map.merge(
131
+ (
132
+ 0: 0,
133
+ 1: (
134
+ $spacer * 0.25,
135
+ ),
136
+ 2: (
137
+ $spacer * 0.5,
138
+ ),
139
+ 3: $spacer,
140
+ 4: (
141
+ $spacer * 1.5,
142
+ ),
143
+ 5: (
144
+ $spacer * 3,
145
+ ),
146
+ ),
147
+ $spacers
148
+ );
149
+
150
+ // This variable affects the `.h-*` and `.w-*` classes.
151
+ $sizes: () !default;
152
+ $sizes: map.merge(
153
+ (
154
+ 25: 25%,
155
+ 50: 50%,
156
+ 75: 75%,
157
+ 100: 100%,
158
+ auto: auto,
159
+ ),
160
+ $sizes
161
+ );
162
+
163
+ // Body
164
+ //
165
+ // Settings for the `<body>` element.
166
+
167
+ $body-bg: $white !default;
168
+ $body-color: $gray-900 !default;
169
+
170
+ // Links
171
+ //
172
+ // Style anchor elements.
173
+
174
+ $link-color: theme-color('primary') !default;
175
+ $link-decoration: none !default;
176
+ $link-hover-color: color.adjust($link-color, $lightness: -15%) !default;
177
+ $link-hover-decoration: underline !default;
178
+
179
+ // Darken percentage for links with `.text-*` class (e.g. `.text-success`)
180
+ $emphasized-link-hover-darken-percentage: 15% !default;
181
+
182
+ // Paragraphs
183
+ //
184
+ // Style p element.
185
+
186
+ $paragraph-margin-bottom: 1rem !default;
187
+
188
+ // Grid breakpoints
189
+ //
190
+ // Define the minimum dimensions at which your layout will change,
191
+ // adapting to different screen sizes, for use in media queries.
192
+
193
+ $grid-breakpoints: (
194
+ xs: 0,
195
+ sm: 576px,
196
+ md: 768px,
197
+ lg: 992px,
198
+ xl: 1200px,
199
+ ) !default;
200
+
201
+ @include _assert-ascending($grid-breakpoints, '$grid-breakpoints');
202
+ @include _assert-starts-at-zero($grid-breakpoints, '$grid-breakpoints');
203
+
204
+ // Grid containers
205
+ //
206
+ // Define the maximum width of `.container` for different screen sizes.
207
+
208
+ $container-max-widths: (
209
+ sm: 540px,
210
+ md: 720px,
211
+ lg: 960px,
212
+ xl: 1140px,
213
+ ) !default;
214
+
215
+ @include _assert-ascending($container-max-widths, '$container-max-widths');
216
+
217
+ // Grid columns
218
+ //
219
+ // Set the number of columns and specify the width of the gutters.
220
+
221
+ $grid-columns: 12 !default;
222
+ $grid-gutter-width: 30px !default;
223
+ $grid-row-columns: 6 !default;
224
+
225
+ // Components
226
+ //
227
+ // Define common padding and border radius sizes and more.
228
+
229
+ $line-height-lg: 1.5 !default;
230
+ $line-height-sm: 1.5 !default;
231
+ $border-width: 1px !default;
232
+ $border-color: $gray-300 !default;
233
+ $border-radius: 0.25rem !default;
234
+ $border-radius-lg: 0.3rem !default;
235
+ $border-radius-sm: 0.2rem !default;
236
+ $rounded-pill: 50rem !default;
237
+ $box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075) !default;
238
+ $box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
239
+ $box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
240
+ $component-active-color: $white !default;
241
+ $component-active-bg: theme-color('primary') !default;
242
+ $caret-width: 0.3em !default;
243
+ $caret-vertical-align: $caret-width * 0.85 !default;
244
+ $caret-spacing: $caret-width * 0.85 !default;
245
+ $transition-base: all 0.2s ease-in-out !default;
246
+ $transition-fade: opacity 0.15s linear !default;
247
+ $transition-collapse: height 0.35s ease !default;
248
+ $transition-collapse-width: width 0.35s ease !default;
249
+ $embed-responsive-aspect-ratios: () !default;
250
+ $embed-responsive-aspect-ratios: list.join(((21 9), (16 9), (4 3), (1 1)), $embed-responsive-aspect-ratios);
251
+
252
+ // Typography
253
+ //
254
+ // Font, line-height, and color for body text, headings, and more.
255
+
256
+ // stylelint-disable value-keyword-case
257
+ $font-family-sans-serif:
258
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif,
259
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !default;
260
+ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !default;
261
+ $font-family-base: $font-family-sans-serif !default;
262
+ // stylelint-enable value-keyword-case
263
+
264
+ $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
265
+ $font-size-lg: $font-size-base * 1.25 !default;
266
+ $font-size-sm: $font-size-base * 0.875 !default;
267
+ $font-weight-lighter: lighter !default;
268
+ $font-weight-light: 300 !default;
269
+ $font-weight-normal: 400 !default;
270
+ $font-weight-bold: 700 !default;
271
+ $font-weight-bolder: bolder !default;
272
+ $font-weight-base: $font-weight-normal !default;
273
+ $line-height-base: 1.5 !default;
274
+ $h1-font-size: $font-size-base * 2.5 !default;
275
+ $h2-font-size: $font-size-base * 2 !default;
276
+ $h3-font-size: $font-size-base * 1.75 !default;
277
+ $h4-font-size: $font-size-base * 1.5 !default;
278
+ $h5-font-size: $font-size-base * 1.25 !default;
279
+ $h6-font-size: $font-size-base !default;
280
+ $headings-margin-bottom: $spacer * 0.5 !default;
281
+ $headings-font-family: null !default;
282
+ $headings-font-weight: 500 !default;
283
+ $headings-line-height: 1.2 !default;
284
+ $headings-color: null !default;
285
+ $display1-size: 6rem !default;
286
+ $display2-size: 5.5rem !default;
287
+ $display3-size: 4.5rem !default;
288
+ $display4-size: 3.5rem !default;
289
+ $display1-weight: 300 !default;
290
+ $display2-weight: 300 !default;
291
+ $display3-weight: 300 !default;
292
+ $display4-weight: 300 !default;
293
+ $display-line-height: $headings-line-height !default;
294
+ $lead-font-size: $font-size-base * 1.25 !default;
295
+ $lead-font-weight: 300 !default;
296
+ $small-font-size: 0.875em !default;
297
+ $text-muted: $gray-600 !default;
298
+ $blockquote-small-color: $gray-600 !default;
299
+ $blockquote-small-font-size: $small-font-size !default;
300
+ $blockquote-font-size: $font-size-base * 1.25 !default;
301
+ $hr-border-color: rgba($black, 0.1) !default;
302
+ $hr-border-width: $border-width !default;
303
+ $mark-padding: 0.2em !default;
304
+ $dt-font-weight: $font-weight-bold !default;
305
+ $kbd-box-shadow: inset 0 -0.1rem 0 rgba($black, 0.25) !default;
306
+ $nested-kbd-font-weight: $font-weight-bold !default;
307
+ $list-inline-padding: 0.5rem !default;
308
+ $mark-bg: #fcf8e3 !default;
309
+ $hr-margin-y: $spacer !default;
310
+
311
+ // Tables
312
+ //
313
+ // Customizes the `.table` component with basic values, each used across all table variations.
314
+
315
+ $table-cell-padding: 0.75rem !default;
316
+ $table-cell-padding-sm: 0.3rem !default;
317
+ $table-color: $body-color !default;
318
+ $table-bg: null !default;
319
+ $table-accent-bg: rgba($black, 0.05) !default;
320
+ $table-hover-color: $table-color !default;
321
+ $table-hover-bg: rgba($black, 0.075) !default;
322
+ $table-active-bg: $table-hover-bg !default;
323
+ $table-border-width: $border-width !default;
324
+ $table-border-color: $border-color !default;
325
+ $table-head-bg: $gray-200 !default;
326
+ $table-head-color: $gray-700 !default;
327
+ $table-th-font-weight: null !default;
328
+ $table-dark-color: $white !default;
329
+ $table-dark-bg: $gray-800 !default;
330
+ $table-dark-accent-bg: rgba($white, 0.05) !default;
331
+ $table-dark-hover-color: $table-dark-color !default;
332
+ $table-dark-hover-bg: rgba($white, 0.075) !default;
333
+ $table-dark-border-color: color.adjust($table-dark-bg, $lightness: 7.5%) !default;
334
+ $table-striped-order: odd !default;
335
+ $table-caption-color: $text-muted !default;
336
+ $table-bg-level: -9 !default;
337
+ $table-border-level: -6 !default;
338
+
339
+ // Buttons + Forms
340
+ //
341
+ // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
342
+
343
+ $input-btn-padding-y: 0.375rem !default;
344
+ $input-btn-padding-x: 0.75rem !default;
345
+ $input-btn-font-family: null !default;
346
+ $input-btn-font-size: $font-size-base !default;
347
+ $input-btn-line-height: $line-height-base !default;
348
+ $input-btn-focus-width: 0.2rem !default;
349
+ $input-btn-focus-color: rgba($component-active-bg, 0.25) !default;
350
+ $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
351
+ $input-btn-padding-y-sm: 0.25rem !default;
352
+ $input-btn-padding-x-sm: 0.5rem !default;
353
+ $input-btn-font-size-sm: $font-size-sm !default;
354
+ $input-btn-line-height-sm: $line-height-sm !default;
355
+ $input-btn-padding-y-lg: 0.5rem !default;
356
+ $input-btn-padding-x-lg: 1rem !default;
357
+ $input-btn-font-size-lg: $font-size-lg !default;
358
+ $input-btn-line-height-lg: $line-height-lg !default;
359
+ $input-btn-border-width: $border-width !default;
360
+
361
+ // Buttons
362
+ //
363
+ // For each of Bootstrap's buttons, define text, background, and border color.
364
+
365
+ $btn-padding-y: $input-btn-padding-y !default;
366
+ $btn-padding-x: $input-btn-padding-x !default;
367
+ $btn-font-family: $input-btn-font-family !default;
368
+ $btn-font-size: $input-btn-font-size !default;
369
+ $btn-line-height: $input-btn-line-height !default;
370
+ $btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
371
+
372
+ $btn-padding-y-sm: $input-btn-padding-y-sm !default;
373
+ $btn-padding-x-sm: $input-btn-padding-x-sm !default;
374
+ $btn-font-size-sm: $input-btn-font-size-sm !default;
375
+ $btn-line-height-sm: $input-btn-line-height-sm !default;
376
+ $btn-padding-y-lg: $input-btn-padding-y-lg !default;
377
+ $btn-padding-x-lg: $input-btn-padding-x-lg !default;
378
+ $btn-font-size-lg: $input-btn-font-size-lg !default;
379
+ $btn-line-height-lg: $input-btn-line-height-lg !default;
380
+ $btn-border-width: $input-btn-border-width !default;
381
+ $btn-font-weight: $font-weight-normal !default;
382
+ $btn-box-shadow:
383
+ inset 0 1px 0 rgba($white, 0.15),
384
+ 0 1px 1px rgba($black, 0.075) !default;
385
+ $btn-focus-width: $input-btn-focus-width !default;
386
+ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
387
+ $btn-disabled-opacity: 0.65 !default;
388
+ $btn-active-box-shadow: inset 0 3px 5px rgba($black, 0.125) !default;
389
+ $btn-link-disabled-color: $gray-600 !default;
390
+ $btn-block-spacing-y: 0.5rem !default;
391
+
392
+ // Allows for customizing button radius independently from global border radius
393
+ $btn-border-radius: $border-radius !default;
394
+ $btn-border-radius-lg: $border-radius-lg !default;
395
+ $btn-border-radius-sm: $border-radius-sm !default;
396
+ $btn-transition:
397
+ color 0.15s ease-in-out,
398
+ background-color 0.15s ease-in-out,
399
+ border-color 0.15s ease-in-out,
400
+ box-shadow 0.15s ease-in-out !default;
401
+
402
+ // Forms
403
+
404
+ $label-margin-bottom: 0.5rem !default;
405
+ $input-padding-y: $input-btn-padding-y !default;
406
+ $input-padding-x: $input-btn-padding-x !default;
407
+ $input-font-family: $input-btn-font-family !default;
408
+ $input-font-size: $input-btn-font-size !default;
409
+ $input-font-weight: $font-weight-base !default;
410
+ $input-line-height: $input-btn-line-height !default;
411
+ $input-padding-y-sm: $input-btn-padding-y-sm !default;
412
+ $input-padding-x-sm: $input-btn-padding-x-sm !default;
413
+ $input-font-size-sm: $input-btn-font-size-sm !default;
414
+ $input-line-height-sm: $input-btn-line-height-sm !default;
415
+ $input-padding-y-lg: $input-btn-padding-y-lg !default;
416
+ $input-padding-x-lg: $input-btn-padding-x-lg !default;
417
+ $input-font-size-lg: $input-btn-font-size-lg !default;
418
+ $input-line-height-lg: $input-btn-line-height-lg !default;
419
+ $input-bg: $white !default;
420
+ $input-disabled-bg: $gray-200 !default;
421
+ $input-color: $gray-700 !default;
422
+ $input-border-color: $gray-400 !default;
423
+ $input-border-width: $input-btn-border-width !default;
424
+ $input-box-shadow: inset 0 1px 1px rgba($black, 0.075) !default;
425
+ $input-border-radius: $border-radius !default;
426
+ $input-border-radius-lg: $border-radius-lg !default;
427
+ $input-border-radius-sm: $border-radius-sm !default;
428
+ $input-focus-bg: $input-bg !default;
429
+ $input-focus-border-color: color.adjust($component-active-bg, $lightness: 25%) !default;
430
+ $input-focus-color: $input-color !default;
431
+ $input-focus-width: $input-btn-focus-width !default;
432
+ $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
433
+ $input-placeholder-color: $gray-600 !default;
434
+ $input-plaintext-color: $body-color !default;
435
+ $input-height-border: $input-border-width * 2 !default;
436
+ $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
437
+ $input-height-inner-half: add($input-line-height * 0.5em, $input-padding-y) !default;
438
+ $input-height-inner-quarter: add($input-line-height * 0.25em, $input-padding-y * 0.5) !default;
439
+ $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
440
+ $input-height-sm: add($input-line-height-sm * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
441
+ $input-height-lg: add($input-line-height-lg * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
442
+ $input-transition:
443
+ border-color 0.15s ease-in-out,
444
+ box-shadow 0.15s ease-in-out !default;
445
+ $form-text-margin-top: 0.25rem !default;
446
+ $form-check-input-gutter: 1.25rem !default;
447
+ $form-check-input-margin-y: 0.3rem !default;
448
+ $form-check-input-margin-x: 0.25rem !default;
449
+ $form-check-inline-margin-x: 0.75rem !default;
450
+ $form-check-inline-input-margin-x: 0.3125rem !default;
451
+ $form-grid-gutter-width: 10px !default;
452
+ $form-group-margin-bottom: 1rem !default;
453
+ $input-group-addon-color: $input-color !default;
454
+ $input-group-addon-bg: $gray-200 !default;
455
+ $input-group-addon-border-color: $input-border-color !default;
456
+ $custom-forms-transition:
457
+ background-color 0.15s ease-in-out,
458
+ border-color 0.15s ease-in-out,
459
+ box-shadow 0.15s ease-in-out !default;
460
+ $custom-control-gutter: 0.5rem !default;
461
+ $custom-control-spacer-x: 1rem !default;
462
+ $custom-control-cursor: null !default;
463
+ $custom-control-indicator-size: 1rem !default;
464
+ $custom-control-indicator-bg: $input-bg !default;
465
+ $custom-control-indicator-bg-size: 50% 50% !default;
466
+ $custom-control-indicator-box-shadow: $input-box-shadow !default;
467
+ $custom-control-indicator-border-color: $gray-500 !default;
468
+ $custom-control-indicator-border-width: $input-border-width !default;
469
+ $custom-control-label-color: null !default;
470
+ $custom-control-indicator-disabled-bg: $input-disabled-bg !default;
471
+ $custom-control-label-disabled-color: $gray-600 !default;
472
+ $custom-control-indicator-checked-color: $component-active-color !default;
473
+ $custom-control-indicator-checked-bg: $component-active-bg !default;
474
+ $custom-control-indicator-checked-disabled-bg: rgb(theme-color('primary'), 0.5) !default;
475
+ $custom-control-indicator-checked-box-shadow: null !default;
476
+ $custom-control-indicator-checked-border-color: $custom-control-indicator-checked-bg !default;
477
+ $custom-control-indicator-focus-box-shadow: $input-focus-box-shadow !default;
478
+ $custom-control-indicator-focus-border-color: $input-focus-border-color !default;
479
+ $custom-control-indicator-active-color: $component-active-color !default;
480
+ $custom-control-indicator-active-bg: color.adjust($component-active-bg, $lightness: 35%) !default;
481
+ $custom-control-indicator-active-box-shadow: null !default;
482
+ $custom-control-indicator-active-border-color: $custom-control-indicator-active-bg !default;
483
+ $custom-checkbox-indicator-border-radius: $border-radius !default;
484
+ $custom-checkbox-indicator-icon-checked: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/></svg>") !default;
485
+ $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
486
+ $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
487
+ $custom-checkbox-indicator-icon-indeterminate: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'><path stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/></svg>") !default;
488
+ $custom-checkbox-indicator-indeterminate-box-shadow: null !default;
489
+ $custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicator-indeterminate-bg !default;
490
+ $custom-radio-indicator-border-radius: 50% !default;
491
+ $custom-radio-indicator-icon-checked: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'><circle r='3' fill='#{$custom-control-indicator-checked-color}'/></svg>") !default;
492
+ $custom-switch-width: $custom-control-indicator-size * 1.75 !default;
493
+ $custom-switch-indicator-border-radius: $custom-control-indicator-size * 0.5 !default;
494
+ $custom-switch-indicator-size: subtract($custom-control-indicator-size, $custom-control-indicator-border-width * 4) !default;
495
+ $custom-select-padding-y: $input-padding-y !default;
496
+ $custom-select-padding-x: $input-padding-x !default;
497
+ $custom-select-font-family: $input-font-family !default;
498
+ $custom-select-font-size: $input-font-size !default;
499
+ $custom-select-height: $input-height !default;
500
+ $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
501
+ $custom-select-font-weight: $input-font-weight !default;
502
+ $custom-select-line-height: $input-line-height !default;
503
+ $custom-select-color: $input-color !default;
504
+ $custom-select-disabled-color: $gray-600 !default;
505
+ $custom-select-bg: $input-bg !default;
506
+ $custom-select-disabled-bg: $gray-200 !default;
507
+ $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
508
+ $custom-select-indicator-color: $gray-800 !default;
509
+ $custom-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'><path fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>") !default;
510
+ $custom-select-background: escape-svg($custom-select-indicator) right $custom-select-padding-x center / $custom-select-bg-size no-repeat !default; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
511
+
512
+ $custom-select-feedback-icon-padding-right: add(
513
+ 1em * 0.75,
514
+ (2 * $custom-select-padding-y * 0.75) + $custom-select-padding-x + $custom-select-indicator-padding
515
+ ) !default;
516
+ $custom-select-feedback-icon-position: center right ($custom-select-padding-x + $custom-select-indicator-padding) !default;
517
+ $custom-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
518
+ $custom-select-border-width: $input-border-width !default;
519
+ $custom-select-border-color: $input-border-color !default;
520
+ $custom-select-border-radius: $border-radius !default;
521
+ $custom-select-box-shadow: inset 0 1px 2px rgba($black, 0.075) !default;
522
+ $custom-select-focus-border-color: $input-focus-border-color !default;
523
+ $custom-select-focus-width: $input-focus-width !default;
524
+ $custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width $input-btn-focus-color !default;
525
+ $custom-select-padding-y-sm: $input-padding-y-sm !default;
526
+ $custom-select-padding-x-sm: $input-padding-x-sm !default;
527
+ $custom-select-font-size-sm: $input-font-size-sm !default;
528
+ $custom-select-height-sm: $input-height-sm !default;
529
+ $custom-select-padding-y-lg: $input-padding-y-lg !default;
530
+ $custom-select-padding-x-lg: $input-padding-x-lg !default;
531
+ $custom-select-font-size-lg: $input-font-size-lg !default;
532
+ $custom-select-height-lg: $input-height-lg !default;
533
+ $custom-range-track-width: 100% !default;
534
+ $custom-range-track-height: 0.5rem !default;
535
+ $custom-range-track-cursor: pointer !default;
536
+ $custom-range-track-bg: $gray-300 !default;
537
+ $custom-range-track-border-radius: 1rem !default;
538
+ $custom-range-track-box-shadow: inset 0 0.25rem 0.25rem rgba($black, 0.1) !default;
539
+ $custom-range-thumb-width: 1rem !default;
540
+ $custom-range-thumb-height: $custom-range-thumb-width !default;
541
+ $custom-range-thumb-bg: $component-active-bg !default;
542
+ $custom-range-thumb-border: 0 !default;
543
+ $custom-range-thumb-border-radius: 1rem !default;
544
+ $custom-range-thumb-box-shadow: 0 0.1rem 0.25rem rgba($black, 0.1) !default;
545
+ $custom-range-thumb-focus-box-shadow:
546
+ 0 0 0 1px $body-bg,
547
+ $input-focus-box-shadow !default;
548
+ $custom-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
549
+ $custom-range-thumb-active-bg: color.adjust($component-active-bg, $lightness: 35%) !default;
550
+ $custom-range-thumb-disabled-bg: $gray-500 !default;
551
+ $custom-file-height: $input-height !default;
552
+ $custom-file-height-inner: $input-height-inner !default;
553
+ $custom-file-focus-border-color: $input-focus-border-color !default;
554
+ $custom-file-focus-box-shadow: $input-focus-box-shadow !default;
555
+ $custom-file-disabled-bg: $input-disabled-bg !default;
556
+ $custom-file-padding-y: $input-padding-y !default;
557
+ $custom-file-padding-x: $input-padding-x !default;
558
+ $custom-file-line-height: $input-line-height !default;
559
+ $custom-file-font-family: $input-font-family !default;
560
+ $custom-file-font-weight: $input-font-weight !default;
561
+ $custom-file-color: $input-color !default;
562
+ $custom-file-bg: $input-bg !default;
563
+ $custom-file-border-width: $input-border-width !default;
564
+ $custom-file-border-color: $input-border-color !default;
565
+ $custom-file-border-radius: $input-border-radius !default;
566
+ $custom-file-box-shadow: $input-box-shadow !default;
567
+ $custom-file-button-color: $custom-file-color !default;
568
+ $custom-file-button-bg: $input-group-addon-bg !default;
569
+ $custom-file-text: (
570
+ en: 'Browse',
571
+ ) !default;
572
+
573
+ // Form validation
574
+
575
+ $form-feedback-margin-top: $form-text-margin-top !default;
576
+ $form-feedback-font-size: $small-font-size !default;
577
+ $form-feedback-valid-color: theme-color('success') !default;
578
+ $form-feedback-invalid-color: theme-color('danger') !default;
579
+ $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
580
+ $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.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;
581
+ $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
582
+ $form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}' viewBox='0 0 12 12'><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;
583
+ $form-validation-states: () !default;
584
+ $form-validation-states: map.merge(
585
+ (
586
+ 'valid': (
587
+ 'color': $form-feedback-valid-color,
588
+ 'icon': $form-feedback-icon-valid,
589
+ ),
590
+ 'invalid': (
591
+ 'color': $form-feedback-invalid-color,
592
+ 'icon': $form-feedback-icon-invalid,
593
+ ),
594
+ ),
595
+ $form-validation-states
596
+ );
597
+
598
+ // Z-index master list
599
+ //
600
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
601
+ // of components dependent on the z-axis and are designed to all work together.
602
+
603
+ $zindex-dropdown: 1000 !default;
604
+ $zindex-sticky: 1020 !default;
605
+ $zindex-fixed: 1030 !default;
606
+ $zindex-modal-backdrop: 1040 !default;
607
+ $zindex-modal: 1050 !default;
608
+ $zindex-popover: 1060 !default;
609
+ $zindex-tooltip: 1070 !default;
610
+
611
+ // Navs
612
+
613
+ $nav-link-padding-y: 0.5rem !default;
614
+ $nav-link-padding-x: 1rem !default;
615
+ $nav-link-disabled-color: $gray-600 !default;
616
+ $nav-tabs-border-color: $gray-300 !default;
617
+ $nav-tabs-border-width: $border-width !default;
618
+ $nav-tabs-border-radius: $border-radius !default;
619
+ $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
620
+ $nav-tabs-link-active-color: $gray-700 !default;
621
+ $nav-tabs-link-active-bg: $body-bg !default;
622
+ $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
623
+ $nav-pills-border-radius: $border-radius !default;
624
+ $nav-pills-link-active-color: $component-active-color !default;
625
+ $nav-pills-link-active-bg: $component-active-bg !default;
626
+ $nav-divider-color: $gray-200 !default;
627
+ $nav-divider-margin-y: $spacer * 0.5 !default;
628
+
629
+ // Navbar
630
+
631
+ $navbar-padding-y: $spacer * 0.5 !default;
632
+ $navbar-padding-x: $spacer !default;
633
+ $navbar-nav-link-padding-x: 0.5rem !default;
634
+ $navbar-brand-font-size: $font-size-lg !default;
635
+
636
+ // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
637
+ $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
638
+ $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
639
+ $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * 0.5 !default;
640
+ $navbar-toggler-padding-y: 0.25rem !default;
641
+ $navbar-toggler-padding-x: 0.75rem !default;
642
+ $navbar-toggler-font-size: $font-size-lg !default;
643
+ $navbar-toggler-border-radius: $btn-border-radius !default;
644
+ $navbar-nav-scroll-max-height: 75vh !default;
645
+ $navbar-dark-color: rgba($white, 0.5) !default;
646
+ $navbar-dark-hover-color: rgba($white, 0.75) !default;
647
+ $navbar-dark-active-color: $white !default;
648
+ $navbar-dark-disabled-color: rgba($white, 0.25) !default;
649
+ $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
650
+ $navbar-dark-toggler-border-color: rgba($white, 0.1) !default;
651
+ $navbar-light-color: rgba($black, 0.5) !default;
652
+ $navbar-light-hover-color: rgba($black, 0.7) !default;
653
+ $navbar-light-active-color: rgba($black, 0.9) !default;
654
+ $navbar-light-disabled-color: rgba($black, 0.3) !default;
655
+ $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
656
+ $navbar-light-toggler-border-color: rgba($black, 0.1) !default;
657
+ $navbar-light-brand-color: $navbar-light-active-color !default;
658
+ $navbar-light-brand-hover-color: $navbar-light-active-color !default;
659
+ $navbar-dark-brand-color: $navbar-dark-active-color !default;
660
+ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
661
+
662
+ // Dropdowns
663
+ //
664
+ // Dropdown menu container and contents.
665
+
666
+ $dropdown-min-width: 10rem !default;
667
+ $dropdown-padding-x: 0 !default;
668
+ $dropdown-padding-y: 0.5rem !default;
669
+ $dropdown-spacer: 0.125rem !default;
670
+ $dropdown-font-size: $font-size-base !default;
671
+ $dropdown-color: $body-color !default;
672
+ $dropdown-bg: $white !default;
673
+ $dropdown-border-color: rgba($black, 0.15) !default;
674
+ $dropdown-border-radius: $border-radius !default;
675
+ $dropdown-border-width: $border-width !default;
676
+ $dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
677
+ $dropdown-divider-bg: $gray-200 !default;
678
+ $dropdown-divider-margin-y: $nav-divider-margin-y !default;
679
+ $dropdown-box-shadow: 0 0.5rem 1rem rgba($black, 0.175) !default;
680
+ $dropdown-link-color: $gray-900 !default;
681
+ $dropdown-link-hover-color: color.adjust($gray-900, $lightness: -5%) !default;
682
+ $dropdown-link-hover-bg: $gray-200 !default;
683
+ $dropdown-link-active-color: $component-active-color !default;
684
+ $dropdown-link-active-bg: $component-active-bg !default;
685
+ $dropdown-link-disabled-color: $gray-500 !default;
686
+ $dropdown-item-padding-y: 0.25rem !default;
687
+ $dropdown-item-padding-x: 1.5rem !default;
688
+ $dropdown-header-color: $gray-600 !default;
689
+ $dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default;
690
+
691
+ // Pagination
692
+
693
+ $pagination-padding-y: 0.5rem !default;
694
+ $pagination-padding-x: 0.75rem !default;
695
+ $pagination-padding-y-sm: 0.25rem !default;
696
+ $pagination-padding-x-sm: 0.5rem !default;
697
+ $pagination-padding-y-lg: 0.75rem !default;
698
+ $pagination-padding-x-lg: 1.5rem !default;
699
+ $pagination-line-height: 1.25 !default;
700
+ $pagination-color: $link-color !default;
701
+ $pagination-bg: $white !default;
702
+ $pagination-border-width: $border-width !default;
703
+ $pagination-border-color: $gray-300 !default;
704
+ $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
705
+ $pagination-focus-outline: 0 !default;
706
+ $pagination-hover-color: $link-hover-color !default;
707
+ $pagination-hover-bg: $gray-200 !default;
708
+ $pagination-hover-border-color: $gray-300 !default;
709
+ $pagination-active-color: $component-active-color !default;
710
+ $pagination-active-bg: $component-active-bg !default;
711
+ $pagination-active-border-color: $pagination-active-bg !default;
712
+ $pagination-disabled-color: $gray-600 !default;
713
+ $pagination-disabled-bg: $white !default;
714
+ $pagination-disabled-border-color: $gray-300 !default;
715
+ $pagination-border-radius-sm: $border-radius-sm !default;
716
+ $pagination-border-radius-lg: $border-radius-lg !default;
717
+
718
+ // Jumbotron
719
+
720
+ $jumbotron-padding: 2rem !default;
721
+ $jumbotron-color: null !default;
722
+ $jumbotron-bg: $gray-200 !default;
723
+
724
+ // Cards
725
+
726
+ $card-spacer-y: 0.75rem !default;
727
+ $card-spacer-x: 1.25rem !default;
728
+ $card-border-width: $border-width !default;
729
+ $card-border-radius: $border-radius !default;
730
+ $card-border-color: rgba($black, 0.125) !default;
731
+ $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
732
+ $card-cap-bg: rgba($black, 0.03) !default;
733
+ $card-cap-color: null !default;
734
+ $card-height: null !default;
735
+ $card-color: null !default;
736
+ $card-bg: $white !default;
737
+ $card-img-overlay-padding: 1.25rem !default;
738
+ $card-group-margin: $grid-gutter-width * 0.5 !default;
739
+ $card-deck-margin: $card-group-margin !default;
740
+ $card-columns-count: 3 !default;
741
+ $card-columns-gap: 1.25rem !default;
742
+ $card-columns-margin: $card-spacer-y !default;
743
+
744
+ // Tooltips
745
+
746
+ $tooltip-font-size: $font-size-sm !default;
747
+ $tooltip-max-width: 200px !default;
748
+ $tooltip-color: $white !default;
749
+ $tooltip-bg: $black !default;
750
+ $tooltip-border-radius: $border-radius !default;
751
+ $tooltip-opacity: 0.9 !default;
752
+ $tooltip-padding-y: 0.25rem !default;
753
+ $tooltip-padding-x: 0.5rem !default;
754
+ $tooltip-margin: 0 !default;
755
+ $tooltip-arrow-width: 0.8rem !default;
756
+ $tooltip-arrow-height: 0.4rem !default;
757
+ $tooltip-arrow-color: $tooltip-bg !default;
758
+
759
+ // Form tooltips must come after regular tooltips
760
+ $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
761
+ $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
762
+ $form-feedback-tooltip-font-size: $tooltip-font-size !default;
763
+ $form-feedback-tooltip-line-height: $line-height-base !default;
764
+ $form-feedback-tooltip-opacity: $tooltip-opacity !default;
765
+ $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
766
+
767
+ // Popovers
768
+
769
+ $popover-font-size: $font-size-sm !default;
770
+ $popover-bg: $white !default;
771
+ $popover-max-width: 276px !default;
772
+ $popover-border-width: $border-width !default;
773
+ $popover-border-color: rgba($black, 0.2) !default;
774
+ $popover-border-radius: $border-radius-lg !default;
775
+ $popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
776
+ $popover-box-shadow: 0 0.25rem 0.5rem rgba($black, 0.2) !default;
777
+ $popover-header-bg: color.adjust($popover-bg, $lightness: -3%) !default;
778
+ $popover-header-color: $headings-color !default;
779
+ $popover-header-padding-y: 0.5rem !default;
780
+ $popover-header-padding-x: 0.75rem !default;
781
+ $popover-body-color: $body-color !default;
782
+ $popover-body-padding-y: $popover-header-padding-y !default;
783
+ $popover-body-padding-x: $popover-header-padding-x !default;
784
+ $popover-arrow-width: 1rem !default;
785
+ $popover-arrow-height: 0.5rem !default;
786
+ $popover-arrow-color: $popover-bg !default;
787
+ $popover-arrow-outer-color: color.adjust($popover-border-color, $alpha: 0.05) !default;
788
+
789
+ // Toasts
790
+
791
+ $toast-max-width: 350px !default;
792
+ $toast-padding-x: 0.75rem !default;
793
+ $toast-padding-y: 0.25rem !default;
794
+ $toast-font-size: 0.875rem !default;
795
+ $toast-color: null !default;
796
+ $toast-background-color: rgba($white, 0.85) !default;
797
+ $toast-border-width: 1px !default;
798
+ $toast-border-color: rgb(0 0 0 / 10%) !default;
799
+ $toast-border-radius: 0.25rem !default;
800
+ $toast-box-shadow: 0 0.25rem 0.75rem rgba($black, 0.1) !default;
801
+ $toast-header-color: $gray-600 !default;
802
+ $toast-header-background-color: rgba($white, 0.85) !default;
803
+ $toast-header-border-color: rgb(0 0 0 / 5%) !default;
804
+
805
+ // Badges
806
+
807
+ $badge-font-size: 75% !default;
808
+ $badge-font-weight: $font-weight-bold !default;
809
+ $badge-padding-y: 0.25em !default;
810
+ $badge-padding-x: 0.4em !default;
811
+ $badge-border-radius: $border-radius !default;
812
+ $badge-transition: $btn-transition !default;
813
+ $badge-focus-width: $input-btn-focus-width !default;
814
+ $badge-pill-padding-x: 0.6em !default;
815
+
816
+ // Use a higher than normal value to ensure completely rounded edges when
817
+ // customizing padding or font-size on labels.
818
+ $badge-pill-border-radius: 10rem !default;
819
+
820
+ // Modals
821
+
822
+ // Padding applied to the modal body
823
+ $modal-inner-padding: 1rem !default;
824
+
825
+ // Margin between elements in footer, must be lower than or equal to 2 * $modal-inner-padding
826
+ $modal-footer-margin-between: 0.5rem !default;
827
+ $modal-dialog-margin: 0.5rem !default;
828
+ $modal-dialog-margin-y-sm-up: 1.75rem !default;
829
+ $modal-title-line-height: $line-height-base !default;
830
+ $modal-content-color: null !default;
831
+ $modal-content-bg: $white !default;
832
+ $modal-content-border-color: rgba($black, 0.2) !default;
833
+ $modal-content-border-width: $border-width !default;
834
+ $modal-content-border-radius: $border-radius-lg !default;
835
+ $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
836
+ $modal-content-box-shadow-xs: 0 0.25rem 0.5rem rgba($black, 0.5) !default;
837
+ $modal-content-box-shadow-sm-up: 0 0.5rem 1rem rgba($black, 0.5) !default;
838
+ $modal-backdrop-bg: $black !default;
839
+ $modal-backdrop-opacity: 0.5 !default;
840
+ $modal-header-border-color: $border-color !default;
841
+ $modal-footer-border-color: $modal-header-border-color !default;
842
+ $modal-header-border-width: $modal-content-border-width !default;
843
+ $modal-footer-border-width: $modal-header-border-width !default;
844
+ $modal-header-padding-y: 1rem !default;
845
+ $modal-header-padding-x: 1rem !default;
846
+ $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
847
+
848
+ $modal-xl: 1140px !default;
849
+ $modal-lg: 800px !default;
850
+ $modal-md: 500px !default;
851
+ $modal-sm: 300px !default;
852
+ $modal-fade-transform: translate(0, -50px) !default;
853
+ $modal-show-transform: none !default;
854
+ $modal-transition: transform 0.3s ease-out !default;
855
+ $modal-scale-transform: scale(1.02) !default;
856
+
857
+ // Alerts
858
+ //
859
+ // Define alert colors, border radius, and padding.
860
+
861
+ $alert-padding-y: 0.75rem !default;
862
+ $alert-padding-x: 1.25rem !default;
863
+ $alert-margin-bottom: 1rem !default;
864
+ $alert-border-radius: $border-radius !default;
865
+ $alert-link-font-weight: $font-weight-bold !default;
866
+ $alert-border-width: $border-width !default;
867
+ $alert-bg-level: -10 !default;
868
+ $alert-border-level: -9 !default;
869
+ $alert-color-level: 6 !default;
870
+
871
+ // Progress bars
872
+
873
+ $progress-height: 1rem !default;
874
+ $progress-font-size: $font-size-base * 0.75 !default;
875
+ $progress-bg: $gray-200 !default;
876
+ $progress-border-radius: $border-radius !default;
877
+ $progress-box-shadow: inset 0 0.1rem 0.1rem rgba($black, 0.1) !default;
878
+ $progress-bar-color: $white !default;
879
+ $progress-bar-bg: theme-color('primary') !default;
880
+ $progress-bar-animation-timing: 1s linear infinite !default;
881
+ $progress-bar-transition: width 0.6s ease !default;
882
+
883
+ // List group
884
+
885
+ $list-group-color: null !default;
886
+ $list-group-bg: $white !default;
887
+ $list-group-border-color: rgba($black, 0.125) !default;
888
+ $list-group-border-width: $border-width !default;
889
+ $list-group-border-radius: $border-radius !default;
890
+ $list-group-item-padding-y: 0.75rem !default;
891
+ $list-group-item-padding-x: 1.25rem !default;
892
+ $list-group-hover-bg: $gray-100 !default;
893
+ $list-group-active-color: $component-active-color !default;
894
+ $list-group-active-bg: $component-active-bg !default;
895
+ $list-group-active-border-color: $list-group-active-bg !default;
896
+ $list-group-disabled-color: $gray-600 !default;
897
+ $list-group-disabled-bg: $list-group-bg !default;
898
+ $list-group-action-color: $gray-700 !default;
899
+ $list-group-action-hover-color: $list-group-action-color !default;
900
+ $list-group-action-active-color: $body-color !default;
901
+ $list-group-action-active-bg: $gray-200 !default;
902
+
903
+ // Image thumbnails
904
+
905
+ $thumbnail-padding: 0.25rem !default;
906
+ $thumbnail-bg: $body-bg !default;
907
+ $thumbnail-border-width: $border-width !default;
908
+ $thumbnail-border-color: $gray-300 !default;
909
+ $thumbnail-border-radius: $border-radius !default;
910
+ $thumbnail-box-shadow: 0 1px 2px rgba($black, 0.075) !default;
911
+
912
+ // Figures
913
+
914
+ $figure-caption-font-size: 90% !default;
915
+ $figure-caption-color: $gray-600 !default;
916
+
917
+ // Breadcrumbs
918
+
919
+ $breadcrumb-font-size: null !default;
920
+ $breadcrumb-padding-y: 0.75rem !default;
921
+ $breadcrumb-padding-x: 1rem !default;
922
+ $breadcrumb-item-padding: 0.5rem !default;
923
+ $breadcrumb-margin-bottom: 1rem !default;
924
+ $breadcrumb-bg: $gray-200 !default;
925
+ $breadcrumb-divider-color: $gray-600 !default;
926
+ $breadcrumb-active-color: $gray-600 !default;
927
+ $breadcrumb-divider: '/' !default;
928
+ $breadcrumb-border-radius: $border-radius !default;
929
+
930
+ // Carousel
931
+
932
+ $carousel-control-color: $white !default;
933
+ $carousel-control-width: 15% !default;
934
+ $carousel-control-opacity: 0.5 !default;
935
+ $carousel-control-hover-opacity: 0.9 !default;
936
+ $carousel-control-transition: opacity 0.15s ease !default;
937
+ $carousel-indicator-width: 30px !default;
938
+ $carousel-indicator-height: 3px !default;
939
+ $carousel-indicator-hit-area-height: 10px !default;
940
+ $carousel-indicator-spacer: 3px !default;
941
+ $carousel-indicator-active-bg: $white !default;
942
+ $carousel-indicator-transition: opacity 0.6s ease !default;
943
+ $carousel-caption-width: 70% !default;
944
+ $carousel-caption-color: $white !default;
945
+ $carousel-control-icon-width: 20px !default;
946
+ $carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' width='8' height='8' viewBox='0 0 8 8'><path d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/></svg>") !default;
947
+ $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' width='8' height='8' viewBox='0 0 8 8'><path d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/></svg>") !default;
948
+ $carousel-transition-duration: 0.6s !default;
949
+ $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`)
950
+
951
+ // Spinners
952
+
953
+ $spinner-width: 2rem !default;
954
+ $spinner-height: $spinner-width !default;
955
+ $spinner-vertical-align: -0.125em !default;
956
+ $spinner-border-width: 0.25em !default;
957
+ $spinner-width-sm: 1rem !default;
958
+ $spinner-height-sm: $spinner-width-sm !default;
959
+ $spinner-border-width-sm: 0.2em !default;
960
+
961
+ // Close
962
+
963
+ $close-font-size: $font-size-base * 1.5 !default;
964
+ $close-font-weight: $font-weight-bold !default;
965
+ $close-color: $black !default;
966
+ $close-text-shadow: 0 1px 0 $white !default;
967
+
968
+ // Code
969
+
970
+ $code-font-size: 87.5% !default;
971
+ $code-color: $pink !default;
972
+ $kbd-padding-y: 0.2rem !default;
973
+ $kbd-padding-x: 0.4rem !default;
974
+ $kbd-font-size: $code-font-size !default;
975
+ $kbd-color: $white !default;
976
+ $kbd-bg: $gray-900 !default;
977
+ $pre-color: $gray-900 !default;
978
+ $pre-scrollable-max-height: 340px !default;
979
+
980
+ // Utilities
981
+
982
+ $displays: none, inline, inline-block, block, table, table-row, table-cell, flex, inline-flex !default;
983
+ $overflows: auto, hidden !default;
984
+ $positions: static, relative, absolute, fixed, sticky !default;
985
+ $user-selects: all, auto, none !default;
986
+
987
+ // Printing
988
+
989
+ $print-page-size: a3 !default;
990
+ $print-body-min-width: map.get($grid-breakpoints, 'lg') !default;