@design-factory/design-factory 16.0.1 → 17.0.0
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/fesm2022/design-factory.mjs +295 -295
- package/fesm2022/design-factory.mjs.map +1 -1
- package/lib/angular/popover/config/popover.config.d.ts +1 -2
- package/package.json +14 -10
- package/styles/scss/_common.root.scss +9 -3
- package/styles/scss/_variables.scss +3 -0
- package/styles/scss/agnosui/_variables.scss +59 -0
- package/styles/scss/bootstrap/_variables.scss +834 -683
- package/styles/scss/components/button/_button.scss +38 -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/select/_select.variables.scss +2 -2
- 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 +304 -286
- 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
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
&:focus:not(:hover):not(:active) {
|
|
38
|
+
&:focus-visible:not(:hover):not(:active) {
|
|
39
39
|
color: var(--#{$prefix}btn-focus-only-color);
|
|
40
40
|
background-color: var(--#{$prefix}btn-focus-only-bg);
|
|
41
41
|
border-color: var(--#{$prefix}btn-focus-only-border-color);
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
.btn-close {
|
|
54
|
+
--#{$prefix}box-shadow-width: #{$df-btn-close-focus-shadow-width};
|
|
55
|
+
}
|
|
56
|
+
|
|
53
57
|
.show > .btn:not(:disabled):not(.disabled).dropdown-toggle {
|
|
54
58
|
&:not(.nav-link) {
|
|
55
59
|
color: var(--#{$prefix}btn-active-color);
|
|
@@ -62,7 +66,7 @@
|
|
|
62
66
|
--#{$prefix}btn-icononly-size-sm: #{df-button-icononly-size($btn-padding-y-sm)};
|
|
63
67
|
--#{$prefix}btn-icononly-size-lg: #{df-button-icononly-size($btn-padding-y-lg)};
|
|
64
68
|
--#{$prefix}btn-icononly-size-xl: #{df-button-icononly-size($btn-padding-y-lg)};
|
|
65
|
-
|
|
69
|
+
|
|
66
70
|
--#{$prefix}btn-border-width: #{$df-btn-icononly-border-width};
|
|
67
71
|
--#{$prefix}btn-border-radius: #{$df-btn-icononly-border-radius};
|
|
68
72
|
--#{$prefix}btn-padding-x: #{$df-btn-icononly-padding-x};
|
|
@@ -91,7 +95,8 @@
|
|
|
91
95
|
}
|
|
92
96
|
|
|
93
97
|
.btn-check {
|
|
94
|
-
&:focus:not(:checked):not(:hover) {
|
|
98
|
+
&:focus-visible:not(:checked):not(:hover) {
|
|
99
|
+
// override BS (issue to open)
|
|
95
100
|
+ .btn {
|
|
96
101
|
color: var(--#{$prefix}btn-focus-only-color);
|
|
97
102
|
@include gradient-bg(var(--#{$prefix}btn-focus-only-bg));
|
|
@@ -99,32 +104,35 @@
|
|
|
99
104
|
}
|
|
100
105
|
}
|
|
101
106
|
@if variable-exists(df-btn-group-hover-box-shadow-color) {
|
|
102
|
-
&:focus:not(:checked):hover {
|
|
107
|
+
&:focus-visible:not(:checked):hover {
|
|
108
|
+
// override BS (issue to open)
|
|
103
109
|
+ .btn {
|
|
104
110
|
--#{$prefix}box-shadow-color: #{$df-btn-group-hover-box-shadow-color};
|
|
105
111
|
}
|
|
106
112
|
}
|
|
107
113
|
}
|
|
108
114
|
@if variable-exists(df-btn-group-checked-box-shadow-color) {
|
|
109
|
-
&:focus:checked {
|
|
115
|
+
&:focus-visible:checked {
|
|
116
|
+
// override BS (issue to open)
|
|
110
117
|
+ .btn {
|
|
111
118
|
--#{$prefix}box-shadow-color: #{$df-btn-group-checked-box-shadow-color};
|
|
112
119
|
}
|
|
113
120
|
}
|
|
114
121
|
}
|
|
115
|
-
&:focus {
|
|
122
|
+
&:focus-visible {
|
|
116
123
|
+ .btn {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
124
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
|
125
|
+
@if $enable-shadows {
|
|
126
|
+
box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);
|
|
127
|
+
} @else {
|
|
128
|
+
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
129
|
+
}
|
|
123
130
|
}
|
|
124
131
|
}
|
|
125
132
|
|
|
126
|
-
&.disabled,
|
|
127
|
-
|
|
133
|
+
&.disabled,
|
|
134
|
+
&:disabled {
|
|
135
|
+
+ .btn {
|
|
128
136
|
cursor: var(--#{$prefix}btn-cursor-disabled);
|
|
129
137
|
pointer-events: auto;
|
|
130
138
|
color: var(--#{$prefix}btn-disabled-color);
|
|
@@ -136,12 +144,7 @@
|
|
|
136
144
|
}
|
|
137
145
|
|
|
138
146
|
.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
|
-
);
|
|
147
|
+
@include button-size($df-btn-padding-y-xl, $df-btn-padding-x-xl, $df-btn-font-size-xl, $df-btn-border-radius-xl);
|
|
145
148
|
min-width: var(--#{$prefix}btn-min-width-xl);
|
|
146
149
|
}
|
|
147
150
|
|
|
@@ -201,7 +204,8 @@
|
|
|
201
204
|
--#{$prefix}btn-padding-x: #{$df-btn-link-padding-x-sm};
|
|
202
205
|
}
|
|
203
206
|
|
|
204
|
-
&:disabled,
|
|
207
|
+
&:disabled,
|
|
208
|
+
&.disabled {
|
|
205
209
|
color: var(--#{$prefix}btn-disabled-color);
|
|
206
210
|
text-decoration: var(--#{$prefix}btn-link-text-decoration);
|
|
207
211
|
}
|
|
@@ -210,10 +214,11 @@
|
|
|
210
214
|
&:hover {
|
|
211
215
|
text-decoration: var(--#{$prefix}btn-link-hover-text-decoration);
|
|
212
216
|
}
|
|
213
|
-
&:active,
|
|
217
|
+
&:active,
|
|
218
|
+
&.active {
|
|
214
219
|
text-decoration: var(--#{$prefix}btn-link-active-text-decoration);
|
|
215
220
|
}
|
|
216
|
-
&:focus {
|
|
221
|
+
&:focus-visible {
|
|
217
222
|
text-decoration: var(--#{$prefix}btn-link-focus-text-decoration);
|
|
218
223
|
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
219
224
|
&:hover:not(:active) {
|
|
@@ -255,16 +260,16 @@
|
|
|
255
260
|
--#{$prefix}btn-check-active-hover-border-color: #{var(--#{$prefix}btn-active-border-color)};
|
|
256
261
|
--#{$prefix}btn-focus-shadow-rgb: #{shades-rgb-css-var($color, 'bg-color')};
|
|
257
262
|
// stylelint-enable custom-property-no-missing-var-function
|
|
258
|
-
&:focus {
|
|
263
|
+
&:focus-visible {
|
|
259
264
|
--#{$prefix}inner-box-shadow-color: var(--#{$prefix}btn-color);
|
|
260
265
|
--#{$prefix}btn-focus-box-shadow: #{$df-btn-focus-box-shadow}; // override BS
|
|
261
266
|
--#{$prefix}box-shadow-color: #{$df-btn-focus-box-shadow-color};
|
|
262
267
|
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
263
268
|
}
|
|
264
|
-
&:focus:hover:not(:active) {
|
|
269
|
+
&:focus-visible:hover:not(:active) {
|
|
265
270
|
--#{$prefix}box-shadow-color: #{$df-btn-focus-hover-box-shadow-color};
|
|
266
271
|
}
|
|
267
|
-
&:focus:active {
|
|
272
|
+
&:focus-visible:active {
|
|
268
273
|
--#{$prefix}box-shadow-color: #{$df-btn-focus-active-box-shadow-color};
|
|
269
274
|
}
|
|
270
275
|
}
|
|
@@ -288,21 +293,23 @@
|
|
|
288
293
|
--#{$prefix}btn-check-active-hover-bg: #{$bgHoverColor};
|
|
289
294
|
--#{$prefix}btn-check-active-hover-border-color: #{var(--#{$prefix}btn-active-border-color)};
|
|
290
295
|
--#{$prefix}btn-focus-shadow-rgb: #{shades-rgb-css-var($color, 'bg-color')};
|
|
291
|
-
|
|
292
|
-
&:focus {
|
|
296
|
+
// stylelint-enable custom-property-no-missing-var-function
|
|
297
|
+
&:focus-visible {
|
|
293
298
|
--#{$prefix}btn-focus-box-shadow: #{$df-btn-focus-box-shadow}; // override BS
|
|
294
299
|
--#{$prefix}box-shadow-color: #{$df-btn-outline-focus-box-shadow-color};
|
|
295
300
|
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
296
301
|
}
|
|
297
|
-
&:focus:hover:not(:active):not(.active) {
|
|
302
|
+
&:focus-visible:hover:not(:active):not(.active) {
|
|
298
303
|
--#{$prefix}box-shadow-color: #{$df-btn-outline-focus-hover-box-shadow-color};
|
|
299
304
|
}
|
|
300
|
-
&:focus:active,
|
|
305
|
+
&:focus-visible:active,
|
|
306
|
+
&.active:focus-visible {
|
|
301
307
|
--#{$prefix}box-shadow-color: #{$df-btn-outline-focus-active-box-shadow-color};
|
|
302
308
|
}
|
|
303
309
|
}
|
|
304
310
|
|
|
305
|
-
.btn-check {
|
|
311
|
+
.btn-check {
|
|
312
|
+
// override default behavior of outline in case of btn-check
|
|
306
313
|
&:checked {
|
|
307
314
|
+ .btn-outline-#{$color} {
|
|
308
315
|
--#{$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;
|
|
@@ -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;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
// TODO check new checkbox look and border radius
|
|
4
4
|
@include ag.grid-styles(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
(
|
|
6
|
+
theme: alpine
|
|
7
|
+
)
|
|
8
|
+
);
|
|
9
9
|
|
|
10
10
|
// See issue https://github.com/ag-grid/ag-grid/issues/4095
|
|
11
11
|
.df-table:not(.df-aggrid-filtered) {
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
--ag-checkbox-indeterminate-color: #{shades-css-var('primary', 'bg-color')};
|
|
69
69
|
--#{$prefix}ag-odd-row-hover-background-color: var(--ag-row-hover-color);
|
|
70
70
|
--ag-odd-row-background-color: var(--ag-background-color);
|
|
71
|
+
--ag-wrapper-border-radius: #{$df-tables-aggrid-wrapper-border-radius};
|
|
71
72
|
|
|
72
73
|
.ag-row {
|
|
73
74
|
&.ag-row-odd {
|
|
@@ -150,12 +151,14 @@
|
|
|
150
151
|
font-weight: var(--#{$prefix}tables-aggrid-header-font-weight);
|
|
151
152
|
}
|
|
152
153
|
|
|
153
|
-
.ag-header-cell:not(.ag-cell-inline-editing),
|
|
154
|
+
.ag-header-cell:not(.ag-cell-inline-editing),
|
|
155
|
+
.ag-cell:not(.ag-cell-inline-editing) {
|
|
154
156
|
padding-left: var(--#{$prefix}tables-aggrid-cell-padding-left);
|
|
155
157
|
padding-right: var(--#{$prefix}tables-aggrid-cell-padding-left);
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
.ag-header-cell.ag-header-cell-sortable,
|
|
160
|
+
.ag-header-cell.ag-header-cell-sortable,
|
|
161
|
+
.ag-header-cell.ag-floating-filter {
|
|
159
162
|
padding-right: var(--#{$prefix}tables-aggrid-sortable-header-padding-right);
|
|
160
163
|
}
|
|
161
164
|
|
|
@@ -163,7 +166,8 @@
|
|
|
163
166
|
justify-content: var(--#{$prefix}tables-aggrid-cell-label-justify-content);
|
|
164
167
|
}
|
|
165
168
|
|
|
166
|
-
.ag-header-icon,
|
|
169
|
+
.ag-header-icon,
|
|
170
|
+
.ag-sort-indicator-icon {
|
|
167
171
|
// todo RTL elements
|
|
168
172
|
margin-right: var(--ag-font-size);
|
|
169
173
|
}
|
|
@@ -193,7 +197,8 @@
|
|
|
193
197
|
box-shadow: $df-tables-aggrid-input-box-shadow;
|
|
194
198
|
}
|
|
195
199
|
|
|
196
|
-
.ag-checkbox-input,
|
|
200
|
+
.ag-checkbox-input,
|
|
201
|
+
.ag-cell {
|
|
197
202
|
cursor: $df-cursor-type;
|
|
198
203
|
}
|
|
199
204
|
|
|
@@ -206,7 +211,7 @@
|
|
|
206
211
|
background-color: $form-check-input-bg;
|
|
207
212
|
&::after {
|
|
208
213
|
@include border-radius($form-check-input-border-radius);
|
|
209
|
-
content:
|
|
214
|
+
content: '';
|
|
210
215
|
width: $form-check-input-width;
|
|
211
216
|
height: $form-check-input-width;
|
|
212
217
|
vertical-align: top;
|
|
@@ -229,7 +234,8 @@
|
|
|
229
234
|
}
|
|
230
235
|
}
|
|
231
236
|
&.ag-checked {
|
|
232
|
-
&::after {
|
|
237
|
+
&::after {
|
|
238
|
+
// copy element from the _form-check.scss
|
|
233
239
|
background-color: $form-check-input-checked-bg-color;
|
|
234
240
|
border-color: $form-check-input-checked-border-color;
|
|
235
241
|
@if $enable-gradients {
|
|
@@ -245,4 +251,4 @@
|
|
|
245
251
|
.df-pagination-secondary-elements {
|
|
246
252
|
--#{$prefix}tables-aggrid-pagination-secondary-elements-font-size: #{$df-tables-aggrid-pagination-secondary-elements-font-size};
|
|
247
253
|
font-size: var(--#{$prefix}tables-aggrid-pagination-secondary-elements-font-size);
|
|
248
|
-
}
|
|
254
|
+
}
|
|
@@ -17,9 +17,9 @@ $df-tables-aggrid-pagination-secondary-elements-font-size: $font-size-base * map
|
|
|
17
17
|
$df-tables-aggrid-border-inline: none !default;
|
|
18
18
|
$df-tables-aggrid-border-bottom-last-row: none !default;
|
|
19
19
|
$df-tables-aggrid-striped-row-color: $table-striped-bg !default; // Bootstrap Variable
|
|
20
|
-
$df-tables-aggrid-striped-row-color-hover: #e6e6e6 !default;
|
|
20
|
+
$df-tables-aggrid-striped-row-color-hover: #e6e6e6 !default;
|
|
21
21
|
$df-tables-aggrid-white-header: #fff !default;
|
|
22
22
|
$df-tables-aggrid-background-color: #fff !default;
|
|
23
23
|
$df-tables-aggrid-alpine-active-color: shades-css-var('primary', 'border-color') !default;
|
|
24
24
|
$df-tables-aggrid-input-box-shadow: $df-focused-box-shadow !default;
|
|
25
|
-
|
|
25
|
+
$df-tables-aggrid-wrapper-border-radius: 0 !default;
|
|
@@ -103,6 +103,8 @@ $df-css-namespace-selector: '.design-factory-v2' !default;
|
|
|
103
103
|
|
|
104
104
|
@import 'bootstrap/rtl-styles-override';
|
|
105
105
|
|
|
106
|
+
@import '@agnos-ui/style-bootstrap/scss/agnosui';
|
|
107
|
+
|
|
106
108
|
-webkit-text-size-adjust: 100%; // 4
|
|
107
109
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // 6
|
|
108
110
|
margin: 0; // 1
|
|
@@ -124,7 +126,7 @@ $df-css-namespace-selector: '.design-factory-v2' !default;
|
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
@each $state, $data in $form-validation-states {
|
|
127
|
-
@if ($state ==
|
|
129
|
+
@if ($state == 'valid' or $state == 'invalid') {
|
|
128
130
|
.was-validated :#{$state},
|
|
129
131
|
.is-#{$state} {
|
|
130
132
|
~ .#{$state}-feedback,
|