@design-factory/styles 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/LICENSE +26 -0
- package/README.md +13 -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/bundle.css +13 -0
- package/package.json +31 -0
- package/scss/_common.mixins.scss +30 -0
- package/scss/_common.root.scss +36 -0
- package/scss/_common.scss +50 -0
- package/scss/_common.variables.scss +62 -0
- package/scss/_new-brand-common.variables.scss +7 -0
- package/scss/_variables.scss +46 -0
- package/scss/agnosui/_variables.scss +33 -0
- package/scss/bootstrap/_helpers.scss +12 -0
- package/scss/bootstrap/_maps.scss +68 -0
- package/scss/bootstrap/_mixins-override.scss +69 -0
- package/scss/bootstrap/_rtl-styles-override.scss +111 -0
- package/scss/bootstrap/_utilities-override.scss +127 -0
- package/scss/bootstrap/_variables-dark.scss +86 -0
- package/scss/bootstrap/_variables.scss +1118 -0
- package/scss/bootstrap/helpers/_color-bg.scss +14 -0
- package/scss/bundle.scss +120 -0
- package/scss/components/accordion/_accordion.mixin.scss +94 -0
- package/scss/components/accordion/_accordion.scss +201 -0
- package/scss/components/accordion/_accordion.variables.scss +14 -0
- package/scss/components/alert/_alert.mixin.scss +64 -0
- package/scss/components/alert/_alert.scss +142 -0
- package/scss/components/alert/_alert.variables.scss +3 -0
- package/scss/components/badge/_badge.mixins.scss +9 -0
- package/scss/components/badge/_badge.scss +250 -0
- package/scss/components/badge/_badge.variables.scss +4 -0
- package/scss/components/brand-color/_brand-color.mixins.scss +17 -0
- package/scss/components/brand-color/_brand-color.scss +13 -0
- package/scss/components/brand-color/_brand-color.variables.scss +146 -0
- package/scss/components/brand-color/_brand-color_container.scss +23 -0
- package/scss/components/breadcrumbs/_breadcrumbs.scss +110 -0
- package/scss/components/breadcrumbs/_breadcrumbs.variables.scss +7 -0
- package/scss/components/button/_button.mixins.scss +144 -0
- package/scss/components/button/_button.scss +178 -0
- package/scss/components/button/_button.variables.scss +8 -0
- package/scss/components/button/_button_container.scss +47 -0
- package/scss/components/card/_card.scss +167 -0
- package/scss/components/card/_card.variables.scss +12 -0
- package/scss/components/carousel/_carousel.scss +83 -0
- package/scss/components/carousel/_carousel.variables.scss +3 -0
- package/scss/components/checkbox/_checkbox.scss +155 -0
- package/scss/components/checkbox/_checkbox.variables.scss +23 -0
- package/scss/components/collapse/_collapse.scss +48 -0
- package/scss/components/datepicker/_datepicker.scss +223 -0
- package/scss/components/drawer/_drawer.scss +120 -0
- package/scss/components/dropdown/_dropdown.mixins.scss +24 -0
- package/scss/components/dropdown/_dropdown.scss +129 -0
- package/scss/components/dropdown/_dropdown.variables.scss +15 -0
- package/scss/components/fieldset/_fieldset.variables.scss +2 -0
- package/scss/components/fonts/_font-awesome-icons-brands.scss +1585 -0
- package/scss/components/fonts/_font-awesome-icons.scss +12886 -0
- package/scss/components/fonts/_font-faces.mixins.scss +579 -0
- package/scss/components/fonts/_fonts-family.scss +195 -0
- package/scss/components/fonts/_fonts.scss +50 -0
- package/scss/components/fonts/_fonts.variables.scss +68 -0
- package/scss/components/fonts/_icon-font.scss +97 -0
- package/scss/components/fonts/_multi-lang.mixins.scss +8 -0
- package/scss/components/fonts/multi-lang/_arabic.mixins.scss +9 -0
- package/scss/components/fonts/multi-lang/_chinese.mixins.scss +14 -0
- package/scss/components/fonts/multi-lang/_cyrillic-extended.mixins.scss +11 -0
- package/scss/components/fonts/multi-lang/_cyrillic.mixins.scss +10 -0
- package/scss/components/fonts/multi-lang/_georgian.mixins.scss +9 -0
- package/scss/components/fonts/multi-lang/_hebrew.mixins.scss +9 -0
- package/scss/components/fonts/multi-lang/_japanese.mixins.scss +25 -0
- package/scss/components/fonts/multi-lang/_korean.mixins.scss +12 -0
- package/scss/components/footer/_footer.mixins.scss +36 -0
- package/scss/components/footer/_footer.scss +49 -0
- package/scss/components/form/_form.scss +101 -0
- package/scss/components/form/_form.variables.scss +48 -0
- package/scss/components/icon/_amadeus-icon.scss +29 -0
- package/scss/components/image/_image.variables.scss +2 -0
- package/scss/components/inputs/_inputs.mixin.scss +45 -0
- package/scss/components/inputs/_inputs.scss +254 -0
- package/scss/components/inputs/_inputs.variables.scss +20 -0
- package/scss/components/link/_link.scss +150 -0
- package/scss/components/link/_link.variables.scss +5 -0
- package/scss/components/list/_list.scss +17 -0
- package/scss/components/list-group/_list-group.scss +81 -0
- package/scss/components/list-group/_list-group.variables.scss +21 -0
- package/scss/components/media/_media.scss +27 -0
- package/scss/components/modal/_modal.scss +154 -0
- package/scss/components/modal/_modal.variables.scss +13 -0
- package/scss/components/navbar/_navbar.mixins.scss +46 -0
- package/scss/components/navbar/_navbar.scss +287 -0
- package/scss/components/navbar/_navbar.variables.scss +14 -0
- package/scss/components/pagination/_pagination.mixins.scss +30 -0
- package/scss/components/pagination/_pagination.scss +189 -0
- package/scss/components/pagination/_pagination.variables.scss +20 -0
- package/scss/components/pagination/_pagination_container.scss +17 -0
- package/scss/components/popover/_popover.mixins.scss +13 -0
- package/scss/components/popover/_popover.scss +65 -0
- package/scss/components/popover/_popover.variables.scss +17 -0
- package/scss/components/popover/_popover_container.scss +214 -0
- package/scss/components/progressbar/_progressbar.scss +52 -0
- package/scss/components/progressbar/_progressbar.variables.scss +6 -0
- package/scss/components/radio/_radio.scss +63 -0
- package/scss/components/rating/_rating.mixins.scss +17 -0
- package/scss/components/rating/_rating.scss +51 -0
- package/scss/components/scrollspy/_scrollspy.scss +42 -0
- package/scss/components/select/_select.mixin.scss +7 -0
- package/scss/components/select/_select.scss +531 -0
- package/scss/components/select/_select.variables.scss +18 -0
- package/scss/components/separator/_separator.scss +8 -0
- package/scss/components/separator/_separator.variables.scss +5 -0
- package/scss/components/sidenav/_sidenav-deprecated.scss +165 -0
- package/scss/components/sidenav/_sidenav.scss +227 -0
- package/scss/components/slider/_slider.mixins.scss +82 -0
- package/scss/components/slider/_slider.scss +402 -0
- package/scss/components/speechbubble/_speechbubble.mixin.scss +28 -0
- package/scss/components/speechbubble/_speechbubble.scss +107 -0
- package/scss/components/spinner/_spinner.scss +68 -0
- package/scss/components/spinner/_spinner.variables.scss +5 -0
- package/scss/components/spinner/_spinner_container.scss +43 -0
- package/scss/components/stepper/_stepper.mixins.scss +22 -0
- package/scss/components/stepper/_stepper.scss +176 -0
- package/scss/components/table/_advancedtables.scss +285 -0
- package/scss/components/table/_table.scss +19 -0
- package/scss/components/table/_table.variables.scss +20 -0
- package/scss/components/tabs/_tabs.scss +163 -0
- package/scss/components/tabs/_tabs.variables.scss +19 -0
- package/scss/components/timepicker/_timepicker.scss +9 -0
- package/scss/components/toast/_toast.scss +79 -0
- package/scss/components/toast/_toast.variables.scss +7 -0
- package/scss/components/toggle/_toggle.scss +140 -0
- package/scss/components/toggle/_toggle.variables.scss +10 -0
- package/scss/components/tooltip/_tooltip.scss +24 -0
- package/scss/components/tooltip/_tooltip.variables.scss +7 -0
- package/scss/components/tooltip/_tooltip_container.scss +116 -0
- package/scss/components/typeahead/_typeahead.scss +44 -0
- package/scss/components/waves/waves.scss +19 -0
- package/scss/namespace.scss +160 -0
- package/scss/themes/brand2023/_variables.scss +315 -0
- package/scss/utilities/_common.utilities.scss +98 -0
- package/scss/utilities/_form.mixins.scss +26 -0
- package/scss/utilities/_rgb.scss +10 -0
- package/scss/utilities.scss +5 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@use '../button/button.mixins' as btn-mixins;
|
|
2
|
+
|
|
3
|
+
.toast {
|
|
4
|
+
width: unset;
|
|
5
|
+
max-width: var(--df-toast-max-width);
|
|
6
|
+
position: relative;
|
|
7
|
+
padding-top: var(--df-toast-padding-y);
|
|
8
|
+
padding-bottom: var(--df-toast-padding-y);
|
|
9
|
+
min-height: 3rem;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
|
|
13
|
+
--df-inner-box-shadow-color: var(--df-toast-bg); // To make sure inner box shadow does not use body-bg
|
|
14
|
+
|
|
15
|
+
.toast-body {
|
|
16
|
+
padding: 0 var(--df-toast-padding-x);
|
|
17
|
+
|
|
18
|
+
&:has(.df-toast-action) {
|
|
19
|
+
padding-inline-end: var(--df-spacing-3);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:has(.fa-xmark) {
|
|
23
|
+
padding-inline-end: var(--df-spacing-2);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.fa-xmark:not(:hover):not(:active) {
|
|
27
|
+
color: var(--df-toast-color);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.df-toast-action {
|
|
31
|
+
gap: var(--df-spacing-1);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.df-toast-subtle {
|
|
36
|
+
border-inline-start-width: 0.25rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
span.df-insert-icon {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 0.843rem;
|
|
42
|
+
padding-inline-start: var(--df-toast-padding-x);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&[dfInsertToastIcon] {
|
|
46
|
+
.toast-body {
|
|
47
|
+
padding-inline-start: calc(var(--df-toast-padding-x) + var(--df-toast-font-size) + var(--df-spacing-3));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@each $state in ('success', 'danger', 'info', 'warning', 'tip') {
|
|
52
|
+
&.toast-#{$state} {
|
|
53
|
+
--df-toast-color: var(--df-color-#{$state}-main-default-foreground);
|
|
54
|
+
--df-toast-bg: var(--df-color-#{$state}-main-default-background);
|
|
55
|
+
--df-toast-border-color: var(--df-color-#{$state}-main-default-background);
|
|
56
|
+
|
|
57
|
+
// Override toast subtle
|
|
58
|
+
&.df-toast-subtle {
|
|
59
|
+
--df-toast-color: var(--df-color-inert-neutral-main-foreground);
|
|
60
|
+
--df-toast-bg: var(--df-color-#{$state}-subtle-background);
|
|
61
|
+
|
|
62
|
+
span.df-insert-icon {
|
|
63
|
+
color: var(--df-color-#{$state}-alt-default-foreground);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// set bg to toast bg of buttons
|
|
70
|
+
.df-btn-tertiary {
|
|
71
|
+
--df-btn-bg: var(--df-toast-bg);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.toast-warning.df-toast-subtle {
|
|
75
|
+
span.df-insert-icon {
|
|
76
|
+
color: var(--df-color-icon-warning-foreground);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
|
|
3
|
+
$toast-padding-y: 0.5625rem !default;
|
|
4
|
+
$toast-padding-x: var(--df-spacing-5) !default;
|
|
5
|
+
$toast-border-radius: var(--df-borderRadius-main-small) !default;
|
|
6
|
+
$toast-border-width: 0 !default;
|
|
7
|
+
$toast-font-size: var(--df-typo-sizing-small) !default;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
@use '../../new-brand-common.variables.scss' as df;
|
|
2
|
+
|
|
3
|
+
.form-switch {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
padding-inline-start: 0;
|
|
7
|
+
|
|
8
|
+
@each $state in ('primary', 'success') {
|
|
9
|
+
.df-switch-#{$state} {
|
|
10
|
+
&:checked:not(:disabled) {
|
|
11
|
+
background-color: var(--df-color-#{$state}-main-default-background);
|
|
12
|
+
border-color: var(--df-color-#{$state}-main-default-border);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.form-check-input {
|
|
16
|
+
--df-box-shadow-color: var(--df-color-#{$state}-main-default-border);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.form-check-input[type='checkbox'] {
|
|
22
|
+
position: relative;
|
|
23
|
+
|
|
24
|
+
&::after {
|
|
25
|
+
content: '';
|
|
26
|
+
position: absolute;
|
|
27
|
+
inset: 0;
|
|
28
|
+
background-color: var(--df-color-toggle-background);
|
|
29
|
+
mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='black'/></svg>");
|
|
30
|
+
mask-repeat: no-repeat;
|
|
31
|
+
mask-size: contain;
|
|
32
|
+
mask-position: left center;
|
|
33
|
+
@include rtl {
|
|
34
|
+
mask-position: right center;
|
|
35
|
+
}
|
|
36
|
+
@include transition(mask-position 0.15s ease-in-out);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:checked {
|
|
40
|
+
&::after {
|
|
41
|
+
mask-position: right center;
|
|
42
|
+
background-color: var(--df-color-primary-main-default-foreground);
|
|
43
|
+
@include rtl {
|
|
44
|
+
mask-position: left center;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
margin-top: 0;
|
|
50
|
+
margin-inline-start: 0;
|
|
51
|
+
height: 1.5em;
|
|
52
|
+
border-width: 0.09375rem;
|
|
53
|
+
|
|
54
|
+
@include rtl {
|
|
55
|
+
background-position: right center;
|
|
56
|
+
&:checked {
|
|
57
|
+
background-position: left center;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:not(:checked):not(:disabled) {
|
|
62
|
+
border-color: var(--df-color-toggle-border);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:focus-visible:not(:checked):not(:disabled):not(.is-invalid) {
|
|
66
|
+
--df-box-shadow-color: var(--df-color-toggle-border);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:disabled {
|
|
70
|
+
border-color: var(--df-color-disabled-main-border);
|
|
71
|
+
|
|
72
|
+
&:checked {
|
|
73
|
+
background-color: var(--df-color-disabled-alt-background);
|
|
74
|
+
|
|
75
|
+
&::after {
|
|
76
|
+
background-color: var(--df-color-disabled-main-background);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:not(:checked) {
|
|
81
|
+
background-color: var(--df-color-disabled-main-background);
|
|
82
|
+
|
|
83
|
+
&::after {
|
|
84
|
+
background-color: var(--df-color-disabled-alt-background);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
~ .form-check-label {
|
|
89
|
+
color: var(--df-color-inert-neutral-main-foreground);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.form-check-label {
|
|
95
|
+
padding-inline-start: var(--df-spacing-3);
|
|
96
|
+
font-weight: var(--df-typo-weight-medium);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.df-form-switch-name {
|
|
100
|
+
font-weight: var(--df-typo-weight-medium);
|
|
101
|
+
padding-inline-start: 0;
|
|
102
|
+
|
|
103
|
+
&.df-form-switch-name-disabled {
|
|
104
|
+
color: var(--df-color-inert-neutral-main-foreground);
|
|
105
|
+
cursor: not-allowed;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.df-form-switch-container {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
margin-top: var(--df-spacing-3);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.form-lg {
|
|
117
|
+
.form-switch {
|
|
118
|
+
padding-inline-start: 0;
|
|
119
|
+
|
|
120
|
+
.form-check-input {
|
|
121
|
+
margin-top: 0;
|
|
122
|
+
margin-inline-start: 0;
|
|
123
|
+
width: 3.375em;
|
|
124
|
+
height: 1.6875em;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.form-sm {
|
|
130
|
+
.form-switch {
|
|
131
|
+
padding-inline-start: 0;
|
|
132
|
+
|
|
133
|
+
.form-check-input {
|
|
134
|
+
margin-top: 0;
|
|
135
|
+
margin-inline-start: 0;
|
|
136
|
+
width: 2.625em;
|
|
137
|
+
height: 1.3125em;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
$form-switch-width: 3em !default;
|
|
2
|
+
$form-switch-padding-start: 0 !default;
|
|
3
|
+
$form-switch-border-radius: 0.75em !default;
|
|
4
|
+
|
|
5
|
+
// TODO this should be mapped to the css var token df-color-toggle-background, but impossible until we implement wrapper
|
|
6
|
+
$form-switch-color: $df-theme-neutral-100 !default; // can not be CSS var because use for bg-image
|
|
7
|
+
// TODO this should be mapped to the css var token df-color-neutral-alt-default-background, but impossible until we implement wrapper
|
|
8
|
+
$form-switch-checked-color: $df-theme-neutral-0 !default; // can not be CSS var because use for bg-image
|
|
9
|
+
|
|
10
|
+
$form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.tooltip {
|
|
2
|
+
&.tooltip-inner-sm {
|
|
3
|
+
.tooltip-inner {
|
|
4
|
+
border-radius: var(--df-borderRadius-main-small);
|
|
5
|
+
font-size: var(--df-typo-sizing-small);
|
|
6
|
+
padding: var(--df-spacing-2) var(--df-spacing-3);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
&.tooltip-inner-lg {
|
|
10
|
+
.tooltip-inner {
|
|
11
|
+
border-radius: var(--df-borderRadius-main-large);
|
|
12
|
+
font-size: var(--df-typo-sizing-large);
|
|
13
|
+
// TODO vertical padding of tooltip lg is not mapped to a token yet in Figma
|
|
14
|
+
padding: 0.375rem var(--df-spacing-6);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.df-font-sm .tooltip .tooltip-inner {
|
|
20
|
+
font-size: var(--df-typo-sizing-small);
|
|
21
|
+
}
|
|
22
|
+
.df-font-lg .tooltip .tooltip-inner {
|
|
23
|
+
font-size: var(--df-typo-sizing-large);
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
$tooltip-bg: var(--df-color-tooltip-background) !default;
|
|
2
|
+
$tooltip-color: var(--df-color-inert-neutral-alt-foreground) !default;
|
|
3
|
+
$tooltip-border-radius: var(--df-borderRadius-main-medium) !default;
|
|
4
|
+
$tooltip-font-size: var(--df-typo-sizing-default) !default;
|
|
5
|
+
$tooltip-padding-x: var(--df-spacing-5) !default;
|
|
6
|
+
$tooltip-padding-y: var(--df-spacing-2) !default;
|
|
7
|
+
$tooltip-opacity: 1 !default;
|
|
@@ -0,0 +1,116 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// stylelint-disable-next-line selector-type-no-unknown
|
|
2
|
+
// Flag angular specific selectors
|
|
3
|
+
ngb-typeahead-window.dropdown-menu {
|
|
4
|
+
max-width: 40rem;
|
|
5
|
+
width: max-content;
|
|
6
|
+
max-height: 240px;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
|
|
9
|
+
.dropdown-item {
|
|
10
|
+
white-space: normal;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
// Hover of a typeahead item uses active state of the dropdown item
|
|
13
|
+
&:not(:disabled):not(.disabled).active {
|
|
14
|
+
color: var(--df-color-neutral-alt-hovered-foreground);
|
|
15
|
+
background-color: var(--df-color-primary-alt-hovered-background);
|
|
16
|
+
font-weight: var(--df-typo-weight-regular);
|
|
17
|
+
|
|
18
|
+
&:active {
|
|
19
|
+
color: var(--df-color-neutral-alt-pressed-foreground);
|
|
20
|
+
background-color: var(--df-color-primary-alt-pressed-background);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ngb-highlight {
|
|
24
|
+
color: var(--df-color-primary-alt-hovered-foreground);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.ngb-highlight {
|
|
28
|
+
color: var(--df-color-primary-alt-default-foreground);
|
|
29
|
+
font-weight: var(--df-typo-weight-bold);
|
|
30
|
+
}
|
|
31
|
+
:is(span[class^='icon-'], span[class^='fa-']) {
|
|
32
|
+
position: relative;
|
|
33
|
+
top: 0.1rem;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// for small and extra small device only
|
|
39
|
+
@include media-breakpoint-down(sm) {
|
|
40
|
+
// stylelint-disable-next-line selector-type-no-unknown
|
|
41
|
+
ngb-typeahead-window.dropdown-menu {
|
|
42
|
+
max-width: 90vw;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.df-waves-of-progress {
|
|
2
|
+
position: relative;
|
|
3
|
+
background-color: var(--df-waves-bg-color);
|
|
4
|
+
|
|
5
|
+
&:before {
|
|
6
|
+
content: '';
|
|
7
|
+
position: absolute;
|
|
8
|
+
inset: 0;
|
|
9
|
+
background-color: var(--df-waves-line-color);
|
|
10
|
+
mask-image: var(--df-waves-mask-img);
|
|
11
|
+
mask-position: center center;
|
|
12
|
+
mask-repeat: no-repeat;
|
|
13
|
+
mask-size: cover;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
> * {
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
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
|
+
|
|
13
|
+
$df-css-namespace-selector: '.design-factory-v2' !default;
|
|
14
|
+
|
|
15
|
+
#{$df-css-namespace-selector} {
|
|
16
|
+
@import 'bootstrap/scss/reboot';
|
|
17
|
+
@import 'bootstrap/scss/type';
|
|
18
|
+
@import 'bootstrap/scss/images';
|
|
19
|
+
@import 'bootstrap/scss/containers';
|
|
20
|
+
@import 'bootstrap/scss/grid';
|
|
21
|
+
@import 'bootstrap/scss/tables';
|
|
22
|
+
@import 'bootstrap/scss/forms';
|
|
23
|
+
@import 'bootstrap/scss/buttons';
|
|
24
|
+
@import 'bootstrap/scss/transitions';
|
|
25
|
+
@import 'bootstrap/scss/dropdown';
|
|
26
|
+
@import 'bootstrap/scss/button-group';
|
|
27
|
+
@import 'bootstrap/scss/nav';
|
|
28
|
+
@import 'bootstrap/scss/navbar';
|
|
29
|
+
@import 'bootstrap/scss/card';
|
|
30
|
+
@import 'bootstrap/scss/accordion';
|
|
31
|
+
@import 'bootstrap/scss/breadcrumb';
|
|
32
|
+
@import 'bootstrap/scss/pagination';
|
|
33
|
+
@import 'bootstrap/scss/badge';
|
|
34
|
+
@import 'bootstrap/scss/alert';
|
|
35
|
+
@import 'bootstrap/scss/progress';
|
|
36
|
+
@import 'bootstrap/scss/list-group';
|
|
37
|
+
@import 'bootstrap/scss/close';
|
|
38
|
+
@import 'bootstrap/scss/modal';
|
|
39
|
+
@import 'bootstrap/scss/tooltip';
|
|
40
|
+
@import 'bootstrap/scss/popover';
|
|
41
|
+
@import 'bootstrap/scss/carousel';
|
|
42
|
+
@import 'bootstrap/scss/spinners';
|
|
43
|
+
@import 'bootstrap/scss/utilities';
|
|
44
|
+
@import 'bootstrap/scss/offcanvas';
|
|
45
|
+
@import 'bootstrap/scss/placeholders';
|
|
46
|
+
@import 'bootstrap/scss/toasts';
|
|
47
|
+
|
|
48
|
+
// Helpers
|
|
49
|
+
@import 'bootstrap/helpers';
|
|
50
|
+
|
|
51
|
+
// Utilities
|
|
52
|
+
@import 'bootstrap/utilities-override';
|
|
53
|
+
@import 'bootstrap/scss/utilities/api';
|
|
54
|
+
|
|
55
|
+
/** DESIGN FACTORY IMPORTS **/
|
|
56
|
+
@import 'common';
|
|
57
|
+
@import 'components/accordion/accordion';
|
|
58
|
+
@import 'components/fonts/icon-font';
|
|
59
|
+
@import 'components/fonts/font-awesome-icons';
|
|
60
|
+
@import 'components/fonts/font-awesome-icons-brands';
|
|
61
|
+
@import 'components/fonts/fonts';
|
|
62
|
+
@import 'components/separator/separator';
|
|
63
|
+
@import 'components/button/button';
|
|
64
|
+
@import 'components/media/media';
|
|
65
|
+
@import 'components/modal/modal';
|
|
66
|
+
@import 'components/typeahead/typeahead';
|
|
67
|
+
@import 'components/alert/alert';
|
|
68
|
+
@import 'components/datepicker/datepicker';
|
|
69
|
+
@import 'components/form/form';
|
|
70
|
+
@import 'components/pagination/pagination';
|
|
71
|
+
@import 'components/badge/badge';
|
|
72
|
+
@import 'components/icon/amadeus-icon';
|
|
73
|
+
@import 'components/navbar/navbar';
|
|
74
|
+
@import 'components/tabs/tabs';
|
|
75
|
+
@import 'components/checkbox/checkbox';
|
|
76
|
+
@import 'components/radio/radio';
|
|
77
|
+
@import 'components/toggle/toggle';
|
|
78
|
+
@import 'components/inputs/inputs';
|
|
79
|
+
@import 'components/card/card';
|
|
80
|
+
@import 'components/list-group/list-group';
|
|
81
|
+
@import 'components/brand-color/brand-color';
|
|
82
|
+
@import 'components/link/link';
|
|
83
|
+
@import 'components/table/table';
|
|
84
|
+
@import 'components/table/advancedtables';
|
|
85
|
+
@import 'components/popover/popover';
|
|
86
|
+
@import 'components/slider/slider';
|
|
87
|
+
@import 'components/select/select';
|
|
88
|
+
@import 'components/dropdown/dropdown';
|
|
89
|
+
@import 'components/collapse/collapse';
|
|
90
|
+
@import 'components/progressbar/progressbar';
|
|
91
|
+
@import 'components/spinner/spinner';
|
|
92
|
+
@import 'components/rating/rating';
|
|
93
|
+
@import 'components/speechbubble/speechbubble';
|
|
94
|
+
@import 'components/list/list';
|
|
95
|
+
@import 'components/skip-links/skip-links';
|
|
96
|
+
@import 'components/breadcrumbs/breadcrumbs';
|
|
97
|
+
@import 'components/stepper/stepper';
|
|
98
|
+
@import 'components/carousel/carousel';
|
|
99
|
+
@import 'components/sidenav/sidenav';
|
|
100
|
+
@import 'components/footer/footer';
|
|
101
|
+
@import 'components/toast/toast';
|
|
102
|
+
|
|
103
|
+
@import 'bootstrap/rtl-styles-override';
|
|
104
|
+
|
|
105
|
+
// issue with agnosui exports, to be fixed for DF 20
|
|
106
|
+
/* stylelint-disable-next-line scss/load-partial-extension */
|
|
107
|
+
@import '@agnos-ui/core-bootstrap/scss/agnosui.scss';
|
|
108
|
+
|
|
109
|
+
-webkit-text-size-adjust: 100%; // 4
|
|
110
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // 6
|
|
111
|
+
margin: 0; // 1
|
|
112
|
+
font-family: $font-family-base;
|
|
113
|
+
font-size: $font-size-base;
|
|
114
|
+
font-weight: $font-weight-base;
|
|
115
|
+
line-height: $line-height-base;
|
|
116
|
+
color: $body-color;
|
|
117
|
+
background-color: $body-bg; // 2
|
|
118
|
+
|
|
119
|
+
.list-group-item + .list-group-item {
|
|
120
|
+
// Copy from Bootstrap 4.4.1 due to CSS namespacing and use of + selector
|
|
121
|
+
border-top-width: 0;
|
|
122
|
+
|
|
123
|
+
&.active {
|
|
124
|
+
margin-top: -$list-group-border-width;
|
|
125
|
+
border-top-width: $list-group-border-width;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@each $state, $data in $form-validation-states {
|
|
130
|
+
@if ($state == 'valid' or $state == 'invalid') {
|
|
131
|
+
.was-validated :#{$state},
|
|
132
|
+
.is-#{$state} {
|
|
133
|
+
~ .#{$state}-feedback,
|
|
134
|
+
~ .#{$state}-tooltip {
|
|
135
|
+
display: block;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
} @else {
|
|
139
|
+
.is-#{$state} {
|
|
140
|
+
~ .#{$state}-feedback,
|
|
141
|
+
~ .#{$state}-tooltip {
|
|
142
|
+
display: block;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
/* stylelint-disable no-invalid-position-at-import-rule */
|
|
149
|
+
@import 'components/popover/popover_container';
|
|
150
|
+
@import 'components/tooltip/tooltip_container';
|
|
151
|
+
@import 'components/spinner/spinner_container';
|
|
152
|
+
@import 'components/button/button_container';
|
|
153
|
+
@import 'components/pagination/pagination_container';
|
|
154
|
+
@import 'components/brand-color/brand-color_container';
|
|
155
|
+
/* stylelint-enable no-invalid-position-at-import-rule */
|
|
156
|
+
|
|
157
|
+
// this css is needed when modal are open to have no scroll on the background.
|
|
158
|
+
.df-modal-open {
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
}
|