@swisspost/design-system-styles 9.0.0-next.5 → 9.0.0-next.6
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/basics.css +3 -1
- package/cargo-external.css +7 -0
- package/cargo-external.scss +8 -0
- package/cargo-internal.css +7 -0
- package/cargo-internal.scss +8 -0
- package/cargo-tokens-external.css +1 -0
- package/cargo-tokens-external.scss +8 -0
- package/cargo-tokens-internal.css +1 -0
- package/cargo-tokens-internal.scss +8 -0
- package/components/_form-check.scss +170 -0
- package/components/_index.scss +6 -2
- package/components/banner.css +1 -0
- package/components/banner.scss +107 -0
- package/components/blockquote.css +1 -0
- package/components/blockquote.scss +46 -0
- package/components/breadcrumb.css +1 -1
- package/components/card-control.css +1 -1
- package/components/card-control.scss +12 -7
- package/components/card.css +1 -1
- package/components/card.scss +1 -5
- package/components/carousel.css +1 -1
- package/components/carousel.scss +2 -11
- package/components/checkbox.css +1 -0
- package/components/checkbox.scss +127 -0
- package/components/chip.css +1 -1
- package/components/close.css +1 -1
- package/components/datatable.css +1 -3
- package/components/dialog.css +1 -1
- package/components/dialog.scss +1 -1
- package/components/dropdown.css +1 -1
- package/components/floating-label.css +1 -1
- package/components/floating-label.scss +84 -251
- package/components/form-hint.css +1 -0
- package/components/form-hint.scss +16 -0
- package/components/form-range.css +1 -1
- package/components/form-range.scss +1 -1
- package/components/form-select.css +1 -1
- package/components/form-select.scss +224 -54
- package/components/form-validation.css +1 -1
- package/components/form-validation.scss +0 -31
- package/components/forms.css +1 -1
- package/components/forms.scss +96 -94
- package/components/grid.css +1 -1
- package/components/intranet-header/_nav-overflow.scss +2 -2
- package/components/intranet-header/_scaffolding.scss +1 -1
- package/components/intranet-header/_searchbox.scss +1 -1
- package/components/intranet-header/_top-navigation.scss +1 -1
- package/components/modal.css +2 -2
- package/components/offcanvas.css +1 -1
- package/components/product-card.css +1 -1
- package/components/radio-button.css +1 -0
- package/components/radio-button.scss +117 -0
- package/components/sizing.css +1 -1
- package/components/stepper.css +1 -1
- package/components/stepper.scss +3 -2
- package/components/subnavigation.css +1 -1
- package/components/switch.css +1 -0
- package/components/switch.scss +223 -0
- package/components/tables.css +1 -1
- package/components/tabs/_tabs-wrapper.scss +2 -1
- package/components/tabs/index.css +1 -1
- package/components/timepicker.scss +5 -2
- package/components/toast.css +1 -1
- package/components/toast.scss +20 -15
- package/elements/_index.scss +1 -0
- package/elements/list-bullet.css +1 -1
- package/elements/list-bullet.scss +2 -0
- package/elements/reset.css +1 -1
- package/elements/reset.scss +6 -0
- package/elements/segmented-button.css +3 -0
- package/elements/segmented-button.scss +187 -0
- package/elements.css +3 -1
- package/functions/_forms.scss +8 -3
- package/index.css +4 -4
- package/intranet.css +4 -4
- package/layouts/portal/_grid.scss +0 -20
- package/mixins/_forms.scss +27 -32
- package/mixins/_notification.scss +40 -27
- package/mixins/_utilities.scss +7 -18
- package/package.json +3 -3
- package/palettes/_mixins.scss +74 -0
- package/palettes/_utilities.scss +3 -0
- package/palettes/_variables.scss +2 -0
- package/palettes/cargo-palettes.css +1 -0
- package/palettes/cargo-palettes.scss +3 -0
- package/palettes/post-palettes.css +1 -0
- package/palettes/post-palettes.scss +3 -0
- package/placeholders/_close.scss +1 -4
- package/post-external.css +4 -4
- package/post-external.scss +5 -1
- package/post-internal.css +4 -4
- package/post-internal.scss +5 -1
- package/post-tokens-external.css +1 -1
- package/post-tokens-internal.css +1 -1
- package/themes/bootstrap/_forms.scss +0 -4
- package/themes/bootstrap/_overrides-variables.scss +0 -1
- package/themes/bootstrap/_utilities.scss +4 -0
- package/tokens/_cargo-theme.scss +8 -0
- package/tokens/_palettes.scss +9 -0
- package/tokens/temp/_channel.scss +1 -1
- package/tokens/temp/_components.scss +35 -27
- package/tokens/temp/_core.scss +2 -1
- package/tokens/temp/_device.scss +3 -3
- package/tokens/temp/_elements.scss +1 -1
- package/tokens/temp/_helpers.scss +1 -1
- package/tokens/temp/_index.scss +1 -1
- package/tokens/temp/_palettes.scss +1 -1
- package/tokens/temp/_scheme.scss +1 -1
- package/tokens/temp/_theme.scss +1 -1
- package/tokens/temp/_utilities.scss +1 -1
- package/tokens/temp/palettes/_cargo-dark.scss +19 -0
- package/tokens/temp/palettes/_cargo-light.scss +19 -0
- package/tokens/temp/palettes/_post-dark.scss +19 -0
- package/tokens/temp/palettes/_post-light.scss +19 -0
- package/utilities/_variables.scss +12 -0
- package/utilities/temp/_legacy.scss +1 -1
- package/variables/_breakpoints.scss +1 -5
- package/variables/_color.scss +0 -27
- package/variables/_grid.scss +2 -12
- package/variables/_spacing.scss +0 -8
- package/variables/_type.scss +0 -8
- package/variables/components/_close.scss +2 -2
- package/variables/components/_form-check.scss +0 -41
- package/variables/components/_forms.scss +8 -83
- package/variables/components/_index.scss +0 -1
- package/variables/components/_notification.scss +43 -36
- package/components/alert.css +0 -1
- package/components/alert.scss +0 -133
- package/components/form-check.css +0 -1
- package/components/form-check.scss +0 -297
- package/components/topic-teaser.css +0 -1
- package/components/topic-teaser.scss +0 -196
- package/layouts/portal/_variables.scss +0 -8
- package/themes/bootstrap/forms/_floating-labels.scss +0 -2
- package/themes/bootstrap/forms/_form-control.scss +0 -2
- package/themes/bootstrap/forms/_form-select.scss +0 -2
- package/themes/bootstrap/forms/_form-text.scss +0 -2
- package/variables/components/_form-select.scss +0 -13
- package/variables/components/_topic-teaser.scss +0 -32
|
@@ -4,23 +4,29 @@
|
|
|
4
4
|
@use './../commons';
|
|
5
5
|
@use './../spacing';
|
|
6
6
|
@use './../type';
|
|
7
|
+
@use '../../tokens/components';
|
|
8
|
+
@use '../../functions/tokens';
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
$notification-box-shadow: 0 2px 4px 0 rgba(color.$black, 0.2) !default;
|
|
10
|
-
$notification-border-radius: commons.$border-radius !default;
|
|
11
|
-
$notification-gap: spacing.$size-small-large !default;
|
|
10
|
+
tokens.$default-map: components.$post-banner;
|
|
12
11
|
$notification-body-gap: spacing.$size-micro !default;
|
|
13
12
|
$notification-font-weight: type.$font-weight-normal !default;
|
|
14
13
|
$notification-link-font-weight: type.$font-weight-normal !default;
|
|
15
|
-
|
|
16
|
-
$notification-
|
|
14
|
+
|
|
15
|
+
$notification-gap-map: () !default;
|
|
16
|
+
$notification-gap-map: map.merge(
|
|
17
|
+
$notification-gap-map,
|
|
18
|
+
(
|
|
19
|
+
'banner': tokens.get('banner-gap'),
|
|
20
|
+
'toast': tokens.get('toast-spacing-gap-outer', components.$post-toast),
|
|
21
|
+
)
|
|
22
|
+
);
|
|
17
23
|
|
|
18
24
|
$notification-padding-x-map: () !default;
|
|
19
25
|
$notification-padding-x-map: map.merge(
|
|
20
26
|
$notification-padding-x-map,
|
|
21
27
|
(
|
|
22
|
-
'
|
|
23
|
-
'toast': spacing.$
|
|
28
|
+
'banner': tokens.get('banner-padding'),
|
|
29
|
+
'toast': tokens.get('toast-spacing-padding-inline', components.$post-toast),
|
|
24
30
|
)
|
|
25
31
|
);
|
|
26
32
|
|
|
@@ -28,8 +34,8 @@ $notification-padding-y-map: () !default;
|
|
|
28
34
|
$notification-padding-y-map: map.merge(
|
|
29
35
|
$notification-padding-y-map,
|
|
30
36
|
(
|
|
31
|
-
'
|
|
32
|
-
'toast': spacing
|
|
37
|
+
'banner': tokens.get('banner-padding'),
|
|
38
|
+
'toast': tokens.get('toast-spacing-padding-block', components.$post-toast),
|
|
33
39
|
)
|
|
34
40
|
);
|
|
35
41
|
|
|
@@ -37,54 +43,55 @@ $notification-font-size-map: () !default;
|
|
|
37
43
|
$notification-font-size-map: map.merge(
|
|
38
44
|
$notification-font-size-map,
|
|
39
45
|
(
|
|
40
|
-
'
|
|
46
|
+
'banner': type.$font-size-base,
|
|
41
47
|
'toast': type.$font-size-tiny,
|
|
42
48
|
)
|
|
43
49
|
);
|
|
44
50
|
|
|
45
|
-
$notification-heading-font-size-map: () !default;
|
|
46
|
-
$notification-heading-font-size-map: map.merge(
|
|
47
|
-
$notification-heading-font-size-map,
|
|
48
|
-
(
|
|
49
|
-
'alert': type.$font-size-bigger-regular,
|
|
50
|
-
'toast': type.$font-size-small,
|
|
51
|
-
)
|
|
52
|
-
);
|
|
53
|
-
|
|
54
51
|
$notification-hr-margin-block-map: () !default;
|
|
55
52
|
$notification-hr-margin-block-map: map.merge(
|
|
56
53
|
$notification-hr-margin-block-map,
|
|
57
54
|
(
|
|
58
|
-
'
|
|
55
|
+
'banner': spacing.$size-mini spacing.$size-small-regular,
|
|
59
56
|
'toast': spacing.$size-micro spacing.$size-small-regular,
|
|
60
57
|
)
|
|
61
58
|
);
|
|
62
59
|
|
|
60
|
+
$notification-elevation-map: () !default;
|
|
61
|
+
$notification-elevation-map: map.merge(
|
|
62
|
+
$notification-elevation-map,
|
|
63
|
+
(
|
|
64
|
+
'banner': tokens.get('banner-elevation'),
|
|
65
|
+
'toast': tokens.get('notification-toast-elevation', components.$post-notifications),
|
|
66
|
+
)
|
|
67
|
+
);
|
|
68
|
+
|
|
63
69
|
$notification-icon-size-map: () !default;
|
|
64
70
|
$notification-icon-size-map: map.merge(
|
|
65
71
|
$notification-icon-size-map,
|
|
66
72
|
(
|
|
67
|
-
'
|
|
68
|
-
'toast':
|
|
73
|
+
'banner': tokens.get('banner-icon-size'),
|
|
74
|
+
'toast': tokens.get('toast-sizing-icon', components.$post-toast),
|
|
69
75
|
)
|
|
70
76
|
);
|
|
71
77
|
|
|
78
|
+
//TODO: Note that primary, and gray have been deleted (.banner by default is now neutral) and that danger is back to error
|
|
72
79
|
$notification-variants: () !default;
|
|
73
80
|
$notification-variants: list.join(
|
|
74
81
|
$notification-variants,
|
|
75
82
|
(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
'success'
|
|
79
|
-
|
|
80
|
-
'
|
|
81
|
-
|
|
82
|
-
'
|
|
83
|
-
|
|
84
|
-
'
|
|
85
|
-
|
|
83
|
+
'neutral' tokens.get('banner-neutral-bg') 2201 tokens.get('banner-neutral-border-color')
|
|
84
|
+
tokens.get('banner-neutral-icon-color') tokens.get('post-banner-neutral-bg-scheme'),
|
|
85
|
+
'success' tokens.get('banner-success-bg') 2105 tokens.get('banner-success-border-color')
|
|
86
|
+
tokens.get('banner-success-icon-color') tokens.get('post-banner-success-bg-scheme'),
|
|
87
|
+
'warning' tokens.get('banner-warning-bg') 2104 tokens.get('banner-warning-border-color')
|
|
88
|
+
tokens.get('banner-warning-icon-color') tokens.get('post-banner-warning-bg-scheme'),
|
|
89
|
+
'error' tokens.get('banner-error-bg') 2104 tokens.get('banner-error-border-color')
|
|
90
|
+
tokens.get('banner-error-icon-color') tokens.get('post-banner-error-bg-scheme'),
|
|
91
|
+
'info' tokens.get('banner-info-bg') 2106 tokens.get('banner-info-border-color')
|
|
92
|
+
tokens.get('banner-info-icon-color') tokens.get('post-banner-info-bg-scheme'),
|
|
93
|
+
// duplicate
|
|
94
|
+
'danger' tokens.get('banner-error-bg') 2104 tokens.get('banner-error-border-color')
|
|
95
|
+
tokens.get('banner-error-icon-color') tokens.get('post-banner-error-bg-scheme')
|
|
86
96
|
)
|
|
87
97
|
);
|
|
88
|
-
|
|
89
|
-
// deprecated
|
|
90
|
-
$notification-buttons-margin-start: $notification-buttons-gap !default;
|
package/components/alert.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.alert-primary,.alert-success,.alert-warning,.alert-danger,.alert-info,.alert-gray,.alert-notification,.alert-error{background-color:rgb(var(--post-bg-rgb)) !important;color:var(--post-contrast-color) !important}.alert-warning,.alert-info,.alert-gray{--post-contrast-color: #000;--post-focus-color: #1976c8;--post-contrast-color-inverted: #fff;--post-gray-10: hsl(0, 0%, 90%);--post-gray-20: hsl(0, 0%, 80%);--post-gray-40: hsl(0, 0%, 60%);--post-gray-60: hsl(0, 0%, 40%);--post-gray-80: hsl(0, 0%, 20%);--post-yellow: #fc0;--post-white: #fff;--post-light: #faf9f8;--post-gray: #f4f3f1;--post-dark: hsl(0, 0%, 20%);--post-black: #000;--post-primary: hsl(0, 0%, 20%);--post-secondary: hsl(0, 0%, 40%);--post-success: #2c871d;--post-warning: #f49e00;--post-error: #a51728;--post-info: #cce4ee;--post-success-background: #c0debb;--post-warning-background: #fce2b2;--post-error-background: #ffdade;--post-contrast-color-rgb: 0, 0, 0;--post-contrast-color-inverted-rgb: 255, 255, 255;--post-gray-10-rgb: 230, 230, 230;--post-gray-20-rgb: 204, 204, 204;--post-gray-40-rgb: 153, 153, 153;--post-gray-60-rgb: 102, 102, 102;--post-gray-80-rgb: 51, 51, 51;--post-black-alpha-10-rgba: rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba: rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba: rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba: rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba: rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba: rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba: rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba: rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba: rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba: rgba(255, 255, 255, 0.8);--post-yellow-rgb: 255, 204, 0;--post-white-rgb: 255, 255, 255;--post-light-rgb: 250, 249, 248;--post-gray-rgb: 244, 243, 241;--post-dark-rgb: 51, 51, 51;--post-black-rgb: 0, 0, 0;--post-primary-rgb: 51, 51, 51;--post-secondary-rgb: 102, 102, 102;--post-success-rgb: 44, 135, 29;--post-warning-rgb: 244, 158, 0;--post-error-rgb: 165, 23, 40;--post-info-rgb: 204, 228, 238;--post-success-background-rgb: 192, 222, 187;--post-warning-background-rgb: 252, 226, 178;--post-error-background-rgb: 255, 218, 222}.alert-primary,.alert-success,.alert-danger,.alert-notification,.alert-error{--post-contrast-color: #fff;--post-focus-color: #fff;--post-contrast-color-inverted: #000;--post-dark: #faf9f8;--post-light: hsl(0, 0%, 20%);--post-gray-80: hsl(0, 0%, 90%);--post-gray-60: hsl(0, 0%, 80%);--post-gray-40: hsl(0, 0%, 60%);--post-gray-20: hsl(0, 0%, 40%);--post-gray-10: hsl(0, 0%, 20%);--post-contrast-color-rgb: 255, 255, 255;--post-contrast-color-inverted-rgb: 0, 0, 0;--post-dark-rgb: 250, 249, 248;--post-light-rgb: 51, 51, 51;--post-gray-80-rgb: 230, 230, 230;--post-gray-60-rgb: 204, 204, 204;--post-gray-40-rgb: 153, 153, 153;--post-gray-20-rgb: 102, 102, 102;--post-gray-10-rgb: 51, 51, 51}.alert{position:relative;box-sizing:border-box;min-height:5rem;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);border-radius:4px;padding:1rem 1.25rem;padding-inline-start:5.5rem;margin-block-end:1rem;font-size:1rem;font-weight:400}.alert::before{content:"";display:block}.alert::before,.alert>post-icon{position:absolute;height:3rem;width:3rem;left:1.25rem;top:1rem}.alert.no-icon{min-height:3.5rem;padding-inline-start:1.25rem}.alert.no-icon::before{content:unset}.alert.no-icon>post-icon{display:none}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.alert{filter:none !important;border:2px solid CanvasText}}.alert:not(.alert-action){display:flex;flex-direction:column;justify-content:center;gap:.25rem}.alert:not(.alert-action) a{font-weight:400}.alert:not(.alert-action) hr{margin-block:.5rem .75rem !important}.alert:not(.alert-action)>:only-child,.alert:not(.alert-action)>post-icon:first-child+:last-child{font-size:1.0625rem;font-weight:700}.alert:not(.alert-action)>*{margin:0}.alert-heading{font-size:1.0625rem;font-weight:700}.alert-dismissible{pointer-events:auto;position:relative;padding-inline-end:4rem}.alert-dismissible>.btn-close{position:absolute;inset-block-start:1rem;inset-inline-end:1.25rem}.alert-dismissible>.btn-close:first-child+:last-child{font-size:1.0625rem;font-weight:700}.alert-action{display:flex;flex-direction:row;align-items:center;gap:1.25rem}.alert-action>.alert-content{flex:1 1 auto}.alert-action>.alert-content{display:flex;flex-direction:column;justify-content:center;gap:.25rem}.alert-action>.alert-content a{font-weight:400}.alert-action>.alert-content hr{margin-block:.5rem .75rem !important}.alert-action>.alert-content>:only-child,.alert-action>.alert-content>post-icon:first-child+:last-child{font-size:1.0625rem;font-weight:700}.alert-action>.alert-content>*{margin:0}.alert-action>.alert-buttons{flex:0 0 auto;display:flex;align-items:center;gap:.5rem}@media(min-width: 780px){.alert-action.alert-dismissible>.btn-close{inset-block-start:calc(50% - 0.75rem)}}@media(max-width: 779.98px){.alert-action{flex-direction:column;align-items:stretch;padding-inline:1.25rem}.alert-action>.alert-content{padding-inline-start:4.25rem;padding-inline-end:2.75rem}.alert-action.no-icon>.alert-content{padding-inline-start:0}.alert-action>.alert-buttons{display:flex}.alert-action>.alert-buttons>.btn,.alert-action>.alert-buttons>::slotted(.btn){flex:1 0 0;width:100%}.alert-action>.alert-buttons>.btn:first-child,.alert-action>.alert-buttons>::slotted(.btn:first-child){margin-inline-start:0}}.alert-fixed-bottom{position:fixed;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;margin-bottom:0;border-radius:0;z-index:1030}@media(min-width: 1440px){.alert-fixed-bottom{padding-inline-end:calc((100% - 1439px) / 2 + 120px + 1.25rem);padding-inline-start:calc((100% - 1439px) / 2 + 120px + 1.25rem + 3rem + 1.25rem)}.alert-fixed-bottom::before{left:calc((100% - 1439px) / 2 + 120px + 1.25rem)}.alert-fixed-bottom.no-icon{padding-inline-start:calc((100% - 1439px) / 2 + 120px + 1.25rem)}.alert-fixed-bottom.alert-dismissible{padding-inline-end:calc((100% - 1439px) / 2 + 120px + 1.25rem + 1.25rem + 1.5rem)}.alert-fixed-bottom.alert-dismissible>.btn-close{inset-inline-end:calc((100% - 1439px) / 2 + 120px + 1.25rem)}}.alert-primary{--post-bg-rgb: 51, 51, 51}.alert-primary:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-primary:has(>post-icon)::before{content:none}.alert-primary>post-icon{background-color:#333}.alert-success{--post-bg-rgb: 44, 135, 29}.alert-success:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 24.533-7.6-7.6 1.867-1.867 5.733 5.733 12.4-12.4 1.867 1.867z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 24.533-7.6-7.6 1.867-1.867 5.733 5.733 12.4-12.4 1.867 1.867z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-success:has(>post-icon)::before{content:none}.alert-success>post-icon{background-color:#2c871d}.alert-warning{--post-bg-rgb: 244, 158, 0}.alert-warning:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-warning:has(>post-icon)::before{content:none}.alert-warning>post-icon{background-color:#f49e00}.alert-danger{--post-bg-rgb: 165, 23, 40}.alert-danger:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-danger:has(>post-icon)::before{content:none}.alert-danger>post-icon{background-color:#a51728}.alert-info{--post-bg-rgb: 204, 228, 238}.alert-info:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.33 25.33v-16h-4.67V12h2v13.33h-2V28h6.67v-2.67zM14.67 4h2.67v2.67h-2.67z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.33 25.33v-16h-4.67V12h2v13.33h-2V28h6.67v-2.67zM14.67 4h2.67v2.67h-2.67z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-info:has(>post-icon)::before{content:none}.alert-info>post-icon{background-color:#cce4ee}.alert-gray{--post-bg-rgb: 244, 243, 241}.alert-gray:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-gray:has(>post-icon)::before{content:none}.alert-gray>post-icon{background-color:#f4f3f1}.alert-notification{--post-bg-rgb: 51, 51, 51}.alert-notification:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-notification:has(>post-icon)::before{content:none}.alert-notification>post-icon{background-color:#333}.alert-error{--post-bg-rgb: 165, 23, 40}.alert-error:not(.no-icon)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-error:has(>post-icon)::before{content:none}.alert-error>post-icon{background-color:#a51728}
|
package/components/alert.scss
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
@forward './../variables/options';
|
|
2
|
-
|
|
3
|
-
@use 'sass:map';
|
|
4
|
-
|
|
5
|
-
@use './../themes/bootstrap/core' as *;
|
|
6
|
-
|
|
7
|
-
@use './../mixins/notification' as notification-mx;
|
|
8
|
-
|
|
9
|
-
@use './../variables/breakpoints';
|
|
10
|
-
@use './../variables/commons';
|
|
11
|
-
@use './../variables/grid';
|
|
12
|
-
@use './../variables/components/close';
|
|
13
|
-
@use './../variables/components/notification';
|
|
14
|
-
|
|
15
|
-
.alert {
|
|
16
|
-
@include notification-mx.notification-size(alert);
|
|
17
|
-
|
|
18
|
-
&:not(.alert-action) {
|
|
19
|
-
@include notification-mx.notification-body(alert);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.alert-heading {
|
|
24
|
-
@include notification-mx.notification-heading(alert);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.alert-dismissible {
|
|
28
|
-
@include notification-mx.notification-dismissible(alert);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.alert-action {
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: row;
|
|
34
|
-
align-items: center;
|
|
35
|
-
gap: notification.$notification-gap;
|
|
36
|
-
|
|
37
|
-
> .alert-content {
|
|
38
|
-
flex: 1 1 auto;
|
|
39
|
-
@include notification-mx.notification-body(alert);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
> .alert-buttons {
|
|
43
|
-
flex: 0 0 auto;
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
gap: notification.$notification-buttons-gap;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@include media-breakpoint-up(md) {
|
|
50
|
-
&.alert-dismissible > .btn-close {
|
|
51
|
-
inset-block-start: calc(50% - #{0.5 * close.$close-size});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@include media-breakpoint-down(md) {
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
align-items: stretch;
|
|
58
|
-
padding-inline: map.get(notification.$notification-padding-x-map, alert);
|
|
59
|
-
|
|
60
|
-
> .alert-content {
|
|
61
|
-
$icon-size: map.get(notification.$notification-icon-size-map, alert);
|
|
62
|
-
|
|
63
|
-
padding-inline-start: notification.$notification-gap + $icon-size;
|
|
64
|
-
padding-inline-end: notification.$notification-gap + close.$close-size;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.no-icon > .alert-content {
|
|
68
|
-
padding-inline-start: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
> .alert-buttons {
|
|
72
|
-
display: flex;
|
|
73
|
-
|
|
74
|
-
> .btn,
|
|
75
|
-
> ::slotted(.btn) {
|
|
76
|
-
flex: 1 0 0;
|
|
77
|
-
width: 100%;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
> .btn:first-child,
|
|
81
|
-
> ::slotted(.btn:first-child) {
|
|
82
|
-
margin-inline-start: 0;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.alert-fixed-bottom {
|
|
89
|
-
position: fixed;
|
|
90
|
-
inset-block-end: 0;
|
|
91
|
-
inset-inline-start: 0;
|
|
92
|
-
inset-inline-end: 0;
|
|
93
|
-
margin-bottom: 0;
|
|
94
|
-
border-radius: 0;
|
|
95
|
-
z-index: commons.$zindex-fixed;
|
|
96
|
-
|
|
97
|
-
@include media-breakpoint-up(xxl) {
|
|
98
|
-
$container-max-width: map.get(breakpoints.$grid-breakpoints, 'xxl') - 1;
|
|
99
|
-
$container-padding-x: map.get(grid.$grid-container-padding, 'xxl');
|
|
100
|
-
$alert-padding-x: map.get(notification.$notification-padding-x-map, alert);
|
|
101
|
-
$alert-icon-size: map.get(notification.$notification-icon-size-map, alert);
|
|
102
|
-
$fixed-alert-padding-x: '(100% - #{$container-max-width}) / 2 + #{$container-padding-x} + #{$alert-padding-x}';
|
|
103
|
-
|
|
104
|
-
padding-inline-end: calc(#{$fixed-alert-padding-x});
|
|
105
|
-
padding-inline-start: calc(
|
|
106
|
-
#{$fixed-alert-padding-x} + #{$alert-icon-size} + #{notification.$notification-gap}
|
|
107
|
-
);
|
|
108
|
-
|
|
109
|
-
&::before {
|
|
110
|
-
left: calc(#{$fixed-alert-padding-x});
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.no-icon {
|
|
114
|
-
padding-inline-start: calc(#{$fixed-alert-padding-x});
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.alert-dismissible {
|
|
118
|
-
padding-inline-end: calc(
|
|
119
|
-
#{$fixed-alert-padding-x} + #{notification.$notification-gap} + #{close.$close-size}
|
|
120
|
-
);
|
|
121
|
-
|
|
122
|
-
> .btn-close {
|
|
123
|
-
inset-inline-end: calc(#{$fixed-alert-padding-x});
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@each $name, $color, $icon in notification.$notification-variants {
|
|
130
|
-
.alert-#{$name} {
|
|
131
|
-
@include notification-mx.notification-variant($color, $icon);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.form-check{display:flex;flex-wrap:wrap;row-gap:.75rem;margin-bottom:1rem}.form-check{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.form-check-inline{display:inline-flex}.form-check-inline:not(:last-of-type){margin-right:1.5rem}.form-check-input,.form-check-label{color:rgba(var(--post-contrast-color-rgb), 0.8);transition:color 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input,.form-check-label{transition:none}}.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{color:var(--post-contrast-color)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{border-color:Highlight}}.form-check-input{display:inline-flex;flex:0 auto;appearance:none;background:rgba(0,0,0,0);height:1.375rem;width:1.375rem;border:2px solid currentColor;margin-top:1px;outline:none}.form-check-input:not([disabled]),.form-check-input:not([disabled])~.form-check-label{cursor:pointer}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input{border-color:FieldText}}.form-check-input::after{content:"";display:block;flex:1}.form-check-input[type=checkbox]:checked::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 23.6-7.2-7.067 1.067-1.067 6.133 6.267L25.467 8.8l1.067 1.067z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 23.6-7.2-7.067 1.067-1.067 6.133 6.267L25.467 8.8l1.067 1.067z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.form-check-input[type=checkbox]:indeterminate::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5.333 16.01 20-.021.001 1.333-20 .021z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5.333 16.01 20-.021.001 1.333-20 .021z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=checkbox]:checked,.form-check-input[type=checkbox]:indeterminate{background-color:SelectedItem !important;color:SelectedItemText !important}}.form-check-input[type=radio]{border-radius:50%}.form-check-input[type=radio]:checked::after{border:.25rem solid rgba(0,0,0,0);background-color:currentColor;border-radius:inherit;background-clip:padding-box}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio]:checked::after{background-color:SelectedItem;border-color:Canvas}}.form-check-input[type=radio][disabled]{padding:2px;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='rgba(255, 255, 255, 0.8)' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e") !important}}.form-check-input[disabled]{border:0;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox],.form-check-input[disabled][type=radio]{border-color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox]:checked,.form-check-input[disabled][type=checkbox]:indeterminate{background-color:Field !important;color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=radio]:checked::after{background-color:GrayText}}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='rgba(255, 255, 255, 0.8)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e") !important}}.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='66' /%3e%3c/svg%3e")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='rgba(255, 255, 255, 0.8)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='66' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='66' /%3e%3c/svg%3e") !important}}.form-check-input[disabled],.form-check-input[disabled]~.form-check-label{text-decoration:line-through;color:rgba(0,0,0,.6)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled],:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]~.form-check-label{color:rgba(255,255,255,.8)}.form-check-sm .form-check-input{height:1rem;width:1rem}.form-check-sm .form-check-input[type=radio]:checked::after{border-width:2px}.form-check-label{flex:1}:not(.form-switch,.radio-button-card,.checkbox-button-card)>.form-check-label{padding-inline-start:.5rem}.form-check-sm .form-check-label{font-size:.75rem}.form-switch .form-check-input{height:2rem;width:4rem;border:0;border-radius:4rem;background-image:linear-gradient(to right, rgba(var(--post-contrast-color-rgb), 0.3) 50%, var(--post-success) 50%);background-size:8rem;background-position-x:0;transition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),background-position 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input::after{max-width:2rem;background-color:#fff;border:2px solid #666;border-radius:50%;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input:checked{background-position-x:4rem}.form-switch .form-check-input:checked::after{-webkit-mask-image:none;mask-image:none;background-color:#fff;border-color:#000;transform:translateX(2rem)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input{transition:none;border:2px solid CanvasText}.form-switch .form-check-input:checked{background-color:SelectedItem !important}.form-switch .form-check-input::after,.form-switch .form-check-input:checked::after{max-width:calc(2rem - 4px);border-color:Canvas;background-color:CanvasText}}.form-switch .form-check-input[disabled]{background:#ccc}.form-switch .form-check-input[disabled]::after{border-color:#999}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input[disabled]::after{border-color:Field}.form-switch .form-check-input[disabled]:checked{background-color:GrayText !important}}.form-switch:hover>.form-check-input:not([disabled]){background-color:rgba(var(--post-contrast-color-rgb), 0.1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch:hover>.form-check-input:not([disabled]){border-color:Highlight}}.form-switch .form-check-label{padding-top:.25rem}.form-switch .form-check-label.order-first{flex:0 auto;padding-inline-end:1rem}.form-switch .form-check-label:not(.order-first){padding-inline-start:1rem}
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
@forward './../variables/options';
|
|
2
|
-
|
|
3
|
-
@use '../variables/color';
|
|
4
|
-
@use '../variables/commons';
|
|
5
|
-
@use '../variables/type';
|
|
6
|
-
@use '../variables/spacing';
|
|
7
|
-
@use '../variables/animation';
|
|
8
|
-
@use '../variables/components/form-check';
|
|
9
|
-
@use '../mixins/color' as color-mx;
|
|
10
|
-
@use '../mixins/icons' as icons-mx;
|
|
11
|
-
@use '../mixins/utilities' as utility-mx;
|
|
12
|
-
|
|
13
|
-
.form-check {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-wrap: wrap;
|
|
16
|
-
row-gap: form-check.$form-check-row-gap;
|
|
17
|
-
margin-bottom: form-check.$form-check-margin-bottom;
|
|
18
|
-
|
|
19
|
-
@include utility-mx.focus-style {
|
|
20
|
-
border-radius: commons.$border-radius;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-inline {
|
|
24
|
-
display: inline-flex;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-inline:not(:last-of-type) {
|
|
28
|
-
margin-right: form-check.$form-check-inline-margin-right;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-input,
|
|
32
|
-
&-label {
|
|
33
|
-
color: rgba(var(--post-contrast-color-rgb), 0.8);
|
|
34
|
-
transition: color animation.$transition-base-timing;
|
|
35
|
-
|
|
36
|
-
@include utility-mx.high-contrast-mode {
|
|
37
|
-
transition: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:hover:not([disabled]),
|
|
41
|
-
&:hover:not([disabled]) ~ &-label {
|
|
42
|
-
color: var(--post-contrast-color);
|
|
43
|
-
|
|
44
|
-
@include utility-mx.high-contrast-mode() {
|
|
45
|
-
border-color: Highlight;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&-input {
|
|
51
|
-
display: inline-flex;
|
|
52
|
-
flex: 0 auto;
|
|
53
|
-
appearance: none;
|
|
54
|
-
background: transparent;
|
|
55
|
-
height: form-check.$form-check-input-size;
|
|
56
|
-
width: form-check.$form-check-input-size;
|
|
57
|
-
border: form-check.$form-check-input-border-width solid currentColor;
|
|
58
|
-
margin-top: 1px;
|
|
59
|
-
@include utility-mx.focus-style-none();
|
|
60
|
-
|
|
61
|
-
&:not([disabled]),
|
|
62
|
-
&:not([disabled]) ~ .form-check-label {
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@include utility-mx.high-contrast-mode {
|
|
67
|
-
border-color: FieldText; // For blink-browser as otherwise the default color (which is not a full color) will be converted to Highlight
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&::after {
|
|
71
|
-
content: '';
|
|
72
|
-
display: block;
|
|
73
|
-
flex: 1;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&[type='checkbox'] {
|
|
77
|
-
&:checked::after {
|
|
78
|
-
@include icons-mx.icon(3035);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&:indeterminate::after {
|
|
82
|
-
@include icons-mx.icon(2039);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:checked,
|
|
86
|
-
&:indeterminate {
|
|
87
|
-
@include utility-mx.high-contrast-mode {
|
|
88
|
-
background-color: SelectedItem !important;
|
|
89
|
-
color: SelectedItemText !important; // Important is needed for card-control
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&[type='radio'] {
|
|
95
|
-
border-radius: 50%;
|
|
96
|
-
|
|
97
|
-
&:checked::after {
|
|
98
|
-
border: spacing.$size-micro solid transparent;
|
|
99
|
-
background-color: currentColor;
|
|
100
|
-
border-radius: inherit;
|
|
101
|
-
background-clip: padding-box;
|
|
102
|
-
|
|
103
|
-
@include utility-mx.high-contrast-mode {
|
|
104
|
-
background-color: SelectedItem;
|
|
105
|
-
border-color: Canvas;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&[disabled] {
|
|
110
|
-
padding: spacing.$size-line; // Used to mimic border width because it is used in combination with background-clip: padding-box; to size the selected shape
|
|
111
|
-
background-image: url('#{form-check.$form-check-input-radio-disabled-background-url-light}');
|
|
112
|
-
|
|
113
|
-
@include color-mx.on-dark-background {
|
|
114
|
-
background-image: url('#{form-check.$form-check-input-radio-disabled-background-url-dark}');
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@include utility-mx.high-contrast-mode {
|
|
118
|
-
background-image: url('#{form-check.$form-check-input-radio-disabled-background-url-hcm}') !important;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&[disabled] {
|
|
124
|
-
border: 0;
|
|
125
|
-
background-image: url('#{form-check.$form-check-input-disabled-background-url-light-lg}');
|
|
126
|
-
|
|
127
|
-
&[type='checkbox'],
|
|
128
|
-
&[type='radio'] {
|
|
129
|
-
@include utility-mx.high-contrast-mode {
|
|
130
|
-
border-color: GrayText !important;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&[type='checkbox'] {
|
|
135
|
-
&:checked,
|
|
136
|
-
&:indeterminate {
|
|
137
|
-
@include utility-mx.high-contrast-mode {
|
|
138
|
-
background-color: Field !important;
|
|
139
|
-
color: GrayText !important;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&[type='radio'] {
|
|
145
|
-
&:checked::after {
|
|
146
|
-
@include utility-mx.high-contrast-mode {
|
|
147
|
-
background-color: GrayText;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@include color-mx.on-dark-background {
|
|
153
|
-
background-image: url('#{form-check.$form-check-input-disabled-background-url-dark-lg}');
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
@include utility-mx.high-contrast-mode {
|
|
157
|
-
background-image: url('#{form-check.$form-check-input-disabled-background-url-hcm-lg}') !important;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.form-check-sm &[type='checkbox'] {
|
|
161
|
-
background-image: url('#{form-check.$form-check-input-disabled-background-url-light-sm}');
|
|
162
|
-
|
|
163
|
-
@include color-mx.on-dark-background {
|
|
164
|
-
background-image: url('#{form-check.$form-check-input-disabled-background-url-dark-sm}');
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@include utility-mx.high-contrast-mode {
|
|
168
|
-
background-image: url('#{form-check.$form-check-input-disabled-background-url-hcm-sm}') !important;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
&[disabled],
|
|
174
|
-
&[disabled] ~ .form-check-label {
|
|
175
|
-
text-decoration: line-through;
|
|
176
|
-
color: color.$black-alpha-60;
|
|
177
|
-
|
|
178
|
-
@include color-mx.on-dark-background() {
|
|
179
|
-
color: color.$white-alpha-80;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.form-check-sm & {
|
|
184
|
-
height: form-check.$form-check-input-size-sm;
|
|
185
|
-
width: form-check.$form-check-input-size-sm;
|
|
186
|
-
|
|
187
|
-
&[type='radio'] {
|
|
188
|
-
&:checked::after {
|
|
189
|
-
border-width: spacing.$size-line;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&-label {
|
|
196
|
-
flex: 1;
|
|
197
|
-
|
|
198
|
-
:not(.form-switch, .radio-button-card, .checkbox-button-card) > & {
|
|
199
|
-
padding-inline-start: form-check.$form-check-column-gap;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.form-check-sm & {
|
|
203
|
-
font-size: type.$font-size-12;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.form-switch {
|
|
209
|
-
.form-check-input {
|
|
210
|
-
height: form-check.$form-switch-height;
|
|
211
|
-
width: form-check.$form-switch-width;
|
|
212
|
-
border: 0;
|
|
213
|
-
border-radius: form-check.$form-switch-width;
|
|
214
|
-
background-image: form-check.$form-switch-background-image;
|
|
215
|
-
background-size: 2 * form-check.$form-switch-width;
|
|
216
|
-
background-position-x: 0;
|
|
217
|
-
transition:
|
|
218
|
-
background-color animation.$transition-base-timing,
|
|
219
|
-
background-position animation.$transition-base-timing;
|
|
220
|
-
|
|
221
|
-
&::after {
|
|
222
|
-
max-width: form-check.$form-switch-height;
|
|
223
|
-
background-color: form-check.$form-switch-color;
|
|
224
|
-
border: form-check.$form-check-input-border-width solid form-check.$form-switch-border-color;
|
|
225
|
-
border-radius: 50%;
|
|
226
|
-
transition: transform animation.$transition-base-timing;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
&:checked {
|
|
230
|
-
background-position-x: form-check.$form-switch-width;
|
|
231
|
-
|
|
232
|
-
&::after {
|
|
233
|
-
@include icons-mx.remove-icon;
|
|
234
|
-
background-color: form-check.$form-switch-color;
|
|
235
|
-
border-color: form-check.$form-switch-checked-border-color;
|
|
236
|
-
transform: translateX(2rem);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
@include utility-mx.high-contrast-mode {
|
|
241
|
-
transition: none;
|
|
242
|
-
border: form-check.$form-check-input-border-width solid CanvasText;
|
|
243
|
-
|
|
244
|
-
&:checked {
|
|
245
|
-
background-color: SelectedItem !important;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
&::after,
|
|
249
|
-
&:checked::after {
|
|
250
|
-
max-width: calc(
|
|
251
|
-
form-check.$form-switch-height - (form-check.$form-check-input-border-width * 2)
|
|
252
|
-
);
|
|
253
|
-
border-color: Canvas;
|
|
254
|
-
background-color: CanvasText;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
&[disabled] {
|
|
259
|
-
background: form-check.$form-switch-disabled-bg;
|
|
260
|
-
|
|
261
|
-
&::after {
|
|
262
|
-
border-color: form-check.$form-switch-disabled-border-color;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
@include utility-mx.high-contrast-mode {
|
|
266
|
-
&::after {
|
|
267
|
-
border-color: Field;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
&:checked {
|
|
271
|
-
background-color: GrayText !important;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
&:hover > .form-check-input:not([disabled]) {
|
|
278
|
-
background-color: rgba(var(--post-contrast-color-rgb), 0.1);
|
|
279
|
-
|
|
280
|
-
@include utility-mx.high-contrast-mode {
|
|
281
|
-
border-color: Highlight;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.form-check-label {
|
|
286
|
-
padding-top: form-check.$form-switch-label-padding-top;
|
|
287
|
-
|
|
288
|
-
&.order-first {
|
|
289
|
-
flex: 0 auto;
|
|
290
|
-
padding-inline-end: form-check.$form-switch-column-gap;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
&:not(.order-first) {
|
|
294
|
-
padding-inline-start: form-check.$form-switch-column-gap;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@media(min-width: 1440px){.topic-teaser[class*=bg-]{background-color:rgba(0,0,0,0) !important}}@media(min-width: 1440px){.topic-teaser .topic-teaser-container{padding-left:60px;padding-right:60px}}@media(min-width: 1024px)and (max-width: 1279.98px){.topic-teaser:not(.topic-teaser-reverse) .container{padding-right:0}}@media(min-width: 1280px)and (max-width: 1439.98px){.topic-teaser:not(.topic-teaser-reverse) .container{padding-right:0}}@media(min-width: 1440px){.topic-teaser:not(.topic-teaser-reverse) .container{padding-right:0}}@media(min-width: 1440px){.topic-teaser:not(.topic-teaser-reverse) .topic-teaser-container{padding-right:0;margin-right:-1px;clip-path:inset(0 1px -3.5rem 0)}}.topic-teaser:not(.topic-teaser-reverse) .topic-teaser-container>.row{justify-content:flex-end}@media(max-width: 399.98px){.topic-teaser:not(.topic-teaser-reverse) .topic-teaser-image-container{margin-right:-12px}}@media(min-width: 400px)and (max-width: 599.98px){.topic-teaser:not(.topic-teaser-reverse) .topic-teaser-image-container{margin-right:-16px}}@media(min-width: 600px)and (max-width: 779.98px){.topic-teaser:not(.topic-teaser-reverse) .topic-teaser-image-container{margin-right:-16px}}@media(min-width: 780px)and (max-width: 1023.98px){.topic-teaser:not(.topic-teaser-reverse) .topic-teaser-image-container{margin-right:-32px}}@media(min-width: 1024px)and (max-width: 1279.98px){.topic-teaser-reverse .container{padding-left:0}}@media(min-width: 1280px)and (max-width: 1439.98px){.topic-teaser-reverse .container{padding-left:0}}@media(min-width: 1440px){.topic-teaser-reverse .container{padding-left:0}}@media(min-width: 1440px){.topic-teaser-reverse .topic-teaser-container{padding-left:0}}@media(max-width: 1023.98px){.topic-teaser-reverse .topic-teaser-container>.row{flex-direction:column-reverse}}@media(max-width: 399.98px){.topic-teaser-reverse .topic-teaser-image-container{margin-left:-12px}}@media(min-width: 400px)and (max-width: 599.98px){.topic-teaser-reverse .topic-teaser-image-container{margin-left:-16px}}@media(min-width: 600px)and (max-width: 779.98px){.topic-teaser-reverse .topic-teaser-image-container{margin-left:-16px}}@media(min-width: 780px)and (max-width: 1023.98px){.topic-teaser-reverse .topic-teaser-image-container{margin-left:-32px}}.topic-teaser-image-container{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y);margin-bottom:-2rem;flex:0 0 auto;width:83.33333333%}@media(min-width: 780px){.topic-teaser-image-container{margin-bottom:-2.5rem}}@media(min-width: 1280px){.topic-teaser-image-container{margin-bottom:-3.5rem}}@media(min-width: 600px){.topic-teaser-image-container{flex:0 0 auto;width:66.66666667%}}@media(min-width: 1024px){.topic-teaser-image-container{flex:0 0 auto;width:33.33333333%}}@media(min-width: 1280px){.topic-teaser-image-container{flex:0 0 auto;width:41.66666667%}}.topic-teaser-image{object-fit:cover;aspect-ratio:1/.7}@media(min-width: 400px){.topic-teaser-image{aspect-ratio:1/.7}}@media(min-width: 600px){.topic-teaser-image{aspect-ratio:1/.7}}@media(min-width: 780px){.topic-teaser-image{aspect-ratio:1/.7}}@media(min-width: 1024px){.topic-teaser-image{aspect-ratio:.66/1}}@media(min-width: 1280px){.topic-teaser-image{aspect-ratio:.9/1}}@media(min-width: 1440px){.topic-teaser-image{aspect-ratio:.9/1}}.topic-teaser-content{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y);display:flex;flex-direction:column;flex:0 0 auto;width:100%}@media(min-width: 1024px){.topic-teaser-content{flex:0 0 auto;width:66.66666667%}}@media(min-width: 1280px){.topic-teaser-content{flex:0 0 auto;width:58.33333333%}}@media(min-width: 600px){.topic-teaser-content{gap:32px}}@media(min-width: 1280px){.topic-teaser-content{gap:40px}}@media(min-width: 600px){.topic-teaser-content{flex-direction:row}}.topic-teaser-content>.link-list{width:50%}@media(max-width: 599.98px){.topic-teaser-content>.link-list{width:100%}}.topic-teaser-title{width:50%}@media(max-width: 599.98px){.topic-teaser-title{width:auto}}.topic-teaser-title>span{display:block}.link-list{padding:0;list-style-type:none;font-size:.9375rem}@media(min-width: 1024px){.link-list{font-size:1.25rem}}.link-list-item>a{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;transition:opacity 200ms;border:0;border-top:1px solid rgba(var(--post-contrast-color-rgb), 0.2);text-decoration:none}.link-list-item>a::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.533 3.467 9.466 4.4l11.6 11.6-11.6 11.6 1.067.933L22.933 16z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.533 3.467 9.466 4.4l11.6 11.6-11.6 11.6 1.067.933L22.933 16z'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:"";display:inline-block;height:1rem;width:1rem;flex:0 0 auto;transform:translateX(0.25rem);transition:transform 200ms}.link-list-item>a[href]:hover::after{transform:translateX(0.5rem)}@media(min-width: 1024px){.link-list-item>a{padding-top:1.25rem;padding-bottom:1.25rem}}.topic-teaser.bg-light .link-list-item>a{border-top-color:#e6e6e6}
|