@design-factory/design-factory 16.0.2 → 17.0.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/README.md +30 -14
- package/assets/fonts/amadeus-neue/bold/{AmadeusNeue-Bold.woff → AmadeusNeueWeb-Bold.woff} +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-Bold.woff2 +0 -0
- package/assets/fonts/amadeus-neue/bold/{AmadeusNeue-BoldItalic.woff → AmadeusNeueWeb-BoldItalic.woff} +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-BoldItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/{AmadeusNeue-Light.woff → AmadeusNeueWeb-Light.woff} +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-Light.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/{AmadeusNeue-LightItalic.woff → AmadeusNeueWeb-LightItalic.woff} +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-LightItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/{AmadeusNeue-Medium.woff → AmadeusNeueWeb-Medium.woff} +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-Medium.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/{AmadeusNeue-MediumItalic.woff → AmadeusNeueWeb-MediumItalic.woff} +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-MediumItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/{AmadeusNeue-Regular.woff → AmadeusNeueWeb-Regular.woff} +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-Regular.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/{AmadeusNeue-RegularItalic.woff → AmadeusNeueWeb-RegularItalic.woff} +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-RegularItalic.woff2 +0 -0
- package/design-factory-initial-branding.css +1 -1
- package/design-factory.css +1 -1
- package/esm2022/lib/angular/accessibility/accessibility.module.mjs +4 -4
- package/esm2022/lib/angular/accessibility/components/skip-links-container/skip-links-container.component.mjs +5 -5
- package/esm2022/lib/angular/accessibility/directives/skip-link.directive.mjs +6 -6
- package/esm2022/lib/angular/alert/alert.module.mjs +4 -4
- package/esm2022/lib/angular/card/card-advanced.module.mjs +4 -4
- package/esm2022/lib/angular/card/manage-card-selection.directive.mjs +5 -5
- package/esm2022/lib/angular/datepicker/closedatepicker.directive.mjs +5 -5
- package/esm2022/lib/angular/datepicker/datepicker-keyboard-nav.service.mjs +3 -3
- package/esm2022/lib/angular/datepicker/datepicker-range.directive.mjs +4 -4
- package/esm2022/lib/angular/datepicker/datepicker-range.service.mjs +4 -4
- package/esm2022/lib/angular/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/lib/angular/df.module.mjs +4 -4
- package/esm2022/lib/angular/footer/footer.module.mjs +4 -4
- package/esm2022/lib/angular/icon/amadeus-icon.mjs +3 -3
- package/esm2022/lib/angular/icon/icon.module.mjs +4 -4
- package/esm2022/lib/angular/icon/insert/insert-icon.directive.mjs +4 -4
- package/esm2022/lib/angular/icon/insert/insert-icon.module.mjs +4 -4
- package/esm2022/lib/angular/inputs/click/trigger-click.directive.mjs +5 -5
- package/esm2022/lib/angular/inputs/icon/inputicon.directive.mjs +5 -5
- package/esm2022/lib/angular/inputs/input-advanced.module.mjs +4 -4
- package/esm2022/lib/angular/mediaqueries/ifMedia.directive.mjs +5 -5
- package/esm2022/lib/angular/mediaqueries/media.module.mjs +4 -4
- package/esm2022/lib/angular/mediaqueries/media.service.mjs +4 -4
- package/esm2022/lib/angular/mediaqueries/mediaUtils.service.mjs +14 -14
- package/esm2022/lib/angular/modal/modal.service.mjs +4 -4
- package/esm2022/lib/angular/popover/config/popover.config.mjs +7 -8
- package/esm2022/lib/angular/popover/popover.module.mjs +4 -4
- package/esm2022/lib/angular/progressbar/progressbar.component.mjs +5 -7
- package/esm2022/lib/angular/progressbar/progressbar.module.mjs +5 -5
- package/esm2022/lib/angular/progressindicator/default/default-spinner.component.mjs +5 -5
- package/esm2022/lib/angular/progressindicator/progressindicator-backdrop.component.mjs +3 -3
- package/esm2022/lib/angular/progressindicator/progressindicator-container.component.mjs +3 -3
- package/esm2022/lib/angular/progressindicator/progressindicator.directive.mjs +5 -5
- package/esm2022/lib/angular/progressindicator/progressindicator.module.mjs +4 -4
- package/esm2022/lib/angular/progressindicator/progressindicator.service.mjs +5 -5
- package/esm2022/lib/angular/right-to-left/directionDetection.service.mjs +3 -3
- package/esm2022/lib/angular/selects/events/manage-badge-events.directive.mjs +5 -5
- package/esm2022/lib/angular/selects/nav/manage-nav-select.directive.mjs +6 -6
- package/esm2022/lib/angular/selects/option-highlight.directive.mjs +5 -5
- package/esm2022/lib/angular/selects/select.module.mjs +4 -4
- package/esm2022/lib/angular/sidenav/dfSideNavCollapse.mjs +5 -5
- package/esm2022/lib/angular/sidenav/dfSideNavCollapse.module.mjs +4 -4
- package/esm2022/lib/angular/sidenav/dfSideNavCollapse.service.mjs +4 -4
- package/esm2022/lib/angular/sidenav/dfSideNavCollapseConfig.mjs +4 -4
- package/esm2022/lib/angular/sidenav/excludeTrap.directive.mjs +5 -5
- package/esm2022/lib/angular/sidenav/manage-sidenav.directive.mjs +4 -4
- package/esm2022/lib/angular/sidenav/sidenav-config.mjs +3 -3
- package/esm2022/lib/angular/sidenav/sidenav.component.mjs +18 -18
- package/esm2022/lib/angular/sidenav/sidenav.module.mjs +4 -4
- package/esm2022/lib/angular/sidenav/sidenav.service.mjs +4 -4
- package/esm2022/lib/angular/sidenav/sidenavlist.component.mjs +5 -5
- package/esm2022/lib/angular/slider/direction/sliderdirection.directive.mjs +6 -6
- package/esm2022/lib/angular/slider/lib/slider-element.directive.mjs +5 -5
- package/esm2022/lib/angular/slider/lib/slider-handle.directive.mjs +5 -5
- package/esm2022/lib/angular/slider/lib/slider-label.directive.mjs +4 -4
- package/esm2022/lib/angular/slider/lib/slider.component.mjs +6 -6
- package/esm2022/lib/angular/slider/lib/tooltip-wrapper.component.mjs +6 -6
- package/esm2022/lib/angular/slider/slider.module.mjs +4 -4
- package/esm2022/lib/angular/stepper/stepper.component.mjs +9 -9
- package/esm2022/lib/angular/stepper/stepper.directive.mjs +6 -6
- package/esm2022/lib/angular/stepper/stepper.module.mjs +4 -4
- package/esm2022/lib/angular/stepper/stepper.service.mjs +3 -3
- package/esm2022/lib/angular/toast/toast.module.mjs +4 -4
- package/esm2022/lib/angular/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/lib/angular/tooltip/truncate/tooltipTruncate.directive.mjs +4 -4
- package/esm2022/lib/angular/utils/scrollbar.service.mjs +5 -5
- package/esm2022/lib/angular/utils/titleTruncate.directive.mjs +4 -4
- package/fesm2022/design-factory.mjs +299 -299
- package/fesm2022/design-factory.mjs.map +1 -1
- package/lib/angular/popover/config/popover.config.d.ts +1 -2
- package/package.json +20 -13
- package/styles/scss/_common.root.scss +18 -3
- package/styles/scss/_variables.scss +3 -0
- package/styles/scss/agnosui/_variables.scss +59 -0
- package/styles/scss/bootstrap/_variables.scss +987 -829
- package/styles/scss/components/button/_button.scss +51 -31
- package/styles/scss/components/button/_button.utils.scss +1 -1
- package/styles/scss/components/button/_button.variables.scss +7 -4
- package/styles/scss/components/fonts/_fonts-family.scss +16 -24
- package/styles/scss/components/form/_form.scss +21 -11
- package/styles/scss/components/form/_form.variables.scss +3 -12
- package/styles/scss/components/inputs/_inputs.mixin.scss +1 -1
- package/styles/scss/components/popover/_popover_container.scss +47 -38
- package/styles/scss/components/select/_select.variables.scss +2 -2
- package/styles/scss/components/stepper/_stepper.mixins.scss +62 -55
- package/styles/scss/components/table/_advancedtables.scss +17 -11
- package/styles/scss/components/table/_table.variables.scss +2 -2
- package/styles/scss/df-styles-namespace.scss +3 -1
- package/styles/scss/df-styles.scss +1 -0
- package/styles/scss/themes/brand2023/_variables.scss +310 -292
- package/assets/fonts/amadeus-neue/bold/AmadeusNeue-Bold.ttf +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeue-Bold.woff2 +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeue-BoldItalic.ttf +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeue-BoldItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeue-Light.ttf +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeue-Light.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeue-LightItalic.ttf +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeue-LightItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeue-Medium.ttf +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeue-Medium.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeue-MediumItalic.ttf +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeue-MediumItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeue-Regular.ttf +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeue-Regular.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeue-RegularItalic.ttf +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeue-RegularItalic.woff2 +0 -0
|
@@ -21,6 +21,19 @@
|
|
|
21
21
|
|
|
22
22
|
&.disabled,
|
|
23
23
|
&:disabled {
|
|
24
|
+
.btn-check:checked + &,
|
|
25
|
+
:not(.btn-check) + &:active,
|
|
26
|
+
&:first-child:active,
|
|
27
|
+
&.active,
|
|
28
|
+
&.show {
|
|
29
|
+
color: var(--#{$prefix}btn-disabled-color);
|
|
30
|
+
background-color: var(--#{$prefix}btn-disabled-bg);
|
|
31
|
+
background-image: if($enable-gradients, none, null);
|
|
32
|
+
border-color: var(--#{$prefix}btn-disabled-border-color);
|
|
33
|
+
opacity: var(--#{$prefix}btn-disabled-opacity);
|
|
34
|
+
@include box-shadow(none);
|
|
35
|
+
}
|
|
36
|
+
|
|
24
37
|
cursor: var(--#{$prefix}btn-cursor-disabled);
|
|
25
38
|
pointer-events: auto; // override
|
|
26
39
|
}
|
|
@@ -35,7 +48,7 @@
|
|
|
35
48
|
}
|
|
36
49
|
}
|
|
37
50
|
|
|
38
|
-
&:focus:not(:hover):not(:active) {
|
|
51
|
+
&:focus-visible:not(:hover):not(:active) {
|
|
39
52
|
color: var(--#{$prefix}btn-focus-only-color);
|
|
40
53
|
background-color: var(--#{$prefix}btn-focus-only-bg);
|
|
41
54
|
border-color: var(--#{$prefix}btn-focus-only-border-color);
|
|
@@ -50,6 +63,10 @@
|
|
|
50
63
|
}
|
|
51
64
|
}
|
|
52
65
|
|
|
66
|
+
.btn-close {
|
|
67
|
+
--#{$prefix}box-shadow-width: #{$df-btn-close-focus-shadow-width};
|
|
68
|
+
}
|
|
69
|
+
|
|
53
70
|
.show > .btn:not(:disabled):not(.disabled).dropdown-toggle {
|
|
54
71
|
&:not(.nav-link) {
|
|
55
72
|
color: var(--#{$prefix}btn-active-color);
|
|
@@ -62,7 +79,7 @@
|
|
|
62
79
|
--#{$prefix}btn-icononly-size-sm: #{df-button-icononly-size($btn-padding-y-sm)};
|
|
63
80
|
--#{$prefix}btn-icononly-size-lg: #{df-button-icononly-size($btn-padding-y-lg)};
|
|
64
81
|
--#{$prefix}btn-icononly-size-xl: #{df-button-icononly-size($btn-padding-y-lg)};
|
|
65
|
-
|
|
82
|
+
|
|
66
83
|
--#{$prefix}btn-border-width: #{$df-btn-icononly-border-width};
|
|
67
84
|
--#{$prefix}btn-border-radius: #{$df-btn-icononly-border-radius};
|
|
68
85
|
--#{$prefix}btn-padding-x: #{$df-btn-icononly-padding-x};
|
|
@@ -91,7 +108,8 @@
|
|
|
91
108
|
}
|
|
92
109
|
|
|
93
110
|
.btn-check {
|
|
94
|
-
&:focus:not(:checked):not(:hover) {
|
|
111
|
+
&:focus-visible:not(:checked):not(:hover) {
|
|
112
|
+
// override BS (issue to open)
|
|
95
113
|
+ .btn {
|
|
96
114
|
color: var(--#{$prefix}btn-focus-only-color);
|
|
97
115
|
@include gradient-bg(var(--#{$prefix}btn-focus-only-bg));
|
|
@@ -99,32 +117,35 @@
|
|
|
99
117
|
}
|
|
100
118
|
}
|
|
101
119
|
@if variable-exists(df-btn-group-hover-box-shadow-color) {
|
|
102
|
-
&:focus:not(:checked):hover {
|
|
120
|
+
&:focus-visible:not(:checked):hover {
|
|
121
|
+
// override BS (issue to open)
|
|
103
122
|
+ .btn {
|
|
104
123
|
--#{$prefix}box-shadow-color: #{$df-btn-group-hover-box-shadow-color};
|
|
105
124
|
}
|
|
106
125
|
}
|
|
107
126
|
}
|
|
108
127
|
@if variable-exists(df-btn-group-checked-box-shadow-color) {
|
|
109
|
-
&:focus:checked {
|
|
128
|
+
&:focus-visible:checked {
|
|
129
|
+
// override BS (issue to open)
|
|
110
130
|
+ .btn {
|
|
111
131
|
--#{$prefix}box-shadow-color: #{$df-btn-group-checked-box-shadow-color};
|
|
112
132
|
}
|
|
113
133
|
}
|
|
114
134
|
}
|
|
115
|
-
&:focus {
|
|
135
|
+
&:focus-visible {
|
|
116
136
|
+ .btn {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
137
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
|
138
|
+
@if $enable-shadows {
|
|
139
|
+
box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);
|
|
140
|
+
} @else {
|
|
141
|
+
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
142
|
+
}
|
|
123
143
|
}
|
|
124
144
|
}
|
|
125
145
|
|
|
126
|
-
&.disabled,
|
|
127
|
-
|
|
146
|
+
&.disabled,
|
|
147
|
+
&:disabled {
|
|
148
|
+
+ .btn {
|
|
128
149
|
cursor: var(--#{$prefix}btn-cursor-disabled);
|
|
129
150
|
pointer-events: auto;
|
|
130
151
|
color: var(--#{$prefix}btn-disabled-color);
|
|
@@ -136,12 +157,7 @@
|
|
|
136
157
|
}
|
|
137
158
|
|
|
138
159
|
.df-btn-xl {
|
|
139
|
-
@include button-size(
|
|
140
|
-
$df-btn-padding-y-xl,
|
|
141
|
-
$df-btn-padding-x-xl,
|
|
142
|
-
$df-btn-font-size-xl,
|
|
143
|
-
$df-btn-border-radius-xl
|
|
144
|
-
);
|
|
160
|
+
@include button-size($df-btn-padding-y-xl, $df-btn-padding-x-xl, $df-btn-font-size-xl, $df-btn-border-radius-xl);
|
|
145
161
|
min-width: var(--#{$prefix}btn-min-width-xl);
|
|
146
162
|
}
|
|
147
163
|
|
|
@@ -201,7 +217,8 @@
|
|
|
201
217
|
--#{$prefix}btn-padding-x: #{$df-btn-link-padding-x-sm};
|
|
202
218
|
}
|
|
203
219
|
|
|
204
|
-
&:disabled,
|
|
220
|
+
&:disabled,
|
|
221
|
+
&.disabled {
|
|
205
222
|
color: var(--#{$prefix}btn-disabled-color);
|
|
206
223
|
text-decoration: var(--#{$prefix}btn-link-text-decoration);
|
|
207
224
|
}
|
|
@@ -210,10 +227,11 @@
|
|
|
210
227
|
&:hover {
|
|
211
228
|
text-decoration: var(--#{$prefix}btn-link-hover-text-decoration);
|
|
212
229
|
}
|
|
213
|
-
&:active,
|
|
230
|
+
&:active,
|
|
231
|
+
&.active {
|
|
214
232
|
text-decoration: var(--#{$prefix}btn-link-active-text-decoration);
|
|
215
233
|
}
|
|
216
|
-
&:focus {
|
|
234
|
+
&:focus-visible {
|
|
217
235
|
text-decoration: var(--#{$prefix}btn-link-focus-text-decoration);
|
|
218
236
|
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
219
237
|
&:hover:not(:active) {
|
|
@@ -255,16 +273,16 @@
|
|
|
255
273
|
--#{$prefix}btn-check-active-hover-border-color: #{var(--#{$prefix}btn-active-border-color)};
|
|
256
274
|
--#{$prefix}btn-focus-shadow-rgb: #{shades-rgb-css-var($color, 'bg-color')};
|
|
257
275
|
// stylelint-enable custom-property-no-missing-var-function
|
|
258
|
-
&:focus {
|
|
276
|
+
&:focus-visible {
|
|
259
277
|
--#{$prefix}inner-box-shadow-color: var(--#{$prefix}btn-color);
|
|
260
278
|
--#{$prefix}btn-focus-box-shadow: #{$df-btn-focus-box-shadow}; // override BS
|
|
261
279
|
--#{$prefix}box-shadow-color: #{$df-btn-focus-box-shadow-color};
|
|
262
280
|
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
263
281
|
}
|
|
264
|
-
&:focus:hover:not(:active) {
|
|
282
|
+
&:focus-visible:hover:not(:active) {
|
|
265
283
|
--#{$prefix}box-shadow-color: #{$df-btn-focus-hover-box-shadow-color};
|
|
266
284
|
}
|
|
267
|
-
&:focus:active {
|
|
285
|
+
&:focus-visible:active {
|
|
268
286
|
--#{$prefix}box-shadow-color: #{$df-btn-focus-active-box-shadow-color};
|
|
269
287
|
}
|
|
270
288
|
}
|
|
@@ -288,21 +306,23 @@
|
|
|
288
306
|
--#{$prefix}btn-check-active-hover-bg: #{$bgHoverColor};
|
|
289
307
|
--#{$prefix}btn-check-active-hover-border-color: #{var(--#{$prefix}btn-active-border-color)};
|
|
290
308
|
--#{$prefix}btn-focus-shadow-rgb: #{shades-rgb-css-var($color, 'bg-color')};
|
|
291
|
-
|
|
292
|
-
&:focus {
|
|
309
|
+
// stylelint-enable custom-property-no-missing-var-function
|
|
310
|
+
&:focus-visible {
|
|
293
311
|
--#{$prefix}btn-focus-box-shadow: #{$df-btn-focus-box-shadow}; // override BS
|
|
294
312
|
--#{$prefix}box-shadow-color: #{$df-btn-outline-focus-box-shadow-color};
|
|
295
313
|
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
296
314
|
}
|
|
297
|
-
&:focus:hover:not(:active):not(.active) {
|
|
315
|
+
&:focus-visible:hover:not(:active):not(.active) {
|
|
298
316
|
--#{$prefix}box-shadow-color: #{$df-btn-outline-focus-hover-box-shadow-color};
|
|
299
317
|
}
|
|
300
|
-
&:focus:active,
|
|
318
|
+
&:focus-visible:active,
|
|
319
|
+
&.active:focus-visible {
|
|
301
320
|
--#{$prefix}box-shadow-color: #{$df-btn-outline-focus-active-box-shadow-color};
|
|
302
321
|
}
|
|
303
322
|
}
|
|
304
323
|
|
|
305
|
-
.btn-check {
|
|
324
|
+
.btn-check {
|
|
325
|
+
// override default behavior of outline in case of btn-check
|
|
306
326
|
&:checked {
|
|
307
327
|
+ .btn-outline-#{$color} {
|
|
308
328
|
--#{$prefix}btn-active-color: #{shades-css-var($color, $df-btn-check-active-property, true)};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@function df-button-icononly-size($padding-y) {
|
|
2
|
-
@return calc(#{$btn-line-height * 1em
|
|
2
|
+
@return calc(#{$btn-line-height} * 1em + #{$padding-y} * 2 + #{$btn-border-width} * 2);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
@mixin df-reset-buttongroup-radius($radius) {
|
|
@@ -28,9 +28,7 @@ $df-btn-link-padding-x-lg: $btn-padding-x !default;
|
|
|
28
28
|
$df-btn-cursor-disabled: var(--#{$prefix}disabled-cursor) !default;
|
|
29
29
|
$df-btn-group-spaced-margin-end: 0.75rem !default; // replace $df-checkbox-radio-margin-end
|
|
30
30
|
$df-btn-group-spaced-margin-bottom: 0.5rem !default; // replace $df-checkbox-radio-margin-bottom
|
|
31
|
-
$df-btn-focus-box-shadow-
|
|
32
|
-
$df-btn-focus-box-shadow-color: rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5) !default;
|
|
33
|
-
$df-btn-focus-box-shadow: $df-focused-box-shadow !default; // this value is the default value in buttons.scss of bootstrap
|
|
31
|
+
$df-btn-focus-box-shadow-color: rgba(var(--#{$prefix}btn-focus-shadow-rgb), 0.5) !default;
|
|
34
32
|
$df-btn-focus-hover-box-shadow-color: $df-btn-focus-box-shadow-color !default;
|
|
35
33
|
$df-btn-focus-active-box-shadow-color: $df-btn-focus-box-shadow-color !default;
|
|
36
34
|
$df-btn-outline-focus-hover-box-shadow-color: $df-btn-focus-box-shadow-color !default;
|
|
@@ -38,4 +36,9 @@ $df-btn-outline-focus-active-box-shadow-color: $df-btn-focus-box-shadow-color !d
|
|
|
38
36
|
$df-btn-check-active-property: 'bg-color' !default;
|
|
39
37
|
$df-btn-bg-color: transparent !default;
|
|
40
38
|
$df-btn-focus-only-bg-color: transparent !default;
|
|
41
|
-
$df-btn-outline-focus-box-shadow-color: $df-btn-focus-box-shadow-color !default;
|
|
39
|
+
$df-btn-outline-focus-box-shadow-color: $df-btn-focus-box-shadow-color !default;
|
|
40
|
+
$df-btn-close-focus-shadow-width: $focus-ring-width !default;
|
|
41
|
+
|
|
42
|
+
// TODO - To be removed when CSS var and focus-ring will be fully used
|
|
43
|
+
$df-btn-focus-box-shadow-blur: $focus-ring-blur !default;
|
|
44
|
+
$df-btn-focus-box-shadow: $df-focused-box-shadow !default; // this value is the default value in buttons.scss of bootstrap
|
|
@@ -45,9 +45,8 @@
|
|
|
45
45
|
@if variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
46
46
|
@font-face {
|
|
47
47
|
font-family: 'Amadeus';
|
|
48
|
-
src: url('#{$font-path}/amadeus-neue/light/
|
|
49
|
-
url('#{$font-path}/amadeus-neue/light/
|
|
50
|
-
url('#{$font-path}/amadeus-neue/light/AmadeusNeue-Light.ttf') format('truetype');
|
|
48
|
+
src: url('#{$font-path}/amadeus-neue/light/AmadeusNeueWeb-Light.woff2') format('woff2'),
|
|
49
|
+
url('#{$font-path}/amadeus-neue/light/AmadeusNeueWeb-Light.woff') format('woff');
|
|
51
50
|
font-style: normal;
|
|
52
51
|
font-weight: 100;
|
|
53
52
|
font-display: swap;
|
|
@@ -55,9 +54,8 @@
|
|
|
55
54
|
|
|
56
55
|
@font-face {
|
|
57
56
|
font-family: 'Amadeus';
|
|
58
|
-
src: url('#{$font-path}/amadeus-neue/light/
|
|
59
|
-
url('#{$font-path}/amadeus-neue/light/
|
|
60
|
-
url('#{$font-path}/amadeus-neue/light/AmadeusNeue-LightItalic.ttf') format('truetype');
|
|
57
|
+
src: url('#{$font-path}/amadeus-neue/light/AmadeusNeueWeb-LightItalic.woff2') format('woff2'),
|
|
58
|
+
url('#{$font-path}/amadeus-neue/light/AmadeusNeueWeb-LightItalic.woff') format('woff');
|
|
61
59
|
font-style: italic;
|
|
62
60
|
font-weight: 100;
|
|
63
61
|
font-display: swap;
|
|
@@ -65,9 +63,8 @@
|
|
|
65
63
|
|
|
66
64
|
@font-face {
|
|
67
65
|
font-family: 'Amadeus';
|
|
68
|
-
src: url('#{$font-path}/amadeus-neue/bold/
|
|
69
|
-
url('#{$font-path}/amadeus-neue/bold/
|
|
70
|
-
url('#{$font-path}/amadeus-neue/bold/AmadeusNeue-Bold.ttf') format('truetype');
|
|
66
|
+
src: url('#{$font-path}/amadeus-neue/bold/AmadeusNeueWeb-Bold.woff2') format('woff2'),
|
|
67
|
+
url('#{$font-path}/amadeus-neue/bold/AmadeusNeueWeb-Bold.woff') format('woff');
|
|
71
68
|
font-style: normal;
|
|
72
69
|
font-weight: 700;
|
|
73
70
|
font-display: swap;
|
|
@@ -75,9 +72,8 @@
|
|
|
75
72
|
|
|
76
73
|
@font-face {
|
|
77
74
|
font-family: 'Amadeus';
|
|
78
|
-
src: url('#{$font-path}/amadeus-neue/bold/
|
|
79
|
-
url('#{$font-path}/amadeus-neue/bold/
|
|
80
|
-
url('#{$font-path}/amadeus-neue/bold/AmadeusNeue-BoldItalic.ttf') format('truetype');
|
|
75
|
+
src: url('#{$font-path}/amadeus-neue/bold/AmadeusNeueWeb-BoldItalic.woff2') format('woff2'),
|
|
76
|
+
url('#{$font-path}/amadeus-neue/bold/AmadeusNeueWeb-BoldItalic.woff') format('woff');
|
|
81
77
|
font-style: italic;
|
|
82
78
|
font-weight: 700;
|
|
83
79
|
font-display: swap;
|
|
@@ -85,9 +81,8 @@
|
|
|
85
81
|
|
|
86
82
|
@font-face {
|
|
87
83
|
font-family: 'Amadeus';
|
|
88
|
-
src: url('#{$font-path}/amadeus-neue/regular/
|
|
89
|
-
url('#{$font-path}/amadeus-neue/regular/
|
|
90
|
-
url('#{$font-path}/amadeus-neue/regular/AmadeusNeue-Regular.ttf') format('truetype');
|
|
84
|
+
src: url('#{$font-path}/amadeus-neue/regular/AmadeusNeueWeb-Regular.woff2') format('woff2'),
|
|
85
|
+
url('#{$font-path}/amadeus-neue/regular/AmadeusNeueWeb-Regular.woff') format('woff');
|
|
91
86
|
font-style: normal;
|
|
92
87
|
font-weight: 400;
|
|
93
88
|
font-display: swap;
|
|
@@ -95,9 +90,8 @@
|
|
|
95
90
|
|
|
96
91
|
@font-face {
|
|
97
92
|
font-family: 'Amadeus';
|
|
98
|
-
src: url('#{$font-path}/amadeus-neue/regular/
|
|
99
|
-
url('#{$font-path}/amadeus-neue/regular/
|
|
100
|
-
url('#{$font-path}/amadeus-neue/regular/AmadeusNeue-RegularItalic.ttf') format('truetype');
|
|
93
|
+
src: url('#{$font-path}/amadeus-neue/regular/AmadeusNeueWeb-RegularItalic.woff2') format('woff2'),
|
|
94
|
+
url('#{$font-path}/amadeus-neue/regular/AmadeusNeueWeb-RegularItalic.woff') format('woff');
|
|
101
95
|
font-style: italic;
|
|
102
96
|
font-weight: 400;
|
|
103
97
|
font-display: swap;
|
|
@@ -105,9 +99,8 @@
|
|
|
105
99
|
|
|
106
100
|
@font-face {
|
|
107
101
|
font-family: 'Amadeus';
|
|
108
|
-
src: url('#{$font-path}/amadeus-neue/medium/
|
|
109
|
-
url('#{$font-path}/amadeus-neue/medium/
|
|
110
|
-
url('#{$font-path}/amadeus-neue/medium/AmadeusNeue-Medium.ttf') format('truetype');
|
|
102
|
+
src: url('#{$font-path}/amadeus-neue/medium/AmadeusNeueWeb-Medium.woff2') format('woff2'),
|
|
103
|
+
url('#{$font-path}/amadeus-neue/medium/AmadeusNeueWeb-Medium.woff') format('woff');
|
|
111
104
|
font-style: normal;
|
|
112
105
|
font-weight: 500;
|
|
113
106
|
font-display: swap;
|
|
@@ -115,9 +108,8 @@
|
|
|
115
108
|
|
|
116
109
|
@font-face {
|
|
117
110
|
font-family: 'Amadeus';
|
|
118
|
-
src: url('#{$font-path}/amadeus-neue/medium/
|
|
119
|
-
url('#{$font-path}/amadeus-neue/medium/
|
|
120
|
-
url('#{$font-path}/amadeus-neue/medium/AmadeusNeue-MediumItalic.ttf') format('truetype');
|
|
111
|
+
src: url('#{$font-path}/amadeus-neue/medium/AmadeusNeueWeb-MediumItalic.woff2') format('woff2'),
|
|
112
|
+
url('#{$font-path}/amadeus-neue/medium/AmadeusNeueWeb-MediumItalic.woff') format('woff');
|
|
121
113
|
font-style: italic;
|
|
122
114
|
font-weight: 500;
|
|
123
115
|
font-display: swap;
|
|
@@ -2,21 +2,15 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
form {
|
|
5
|
-
--#{$prefix}form-input-disabled-color: #{$df-disabled-input-color};
|
|
6
|
-
--#{$prefix}form-input-disabled-cursor: #{$df-input-disabled-cursor};
|
|
7
5
|
--#{$prefix}form-sm-label-margin-bottom: #{$df-label-margin-bottom-sm};
|
|
8
6
|
--#{$prefix}form-lg-label-margin-bottom: #{$df-label-margin-bottom-sm}; // strange that we use the same value
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
--#{$prefix}form-check-input-sm-width: #{$df-form-check-input-sm-width};
|
|
13
|
-
--#{$prefix}form-check-input-lg-width: #{$df-form-check-input-lg-width};
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.form-switch {
|
|
14
10
|
--#{$prefix}form-switch-sm-width: #{$df-form-switch-sm-width};
|
|
15
11
|
--#{$prefix}form-switch-sm-height: #{math.div($df-form-switch-sm-width, 2)};
|
|
16
12
|
--#{$prefix}form-switch-lg-width: #{$df-form-switch-lg-width};
|
|
17
13
|
--#{$prefix}form-switch-lg-height: #{math.div($df-form-switch-lg-width, 2)};
|
|
18
|
-
--#{$prefix}form-check-input-sm-margin-top: #{($line-height-sm - $df-form-check-input-sm-width) * 1};
|
|
19
|
-
--#{$prefix}form-check-input-lg-margin-top: #{($line-height-lg - $df-form-check-input-lg-width) * 0.5};
|
|
20
14
|
}
|
|
21
15
|
|
|
22
16
|
.form-inline {
|
|
@@ -28,11 +22,13 @@ form {
|
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
.form-control {
|
|
25
|
+
--#{$prefix}form-input-disabled-color: #{$df-disabled-input-color};
|
|
26
|
+
--#{$prefix}form-input-disabled-cursor: #{$df-input-disabled-cursor};
|
|
31
27
|
@if variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
32
28
|
--#{$prefix}box-shadow-color: #{$input-focus-border-color};
|
|
33
29
|
} @else {
|
|
34
30
|
--#{$prefix}border-color-opacity: #{$input-btn-focus-color-opacity};
|
|
35
|
-
--#{$prefix}box-shadow-color: #{shades-rgba-css-var-with-opacity('primary', 'border-color')}
|
|
31
|
+
--#{$prefix}box-shadow-color: #{shades-rgba-css-var-with-opacity('primary', 'border-color')};
|
|
36
32
|
}
|
|
37
33
|
&:disabled {
|
|
38
34
|
color: var(--#{$prefix}form-input-disabled-color);
|
|
@@ -53,6 +49,20 @@ form {
|
|
|
53
49
|
}
|
|
54
50
|
}
|
|
55
51
|
|
|
52
|
+
.form-check-input {
|
|
53
|
+
--#{$prefix}form-check-input-sm-width: #{$df-form-check-input-sm-width};
|
|
54
|
+
--#{$prefix}form-check-input-lg-width: #{$df-form-check-input-lg-width};
|
|
55
|
+
--#{$prefix}form-check-input-sm-margin-top: #{($line-height-sm - $df-form-check-input-sm-width) * 1};
|
|
56
|
+
--#{$prefix}form-check-input-lg-margin-top: #{($line-height-lg - $df-form-check-input-lg-width) * 0.5};
|
|
57
|
+
|
|
58
|
+
@if variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
59
|
+
--#{$prefix}box-shadow-color: #{shades-css-var('primary', 'border-color')};
|
|
60
|
+
} @else {
|
|
61
|
+
--#{$prefix}border-color-opacity: #{$input-btn-focus-color-opacity};
|
|
62
|
+
--#{$prefix}box-shadow-color: #{shades-rgba-css-var-with-opacity('primary', 'border-color')};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
56
66
|
// Override warning state color
|
|
57
67
|
.warning-feedback {
|
|
58
68
|
color: var(--#{$prefix}form-feedback-help-warning-color);
|
|
@@ -87,7 +97,7 @@ form {
|
|
|
87
97
|
--#{$prefix}box-shadow-color: #{shades-css-var($colorName, 'border-color')};
|
|
88
98
|
} @else {
|
|
89
99
|
--#{$prefix}border-color-opacity: #{$input-btn-focus-color-opacity};
|
|
90
|
-
--#{$prefix}box-shadow-color: #{shades-rgba-css-var-with-opacity($colorName, 'border-color')}
|
|
100
|
+
--#{$prefix}box-shadow-color: #{shades-rgba-css-var-with-opacity($colorName, 'border-color')};
|
|
91
101
|
}
|
|
92
102
|
}
|
|
93
103
|
}
|
|
@@ -17,22 +17,13 @@ $df-form-validation-states-names: (
|
|
|
17
17
|
$form-validation-states: map.merge(
|
|
18
18
|
(
|
|
19
19
|
'warning': (
|
|
20
|
-
'color': $
|
|
21
|
-
'icon': $df-form-feedback-warning-icon
|
|
20
|
+
'color': var(--#{$prefix}form-warning-color),
|
|
21
|
+
'icon': $df-form-feedback-warning-icon,
|
|
22
|
+
'focus-box-shadow': $input-btn-focus-box-shadow
|
|
22
23
|
)
|
|
23
24
|
),
|
|
24
25
|
$form-validation-states
|
|
25
26
|
);
|
|
26
|
-
//updating focus box shadows
|
|
27
|
-
@each $state, $data in $form-validation-states {
|
|
28
|
-
$form-validation-data: map.merge(
|
|
29
|
-
(
|
|
30
|
-
'focus-box-shadow': $input-btn-focus-box-shadow
|
|
31
|
-
),
|
|
32
|
-
$data
|
|
33
|
-
);
|
|
34
|
-
$form-validation-states: map.set($form-validation-states, $state, $form-validation-data);
|
|
35
|
-
}
|
|
36
27
|
|
|
37
28
|
$df-form-check-input-sm-width: $form-check-input-width * map.get($df-size-ratios, 'sm') !default;
|
|
38
29
|
$df-form-check-input-lg-width: $form-check-input-width * map.get($df-size-ratios, 'lg') !default;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@if variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
8
8
|
--#{$prefix}box-shadow-color: #{shades-css-var($colorName, 'border-color')};
|
|
9
9
|
} @else {
|
|
10
|
-
--#{$prefix}box-shadow-color: #{
|
|
10
|
+
--#{$prefix}box-shadow-color: rgba(#{to-rgb($color)}, #{$input-btn-focus-color-opacity});
|
|
11
11
|
}
|
|
12
12
|
& ~ .#{$state}-feedback,
|
|
13
13
|
.#{$state}-tooltip {
|
|
@@ -27,8 +27,16 @@
|
|
|
27
27
|
--#{$prefix}popover-arrow-width: #{$popover-arrow-width};
|
|
28
28
|
--#{$prefix}popover-arrow-height: #{$popover-arrow-height};
|
|
29
29
|
--#{$prefix}popover-arrow-border: var(--#{$prefix}popover-border-color);
|
|
30
|
+
|
|
31
|
+
--#{$prefix}popover-margin: #{$df-popover-margin};
|
|
32
|
+
--#{$prefix}popover-padding: #{$df-popover-padding};
|
|
33
|
+
--#{$prefix}popover-header-line-height: #{$df-popover-header-line-height};
|
|
34
|
+
--#{$prefix}popover-header-margin: #{$df-popover-header-default-margin};
|
|
35
|
+
--#{$prefix}popover-body-margin: #{$df-popover-body-default-margin};
|
|
36
|
+
--#{$prefix}popover-header-font-size: #{$h3-font-size};
|
|
37
|
+
--#{$prefix}popover-body-font-size: #{$font-size-base};
|
|
30
38
|
// scss-docs-end popover-css-vars
|
|
31
|
-
|
|
39
|
+
|
|
32
40
|
z-index: var(--#{$prefix}popover-zindex);
|
|
33
41
|
display: block;
|
|
34
42
|
max-width: var(--#{$prefix}popover-max-width);
|
|
@@ -43,91 +51,92 @@
|
|
|
43
51
|
border: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
|
44
52
|
@include border-radius(var(--#{$prefix}popover-border-radius));
|
|
45
53
|
@include box-shadow(var(--#{$prefix}popover-box-shadow));
|
|
46
|
-
|
|
54
|
+
|
|
47
55
|
&.popover-arrow {
|
|
48
56
|
display: block;
|
|
49
57
|
width: var(--#{$prefix}popover-arrow-width);
|
|
50
58
|
height: var(--#{$prefix}popover-arrow-height);
|
|
51
|
-
|
|
59
|
+
|
|
52
60
|
&::before,
|
|
53
61
|
&::after {
|
|
54
62
|
position: absolute;
|
|
55
63
|
display: block;
|
|
56
|
-
content:
|
|
64
|
+
content: '';
|
|
57
65
|
border-color: transparent;
|
|
58
66
|
border-style: solid;
|
|
59
67
|
border-width: 0;
|
|
60
68
|
}
|
|
61
69
|
}
|
|
62
70
|
}
|
|
63
|
-
|
|
71
|
+
|
|
64
72
|
&.bs-popover-top {
|
|
65
73
|
> .popover-arrow {
|
|
66
74
|
bottom: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
67
|
-
|
|
75
|
+
|
|
68
76
|
&::before,
|
|
69
77
|
&::after {
|
|
70
|
-
border-width: var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
|
78
|
+
border-width: var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * 0.5) 0; // stylelint-disable-line function-disallowed-list
|
|
71
79
|
}
|
|
72
|
-
|
|
80
|
+
|
|
73
81
|
&::before {
|
|
74
82
|
bottom: 0;
|
|
75
83
|
border-top-color: var(--#{$prefix}popover-arrow-border);
|
|
76
84
|
}
|
|
77
|
-
|
|
85
|
+
|
|
78
86
|
&::after {
|
|
79
87
|
bottom: var(--#{$prefix}popover-border-width);
|
|
80
88
|
border-top-color: var(--#{$prefix}popover-bg);
|
|
81
89
|
}
|
|
82
90
|
}
|
|
83
91
|
}
|
|
84
|
-
|
|
92
|
+
|
|
85
93
|
/* rtl:begin:ignore */
|
|
86
94
|
&.bs-popover-end {
|
|
87
95
|
> .popover-arrow {
|
|
88
96
|
left: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
89
97
|
width: var(--#{$prefix}popover-arrow-height);
|
|
90
98
|
height: var(--#{$prefix}popover-arrow-width);
|
|
91
|
-
|
|
99
|
+
|
|
92
100
|
&::before,
|
|
93
101
|
&::after {
|
|
94
|
-
border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height)
|
|
102
|
+
border-width: calc(var(--#{$prefix}popover-arrow-width) * 0.5) var(--#{$prefix}popover-arrow-height)
|
|
103
|
+
calc(var(--#{$prefix}popover-arrow-width) * 0.5) 0; // stylelint-disable-line function-disallowed-list
|
|
95
104
|
}
|
|
96
|
-
|
|
105
|
+
|
|
97
106
|
&::before {
|
|
98
107
|
left: 0;
|
|
99
108
|
border-right-color: var(--#{$prefix}popover-arrow-border);
|
|
100
109
|
}
|
|
101
|
-
|
|
110
|
+
|
|
102
111
|
&::after {
|
|
103
112
|
left: var(--#{$prefix}popover-border-width);
|
|
104
113
|
border-right-color: var(--#{$prefix}popover-bg);
|
|
105
114
|
}
|
|
106
115
|
}
|
|
107
116
|
}
|
|
108
|
-
|
|
117
|
+
|
|
109
118
|
/* rtl:end:ignore */
|
|
110
|
-
|
|
119
|
+
|
|
111
120
|
&.bs-popover-bottom {
|
|
112
121
|
> .popover-arrow {
|
|
113
122
|
top: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
114
|
-
|
|
123
|
+
|
|
115
124
|
&::before,
|
|
116
125
|
&::after {
|
|
117
|
-
border-width: 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
126
|
+
border-width: 0 calc(var(--#{$prefix}popover-arrow-width) * 0.5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
118
127
|
}
|
|
119
|
-
|
|
128
|
+
|
|
120
129
|
&::before {
|
|
121
130
|
top: 0;
|
|
122
131
|
border-bottom-color: var(--#{$prefix}popover-arrow-border);
|
|
123
132
|
}
|
|
124
|
-
|
|
133
|
+
|
|
125
134
|
&::after {
|
|
126
135
|
top: var(--#{$prefix}popover-border-width);
|
|
127
136
|
border-bottom-color: var(--#{$prefix}popover-bg);
|
|
128
137
|
}
|
|
129
138
|
}
|
|
130
|
-
|
|
139
|
+
|
|
131
140
|
// This will remove the popover-header's border just below the arrow
|
|
132
141
|
.popover-header::before {
|
|
133
142
|
position: absolute;
|
|
@@ -135,53 +144,54 @@
|
|
|
135
144
|
left: 50%;
|
|
136
145
|
display: block;
|
|
137
146
|
width: var(--#{$prefix}popover-arrow-width);
|
|
138
|
-
margin-left: calc(var(--#{$prefix}popover-arrow-width) *
|
|
139
|
-
content:
|
|
147
|
+
margin-left: calc(var(--#{$prefix}popover-arrow-width) * -0.5); // stylelint-disable-line function-disallowed-list
|
|
148
|
+
content: '';
|
|
140
149
|
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-header-bg);
|
|
141
150
|
}
|
|
142
151
|
}
|
|
143
|
-
|
|
152
|
+
|
|
144
153
|
/* rtl:begin:ignore */
|
|
145
154
|
&.bs-popover-start {
|
|
146
155
|
> .popover-arrow {
|
|
147
156
|
right: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
148
157
|
width: var(--#{$prefix}popover-arrow-height);
|
|
149
158
|
height: var(--#{$prefix}popover-arrow-width);
|
|
150
|
-
|
|
159
|
+
|
|
151
160
|
&::before,
|
|
152
161
|
&::after {
|
|
153
|
-
border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) 0
|
|
162
|
+
border-width: calc(var(--#{$prefix}popover-arrow-width) * 0.5) 0
|
|
163
|
+
calc(var(--#{$prefix}popover-arrow-width) * 0.5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
154
164
|
}
|
|
155
|
-
|
|
165
|
+
|
|
156
166
|
&::before {
|
|
157
167
|
right: 0;
|
|
158
168
|
border-left-color: var(--#{$prefix}popover-arrow-border);
|
|
159
169
|
}
|
|
160
|
-
|
|
170
|
+
|
|
161
171
|
&::after {
|
|
162
172
|
right: var(--#{$prefix}popover-border-width);
|
|
163
173
|
border-left-color: var(--#{$prefix}popover-bg);
|
|
164
174
|
}
|
|
165
175
|
}
|
|
166
176
|
}
|
|
167
|
-
|
|
177
|
+
|
|
168
178
|
/* rtl:end:ignore */
|
|
169
|
-
|
|
179
|
+
|
|
170
180
|
&.bs-popover-auto {
|
|
171
|
-
&[data-popper-placement^=
|
|
181
|
+
&[data-popper-placement^='top'] {
|
|
172
182
|
@extend .bs-popover-top;
|
|
173
183
|
}
|
|
174
|
-
&[data-popper-placement^=
|
|
184
|
+
&[data-popper-placement^='right'] {
|
|
175
185
|
@extend .bs-popover-end;
|
|
176
186
|
}
|
|
177
|
-
&[data-popper-placement^=
|
|
187
|
+
&[data-popper-placement^='bottom'] {
|
|
178
188
|
@extend .bs-popover-bottom;
|
|
179
189
|
}
|
|
180
|
-
&[data-popper-placement^=
|
|
190
|
+
&[data-popper-placement^='left'] {
|
|
181
191
|
@extend .bs-popover-start;
|
|
182
192
|
}
|
|
183
193
|
}
|
|
184
|
-
|
|
194
|
+
|
|
185
195
|
// Offset the popover to account for the popover arrow
|
|
186
196
|
&.popover-header {
|
|
187
197
|
padding: var(--#{$prefix}popover-header-padding-y) var(--#{$prefix}popover-header-padding-x);
|
|
@@ -191,15 +201,14 @@
|
|
|
191
201
|
background-color: var(--#{$prefix}popover-header-bg);
|
|
192
202
|
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
|
193
203
|
@include border-top-radius(var(--#{$prefix}popover-inner-border-radius));
|
|
194
|
-
|
|
204
|
+
|
|
195
205
|
&:empty {
|
|
196
206
|
display: none;
|
|
197
207
|
}
|
|
198
208
|
}
|
|
199
|
-
|
|
209
|
+
|
|
200
210
|
&.popover-body {
|
|
201
211
|
padding: var(--#{$prefix}popover-body-padding-y) var(--#{$prefix}popover-body-padding-x);
|
|
202
212
|
color: var(--#{$prefix}popover-body-color);
|
|
203
213
|
}
|
|
204
|
-
|
|
205
214
|
}
|
|
@@ -43,8 +43,8 @@ $df-select-single-input-padding: $df-select-arrow-pos + $input-padding-x !defaul
|
|
|
43
43
|
$df-select-single-clear-input-padding: $df-select-single-input-padding + $df-select-clear-width !default;
|
|
44
44
|
$df-select-border: $input-border-width solid $input-border-color !default;
|
|
45
45
|
$df-select-border-radius: $form-select-border-radius !default;
|
|
46
|
-
$df-select-border-radius-sm: $df-select-border-radius * map.get($df-size-ratios, 'sm') !default; // or the sm lg version of the border-radius??
|
|
47
|
-
$df-select-border-radius-lg: $df-select-border-radius * map.get($df-size-ratios, 'lg') !default;
|
|
46
|
+
$df-select-border-radius-sm: calc($df-select-border-radius * map.get($df-size-ratios, 'sm')) !default; // or the sm lg version of the border-radius??
|
|
47
|
+
$df-select-border-radius-lg: calc($df-select-border-radius * map.get($df-size-ratios, 'lg')) !default;
|
|
48
48
|
$df-select-value-margin: $form-select-padding-y !default;
|
|
49
49
|
$df-select-value-margin-sm: $input-padding-y-sm !default;
|
|
50
50
|
$df-select-value-margin-lg: $input-padding-y-lg !default;
|