@ilo-org/styles 1.2.2 → 1.3.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/css/components/accordion.css +1 -1
- package/css/components/blockquote.css +0 -0
- package/css/components/breadcrumb.css +1 -1
- package/css/components/button.css +1 -1
- package/css/components/callout.css +1 -1
- package/css/components/card.css +1 -1
- package/css/components/cardgroup.css +1 -1
- package/css/components/checkbox.css +1 -1
- package/css/components/container.css +1 -1
- package/css/components/contextmenu.css +1 -1
- package/css/components/credit.css +1 -1
- package/css/components/datacard.css +1 -1
- package/css/components/datepicker.css +1 -1
- package/css/components/detailcard.css +1 -1
- package/css/components/dropdown.css +1 -1
- package/css/components/empty.css +1 -1
- package/css/components/factlistcard.css +1 -1
- package/css/components/featurecard.css +1 -1
- package/css/components/fieldset.css +1 -1
- package/css/components/file-upload.css +1 -1
- package/css/components/footer.css +1 -1
- package/css/components/form.css +1 -1
- package/css/components/formcontrol.css +1 -1
- package/css/components/hero.css +1 -1
- package/css/components/herocard.css +1 -1
- package/css/components/image.css +1 -1
- package/css/components/input.css +1 -1
- package/css/components/link.css +1 -1
- package/css/components/linklist.css +1 -1
- package/css/components/list.css +1 -1
- package/css/components/loading.css +1 -1
- package/css/components/logo.css +1 -1
- package/css/components/logogrid.css +1 -1
- package/css/components/modal.css +1 -1
- package/css/components/multilinkcard.css +1 -1
- package/css/components/navigation.css +1 -1
- package/css/components/notification.css +1 -1
- package/css/components/pagination.css +1 -1
- package/css/components/profile.css +1 -1
- package/css/components/promocard.css +1 -1
- package/css/components/radio.css +1 -1
- package/css/components/readmore.css +1 -1
- package/css/components/richtext.css +1 -1
- package/css/components/searchfield.css +1 -1
- package/css/components/socialmedia.css +1 -1
- package/css/components/statcard.css +1 -1
- package/css/components/table.css +1 -1
- package/css/components/tableofcontents.css +1 -1
- package/css/components/tabs.css +1 -1
- package/css/components/tag.css +1 -1
- package/css/components/textarea.css +1 -1
- package/css/components/textcard.css +1 -1
- package/css/components/textinput.css +1 -1
- package/css/components/toggle.css +1 -1
- package/css/components/tooltip.css +1 -1
- package/css/components/video.css +1 -1
- package/css/global.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +2 -2
- package/css/index.css.map +1 -1
- package/css/monorepo.css +2 -2
- package/css/monorepo.css.map +1 -1
- package/package.json +5 -5
- package/scss/_mixins.scss +7 -10
- package/scss/_normalize.scss +5 -0
- package/scss/_reset.scss +6 -0
- package/scss/_typography.scss +0 -29
- package/scss/_typographymonorepo.scss +0 -29
- package/scss/components/_accordion.scss +3 -3
- package/scss/components/_blockquote.scss +112 -0
- package/scss/components/_breadcrumb.scss +35 -17
- package/scss/components/_button.scss +4 -2
- package/scss/components/_callout.scss +7 -7
- package/scss/components/_checkbox.scss +2 -1
- package/scss/components/_contextmenu.scss +18 -24
- package/scss/components/_credit.scss +2 -5
- package/scss/components/_datepicker.scss +1 -0
- package/scss/components/_detailcard.scss +16 -8
- package/scss/components/_dropdown.scss +20 -10
- package/scss/components/_featurecard.scss +4 -4
- package/scss/components/_fieldset.scss +5 -1
- package/scss/components/_footer.scss +2 -68
- package/scss/components/_formcontrol.scss +3 -3
- package/scss/components/_image.scss +4 -4
- package/scss/components/_linklist.scss +10 -13
- package/scss/components/_navigation.scss +30 -26
- package/scss/components/_notification.scss +16 -8
- package/scss/components/_pagination.scss +12 -12
- package/scss/components/_profile.scss +11 -8
- package/scss/components/_readmore.scss +2 -2
- package/scss/components/_richtext.scss +126 -311
- package/scss/components/_socialmedia.scss +30 -25
- package/scss/components/_table.scss +4 -3
- package/scss/components/_tableofcontents.scss +3 -3
- package/scss/components/_tooltip.scss +10 -4
- package/scss/components/_video.scss +11 -11
- package/scss/theme/_foundation.scss +40 -7
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
transform: translate(-50%, -50%) rotate(180deg);
|
|
64
64
|
|
|
65
65
|
@include dataurlicon(
|
|
66
|
-
"
|
|
66
|
+
"arrowgotoright",
|
|
67
67
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
68
68
|
);
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
&:hover {
|
|
72
72
|
&::before {
|
|
73
73
|
@include dataurlicon(
|
|
74
|
-
"
|
|
74
|
+
"arrowgotoright",
|
|
75
75
|
map-get($color, "ux", "pagination", "hover", "icon")
|
|
76
76
|
);
|
|
77
77
|
}
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
|
|
92
92
|
&::before {
|
|
93
93
|
@include dataurlicon(
|
|
94
|
-
"
|
|
94
|
+
"arrowgotoright",
|
|
95
95
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
96
96
|
);
|
|
97
97
|
}
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
width: px-to-rem(10px);
|
|
106
106
|
|
|
107
107
|
@include dataurlicon(
|
|
108
|
-
"
|
|
108
|
+
"caret_right",
|
|
109
109
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
110
110
|
);
|
|
111
111
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
&:hover {
|
|
114
114
|
&::before {
|
|
115
115
|
@include dataurlicon(
|
|
116
|
-
"
|
|
116
|
+
"caret_right",
|
|
117
117
|
map-get($color, "ux", "pagination", "hover", "icon")
|
|
118
118
|
);
|
|
119
119
|
}
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
|
|
134
134
|
&::before {
|
|
135
135
|
@include dataurlicon(
|
|
136
|
-
"
|
|
136
|
+
"caret_right",
|
|
137
137
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
138
138
|
);
|
|
139
139
|
}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
width: px-to-rem(10px);
|
|
148
148
|
|
|
149
149
|
@include dataurlicon(
|
|
150
|
-
"
|
|
150
|
+
"caret_right",
|
|
151
151
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
152
152
|
);
|
|
153
153
|
}
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
&:hover {
|
|
156
156
|
&::before {
|
|
157
157
|
@include dataurlicon(
|
|
158
|
-
"
|
|
158
|
+
"caret_right",
|
|
159
159
|
map-get($color, "ux", "pagination", "hover", "icon")
|
|
160
160
|
);
|
|
161
161
|
}
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
|
|
176
176
|
&::before {
|
|
177
177
|
@include dataurlicon(
|
|
178
|
-
"
|
|
178
|
+
"caret_right",
|
|
179
179
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
180
180
|
);
|
|
181
181
|
}
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
&--last-page {
|
|
187
187
|
&::before {
|
|
188
188
|
@include dataurlicon(
|
|
189
|
-
"
|
|
189
|
+
"arrowgotoright",
|
|
190
190
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
191
191
|
);
|
|
192
192
|
}
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
&:hover {
|
|
195
195
|
&::before {
|
|
196
196
|
@include dataurlicon(
|
|
197
|
-
"
|
|
197
|
+
"arrowgotoright",
|
|
198
198
|
map-get($color, "ux", "pagination", "hover", "icon")
|
|
199
199
|
);
|
|
200
200
|
}
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
|
|
215
215
|
&::before {
|
|
216
216
|
@include dataurlicon(
|
|
217
|
-
"
|
|
217
|
+
"caret_right",
|
|
218
218
|
map-get($color, "ux", "pagination", "default", "icon")
|
|
219
219
|
);
|
|
220
220
|
}
|
|
@@ -86,10 +86,10 @@ $avatar-size-lg: $row-1-lg;
|
|
|
86
86
|
width: px-to-rem(24px);
|
|
87
87
|
margin-inline-start: spacing(2);
|
|
88
88
|
content: "";
|
|
89
|
-
@include dataurlicon("
|
|
89
|
+
@include dataurlicon("chevron_right", $color-link-text-default);
|
|
90
90
|
|
|
91
91
|
[dir="rtl"] & {
|
|
92
|
-
@include dataurlicon("
|
|
92
|
+
@include dataurlicon("chevron_left", $color-link-text-default);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -101,10 +101,10 @@ $avatar-size-lg: $row-1-lg;
|
|
|
101
101
|
outline: none;
|
|
102
102
|
|
|
103
103
|
&:after {
|
|
104
|
-
@include dataurlicon("
|
|
104
|
+
@include dataurlicon("chevron_right", $color-link-text-hover);
|
|
105
105
|
|
|
106
106
|
[dir="rtl"] & {
|
|
107
|
-
@include dataurlicon("
|
|
107
|
+
@include dataurlicon("chevron_left", $color-link-text-hover);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -118,10 +118,13 @@ $avatar-size-lg: $row-1-lg;
|
|
|
118
118
|
#{$c}--link {
|
|
119
119
|
&--label {
|
|
120
120
|
&:after {
|
|
121
|
-
@include dataurlicon("
|
|
121
|
+
@include dataurlicon("chevron_right", $color-base-neutrals-lighter);
|
|
122
122
|
|
|
123
123
|
[dir="rtl"] & {
|
|
124
|
-
@include dataurlicon(
|
|
124
|
+
@include dataurlicon(
|
|
125
|
+
"chevron_left",
|
|
126
|
+
$color-base-neutrals-lighter
|
|
127
|
+
);
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
130
|
}
|
|
@@ -137,10 +140,10 @@ $avatar-size-lg: $row-1-lg;
|
|
|
137
140
|
outline: none;
|
|
138
141
|
|
|
139
142
|
&:after {
|
|
140
|
-
@include dataurlicon("
|
|
143
|
+
@include dataurlicon("chevron_right", $brand-ilo-turquoise);
|
|
141
144
|
|
|
142
145
|
[dir="rtl"] & {
|
|
143
|
-
@include dataurlicon("
|
|
146
|
+
@include dataurlicon("chevron_left", $brand-ilo-turquoise);
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
transform: translateY(-50%);
|
|
30
30
|
transform-origin: center center;
|
|
31
31
|
width: px-to-rem(24px);
|
|
32
|
-
@include dataurlicon("
|
|
32
|
+
@include dataurlicon("chevron_down", $color-ux-labels-actionable);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&:hover {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
@include globaltransition("color, background-color, border-color");
|
|
41
41
|
|
|
42
42
|
&:after {
|
|
43
|
-
@include dataurlicon("
|
|
43
|
+
@include dataurlicon("chevron_down", $color-ux-labels-hover);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -1,68 +1,72 @@
|
|
|
1
1
|
@use "../tokens" as *;
|
|
2
2
|
@use "../functions" as *;
|
|
3
|
+
@import "./blockquote";
|
|
3
4
|
@import "../mixins";
|
|
4
5
|
|
|
5
6
|
.ilo--richtext {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
a {
|
|
11
|
-
@include linkstyles();
|
|
12
|
-
background: none;
|
|
7
|
+
& > * {
|
|
8
|
+
margin-top: spacing(4);
|
|
9
|
+
margin-bottom: spacing(4);
|
|
13
10
|
|
|
14
|
-
&:
|
|
15
|
-
|
|
11
|
+
&:first-child {
|
|
12
|
+
margin-top: 0;
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
15
|
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
h1,
|
|
17
|
+
h2,
|
|
18
|
+
h3,
|
|
19
|
+
h4,
|
|
20
|
+
h5 {
|
|
21
|
+
font-weight: var(--ilo-font-weight-bold);
|
|
22
|
+
margin-top: spacing(14);
|
|
21
23
|
}
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
blockquote,
|
|
26
|
+
video,
|
|
27
|
+
audio,
|
|
28
|
+
figure,
|
|
29
|
+
hr,
|
|
30
|
+
article,
|
|
31
|
+
pre {
|
|
32
|
+
margin-top: spacing(14);
|
|
33
|
+
margin-bottom: spacing(14);
|
|
25
34
|
}
|
|
26
35
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
ol + img,
|
|
32
|
-
dl + img,
|
|
33
|
-
p + hr,
|
|
34
|
-
ul + hr,
|
|
35
|
-
ol + hr,
|
|
36
|
-
dl + hr,
|
|
37
|
-
blockquote + hr {
|
|
38
|
-
@include textmargin(
|
|
39
|
-
"margin-top",
|
|
40
|
-
map-get($spacing, "padding-7"),
|
|
41
|
-
"body-small",
|
|
42
|
-
"copy",
|
|
43
|
-
0,
|
|
44
|
-
0
|
|
45
|
-
);
|
|
36
|
+
h1 {
|
|
37
|
+
font-size: var(--ilo-font-size-4xlg);
|
|
38
|
+
line-height: var(--ilo-line-height-sm);
|
|
39
|
+
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
h2 {
|
|
43
|
+
font-size: var(--ilo-font-size-xlg);
|
|
44
|
+
line-height: var(--ilo-line-height-md);
|
|
45
|
+
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
50
46
|
}
|
|
51
47
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
h3 {
|
|
49
|
+
font-size: var(--ilo-font-size-lg);
|
|
50
|
+
line-height: var(--ilo-line-height-lg);
|
|
51
|
+
letter-spacing: var(--ilo-letter-spacing-sm);
|
|
55
52
|
}
|
|
56
53
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
font-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
54
|
+
h4,
|
|
55
|
+
h5,
|
|
56
|
+
h6 {
|
|
57
|
+
font-size: var(--ilo-font-size-md);
|
|
58
|
+
line-height: var(--ilo-line-height-xlg);
|
|
59
|
+
letter-spacing: var(--ilo-letter-spacing-sm);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
p {
|
|
63
|
+
font-weight: var(--ilo-font-weight-regular);
|
|
64
|
+
font-size: var(--ilo-font-size-md);
|
|
65
|
+
line-height: var(--ilo-line-height-2xlg);
|
|
66
|
+
letter-spacing: var(--ilo-letter-spacing-md);
|
|
64
67
|
}
|
|
65
68
|
|
|
69
|
+
// Italic and bold styles
|
|
66
70
|
em,
|
|
67
71
|
i {
|
|
68
72
|
font-style: italic;
|
|
@@ -73,142 +77,76 @@
|
|
|
73
77
|
font-weight: 700;
|
|
74
78
|
}
|
|
75
79
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
margin-bottom: spacing(14);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
h1,
|
|
84
|
-
h2,
|
|
85
|
-
h3,
|
|
86
|
-
h4,
|
|
87
|
-
h5 {
|
|
88
|
-
font-family: var(--ilo-fonts-display);
|
|
89
|
-
font-weight: 700;
|
|
90
|
-
margin-top: spacing(14);
|
|
91
|
-
}
|
|
80
|
+
// Link styles
|
|
81
|
+
a {
|
|
82
|
+
@include linkstyles();
|
|
83
|
+
background: none;
|
|
92
84
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
map-get($spacing, "padding-4"),
|
|
97
|
-
"headline-2",
|
|
98
|
-
"display",
|
|
99
|
-
"body-small",
|
|
100
|
-
"copy"
|
|
101
|
-
);
|
|
102
|
-
@include font-styles("rich-text-heading-1-md");
|
|
85
|
+
&:hover {
|
|
86
|
+
background: none;
|
|
87
|
+
}
|
|
103
88
|
}
|
|
104
89
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
map-get($spacing, "padding-4"),
|
|
109
|
-
"headline-3",
|
|
110
|
-
"display",
|
|
111
|
-
"body-small",
|
|
112
|
-
"copy"
|
|
113
|
-
);
|
|
114
|
-
@include font-styles("rich-text-heading-2-md");
|
|
90
|
+
// Image styles
|
|
91
|
+
img {
|
|
92
|
+
width: 100%;
|
|
115
93
|
}
|
|
116
94
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
map-get($spacing, "padding-3"),
|
|
121
|
-
"headline-4",
|
|
122
|
-
"display",
|
|
123
|
-
"body-small",
|
|
124
|
-
"copy"
|
|
125
|
-
);
|
|
126
|
-
@include font-styles("rich-text-heading-3-md");
|
|
95
|
+
// Figure styles
|
|
96
|
+
figure {
|
|
97
|
+
width: 100%;
|
|
127
98
|
}
|
|
128
99
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
);
|
|
138
|
-
@include font-styles("rich-text-heading-4-md");
|
|
100
|
+
// Figcaption styles
|
|
101
|
+
figcaption {
|
|
102
|
+
border-left: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
|
|
103
|
+
color: var(--ilo-color-gray-accessible);
|
|
104
|
+
font-weight: var(--ilo-font-weight-regular);
|
|
105
|
+
margin-top: spacing(4);
|
|
106
|
+
padding-left: spacing(2);
|
|
107
|
+
@include font-styles("image-caption");
|
|
139
108
|
}
|
|
140
109
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
"display",
|
|
147
|
-
"body-small",
|
|
148
|
-
"copy"
|
|
149
|
-
);
|
|
150
|
-
@include font-styles("rich-text-heading-5-md");
|
|
110
|
+
// Horizontal rule (hr) styles
|
|
111
|
+
hr {
|
|
112
|
+
background-color: var(--ilo-color-borders-default);
|
|
113
|
+
border: none;
|
|
114
|
+
height: px-to-rem(4px);
|
|
151
115
|
}
|
|
152
116
|
|
|
153
|
-
|
|
154
|
-
background-color: $color-ux-background-highlight;
|
|
155
|
-
background-position: right top;
|
|
156
|
-
background-repeat: no-repeat;
|
|
157
|
-
background-size: px-to-rem(72px) px-to-rem(40px);
|
|
158
|
-
display: block;
|
|
159
|
-
font-family: var(--ilo-fonts-display);
|
|
160
|
-
margin: spacing(6) 0 spacing(10) 0;
|
|
161
|
-
padding: spacing(19) 0 spacing(9) spacing(8); // check
|
|
117
|
+
.responsive-video-embed {
|
|
162
118
|
position: relative;
|
|
163
|
-
width:
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
font-weight: 300;
|
|
169
|
-
margin-bottom: spacing(6);
|
|
170
|
-
padding: 0 spacing(12) 0 0;
|
|
171
|
-
position: relative;
|
|
172
|
-
@include font-styles("pull-quote-sm");
|
|
173
|
-
|
|
174
|
-
&:after {
|
|
175
|
-
background-repeat: no-repeat;
|
|
176
|
-
bottom: 0;
|
|
177
|
-
content: "";
|
|
178
|
-
display: inline-block;
|
|
179
|
-
height: px-to-rem(20px);
|
|
180
|
-
position: absolute;
|
|
181
|
-
right: 0;
|
|
182
|
-
transform: scaleX(-1);
|
|
183
|
-
width: px-to-rem(26.5px);
|
|
184
|
-
@include dataurlicon("quote", $color-font-blockquote);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
cite {
|
|
189
|
-
color: $color-font-cite;
|
|
190
|
-
font-weight: 400;
|
|
191
|
-
@include font-styles("pull-quote-cite");
|
|
192
|
-
}
|
|
119
|
+
width: 100%;
|
|
120
|
+
padding-bottom: 56.25%;
|
|
121
|
+
height: 0;
|
|
122
|
+
overflow: hidden;
|
|
123
|
+
}
|
|
193
124
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
width: px-to-rem(53px);
|
|
202
|
-
top: 0;
|
|
203
|
-
@include dataurlicon("quote", $color-font-blockquote);
|
|
204
|
-
}
|
|
125
|
+
.responsive-video-embed iframe {
|
|
126
|
+
position: absolute;
|
|
127
|
+
top: 0;
|
|
128
|
+
left: 0;
|
|
129
|
+
width: 100%;
|
|
130
|
+
height: 100%;
|
|
131
|
+
border: 0; /* Optional: to remove iframe border */
|
|
205
132
|
}
|
|
206
133
|
|
|
207
|
-
//
|
|
134
|
+
// Blockquote styles
|
|
135
|
+
@include blockquote;
|
|
136
|
+
|
|
137
|
+
// List styles (invincible list)
|
|
208
138
|
@include invincible-list;
|
|
209
139
|
|
|
140
|
+
// Responsive styles for medium breakpoint
|
|
210
141
|
@include breakpoint("md") {
|
|
211
|
-
|
|
142
|
+
& > * {
|
|
143
|
+
margin-top: spacing(6);
|
|
144
|
+
margin-bottom: spacing(6);
|
|
145
|
+
|
|
146
|
+
&:first-child {
|
|
147
|
+
margin-top: 0;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
212
150
|
|
|
213
151
|
h1,
|
|
214
152
|
h2,
|
|
@@ -218,179 +156,56 @@
|
|
|
218
156
|
margin-top: spacing(16);
|
|
219
157
|
}
|
|
220
158
|
|
|
159
|
+
blockquote,
|
|
160
|
+
video,
|
|
161
|
+
audio,
|
|
162
|
+
figure,
|
|
163
|
+
article,
|
|
164
|
+
hr,
|
|
165
|
+
pre {
|
|
166
|
+
margin-top: spacing(16);
|
|
167
|
+
margin-bottom: spacing(16);
|
|
168
|
+
}
|
|
169
|
+
|
|
221
170
|
h1 {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
"headline-1",
|
|
226
|
-
"display",
|
|
227
|
-
"body-large",
|
|
228
|
-
"copy"
|
|
229
|
-
);
|
|
230
|
-
@include font-styles("rich-text-heading-1");
|
|
171
|
+
font-size: var(--ilo-font-size-5xlg);
|
|
172
|
+
line-height: var(--ilo-line-height-xsm);
|
|
173
|
+
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
231
174
|
}
|
|
232
175
|
|
|
233
176
|
h2 {
|
|
234
|
-
|
|
235
|
-
"margin-bottom",
|
|
236
|
-
map-get($spacing, "padding-5"),
|
|
237
|
-
"headline-2",
|
|
238
|
-
"display",
|
|
239
|
-
"body-large",
|
|
240
|
-
"copy"
|
|
241
|
-
);
|
|
242
|
-
@include font-styles("rich-text-heading-2");
|
|
177
|
+
font-size: var(--ilo-font-size-3xlg);
|
|
243
178
|
}
|
|
244
179
|
|
|
245
180
|
h3 {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"headline-3",
|
|
250
|
-
"display",
|
|
251
|
-
"body-large",
|
|
252
|
-
"copy"
|
|
253
|
-
);
|
|
254
|
-
@include font-styles("rich-text-heading-3");
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
h4 {
|
|
258
|
-
@include textmargin(
|
|
259
|
-
"margin-bottom",
|
|
260
|
-
map-get($spacing, "padding-4"),
|
|
261
|
-
"headline-4",
|
|
262
|
-
"display",
|
|
263
|
-
"body-large",
|
|
264
|
-
"copy"
|
|
265
|
-
);
|
|
266
|
-
@include font-styles("rich-text-heading-4");
|
|
181
|
+
font-size: var(--ilo-font-size-xlg);
|
|
182
|
+
line-height: var(--ilo-line-height-md);
|
|
183
|
+
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
267
184
|
}
|
|
268
185
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
"display",
|
|
275
|
-
"body-large",
|
|
276
|
-
"copy"
|
|
277
|
-
);
|
|
278
|
-
@include font-styles("rich-text-heading-5");
|
|
186
|
+
h4,
|
|
187
|
+
h5,
|
|
188
|
+
h6 {
|
|
189
|
+
font-size: var(--ilo-font-size-lg);
|
|
190
|
+
line-height: var(--ilo-line-height-lg);
|
|
279
191
|
}
|
|
280
192
|
|
|
281
193
|
p {
|
|
282
|
-
|
|
283
|
-
"margin-bottom",
|
|
284
|
-
map-get($spacing, "padding-3"),
|
|
285
|
-
"body-large",
|
|
286
|
-
"copy",
|
|
287
|
-
"body-large",
|
|
288
|
-
"copy"
|
|
289
|
-
);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
p + figure,
|
|
293
|
-
p + img,
|
|
294
|
-
p + blockquote,
|
|
295
|
-
ul + img,
|
|
296
|
-
ol + img,
|
|
297
|
-
dl + img,
|
|
298
|
-
p + hr,
|
|
299
|
-
ul + hr,
|
|
300
|
-
ol + hr,
|
|
301
|
-
dl + hr,
|
|
302
|
-
blockquote + hr {
|
|
303
|
-
@include textmargin(
|
|
304
|
-
"margin-top",
|
|
305
|
-
map-get($spacing, "padding-8"),
|
|
306
|
-
"body-large",
|
|
307
|
-
"copy",
|
|
308
|
-
0,
|
|
309
|
-
0
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
hr {
|
|
314
|
-
margin-bottom: spacing(19);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
iframe {
|
|
318
|
-
margin-block: calc(spacing(9) + px-to-rem(2)) spacing(14);
|
|
194
|
+
font-size: var(--ilo-font-size-lg);
|
|
319
195
|
}
|
|
320
196
|
|
|
321
197
|
figure {
|
|
322
198
|
width: 100%;
|
|
323
|
-
@include textmargin(
|
|
324
|
-
"margin-bottom",
|
|
325
|
-
map-get($spacing, "padding-8"),
|
|
326
|
-
"body-large",
|
|
327
|
-
"copy",
|
|
328
|
-
0,
|
|
329
|
-
0
|
|
330
|
-
);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
blockquote {
|
|
334
|
-
background-size: px-to-rem(86px) px-to-rem(48px);
|
|
335
|
-
margin: spacing(8) 0 spacing(19) 0;
|
|
336
|
-
padding: spacing(16) 0 spacing(12) spacing(12);
|
|
337
|
-
@include cornercut(86px, 48px);
|
|
338
|
-
|
|
339
|
-
p {
|
|
340
|
-
margin-bottom: spacing(6);
|
|
341
|
-
padding: 0 spacing(12) 0 0;
|
|
342
|
-
position: relative;
|
|
343
|
-
@include font-styles("pull-quote-lg");
|
|
344
|
-
|
|
345
|
-
&:after {
|
|
346
|
-
height: px-to-rem(24px);
|
|
347
|
-
width: px-to-rem(32px);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
&:before {
|
|
352
|
-
height: px-to-rem(48px);
|
|
353
|
-
width: px-to-rem(64px);
|
|
354
|
-
}
|
|
355
199
|
}
|
|
356
200
|
}
|
|
357
201
|
|
|
202
|
+
// RTL (Right-to-left) support
|
|
358
203
|
[dir="rtl"] & {
|
|
359
204
|
figcaption {
|
|
360
205
|
border-left: none;
|
|
361
|
-
border-right:
|
|
206
|
+
border-right: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
|
|
362
207
|
padding-left: 0;
|
|
363
208
|
padding-right: spacing(2);
|
|
364
209
|
}
|
|
365
|
-
|
|
366
|
-
blockquote {
|
|
367
|
-
background-position: -1px -1px;
|
|
368
|
-
padding: spacing(14) spacing(8) spacing(9) 0;
|
|
369
|
-
@include cornercut(72px, 40px, "left");
|
|
370
|
-
|
|
371
|
-
p {
|
|
372
|
-
padding: 0 0 0 spacing(12);
|
|
373
|
-
|
|
374
|
-
&:after {
|
|
375
|
-
left: 0;
|
|
376
|
-
right: auto;
|
|
377
|
-
transform: scaleX(1);
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
&:before {
|
|
382
|
-
left: auto;
|
|
383
|
-
right: 0;
|
|
384
|
-
transform: scaleX(-1);
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
@include breakpoint("md") {
|
|
388
|
-
padding: spacing(15) spacing(12) spacing(12) 0;
|
|
389
|
-
|
|
390
|
-
blockquote {
|
|
391
|
-
@include cornercut(86px, 48px, "left");
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
210
|
}
|
|
396
211
|
}
|