@ilo-org/styles 1.8.2 → 1.8.4
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/credit.css +1 -1
- package/css/components/loading.css +1 -1
- package/css/components/navigation.css +1 -1
- package/css/components/scorecard.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 +1 -1
- package/scss/components/_credit.scss +0 -4
- package/scss/components/_loading.scss +26 -80
- package/scss/components/_navigation.scss +2 -2
- package/scss/components/_scorecard.scss +5 -0
package/package.json
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
background-position: top right;
|
|
21
21
|
background-repeat: no-repeat;
|
|
22
22
|
background-size: contain;
|
|
23
|
-
@include dataurlicon("halfsquaretriangle", $color-ux-credit-background);
|
|
24
23
|
content: "";
|
|
25
24
|
height: px-to-rem($spacing-ux-credit-height);
|
|
26
25
|
position: absolute;
|
|
@@ -43,7 +42,6 @@
|
|
|
43
42
|
background-position: top left;
|
|
44
43
|
background-repeat: no-repeat;
|
|
45
44
|
background-size: contain;
|
|
46
|
-
@include dataurlicon("caretdown", $color-base-neutrals-dark);
|
|
47
45
|
content: "";
|
|
48
46
|
height: px-to-rem(map-get($spacing, "padding-1-5"));
|
|
49
47
|
position: absolute;
|
|
@@ -59,7 +57,6 @@
|
|
|
59
57
|
background-repeat: no-repeat;
|
|
60
58
|
background-size: px-to-rem(map-get($spacing, "padding-1-5"))
|
|
61
59
|
px-to-rem(map-get($spacing, "padding-1-5"));
|
|
62
|
-
@include dataurlicon("info", $color-base-neutrals-white);
|
|
63
60
|
content: "";
|
|
64
61
|
height: px-to-rem(map-get($spacing, "padding-3"));
|
|
65
62
|
position: absolute;
|
|
@@ -95,7 +92,6 @@
|
|
|
95
92
|
|
|
96
93
|
&:after {
|
|
97
94
|
background-position: top right;
|
|
98
|
-
@include dataurlicon("caretdown", $color-base-neutrals-dark);
|
|
99
95
|
left: auto;
|
|
100
96
|
right: calc(#{px-to-rem(map-get($spacing, "padding-1-5"))} / 2);
|
|
101
97
|
}
|
|
@@ -4,90 +4,36 @@
|
|
|
4
4
|
@import "../animations";
|
|
5
5
|
|
|
6
6
|
.ilo--loading {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
height: px-to-rem(107.5px);
|
|
27
|
-
width: px-to-rem(107.5px);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.ilo--loading--loaded {
|
|
32
|
-
&:before {
|
|
33
|
-
background-image: url("data:image/svg+xml,%3Csvg width='97' height='96' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.237 48c0-26.51 21.49-48 48-48s48 21.49 48 48-21.49 48-48 48-48-21.49-48-48Z' fill='%23EDF0F2'/%3E%3Cpath d='M20.237 48c0-15.464 12.536-28 28-28 15.463 0 28 12.536 28 28s-12.536 28-28 28-28-12.536-28-28Z' fill='%231E2DBE'/%3E%3Cpath d='m44.037 50.8-5.6-5.6-4.2 4.2 9.8 9.8 18.2-18.2-4.2-4.2-14 14Z' fill='%23fff'/%3E%3C/svg%3E");
|
|
34
|
-
background-position: center;
|
|
35
|
-
background-repeat: no-repeat;
|
|
36
|
-
background-size: contain;
|
|
37
|
-
content: "";
|
|
38
|
-
display: block;
|
|
39
|
-
height: px-to-rem(96px);
|
|
40
|
-
width: px-to-rem(96px);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
7
|
+
--ilo-loading-size: #{px-to-rem(60px)};
|
|
8
|
+
--ilo-loading-loading-circle: var(--ilo-color-gray-light);
|
|
9
|
+
--ilo-loading-loading-line: var(--ilo-color-gray-base);
|
|
10
|
+
--ilo-loading-loading-pointer: var(--ilo-color-blue);
|
|
11
|
+
--ilo-loading-loaded-circle: var(--ilo-color-gray-light);
|
|
12
|
+
--ilo-loading-loaded-cirlce-inner: var(--ilo-color-blue);
|
|
13
|
+
--ilo-loading-loaded-check: var(--ilo-color-white);
|
|
14
|
+
|
|
15
|
+
width: var(--ilo-loading-size);
|
|
16
|
+
height: var(--ilo-loading-size);
|
|
17
|
+
|
|
18
|
+
&__theme__dark {
|
|
19
|
+
--ilo-loading-loading-circle: var(--ilo-color-blue-dark);
|
|
20
|
+
--ilo-loading-loading-line: var(--ilo-color-yellow);
|
|
21
|
+
--ilo-loading-loading-pointer: var(--ilo-color-yellow);
|
|
22
|
+
|
|
23
|
+
--ilo-loading-loaded-circle: var(--ilo-color-blue-dark);
|
|
24
|
+
--ilo-loading-loaded-cirlce-inner: var(--ilo-color-yellow);
|
|
25
|
+
--ilo-loading-loaded-check: var(--ilo-color-blue-dark);
|
|
43
26
|
}
|
|
44
27
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
font-family: var(--ilo-fonts-copy);
|
|
49
|
-
font-weight: 400;
|
|
50
|
-
@include font-styles("label-small");
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.ilo--loading--idle {
|
|
54
|
-
.ilo--loading--copy {
|
|
55
|
-
@include isVisuallyHidden();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&.ilo--loading--loading {
|
|
60
|
-
&:before {
|
|
61
|
-
animation: spin 1.5s linear infinite;
|
|
62
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 27.3 27.3'%3E%3Ccircle cx='13.7' cy='13.7' r='13.7' fill='%23fff'/%3E%3Cpath fill='%23b8c4cc' d='M25.7 13.7c0-2.7-.9-5.3-2.6-7.4-1.7-2.1-4-3.6-6.6-4.2-2.6-.6-5.4-.4-7.8.8-2.5 1-4.5 2.9-5.7 5.3-1.2 2.4-1.6 5.1-1.1 7.8.5 2.6 1.9 5 4 6.8 2 1.8 4.6 2.8 7.3 2.9 2.7.1 5.3-.7 7.5-2.3L18.9 21c-1.6 1.2-3.6 1.8-5.6 1.7-2-.1-4-.8-5.5-2.1s-2.6-3.1-3-5.1-.1-4 .8-5.8C6.5 7.8 8 6.3 9.9 5.5c1.8-.8 3.9-1 5.9-.6 2 .5 3.7 1.6 5 3.2 1.3 1.6 1.9 3.6 1.9 5.6h3z'/%3E%3Cpath fill='%231e2dbe' d='m24.2 20.6 3-5.4h-6l3 5.4z'/%3E%3C/svg%3E");
|
|
63
|
-
background-position: center;
|
|
64
|
-
background-repeat: no-repeat;
|
|
65
|
-
background-size: contain;
|
|
66
|
-
content: "";
|
|
67
|
-
display: block;
|
|
68
|
-
height: px-to-rem(24px);
|
|
69
|
-
margin-right: spacing(3);
|
|
70
|
-
width: px-to-rem(24px);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
28
|
+
&__size__small {
|
|
29
|
+
--ilo-loading-size: #{px-to-rem(36px)};
|
|
30
|
+
}
|
|
73
31
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 12C0 5.373 5.373 0 12 0s12 5.373 12 12-5.373 12-12 12S0 18.627 0 12Z' fill='%231E2DBE'/%3E%3Cpath d='m10.2 13.2-2.4-2.4L6 12.6l4.2 4.2L18 9l-1.8-1.8-6 6Z' fill='%23fff'/%3E%3C/svg%3E");
|
|
77
|
-
background-position: center;
|
|
78
|
-
background-repeat: no-repeat;
|
|
79
|
-
background-size: contain;
|
|
80
|
-
content: "";
|
|
81
|
-
display: block;
|
|
82
|
-
height: px-to-rem(24px);
|
|
83
|
-
margin-right: spacing(3);
|
|
84
|
-
width: px-to-rem(24px);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
32
|
+
&__loading {
|
|
33
|
+
animation: spin 1.5s linear infinite;
|
|
87
34
|
}
|
|
88
35
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
width: 100%;
|
|
36
|
+
&__loaded {
|
|
37
|
+
animation: none;
|
|
92
38
|
}
|
|
93
39
|
}
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
transition: all 150ms ease-out;
|
|
785
785
|
|
|
786
786
|
&::before {
|
|
787
|
-
@include dataurlicon("
|
|
787
|
+
@include dataurlicon("chevron_left", $brand-ilo-dark-blue);
|
|
788
788
|
background-position: 10% center;
|
|
789
789
|
background-repeat: no-repeat;
|
|
790
790
|
background-size: 24px;
|
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
color: $brand-ilo-blue;
|
|
818
818
|
|
|
819
819
|
&::before {
|
|
820
|
-
@include dataurlicon("
|
|
820
|
+
@include dataurlicon("chevron_left", $brand-ilo-blue);
|
|
821
821
|
background-position: 10% center;
|
|
822
822
|
background-repeat: no-repeat;
|
|
823
823
|
background-size: 24px;
|
|
@@ -159,16 +159,21 @@
|
|
|
159
159
|
|
|
160
160
|
.ilo--status {
|
|
161
161
|
grid-area: status;
|
|
162
|
+
margin-bottom: 0;
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
#{$self}--title {
|
|
165
166
|
grid-area: title;
|
|
166
167
|
@include typography("heading-4");
|
|
168
|
+
margin-bottom: 0;
|
|
169
|
+
align-self: center;
|
|
167
170
|
}
|
|
168
171
|
|
|
169
172
|
#{$self}--area--content {
|
|
170
173
|
grid-area: content;
|
|
171
174
|
flex-flow: row wrap;
|
|
175
|
+
margin-bottom: 0;
|
|
176
|
+
align-items: center;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
#{$self}--area--cta {
|