@design-factory/design-factory 20.0.0-next.0 → 20.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/design-factory-initial-branding.css +1 -1
- package/design-factory-initial-branding.scss +1 -1
- package/design-factory.css +2 -2
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs +358 -0
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs.map +1 -0
- package/fesm2022/design-factory.mjs +433 -530
- package/fesm2022/design-factory.mjs.map +1 -1
- package/index.d.ts +46 -168
- package/package.json +14 -2
- package/schematics/migrations/15_0_0/remove-ngx-slider/index.js +11 -5
- package/schematics/migrations/16_0_0/revert-to-old-brand/index.js +2 -2
- package/schematics/migrations/20_0_0/colors-new-branding/index.d.ts +14 -0
- package/schematics/migrations/20_0_0/colors-new-branding/index.js +108 -0
- package/schematics/migrations/20_0_0/navbar-toggler-logo-svg/index.js +6 -5
- package/schematics/migrations/20_0_0/spinner-new-branding/index.d.ts +7 -0
- package/schematics/migrations/20_0_0/spinner-new-branding/index.js +41 -0
- package/schematics/migrations/helpers.js +1 -1
- package/schematics/migrations/migration.json +12 -0
- package/schematics/migrations/utils/component-resource-collector.js +2 -2
- package/schematics/migrations/utils/project_tsconfig_paths.js +4 -0
- package/schematics/migrations/utils/style-updater.js +3 -1
- package/schematics/migrations/utils/template-updater.js +3 -1
- package/schematics/migrations/utils/typescript/compiler_host.js +6 -4
- package/schematics/ng-add/index.js +3 -6
- package/styles/scss/_common.root.scss +20 -3
- package/styles/scss/_common.scss +1 -1
- package/styles/scss/_common.variables.scss +2 -1
- package/styles/scss/_variables.scss +1 -0
- package/styles/scss/agnosui/_variables.scss +1 -1
- package/styles/scss/bootstrap/_utilities-override.scss +14 -8
- package/styles/scss/bootstrap/_variables.scss +2 -2
- package/styles/scss/components/accordion/_accordion.scss +7 -0
- package/styles/scss/components/alert/_alert.scss +32 -17
- package/styles/scss/components/badge/_badge.mixins.scss +12 -4
- package/styles/scss/components/badge/_badge.scss +191 -71
- package/styles/scss/components/badge/_badge.variables.scss +8 -0
- package/styles/scss/components/brand-color/_brand-color.mixins.scss +2 -2
- package/styles/scss/components/breadcrumbs/_breadcrumbs.scss +4 -1
- package/styles/scss/components/breadcrumbs/_breadcrumbs.variables.scss +3 -1
- package/styles/scss/components/button/_button.scss +389 -74
- package/styles/scss/components/button/_button.utils.scss +20 -1
- package/styles/scss/components/button/_button_container.scss +22 -5
- package/styles/scss/components/card/_card.scss +42 -10
- package/styles/scss/components/card/_card.variables.scss +2 -0
- package/styles/scss/components/carousel/_carousel.scss +2 -2
- package/styles/scss/components/checkbox/_checkbox.scss +2 -1
- package/styles/scss/components/datepicker/_datepicker.scss +2 -1
- package/styles/scss/components/dropdown/_dropdown.scss +18 -1
- package/styles/scss/components/fonts/_font-faces.mixins.scss +108 -54
- package/styles/scss/components/icon/_amadeus-icon.scss +2 -2
- package/styles/scss/components/inputs/_inputs.mixin.scss +2 -2
- package/styles/scss/components/inputs/_inputs.root.scss +1 -1
- package/styles/scss/components/inputs/_inputs.scss +10 -4
- package/styles/scss/components/link/_link.mixins.scss +7 -3
- package/styles/scss/components/link/_link.scss +6 -0
- package/styles/scss/components/media/_media.scss +4 -0
- package/styles/scss/components/media/_media.variables.scss +1 -0
- package/styles/scss/components/modal/_modal.scss +54 -14
- package/styles/scss/components/modal/_modal.variables.scss +1 -0
- package/styles/scss/components/navbar/_navbar.scss +12 -0
- package/styles/scss/components/pagination/_pagination.scss +5 -0
- package/styles/scss/components/pagination/_pagination_container.scss +1 -1
- package/styles/scss/components/progressbar/_progressbar.variables.scss +13 -4
- package/styles/scss/components/rating/_rating.scss +18 -2
- package/styles/scss/components/rating/_rating.variables.scss +1 -1
- package/styles/scss/components/scrollspy/_scrollspy.scss +1 -1
- package/styles/scss/components/select/_select.scss +14 -19
- package/styles/scss/components/separator/_separator.variables.scss +1 -1
- package/styles/scss/components/sidenav/_sidenav.scss +3 -3
- package/styles/scss/components/sidenav/_sidenav.variables.scss +6 -4
- package/styles/scss/components/spinner/_spinner.scss +14 -0
- package/styles/scss/components/spinner/_spinner.variables.scss +7 -4
- package/styles/scss/components/stepper/_stepper.variables.scss +3 -3
- package/styles/scss/components/tabs/_tabs.scss +8 -1
- package/styles/scss/components/timepicker/_timepicker.scss +5 -0
- package/styles/scss/components/timepicker/_timepicker.variables.scss +1 -0
- package/styles/scss/components/toast/_toast.scss +21 -30
- package/styles/scss/components/toggle/_toggle.scss +2 -1
- package/styles/scss/components/toggle/_toggle.variables.scss +1 -0
- package/styles/scss/components/tooltip/_tooltip.scss +5 -0
- package/styles/scss/components/tooltip/_tooltip.variables.scss +4 -0
- package/styles/scss/components/tooltip/_tooltip_container.scss +17 -13
- package/styles/scss/df-styles.scss +1 -0
- package/styles/scss/themes/brand2023/_variables.scss +161 -38
- package/styles/scss/themes/brand2023/tokens/_mapping.gen.scss +156 -186
- package/styles/scss/themes/brand2023/tokens/_root.gen.scss +1708 -0
- package/styles/scss/themes/brand2023/tokens/_sass-vars.gen.scss +1467 -0
- package/styles/scss/utilities/_common.utilities.scss +3 -10
- package/styles/scss/utilities/_rgb.scss +10 -0
- package/tokens/style-dictionary/index.d.ts +60 -0
- package/styles/scss/themes/brand2023/tokens/_figma.gen.scss +0 -3028
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
--#{$prefix}switch-name-padding-start: 0;
|
|
25
25
|
--#{$prefix}switch-padding-start: #{$form-switch-padding-start};
|
|
26
26
|
--#{$prefix}switch-input-padding-start: 0;
|
|
27
|
+
--#{$prefix}switch-container-margin-top: #{$df-switch-container-margin-top};
|
|
27
28
|
|
|
28
29
|
display: flex;
|
|
29
30
|
align-items: center;
|
|
@@ -138,7 +139,7 @@
|
|
|
138
139
|
.df-form-switch-container {
|
|
139
140
|
display: flex;
|
|
140
141
|
align-items: center;
|
|
141
|
-
margin-top:
|
|
142
|
+
margin-top: var(--#{$prefix}switch-container-margin-top);
|
|
142
143
|
}
|
|
143
144
|
}
|
|
144
145
|
}
|
|
@@ -19,3 +19,4 @@ $df-switch-rtl-checked-bg-position: left center !default;
|
|
|
19
19
|
$df-switch-rtl-bg-position: right center !default;
|
|
20
20
|
$df-switch-box-shadow-opacity: $input-btn-focus-color-opacity !default;
|
|
21
21
|
$df-switch-box-shadow: $form-check-input-focus-box-shadow !default;
|
|
22
|
+
$df-switch-container-margin-top: #{($line-height-base - $form-check-input-width) * 0.5} !default;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
.tooltip {
|
|
2
2
|
--#{$prefix}tooltip-border-radius-sm: #{$df-tooltip-border-radius-sm};
|
|
3
3
|
--#{$prefix}tooltip-border-radius-lg: #{$df-tooltip-border-radius-lg};
|
|
4
|
+
--#{$prefix}tooltip-padding-x-sm: #{$df-tooltip-padding-x-sm};
|
|
5
|
+
--#{$prefix}tooltip-padding-x-lg: #{$df-tooltip-padding-x-lg};
|
|
6
|
+
--#{$prefix}tooltip-padding-y-sm: #{$df-tooltip-padding-y-sm};
|
|
7
|
+
--#{$prefix}tooltip-padding-y-lg: #{$df-tooltip-padding-y-lg};
|
|
4
8
|
|
|
5
9
|
@each $extension, $ratio in $df-size-ratios {
|
|
6
10
|
&.tooltip-inner-#{$extension} {
|
|
7
11
|
.tooltip-inner {
|
|
8
12
|
@include border-radius(var(--#{$prefix}tooltip-border-radius-#{$extension}));
|
|
9
13
|
font-size: get-sizing-brand2023($extension, $ratio);
|
|
14
|
+
padding: var(--#{$prefix}tooltip-padding-y-#{$extension}) var(--#{$prefix}tooltip-padding-x-#{$extension});
|
|
10
15
|
}
|
|
11
16
|
}
|
|
12
17
|
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
$df-tooltip-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
|
2
2
|
$df-tooltip-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
|
3
|
+
$df-tooltip-padding-x-sm: 0.75rem !default;
|
|
4
|
+
$df-tooltip-padding-x-lg: 0.75rem !default;
|
|
5
|
+
$df-tooltip-padding-y-sm: 0.25rem !default;
|
|
6
|
+
$df-tooltip-padding-y-lg: 0.375rem !default;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
display: block;
|
|
20
20
|
padding: var(--#{$prefix}tooltip-arrow-height);
|
|
21
21
|
margin: var(--#{$prefix}tooltip-margin);
|
|
22
|
-
@include deprecate(
|
|
22
|
+
@include deprecate('`$tooltip-margin`', 'v5', 'v5.x', true);
|
|
23
23
|
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
|
24
24
|
// So reset our font and text properties to avoid inheriting weird values.
|
|
25
25
|
@include reset-text();
|
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
word-wrap: break-word;
|
|
29
29
|
opacity: 0;
|
|
30
30
|
|
|
31
|
-
&.show {
|
|
31
|
+
&.show {
|
|
32
|
+
opacity: var(--#{$prefix}tooltip-opacity);
|
|
33
|
+
}
|
|
32
34
|
|
|
33
35
|
.tooltip-arrow {
|
|
34
36
|
display: block;
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
|
|
38
40
|
&::before {
|
|
39
41
|
position: absolute;
|
|
40
|
-
content:
|
|
42
|
+
content: '';
|
|
41
43
|
border-color: transparent;
|
|
42
44
|
border-style: solid;
|
|
43
45
|
}
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
|
|
50
52
|
&::before {
|
|
51
53
|
top: -1px;
|
|
52
|
-
border-width: var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
|
54
|
+
border-width: var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) 0; // stylelint-disable-line function-disallowed-list
|
|
53
55
|
border-top-color: var(--#{$prefix}tooltip-bg);
|
|
54
56
|
}
|
|
55
57
|
}
|
|
@@ -63,7 +65,8 @@
|
|
|
63
65
|
|
|
64
66
|
&::before {
|
|
65
67
|
right: -1px;
|
|
66
|
-
border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height)
|
|
68
|
+
border-width: calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) var(--#{$prefix}tooltip-arrow-height)
|
|
69
|
+
calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) 0; // stylelint-disable-line function-disallowed-list
|
|
67
70
|
border-right-color: var(--#{$prefix}tooltip-bg);
|
|
68
71
|
}
|
|
69
72
|
}
|
|
@@ -75,7 +78,7 @@
|
|
|
75
78
|
|
|
76
79
|
&::before {
|
|
77
80
|
bottom: -1px;
|
|
78
|
-
border-width: 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
81
|
+
border-width: 0 calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
79
82
|
border-bottom-color: var(--#{$prefix}tooltip-bg);
|
|
80
83
|
}
|
|
81
84
|
}
|
|
@@ -89,24 +92,25 @@
|
|
|
89
92
|
|
|
90
93
|
&::before {
|
|
91
94
|
left: -1px;
|
|
92
|
-
border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0
|
|
95
|
+
border-width: calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) 0
|
|
96
|
+
calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
93
97
|
border-left-color: var(--#{$prefix}tooltip-bg);
|
|
94
98
|
}
|
|
95
99
|
}
|
|
96
100
|
}
|
|
97
|
-
|
|
101
|
+
|
|
98
102
|
&.bs-tooltip-auto {
|
|
99
|
-
&[data-popper-placement^=
|
|
103
|
+
&[data-popper-placement^='top'] {
|
|
100
104
|
@extend .bs-tooltip-top;
|
|
101
105
|
}
|
|
102
|
-
&[data-popper-placement^=
|
|
106
|
+
&[data-popper-placement^='right'] {
|
|
103
107
|
@extend .bs-tooltip-end;
|
|
104
108
|
}
|
|
105
|
-
&[data-popper-placement^=
|
|
109
|
+
&[data-popper-placement^='bottom'] {
|
|
106
110
|
@extend .bs-tooltip-bottom;
|
|
107
111
|
}
|
|
108
|
-
&[data-popper-placement^=
|
|
112
|
+
&[data-popper-placement^='left'] {
|
|
109
113
|
@extend .bs-tooltip-start;
|
|
110
114
|
}
|
|
111
115
|
}
|
|
112
|
-
}
|
|
116
|
+
}
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
@import 'components/footer/footer';
|
|
104
104
|
@import 'components/toast/toast';
|
|
105
105
|
@import 'components/scrollspy/scrollspy';
|
|
106
|
+
@import 'components/timepicker/timepicker';
|
|
106
107
|
@import 'components/tooltip/tooltip';
|
|
107
108
|
|
|
108
109
|
@import 'bootstrap/rtl-styles-override';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'sass:color';
|
|
3
|
-
@import '
|
|
3
|
+
@import '../../utilities/rgb';
|
|
4
|
+
@import './tokens/sass-vars.gen';
|
|
5
|
+
@import './tokens/root.gen';
|
|
4
6
|
@import './tokens/mapping.gen';
|
|
5
7
|
|
|
6
8
|
// stylelint-disable scss/dollar-variable-pattern
|
|
@@ -66,7 +68,7 @@ $dark-sky: $df-theme-primary-90 !default; // added
|
|
|
66
68
|
$dark-primary: $dark-sky !default; // moved and changed
|
|
67
69
|
$light-primary: $df-theme-primary-20 !default; // create
|
|
68
70
|
$tip: $purple !default;
|
|
69
|
-
$chromatic1: $
|
|
71
|
+
$chromatic1: $yellow !default;
|
|
70
72
|
$chromatic2: $pink !default;
|
|
71
73
|
$pacific: $light-blue !default; // to removed ? where used ?
|
|
72
74
|
// scss-docs-end theme-color-variables
|
|
@@ -81,12 +83,10 @@ $theme-colors: (
|
|
|
81
83
|
'danger': $danger,
|
|
82
84
|
'light': $light,
|
|
83
85
|
'neutral': $dark,
|
|
86
|
+
'dark': $dark,
|
|
84
87
|
'tip': $tip,
|
|
85
88
|
'chromatic1': $chromatic1,
|
|
86
|
-
'chromatic2': $chromatic2
|
|
87
|
-
'pacific': $pacific,
|
|
88
|
-
'dark-primary': $dark-primary,
|
|
89
|
-
'dark-green': $dark-green
|
|
89
|
+
'chromatic2': $chromatic2
|
|
90
90
|
) !default;
|
|
91
91
|
// scss-docs-end theme-colors-map
|
|
92
92
|
|
|
@@ -389,7 +389,7 @@ $lights-mapping: (
|
|
|
389
389
|
'bg-hover-alt-color': var(--#{$prefix}light-100),
|
|
390
390
|
'bg-active-alt-color': var(--#{$prefix}light-200),
|
|
391
391
|
'border-color': var(--#{$prefix}light-500),
|
|
392
|
-
'text-color': var(--#{$prefix}light-
|
|
392
|
+
'text-color': var(--#{$prefix}light-200),
|
|
393
393
|
'text-hover-color': var(--#{$prefix}light-800),
|
|
394
394
|
'text-active-color': var(--#{$prefix}light-900),
|
|
395
395
|
'separator-color': var(--#{$prefix}light-200)
|
|
@@ -423,6 +423,14 @@ $links-mapping: (
|
|
|
423
423
|
'bg-visited-active-color': var(--#{$prefix}link-color-visited-pressed-background)
|
|
424
424
|
) !default;
|
|
425
425
|
|
|
426
|
+
$grays-mapping: (
|
|
427
|
+
'border-color': var(--#{$prefix}color-inert-neutral-main-border),
|
|
428
|
+
'border-hover-color': var(--#{$prefix}color-inert-neutral-main-border),
|
|
429
|
+
'text-active-color': var(--#{$prefix}color-inert-neutral-alt-foreground),
|
|
430
|
+
'text-color': var(--#{$prefix}color-inert-neutral-alt-foreground),
|
|
431
|
+
'text-hover-color': var(--#{$prefix}color-inert-neutral-alt-foreground)
|
|
432
|
+
) !default;
|
|
433
|
+
|
|
426
434
|
// scss-docs-start theme-bg-subtle-variables
|
|
427
435
|
$primary-bg-subtle: map.get($primaries-mapping, 'bg-subtle-color') !default;
|
|
428
436
|
$secondary-bg-subtle: map.get($secondaries-mapping, 'bg-subtle-color') !default;
|
|
@@ -460,6 +468,20 @@ $shade-maps: map.set($shade-maps, 'chromatic1', $chromatics1-mapping);
|
|
|
460
468
|
$shade-maps: map.set($shade-maps, 'chromatic2', $chromatics2-mapping);
|
|
461
469
|
// stylelint-enable scss/dollar-variable-default
|
|
462
470
|
|
|
471
|
+
// Spacing
|
|
472
|
+
//
|
|
473
|
+
// Control the default styling of most Bootstrap elements by modifying these
|
|
474
|
+
// variables. Mostly focused on spacing.
|
|
475
|
+
// You can add more entries to the $spacers map, should you need more variation.
|
|
476
|
+
|
|
477
|
+
// scss-docs-start spacer-variables-maps
|
|
478
|
+
$spacer: $df-spacing-5 !default;
|
|
479
|
+
$spacers: () !default;
|
|
480
|
+
@for $i from 0 through 12 {
|
|
481
|
+
$spacers: map.set($spacers, $i, var(--#{$prefix}spacing-#{$i}));
|
|
482
|
+
}
|
|
483
|
+
// scss-docs-end spacer-variables-maps
|
|
484
|
+
|
|
463
485
|
$body-bg: $white !default;
|
|
464
486
|
$body-color: $gray-900 !default;
|
|
465
487
|
$color-contrast-dark: $body-color !default; // should be same as $body-color but not a CSS var
|
|
@@ -501,6 +523,7 @@ $font-weight-bold: var(--#{$prefix}typo-weight-bold) !default;
|
|
|
501
523
|
// scss-docs-end font-variables
|
|
502
524
|
|
|
503
525
|
// scss-docs-start headings-variables
|
|
526
|
+
$headings-margin-bottom: calc($spacer * 0.5) !default;
|
|
504
527
|
$headings-font-weight: 500 !default;
|
|
505
528
|
// scss-docs-end headings-variables
|
|
506
529
|
|
|
@@ -564,6 +587,10 @@ $lead-font-size: $font-size-lg !default;
|
|
|
564
587
|
$blockquote-font-size: $font-size-lg !default;
|
|
565
588
|
|
|
566
589
|
// Accordion
|
|
590
|
+
$accordion-padding-y: var(--#{$prefix}spacing-4) !default;
|
|
591
|
+
$accordion-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
592
|
+
$accordion-body-padding-y: var(--#{$prefix}spacing-5) !default;
|
|
593
|
+
$accordion-body-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
567
594
|
$accordion-button-focus-box-shadow: $df-focused-inset-box-shadow !default;
|
|
568
595
|
$accordion-icon-color: $primary !default; // cannot be css var as used in background-image
|
|
569
596
|
$accordion-icon-active-color: $primary !default; // cannot be css var as used in background-image
|
|
@@ -599,7 +626,7 @@ $breadcrumb-divider-flipped: '\f053' !default; // fa-chevron-left
|
|
|
599
626
|
$df-breadcrumb-separator-font: 'Font Awesome 6 Pro' !default;
|
|
600
627
|
$df-breadcrumb-icon-angle-left-content: '\f060' !default; // icon-arrow-left
|
|
601
628
|
$df-breadcrumb-icon-angle-right-content: '\f061' !default; // fa-arrow-right
|
|
602
|
-
$df-breadcrumb-icon-margin: 0rem
|
|
629
|
+
$df-breadcrumb-icon-margin: 0rem var(--#{$prefix}spacing-3) !default;
|
|
603
630
|
$df-breadcrumb-item-before-padding: 0px 10px !default;
|
|
604
631
|
$df-breadcrumb-item-before-padding-sm: 0 9.5px !default;
|
|
605
632
|
$df-breadcrumb-item-before-padding-lg: 0 10.5px !default;
|
|
@@ -608,6 +635,16 @@ $df-breadcrumb-item-active-font-weight: $font-weight-medium !default;
|
|
|
608
635
|
// Badge
|
|
609
636
|
$badge-border-radius: $border-radius !default;
|
|
610
637
|
$df-badge-box-shadow-color: $gray-900 !default;
|
|
638
|
+
$badge-padding-x: var(--#{$prefix}spacing-3) !default;
|
|
639
|
+
$df-badge-icon-margin-end: var(--#{$prefix}spacing-2) !default;
|
|
640
|
+
$df-badge-interactive-button-padding-end: var(--#{$prefix}spacing-1) !default;
|
|
641
|
+
|
|
642
|
+
// scss-docs-start input-btn-variables
|
|
643
|
+
$input-btn-padding-x: $df-spacing-4 !default;
|
|
644
|
+
$input-btn-padding-x-sm: $df-spacing-3 !default;
|
|
645
|
+
$input-btn-padding-x-lg: $df-spacing-5 !default;
|
|
646
|
+
|
|
647
|
+
// scss-docs-end input-btn-variables
|
|
611
648
|
|
|
612
649
|
// Button
|
|
613
650
|
$df-btn-focus-hover-box-shadow-color: var(--#{$prefix}btn-hover-bg) !default;
|
|
@@ -624,6 +661,7 @@ $df-btn-icononly-border-width: var(--#{$prefix}border-width) !default;
|
|
|
624
661
|
$df-btn-icononly-border-radius: var(--#{$prefix}button-borderRadius-main-medium) !default;
|
|
625
662
|
$df-btn-icononly-border-radius-sm: var(--#{$prefix}button-borderRadius-main-small) !default;
|
|
626
663
|
$df-btn-icononly-border-radius-lg: var(--#{$prefix}button-borderRadius-main-large) !default;
|
|
664
|
+
$df-btn-icon-margin-end: var(--#{$prefix}spacing-3) !default;
|
|
627
665
|
|
|
628
666
|
// Button close
|
|
629
667
|
$df-btn-close-focus-shadow-width: 2px !default;
|
|
@@ -637,6 +675,11 @@ $df-btn-group-hover-box-shadow-color: var(--#{$prefix}btn-active-color) !default
|
|
|
637
675
|
$df-btn-group-checked-box-shadow-color: var(--#{$prefix}btn-active-border-color) !default;
|
|
638
676
|
$btn-font-weight: $font-weight-medium !default;
|
|
639
677
|
|
|
678
|
+
// Breadcrumb
|
|
679
|
+
$df-breadcrumb-item-icon-margin-inline-end: var(--#{$prefix}spacing-2) !default;
|
|
680
|
+
$df-breadcrumb-item-icon-margin-inline-end-sm: var(--#{$prefix}spacing-1) !default;
|
|
681
|
+
$df-breadcrumb-item-icon-margin-inline-end-lg: var(--#{$prefix}spacing-3) !default;
|
|
682
|
+
|
|
640
683
|
// Card
|
|
641
684
|
$card-inner-border-radius: $border-radius !default;
|
|
642
685
|
$card-border-width: 0 !default;
|
|
@@ -645,7 +688,7 @@ $df-card-selected-bg-color: var(--#{$prefix}primary-200) !default;
|
|
|
645
688
|
$df-card-selected-hover-bg-color: var(--#{$prefix}primary-100) !default;
|
|
646
689
|
$df-card-selected-border-color: var(--#{$prefix}primary-500) !default;
|
|
647
690
|
$df-card-focusable-bg-color: var(--#{$prefix}primary-100) !default;
|
|
648
|
-
$df-card-focusable-focus-box-shadow-color: var(--#{$prefix}
|
|
691
|
+
$df-card-focusable-focus-box-shadow-color: var(--#{$prefix}color-focus-main-border) !default;
|
|
649
692
|
$df-card-focusable-border-color: none !default;
|
|
650
693
|
$df-card-focusable-hover-border-color: none !default;
|
|
651
694
|
$df-card-focusable-active-border-color: none !default;
|
|
@@ -654,7 +697,14 @@ $df-accordion-card-last-body-border-top: none !default;
|
|
|
654
697
|
$df-card-title-font-weight: $font-weight-medium !default;
|
|
655
698
|
$df-card-group-between-border-width: var(--#{$prefix}border-width) !default;
|
|
656
699
|
$df-card-group-between-border-color: var(--#{$prefix}secondary-300) !default;
|
|
657
|
-
$df-accordion-card-padding-start:
|
|
700
|
+
$df-accordion-card-padding-start: var(--#{$prefix}spacing-5) !default;
|
|
701
|
+
$card-spacer-y: var(--#{$prefix}spacing-5) !default;
|
|
702
|
+
$card-spacer-x: var(--#{$prefix}spacing-5) !default;
|
|
703
|
+
$card-cap-padding-y: var(--#{$prefix}spacing-3) !default;
|
|
704
|
+
$card-cap-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
705
|
+
$card-title-spacer-y: var(--#{$prefix}spacing-5) !default;
|
|
706
|
+
$df-card-text-margin-block-end: var(--#{$prefix}spacing-5) !default;
|
|
707
|
+
$df-card-subtitle-margin-block-end: var(--#{$prefix}spacing-5) !default;
|
|
658
708
|
|
|
659
709
|
// Carousel
|
|
660
710
|
|
|
@@ -682,6 +732,7 @@ $df-datepicker-weekday-font-size: $font-size-sm !default;
|
|
|
682
732
|
$df-datepicker-navigation-literal-font-size: $font-size-lg !default;
|
|
683
733
|
$df-datepicker-day-font-weight: $font-weight-bold !default;
|
|
684
734
|
$df-datepicker-navigation-literal-font-weight: $font-weight-medium !default;
|
|
735
|
+
$df-datepicker-padding: var(--#{$prefix}spacing-5) !default;
|
|
685
736
|
|
|
686
737
|
// Dropdown
|
|
687
738
|
$df-dropdown-item-focus-text-decoration: none !default;
|
|
@@ -692,6 +743,10 @@ $df-dropdown-item-focus-bg: unset !default;
|
|
|
692
743
|
$df-dropdown-toggle-split-padding-x: 1em !default;
|
|
693
744
|
$df-dropdown-item-border-width: 0 !default;
|
|
694
745
|
$df-dropdown-item-active-font-weight: $font-weight-bold !default;
|
|
746
|
+
$dropdown-padding-y: var(--#{$prefix}spacing-3) !default;
|
|
747
|
+
$dropdown-divider-margin-y: calc($spacer * 0.5) !default;
|
|
748
|
+
$dropdown-item-padding-y: calc($spacer * 0.25) !default;
|
|
749
|
+
$df-dropdown-toggle-margin: var(--#{$prefix}spacing-2) !default;
|
|
695
750
|
// Fieldset
|
|
696
751
|
$df-fieldset-legend-font-weight: $font-weight-normal !default;
|
|
697
752
|
|
|
@@ -707,10 +762,27 @@ $display-font-weight: $font-weight-medium !default;
|
|
|
707
762
|
$blockquote-footer-color: var(--#{$prefix}gray-700) !default;
|
|
708
763
|
$df-footer-line-padding-start: 0 !default;
|
|
709
764
|
|
|
765
|
+
// scss-docs-start form-input-variables
|
|
766
|
+
// $input-padding-y: $input-btn-padding-y !default;
|
|
767
|
+
$input-padding-x: $df-spacing-3 !default;
|
|
768
|
+
$input-padding-x-sm: var(--#{$prefix}spacing-3) !default;
|
|
769
|
+
$input-padding-x-lg: var(--#{$prefix}spacing-3) !default;
|
|
770
|
+
// scss-docs-end form-input-variables
|
|
771
|
+
|
|
710
772
|
// Form
|
|
773
|
+
$form-select-padding-x: $input-padding-x !default;
|
|
774
|
+
$form-select-indicator-padding: calc($form-select-padding-x * 3) !default; // Extra padding for background-image
|
|
711
775
|
$form-range-thumb-active-bg: var(--#{$prefix}primary-800) !default;
|
|
712
776
|
$form-check-min-height: calc($font-size-base * $line-height-base) !default;
|
|
713
777
|
$df-form-placeholder-font-style: var(--#{$prefix}typo-style-italic) !default;
|
|
778
|
+
$form-label-margin-bottom: var(--#{$prefix}spacing-3) !default;
|
|
779
|
+
$form-check-margin-bottom: var(--#{$prefix}spacing-3) !default;
|
|
780
|
+
$form-select-feedback-icon-padding-end: calc($form-select-padding-x * 2.5 + $form-select-indicator-padding) !default;
|
|
781
|
+
$form-text-margin-top: var(--#{$prefix}spacing-3) !default;
|
|
782
|
+
|
|
783
|
+
// scss-docs-start input-group-variables
|
|
784
|
+
$input-group-addon-padding-x: var(--#{$prefix}spacing-3) !default;
|
|
785
|
+
// scss-docs-end input-group-variables
|
|
714
786
|
|
|
715
787
|
// Icon
|
|
716
788
|
$df-amadeuslogo: "<svg viewBox='0 0 113 16' xmlns='http://www.w3.org/2000/svg'><path d='M107.272 6.62415C105.258 5.92656 104.367 5.46175 104.367 4.4161C104.367 3.75718 104.793 2.75021 106.807 2.75021C108.705 2.75021 110.72 3.60249 110.72 3.60249V0.696849C109.868 0.348052 108.357 0 106.652 0C103.746 0 100.958 1.54913 100.958 4.61021C100.958 7.67128 103.747 8.52282 105.646 9.14307C107.428 9.7239 108.629 10.3055 108.629 11.4671C108.629 12.4749 107.931 13.249 105.646 13.249C103.708 13.249 101.384 12.4749 101.384 12.4749V15.3798C101.384 15.3798 103.63 16 105.801 16C108.667 16 112.038 14.9923 112.038 11.2344C112.038 8.67751 109.946 7.55378 107.273 6.62415H107.272Z' fill='#ffffff'/><path d='M34.2475 15.8059V0H29.8701L25.57 11.7773L21.2692 0H16.8917V15.8059H19.8747V3.87394L24.2135 15.8052H26.7316L31.2645 3.87394V15.8052H34.2475V15.8059Z' fill='#ffffff'/><path d='M44.7062 0H38.9343V3.06033C41.6853 2.94432 42.4595 2.90564 43.6605 2.90564C45.5585 2.90564 46.6822 3.60249 46.6822 5.46249V6.66357H43.6605C38.5855 6.66357 37.0364 8.71693 37.0364 11.3898C37.0364 14.8376 39.5932 16 42.1501 16C44.7069 16 46.2568 14.7989 46.7603 14.4501V15.8059H50.0921V4.99693C50.0921 1.35502 48.1168 0 44.7069 0H44.7062ZM46.6822 12.4354C45.8299 12.7456 44.28 13.2877 42.8082 13.2877C41.4138 13.2877 40.2901 12.6682 40.2901 11.157C40.2901 9.8005 41.1424 9.10365 43.0016 9.02631L46.6822 8.87087V12.4354Z' fill='#ffffff'/><path d='M73.8005 2.71154H81.7804V0H70.3906V15.8059H81.7804V13.0944H73.8005V9.25834H80.5793V6.58548H73.8005V2.71154Z' fill='#ffffff'/><path d='M98.2073 15.8059V0H94.7209V12.048C93.8686 12.4354 92.6675 13.0557 90.9243 13.0557C88.7549 13.0557 88.0967 11.8546 88.0967 9.29776V0H84.6095V9.7239C84.6095 13.7919 85.9266 16 90.072 16C92.3968 16 93.5592 15.1477 94.7982 14.4501V15.8059H98.2073Z' fill='#ffffff'/><path d='M59.8152 0H53.5398V15.8059H59.8152C65.123 15.8059 67.7958 13.3651 67.7958 7.74863C67.7958 2.8283 64.8902 0.000743702 59.8152 0.000743702V0ZM59.6597 13.0549H57.0255V2.75021H59.6597C62.2947 2.75021 64.2313 4.02863 64.2313 7.74789C64.2313 11.4671 62.9528 13.0549 59.6597 13.0549Z' fill='#ffffff'/><path d='M7.67054 0H1.89867V3.06033C4.64888 2.94432 5.42382 2.90564 6.6249 2.90564C8.52282 2.90564 9.64656 3.60249 9.64656 5.46249V6.66357H6.6249C1.54987 6.66357 0 8.71693 0 11.3898C0 14.8376 2.55685 16 5.11369 16C7.67054 16 9.22041 14.7989 9.7239 14.4501V15.8059H13.0557V4.99693C13.0557 1.35577 11.0797 0 7.67054 0ZM9.64656 12.4354C8.79427 12.7456 7.2444 13.2877 5.77261 13.2877C4.37817 13.2877 3.25444 12.6682 3.25444 11.157C3.25444 9.8005 4.10672 9.10365 5.96598 9.02631L9.64656 8.87087V12.4354Z' fill='#ffffff'/></svg>" !default;
|
|
@@ -723,6 +795,10 @@ $input-group-addon-bg: var(--#{$prefix}gray-100) !default;
|
|
|
723
795
|
$input-placeholder-color: var(--#{$prefix}gray-700) !default;
|
|
724
796
|
$df-iwi-icon-font-color: var(--#{$prefix}primary) !default;
|
|
725
797
|
$df-iwi-icon-font-color: var(--#{$prefix}primary) !default;
|
|
798
|
+
$df-iwi-append-text-padding-right: var(--#{$prefix}spacing-3) !default;
|
|
799
|
+
$df-iwi-append-text-padding-left: var(--#{$prefix}spacing-3) !default;
|
|
800
|
+
$df-iwi-prepend-text-padding-right: var(--#{$prefix}spacing-3) !default;
|
|
801
|
+
$df-iwi-prepend-text-padding-left: var(--#{$prefix}spacing-3) !default;
|
|
726
802
|
|
|
727
803
|
// Link
|
|
728
804
|
$df-link-icononly-color: var(--#{$prefix}link-color-neutral-default-foreground) !default;
|
|
@@ -750,16 +826,18 @@ $df-list-group-focus-box-shadow: $df-focused-inset-box-shadow !default;
|
|
|
750
826
|
$list-group-hover-bg: var(--#{$prefix}primary-100) !default;
|
|
751
827
|
$df-list-group-item-active-border-color: var(--#{$prefix}list-group-border-color) !default;
|
|
752
828
|
$df-list-group-item-border-left-active: var(--#{$prefix}border-width) solid $df-list-group-item-active-border-color !default;
|
|
829
|
+
$list-group-item-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
753
830
|
|
|
754
831
|
// Media object
|
|
755
832
|
$df-media-border-radius-sm: $border-radius-sm !default;
|
|
756
833
|
$df-media-border-radius: $border-radius !default;
|
|
757
834
|
$df-media-border-radius-lg: $border-radius-lg !default;
|
|
758
|
-
$df-interactive-media-hover-background-color: var(--#{$prefix}primary-
|
|
835
|
+
$df-interactive-media-hover-background-color: var(--#{$prefix}color-primary-alt-hovered-background) !default;
|
|
759
836
|
$df-interactive-media-focused-background-color: inherit !default;
|
|
760
837
|
$df-interactive-media-focus-box-shadow-color: var(--#{$prefix}black) !default;
|
|
761
|
-
$df-interactive-media-date-color: var(--#{$prefix}
|
|
762
|
-
$df-interactive-media-color: var(--#{$prefix}
|
|
838
|
+
$df-interactive-media-date-color: var(--#{$prefix}color-subtext-foreground) !default;
|
|
839
|
+
$df-interactive-media-hover-date-color: var(--#{$prefix}color-neutral-alt-hovered-foreground) !default;
|
|
840
|
+
$df-interactive-media-color: var(--#{$prefix}color-neutral-alt-default-foreground) !default;
|
|
763
841
|
$df-interactive-media-heading-font-size-lg: $h2-font-size !default;
|
|
764
842
|
$df-interactive-media-heading-font-size: $h3-font-size !default;
|
|
765
843
|
$df-interactive-media-heading-font-size-sm: $font-size-lg !default;
|
|
@@ -768,12 +846,16 @@ $df-interactive-media-font-size-lg: $font-size-lg !default;
|
|
|
768
846
|
|
|
769
847
|
// Modal
|
|
770
848
|
$modal-header-border-width: 0px !default;
|
|
771
|
-
|
|
772
|
-
$modal-backdrop-bg: var(--color-backdrop-background) !default;
|
|
849
|
+
$modal-backdrop-bg: var(--#{$prefix}color-backdrop-background) !default;
|
|
773
850
|
$df-modal-backdrop-opacity: 1 !default; // opacity defined in the color itself
|
|
774
851
|
$df-modal-box-shadow: $df-box-shadow !default;
|
|
775
|
-
$df-modal-header-padding:
|
|
776
|
-
$
|
|
852
|
+
$df-modal-header-padding: var(--#{$prefix}spacing-5) var(--#{$prefix}spacing-6) var(--#{$prefix}spacing-5)
|
|
853
|
+
var(--#{$prefix}spacing-6) !default;
|
|
854
|
+
$df-modal-footer-padding: var(--#{$prefix}spacing-3) var(--#{$prefix}spacing-6) var(--#{$prefix}spacing-6)
|
|
855
|
+
var(--#{$prefix}spacing-6) !default;
|
|
856
|
+
$df-modal-body-padding: var(--#{$prefix}spacing-5) var(--#{$prefix}spacing-6) var(--#{$prefix}spacing-6)
|
|
857
|
+
var(--#{$prefix}spacing-6) !default;
|
|
858
|
+
$df-modal-body-alert-icon-size: var(--#{$prefix}icons-sizing-3xlarge) !default;
|
|
777
859
|
|
|
778
860
|
// scss-docs-start nav-variables
|
|
779
861
|
// it is the bootstrap value, we need it since we redefine the fontsize using a css var
|
|
@@ -818,6 +900,7 @@ $df-pagination-boundaries-focus-box-shadow:
|
|
|
818
900
|
$df-pagination-font-size-lg: $font-size-lg !default;
|
|
819
901
|
$df-pagination-font-size-active-lg: $h3-font-size !default;
|
|
820
902
|
$pagination-disabled-color: var(--#{$prefix}color-disabled-main-foreground) !default;
|
|
903
|
+
$df-pagination-between-list-item-space: var(--#{$prefix}spacing-2) !default;
|
|
821
904
|
|
|
822
905
|
// Popover
|
|
823
906
|
$popover-border-color: var(--#{$prefix}gray-200) !default;
|
|
@@ -828,10 +911,14 @@ $df-popover-border-radius-lg: $border-radius-lg !default;
|
|
|
828
911
|
$df-popover-header-font-size: $h3-font-size !default;
|
|
829
912
|
$df-popover-header-font-size-sm: $font-size-lg !default;
|
|
830
913
|
$df-popover-header-font-size-lg: $h2-font-size !default;
|
|
914
|
+
$df-popover-padding: var(--#{$prefix}spacing-5) !default;
|
|
915
|
+
$df-popover-header-default-margin: 0 0 var(--#{$prefix}spacing-3) !default;
|
|
831
916
|
|
|
832
917
|
// Progress indicator
|
|
833
918
|
$df-progress-bar-text-color: $gray-800 !default;
|
|
834
919
|
$progress-font-size: $font-size-sm !default;
|
|
920
|
+
$progress-bg: var(--#{$prefix}color-inert-neutral-main-background) !default;
|
|
921
|
+
$progress-bar-bg: var(--#{$prefix}color-primary-main-default-background) !default;
|
|
835
922
|
|
|
836
923
|
// Radio
|
|
837
924
|
$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.5' fill='#{$white}'/></svg>") !default;
|
|
@@ -839,6 +926,11 @@ $df-form-check-radio-checked-bg-color: var(--#{$prefix}primary-500) !default;
|
|
|
839
926
|
$df-form-check-radio-checked-disabled-bg-image: $form-check-radio-checked-bg-image !default;
|
|
840
927
|
$df-radio-group-legend-font-weight: $font-weight-normal !default;
|
|
841
928
|
|
|
929
|
+
// Rating
|
|
930
|
+
$df-rating-focus-box-shadow:
|
|
931
|
+
0 0 0 2px var(--#{$prefix}inner-box-shadow-color, var(--#{$prefix}body-bg)),
|
|
932
|
+
0 0 0 4px var(--#{$prefix}box-shadow-color, $primary) !default;
|
|
933
|
+
|
|
842
934
|
// Select
|
|
843
935
|
$df-select-panel-border-radius: $border-radius !default;
|
|
844
936
|
$df-select-panel-border-radius-sm: $border-radius-sm !default;
|
|
@@ -852,13 +944,15 @@ $df-select-panel-border: none !default;
|
|
|
852
944
|
$df-select-value-height: calc(var(--#{prefix}typo-sizing-default) * $line-height-base) !default;
|
|
853
945
|
$df-select-value-height-sm: calc(var(--#{prefix}typo-sizing-small) * $line-height-sm) !default;
|
|
854
946
|
$df-select-value-height-lg: calc(var(--#{prefix}typo-sizing-large) * $line-height-lg) !default;
|
|
947
|
+
$df-select-witharrow-clear-button-margin: var(--#{$prefix}spacing-3) !default;
|
|
948
|
+
$df-select-disabled-bg: var(--#{$prefix}color-disabled-main-background) !default;
|
|
855
949
|
|
|
856
950
|
// Sidenav
|
|
857
951
|
$df-sidenav-item-active-bg-color: var(--#{$prefix}primary-200) !default; // todo define a var for this ?
|
|
858
952
|
$df-sidenav-list-active-color: var(--#{$prefix}primary-100-color) !default;
|
|
859
953
|
$df-sidenav-item-active-border-color: var(--#{$prefix}primary-800) !default;
|
|
860
954
|
$df-sidenav-item-border-start-active: unset !default;
|
|
861
|
-
$df-sidenav-menu-padding-inline:
|
|
955
|
+
$df-sidenav-menu-padding-inline: var(--#{$prefix}spacing-3) !default;
|
|
862
956
|
$df-sidenav-item-border-radius: $border-radius !default;
|
|
863
957
|
$df-sidenav-item-focused-box-shadow: $input-btn-focus-box-shadow !default;
|
|
864
958
|
$df-sidenav-item-before-focused-content: unset !default;
|
|
@@ -866,8 +960,8 @@ $df-sidenav-item-focused-box-shadow-color: var(--#{$prefix}primary-100-color) !d
|
|
|
866
960
|
$df-sidenav-item-focused-inner-box-shadow-color: var(--#{$prefix}white) !default;
|
|
867
961
|
$df-sidenav-item-focused-z-index: 2 !default;
|
|
868
962
|
$df-sidenav-item-margin: 0 0 1px 0 !default;
|
|
869
|
-
$df-sidenav-item-padding-start:
|
|
870
|
-
$df-sidenav-item-padding-end:
|
|
963
|
+
$df-sidenav-item-padding-start: var(--#{$prefix}spacing-5) !default;
|
|
964
|
+
$df-sidenav-item-padding-end: var(--#{$prefix}spacing-5) !default;
|
|
871
965
|
$df-sidenav-item-icon-color: var(--#{$prefix}primary-100-color) !default;
|
|
872
966
|
$df-sidenav-chevron-icon-color: var(--#{$prefix}primary-500) !default;
|
|
873
967
|
$df-sidenav-chevron-icon-hover-color: var(--#{$prefix}primary-700) !default;
|
|
@@ -875,6 +969,11 @@ $df-sidenav-chevron-icon-active-color: var(--#{$prefix}primary-800) !default;
|
|
|
875
969
|
$df-sidenav-item-extra-icon-height: 0rem !default;
|
|
876
970
|
$df-sidenav-withactivated-item-border-start: unset !default;
|
|
877
971
|
$df-sidenav-item-active-font-weight: $font-weight-bold !default;
|
|
972
|
+
$df-sidenav-menu-padding-top: var(--#{$prefix}spacing-5) !default;
|
|
973
|
+
$df-navbar-toggle-icon-width: 2.25rem !default;
|
|
974
|
+
$df-navbar-toggle-margin-left: var(--#{$prefix}spacing-3) !default;
|
|
975
|
+
$df-navbar-toggle-margin-right: var(--#{$prefix}spacing-3) !default;
|
|
976
|
+
$navbar-toggler-padding-x: 0 !default;
|
|
878
977
|
|
|
879
978
|
// Slider
|
|
880
979
|
$df-slider-pointer-hover-border-color: var(--#{$prefix}border-width) solid var(--#{$prefix}primary-800) !default;
|
|
@@ -885,22 +984,24 @@ $df-slider-pointer-box-shadow: var(--#{$prefix}primary-500) !default; // primary
|
|
|
885
984
|
$df-scrollspy-active-border-left: unset !default;
|
|
886
985
|
$df-scrollspy-border-left: unset !default;
|
|
887
986
|
$df-scrollspy-border-width: unset !default;
|
|
888
|
-
$df-scrollspy-active-color: var(--#{$prefix}
|
|
889
|
-
$df-scrollspy-hover-bg: var(--#{$prefix}primary-
|
|
890
|
-
$df-scrollspy-focus-active-hover-inner-box-shadow: var(--#{$prefix}primary-
|
|
891
|
-
$df-scrollspy-hover-active-font-weight: $font-weight-
|
|
987
|
+
$df-scrollspy-active-color: var(--#{$prefix}color-neutral-alt-active-foreground) !default;
|
|
988
|
+
$df-scrollspy-hover-bg: var(--#{$prefix}color-primary-alt-hovered-background) !default;
|
|
989
|
+
$df-scrollspy-focus-active-hover-inner-box-shadow: var(--#{$prefix}color-primary-alt-activeHovered-background) !default;
|
|
990
|
+
$df-scrollspy-hover-active-font-weight: $font-weight-bold !default;
|
|
892
991
|
$df-scrollspy-hover-text-decoration: unset !default;
|
|
893
|
-
$df-scrollspy-active-font-weight: $font-weight-
|
|
894
|
-
$df-scrollspy-focus-active-inner-box-shadow: var(--#{$prefix}primary-
|
|
895
|
-
$df-scrollspy-focus-box-shadow-color: var(--#{$prefix}
|
|
896
|
-
$df-scrollspy-padding-x: var(--#{$prefix}
|
|
992
|
+
$df-scrollspy-active-font-weight: $font-weight-bold !default;
|
|
993
|
+
$df-scrollspy-focus-active-inner-box-shadow: var(--#{$prefix}color-primary-alt-active-background) !default;
|
|
994
|
+
$df-scrollspy-focus-box-shadow-color: var(--#{$prefix}color-focus-main-border) !default;
|
|
995
|
+
$df-scrollspy-padding-x: var(--#{$prefix}spacing-3) !default;
|
|
996
|
+
$df-scrollspy-active-padding-x: var(--#{$prefix}spacing-3) !default;
|
|
897
997
|
$df-scrollspy-margin-y: 1px !default;
|
|
898
|
-
$df-scrollspy-icon-active-color: var(--#{$prefix}
|
|
998
|
+
$df-scrollspy-icon-active-color: var(--#{$prefix}color-neutral-alt-active-foreground) !default;
|
|
899
999
|
$df-scrollspy-margin-left: 0 !default;
|
|
900
1000
|
$df-scrollspy-active-margin-left: $df-scrollspy-margin-left !default;
|
|
901
|
-
$nav-pills-link-active-bg: var(--#{$prefix}primary-
|
|
1001
|
+
$nav-pills-link-active-bg: var(--#{$prefix}color-primary-alt-active-background) !default;
|
|
902
1002
|
$nav-pills-border-radius: $border-radius !default;
|
|
903
|
-
$nav-link-padding-x:
|
|
1003
|
+
$nav-link-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
1004
|
+
$df-scrollspy-color: var(--#{$prefix}color-neutral-alt-default-foreground) !default;
|
|
904
1005
|
|
|
905
1006
|
// Skip to content
|
|
906
1007
|
$df-skip-links-border-radius: $border-radius !default;
|
|
@@ -911,6 +1012,7 @@ $df-speech-border-radius: $border-radius !default;
|
|
|
911
1012
|
$df-speech-border-radius-sm: $border-radius-sm !default;
|
|
912
1013
|
$df-speech-border-radius-lg: $border-radius-lg !default;
|
|
913
1014
|
$df-speech-btn-border-radius: $border-radius !default;
|
|
1015
|
+
$df-speech-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
914
1016
|
|
|
915
1017
|
// Stepper
|
|
916
1018
|
$df-stepper-steps-colors: (
|
|
@@ -948,24 +1050,39 @@ $df-tables-aggrid-alpine-active-color: var(--#{$prefix}primary-200) !default;
|
|
|
948
1050
|
$df-tables-aggrid-hover-color: var(--#{$prefix}primary-100) !default;
|
|
949
1051
|
$df-tables-aggrid-selected-row-background-color: var(--#{$prefix}primary-200) !default;
|
|
950
1052
|
$df-tables-aggrid-input-focus-border-color: var(--#{$prefix}gray-900) !default;
|
|
1053
|
+
$table-cell-padding-x: var(--#{$prefix}spacing-3) !default;
|
|
1054
|
+
$df-tables-aggrid-cell-padding-left: var(--#{$prefix}spacing-3) !default;
|
|
1055
|
+
$df-tables-aggrid-cell-padding-right: var(--#{$prefix}spacing-3) !default;
|
|
951
1056
|
|
|
952
1057
|
$df-tables-aggrid-pagination-secondary-elements-font-size: $font-size-sm !default; // 14px normal
|
|
953
1058
|
// Tabset
|
|
954
1059
|
$df-tabs-active-border-bottom-width: 3px !default;
|
|
955
1060
|
$df-tabs-focus-box-shadow: $df-focused-inset-box-shadow !default;
|
|
956
|
-
$df-tabs-active-inner-box-shadow-color: var(--#{$prefix}primary-
|
|
957
|
-
$nav-tabs-link-active-color: var(--#{$prefix}
|
|
958
|
-
$nav-pills-link-active-color: var(--#{$prefix}
|
|
1061
|
+
$df-tabs-active-inner-box-shadow-color: var(--#{$prefix}color-primary-alt-hovered-background) !default;
|
|
1062
|
+
$nav-tabs-link-active-color: var(--#{$prefix}color-neutral-alt-active-foreground) !default;
|
|
1063
|
+
$nav-pills-link-active-color: var(--#{$prefix}color-neutral-alt-active-foreground) !default;
|
|
959
1064
|
$df-tabs-between-item-margin: 0px !default;
|
|
960
|
-
$df-tabs-active-border-bottom: $df-tabs-active-border-bottom-width solid
|
|
1065
|
+
$df-tabs-active-border-bottom: $df-tabs-active-border-bottom-width solid
|
|
1066
|
+
var(--#{$prefix}color-primary-alt-active-border) !default;
|
|
961
1067
|
$df-tabs-item-active-font-weight: $font-weight-bold !default;
|
|
962
|
-
$
|
|
1068
|
+
$df-tabs-links-not-active-color: var(--#{$prefix}color-neutral-alt-default-foreground) !default;
|
|
1069
|
+
$df-tabs-disabled-color: var(--#{$prefix}color-disabled-main-foreground) !default;
|
|
963
1070
|
$df-tabs-hover-text-decoration: none !default;
|
|
964
|
-
$nav-link-hover-color: var(--#{$prefix}
|
|
965
|
-
$df-tabs-active-hover-border-bottom: $df-tabs-active-border-bottom-width solid
|
|
1071
|
+
$nav-link-hover-color: var(--#{$prefix}color-neutral-alt-hovered-foreground) !default;
|
|
1072
|
+
$df-tabs-active-hover-border-bottom: $df-tabs-active-border-bottom-width solid
|
|
1073
|
+
var(--#{$prefix}color-primary-alt-activeHovered-border) !default;
|
|
1074
|
+
$df-tabs-content-tab-pane-padding: var(--#{$prefix}spacing-6) var(--#{$prefix}spacing-5) !default;
|
|
1075
|
+
$df-tabs-padding-y: var(--#{$prefix}spacing-3) !default;
|
|
1076
|
+
$nav-tabs-border-color: var(--#{$prefix}color-inert-neutral-main-border) !default;
|
|
1077
|
+
$df-tabs-hover-bg-color: var(--#{$prefix}color-primary-alt-hovered-background) !default;
|
|
1078
|
+
|
|
1079
|
+
// Timepicker
|
|
1080
|
+
$df-timepicker-spacer-width: var(--#{$prefix}spacing-5) !default;
|
|
1081
|
+
|
|
966
1082
|
// Toast
|
|
967
1083
|
$toast-border-width: 0 !default;
|
|
968
1084
|
$toast-padding-y: 0.6rem !default;
|
|
1085
|
+
$toast-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
969
1086
|
$df-toast-insert-icon-top: 0.8rem !default;
|
|
970
1087
|
$df-toast-btn-font-weight: $font-weight-semibold !default;
|
|
971
1088
|
$df-toast-close-inner-boxshadow-color: var(--#{$prefix}toast-bg) !default;
|
|
@@ -979,6 +1096,7 @@ $df-toast-line-height: 1.75rem !default;
|
|
|
979
1096
|
$toast-font-size: $font-size-sm !default;
|
|
980
1097
|
$toast-border-radius: var(--#{$prefix}borderRadius-main-small) !default;
|
|
981
1098
|
$df-toast-btn-close-border-radius: $border-radius-sm !default;
|
|
1099
|
+
$df-toast-btn-close-margin-x: var(--#{$prefix}spacing-3) !default;
|
|
982
1100
|
|
|
983
1101
|
// Toggle/switch
|
|
984
1102
|
$df-switch-box-shadow-opacity: 1 !default;
|
|
@@ -988,11 +1106,16 @@ $df-checkbox-checked-disabled-bg-color: var(--#{$prefix}gray-200) !default;
|
|
|
988
1106
|
$df-checkbox-disabled-border-color: var(--#{$prefix}gray-400) !default;
|
|
989
1107
|
$df-checkbox-box-shadow-color: $input-border-color !default;
|
|
990
1108
|
$df-switch-label-font-weight: $font-weight-medium !default;
|
|
1109
|
+
$df-switch-label-padding-start: var(--#{$prefix}spacing-3) !default;
|
|
1110
|
+
$df-switch-container-margin-top: var(--#{$prefix}spacing-3) !default;
|
|
991
1111
|
|
|
992
1112
|
// Tooltip
|
|
993
1113
|
$tooltip-bg: var(--#{$prefix}gray-700) !default;
|
|
994
1114
|
$tooltip-border-radius: $border-radius !default;
|
|
995
1115
|
$tooltip-font-size: $font-size-base !default;
|
|
1116
|
+
$tooltip-padding-x: var(--#{$prefix}spacing-5) !default;
|
|
1117
|
+
$df-tooltip-padding-x-sm: var(--#{$prefix}spacing-3) !default;
|
|
1118
|
+
$df-tooltip-padding-x-lg: var(--#{$prefix}spacing-6) !default;
|
|
996
1119
|
|
|
997
1120
|
// General
|
|
998
1121
|
$mark-bg: var(--#{$prefix}gray-700) !default;
|