@bonniernews/dn-design-system-web 25.0.5 → 25.0.6-beta.1
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/assets/form-field/form-field.scss +6 -6
- package/assets/teaser/teaser.scss +5 -5
- package/components/article-top-image/article-top-image.scss +1 -1
- package/components/badge/badge.scss +5 -5
- package/components/blocked-content/blocked-content.scss +9 -9
- package/components/buddy-menu/buddy-menu.scss +15 -15
- package/components/button/button.scss +49 -33
- package/components/checkbox/checkbox.scss +9 -9
- package/components/disclaimer/disclaimer.scss +10 -10
- package/components/divider/divider.scss +3 -3
- package/components/empty-state/empty-state.scss +3 -3
- package/components/factbox/factbox.scss +13 -13
- package/components/footer/footer.scss +16 -16
- package/components/game-header/game-header.scss +6 -6
- package/components/group-header/group-header.scss +6 -6
- package/components/icon-with-wrapper/icon-with-wrapper.njk +1 -1
- package/components/image-caption/image-caption.scss +3 -3
- package/components/link-box/link-box-item.scss +4 -4
- package/components/link-box/link-box.scss +1 -1
- package/components/list-item/list-item.scss +24 -24
- package/components/modal/modal.scss +4 -4
- package/components/pagination/pagination.scss +4 -4
- package/components/pictogram/pictogram.scss +3 -3
- package/components/profile-header/profile-header.scss +7 -7
- package/components/quote/quote.scss +2 -2
- package/components/radio-button/radio-button.scss +9 -9
- package/components/spinner/spinner.scss +14 -14
- package/components/switch/switch.scss +13 -13
- package/components/tag-header/tag-header.scss +8 -8
- package/components/teaser-centered/teaser-centered.scss +1 -1
- package/components/teaser-footer/teaser-footer.scss +5 -5
- package/components/teaser-image/teaser-image.scss +4 -4
- package/components/teaser-large/teaser-large.scss +7 -6
- package/components/teaser-list-vertical/teaser-list-vertical.scss +8 -8
- package/components/teaser-longlife/teaser-longlife.scss +7 -7
- package/components/teaser-native/teaser-native.scss +19 -19
- package/components/teaser-onsite/teaser-onsite.scss +2 -2
- package/components/teaser-package/teaser-package.scss +2 -2
- package/components/teaser-right-now/teaser-right-now.scss +1 -1
- package/components/teaser-slideshow/teaser-slideshow.scss +3 -3
- package/components/teaser-split/teaser-split.scss +5 -5
- package/components/teaser-standard/teaser-standard.scss +5 -5
- package/components/teaser-swipe-card/teaser-swipe-card.scss +10 -10
- package/components/teaser-tipsa/teaser-tipsa.scss +2 -2
- package/components/text-button/text-button.scss +7 -7
- package/components/text-button-toggle/text-button-toggle.scss +7 -7
- package/components/text-input/text-input.scss +22 -23
- package/components/tooltip/tooltip.scss +5 -5
- package/components/video-caption/video-caption.scss +4 -4
- package/components/vip-badge/vip-badge.scss +10 -10
- package/foundations/colors.scss +6 -18
- package/foundations/cssVariables.scss +1 -0
- package/foundations/gradients.scss +25 -0
- package/foundations/helpers/colors.scss +10 -18
- package/foundations/helpers/forward.helpers.scss +1 -0
- package/foundations/helpers/gradients.scss +33 -0
- package/foundations/helpers/hover.scss +2 -2
- package/foundations/helpers/links.scss +4 -3
- package/foundations/helpers/metrics.scss +4 -6
- package/foundations/helpers/shadows.scss +5 -5
- package/foundations/helpers/typography.scss +11 -12
- package/foundations/shadows.scss +4 -4
- package/foundations/variables/border-width.scss +5 -0
- package/foundations/variables/colorsCssVariables.scss +84 -82
- package/foundations/variables/colorsDnDark.scss +89 -0
- package/foundations/variables/colorsDnLight.scss +89 -0
- package/foundations/variables/gradientsDnDark.scss +46 -0
- package/foundations/variables/gradientsDnLight.scss +46 -0
- package/foundations/variables/gradientsList.scss +4 -0
- package/foundations/variables/radius.scss +6 -0
- package/foundations/variables/shadowsDnDark.scss +30 -0
- package/foundations/variables/shadowsDnLight.scss +30 -0
- package/foundations/variables/shadowsList.scss +4 -0
- package/foundations/variables/spacingBase.scss +1 -0
- package/foundations/variables/spacingBaseList.scss +1 -0
- package/foundations/variables/spacingDetail.scss +3 -16
- package/foundations/variables/spacingDetailList.scss +3 -16
- package/foundations/variables/spacingDetailScreenLarge.scss +3 -16
- package/foundations/variables/typographyLetterSpacing.scss +1 -1
- package/foundations/variables/typographyLineHeight.scss +3 -3
- package/foundations/variables/typographyList.scss +54 -0
- package/foundations/variables/{typographyTokensScreenExtraLarge.scss → typographyScreenExtraLarge.scss} +267 -302
- package/foundations/variables/typographyScreenLarge.scss +387 -0
- package/foundations/variables/{typographyTokensScreenSmall.scss → typographyScreenSmall.scss} +271 -306
- package/package.json +2 -2
- package/preact/components/icon-with-wrapper/icon-with-wrapper.js +86 -84
- package/preact/components/icon-with-wrapper/icon-with-wrapper.js.map +3 -3
- package/types-lib/ds-color.d.ts +97 -93
- package/variables/colors-dark-mode.json +109 -0
- package/variables/colors-light-mode.json +109 -0
- package/variables/gradients-dark-mode.json +58 -0
- package/variables/gradients-light-mode.json +58 -0
- package/variables/typography-list.json +56 -0
- package/foundations/variables/colorsDnDarkTokens.scss +0 -88
- package/foundations/variables/colorsDnLightTokens.scss +0 -87
- package/foundations/variables/decorations.scss +0 -1
- package/foundations/variables/metrics.scss +0 -12
- package/foundations/variables/shadowsDnDarkTokens.scss +0 -34
- package/foundations/variables/shadowsDnLightTokens.scss +0 -34
- package/foundations/variables/shadowsTokensList.scss +0 -4
- package/foundations/variables/typographyTokensList.scss +0 -59
- package/foundations/variables/typographyTokensScreenLarge.scss +0 -422
- package/tokens/colors-dark-mode.json +0 -106
- package/tokens/colors-light-mode.json +0 -105
- package/tokens/typography-list.json +0 -61
- package/variables/shadows-css-variables.json +0 -6
- /package/{tokens → variables}/icon-list.json +0 -0
|
@@ -21,7 +21,7 @@ $ds-radio-btn__icon-size: 24px;
|
|
|
21
21
|
&::before {
|
|
22
22
|
content: "";
|
|
23
23
|
position: absolute;
|
|
24
|
-
border-radius: ds-border-radius(
|
|
24
|
+
border-radius: ds-border-radius(012);
|
|
25
25
|
top: 0;
|
|
26
26
|
left: 0;
|
|
27
27
|
right: 0;
|
|
@@ -38,10 +38,10 @@ $ds-radio-btn__icon-size: 24px;
|
|
|
38
38
|
|
|
39
39
|
.ds-radio-btn__text {
|
|
40
40
|
margin: ds-spacing(0 0 0 $ds-s-050, rem);
|
|
41
|
-
@include ds-typography($ds-typography-
|
|
41
|
+
@include ds-typography($ds-typography-functional-body-md);
|
|
42
42
|
@at-root .ds-force-px#{&} {
|
|
43
43
|
margin: ds-spacing(0 0 0 $ds-s-050);
|
|
44
|
-
@include ds-typography($ds-typography-
|
|
44
|
+
@include ds-typography($ds-typography-functional-body-md, true);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -51,7 +51,7 @@ $ds-radio-btn__icon-size: 24px;
|
|
|
51
51
|
position: relative;
|
|
52
52
|
height: ds-px-to-rem($ds-radio-btn__icon-size);
|
|
53
53
|
width: ds-px-to-rem($ds-radio-btn__icon-size);
|
|
54
|
-
color: $ds-color-
|
|
54
|
+
color: $ds-color-text-primary;
|
|
55
55
|
@at-root .ds-force-px#{&} {
|
|
56
56
|
height: $ds-radio-btn__icon-size;
|
|
57
57
|
width: $ds-radio-btn__icon-size;
|
|
@@ -86,8 +86,8 @@ $ds-radio-btn__icon-size: 24px;
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
&:focus-visible + .ds-radio-btn__inner {
|
|
89
|
-
border-radius: ds-border-radius(
|
|
90
|
-
outline: ds-border-width(
|
|
89
|
+
border-radius: ds-border-radius(012);
|
|
90
|
+
outline: ds-border-width(xs) solid $ds-color-border-primary;
|
|
91
91
|
outline-offset: 2px;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -95,7 +95,7 @@ $ds-radio-btn__icon-size: 24px;
|
|
|
95
95
|
&.ds-form-field__error,
|
|
96
96
|
.invalid {
|
|
97
97
|
.ds-radio-btn__inner .ds-radio-btn__icon {
|
|
98
|
-
color: $ds-color-
|
|
98
|
+
color: $ds-color-text-critical;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ds-form-field__error-message {
|
|
@@ -115,10 +115,10 @@ $ds-radio-btn__icon-size: 24px;
|
|
|
115
115
|
.ds-radio-btn input:disabled + .ds-radio-btn__inner {
|
|
116
116
|
cursor: not-allowed;
|
|
117
117
|
.ds-radio-btn__icon {
|
|
118
|
-
color: $ds-color-
|
|
118
|
+
color: $ds-color-text-primary-disabled;
|
|
119
119
|
}
|
|
120
120
|
.ds-radio-btn__text {
|
|
121
|
-
color: $ds-color-text-disabled;
|
|
121
|
+
color: $ds-color-text-primary-disabled;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&:hover {
|
|
@@ -30,51 +30,51 @@ $ds-spinner__shadow-border-opacity: 0.2;
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&--brand .ds-spinner__inner {
|
|
33
|
-
border-top-color: $ds-color-
|
|
33
|
+
border-top-color: $ds-color-text-brand;
|
|
34
34
|
&::before {
|
|
35
|
-
border-color: $ds-color-
|
|
35
|
+
border-color: $ds-color-text-brand;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&--primary .ds-spinner__inner {
|
|
40
|
-
border-top-color: $ds-color-
|
|
40
|
+
border-top-color: $ds-color-text-primary;
|
|
41
41
|
&::before {
|
|
42
|
-
border-color: $ds-color-
|
|
42
|
+
border-color: $ds-color-text-primary;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&--secondary .ds-spinner__inner {
|
|
47
|
-
border-top-color: $ds-color-
|
|
47
|
+
border-top-color: $ds-color-text-primaryinvert;
|
|
48
48
|
&::before {
|
|
49
|
-
border-color: $ds-color-
|
|
49
|
+
border-color: $ds-color-text-primaryinvert;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&--onBrand .ds-spinner__inner {
|
|
54
|
-
border-top-color: $ds-color-
|
|
54
|
+
border-top-color: $ds-color-text-on-brand;
|
|
55
55
|
&::before {
|
|
56
|
-
border-color: $ds-color-
|
|
56
|
+
border-color: $ds-color-text-on-brand;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&--onBusiness .ds-spinner__inner {
|
|
61
|
-
border-top-color: $ds-color-
|
|
61
|
+
border-top-color: $ds-color-neutral-white;
|
|
62
62
|
&::before {
|
|
63
|
-
border-color: $ds-color-
|
|
63
|
+
border-color: $ds-color-neutral-white;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&--staticBlack .ds-spinner__inner {
|
|
68
|
-
border-top-color: $ds-color-
|
|
68
|
+
border-top-color: $ds-color-neutral-black;
|
|
69
69
|
&::before {
|
|
70
|
-
border-color: $ds-color-
|
|
70
|
+
border-color: $ds-color-neutral-black;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&--staticWhite .ds-spinner__inner {
|
|
75
|
-
border-top-color: $ds-color-
|
|
75
|
+
border-top-color: $ds-color-neutral-white;
|
|
76
76
|
&::before {
|
|
77
|
-
border-color: $ds-color-
|
|
77
|
+
border-color: $ds-color-neutral-white;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -19,10 +19,10 @@ $ds-switch__container-width: 44px;
|
|
|
19
19
|
|
|
20
20
|
.ds-switch__meta {
|
|
21
21
|
margin: ds-spacing(0 $ds-s-050 0 0);
|
|
22
|
-
color: $ds-color-text-primary-
|
|
23
|
-
@include ds-typography($ds-typography-
|
|
22
|
+
color: $ds-color-text-primary-subtle;
|
|
23
|
+
@include ds-typography($ds-typography-functional-body-sm);
|
|
24
24
|
@at-root .ds-force-px#{&} {
|
|
25
|
-
@include ds-typography($ds-typography-
|
|
25
|
+
@include ds-typography($ds-typography-functional-body-sm, true);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.ds-switch__meta-on {
|
|
@@ -36,7 +36,7 @@ $ds-switch__container-width: 44px;
|
|
|
36
36
|
position: relative;
|
|
37
37
|
height: ds-px-to-rem($ds-switch__container-height);
|
|
38
38
|
width: ds-px-to-rem($ds-switch__container-width);
|
|
39
|
-
background-color: $ds-color-
|
|
39
|
+
background-color: $ds-color-surface-primary-raised-strong;
|
|
40
40
|
border-radius: 100px;
|
|
41
41
|
transition:
|
|
42
42
|
background-color 500ms ease,
|
|
@@ -58,7 +58,7 @@ $ds-switch__container-width: 44px;
|
|
|
58
58
|
@include min-click-surface();
|
|
59
59
|
}
|
|
60
60
|
.ds-switch__knob {
|
|
61
|
-
background-color: $ds-color-
|
|
61
|
+
background-color: $ds-color-neutral-white;
|
|
62
62
|
position: absolute;
|
|
63
63
|
border-radius: 50%;
|
|
64
64
|
top: ds-px-to-rem($ds-switch__knob-padding);
|
|
@@ -96,17 +96,17 @@ $ds-switch__container-width: 44px;
|
|
|
96
96
|
|
|
97
97
|
&:checked:not(:disabled) {
|
|
98
98
|
& + .ds-switch__inner .ds-switch__box {
|
|
99
|
-
background-color: $ds-color-
|
|
99
|
+
background-color: $ds-color-surface-brand;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
&:focus-visible + .ds-switch__inner .ds-switch__box {
|
|
104
|
-
outline: ds-border-width(
|
|
104
|
+
outline: ds-border-width(xs) solid $ds-color-border-primary;
|
|
105
105
|
outline-offset: 2px;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
&:checked:focus-visible + .ds-switch__inner .ds-switch__box {
|
|
109
|
-
outline-color: $ds-color-border-
|
|
109
|
+
outline-color: $ds-color-border-brand;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -114,23 +114,23 @@ $ds-switch__container-width: 44px;
|
|
|
114
114
|
@include ds-hover() {
|
|
115
115
|
.ds-switch input:not(:disabled) + .ds-switch__inner:hover .ds-switch__box::before,
|
|
116
116
|
.ds-list-item--switch:hover input:not(:disabled) + .ds-switch__inner .ds-switch__box::before {
|
|
117
|
-
background-color: $ds-color-
|
|
117
|
+
background-color: $ds-color-surface-primary-raised-strong;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
.ds-switch input:not(:disabled) + .ds-switch__inner:active .ds-switch__box::before,
|
|
121
121
|
.ds-list-item--switch:active input:not(:disabled) + .ds-switch__inner .ds-switch__box::before {
|
|
122
|
-
background-color: $ds-color-
|
|
122
|
+
background-color: $ds-color-surface-primary-raised-strong;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.ds-switch input:disabled + .ds-switch__inner {
|
|
126
126
|
cursor: not-allowed;
|
|
127
127
|
.ds-switch__meta {
|
|
128
|
-
color: $ds-color-text-disabled;
|
|
128
|
+
color: $ds-color-text-primary-disabled;
|
|
129
129
|
}
|
|
130
130
|
.ds-switch__box {
|
|
131
|
-
background-color: $ds-color-
|
|
131
|
+
background-color: $ds-color-surface-primary-raised-soft;
|
|
132
132
|
}
|
|
133
133
|
.ds-switch__knob {
|
|
134
|
-
background-color: $ds-color-
|
|
134
|
+
background-color: $ds-color-surface-primary-raised-strong;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
.ds-tag-header {
|
|
6
6
|
width: 100%;
|
|
7
|
-
background-color: $ds-color-surface-
|
|
7
|
+
background-color: $ds-color-surface-primary;
|
|
8
8
|
padding-bottom: ds-spacing($ds-s-100);
|
|
9
9
|
display: flex;
|
|
10
10
|
|
|
11
11
|
&.ds-tag-header--has-border {
|
|
12
12
|
.ds-tag-header__bar {
|
|
13
|
-
border-bottom: ds-border-width(
|
|
13
|
+
border-bottom: ds-border-width(xxs) solid $ds-color-border-primary;
|
|
14
14
|
padding-bottom: ds-spacing($ds-s-100);
|
|
15
15
|
|
|
16
16
|
+ .ds-tag-header__article-count {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
margin-bottom: ds-spacing($ds-s-025);
|
|
54
54
|
display: block;
|
|
55
55
|
text-decoration: none;
|
|
56
|
-
@include ds-typography($ds-typography-
|
|
56
|
+
@include ds-typography($ds-typography-functional-label-sm) {
|
|
57
57
|
color: $ds-theme-color;
|
|
58
58
|
}
|
|
59
59
|
&:hover {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
.ds-tag-header__title {
|
|
65
65
|
word-break: break-word;
|
|
66
66
|
margin: 0;
|
|
67
|
-
@include ds-typography($ds-typography-
|
|
67
|
+
@include ds-typography($ds-typography-functional-heading-sm, $fontWeight: $ds-fontweight-bold) {
|
|
68
68
|
color: $ds-color-text-primary;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -86,15 +86,15 @@
|
|
|
86
86
|
.ds-tag-header__article-count {
|
|
87
87
|
margin: ds-spacing(0 $ds-s-100 0);
|
|
88
88
|
padding-top: ds-spacing($ds-s-050);
|
|
89
|
-
@include ds-typography($ds-typography-
|
|
90
|
-
color: $ds-color-text-primary-
|
|
89
|
+
@include ds-typography($ds-typography-functional-body-md) {
|
|
90
|
+
color: $ds-color-text-primary-subtle;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.ds-tag-header__description {
|
|
95
95
|
margin: ds-spacing(0 $ds-s-100 0);
|
|
96
96
|
padding-top: ds-spacing($ds-s-100);
|
|
97
|
-
@include ds-typography($ds-typography-
|
|
97
|
+
@include ds-typography($ds-typography-functional-body-md) {
|
|
98
98
|
color: $ds-color-text-primary;
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
|
|
105
105
|
b,
|
|
106
106
|
strong {
|
|
107
|
-
@include ds-typography($ds-typography-
|
|
107
|
+
@include ds-typography($ds-typography-functional-body-md, $fontWeight: $ds-fontweight-semibold);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
p {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
.ds-teaser-footer__notes {
|
|
12
12
|
display: block;
|
|
13
|
-
@include ds-typography($ds-typography-
|
|
14
|
-
color: $ds-color-text-primary-
|
|
13
|
+
@include ds-typography($ds-typography-functional-meta-md) {
|
|
14
|
+
color: $ds-color-text-primary-subtle;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
margin-top: ds-spacing($ds-s-050);
|
|
23
23
|
|
|
24
24
|
.ds-teaser-footer__title {
|
|
25
|
-
@include ds-typography($ds-typography-
|
|
25
|
+
@include ds-typography($ds-typography-functional-body-sm, $fontWeight: $ds-fontweight-semibold) {
|
|
26
26
|
color: $ds-color-text-primary;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
height: ds-px-to-rem(24px);
|
|
36
36
|
width: ds-px-to-rem(24px);
|
|
37
37
|
margin-right: ds-spacing($ds-s-075);
|
|
38
|
-
background-color: $ds-color-
|
|
38
|
+
background-color: $ds-color-surface-primaryinvert;
|
|
39
39
|
border-radius: 50%;
|
|
40
40
|
|
|
41
41
|
> svg {
|
|
42
|
-
fill: $ds-color-
|
|
42
|
+
fill: $ds-color-text-primaryinvert;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
right: 0;
|
|
13
13
|
padding: ds-spacing(0 $ds-s-025);
|
|
14
14
|
margin-left: ds-spacing($ds-s-050);
|
|
15
|
-
background-color: $ds-color-
|
|
15
|
+
background-color: $ds-color-bright-neutral-alpha-500;
|
|
16
16
|
z-index: 5;
|
|
17
|
-
@include ds-typography($ds-typography-
|
|
18
|
-
color: $ds-color-
|
|
17
|
+
@include ds-typography($ds-typography-functional-meta-sm, $lineHeight: $ds-lineheight-lg) {
|
|
18
|
+
color: $ds-color-neutral-white;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&--mask {
|
|
23
23
|
.ds-teaser-image__byline {
|
|
24
24
|
background-color: transparent;
|
|
25
|
-
color: $ds-color-text-primary-
|
|
25
|
+
color: $ds-color-text-primary-subtle;
|
|
26
26
|
position: relative;
|
|
27
27
|
width: 100%;
|
|
28
28
|
text-align: right;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.ds-teaser__title {
|
|
40
|
-
@include ds-typography($ds-typography-
|
|
40
|
+
@include ds-typography($ds-typography-detail-teaser-large);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
@include ds-hover(true) {
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
|
|
49
49
|
&.ds-teaser--large-big-italic {
|
|
50
50
|
.ds-teaser__title {
|
|
51
|
-
@include ds-typography($ds-typography-
|
|
51
|
+
@include ds-typography($ds-typography-detail-teaser-storrubrik-opinion);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&.ds-teaser--large-italic {
|
|
56
56
|
.ds-teaser__title {
|
|
57
|
-
@include ds-typography($ds-typography-
|
|
57
|
+
@include ds-typography($ds-typography-detail-teaser-large-opinion);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@include ds-hover(true) {
|
|
@@ -105,14 +105,15 @@
|
|
|
105
105
|
@include ds-mq-smallest-breakpoint(tablet) {
|
|
106
106
|
&.ds-teaser--right {
|
|
107
107
|
.ds-teaser__title {
|
|
108
|
-
@include ds-typography($ds-typography-
|
|
108
|
+
@include ds-typography($ds-typography-detail-teaser-large-rightcol, $lineHeight: 1.2);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&.ds-teaser--large-italic .ds-teaser__title {
|
|
112
112
|
@include ds-typography(
|
|
113
|
-
$ds-typography-
|
|
113
|
+
$ds-typography-detail-teaser-large-rightcol,
|
|
114
114
|
$fontWeight: $ds-fontweight-regular,
|
|
115
|
-
$fontStyle: italic
|
|
115
|
+
$fontStyle: italic,
|
|
116
|
+
$lineHeight: 1.2
|
|
116
117
|
);
|
|
117
118
|
|
|
118
119
|
@include ds-hover(true) {
|
|
@@ -8,7 +8,7 @@ $ds-dot-size: ds-px-to-rem(10px);
|
|
|
8
8
|
$ds-teaser-list-vertical-media-icon-size: 20px;
|
|
9
9
|
|
|
10
10
|
.ds-teaser-list-vertical {
|
|
11
|
-
background-color: $ds-color-surface-
|
|
11
|
+
background-color: $ds-color-surface-primary;
|
|
12
12
|
|
|
13
13
|
&.ds-teaser-list-vertical--flexible {
|
|
14
14
|
display: flex;
|
|
@@ -35,7 +35,7 @@ $ds-teaser-list-vertical-media-icon-size: 20px;
|
|
|
35
35
|
top: 0;
|
|
36
36
|
left: 0;
|
|
37
37
|
right: 0;
|
|
38
|
-
height: ds-border-width(
|
|
38
|
+
height: ds-border-width(xxs);
|
|
39
39
|
background-color: $ds-color-border-primary;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -51,7 +51,7 @@ $ds-teaser-list-vertical-media-icon-size: 20px;
|
|
|
51
51
|
content: "";
|
|
52
52
|
position: absolute;
|
|
53
53
|
bottom: 0;
|
|
54
|
-
height: ds-border-width(
|
|
54
|
+
height: ds-border-width(xxs);
|
|
55
55
|
width: calc(100% - ds-spacing($ds-s-200));
|
|
56
56
|
background-color: $ds-color-border-primary;
|
|
57
57
|
}
|
|
@@ -64,14 +64,14 @@ $ds-teaser-list-vertical-media-icon-size: 20px;
|
|
|
64
64
|
.ds-teaser-list-vertical__item-vignette {
|
|
65
65
|
display: block;
|
|
66
66
|
margin-bottom: ds-spacing($ds-s-025);
|
|
67
|
-
@include ds-typography($ds-typography-
|
|
67
|
+
@include ds-typography($ds-typography-functional-label-sm) {
|
|
68
68
|
color: $ds-theme-color;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.ds-teaser-list-vertical__item-title {
|
|
73
73
|
word-break: break-word;
|
|
74
|
-
@include ds-typography($ds-typography-
|
|
74
|
+
@include ds-typography($ds-typography-expressive-heading-xxs) {
|
|
75
75
|
color: $ds-color-text-primary;
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -82,7 +82,7 @@ $ds-teaser-list-vertical-media-icon-size: 20px;
|
|
|
82
82
|
|
|
83
83
|
&.ds-teaser-list-vertical__item--italic .ds-teaser-list-vertical__item-title {
|
|
84
84
|
@include ds-typography(
|
|
85
|
-
$ds-typography-
|
|
85
|
+
$ds-typography-expressive-heading-xxs,
|
|
86
86
|
$fontWeight: $ds-fontweight-medium,
|
|
87
87
|
$fontStyle: italic
|
|
88
88
|
);
|
|
@@ -101,8 +101,8 @@ $ds-teaser-list-vertical-media-icon-size: 20px;
|
|
|
101
101
|
.ds-teaser-list-vertical__item-video-icon {
|
|
102
102
|
width: $ds-teaser-list-vertical-media-icon-size;
|
|
103
103
|
height: $ds-teaser-list-vertical-media-icon-size;
|
|
104
|
-
background: $ds-color-
|
|
105
|
-
color: $ds-color-
|
|
104
|
+
background: $ds-color-surface-brand;
|
|
105
|
+
color: $ds-color-neutral-white;
|
|
106
106
|
position: absolute;
|
|
107
107
|
z-index: 1;
|
|
108
108
|
bottom: 0;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
outline: none;
|
|
9
9
|
|
|
10
10
|
.ds-teaser__content {
|
|
11
|
-
@include ds-focus($offset: -8px, $includeSelector: false, $color: $ds-color-
|
|
11
|
+
@include ds-focus($offset: -8px, $includeSelector: false, $color: $ds-color-neutral-white);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
left: 0;
|
|
25
25
|
bottom: 0;
|
|
26
26
|
right: 0;
|
|
27
|
-
background-color: $ds-color-
|
|
27
|
+
background-color: $ds-color-bright-neutral-alpha-500;
|
|
28
28
|
z-index: 1;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.ds-teaser__content {
|
|
37
|
-
color: $ds-color-
|
|
37
|
+
color: $ds-color-neutral-white;
|
|
38
38
|
position: absolute;
|
|
39
39
|
bottom: 0;
|
|
40
40
|
left: 0;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&:not(:has(.ds-teaser-image)) {
|
|
46
|
-
background-color: $ds-color-
|
|
46
|
+
background-color: $ds-color-neutral-black;
|
|
47
47
|
|
|
48
48
|
.ds-teaser__content {
|
|
49
49
|
position: relative;
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
color: currentColor;
|
|
55
55
|
margin: 0;
|
|
56
56
|
@include ds-typography(
|
|
57
|
-
$ds-typography-
|
|
58
|
-
$lineHeight: $ds-lineheight-
|
|
57
|
+
$ds-typography-functional-label-sm,
|
|
58
|
+
$lineHeight: $ds-lineheight-lg,
|
|
59
59
|
$letterSpacing: $ds-letterspacing-none
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.ds-teaser__title {
|
|
64
64
|
color: currentColor;
|
|
65
|
-
@include ds-typography($ds-typography-
|
|
65
|
+
@include ds-typography($ds-typography-detail-teaser-longlife);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
.ds-teaser.ds-teaser--native {
|
|
5
5
|
overflow: hidden;
|
|
6
|
-
border-bottom: 4px solid $ds-color-
|
|
6
|
+
border-bottom: 4px solid $ds-color-surface-ad-yellow;
|
|
7
7
|
|
|
8
8
|
&:focus-visible {
|
|
9
9
|
outline: none;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.ds-teaser__title {
|
|
26
|
-
@include ds-typography($ds-typography-
|
|
26
|
+
@include ds-typography($ds-typography-expressive-heading-sm) {
|
|
27
27
|
font-family: $ds-font--arial !important; /* stylelint-disable-line declaration-no-important */
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
&.ds-teaser--native-large {
|
|
39
39
|
.ds-teaser__title {
|
|
40
40
|
@include ds-mq-only-breakpoint(mobile) {
|
|
41
|
-
@include ds-typography($ds-typography-
|
|
41
|
+
@include ds-typography($ds-typography-expressive-heading-xl);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
@include ds-mq-only-breakpoint(tablet) {
|
|
45
45
|
@include ds-typography-manual(
|
|
46
|
-
$ds-typography-
|
|
46
|
+
$ds-typography-expressive-heading-xl,
|
|
47
47
|
40,
|
|
48
|
-
$lineHeight: $ds-lineheight-
|
|
48
|
+
$lineHeight: $ds-lineheight-sm,
|
|
49
49
|
$weight: $ds-fontweight-bold,
|
|
50
50
|
$scaling: "large"
|
|
51
51
|
);
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
|
|
54
54
|
@include ds-mq-only-breakpoint(desktop) {
|
|
55
55
|
@include ds-typography-manual(
|
|
56
|
-
$ds-typography-
|
|
56
|
+
$ds-typography-expressive-heading-xl,
|
|
57
57
|
56,
|
|
58
|
-
$lineHeight: $ds-lineheight-
|
|
58
|
+
$lineHeight: $ds-lineheight-sm,
|
|
59
59
|
$weight: $ds-fontweight-bold,
|
|
60
60
|
$scaling: "extraLarge"
|
|
61
61
|
);
|
|
@@ -67,17 +67,17 @@
|
|
|
67
67
|
.ds-teaser__title {
|
|
68
68
|
@include ds-mq-only-breakpoint(mobile) {
|
|
69
69
|
@include ds-typography-manual(
|
|
70
|
-
$ds-typography-
|
|
70
|
+
$ds-typography-expressive-heading-sm,
|
|
71
71
|
17,
|
|
72
72
|
$weight: $ds-fontweight-bold,
|
|
73
|
-
$lineHeight: $ds-lineheight-
|
|
73
|
+
$lineHeight: $ds-lineheight-md,
|
|
74
74
|
$scaling: "large"
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
@include ds-mq-smallest-breakpoint(tablet) {
|
|
79
79
|
@include ds-typography-manual(
|
|
80
|
-
$ds-typography-
|
|
80
|
+
$ds-typography-expressive-heading-sm,
|
|
81
81
|
24,
|
|
82
82
|
$weight: $ds-fontweight-bold,
|
|
83
83
|
$lineHeight: 1.25,
|
|
@@ -91,29 +91,29 @@
|
|
|
91
91
|
.ds-teaser__title {
|
|
92
92
|
@include ds-mq-only-breakpoint(mobile) {
|
|
93
93
|
@include ds-typography-manual(
|
|
94
|
-
$ds-typography-
|
|
94
|
+
$ds-typography-expressive-heading-xl,
|
|
95
95
|
20,
|
|
96
96
|
$weight: $ds-fontweight-bold,
|
|
97
|
-
$lineHeight: $ds-lineheight-
|
|
97
|
+
$lineHeight: $ds-lineheight-md
|
|
98
98
|
);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@include ds-mq-only-breakpoint(tablet) {
|
|
102
102
|
@include ds-typography-manual(
|
|
103
|
-
$ds-typography-
|
|
103
|
+
$ds-typography-expressive-heading-xl,
|
|
104
104
|
26,
|
|
105
105
|
$weight: $ds-fontweight-bold,
|
|
106
|
-
$lineHeight: $ds-lineheight-
|
|
106
|
+
$lineHeight: $ds-lineheight-sm,
|
|
107
107
|
$scaling: "large"
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
@include ds-mq-only-breakpoint(desktop) {
|
|
112
112
|
@include ds-typography-manual(
|
|
113
|
-
$ds-typography-
|
|
113
|
+
$ds-typography-expressive-heading-xl,
|
|
114
114
|
36,
|
|
115
115
|
$weight: $ds-fontweight-bold,
|
|
116
|
-
$lineHeight: $ds-lineheight-
|
|
116
|
+
$lineHeight: $ds-lineheight-sm,
|
|
117
117
|
$scaling: "extraLarge"
|
|
118
118
|
);
|
|
119
119
|
}
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.ds-teaser__ad-bar {
|
|
148
|
-
background-color: $ds-color-
|
|
148
|
+
background-color: $ds-color-surface-ad-yellow;
|
|
149
149
|
display: flex;
|
|
150
150
|
height: ds-px-to-rem(40px);
|
|
151
151
|
font-family: $ds-font--sans;
|
|
@@ -156,8 +156,8 @@
|
|
|
156
156
|
display: flex;
|
|
157
157
|
align-items: center;
|
|
158
158
|
padding: ds-spacing(0 $ds-s-100);
|
|
159
|
-
background-color: $ds-color-
|
|
160
|
-
color: $ds-color-
|
|
159
|
+
background-color: $ds-color-neutral-black;
|
|
160
|
+
color: $ds-color-neutral-white;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
.ds-teaser__title {
|
|
9
9
|
color: $ds-theme-color;
|
|
10
|
-
@include ds-typography($ds-typography-
|
|
10
|
+
@include ds-typography($ds-typography-functional-label-sm);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@include ds-hover(true) {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
.ds-teaser__text {
|
|
24
24
|
margin-top: ds-spacing($ds-s-025);
|
|
25
|
-
@include ds-typography($ds-typography-
|
|
25
|
+
@include ds-typography($ds-typography-functional-heading-xxs, $lineHeight: $ds-lineheight-md);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.ds-teaser__media {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.ds-teaser-package {
|
|
6
6
|
position: relative;
|
|
7
|
-
background-color: $ds-color-
|
|
7
|
+
background-color: $ds-color-surface-primary;
|
|
8
8
|
|
|
9
9
|
& > .ds-teaser {
|
|
10
10
|
position: relative;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
> .ds-teaser::after,
|
|
14
14
|
> .ds-split-container::after {
|
|
15
15
|
content: "";
|
|
16
|
-
height: ds-border-width(
|
|
16
|
+
height: ds-border-width(xxs);
|
|
17
17
|
background-color: $ds-color-border-primary;
|
|
18
18
|
position: absolute;
|
|
19
19
|
display: block;
|