@design-factory/design-factory 20.0.0-next.0 → 20.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/design-factory-initial-branding.css +1 -1
- package/design-factory.css +2 -2
- package/fesm2022/design-factory.mjs +364 -371
- package/fesm2022/design-factory.mjs.map +1 -1
- package/index.d.ts +39 -121
- package/package.json +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/components/accordion/_accordion.scss +7 -0
- package/styles/scss/components/alert/_alert.scss +9 -6
- package/styles/scss/components/badge/_badge.mixins.scss +10 -0
- package/styles/scss/components/badge/_badge.scss +106 -50
- 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 +8 -0
- package/styles/scss/components/card/_card.scss +14 -0
- package/styles/scss/components/card/_card.variables.scss +2 -0
- package/styles/scss/components/carousel/_carousel.scss +2 -2
- package/styles/scss/components/datepicker/_datepicker.scss +2 -1
- package/styles/scss/components/dropdown/_dropdown.scss +1 -1
- 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.scss +3 -3
- package/styles/scss/components/modal/_modal.scss +17 -4
- package/styles/scss/components/modal/_modal.variables.scss +1 -0
- package/styles/scss/components/pagination/_pagination.scss +5 -0
- package/styles/scss/components/rating/_rating.scss +18 -2
- package/styles/scss/components/scrollspy/_scrollspy.scss +1 -1
- package/styles/scss/components/sidenav/_sidenav.scss +2 -2
- package/styles/scss/components/stepper/_stepper.variables.scss +3 -3
- package/styles/scss/components/tabs/_tabs.scss +5 -1
- package/styles/scss/components/timepicker/_timepicker.scss +5 -0
- package/styles/scss/components/timepicker/_timepicker.variables.scss +1 -0
- 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/df-styles.scss +1 -0
- package/styles/scss/themes/brand2023/_variables.scss +111 -12
- package/styles/scss/themes/brand2023/tokens/_figma.gen.scss +13 -13
|
@@ -11,16 +11,19 @@
|
|
|
11
11
|
--#{$prefix}breadcrumb-icon-margin: #{$df-breadcrumb-icon-margin};
|
|
12
12
|
--#{$prefix}breadcrumb-icon-angle-left-content: #{$df-breadcrumb-icon-angle-left-content};
|
|
13
13
|
--#{$prefix}breadcrumb-icon-angle-right-content: #{$df-breadcrumb-icon-angle-right-content};
|
|
14
|
+
--#{$prefix}breadcrumb-item-icon-margin-inline-end: #{$df-breadcrumb-item-icon-margin-inline-end};
|
|
14
15
|
|
|
15
16
|
&.breadcrumb-sm {
|
|
16
17
|
--#{$prefix}breadcrumb-font-size: #{$font-size-sm};
|
|
17
18
|
--#{$prefix}breadcrumb-item-before-padding: #{$df-breadcrumb-item-before-padding-sm};
|
|
19
|
+
--#{$prefix}breadcrumb-item-icon-margin-inline-end: #{$df-breadcrumb-item-icon-margin-inline-end-sm};
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
&.breadcrumb-lg {
|
|
21
23
|
// todo create a css variable for body-font-size-lg and sm
|
|
22
24
|
--#{$prefix}breadcrumb-font-size: #{$font-size-lg};
|
|
23
25
|
--#{$prefix}breadcrumb-item-before-padding: #{$df-breadcrumb-item-before-padding-lg};
|
|
26
|
+
--#{$prefix}breadcrumb-item-icon-margin-inline-end: #{$df-breadcrumb-item-icon-margin-inline-end-lg};
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
.breadcrumb-item {
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
.df-breadcrumb-item-icon {
|
|
55
|
-
margin-inline-end: $
|
|
58
|
+
margin-inline-end: var(--#{$prefix}breadcrumb-item-icon-margin-inline-end);
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
&:nth-of-type(2):before {
|
|
@@ -8,7 +8,9 @@ $df-breadcrumb-item-display: none !default;
|
|
|
8
8
|
$df-breadcrumb-icon-display: none !default;
|
|
9
9
|
$df-breadcrumb-item-two-last-items-display: inline !default;
|
|
10
10
|
|
|
11
|
-
$df-breadcrumb-item-icon-margin-inline-end: 0.
|
|
11
|
+
$df-breadcrumb-item-icon-margin-inline-end: 0.25rem !default;
|
|
12
|
+
$df-breadcrumb-item-icon-margin-inline-end-sm: 0.125rem !default;
|
|
13
|
+
$df-breadcrumb-item-icon-margin-inline-end-lg: 0.5rem !default;
|
|
12
14
|
|
|
13
15
|
$df-breadcrumb-icon-xs-display: inline !default;
|
|
14
16
|
$df-breadcrumb-icon-color: shades-css-var('primary', 'inert-color') !default;
|
|
@@ -89,6 +89,14 @@
|
|
|
89
89
|
|
|
90
90
|
.btn-close {
|
|
91
91
|
--#{$prefix}box-shadow-width: #{$df-btn-close-focus-shadow-width};
|
|
92
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
93
|
+
&:hover {
|
|
94
|
+
background-color: var(--#{$prefix}button-text-basic-color-neutral-hovered-background);
|
|
95
|
+
}
|
|
96
|
+
&:active {
|
|
97
|
+
background-color: var(--#{$prefix}button-text-basic-color-neutral-pressed-background);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
92
100
|
}
|
|
93
101
|
|
|
94
102
|
.show > .btn:not(:disabled):not(.disabled).dropdown-toggle {
|
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
--#{$prefix}accordion-card-last-body-border-top: #{$df-accordion-card-last-body-border-top};
|
|
33
33
|
--#{$prefix}accordion-card-between-border-radius: #{$df-accordion-card-between-border-radius};
|
|
34
34
|
--#{$prefix}accordion-card-between-border-top: #{$df-accordion-card-between-border-top};
|
|
35
|
+
--#{$prefix}card-text-margin-block-end: #{$df-card-text-margin-block-end};
|
|
36
|
+
--#{$prefix}card-subtitle-margin-block-end: #{$df-card-subtitle-margin-block-end};
|
|
35
37
|
|
|
36
38
|
box-shadow: var(--#{$prefix}card-box-shadow);
|
|
37
39
|
|
|
@@ -39,6 +41,18 @@
|
|
|
39
41
|
font-weight: var(--#{$prefix}card-title-font-weight);
|
|
40
42
|
}
|
|
41
43
|
|
|
44
|
+
.card-text {
|
|
45
|
+
margin-block-end: var(--#{$prefix}card-text-block-end);
|
|
46
|
+
|
|
47
|
+
&:last-child {
|
|
48
|
+
margin-block-end: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.card-subtitle {
|
|
53
|
+
margin-block-end: var(--#{$prefix}card-subtitle-margin-block-end);
|
|
54
|
+
}
|
|
55
|
+
|
|
42
56
|
&.border-0 {
|
|
43
57
|
box-shadow: none;
|
|
44
58
|
}
|
|
@@ -29,3 +29,5 @@ $df-accordion-card-last-border-bottom-width: 0px !default;
|
|
|
29
29
|
$df-accordion-card-last-body-border-top: $border-width $border-style var(--#{$prefix}gray-200) !default;
|
|
30
30
|
$df-accordion-card-between-border-radius: 0px !default;
|
|
31
31
|
$df-accordion-card-between-border-top: $border-width $border-style var(--#{$prefix}gray-200) !default;
|
|
32
|
+
$df-card-text-margin-block-end: 1rem !default;
|
|
33
|
+
$df-card-subtitle-margin-block-end: 0.25rem !default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--#{$prefix}carousel-caption-padding-bottom: #{$df-carousel-caption-padding-bottom};
|
|
9
9
|
--#{$prefix}carousel-caption-padding-top: #{$df-carousel-caption-padding-top};
|
|
10
10
|
--#{$prefix}carousel-indicator-bg-size: 50% 50%;
|
|
11
|
-
&:focus {
|
|
11
|
+
&:focus-visible {
|
|
12
12
|
outline: var(--#{$prefix}carousel-outline);
|
|
13
13
|
box-shadow: $df-carousel-focused-box-shadow;
|
|
14
14
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
background-size: var(--#{$prefix}carousel-indicator-bg-size);
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
|
|
42
42
|
.carousel-caption {
|
|
43
43
|
background-color: var(--#{$prefix}carousel-indicator-bg-color); // add
|
|
44
44
|
bottom: var(--#{$prefix}carousel-caption-bottom); // override
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
height: var(--#{$prefix}datepicker-arrow-height);
|
|
51
51
|
border-radius: var(--#{$prefix}datepicker-arrow-border-radius);
|
|
52
52
|
|
|
53
|
-
&:focus {
|
|
53
|
+
&:focus-visible {
|
|
54
54
|
outline: $df-datepicker-focused-outline;
|
|
55
55
|
box-shadow: $df-datepicker-focused-box-shadow;
|
|
56
56
|
}
|
|
@@ -348,6 +348,7 @@ ngb-datepicker {
|
|
|
348
348
|
|
|
349
349
|
.input-group {
|
|
350
350
|
--#{$prefix}iwi-dpr-focus-border: #{$df-input-datepicker-range-focus-border};
|
|
351
|
+
box-shadow: none !important;
|
|
351
352
|
}
|
|
352
353
|
}
|
|
353
354
|
|
|
@@ -109,7 +109,7 @@ body,
|
|
|
109
109
|
&.active {
|
|
110
110
|
font-weight: $df-dropdown-item-active-font-weight;
|
|
111
111
|
}
|
|
112
|
-
&:focus,
|
|
112
|
+
&:focus-visible,
|
|
113
113
|
&.focus {
|
|
114
114
|
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
115
115
|
--#{$prefix}box-shadow-color: #{shades-css-var('primary', 'bg-subtle-active-color', true)};
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
.df-rond-icon-only-focusable {
|
|
24
24
|
outline: none;
|
|
25
|
-
&:focus {
|
|
25
|
+
&:focus-visible {
|
|
26
26
|
&::before {
|
|
27
27
|
box-shadow: $df-icon-focused-box-shadow;
|
|
28
28
|
border-radius: 50%;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
.df-square-icon-only-focusable {
|
|
33
33
|
outline: none;
|
|
34
|
-
&:focus {
|
|
34
|
+
&:focus-visible {
|
|
35
35
|
&::before {
|
|
36
36
|
box-shadow: $df-icon-focused-box-shadow;
|
|
37
37
|
}
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
box-shadow: none; // override mandatory
|
|
96
|
-
&:focus {
|
|
96
|
+
&:focus-visible {
|
|
97
97
|
@include ltr {
|
|
98
98
|
border-right-color: var(--#{$prefix}iwi-border-between-color); // override mandatory
|
|
99
99
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
box-shadow: none; // override mandatory
|
|
115
115
|
padding-left: 0px; // override mandatory
|
|
116
|
-
&:focus {
|
|
116
|
+
&:focus-visible {
|
|
117
117
|
@include ltr {
|
|
118
118
|
border-left-color: var(--#{$prefix}iwi-border-between-color); // override mandatory
|
|
119
119
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
border-radius: var(--#{$prefix}iwi-icon-border-radius);
|
|
61
61
|
line-height: var(--#{$prefix}iwi-icon-line-height);
|
|
62
62
|
}
|
|
63
|
-
&:focus {
|
|
63
|
+
&:focus-visible {
|
|
64
64
|
outline: none; // override mandatory
|
|
65
65
|
&:before {
|
|
66
66
|
box-shadow: var(--#{$prefix}iwi-focused-box-shadow);
|
|
@@ -252,7 +252,7 @@ input[type='search']::-webkit-search-decoration {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
&:has(input.df-input-withicon.prepend:focus) {
|
|
255
|
+
&:has(input.df-input-withicon.prepend:focus-visible) {
|
|
256
256
|
@extend .df-focused;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
@@ -264,7 +264,7 @@ input[type='search']::-webkit-search-decoration {
|
|
|
264
264
|
&:has(.input-group-prepend) {
|
|
265
265
|
@extend .df-input-prepend;
|
|
266
266
|
}
|
|
267
|
-
&:has(input.df-input-withicon:focus) {
|
|
267
|
+
&:has(input.df-input-withicon:focus-visible) {
|
|
268
268
|
@extend .df-focused;
|
|
269
269
|
}
|
|
270
270
|
.df-input-withicon:has(~ .input-group-append) {
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
--#{$prefix}modal-xs-footer-margin-top: #{$df-modal-xs-footer-margin-top};
|
|
42
42
|
--#{$prefix}modal-last-paragraph-margin-bottom: #{$df-modal-last-paragraph-margin-bottom};
|
|
43
43
|
--#{$prefix}modal-footer-padding: #{$df-modal-footer-padding};
|
|
44
|
+
--#{$prefix}modal-body-padding: #{$df-modal-body-padding};
|
|
44
45
|
|
|
45
46
|
overflow-x: hidden;
|
|
46
47
|
overflow-y: auto;
|
|
@@ -70,11 +71,14 @@
|
|
|
70
71
|
margin-right: auto;
|
|
71
72
|
margin-left: 0;
|
|
72
73
|
}
|
|
73
|
-
&:focus:not(:
|
|
74
|
+
&:focus:not(:focus-visible) {
|
|
75
|
+
box-shadow: none;
|
|
76
|
+
}
|
|
77
|
+
&:focus-visible:not(:hover):not(:active) {
|
|
74
78
|
color: var(--#{$prefix}modal-header-button-color-focus);
|
|
75
79
|
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-color-focus);
|
|
76
80
|
}
|
|
77
|
-
&:focus:hover:not(:active) {
|
|
81
|
+
&:focus-visible:hover:not(:active) {
|
|
78
82
|
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-color-hover-focus);
|
|
79
83
|
color: var(--#{$prefix}modal-header-button-color-hover-focus);
|
|
80
84
|
}
|
|
@@ -84,16 +88,24 @@
|
|
|
84
88
|
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
|
|
85
89
|
background: var(--#{$prefix}modal-header-button-color-hover-bg) $btn-close-bg center/0.8rem auto no-repeat;
|
|
86
90
|
}
|
|
87
|
-
&:focus:active:not(:hover) {
|
|
91
|
+
&:focus-visible:active:not(:hover) {
|
|
88
92
|
color: var(--#{$prefix}modal-header-button-active-color);
|
|
89
93
|
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-active-color);
|
|
90
94
|
|
|
91
95
|
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
|
|
92
96
|
background: var(--#{$prefix}modal-header-button-active-bg) $btn-close-bg center/0.8rem auto no-repeat;
|
|
93
97
|
}
|
|
94
|
-
&:focus:active:hover {
|
|
98
|
+
&:focus-visible:active:hover {
|
|
95
99
|
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-color-hover-focus);
|
|
96
100
|
}
|
|
101
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
102
|
+
&:hover {
|
|
103
|
+
background-color: var(--#{$prefix}button-text-basic-color-neutral-hovered-background);
|
|
104
|
+
}
|
|
105
|
+
&:active {
|
|
106
|
+
background-color: var(--#{$prefix}button-text-basic-color-neutral-pressed-background);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
97
109
|
}
|
|
98
110
|
|
|
99
111
|
.alert-modal-icon {
|
|
@@ -110,6 +122,7 @@
|
|
|
110
122
|
}
|
|
111
123
|
|
|
112
124
|
.modal-body {
|
|
125
|
+
padding: var(--#{$prefix}modal-body-padding);
|
|
113
126
|
p:last-child {
|
|
114
127
|
margin-bottom: var(--#{$prefix}modal-last-paragraph-margin-bottom);
|
|
115
128
|
}
|
|
@@ -24,5 +24,6 @@ $df-modal-xs-footer-margin-top: 0.9375rem !default;
|
|
|
24
24
|
|
|
25
25
|
$df-modal-last-paragraph-margin-bottom: 0 !default;
|
|
26
26
|
$df-modal-footer-padding: map.get($spacers, 5) map.get($spacers, 6) !default;
|
|
27
|
+
$df-modal-body-padding: map.get($spacers, 5) map.get($spacers, 6) !default;
|
|
27
28
|
$df-modal-btn-close-opacity: 1 !default;
|
|
28
29
|
$df-modal-btn-close-hover-opacity: 1 !default;
|
|
@@ -78,11 +78,16 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
&:focus {
|
|
81
|
+
box-shadow: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:focus-visible {
|
|
81
85
|
z-index: 2;
|
|
82
86
|
|
|
83
87
|
&:hover {
|
|
84
88
|
--#{$prefix}pagination-focus-bg: var(--#{$prefix}pagination-hover-bg);
|
|
85
89
|
}
|
|
90
|
+
box-shadow: var(--#{$prefix}pagination-focus-box-shadow);
|
|
86
91
|
}
|
|
87
92
|
|
|
88
93
|
z-index: initial; // overides z-index: 2 so that it is below the active page link
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
+
@use 'sass:meta';
|
|
2
3
|
|
|
3
4
|
// flag angular
|
|
4
5
|
// stylelint-disable-next-line selector-type-no-unknown
|
|
@@ -20,6 +21,9 @@ ngb-rating {
|
|
|
20
21
|
--#{$prefix}rating-box-shadow: #{$df-rating-box-shadow};
|
|
21
22
|
--#{$prefix}rating-focus-box-shadow: #{$df-rating-focus-box-shadow};
|
|
22
23
|
--#{$prefix}rating-border-color: #{$df-rating-border-color};
|
|
24
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
25
|
+
--#{$prefix}box-shadow-color: var(--#{$prefix}rating-color);
|
|
26
|
+
}
|
|
23
27
|
|
|
24
28
|
font-size: var(--#{$prefix}rating-font-size);
|
|
25
29
|
color: var(--#{$prefix}rating-color);
|
|
@@ -37,17 +41,23 @@ ngb-rating {
|
|
|
37
41
|
box-shadow: var(--#{$prefix}rating-box-shadow);
|
|
38
42
|
border-color: var(--#{$prefix}rating-border-color);
|
|
39
43
|
|
|
40
|
-
&:not([aria-disabled='true']):focus {
|
|
44
|
+
&:not([aria-disabled='true']):focus-visible {
|
|
41
45
|
border: var(--#{$prefix}rating-focus-border);
|
|
42
46
|
box-shadow: var(--#{$prefix}rating-focus-box-shadow);
|
|
43
47
|
}
|
|
44
48
|
|
|
45
49
|
&:hover {
|
|
46
50
|
color: var(--#{$prefix}rating-hover-color);
|
|
51
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
52
|
+
--#{$prefix}box-shadow-color: var(--#{$prefix}rating-hover-color);
|
|
53
|
+
}
|
|
47
54
|
}
|
|
48
55
|
|
|
49
56
|
&:active {
|
|
50
57
|
color: var(--#{$prefix}rating-active-color);
|
|
58
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
59
|
+
--#{$prefix}box-shadow-color: var(--#{$prefix}rating-active-color);
|
|
60
|
+
}
|
|
51
61
|
}
|
|
52
62
|
|
|
53
63
|
&[aria-disabled='true'] {
|
|
@@ -60,7 +70,13 @@ ngb-rating {
|
|
|
60
70
|
}
|
|
61
71
|
|
|
62
72
|
&.ng-invalid {
|
|
63
|
-
@
|
|
73
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
74
|
+
--#{$prefix}rating-color: var(--#{$prefix}color-danger-main-default-foreground);
|
|
75
|
+
--#{$prefix}rating-hover-color: var(--#{$prefix}color-danger-main-hovered-foreground);
|
|
76
|
+
--#{$prefix}rating-active-color: var(--#{$prefix}color-danger-main-pressed-foreground);
|
|
77
|
+
} @else {
|
|
78
|
+
@extend .text-danger;
|
|
79
|
+
}
|
|
64
80
|
}
|
|
65
81
|
|
|
66
82
|
//the 0px margins belows ensure that the full stars overlap the empty ones
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
border-left: var(--#{$prefix}scrollspy-navpill-border-left);
|
|
33
33
|
//used when not active for old branding for the border-left to imitate a scrollbar
|
|
34
34
|
border-width: var(--#{$prefix}scrollspy-navpill-border-width);
|
|
35
|
+
display: flex;
|
|
35
36
|
|
|
36
37
|
&.active {
|
|
37
38
|
.df-icon-inlink {
|
|
@@ -59,7 +60,6 @@
|
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
&:focus,
|
|
63
63
|
&:focus-visible {
|
|
64
64
|
// we are using this new scss var and not --#{$prefix}scrollspy-color because it will impact the old branding
|
|
65
65
|
--#{$prefix}box-shadow-color: #{$df-scrollspy-focus-box-shadow-color};
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
&:focus,
|
|
201
|
+
&:focus-visible,
|
|
202
202
|
&.focus {
|
|
203
203
|
// Title can never be focus
|
|
204
204
|
--#{$prefix}box-shadow-color: var(--#{$prefix}sidenav-item-focused-box-shadow-color);
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
font-weight: var(--#{$prefix}sidenav-item-active-font-weight);
|
|
235
235
|
border-inline-start: var(--#{$prefix}sidenav-item-border-start-active);
|
|
236
236
|
|
|
237
|
-
&:focus,
|
|
237
|
+
&:focus-visible,
|
|
238
238
|
&.focus {
|
|
239
239
|
// Title can never be focus
|
|
240
240
|
&:before {
|
|
@@ -35,11 +35,11 @@ $df-stepper-step-padding-y: $btn-padding-y !default;
|
|
|
35
35
|
$df-stepper-step-padding-x: 0.75rem !default;
|
|
36
36
|
// TODO put a link in this ot the ratios of the button? Must be the same
|
|
37
37
|
$df-stepper-step-padding-y-sm: $btn-padding-y * map.get($df-sizing-ratios, 'sm') !default;
|
|
38
|
-
$df-stepper-step-padding-x-sm: $btn-padding-x * map.get($df-size-ratios, 'sm') !default;
|
|
38
|
+
$df-stepper-step-padding-x-sm: calc($btn-padding-x * map.get($df-size-ratios, 'sm')) !default;
|
|
39
39
|
$df-stepper-step-padding-y-lg: $btn-padding-y * map.get($df-sizing-ratios, 'lg') !default;
|
|
40
|
-
$df-stepper-step-padding-x-lg: $btn-padding-x * map.get($df-size-ratios, 'lg') !default;
|
|
40
|
+
$df-stepper-step-padding-x-lg: calc($btn-padding-x * map.get($df-size-ratios, 'lg')) !default;
|
|
41
41
|
$df-stepper-step-padding-y-xl: $btn-padding-y * map.get($df-sizing-ratios, 'xl') !default;
|
|
42
|
-
$df-stepper-step-padding-x-xl: $btn-padding-x * map.get($df-size-ratios, 'xl') !default;
|
|
42
|
+
$df-stepper-step-padding-x-xl: calc($btn-padding-x * map.get($df-size-ratios, 'xl')) !default;
|
|
43
43
|
$df-stepper-step-height: auto !default;
|
|
44
44
|
$df-stepper-hl-height: 0px !default;
|
|
45
45
|
$df-stepper-hl-margin: 2 * $border-width 0 0 0 !default; //0.5
|
|
@@ -63,6 +63,10 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
&:focus {
|
|
66
|
+
box-shadow: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:focus-visible {
|
|
66
70
|
// override
|
|
67
71
|
outline: var(--#{$prefix}tabs-focus-outline); // add to override default
|
|
68
72
|
box-shadow: var(--#{$prefix}tabs-focus-box-shadow); // add
|
|
@@ -217,7 +221,7 @@
|
|
|
217
221
|
}
|
|
218
222
|
}
|
|
219
223
|
|
|
220
|
-
&:focus {
|
|
224
|
+
&:focus-visible {
|
|
221
225
|
outline: 0;
|
|
222
226
|
box-shadow: $df-tabs-focus-box-shadow;
|
|
223
227
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$df-timepicker-spacer-width: 1em !default;
|
|
@@ -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;
|
|
@@ -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';
|