@design-factory/design-factory 20.0.1 → 21.0.0-next.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 +3 -11
- package/fesm2022/design-factory.mjs +889 -1113
- package/fesm2022/design-factory.mjs.map +1 -1
- package/package.json +21 -48
- package/schematics/migrations/21_0_0/style-import-package/index.d.ts +7 -0
- package/schematics/migrations/21_0_0/style-import-package/index.js +64 -0
- package/schematics/migrations/migration.json +5 -0
- package/schematics/ng-add/index.js +10 -24
- package/{index.d.ts → types/design-factory.d.ts} +47 -71
- package/assets/.gitkeep +0 -0
- package/assets/fonts/amadeus-bold/amadeus-bold.woff +0 -0
- package/assets/fonts/amadeus-bold/amadeus-bold.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bold.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bold.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bolditalic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bolditalic.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-italic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-italic.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-light.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-light.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-lightitalic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-lightitalic.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-regular.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-regular.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thin.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thin.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thinitalic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thinitalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-Bold.woff +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-Bold.woff2 +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-BoldItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-BoldItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-Light.woff +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-Light.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-LightItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-LightItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-Medium.woff +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-Medium.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-MediumItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-MediumItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-Regular.woff +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-Regular.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-RegularItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-RegularItalic.woff2 +0 -0
- package/assets/fonts/amadeus-regular/amadeus-regular.woff +0 -0
- package/assets/fonts/amadeus-regular/amadeus-regular.woff2 +0 -0
- package/assets/fonts/amadeus-thin/amadeus-thin.woff +0 -0
- package/assets/fonts/amadeus-thin/amadeus-thin.woff2 +0 -0
- package/assets/fonts/df-icons/df-icons-light.woff2 +0 -0
- package/assets/fonts/df-icons/df-icons-solid.woff2 +0 -0
- package/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- package/assets/fonts/font-awesome/fa-light-300.woff2 +0 -0
- package/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- package/assets/fonts/noto/notosans-bold.woff +0 -0
- package/assets/fonts/noto/notosans-bold.woff2 +0 -0
- package/assets/fonts/noto/notosans-bolditalic.woff +0 -0
- package/assets/fonts/noto/notosans-bolditalic.woff2 +0 -0
- package/assets/fonts/noto/notosans-italic.woff +0 -0
- package/assets/fonts/noto/notosans-italic.woff2 +0 -0
- package/assets/fonts/noto/notosans-light.woff +0 -0
- package/assets/fonts/noto/notosans-light.woff2 +0 -0
- package/assets/fonts/noto/notosans-lightitalic.woff +0 -0
- package/assets/fonts/noto/notosans-lightitalic.woff2 +0 -0
- package/assets/fonts/noto/notosans-regular.woff +0 -0
- package/assets/fonts/noto/notosans-regular.woff2 +0 -0
- package/assets/fonts/noto/notosans-thin.woff +0 -0
- package/assets/fonts/noto/notosans-thin.woff2 +0 -0
- package/assets/fonts/noto/notosans-thinitalic.woff +0 -0
- package/assets/fonts/noto/notosans-thinitalic.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-bold.woff +0 -0
- package/assets/fonts/noto/notosansarabic-bold.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-light.woff +0 -0
- package/assets/fonts/noto/notosansarabic-light.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-regular.woff +0 -0
- package/assets/fonts/noto/notosansarabic-regular.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-thin.woff +0 -0
- package/assets/fonts/noto/notosansarabic-thin.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-bold.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-bold.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-light.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-light.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-regular.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-regular.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-thin.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-thin.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-bold.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-bold.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-light.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-light.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-regular.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-regular.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-thin.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-thin.woff2 +0 -0
- package/assets/fonts/source-sans-pro-bold/source-sans-pro-bold.woff +0 -0
- package/assets/fonts/source-sans-pro-bold/source-sans-pro-bold.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bold.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bold.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bolditalic.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bolditalic.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-italic.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-italic.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-light.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-light.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-lightitalic.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-lightitalic.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-regular.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-regular.woff2 +0 -0
- package/assets/fonts/source-sans-pro-light/source-sans-pro-light.woff +0 -0
- package/assets/fonts/source-sans-pro-light/source-sans-pro-light.woff2 +0 -0
- package/assets/fonts/source-sans-pro-regular/source-sans-pro-regular.woff +0 -0
- package/assets/fonts/source-sans-pro-regular/source-sans-pro-regular.woff2 +0 -0
- package/assets/fonts/source-sans-pro-semibold/source-sans-pro-semibold.woff +0 -0
- package/assets/fonts/source-sans-pro-semibold/source-sans-pro-semibold.woff2 +0 -0
- package/design-factory-initial-branding.css +0 -13
- package/design-factory-initial-branding.scss +0 -1
- package/design-factory-utilities.scss +0 -5
- package/design-factory.css +0 -13
- package/design-factory.scss +0 -3
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs +0 -358
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs.map +0 -1
- package/styles/scss/_common.mixins.scss +0 -30
- package/styles/scss/_common.root.scss +0 -70
- package/styles/scss/_common.scss +0 -51
- package/styles/scss/_common.variables.scss +0 -79
- package/styles/scss/_variables.scss +0 -61
- package/styles/scss/agnosui/_variables.scss +0 -28
- package/styles/scss/bootstrap/_maps.scss +0 -52
- package/styles/scss/bootstrap/_mixins-override.scss +0 -69
- package/styles/scss/bootstrap/_rtl-styles-override.scss +0 -127
- package/styles/scss/bootstrap/_utilities-override.scss +0 -25
- package/styles/scss/bootstrap/_variables-dark.scss +0 -86
- package/styles/scss/bootstrap/_variables.scss +0 -2622
- package/styles/scss/components/.gitkeep +0 -0
- package/styles/scss/components/accordion/_accordion.scss +0 -241
- package/styles/scss/components/accordion/_accordion.variables.scss +0 -19
- package/styles/scss/components/alert/_alert.scss +0 -236
- package/styles/scss/components/alert/_alert.variables.scss +0 -56
- package/styles/scss/components/badge/_badge.mixins.scss +0 -23
- package/styles/scss/components/badge/_badge.scss +0 -483
- package/styles/scss/components/badge/_badge.variables.scss +0 -28
- package/styles/scss/components/brand-color/_brand-color.mixins.scss +0 -42
- package/styles/scss/components/brand-color/_brand-color.scss +0 -20
- package/styles/scss/components/brand-color/_brand-color.variables.scss +0 -152
- package/styles/scss/components/brand-color/_brand-color_container.scss +0 -23
- package/styles/scss/components/breadcrumbs/_breadcrumbs.scss +0 -127
- package/styles/scss/components/breadcrumbs/_breadcrumbs.variables.scss +0 -21
- package/styles/scss/components/button/_button.scss +0 -1090
- package/styles/scss/components/button/_button.utils.scss +0 -35
- package/styles/scss/components/button/_button.variables.scss +0 -48
- package/styles/scss/components/button/_button_container.scss +0 -47
- package/styles/scss/components/card/_card.scss +0 -208
- package/styles/scss/components/card/_card.variables.scss +0 -33
- package/styles/scss/components/carousel/_carousel.scss +0 -51
- package/styles/scss/components/carousel/_carousel.variables.scss +0 -12
- package/styles/scss/components/checkbox/_checkbox.scss +0 -61
- package/styles/scss/components/checkbox/_checkbox.variables.scss +0 -7
- package/styles/scss/components/collapse/_collapse.scss +0 -99
- package/styles/scss/components/collapse/_collapse.variables.scss +0 -7
- package/styles/scss/components/datepicker/_datepicker.scss +0 -362
- package/styles/scss/components/datepicker/_datepicker.variables.scss +0 -64
- package/styles/scss/components/dropdown/_dropdown.mixins.scss +0 -8
- package/styles/scss/components/dropdown/_dropdown.scss +0 -178
- package/styles/scss/components/dropdown/_dropdown.variables.scss +0 -24
- package/styles/scss/components/fieldset/_fieldset.scss +0 -8
- package/styles/scss/components/fieldset/_fieldset.variables.scss +0 -2
- package/styles/scss/components/fonts/_font-awesome-icons-brands.scss +0 -1585
- package/styles/scss/components/fonts/_font-awesome-icons.scss +0 -12886
- package/styles/scss/components/fonts/_font-faces.mixins.scss +0 -579
- package/styles/scss/components/fonts/_fonts-family.scss +0 -229
- package/styles/scss/components/fonts/_fonts.root.scss +0 -28
- package/styles/scss/components/fonts/_fonts.scss +0 -101
- package/styles/scss/components/fonts/_fonts.variables.scss +0 -33
- package/styles/scss/components/fonts/_icon-font.scss +0 -94
- package/styles/scss/components/fonts/_icon-font.variables.scss +0 -14
- package/styles/scss/components/fonts/_multi-lang.mixins.scss +0 -8
- package/styles/scss/components/fonts/multi-lang/_arabic.mixins.scss +0 -12
- package/styles/scss/components/fonts/multi-lang/_chinese.mixins.scss +0 -21
- package/styles/scss/components/fonts/multi-lang/_cyrillic-extended.mixins.scss +0 -11
- package/styles/scss/components/fonts/multi-lang/_cyrillic.mixins.scss +0 -10
- package/styles/scss/components/fonts/multi-lang/_georgian.mixins.scss +0 -13
- package/styles/scss/components/fonts/multi-lang/_hebrew.mixins.scss +0 -13
- package/styles/scss/components/fonts/multi-lang/_japanese.mixins.scss +0 -33
- package/styles/scss/components/fonts/multi-lang/_korean.mixins.scss +0 -18
- package/styles/scss/components/footer/_footer.mixins.scss +0 -36
- package/styles/scss/components/footer/_footer.scss +0 -86
- package/styles/scss/components/footer/_footer.variables.scss +0 -14
- package/styles/scss/components/form/_form.scss +0 -206
- package/styles/scss/components/form/_form.variables.scss +0 -34
- package/styles/scss/components/icon/_amadeus-icon.scss +0 -39
- package/styles/scss/components/icon/_amadeus-icon.variables.scss +0 -4
- package/styles/scss/components/inputs/_inputs.mixin.scss +0 -125
- package/styles/scss/components/inputs/_inputs.root.scss +0 -8
- package/styles/scss/components/inputs/_inputs.scss +0 -292
- package/styles/scss/components/inputs/_inputs.variables.scss +0 -39
- package/styles/scss/components/link/_link.mixins.scss +0 -198
- package/styles/scss/components/link/_link.scss +0 -170
- package/styles/scss/components/link/_link.variables.scss +0 -55
- package/styles/scss/components/list/_list.scss +0 -20
- package/styles/scss/components/list/_list.variables.scss +0 -4
- package/styles/scss/components/list-group/_list-group.scss +0 -101
- package/styles/scss/components/list-group/_list-group.variables.scss +0 -10
- package/styles/scss/components/media/_media.scss +0 -89
- package/styles/scss/components/media/_media.variables.scss +0 -19
- package/styles/scss/components/modal/_modal.scss +0 -247
- package/styles/scss/components/modal/_modal.variables.scss +0 -29
- package/styles/scss/components/navbar/_navbar.mixins.scss +0 -55
- package/styles/scss/components/navbar/_navbar.scss +0 -563
- package/styles/scss/components/navbar/_navbar.variables.scss +0 -102
- package/styles/scss/components/pagination/_pagination.scss +0 -251
- package/styles/scss/components/pagination/_pagination.variables.scss +0 -35
- package/styles/scss/components/pagination/_pagination_container.scss +0 -17
- package/styles/scss/components/popover/_popover.mixin.scss +0 -46
- package/styles/scss/components/popover/_popover.scss +0 -45
- package/styles/scss/components/popover/_popover.variables.scss +0 -25
- package/styles/scss/components/popover/_popover_container.scss +0 -214
- package/styles/scss/components/progressbar/_progressbar.scss +0 -93
- package/styles/scss/components/progressbar/_progressbar.variables.scss +0 -28
- package/styles/scss/components/radio/_radio.scss +0 -50
- package/styles/scss/components/radio/_radio.variables.scss +0 -4
- package/styles/scss/components/rating/_rating.scss +0 -118
- package/styles/scss/components/rating/_rating.variables.scss +0 -20
- package/styles/scss/components/scrollspy/_scrollspy.scss +0 -88
- package/styles/scss/components/scrollspy/_scrollspy.variables.scss +0 -23
- package/styles/scss/components/select/_select.mixin.scss +0 -34
- package/styles/scss/components/select/_select.scss +0 -804
- package/styles/scss/components/select/_select.variables.scss +0 -89
- package/styles/scss/components/separator/_separator.scss +0 -9
- package/styles/scss/components/separator/_separator.variables.scss +0 -1
- package/styles/scss/components/sidenav/_sidenav.scss +0 -347
- package/styles/scss/components/sidenav/_sidenav.variables.scss +0 -104
- package/styles/scss/components/skip-links/_skip-links.scss +0 -40
- package/styles/scss/components/skip-links/_skip-links.variables.scss +0 -9
- package/styles/scss/components/slider/_slider.scss +0 -422
- package/styles/scss/components/slider/_slider.variables.scss +0 -59
- package/styles/scss/components/speechbubble/_speechbubble.scss +0 -166
- package/styles/scss/components/speechbubble/_speechbubble.variables.scss +0 -27
- package/styles/scss/components/spinner/_spinner.scss +0 -126
- package/styles/scss/components/spinner/_spinner.variables.scss +0 -30
- package/styles/scss/components/spinner/_spinner_container.scss +0 -43
- package/styles/scss/components/stepper/_stepper.mixins.scss +0 -176
- package/styles/scss/components/stepper/_stepper.scss +0 -254
- package/styles/scss/components/stepper/_stepper.variables.scss +0 -88
- package/styles/scss/components/table/_advancedtables.scss +0 -306
- package/styles/scss/components/table/_table.scss +0 -19
- package/styles/scss/components/table/_table.variables.scss +0 -37
- package/styles/scss/components/tabs/_tabs.scss +0 -277
- package/styles/scss/components/tabs/_tabs.variables.scss +0 -36
- package/styles/scss/components/timepicker/_timepicker.scss +0 -5
- package/styles/scss/components/timepicker/_timepicker.variables.scss +0 -1
- package/styles/scss/components/toast/_toast.scss +0 -354
- package/styles/scss/components/toast/_toast.variables.scss +0 -18
- package/styles/scss/components/toggle/_toggle.scss +0 -145
- package/styles/scss/components/toggle/_toggle.variables.scss +0 -22
- package/styles/scss/components/tooltip/_tooltip.scss +0 -24
- package/styles/scss/components/tooltip/_tooltip.variables.scss +0 -6
- package/styles/scss/components/tooltip/_tooltip_container.scss +0 -116
- package/styles/scss/components/typeahead/_typeahead.scss +0 -57
- package/styles/scss/components/typeahead/_typeahead.variables.scss +0 -11
- package/styles/scss/df-styles-namespace.scss +0 -163
- package/styles/scss/df-styles.scss +0 -117
- package/styles/scss/themes/brand2023/_variables.scss +0 -1141
- package/styles/scss/themes/brand2023/tokens/_mapping.gen.scss +0 -868
- package/styles/scss/themes/brand2023/tokens/_root.gen.scss +0 -1709
- package/styles/scss/themes/brand2023/tokens/_sass-vars.gen.scss +0 -1468
- package/styles/scss/utilities/_common.utilities.scss +0 -205
- package/styles/scss/utilities/_form.mixins.scss +0 -26
- package/styles/scss/utilities/_rgb.scss +0 -10
- package/tokens/style-dictionary/index.d.ts +0 -60
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use 'sass:meta';
|
|
3
|
-
|
|
4
|
-
.form-switch {
|
|
5
|
-
--#{$prefix}switch-height: #{math.div($form-switch-width, 2)};
|
|
6
|
-
--#{$prefix}switch-border-width: #{$df-switch-border-width};
|
|
7
|
-
--#{$prefix}switch-border-color: #{$df-switch-border-color};
|
|
8
|
-
--#{$prefix}switch-label-padding-start: #{$df-switch-label-padding-start};
|
|
9
|
-
--#{$prefix}switch-name-font-weight: #{$df-switch-name-font-weight};
|
|
10
|
-
--#{$prefix}switch-label-font-weight: #{$df-switch-label-font-weight};
|
|
11
|
-
--#{$prefix}switch-disabled-label-color: #{$df-switch-disabled-label-color};
|
|
12
|
-
--#{$prefix}switch-disabled-active-bg-color: #{$df-switch-disabled-active-bg-color};
|
|
13
|
-
--#{$prefix}switch-disabled-active-border-color: #{$df-switch-disabled-active-border-color};
|
|
14
|
-
@if $enable-gradients {
|
|
15
|
-
--#{$prefix}switch-disabled-bg-image: #{escape-svg($df-switch-disabled-bg-image), var(--#{$prefix}gradient)};
|
|
16
|
-
} @else {
|
|
17
|
-
--#{$prefix}switch-disabled-bg-image: #{escape-svg($df-switch-disabled-bg-image)};
|
|
18
|
-
}
|
|
19
|
-
--#{$prefix}switch-disabled-inactive-background-color: #{$df-switch-disabled-inactive-background-color};
|
|
20
|
-
--#{$prefix}switch-disabled-inactive-border-color: #{$df-switch-disabled-inactive-border-color};
|
|
21
|
-
--#{$prefix}switch-disabled-cursor: #{$df-switch-disabled-cursor};
|
|
22
|
-
--#{$prefix}switch-rtl-checked-bg-position: #{$df-switch-rtl-checked-bg-position};
|
|
23
|
-
--#{$prefix}switch-rtl-bg-position: #{$df-switch-rtl-bg-position};
|
|
24
|
-
--#{$prefix}switch-name-padding-start: 0;
|
|
25
|
-
--#{$prefix}switch-padding-start: #{$form-switch-padding-start};
|
|
26
|
-
--#{$prefix}switch-input-padding-start: 0;
|
|
27
|
-
--#{$prefix}switch-container-margin-top: #{$df-switch-container-margin-top};
|
|
28
|
-
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
|
|
32
|
-
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
33
|
-
--#{$prefix}box-shadow-color: #{shades-css-var(
|
|
34
|
-
'primary',
|
|
35
|
-
'bg-color'
|
|
36
|
-
)}; // same as $form-check-input-checked-bg-color: $component-active-bg
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@each $state, $color in $df-switch-additional-color-list {
|
|
40
|
-
.df-switch-#{$state} {
|
|
41
|
-
--#{$prefix}text-color-opacity: #{$df-switch-box-shadow-opacity};
|
|
42
|
-
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
43
|
-
--#{$prefix}box-shadow-color: #{$color};
|
|
44
|
-
} @else {
|
|
45
|
-
--#{$prefix}box-shadow-color: #{shades-rgba-css-var-with-opacity($state, 'text-color')};
|
|
46
|
-
}
|
|
47
|
-
--#{$prefix}switch-color: #{shades-css-var($state, 'bg-color')};
|
|
48
|
-
--#{$prefix}switch-color-rgb: #{shades-rgb-css-var($state, 'bg-color')};
|
|
49
|
-
&:checked:not(.disabled):not([disabled]) {
|
|
50
|
-
background-color: var(--#{$prefix}switch-color);
|
|
51
|
-
border-color: var(--#{$prefix}switch-color);
|
|
52
|
-
}
|
|
53
|
-
.form-check-input {
|
|
54
|
-
&:focus {
|
|
55
|
-
box-shadow: #{$df-switch-box-shadow};
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&.form-check {
|
|
62
|
-
@include ltr {
|
|
63
|
-
// override BS, there is no CSS var for this
|
|
64
|
-
padding-left: var(--#{$prefix}switch-padding-start);
|
|
65
|
-
}
|
|
66
|
-
@include rtl {
|
|
67
|
-
padding-right: var(--#{$prefix}switch-padding-start);
|
|
68
|
-
}
|
|
69
|
-
.form-check-input {
|
|
70
|
-
@include ltr {
|
|
71
|
-
margin-left: var(--#{$prefix}switch-input-padding-start);
|
|
72
|
-
}
|
|
73
|
-
@include rtl {
|
|
74
|
-
margin-right: var(--#{$prefix}switch-input-padding-start);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.form-check-input {
|
|
80
|
-
&:not(:checked):not(.disabled):not([disabled]) {
|
|
81
|
-
border-color: var(--#{$prefix}switch-border-color);
|
|
82
|
-
}
|
|
83
|
-
&:focus {
|
|
84
|
-
&:not(:checked) {
|
|
85
|
-
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
86
|
-
--#{$prefix}box-shadow-color: #{$form-switch-color};
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
box-shadow: #{$df-switch-box-shadow};
|
|
90
|
-
}
|
|
91
|
-
height: var(--#{$prefix}switch-height);
|
|
92
|
-
border-width: var(--#{$prefix}switch-border-width);
|
|
93
|
-
@include rtl {
|
|
94
|
-
background-position: var(--#{$prefix}switch-rtl-bg-position);
|
|
95
|
-
&:checked {
|
|
96
|
-
background-position: var(--#{$prefix}switch-rtl-checked-bg-position);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&.disabled,
|
|
101
|
-
&[disabled] {
|
|
102
|
-
background-image: var(--#{$prefix}switch-disabled-bg-image);
|
|
103
|
-
&:checked {
|
|
104
|
-
background-color: var(--#{$prefix}switch-disabled-active-bg-color);
|
|
105
|
-
border-color: var(--#{$prefix}switch-disabled-active-border-color);
|
|
106
|
-
}
|
|
107
|
-
&:not([checked]):not(:checked) {
|
|
108
|
-
background-color: var(--#{$prefix}switch-disabled-inactive-background-color);
|
|
109
|
-
border-color: var(--#{$prefix}switch-disabled-inactive-border-color);
|
|
110
|
-
}
|
|
111
|
-
~ .form-check-label {
|
|
112
|
-
color: var(--#{$prefix}switch-disabled-label-color);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
.form-check-label {
|
|
117
|
-
@include rtl {
|
|
118
|
-
padding-right: var(--#{$prefix}switch-label-padding-start);
|
|
119
|
-
}
|
|
120
|
-
@include ltr {
|
|
121
|
-
padding-left: var(--#{$prefix}switch-label-padding-start);
|
|
122
|
-
}
|
|
123
|
-
font-weight: var(--#{$prefix}switch-label-font-weight);
|
|
124
|
-
}
|
|
125
|
-
.df-form-switch-name {
|
|
126
|
-
font-weight: var(--#{$prefix}switch-name-font-weight);
|
|
127
|
-
@include rtl {
|
|
128
|
-
padding-right: var(--#{$prefix}switch-name-padding-start);
|
|
129
|
-
}
|
|
130
|
-
@include ltr {
|
|
131
|
-
padding-left: var(--#{$prefix}switch-name-padding-start);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&.df-form-switch-name-disabled {
|
|
135
|
-
color: var(--#{$prefix}switch-disabled-label-color);
|
|
136
|
-
cursor: var(--#{$prefix}switch-disabled-cursor);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.df-form-switch-container {
|
|
140
|
-
display: flex;
|
|
141
|
-
align-items: center;
|
|
142
|
-
margin-top: var(--#{$prefix}switch-container-margin-top);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
|
|
3
|
-
$df-switch-label-padding-start: 0.5em !default;
|
|
4
|
-
$df-switch-border-width: 0.09375rem !default;
|
|
5
|
-
$df-switch-border-color: var(--#{$prefix}gray-600) !default;
|
|
6
|
-
$df-switch-name-font-weight: 400 !default;
|
|
7
|
-
$df-switch-label-font-weight: 500 !default;
|
|
8
|
-
$df-switch-additional-color-list: (
|
|
9
|
-
'success': $green-600
|
|
10
|
-
) !default;
|
|
11
|
-
$df-switch-disabled-label-color: var(--#{$prefix}gray-900) !default;
|
|
12
|
-
$df-switch-disabled-active-bg-color: var(--#{$prefix}gray-200) !default;
|
|
13
|
-
$df-switch-disabled-active-border-color: $border-color !default;
|
|
14
|
-
$df-switch-disabled-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$gray-400}'/></svg>") !default;
|
|
15
|
-
$df-switch-disabled-inactive-background-color: $white !default;
|
|
16
|
-
$df-switch-disabled-inactive-border-color: $border-color !default;
|
|
17
|
-
$df-switch-disabled-cursor: var(--#{$prefix}disabled-cursor) !default;
|
|
18
|
-
$df-switch-rtl-checked-bg-position: left center !default;
|
|
19
|
-
$df-switch-rtl-bg-position: right center !default;
|
|
20
|
-
$df-switch-box-shadow-opacity: $input-btn-focus-color-opacity !default;
|
|
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,24 +0,0 @@
|
|
|
1
|
-
.tooltip {
|
|
2
|
-
--#{$prefix}tooltip-border-radius-sm: #{$df-tooltip-border-radius-sm};
|
|
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};
|
|
8
|
-
|
|
9
|
-
@each $extension, $ratio in $df-size-ratios {
|
|
10
|
-
&.tooltip-inner-#{$extension} {
|
|
11
|
-
.tooltip-inner {
|
|
12
|
-
@include border-radius(var(--#{$prefix}tooltip-border-radius-#{$extension}));
|
|
13
|
-
font-size: get-sizing-brand2023($extension, $ratio);
|
|
14
|
-
padding: var(--#{$prefix}tooltip-padding-y-#{$extension}) var(--#{$prefix}tooltip-padding-x-#{$extension});
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@each $extension, $ratio in $df-size-ratios {
|
|
21
|
-
.df-font-#{$extension} .tooltip .tooltip-inner {
|
|
22
|
-
font-size: get-sizing-brand2023($extension, $ratio);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
$df-tooltip-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
|
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;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
// This style is needed when using DF through a CSS namespace
|
|
2
|
-
#{$df-css-namespace-selector}.tooltip {
|
|
3
|
-
// scss-docs-start tooltip-css-vars
|
|
4
|
-
--#{$prefix}tooltip-zindex: #{$zindex-tooltip};
|
|
5
|
-
--#{$prefix}tooltip-max-width: #{$tooltip-max-width};
|
|
6
|
-
--#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};
|
|
7
|
-
--#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};
|
|
8
|
-
--#{$prefix}tooltip-margin: #{$tooltip-margin};
|
|
9
|
-
@include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);
|
|
10
|
-
--#{$prefix}tooltip-color: #{$tooltip-color};
|
|
11
|
-
--#{$prefix}tooltip-bg: #{$tooltip-bg};
|
|
12
|
-
--#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};
|
|
13
|
-
--#{$prefix}tooltip-opacity: #{$tooltip-opacity};
|
|
14
|
-
--#{$prefix}tooltip-arrow-width: #{$tooltip-arrow-width};
|
|
15
|
-
--#{$prefix}tooltip-arrow-height: #{$tooltip-arrow-height};
|
|
16
|
-
// scss-docs-end tooltip-css-vars
|
|
17
|
-
|
|
18
|
-
z-index: var(--#{$prefix}tooltip-zindex);
|
|
19
|
-
display: block;
|
|
20
|
-
padding: var(--#{$prefix}tooltip-arrow-height);
|
|
21
|
-
margin: var(--#{$prefix}tooltip-margin);
|
|
22
|
-
@include deprecate('`$tooltip-margin`', 'v5', 'v5.x', true);
|
|
23
|
-
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
|
24
|
-
// So reset our font and text properties to avoid inheriting weird values.
|
|
25
|
-
@include reset-text();
|
|
26
|
-
@include font-size(var(--#{$prefix}tooltip-font-size));
|
|
27
|
-
// Allow breaking very long words so they don't overflow the tooltip's bounds
|
|
28
|
-
word-wrap: break-word;
|
|
29
|
-
opacity: 0;
|
|
30
|
-
|
|
31
|
-
&.show {
|
|
32
|
-
opacity: var(--#{$prefix}tooltip-opacity);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.tooltip-arrow {
|
|
36
|
-
display: block;
|
|
37
|
-
width: var(--#{$prefix}tooltip-arrow-width);
|
|
38
|
-
height: var(--#{$prefix}tooltip-arrow-height);
|
|
39
|
-
|
|
40
|
-
&::before {
|
|
41
|
-
position: absolute;
|
|
42
|
-
content: '';
|
|
43
|
-
border-color: transparent;
|
|
44
|
-
border-style: solid;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.bs-tooltip-top {
|
|
49
|
-
.tooltip-arrow {
|
|
50
|
-
bottom: 0;
|
|
51
|
-
|
|
52
|
-
&::before {
|
|
53
|
-
top: -1px;
|
|
54
|
-
border-width: var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) 0; // stylelint-disable-line function-disallowed-list
|
|
55
|
-
border-top-color: var(--#{$prefix}tooltip-bg);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.bs-tooltip-end {
|
|
61
|
-
.tooltip-arrow {
|
|
62
|
-
left: 0;
|
|
63
|
-
width: var(--#{$prefix}tooltip-arrow-height);
|
|
64
|
-
height: var(--#{$prefix}tooltip-arrow-width);
|
|
65
|
-
|
|
66
|
-
&::before {
|
|
67
|
-
right: -1px;
|
|
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
|
|
70
|
-
border-right-color: var(--#{$prefix}tooltip-bg);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.bs-tooltip-bottom {
|
|
76
|
-
.tooltip-arrow {
|
|
77
|
-
top: 0;
|
|
78
|
-
|
|
79
|
-
&::before {
|
|
80
|
-
bottom: -1px;
|
|
81
|
-
border-width: 0 calc(var(--#{$prefix}tooltip-arrow-width) * 0.5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
82
|
-
border-bottom-color: var(--#{$prefix}tooltip-bg);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.bs-tooltip-start {
|
|
88
|
-
.tooltip-arrow {
|
|
89
|
-
right: 0;
|
|
90
|
-
width: var(--#{$prefix}tooltip-arrow-height);
|
|
91
|
-
height: var(--#{$prefix}tooltip-arrow-width);
|
|
92
|
-
|
|
93
|
-
&::before {
|
|
94
|
-
left: -1px;
|
|
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
|
|
97
|
-
border-left-color: var(--#{$prefix}tooltip-bg);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.bs-tooltip-auto {
|
|
103
|
-
&[data-popper-placement^='top'] {
|
|
104
|
-
@extend .bs-tooltip-top;
|
|
105
|
-
}
|
|
106
|
-
&[data-popper-placement^='right'] {
|
|
107
|
-
@extend .bs-tooltip-end;
|
|
108
|
-
}
|
|
109
|
-
&[data-popper-placement^='bottom'] {
|
|
110
|
-
@extend .bs-tooltip-bottom;
|
|
111
|
-
}
|
|
112
|
-
&[data-popper-placement^='left'] {
|
|
113
|
-
@extend .bs-tooltip-start;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
// stylelint-disable-next-line selector-type-no-unknown
|
|
2
|
-
// Flag angular specific selectors
|
|
3
|
-
ngb-typeahead-window.dropdown-menu {
|
|
4
|
-
--#{$prefix}typeahead-hover-color: #{$df-typeahead-hover-color};
|
|
5
|
-
--#{$prefix}typeahead-hover-bg: #{$df-typeahead-hover-bg};
|
|
6
|
-
--#{$prefix}typeahead-active-color: #{$df-typeahead-active-color};
|
|
7
|
-
--#{$prefix}typeahead-active-bg-color: #{$df-typeahead-active-bg-color};
|
|
8
|
-
--#{$prefix}typeahead-highlight-color: #{$df-typeahead-highlight-color};
|
|
9
|
-
--#{$prefix}typeahead-hover-highlight-color: #{$df-typeahead-hover-highlight-color};
|
|
10
|
-
--#{$prefix}typeahead-highlight-font-family: #{$df-typeahead-highlight-font-family};
|
|
11
|
-
--#{$prefix}typeahead-max-height: #{$df-typeahead-max-height};
|
|
12
|
-
--#{$prefix}typeahead-highlight-font-weight: bold;
|
|
13
|
-
|
|
14
|
-
box-shadow: $dropdown-box-shadow;
|
|
15
|
-
border-style: none;
|
|
16
|
-
max-width: 40rem;
|
|
17
|
-
width: max-content;
|
|
18
|
-
max-height: var(--#{$prefix}typeahead-max-height);
|
|
19
|
-
overflow: auto;
|
|
20
|
-
.dropdown-item {
|
|
21
|
-
line-height: 1.75rem;
|
|
22
|
-
white-space: normal;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
// Hover of a typeahead item uses active state of the dropdown item
|
|
25
|
-
&:not(:disabled):not(.disabled).active {
|
|
26
|
-
color: var(--#{$prefix}typeahead-hover-color);
|
|
27
|
-
background-color: var(--#{$prefix}typeahead-hover-bg);
|
|
28
|
-
|
|
29
|
-
&:active {
|
|
30
|
-
color: var(--#{$prefix}typeahead-active-color);
|
|
31
|
-
background-color: var(--#{$prefix}typeahead-active-bg-color);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ngb-highlight {
|
|
35
|
-
color: var(--#{$prefix}typeahead-hover-highlight-color);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.ngb-highlight {
|
|
39
|
-
color: var(--#{$prefix}typeahead-highlight-color);
|
|
40
|
-
font-family: var(--#{$prefix}typeahead-highlight-font-family);
|
|
41
|
-
font-weight: var(--#{$prefix}typeahead-highlight-font-weight);
|
|
42
|
-
}
|
|
43
|
-
span[class^='icon-'],
|
|
44
|
-
span[class^='fa-'] {
|
|
45
|
-
position: relative;
|
|
46
|
-
top: 0.1rem;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// for small and extra small device only
|
|
52
|
-
@include media-breakpoint-down(sm) {
|
|
53
|
-
// stylelint-disable-next-line selector-type-no-unknown
|
|
54
|
-
ngb-typeahead-window.dropdown-menu {
|
|
55
|
-
max-width: 90vw;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color';
|
|
3
|
-
|
|
4
|
-
$df-typeahead-hover-color: $dropdown-link-hover-color !default;
|
|
5
|
-
$df-typeahead-hover-bg: $dropdown-link-hover-bg !default;
|
|
6
|
-
$df-typeahead-active-color: color-contrast(color.adjust($df-typeahead-hover-bg, $lightness: -10%)) !default;
|
|
7
|
-
$df-typeahead-active-bg-color: color.adjust($df-typeahead-hover-bg, $lightness: -10%) !default;
|
|
8
|
-
$df-typeahead-highlight-color: shades-css-var('primary', 'bg-color') !default;
|
|
9
|
-
$df-typeahead-hover-highlight-color: shades-css-var('primary', 'bg-hover-color') !default;
|
|
10
|
-
$df-typeahead-highlight-font-family: $font-family-sans-serif !default;
|
|
11
|
-
$df-typeahead-max-height: 240px !default;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
@import 'variables';
|
|
2
|
-
@import 'bootstrap/maps';
|
|
3
|
-
@import 'bootstrap/scss/maps';
|
|
4
|
-
@import 'bootstrap/scss/mixins';
|
|
5
|
-
@import 'bootstrap/mixins-override';
|
|
6
|
-
@import 'components/fonts/fonts-family';
|
|
7
|
-
@import 'components/fonts/multi-lang.mixins';
|
|
8
|
-
@import 'common.mixins';
|
|
9
|
-
|
|
10
|
-
@import 'bootstrap/scss/root';
|
|
11
|
-
@import 'common.root';
|
|
12
|
-
@import 'components/fonts/fonts.root';
|
|
13
|
-
@import 'components/inputs/inputs.root';
|
|
14
|
-
|
|
15
|
-
$df-css-namespace-selector: '.design-factory-v2' !default;
|
|
16
|
-
|
|
17
|
-
#{$df-css-namespace-selector} {
|
|
18
|
-
@import 'bootstrap/scss/reboot';
|
|
19
|
-
@import 'bootstrap/scss/type';
|
|
20
|
-
@import 'bootstrap/scss/images';
|
|
21
|
-
@import 'bootstrap/scss/containers';
|
|
22
|
-
@import 'bootstrap/scss/grid';
|
|
23
|
-
@import 'bootstrap/scss/tables';
|
|
24
|
-
@import 'bootstrap/scss/forms';
|
|
25
|
-
@import 'bootstrap/scss/buttons';
|
|
26
|
-
@import 'bootstrap/scss/transitions';
|
|
27
|
-
@import 'bootstrap/scss/dropdown';
|
|
28
|
-
@import 'bootstrap/scss/button-group';
|
|
29
|
-
@import 'bootstrap/scss/nav';
|
|
30
|
-
@import 'bootstrap/scss/navbar';
|
|
31
|
-
@import 'bootstrap/scss/card';
|
|
32
|
-
@import 'bootstrap/scss/accordion';
|
|
33
|
-
@import 'bootstrap/scss/breadcrumb';
|
|
34
|
-
@import 'bootstrap/scss/pagination';
|
|
35
|
-
@import 'bootstrap/scss/badge';
|
|
36
|
-
@import 'bootstrap/scss/alert';
|
|
37
|
-
@import 'bootstrap/scss/progress';
|
|
38
|
-
@import 'bootstrap/scss/list-group';
|
|
39
|
-
@import 'bootstrap/scss/close';
|
|
40
|
-
@import 'bootstrap/scss/modal';
|
|
41
|
-
@import 'bootstrap/scss/tooltip';
|
|
42
|
-
@import 'bootstrap/scss/popover';
|
|
43
|
-
@import 'bootstrap/scss/carousel';
|
|
44
|
-
@import 'bootstrap/scss/spinners';
|
|
45
|
-
@import 'bootstrap/scss/utilities';
|
|
46
|
-
@import 'bootstrap/scss/offcanvas';
|
|
47
|
-
@import 'bootstrap/scss/placeholders';
|
|
48
|
-
@import 'bootstrap/scss/toasts';
|
|
49
|
-
|
|
50
|
-
// Helpers
|
|
51
|
-
@import 'bootstrap/scss/helpers';
|
|
52
|
-
|
|
53
|
-
// Utilities
|
|
54
|
-
@import 'bootstrap/utilities-override';
|
|
55
|
-
@import 'bootstrap/scss/utilities/api';
|
|
56
|
-
|
|
57
|
-
/** DESIGN FACTORY IMPORTS **/
|
|
58
|
-
@import 'common';
|
|
59
|
-
@import 'components/accordion/accordion';
|
|
60
|
-
@import 'components/fonts/icon-font';
|
|
61
|
-
@import 'components/fonts/font-awesome-icons';
|
|
62
|
-
@import 'components/fonts/font-awesome-icons-brands';
|
|
63
|
-
@import 'components/fonts/fonts';
|
|
64
|
-
@import 'components/separator/separator';
|
|
65
|
-
@import 'components/button/button';
|
|
66
|
-
@import 'components/media/media';
|
|
67
|
-
@import 'components/modal/modal';
|
|
68
|
-
@import 'components/typeahead/typeahead';
|
|
69
|
-
@import 'components/alert/alert';
|
|
70
|
-
@import 'components/datepicker/datepicker';
|
|
71
|
-
@import 'components/form/form';
|
|
72
|
-
@import 'components/pagination/pagination';
|
|
73
|
-
@import 'components/badge/badge';
|
|
74
|
-
@import 'components/icon/amadeus-icon';
|
|
75
|
-
@import 'components/navbar/navbar';
|
|
76
|
-
@import 'components/tabs/tabs';
|
|
77
|
-
@import 'components/checkbox/checkbox';
|
|
78
|
-
@import 'components/radio/radio';
|
|
79
|
-
@import 'components/toggle/toggle';
|
|
80
|
-
@import 'components/inputs/inputs';
|
|
81
|
-
@import 'components/card/card';
|
|
82
|
-
@import 'components/list-group/list-group';
|
|
83
|
-
@import 'components/brand-color/brand-color';
|
|
84
|
-
@import 'components/link/link';
|
|
85
|
-
@import 'components/table/table';
|
|
86
|
-
@import 'components/table/advancedtables';
|
|
87
|
-
@import 'components/fieldset/fieldset';
|
|
88
|
-
@import 'components/popover/popover';
|
|
89
|
-
@import 'components/slider/slider';
|
|
90
|
-
@import 'components/select/select';
|
|
91
|
-
@import 'components/dropdown/dropdown';
|
|
92
|
-
@import 'components/collapse/collapse';
|
|
93
|
-
@import 'components/progressbar/progressbar';
|
|
94
|
-
@import 'components/spinner/spinner';
|
|
95
|
-
@import 'components/rating/rating';
|
|
96
|
-
@import 'components/speechbubble/speechbubble';
|
|
97
|
-
@import 'components/list/list';
|
|
98
|
-
@import 'components/skip-links/skip-links';
|
|
99
|
-
@import 'components/breadcrumbs/breadcrumbs';
|
|
100
|
-
@import 'components/stepper/stepper';
|
|
101
|
-
@import 'components/carousel/carousel';
|
|
102
|
-
@import 'components/sidenav/sidenav';
|
|
103
|
-
@import 'components/footer/footer';
|
|
104
|
-
@import 'components/toast/toast';
|
|
105
|
-
|
|
106
|
-
@import 'bootstrap/rtl-styles-override';
|
|
107
|
-
|
|
108
|
-
// issue with agnosui exports, to be fixed for DF 20
|
|
109
|
-
/* stylelint-disable-next-line scss/load-partial-extension */
|
|
110
|
-
@import '@agnos-ui/core-bootstrap/scss/agnosui.scss';
|
|
111
|
-
|
|
112
|
-
-webkit-text-size-adjust: 100%; // 4
|
|
113
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // 6
|
|
114
|
-
margin: 0; // 1
|
|
115
|
-
font-family: $font-family-base;
|
|
116
|
-
font-size: $font-size-base;
|
|
117
|
-
font-weight: $font-weight-base;
|
|
118
|
-
line-height: $line-height-base;
|
|
119
|
-
color: $body-color;
|
|
120
|
-
background-color: $body-bg; // 2
|
|
121
|
-
|
|
122
|
-
.list-group-item + .list-group-item {
|
|
123
|
-
// Copy from Bootstrap 4.4.1 due to CSS namespacing and use of + selector
|
|
124
|
-
border-top-width: 0;
|
|
125
|
-
|
|
126
|
-
&.active {
|
|
127
|
-
margin-top: -$list-group-border-width;
|
|
128
|
-
border-top-width: $list-group-border-width;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@each $state, $data in $form-validation-states {
|
|
133
|
-
@if ($state == 'valid' or $state == 'invalid') {
|
|
134
|
-
.was-validated :#{$state},
|
|
135
|
-
.is-#{$state} {
|
|
136
|
-
~ .#{$state}-feedback,
|
|
137
|
-
~ .#{$state}-tooltip {
|
|
138
|
-
display: block;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
} @else {
|
|
142
|
-
.is-#{$state} {
|
|
143
|
-
~ .#{$state}-feedback,
|
|
144
|
-
~ .#{$state}-tooltip {
|
|
145
|
-
display: block;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
/* stylelint-disable no-invalid-position-at-import-rule */
|
|
152
|
-
@import 'components/popover/popover_container';
|
|
153
|
-
@import 'components/tooltip/tooltip_container';
|
|
154
|
-
@import 'components/spinner/spinner_container';
|
|
155
|
-
@import 'components/button/button_container';
|
|
156
|
-
@import 'components/pagination/pagination_container';
|
|
157
|
-
@import 'components/brand-color/brand-color_container';
|
|
158
|
-
/* stylelint-enable no-invalid-position-at-import-rule */
|
|
159
|
-
|
|
160
|
-
// this css is needed when modal are open to have no scroll on the background.
|
|
161
|
-
.df-modal-open {
|
|
162
|
-
overflow: hidden;
|
|
163
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
@import 'variables';
|
|
2
|
-
@import 'bootstrap/maps';
|
|
3
|
-
@import 'bootstrap/scss/maps';
|
|
4
|
-
@import 'bootstrap/scss/mixins';
|
|
5
|
-
@import 'bootstrap/mixins-override';
|
|
6
|
-
@import 'components/fonts/fonts-family';
|
|
7
|
-
@import 'components/fonts/multi-lang.mixins';
|
|
8
|
-
@import 'common.mixins';
|
|
9
|
-
|
|
10
|
-
// Root
|
|
11
|
-
@import 'bootstrap/scss/root';
|
|
12
|
-
@import 'common.root';
|
|
13
|
-
@import 'components/fonts/fonts.root';
|
|
14
|
-
@import 'components/inputs/inputs.root';
|
|
15
|
-
|
|
16
|
-
/** BOOTSTRAP IMPORTS **/
|
|
17
|
-
// Components
|
|
18
|
-
@import 'bootstrap/scss/reboot';
|
|
19
|
-
@import 'bootstrap/scss/type';
|
|
20
|
-
@import 'bootstrap/scss/images';
|
|
21
|
-
@import 'bootstrap/scss/containers';
|
|
22
|
-
@import 'bootstrap/scss/grid';
|
|
23
|
-
@import 'bootstrap/scss/tables';
|
|
24
|
-
@import 'bootstrap/scss/forms';
|
|
25
|
-
@import 'bootstrap/scss/buttons';
|
|
26
|
-
@import 'bootstrap/scss/transitions';
|
|
27
|
-
@import 'bootstrap/scss/dropdown';
|
|
28
|
-
@import 'bootstrap/scss/button-group';
|
|
29
|
-
@import 'bootstrap/scss/nav';
|
|
30
|
-
@import 'bootstrap/scss/navbar';
|
|
31
|
-
@import 'bootstrap/scss/card';
|
|
32
|
-
@import 'bootstrap/scss/accordion';
|
|
33
|
-
@import 'bootstrap/scss/breadcrumb';
|
|
34
|
-
@import 'bootstrap/scss/pagination';
|
|
35
|
-
@import 'bootstrap/scss/badge';
|
|
36
|
-
@import 'bootstrap/scss/alert';
|
|
37
|
-
@import 'bootstrap/scss/progress';
|
|
38
|
-
@import 'bootstrap/scss/list-group';
|
|
39
|
-
@import 'bootstrap/scss/close';
|
|
40
|
-
@import 'bootstrap/scss/modal';
|
|
41
|
-
@import 'bootstrap/scss/tooltip';
|
|
42
|
-
@import 'bootstrap/scss/popover';
|
|
43
|
-
@import 'bootstrap/scss/carousel';
|
|
44
|
-
@import 'bootstrap/scss/spinners';
|
|
45
|
-
@import 'bootstrap/scss/utilities';
|
|
46
|
-
@import 'bootstrap/scss/offcanvas';
|
|
47
|
-
@import 'bootstrap/scss/placeholders';
|
|
48
|
-
@import 'bootstrap/scss/toasts';
|
|
49
|
-
|
|
50
|
-
// Helpers
|
|
51
|
-
@import 'bootstrap/scss/helpers';
|
|
52
|
-
|
|
53
|
-
// Utilities
|
|
54
|
-
@import 'bootstrap/utilities-override';
|
|
55
|
-
@import 'bootstrap/scss/utilities/api';
|
|
56
|
-
|
|
57
|
-
/** DESIGN FACTORY IMPORTS **/
|
|
58
|
-
@import 'common';
|
|
59
|
-
@import 'components/fonts/icon-font';
|
|
60
|
-
@import 'components/fonts/font-awesome-icons';
|
|
61
|
-
@import 'components/fonts/font-awesome-icons-brands';
|
|
62
|
-
@import 'components/fonts/fonts';
|
|
63
|
-
@import 'components/accordion/accordion';
|
|
64
|
-
@import 'components/separator/separator';
|
|
65
|
-
@import 'components/button/button';
|
|
66
|
-
@import 'components/media/media';
|
|
67
|
-
@import 'components/modal/modal';
|
|
68
|
-
@import 'components/typeahead/typeahead';
|
|
69
|
-
@import 'components/alert/alert';
|
|
70
|
-
@import 'components/datepicker/datepicker';
|
|
71
|
-
@import 'components/form/form';
|
|
72
|
-
@import 'components/pagination/pagination';
|
|
73
|
-
@import 'components/badge/badge';
|
|
74
|
-
@import 'components/icon/amadeus-icon';
|
|
75
|
-
@import 'components/navbar/navbar';
|
|
76
|
-
@import 'components/tabs/tabs';
|
|
77
|
-
@import 'components/checkbox/checkbox';
|
|
78
|
-
@import 'components/radio/radio';
|
|
79
|
-
@import 'components/toggle/toggle';
|
|
80
|
-
@import 'components/inputs/inputs';
|
|
81
|
-
@import 'components/card/card';
|
|
82
|
-
@import 'components/list-group/list-group';
|
|
83
|
-
@import 'components/brand-color/brand-color';
|
|
84
|
-
@import 'components/link/link';
|
|
85
|
-
@import 'components/table/table';
|
|
86
|
-
@import 'components/table/advancedtables';
|
|
87
|
-
@import 'components/fieldset/fieldset';
|
|
88
|
-
@import 'components/popover/popover';
|
|
89
|
-
@import 'components/slider/slider';
|
|
90
|
-
@import 'components/select/select';
|
|
91
|
-
@import 'components/dropdown/dropdown';
|
|
92
|
-
@import 'components/collapse/collapse';
|
|
93
|
-
@import 'components/progressbar/progressbar';
|
|
94
|
-
@import 'components/spinner/spinner';
|
|
95
|
-
@import 'components/rating/rating';
|
|
96
|
-
@import 'components/speechbubble/speechbubble';
|
|
97
|
-
@import 'components/list/list';
|
|
98
|
-
@import 'components/skip-links/skip-links';
|
|
99
|
-
@import 'components/breadcrumbs/breadcrumbs';
|
|
100
|
-
@import 'components/stepper/stepper';
|
|
101
|
-
@import 'components/carousel/carousel';
|
|
102
|
-
@import 'components/sidenav/sidenav';
|
|
103
|
-
@import 'components/footer/footer';
|
|
104
|
-
@import 'components/toast/toast';
|
|
105
|
-
@import 'components/scrollspy/scrollspy';
|
|
106
|
-
@import 'components/timepicker/timepicker';
|
|
107
|
-
@import 'components/tooltip/tooltip';
|
|
108
|
-
|
|
109
|
-
@import 'bootstrap/rtl-styles-override';
|
|
110
|
-
|
|
111
|
-
// issue with agnosui exports, to be fixed for DF 20
|
|
112
|
-
/* stylelint-disable-next-line scss/load-partial-extension */
|
|
113
|
-
@import '@agnos-ui/core-bootstrap/scss/agnosui.scss';
|
|
114
|
-
// this css is needed when modal are open to have no scroll on the background.
|
|
115
|
-
.df-modal-open {
|
|
116
|
-
overflow: hidden;
|
|
117
|
-
}
|