@ilo-org/styles 0.7.2 → 0.8.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/build/css/components/index.css +139 -94
- package/build/css/components/index.css.map +1 -1
- package/build/css/global.css +1 -1
- package/build/css/index.css +139 -94
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +139 -94
- 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/datacard.css +1 -1
- package/css/components/featurecard.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +1 -1
- package/css/index.css.map +1 -1
- package/css/monorepo.css +1 -1
- package/css/monorepo.css.map +1 -1
- package/package.json +1 -1
- package/scss/components/_datacard.scss +81 -20
- package/scss/components/_featurecard.scss +4 -0
package/package.json
CHANGED
|
@@ -8,45 +8,99 @@
|
|
|
8
8
|
|
|
9
9
|
&__type {
|
|
10
10
|
&__data {
|
|
11
|
-
--max-width: #{px-to-rem(
|
|
11
|
+
--max-width: #{px-to-rem(600px)};
|
|
12
12
|
|
|
13
13
|
background: $brand-ilo-light-blue;
|
|
14
|
-
border-bottom: px-to-rem(3px) solid
|
|
15
|
-
|
|
16
|
-
padding: px-to-rem(24px) px-to-rem(56px);
|
|
14
|
+
border-bottom: px-to-rem(3px) solid $brand-ilo-ramp-blue;
|
|
15
|
+
padding: px-to-rem(48px) px-to-rem(52px);
|
|
17
16
|
position: relative;
|
|
18
17
|
width: 100%;
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
#{$self}--content {
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-columns: 1fr;
|
|
22
|
+
grid-template-rows: auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include breakpoint("medium") {
|
|
26
|
+
padding: px-to-rem(48px) px-to-rem(48px) px-to-rem(48px)
|
|
27
|
+
px-to-rem(110px);
|
|
28
|
+
|
|
29
|
+
// 629
|
|
30
|
+
&__columns {
|
|
31
|
+
&__two {
|
|
32
|
+
#{$self}--content {
|
|
33
|
+
grid-template-columns: minmax(px-to-rem(200px), 32%) minmax(
|
|
34
|
+
53%,
|
|
35
|
+
1fr
|
|
36
|
+
);
|
|
37
|
+
column-gap: 14%;
|
|
38
|
+
|
|
39
|
+
&__with-image {
|
|
40
|
+
#{$self}--area {
|
|
41
|
+
&--image {
|
|
42
|
+
grid-column: 1 / 2;
|
|
43
|
+
grid-row: 1 / span 4;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--content {
|
|
47
|
+
grid-column: 2 / 3;
|
|
48
|
+
}
|
|
49
|
+
&--files {
|
|
50
|
+
grid-column: 2 / 3;
|
|
51
|
+
}
|
|
52
|
+
&--links {
|
|
53
|
+
grid-column: 2 / 3;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__no-image-with-links {
|
|
59
|
+
#{$self}--area {
|
|
60
|
+
&--content {
|
|
61
|
+
grid-column: 1 / 2;
|
|
62
|
+
}
|
|
63
|
+
&--files {
|
|
64
|
+
grid-column: 1 / 2;
|
|
65
|
+
}
|
|
66
|
+
&--links {
|
|
67
|
+
grid-area: 1 / 2 / 3 / 3;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
24
74
|
}
|
|
25
75
|
|
|
26
76
|
&#{$self}__size {
|
|
27
77
|
&__narrow {
|
|
28
|
-
--max-width: #{px-to-rem(
|
|
78
|
+
--max-width: #{px-to-rem(600px)};
|
|
79
|
+
|
|
80
|
+
@include cornercut(72px, 48px);
|
|
81
|
+
}
|
|
29
82
|
|
|
30
|
-
|
|
83
|
+
&__wide {
|
|
84
|
+
--max-width: #{px-to-rem(778px)};
|
|
31
85
|
}
|
|
32
86
|
|
|
33
87
|
&__wide,
|
|
34
88
|
&__fluid {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@include cornercut(87px, 48px);
|
|
89
|
+
@include cornercut(86px, 48px);
|
|
38
90
|
}
|
|
39
91
|
}
|
|
40
92
|
|
|
41
|
-
#{$self}--image
|
|
42
|
-
width:
|
|
93
|
+
#{$self}--image {
|
|
94
|
+
width: 100%;
|
|
95
|
+
max-width: 200px;
|
|
96
|
+
margin: 0 0 #{px-to-rem(31px)};
|
|
43
97
|
}
|
|
44
98
|
|
|
45
99
|
&--content-label {
|
|
46
100
|
@include font-styles("body-xs");
|
|
47
101
|
@include textmargin(
|
|
48
102
|
"margin-bottom",
|
|
49
|
-
|
|
103
|
+
13px,
|
|
50
104
|
"body-xs",
|
|
51
105
|
"copy",
|
|
52
106
|
"headline-5",
|
|
@@ -55,11 +109,15 @@
|
|
|
55
109
|
color: $brand-ilo-grey-accessible;
|
|
56
110
|
}
|
|
57
111
|
|
|
112
|
+
#{$self}--eyebrow {
|
|
113
|
+
margin: 0 0 #{px-to-rem(16px)};
|
|
114
|
+
}
|
|
115
|
+
|
|
58
116
|
&--content-copy {
|
|
59
117
|
@include font-styles("headline-5");
|
|
60
118
|
@include textmargin(
|
|
61
119
|
"margin-bottom",
|
|
62
|
-
|
|
120
|
+
37px,
|
|
63
121
|
"headline-5",
|
|
64
122
|
"display",
|
|
65
123
|
"body-xs",
|
|
@@ -71,14 +129,17 @@
|
|
|
71
129
|
}
|
|
72
130
|
|
|
73
131
|
&--content-files {
|
|
74
|
-
margin-bottom: px-to-rem(
|
|
132
|
+
margin-bottom: px-to-rem(35px);
|
|
75
133
|
}
|
|
76
134
|
|
|
77
|
-
|
|
135
|
+
[class*="ilo--link"] {
|
|
78
136
|
@include font-styles("headline-6");
|
|
137
|
+
line-height: 1.8;
|
|
138
|
+
margin-inline-end: px-to-rem(12px);
|
|
139
|
+
margin-bottom: px-to-rem(12px);
|
|
79
140
|
}
|
|
80
141
|
|
|
81
|
-
|
|
142
|
+
[class*="button"] {
|
|
82
143
|
margin: px-to-rem(4px) px-to-rem(8px) px-to-rem(4px) 0;
|
|
83
144
|
|
|
84
145
|
&:last-of-type {
|