@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,55 +0,0 @@
|
|
|
1
|
-
$df-link-border-bottom-width: $border-width !default;
|
|
2
|
-
$df-link-border-bottom: $df-link-border-bottom-width solid !default;
|
|
3
|
-
|
|
4
|
-
$df-link-hover-border-bottom-width: $df-link-border-bottom-width !default;
|
|
5
|
-
|
|
6
|
-
$df-link-visited-border-bottom-width: $df-link-border-bottom-width !default;
|
|
7
|
-
$df-link-visited-hover-border-bottom-width: $df-link-hover-border-bottom-width !default;
|
|
8
|
-
$df-link-visited-border-bottom: $df-link-visited-border-bottom-width solid !default;
|
|
9
|
-
|
|
10
|
-
$df-link-focus-outline: 0 !default;
|
|
11
|
-
$df-link-focus-outline-offset: 0 !default;
|
|
12
|
-
$df-link-focus-box-shadow-color: $focus-ring-color !default;
|
|
13
|
-
$df-link-focus-box-shadow: $df-focused-box-shadow !default;
|
|
14
|
-
|
|
15
|
-
$df-link-disabled-color: var(--#{$prefix}disabled-color) !default;
|
|
16
|
-
$df-link-disabled-display: inline-block !default;
|
|
17
|
-
$df-link-disabled-cursor: var(--#{$prefix}disabled-cursor) !default;
|
|
18
|
-
$df-link-disabled-text-decoration: none !default;
|
|
19
|
-
$df-link-disabled-border-bottom-width: $df-link-border-bottom-width !default;
|
|
20
|
-
$df-link-disabled-border-bottom-color: $df-btn-disabled-border-color !default;
|
|
21
|
-
$df-link-disabled-background: transparent !default;
|
|
22
|
-
|
|
23
|
-
$df-link-active-border-bottom-width: $df-link-border-bottom-width !default;
|
|
24
|
-
$df-link-visited-active-border-bottom-width: $df-link-active-border-bottom-width !default;
|
|
25
|
-
|
|
26
|
-
$df-link-external-icon: '\00a0\f08e' !default; // Empty space + .fa-external-link
|
|
27
|
-
$df-link-external-icon-bottom: -0.08em !default;
|
|
28
|
-
$df-link-external-icon-size: small !default;
|
|
29
|
-
$df-link-external-font-family: 'Font Awesome 6 Pro' !default;
|
|
30
|
-
|
|
31
|
-
$df-link-more-text-transform: uppercase !default;
|
|
32
|
-
$df-link-more-text-decoration-underline: underline !default;
|
|
33
|
-
$df-link-more-icon-margin-left: 0.375rem !default;
|
|
34
|
-
$df-link-more-icon-top: 0.125rem !default;
|
|
35
|
-
|
|
36
|
-
// Icon only link
|
|
37
|
-
$df-link-icononly-height: 2rem !default;
|
|
38
|
-
$df-link-icononly-height-sm: 1.75rem !default;
|
|
39
|
-
$df-link-icononly-height-lg: 2.25rem !default;
|
|
40
|
-
$df-link-font-size: $font-size-base !default;
|
|
41
|
-
$df-link-font-size-sm: $font-size-base !default;
|
|
42
|
-
$df-link-font-size-lg: $font-size-base !default;
|
|
43
|
-
$df-link-icononly-display: flex !default;
|
|
44
|
-
$df-link-icononly-align: center !default;
|
|
45
|
-
$df-link-icononly-justify-content: center !default;
|
|
46
|
-
$df-link-icononly-text-align: center !default;
|
|
47
|
-
$df-link-icononly-color: $gray-600 !default;
|
|
48
|
-
$df-link-icononly-hover-color: $gray-600 !default;
|
|
49
|
-
$df-link-icononly-active-color: $gray-600 !default;
|
|
50
|
-
$df-link-icononly-decoration: none !default;
|
|
51
|
-
$df-link-icononly-border-radius: 50% !default;
|
|
52
|
-
$df-link-icononly-hover-bg-color: shades-css-var('secondary', 'bg-subtle-hover-color') !default;
|
|
53
|
-
$df-link-icononly-active-bg-color: shades-css-var('secondary', 'bg-subtle-hover-color') !default;
|
|
54
|
-
$df-link-icononly-focus-box-shadow-color: inherit !default;
|
|
55
|
-
$df-link-focus-outline: none !default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
ol {
|
|
2
|
-
--#{$prefix}ol-padding-left: #{$df-ol-padding-left};
|
|
3
|
-
--#{$prefix}ol-marker-font-weight: #{$df-ol-marker-font-weight};
|
|
4
|
-
--#{$prefix}ol-marker-left: #{$df-ol-marker-left};
|
|
5
|
-
--#{$prefix}ol-marker-list-style-type: none;
|
|
6
|
-
|
|
7
|
-
counter-reset: df-ol-counter;
|
|
8
|
-
list-style-type: var(--#{$prefix}ol-marker-list-style-type);
|
|
9
|
-
padding-left: var(--#{$prefix}ol-padding-left);
|
|
10
|
-
li {
|
|
11
|
-
counter-increment: df-ol-counter;
|
|
12
|
-
position: relative;
|
|
13
|
-
&:before {
|
|
14
|
-
content: $df-ol-marker-content;
|
|
15
|
-
font-weight: var(--#{$prefix}ol-marker-font-weight);
|
|
16
|
-
position: absolute;
|
|
17
|
-
left: var(--#{$prefix}ol-marker-left);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
%df-disabled-style {
|
|
2
|
-
color: var(--#{$prefix}list-group-disabled-color);
|
|
3
|
-
background-color: var(--#{$prefix}list-group-disabled-bg);
|
|
4
|
-
cursor: var(--#{$prefix}list-group-disabled-cursor);
|
|
5
|
-
pointer-events: auto;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.list-group-item {
|
|
9
|
-
--#{$prefix}list-group-disabled-cursor: #{$df-list-group-disabled-cursor};
|
|
10
|
-
--#{$prefix}list-group-item-active-border-color: #{$df-list-group-item-active-border-color};
|
|
11
|
-
--#{$prefix}list-group-item-border-left-active: #{$df-list-group-item-border-left-active};
|
|
12
|
-
--#{$prefix}list-group-item-padding-left: #{$df-list-group-item-padding-left};
|
|
13
|
-
color: var(--#{$prefix}list-group-color);
|
|
14
|
-
border-color: var(--#{$prefix}list-group-border-color);
|
|
15
|
-
|
|
16
|
-
&[aria-disabled='true'],
|
|
17
|
-
&.disabled,
|
|
18
|
-
&[disabled] {
|
|
19
|
-
&,
|
|
20
|
-
&:hover,
|
|
21
|
-
&:active {
|
|
22
|
-
@extend %df-disabled-style;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.list-group-item-action {
|
|
27
|
-
&:not([aria-disabled='true']):not(.disabled):not([disabled]) {
|
|
28
|
-
&:active {
|
|
29
|
-
border-bottom-color: var(--#{$prefix}list-group-border-color);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:hover {
|
|
33
|
-
//Reset to default
|
|
34
|
-
border-bottom-width: var(--#{$prefix}border-width);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:focus-visible {
|
|
38
|
-
--#{$prefix}box-shadow-color: var(--#{$prefix}list-group-active-color);
|
|
39
|
-
box-shadow: $df-list-group-focus-box-shadow;
|
|
40
|
-
outline: none; //disable default
|
|
41
|
-
&:not(:active):not(.active):not(:hover) {
|
|
42
|
-
background-color: var(--#{$prefix}list-group-bg);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&:active,
|
|
46
|
-
&.active {
|
|
47
|
-
--#{$prefix}inner-box-shadow-color: var(--#{$prefix}list-group-action-active-bg);
|
|
48
|
-
color: var(--#{$prefix}list-group-active-color);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&:hover {
|
|
52
|
-
--#{$prefix}inner-box-shadow-color: var(--#{$prefix}list-group-action-hover-bg);
|
|
53
|
-
background-color: var(--#{$prefix}list-group-action-hover-bg);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
//we use the .active class for the active item and the :active pseudo-class to style when it is pressed
|
|
58
|
-
&.active {
|
|
59
|
-
border-color: var(--#{$prefix}list-group-item-active-border-color); // override
|
|
60
|
-
background-color: var(--#{$prefix}list-group-action-active-bg);
|
|
61
|
-
padding-inline-start: var(--#{$prefix}list-group-item-padding-left);
|
|
62
|
-
border-inline-start: var(--#{$prefix}list-group-item-border-left-active);
|
|
63
|
-
font-weight: $df-list-group-active-font-weight;
|
|
64
|
-
|
|
65
|
-
&:hover {
|
|
66
|
-
background-color: var(--#{$prefix}list-group-action-hover-bg);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:active {
|
|
70
|
-
border-color: var(--#{$prefix}list-group-item-active-border-color);
|
|
71
|
-
background-color: var(--#{$prefix}list-group-action-active-bg);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.list-group {
|
|
79
|
-
font-size: $font-size-base;
|
|
80
|
-
@each $extension, $ratio in $df-size-ratios {
|
|
81
|
-
&.df-list-group-#{$extension} {
|
|
82
|
-
--#{$prefix}list-group-font-size: #{get-sizing-brand2023($extension, $ratio, $font-size-base, true)};
|
|
83
|
-
--#{$prefix}list-group-item-padding-y: #{$list-group-item-padding-y * $ratio};
|
|
84
|
-
|
|
85
|
-
.list-group-item {
|
|
86
|
-
padding-top: var(--#{$prefix}list-group-item-padding-y);
|
|
87
|
-
padding-bottom: var(--#{$prefix}list-group-item-padding-y);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&.list-group-flush .list-group-item {
|
|
93
|
-
&:first-child {
|
|
94
|
-
border-top: none;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&:last-child {
|
|
98
|
-
border-bottom: none;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
$df-list-group-disabled-cursor: var(--#{$prefix}disabled-cursor) !default;
|
|
2
|
-
$df-list-group-item-active-border-width: 0.1875rem !default; // same as sidenav
|
|
3
|
-
$df-list-group-item-active-border-color: $gray-100 !default;
|
|
4
|
-
$df-list-group-item-border-left-active: $df-list-group-item-active-border-width solid
|
|
5
|
-
var(--#{$prefix}list-group-active-color) !default; // todo check with Max if should be inert color ?
|
|
6
|
-
$df-list-group-item-padding-left: calc(
|
|
7
|
-
#{$list-group-item-padding-x} - #{$df-list-group-item-active-border-width} + #{$list-group-border-width}
|
|
8
|
-
) !default;
|
|
9
|
-
$df-list-group-focus-box-shadow: var(--#{$prefix}focused-box-shadow) !default;
|
|
10
|
-
$df-list-group-active-font-weight: inherit !default;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
.df-media-button-interactive {
|
|
2
|
-
--#{$prefix}interactive-media-padding: #{$df-interactive-media-padding};
|
|
3
|
-
--#{$prefix}interactive-media-focused-background-color: #{$df-interactive-media-focused-background-color};
|
|
4
|
-
--#{$prefix}interactive-media-focus-box-shadow: #{$df-interactive-media-focus-box-shadow};
|
|
5
|
-
--#{$prefix}interactive-media-hover-background-color: #{$df-interactive-media-hover-background-color};
|
|
6
|
-
--#{$prefix}interactive-media-background-color: #{$df-interactive-media-background-color};
|
|
7
|
-
--#{$prefix}interactive-media-color: #{$df-interactive-media-color};
|
|
8
|
-
--#{$prefix}interactive-media-border-radius-sm: #{$df-media-border-radius-sm};
|
|
9
|
-
--#{$prefix}interactive-media-border-radius: #{$df-media-border-radius};
|
|
10
|
-
--#{$prefix}interactive-media-border-radius-lg: #{$df-media-border-radius-lg};
|
|
11
|
-
--#{$prefix}interactive-media-date-color: #{$df-interactive-media-date-color};
|
|
12
|
-
--#{$prefix}interactive-media-heading-font-size-sm: #{$df-interactive-media-heading-font-size-sm};
|
|
13
|
-
--#{$prefix}interactive-media-heading-font-size: #{$df-interactive-media-heading-font-size};
|
|
14
|
-
--#{$prefix}interactive-media-heading-font-size-lg: #{$df-interactive-media-heading-font-size-lg};
|
|
15
|
-
--#{$prefix}interactive-media-heading-margin-block: #{$df-interactive-media-heading-margin-block};
|
|
16
|
-
|
|
17
|
-
text-align: start;
|
|
18
|
-
padding: var(--#{$prefix}interactive-media-padding);
|
|
19
|
-
border: none; //check if needed for the new branding when removing old branding -> card no longer uses border we should use the class border-0 on the card if we want card with no borders
|
|
20
|
-
background-color: var(--#{$prefix}interactive-media-background-color);
|
|
21
|
-
|
|
22
|
-
span,
|
|
23
|
-
.card-text {
|
|
24
|
-
color: var(--#{$prefix}interactive-media-color);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:focus-visible {
|
|
28
|
-
--#{$prefix}box-shadow-color: #{$df-interactive-media-focus-box-shadow-color};
|
|
29
|
-
outline: $df-interactive-media-focus-outline;
|
|
30
|
-
box-shadow: var(--#{$prefix}interactive-media-focus-box-shadow);
|
|
31
|
-
background-color: var(--#{$prefix}interactive-media-focused-background-color);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
background-color: var(--#{$prefix}interactive-media-hover-background-color);
|
|
36
|
-
|
|
37
|
-
time {
|
|
38
|
-
color: #{$df-interactive-media-hover-date-color};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@include heading {
|
|
43
|
-
font-size: var(--#{$prefix}interactive-media-heading-font-size);
|
|
44
|
-
margin-block: var(--#{$prefix}interactive-media-heading-margin-block);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@include border-radius(var(--#{$prefix}interactive-media-border-radius));
|
|
48
|
-
|
|
49
|
-
&.df-font-sm,
|
|
50
|
-
&.card-sm {
|
|
51
|
-
@include border-radius(var(--#{$prefix}interactive-media-border-radius-sm));
|
|
52
|
-
time,
|
|
53
|
-
& > * {
|
|
54
|
-
font-size: $df-interactive-media-font-size-sm;
|
|
55
|
-
}
|
|
56
|
-
@include heading {
|
|
57
|
-
font-size: var(--#{$prefix}interactive-media-heading-font-size-sm);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&.df-font-lg,
|
|
62
|
-
&.card-lg {
|
|
63
|
-
@include border-radius(var(--#{$prefix}interactive-media-border-radius-lg));
|
|
64
|
-
time,
|
|
65
|
-
& > * {
|
|
66
|
-
font-size: $df-interactive-media-font-size-lg;
|
|
67
|
-
}
|
|
68
|
-
@include heading {
|
|
69
|
-
font-size: var(--#{$prefix}interactive-media-heading-font-size-lg);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
time {
|
|
73
|
-
color: var(--#{$prefix}interactive-media-date-color);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.df-img {
|
|
78
|
-
--#{$prefix}media-border-radius-sm: #{$df-media-border-radius-sm};
|
|
79
|
-
--#{$prefix}media-border-radius: #{$df-media-border-radius};
|
|
80
|
-
--#{$prefix}media-border-radius-lg: #{$df-media-border-radius-lg};
|
|
81
|
-
|
|
82
|
-
@include border-radius(var(--#{$prefix}media-border-radius));
|
|
83
|
-
|
|
84
|
-
@each $extension, $ratio in $df-size-ratios {
|
|
85
|
-
&-#{$extension} {
|
|
86
|
-
@include border-radius(var(--#{$prefix}media-border-radius-#{$extension}));
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
$df-interactive-media-padding: 0 !default;
|
|
2
|
-
$df-interactive-media-focused-background-color: $gray-50 !default;
|
|
3
|
-
$df-interactive-media-focus-box-shadow: $df-focused-box-shadow !default; // this value is the default value in buttons.scss of bootstrap
|
|
4
|
-
$df-interactive-media-focus-outline: 0 !default;
|
|
5
|
-
$df-interactive-media-focus-box-shadow-color: inherit !default;
|
|
6
|
-
$df-interactive-media-hover-background-color: $gray-100 !default;
|
|
7
|
-
$df-interactive-media-background-color: $white !default;
|
|
8
|
-
$df-interactive-media-color: shades-css-var('primary', 'bg-color') !default;
|
|
9
|
-
$df-media-border-radius-sm: 0 !default;
|
|
10
|
-
$df-media-border-radius: 0 !default;
|
|
11
|
-
$df-media-border-radius-lg: 0 !default;
|
|
12
|
-
$df-interactive-media-date-color: var(--#{$prefix}gray-600) !default;
|
|
13
|
-
$df-interactive-media-hover-date-color: var(--#{$prefix}gray-600) !default;
|
|
14
|
-
$df-interactive-media-heading-font-size-sm: 1.125rem !default;
|
|
15
|
-
$df-interactive-media-heading-font-size: 1.25rem !default;
|
|
16
|
-
$df-interactive-media-heading-font-size-lg: 1.5rem !default;
|
|
17
|
-
$df-interactive-media-heading-margin-block: 0.25rem !default;
|
|
18
|
-
$df-interactive-media-font-size-sm: $font-size-base !default;
|
|
19
|
-
$df-interactive-media-font-size-lg: $font-size-base !default;
|
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:meta';
|
|
3
|
-
|
|
4
|
-
/* stylelint-disable-next-line scss/dollar-variable-pattern, scss/dollar-variable-default */
|
|
5
|
-
$isBrand2023: meta.variable-exists(
|
|
6
|
-
$name: 'df-enableBranding2023'
|
|
7
|
-
)
|
|
8
|
-
and $df-enableBranding2023;
|
|
9
|
-
|
|
10
|
-
.modal {
|
|
11
|
-
// TODO remove this in the next major release
|
|
12
|
-
--#{$prefix}modal-backdrop-opacity: #{$df-modal-backdrop-opacity};
|
|
13
|
-
|
|
14
|
-
--#{$prefix}modal-box-shadow: #{$df-modal-box-shadow};
|
|
15
|
-
--#{$prefix}modal-border-radius: #{$df-modal-border-radius};
|
|
16
|
-
--#{$prefix}modal-border: #{$df-modal-border};
|
|
17
|
-
--#{$prefix}modal-header-title-break-word: #{$df-modal-header-title-break-word};
|
|
18
|
-
|
|
19
|
-
--#{$prefix}modal-header-padding: #{$df-modal-header-padding};
|
|
20
|
-
|
|
21
|
-
--#{$prefix}modal-body-padding-x: #{$df-modal-body-padding-x};
|
|
22
|
-
--#{$prefix}modal-body-alert-icon-size: #{$df-modal-body-alert-icon-size};
|
|
23
|
-
--#{$prefix}modal-body-alert-border-style: #{$df-modal-body-alert-border-style};
|
|
24
|
-
--#{$prefix}modal-xs-padding: #{$df-modal-xs-padding};
|
|
25
|
-
--#{$prefix}modal-xs-content-padding-y: #{$df-modal-xs-content-padding-y};
|
|
26
|
-
--#{$prefix}modal-xs-header-padding-right: #{$df-modal-xs-header-padding-right};
|
|
27
|
-
--#{$prefix}modal-xs-button-close-position-top: #{$df-modal-xs-button-close-position-top};
|
|
28
|
-
--#{$prefix}modal-xs-button-close-position-end: #{$df-modal-xs-button-close-position-end};
|
|
29
|
-
--#{$prefix}modal-xs-footer-margin-top: #{$df-modal-xs-footer-margin-top};
|
|
30
|
-
--#{$prefix}modal-last-paragraph-margin-bottom: #{$df-modal-last-paragraph-margin-bottom};
|
|
31
|
-
--#{$prefix}modal-footer-padding: #{$df-modal-footer-padding};
|
|
32
|
-
--#{$prefix}modal-body-padding: #{$df-modal-body-padding};
|
|
33
|
-
|
|
34
|
-
overflow-x: hidden;
|
|
35
|
-
overflow-y: auto;
|
|
36
|
-
|
|
37
|
-
.modal-dialog {
|
|
38
|
-
.modal-content {
|
|
39
|
-
box-shadow: var(--#{$prefix}modal-box-shadow);
|
|
40
|
-
border-radius: var(--#{$prefix}modal-border-radius);
|
|
41
|
-
border: var(--#{$prefix}modal-border);
|
|
42
|
-
|
|
43
|
-
.modal-header {
|
|
44
|
-
padding: var(--#{$prefix}modal-header-padding);
|
|
45
|
-
.modal-title {
|
|
46
|
-
word-break: var(--#{$prefix}modal-header-title-break-word);
|
|
47
|
-
}
|
|
48
|
-
.btn-close {
|
|
49
|
-
--#{$prefix}modal-header-button-close-padding-y: #{$df-modal-header-button-close-padding-y};
|
|
50
|
-
--#{$prefix}modal-header-button-close-border-radius: #{$df-modal-header-button-close-border-radius};
|
|
51
|
-
|
|
52
|
-
@if not $isBrand2023 {
|
|
53
|
-
--#{$prefix}modal-header-icon-font-color: #{shades-css-var(secondary, 'text-color')};
|
|
54
|
-
--#{$prefix}modal-header-button-color-hover: #{shades-css-var(secondary, 'text-hover-color')};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
--#{$prefix}modal-header-button-color-hover-bg: #{shades-css-var-brand2023(
|
|
58
|
-
'button-text-basic-color-neutral-hovered-background',
|
|
59
|
-
secondary,
|
|
60
|
-
'bg-subtle-hover-color'
|
|
61
|
-
)};
|
|
62
|
-
--#{$prefix}modal-header-button-active-bg: #{shades-css-var-brand2023(
|
|
63
|
-
'button-text-basic-color-neutral-pressed-background',
|
|
64
|
-
secondary,
|
|
65
|
-
'bg-subtle-active-color'
|
|
66
|
-
)};
|
|
67
|
-
|
|
68
|
-
@if $isBrand2023 {
|
|
69
|
-
--#{$prefix}modal-header-button-color-focus: #{shades-css-var-brand2023(
|
|
70
|
-
'button-text-basic-color-neutral-default-foreground',
|
|
71
|
-
secondary,
|
|
72
|
-
'text-color'
|
|
73
|
-
)};
|
|
74
|
-
--#{$prefix}modal-header-button-color-hover-focus: #{shades-css-var-brand2023(
|
|
75
|
-
'button-text-basic-color-neutral-hovered-foreground',
|
|
76
|
-
secondary,
|
|
77
|
-
'text-hover-color'
|
|
78
|
-
)};
|
|
79
|
-
} @else {
|
|
80
|
-
--#{$prefix}modal-header-button-color-focus: rgba(#{shades-rgb-css-var(secondary, 'bg-color')}, 0.5);
|
|
81
|
-
--#{$prefix}modal-header-button-color-hover-focus: rgba(
|
|
82
|
-
#{shades-rgb-css-var(secondary, 'bg-hover-color')},
|
|
83
|
-
0.5
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
--#{$prefix}modal-header-button-active-color: #{shades-css-var-brand2023(
|
|
88
|
-
'button-text-basic-color-neutral-pressed-foreground',
|
|
89
|
-
secondary,
|
|
90
|
-
'bg-active-color'
|
|
91
|
-
)};
|
|
92
|
-
|
|
93
|
-
--#{$prefix}btn-close-hover-opacity: #{$df-modal-btn-close-hover-opacity};
|
|
94
|
-
--#{$prefix}btn-close-opacity: #{$df-modal-btn-close-opacity};
|
|
95
|
-
padding-top: var(--#{$prefix}modal-header-button-close-padding-y);
|
|
96
|
-
padding-bottom: var(--#{$prefix}modal-header-button-close-padding-y);
|
|
97
|
-
color: var(--#{$prefix}modal-header-icon-font-color);
|
|
98
|
-
border-radius: var(--#{$prefix}modal-header-button-close-border-radius);
|
|
99
|
-
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666666'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
|
|
100
|
-
background: transparent $btn-close-bg center/0.8rem auto no-repeat;
|
|
101
|
-
|
|
102
|
-
@include rtl {
|
|
103
|
-
margin-right: auto;
|
|
104
|
-
margin-left: 0;
|
|
105
|
-
}
|
|
106
|
-
&:focus:not(:focus-visible) {
|
|
107
|
-
box-shadow: none;
|
|
108
|
-
}
|
|
109
|
-
&:focus-visible:not(:hover):not(:active) {
|
|
110
|
-
color: var(--#{$prefix}modal-header-button-color-focus);
|
|
111
|
-
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-color-focus);
|
|
112
|
-
}
|
|
113
|
-
&:focus-visible:hover:not(:active) {
|
|
114
|
-
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-color-hover-focus);
|
|
115
|
-
color: var(--#{$prefix}modal-header-button-color-hover-focus);
|
|
116
|
-
}
|
|
117
|
-
&:hover {
|
|
118
|
-
color: var(--#{$prefix}modal-header-button-color-hover);
|
|
119
|
-
|
|
120
|
-
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
|
|
121
|
-
background: var(--#{$prefix}modal-header-button-color-hover-bg) $btn-close-bg center/0.8rem auto no-repeat;
|
|
122
|
-
}
|
|
123
|
-
&:focus-visible:active:not(:hover) {
|
|
124
|
-
color: var(--#{$prefix}modal-header-button-active-color);
|
|
125
|
-
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-active-color);
|
|
126
|
-
|
|
127
|
-
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
|
|
128
|
-
background: var(--#{$prefix}modal-header-button-active-bg) $btn-close-bg center/0.8rem auto no-repeat;
|
|
129
|
-
}
|
|
130
|
-
&:focus-visible:active:hover {
|
|
131
|
-
--#{$prefix}box-shadow-color: var(--#{$prefix}modal-header-button-color-hover-focus);
|
|
132
|
-
}
|
|
133
|
-
@if $isBrand2023 {
|
|
134
|
-
&:hover {
|
|
135
|
-
background-color: var(--#{$prefix}button-text-basic-color-neutral-hovered-background);
|
|
136
|
-
}
|
|
137
|
-
&:active {
|
|
138
|
-
background-color: var(--#{$prefix}button-text-basic-color-neutral-pressed-background);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.alert-modal-icon {
|
|
144
|
-
font-size: var(--#{$prefix}modal-body-alert-icon-size);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@each $color, $value in $theme-colors {
|
|
148
|
-
&.df-#{$color}-modal {
|
|
149
|
-
.alert-modal-icon {
|
|
150
|
-
color: $value;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.modal-body {
|
|
157
|
-
padding: var(--#{$prefix}modal-body-padding);
|
|
158
|
-
p:last-child {
|
|
159
|
-
margin-bottom: var(--#{$prefix}modal-last-paragraph-margin-bottom);
|
|
160
|
-
}
|
|
161
|
-
@include ltr {
|
|
162
|
-
text-align: left;
|
|
163
|
-
padding-inline: var(--#{$prefix}modal-body-padding-x);
|
|
164
|
-
}
|
|
165
|
-
@include rtl {
|
|
166
|
-
text-align: right;
|
|
167
|
-
padding-inline: var(--#{$prefix}modal-body-padding-x);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.modal-footer {
|
|
172
|
-
padding: var(--#{$prefix}modal-footer-padding);
|
|
173
|
-
& > * {
|
|
174
|
-
margin: 0;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
@include media-breakpoint-only(xs) {
|
|
181
|
-
.modal-dialog {
|
|
182
|
-
&:not(.modal-dialog-scrollable) {
|
|
183
|
-
.modal-content {
|
|
184
|
-
padding-top: $df-modal-xs-content-padding-y;
|
|
185
|
-
padding-bottom: $df-modal-xs-content-padding-y;
|
|
186
|
-
.modal-body {
|
|
187
|
-
flex: 0;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
margin: 0;
|
|
193
|
-
padding: var(--#{$prefix}modal-xs-padding);
|
|
194
|
-
min-height: 100%;
|
|
195
|
-
display: flex;
|
|
196
|
-
flex: 1;
|
|
197
|
-
|
|
198
|
-
.modal-content {
|
|
199
|
-
flex: 1;
|
|
200
|
-
overflow: auto;
|
|
201
|
-
min-height: 100%;
|
|
202
|
-
justify-content: center;
|
|
203
|
-
|
|
204
|
-
.modal-header {
|
|
205
|
-
justify-content: center;
|
|
206
|
-
@include ltr {
|
|
207
|
-
padding-right: var(--#{$prefix}modal-xs-header-padding-right);
|
|
208
|
-
}
|
|
209
|
-
@include rtl {
|
|
210
|
-
padding-left: var(--#{$prefix}modal-xs-header-padding-right);
|
|
211
|
-
}
|
|
212
|
-
border-bottom: none;
|
|
213
|
-
margin-bottom: 10px;
|
|
214
|
-
button.close {
|
|
215
|
-
position: absolute;
|
|
216
|
-
top: var(--#{$prefix}modal-xs-button-close-position-top);
|
|
217
|
-
@include ltr {
|
|
218
|
-
right: var(--#{$prefix}modal-xs-button-close-position-end);
|
|
219
|
-
}
|
|
220
|
-
@include rtl {
|
|
221
|
-
left: var(--#{$prefix}modal-xs-button-close-position-end);
|
|
222
|
-
}
|
|
223
|
-
padding: 0;
|
|
224
|
-
margin: 0;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.modal-body {
|
|
229
|
-
p {
|
|
230
|
-
margin-bottom: 0;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.modal-footer {
|
|
235
|
-
justify-content: center;
|
|
236
|
-
align-items: baseline;
|
|
237
|
-
border-top: none;
|
|
238
|
-
margin-top: var(--#{$prefix}modal-xs-footer-margin-top);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.modal-backdrop {
|
|
246
|
-
--#{$prefix}backdrop-opacity: #{$df-modal-backdrop-opacity};
|
|
247
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
$df-modal-backdrop-opacity: 0.4 !default;
|
|
4
|
-
$df-modal-box-shadow: var(--#{$prefix}box-shadow) !default;
|
|
5
|
-
$df-modal-border-radius: $border-radius-lg !default;
|
|
6
|
-
$df-modal-border: $border-width solid $border-color !default;
|
|
7
|
-
|
|
8
|
-
$df-modal-header-title-break-word: break-word !default;
|
|
9
|
-
$df-modal-header-button-close-padding-y: 0.5rem !default;
|
|
10
|
-
$df-modal-header-button-close-border-radius: $df-btn-icononly-border-radius !default;
|
|
11
|
-
$df-modal-header-padding: map.get($spacers, 4) map.get($spacers, 6) !default;
|
|
12
|
-
|
|
13
|
-
$df-modal-body-padding-x: 1.5rem !default;
|
|
14
|
-
$df-modal-body-alert-icon-size: 1.75rem !default;
|
|
15
|
-
|
|
16
|
-
$df-modal-body-alert-border-style: 2px solid !default;
|
|
17
|
-
|
|
18
|
-
$df-modal-xs-padding: 0.5rem !default;
|
|
19
|
-
$df-modal-xs-content-padding-y: 4rem !default;
|
|
20
|
-
$df-modal-xs-header-padding-right: 1.5rem !default;
|
|
21
|
-
$df-modal-xs-button-close-position-top: 1rem !default;
|
|
22
|
-
$df-modal-xs-button-close-position-end: $df-modal-xs-button-close-position-top !default;
|
|
23
|
-
$df-modal-xs-footer-margin-top: 0.9375rem !default;
|
|
24
|
-
|
|
25
|
-
$df-modal-last-paragraph-margin-bottom: 0 !default;
|
|
26
|
-
$df-modal-footer-padding: map.get($spacers, 5) map.get($spacers, 6) !default;
|
|
27
|
-
$df-modal-body-padding: map.get($spacers, 5) map.get($spacers, 6) !default;
|
|
28
|
-
$df-modal-btn-close-opacity: 1 !default;
|
|
29
|
-
$df-modal-btn-close-hover-opacity: 1 !default;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
@mixin navlink($prefix-vars) {
|
|
2
|
-
color: var(#{$prefix-vars}-default-foreground);
|
|
3
|
-
|
|
4
|
-
&:hover {
|
|
5
|
-
--#{$prefix}inner-box-shadow-color: var(#{$prefix-vars}-hovered-background);
|
|
6
|
-
color: var(#{$prefix-vars}-hovered-foreground);
|
|
7
|
-
background-color: var(#{$prefix-vars}-hovered-background);
|
|
8
|
-
|
|
9
|
-
&:focus-visible {
|
|
10
|
-
--#{$prefix}navbar-nav-link-focus-color: var(#{$prefix-vars}-hovered-border);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:active {
|
|
15
|
-
color: var(#{$prefix-vars}-pressed-foreground);
|
|
16
|
-
background-color: var(#{$prefix-vars}-pressed-background);
|
|
17
|
-
|
|
18
|
-
&:focus-visible {
|
|
19
|
-
--#{$prefix}navbar-nav-link-focus-color: var(#{$prefix-vars}-pressed-border);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:focus-visible {
|
|
24
|
-
--#{$prefix}navbar-nav-link-focus-color: var(#{$prefix-vars}-default-border);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@mixin navlink-active($prefix-vars) {
|
|
29
|
-
color: var(#{$prefix-vars}-active-foreground);
|
|
30
|
-
|
|
31
|
-
&:hover {
|
|
32
|
-
--#{$prefix}inner-box-shadow-color: var(#{$prefix-vars}-activeHovered-background);
|
|
33
|
-
color: var(#{$prefix-vars}-activeHovered-foreground);
|
|
34
|
-
// the :active state should still use the background color from the mixin above
|
|
35
|
-
&:not(:active) {
|
|
36
|
-
background-color: var(#{$prefix-vars}-activeHovered-background);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&:focus-visible {
|
|
40
|
-
--#{$prefix}navbar-nav-link-focus-color: var(#{$prefix-vars}-activeHovered-border);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&:active {
|
|
45
|
-
color: var(#{$prefix-vars}-activePressed-foreground);
|
|
46
|
-
|
|
47
|
-
&:focus-visible {
|
|
48
|
-
--#{$prefix}navbar-nav-link-focus-color: var(#{$prefix-vars}-activePressed-border);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:focus-visible {
|
|
53
|
-
--#{$prefix}navbar-nav-link-focus-color: var(#{$prefix-vars}-active-border);
|
|
54
|
-
}
|
|
55
|
-
}
|