@ilo-org/styles 0.11.3-next.2 → 0.12.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/build/css/components/index.css +501 -681
- package/build/css/components/index.css.map +1 -1
- package/build/css/global.css +1 -1
- package/build/css/global.css.map +1 -1
- package/build/css/index.css +501 -681
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +501 -681
- package/build/css/monorepo.css.map +1 -1
- package/build/minified/index.css +1 -1
- package/build/minified/index.css.map +1 -1
- package/build/minified/monorepo.css +1 -1
- package/build/minified/monorepo.css.map +1 -1
- package/css/components/accordion.css +1 -1
- 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/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/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/linklist.css +1 -1
- package/css/components/list.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/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/tooltip.css +1 -1
- package/css/components/video.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +2 -8
- package/css/index.css.map +1 -1
- package/css/monorepo.css +2 -8
- package/css/monorepo.css.map +1 -1
- package/package.json +2 -2
- package/scss/_functions.scss +7 -7
- package/scss/_mixins.scss +11 -3
- package/scss/components/_accordion.scss +7 -11
- package/scss/components/_breadcrumb.scss +19 -27
- package/scss/components/_button.scss +27 -27
- package/scss/components/_callout.scss +10 -9
- package/scss/components/_card.scss +1 -6
- package/scss/components/_cardgroup.scss +0 -4
- package/scss/components/_contextmenu.scss +4 -4
- package/scss/components/_credit.scss +1 -1
- package/scss/components/_datacard.scss +5 -5
- package/scss/components/_datepicker.scss +4 -0
- package/scss/components/_detailcard.scss +12 -9
- package/scss/components/_dropdown.scss +16 -5
- package/scss/components/_factlistcard.scss +4 -17
- package/scss/components/_featurecard.scss +11 -7
- package/scss/components/_fieldset.scss +7 -2
- package/scss/components/_file-upload.scss +4 -7
- package/scss/components/_footer.scss +34 -54
- package/scss/components/_form.scss +2 -1
- package/scss/components/_formcontrol.scss +10 -2
- package/scss/components/_hero.scss +26 -118
- package/scss/components/_herocard.scss +2 -6
- package/scss/components/_image.scss +6 -7
- package/scss/components/_input.scss +5 -7
- package/scss/components/_linklist.scss +24 -20
- package/scss/components/_list.scss +15 -20
- package/scss/components/_loading.scss +8 -8
- package/scss/components/_multilinkcard.scss +17 -68
- package/scss/components/_navigation.scss +44 -57
- package/scss/components/_notification.scss +19 -28
- package/scss/components/_pagination.scss +6 -12
- package/scss/components/_profile.scss +3 -3
- package/scss/components/_promocard.scss +24 -72
- package/scss/components/_readmore.scss +7 -6
- package/scss/components/_richtext.scss +32 -38
- package/scss/components/_searchfield.scss +8 -11
- package/scss/components/_socialmedia.scss +6 -22
- package/scss/components/_statcard.scss +5 -5
- package/scss/components/_table.scss +10 -26
- package/scss/components/_tableofcontents.scss +19 -50
- package/scss/components/_tabs.scss +7 -13
- package/scss/components/_tag.scss +3 -8
- package/scss/components/_textarea.scss +8 -14
- package/scss/components/_textcard.scss +11 -10
- package/scss/components/_textinput.scss +5 -14
- package/scss/components/_toggle.scss +2 -6
- package/scss/components/_tooltip.scss +22 -29
- package/scss/components/_video.scss +65 -57
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
|
|
28
28
|
&--headline {
|
|
29
29
|
border-bottom: px-to-rem(3px) solid $color-base-neutrals-lighter;
|
|
30
|
-
margin-bottom:
|
|
31
|
-
margin-top:
|
|
30
|
+
margin-bottom: spacing(6);
|
|
31
|
+
margin-top: spacing(2);
|
|
32
32
|
@include font-styles("base");
|
|
33
33
|
font-family: $fonts-display;
|
|
34
34
|
font-weight: 700;
|
|
35
|
-
padding-bottom:
|
|
35
|
+
padding-bottom: spacing(4);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&--wrapper {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
display: block;
|
|
41
41
|
height: 100vh;
|
|
42
42
|
left: 0;
|
|
43
|
-
padding:
|
|
43
|
+
padding: spacing(6);
|
|
44
44
|
position: fixed;
|
|
45
45
|
top: 0;
|
|
46
46
|
width: 100vw;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
align-items: center;
|
|
57
57
|
display: flex;
|
|
58
58
|
justify-content: center;
|
|
59
|
-
margin:
|
|
59
|
+
margin: spacing(6) auto;
|
|
60
60
|
|
|
61
61
|
&.hide {
|
|
62
62
|
display: none;
|
|
@@ -127,24 +127,17 @@
|
|
|
127
127
|
background-position: calc(100% - 11px) center;
|
|
128
128
|
background-repeat: no-repeat;
|
|
129
129
|
background-size: px-to-rem(24px) px-to-rem(24px);
|
|
130
|
-
border-bottom: $color-ux-tableofcontents-items-default-border
|
|
131
|
-
|
|
130
|
+
border-bottom: $color-ux-tableofcontents-items-default-border px-to-rem(2px)
|
|
131
|
+
solid;
|
|
132
132
|
color: $color-ux-labels-actionable;
|
|
133
133
|
display: block;
|
|
134
134
|
font-family: $fonts-display;
|
|
135
135
|
font-weight: 500;
|
|
136
|
-
margin: 0
|
|
137
|
-
|
|
138
|
-
padding: $spacing-ux-tableofcontents-items-padding-top
|
|
139
|
-
$spacing-ux-tableofcontents-items-padding-right
|
|
140
|
-
$spacing-ux-tableofcontents-items-padding-bottom
|
|
141
|
-
$spacing-ux-tableofcontents-items-padding-left;
|
|
136
|
+
margin: 0 spacing(2) 0 spacing(2);
|
|
137
|
+
padding: spacing(4) spacing(2) spacing(4);
|
|
142
138
|
position: relative;
|
|
143
139
|
text-decoration: none;
|
|
144
|
-
width: calc(
|
|
145
|
-
100% - $spacing-ux-tableofcontents-padding-right -
|
|
146
|
-
$spacing-ux-tableofcontents-padding-left
|
|
147
|
-
);
|
|
140
|
+
width: calc(100% - 16px);
|
|
148
141
|
@include dataurlicon("stemarrow", $color-ux-labels-actionable);
|
|
149
142
|
@include font-styles("label-medium");
|
|
150
143
|
@include globaltransition("background-color, border, color");
|
|
@@ -152,22 +145,13 @@
|
|
|
152
145
|
&:hover,
|
|
153
146
|
&:focus {
|
|
154
147
|
background-color: $color-ux-tableofcontents-items-hover-background;
|
|
155
|
-
border-bottom: $color-ux-tableofcontents-items-hover-border
|
|
156
|
-
|
|
148
|
+
border-bottom: $color-ux-tableofcontents-items-hover-border px-to-rem(2px)
|
|
149
|
+
solid;
|
|
157
150
|
background-position: calc(100% - 19px) center;
|
|
158
151
|
color: $color-ux-labels-hover;
|
|
159
152
|
margin: 0;
|
|
160
153
|
outline: none;
|
|
161
|
-
padding:
|
|
162
|
-
calc(
|
|
163
|
-
$spacing-ux-tableofcontents-items-padding-right +
|
|
164
|
-
$spacing-ux-tableofcontents-padding-right
|
|
165
|
-
)
|
|
166
|
-
$spacing-ux-tableofcontents-items-padding-bottom
|
|
167
|
-
calc(
|
|
168
|
-
$spacing-ux-tableofcontents-items-padding-left +
|
|
169
|
-
$spacing-ux-tableofcontents-padding-left
|
|
170
|
-
);
|
|
154
|
+
padding: spacing(4) spacing(4) spacing(4);
|
|
171
155
|
width: 100%;
|
|
172
156
|
@include dataurlicon("stemarrow", $color-ux-labels-hover);
|
|
173
157
|
@include globaltransition("background-color, border, color");
|
|
@@ -176,22 +160,13 @@
|
|
|
176
160
|
&:active {
|
|
177
161
|
background-color: $color-ux-tableofcontents-items-active-background;
|
|
178
162
|
border-bottom: $color-ux-tableofcontents-items-active-border
|
|
179
|
-
|
|
180
|
-
border-top: $color-ux-tableofcontents-items-default-border
|
|
181
|
-
|
|
163
|
+
px-to-rem(2px) solid;
|
|
164
|
+
border-top: $color-ux-tableofcontents-items-default-border px-to-rem(2px)
|
|
165
|
+
solid;
|
|
182
166
|
color: $color-ux-tableofcontents-items-active-color;
|
|
183
167
|
margin: -2px 0 0 0;
|
|
184
168
|
outline: none;
|
|
185
|
-
padding:
|
|
186
|
-
calc(
|
|
187
|
-
$spacing-ux-tableofcontents-items-padding-right +
|
|
188
|
-
$spacing-ux-tableofcontents-padding-right
|
|
189
|
-
)
|
|
190
|
-
$spacing-ux-tableofcontents-items-padding-bottom
|
|
191
|
-
calc(
|
|
192
|
-
$spacing-ux-tableofcontents-items-padding-left +
|
|
193
|
-
$spacing-ux-tableofcontents-padding-left
|
|
194
|
-
);
|
|
169
|
+
padding: spacing(4) spacing(4) spacing(4);
|
|
195
170
|
width: 100%;
|
|
196
171
|
@include dataurlicon(
|
|
197
172
|
"stemarrow",
|
|
@@ -207,14 +182,12 @@
|
|
|
207
182
|
|
|
208
183
|
&:hover {
|
|
209
184
|
border-bottom: $color-ux-tableofcontents-items-hover-border
|
|
210
|
-
|
|
185
|
+
px-to-rem(2px) solid;
|
|
211
186
|
}
|
|
212
187
|
}
|
|
213
188
|
}
|
|
214
189
|
|
|
215
|
-
|
|
216
|
-
direction: rtl;
|
|
217
|
-
|
|
190
|
+
[dir="rtl"] & {
|
|
218
191
|
.ilo--table-of-contents--link {
|
|
219
192
|
background-position: 11px center;
|
|
220
193
|
|
|
@@ -224,10 +197,6 @@
|
|
|
224
197
|
}
|
|
225
198
|
}
|
|
226
199
|
|
|
227
|
-
&--wrapper {
|
|
228
|
-
direction: rtl;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
200
|
&--modal {
|
|
232
201
|
.toc--modal--close {
|
|
233
202
|
left: 0;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
&:not(.tabs--js) {
|
|
12
12
|
.ilo--tabs--selection {
|
|
13
|
-
margin-bottom:
|
|
13
|
+
margin-bottom: spacing(6);
|
|
14
14
|
|
|
15
15
|
&--button {
|
|
16
16
|
background: map-get($color, "link", "background", "default");
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
display: flex;
|
|
74
74
|
height: px-to-rem(60px);
|
|
75
75
|
justify-content: flex-start;
|
|
76
|
-
padding-left:
|
|
77
|
-
padding-right:
|
|
76
|
+
padding-left: spacing(2);
|
|
77
|
+
padding-right: spacing(6);
|
|
78
78
|
text-decoration: none;
|
|
79
79
|
@include font-styles("label-medium");
|
|
80
80
|
@include globaltransition("color, background-color, border-color");
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
|
|
88
88
|
&.icon {
|
|
89
89
|
.ilo--icon {
|
|
90
|
-
height: px-to-rem(
|
|
90
|
+
height: px-to-rem(16px);
|
|
91
91
|
margin-right: px-to-rem(5px);
|
|
92
92
|
order: 1;
|
|
93
|
-
width: px-to-rem(
|
|
93
|
+
width: px-to-rem(16px);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.ilo--tabs--selection--label {
|
|
@@ -136,8 +136,7 @@
|
|
|
136
136
|
|
|
137
137
|
.ilo--tabs--content {
|
|
138
138
|
background-color: $color-base-neutrals-white;
|
|
139
|
-
padding:
|
|
140
|
-
px-to-rem($spacing-padding-7) px-to-rem($spacing-padding-3);
|
|
139
|
+
padding: spacing(10) spacing(6) spacing(14) spacing(6);
|
|
141
140
|
|
|
142
141
|
[aria-expanded="false"] {
|
|
143
142
|
display: none;
|
|
@@ -150,8 +149,7 @@
|
|
|
150
149
|
|
|
151
150
|
@include breakpoint("medium") {
|
|
152
151
|
.ilo--tabs--content {
|
|
153
|
-
padding:
|
|
154
|
-
px-to-rem($spacing-padding-8) px-to-rem($spacing-padding-8);
|
|
152
|
+
padding: spacing(10) spacing(16) spacing(16) spacing(16);
|
|
155
153
|
}
|
|
156
154
|
|
|
157
155
|
.ilo--tabs--selection {
|
|
@@ -179,8 +177,4 @@
|
|
|
179
177
|
}
|
|
180
178
|
}
|
|
181
179
|
}
|
|
182
|
-
|
|
183
|
-
.right-to-left & {
|
|
184
|
-
direction: rtl;
|
|
185
|
-
}
|
|
186
180
|
}
|
|
@@ -6,13 +6,9 @@
|
|
|
6
6
|
.ilo--tag-set {
|
|
7
7
|
list-style: none;
|
|
8
8
|
|
|
9
|
-
.right-to-left & {
|
|
10
|
-
direction: rtl;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
9
|
&__item {
|
|
14
10
|
display: inline-block;
|
|
15
|
-
margin:
|
|
11
|
+
margin: spacing(1);
|
|
16
12
|
}
|
|
17
13
|
}
|
|
18
14
|
|
|
@@ -25,8 +21,7 @@
|
|
|
25
21
|
display: inline-block;
|
|
26
22
|
font-family: map-get($fonts, "display");
|
|
27
23
|
font-weight: 500;
|
|
28
|
-
padding:
|
|
29
|
-
px-to-rem(5px) px-to-rem(map-get($spacing, "ui-padding-sm"));
|
|
24
|
+
padding: spacing(2) spacing(3);
|
|
30
25
|
text-decoration: none;
|
|
31
26
|
$self: &;
|
|
32
27
|
@include globaltransition("color, background-color, border-color");
|
|
@@ -77,7 +72,7 @@
|
|
|
77
72
|
cursor: pointer;
|
|
78
73
|
display: none;
|
|
79
74
|
opacity: 0;
|
|
80
|
-
padding-right:
|
|
75
|
+
padding-right: spacing(9);
|
|
81
76
|
position: relative;
|
|
82
77
|
visibility: hidden;
|
|
83
78
|
|
|
@@ -18,17 +18,15 @@
|
|
|
18
18
|
font-family: $fonts-copy;
|
|
19
19
|
font-weight: map-get($type, "weights", "section");
|
|
20
20
|
@include font-styles("label-medium");
|
|
21
|
-
height: px-to-rem(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
min-height: px-to-rem($spacing-padding-15);
|
|
27
|
-
min-width: map-get($spacing, "formelements", "input", "default", "width");
|
|
21
|
+
height: px-to-rem(48px);
|
|
22
|
+
margin: spacing(0);
|
|
23
|
+
max-width: 100%;
|
|
24
|
+
min-height: px-to-rem(120px);
|
|
25
|
+
min-width: 100%;
|
|
28
26
|
outline: none;
|
|
29
27
|
position: relative;
|
|
30
|
-
|
|
31
|
-
width:
|
|
28
|
+
padding: spacing(4) spacing(3);
|
|
29
|
+
width: 100%;
|
|
32
30
|
|
|
33
31
|
&:focus {
|
|
34
32
|
background-color: map-get(
|
|
@@ -39,7 +37,7 @@
|
|
|
39
37
|
"background"
|
|
40
38
|
);
|
|
41
39
|
@include bordervalues("input", "formelements", "focus");
|
|
42
|
-
padding-left:
|
|
40
|
+
padding-left: spacing(3);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
&:disabled {
|
|
@@ -59,8 +57,4 @@
|
|
|
59
57
|
);
|
|
60
58
|
@include bordervalues("input", "formelements", "error");
|
|
61
59
|
}
|
|
62
|
-
|
|
63
|
-
.right-to-left & {
|
|
64
|
-
direction: rtl;
|
|
65
|
-
}
|
|
66
60
|
}
|
|
@@ -11,9 +11,13 @@
|
|
|
11
11
|
--max-width: #{px-to-rem(301px)};
|
|
12
12
|
|
|
13
13
|
border-bottom: px-to-rem(3px) solid $brand-ilo-grey-ui;
|
|
14
|
-
padding:
|
|
14
|
+
padding: spacing(10) spacing(6) spacing(8);
|
|
15
15
|
|
|
16
|
-
@include cornercut(
|
|
16
|
+
@include cornercut(72px, 40px);
|
|
17
|
+
|
|
18
|
+
[dir="rtl"] & {
|
|
19
|
+
@include cornercut(72px, 40px, left);
|
|
20
|
+
}
|
|
17
21
|
|
|
18
22
|
[class$="profile--contents--light"] * {
|
|
19
23
|
color: $color-base-neutrals-dark;
|
|
@@ -27,6 +31,9 @@
|
|
|
27
31
|
&:focus,
|
|
28
32
|
&:focus-within {
|
|
29
33
|
@include card-drop-shadow;
|
|
34
|
+
@include globaltransition(border-color);
|
|
35
|
+
|
|
36
|
+
border-color: $brand-ilo-blue;
|
|
30
37
|
|
|
31
38
|
[class*="profile--contents"] * {
|
|
32
39
|
color: $color-base-blue-medium;
|
|
@@ -35,7 +42,6 @@
|
|
|
35
42
|
|
|
36
43
|
@include breakpoint("medium", true) {
|
|
37
44
|
--max-width: 100%;
|
|
38
|
-
padding: px-to-rem(32px) px-to-rem(40px);
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
&#{$self}__size {
|
|
@@ -43,21 +49,16 @@
|
|
|
43
49
|
&__fluid {
|
|
44
50
|
--max-width: #{px-to-rem(523px)};
|
|
45
51
|
|
|
46
|
-
padding:
|
|
47
|
-
|
|
48
|
-
@include breakpoint("medium") {
|
|
49
|
-
padding: px-to-rem(32px) px-to-rem(40px);
|
|
50
|
-
}
|
|
52
|
+
padding: spacing(10) spacing(8) spacing(8);
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
&__narrow {
|
|
54
56
|
--max-width: #{px-to-rem(301px)};
|
|
55
57
|
|
|
56
|
-
padding:
|
|
58
|
+
padding: spacing(10) spacing(6) spacing(8);
|
|
57
59
|
|
|
58
60
|
@include breakpoint("medium", true) {
|
|
59
61
|
--max-width: 100%;
|
|
60
|
-
padding: px-to-rem(24px) px-to-rem(40px);
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
#{$self}--title {
|
|
@@ -18,13 +18,11 @@
|
|
|
18
18
|
font-family: $fonts-copy;
|
|
19
19
|
font-weight: map-get($type, "weights", "section");
|
|
20
20
|
@include font-styles("label-medium");
|
|
21
|
-
height: px-to-rem(
|
|
22
|
-
|
|
23
|
-
);
|
|
24
|
-
@include spacingvalues("margin", "input", "formelements");
|
|
21
|
+
height: px-to-rem(48px);
|
|
22
|
+
margin: spacing(0);
|
|
25
23
|
outline: none;
|
|
26
|
-
|
|
27
|
-
width:
|
|
24
|
+
padding: spacing(4) spacing(3);
|
|
25
|
+
width: 100%;
|
|
28
26
|
|
|
29
27
|
&:focus {
|
|
30
28
|
background-color: map-get(
|
|
@@ -35,7 +33,7 @@
|
|
|
35
33
|
"background"
|
|
36
34
|
);
|
|
37
35
|
@include bordervalues("input", "formelements", "focus");
|
|
38
|
-
padding-left:
|
|
36
|
+
padding-left: spacing(3);
|
|
39
37
|
outline: none;
|
|
40
38
|
}
|
|
41
39
|
|
|
@@ -53,13 +51,6 @@
|
|
|
53
51
|
"error",
|
|
54
52
|
"background"
|
|
55
53
|
);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:invalid {
|
|
59
|
-
@include bordervalues("input", "formelements", "invalid");
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__error {
|
|
63
54
|
@include bordervalues("input", "formelements", "error");
|
|
64
55
|
}
|
|
65
56
|
}
|
|
@@ -11,13 +11,9 @@
|
|
|
11
11
|
width: var(--toggle-width);
|
|
12
12
|
height: var(--toggle-height);
|
|
13
13
|
|
|
14
|
-
--base-toggle-width: #{px-to-rem(
|
|
15
|
-
map-get($spacing, "formelements", "toggle", "base", "width")
|
|
16
|
-
)};
|
|
14
|
+
--base-toggle-width: #{px-to-rem(46px)};
|
|
17
15
|
|
|
18
|
-
--base-toggle-height: #{px-to-rem(
|
|
19
|
-
map-get($spacing, "formelements", "toggle", "base", "height")
|
|
20
|
-
)};
|
|
16
|
+
--base-toggle-height: #{px-to-rem(24px)};
|
|
21
17
|
|
|
22
18
|
&__size__small {
|
|
23
19
|
--toggle-width: var(--base-toggle-width);
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
.ilo--tooltip {
|
|
7
7
|
$c: &;
|
|
8
|
+
$arrow-width: calc(spacing(2) - px-to-rem(1));
|
|
8
9
|
|
|
9
10
|
@include font-styles("body-xs");
|
|
10
11
|
background: map-get($color, "tooltip", "default", "background");
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
drop-shadow(0px -4px 16px rgba(30, 45, 190, 0.054));
|
|
18
19
|
color: map-get($color, "tooltip", "default", "text");
|
|
19
20
|
opacity: 0;
|
|
20
|
-
padding:
|
|
21
|
+
padding: spacing(2) spacing(4) spacing(3);
|
|
21
22
|
position: absolute;
|
|
22
23
|
visibility: hidden;
|
|
23
24
|
width: auto;
|
|
@@ -42,8 +43,8 @@
|
|
|
42
43
|
&__icon {
|
|
43
44
|
background-repeat: no-repeat;
|
|
44
45
|
background-size: cover;
|
|
45
|
-
height:
|
|
46
|
-
min-width:
|
|
46
|
+
height: spacing(4);
|
|
47
|
+
min-width: spacing(4);
|
|
47
48
|
@include dataurlicon("info", $color-ux-labels-actionable);
|
|
48
49
|
|
|
49
50
|
&#{&}__theme__dark {
|
|
@@ -58,23 +59,21 @@
|
|
|
58
59
|
border-style: solid;
|
|
59
60
|
border-width: 0;
|
|
60
61
|
height: 0;
|
|
61
|
-
margin-top: -#{
|
|
62
|
+
margin-top: -#{$arrow-width};
|
|
62
63
|
position: absolute;
|
|
63
64
|
width: 0;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
&--alignment-top {
|
|
67
68
|
left: 0;
|
|
68
|
-
top: calc(-100% +
|
|
69
|
+
top: calc(-100% + 12px);
|
|
69
70
|
|
|
70
71
|
.ilo--tooltip--arrow {
|
|
71
72
|
border-top-color: map-get($color, "tooltip", "default", "background");
|
|
72
|
-
border-width:
|
|
73
|
-
|
|
74
|
-
map-get($spacing, "tooltip", "tooltip-arrow-width");
|
|
75
|
-
bottom: -#{map-get($spacing, "tooltip", "tooltip-arrow-height")};
|
|
73
|
+
border-width: spacing(3) $arrow-width 0 $arrow-width;
|
|
74
|
+
bottom: -#{spacing(3)};
|
|
76
75
|
left: 50%;
|
|
77
|
-
margin-left: -#{
|
|
76
|
+
margin-left: -#{$arrow-width};
|
|
78
77
|
top: auto;
|
|
79
78
|
|
|
80
79
|
&--placement-negative {
|
|
@@ -93,16 +92,14 @@
|
|
|
93
92
|
}
|
|
94
93
|
|
|
95
94
|
&--alignment-right {
|
|
96
|
-
left: calc(100% +
|
|
97
|
-
top: calc(50% -
|
|
95
|
+
left: calc(100% + 32px);
|
|
96
|
+
top: calc(50% - $arrow-width);
|
|
98
97
|
|
|
99
98
|
.ilo--tooltip--arrow {
|
|
100
99
|
border-right-color: map-get($color, "tooltip", "default", "background");
|
|
101
|
-
border-width:
|
|
102
|
-
map-get($spacing, "tooltip", "tooltip-arrow-height")
|
|
103
|
-
map-get($spacing, "tooltip", "tooltip-arrow-width") 0;
|
|
100
|
+
border-width: $arrow-width spacing(3) $arrow-width 0;
|
|
104
101
|
left: 0;
|
|
105
|
-
margin-left: -#{
|
|
102
|
+
margin-left: -#{spacing(3)};
|
|
106
103
|
top: 50%;
|
|
107
104
|
|
|
108
105
|
&--placement-negative {
|
|
@@ -122,17 +119,15 @@
|
|
|
122
119
|
}
|
|
123
120
|
|
|
124
121
|
&--alignment-left {
|
|
125
|
-
right: calc(100% +
|
|
126
|
-
top: calc(50% -
|
|
122
|
+
right: calc(100% + 32px);
|
|
123
|
+
top: calc(50% - $arrow-width);
|
|
127
124
|
|
|
128
125
|
.ilo--tooltip--arrow {
|
|
129
126
|
border-left-color: map-get($color, "tooltip", "default", "background");
|
|
130
|
-
border-width:
|
|
131
|
-
map-get($spacing, "tooltip", "tooltip-arrow-width")
|
|
132
|
-
map-get($spacing, "tooltip", "tooltip-arrow-height");
|
|
127
|
+
border-width: $arrow-width 0 $arrow-width spacing(3);
|
|
133
128
|
left: auto;
|
|
134
|
-
margin-top: -#{
|
|
135
|
-
right: -#{
|
|
129
|
+
margin-top: -#{$arrow-width};
|
|
130
|
+
right: -#{spacing(3)};
|
|
136
131
|
top: 50%;
|
|
137
132
|
|
|
138
133
|
&--placement-negative {
|
|
@@ -153,15 +148,13 @@
|
|
|
153
148
|
|
|
154
149
|
&--alignment-bottom {
|
|
155
150
|
left: 0;
|
|
156
|
-
top: calc(100% +
|
|
151
|
+
top: calc(100% + spacing(3));
|
|
157
152
|
|
|
158
153
|
.ilo--tooltip--arrow {
|
|
159
|
-
border-width: 0
|
|
160
|
-
map-get($spacing, "tooltip", "tooltip-arrow-height")
|
|
161
|
-
map-get($spacing, "tooltip", "tooltip-arrow-width");
|
|
154
|
+
border-width: 0 $arrow-width spacing(3) $arrow-width;
|
|
162
155
|
left: 50%;
|
|
163
|
-
margin-left: -#{
|
|
164
|
-
margin-top: -#{
|
|
156
|
+
margin-left: -#{$arrow-width};
|
|
157
|
+
margin-top: -#{spacing(3)};
|
|
165
158
|
top: 0;
|
|
166
159
|
border-bottom-color: map-get($color, "tooltip", "default", "background");
|
|
167
160
|
|